Syrex 36 Posted June 18, 2020 Share Posted June 18, 2020 (edited) when i compile , it show this error " Won System " And this is Char.cpp file Edited February 9, 2023 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Contributor Solution TMP4 10993 Posted June 18, 2020 Contributor Solution Share Posted June 18, 2020 (edited) You can remove that g_bChinaIntoxicationCheck completly from your char.cpp. Chinese laws require such restriction to prevent addiction. Martysama replaced the locale_newcibn (the china server) check with that variable if you wonder why you dont have it. If you dont want to remove that china check then replace it with: if (LC_IsNewCIBN() && amount > 0) Edited June 18, 2020 by TMP4 Link to comment Share on other sites More sharing options...
Syrex 36 Posted June 18, 2020 Author Share Posted June 18, 2020 (edited) 24 minutes ago, TMP4 said: You can remove that g_bChinaIntoxicationChech completly from your char.cpp. Martysama replaced the locale_newcibn (the china server) check with that variable if you wonder why you dont have it. If you dont want to remove then replace it with: if (LC_IsNewCIBN() && amount > 0) i replace it withif (LC_IsNewCIBN() && amount > 0) but show another error in cmd_gm.cpp #ifdef WJ_CHEQUE_SYSTEM case DoSetTypes::CHEQUE: // Cheque { int amount = 0; str_to_number(amount, arg3); if (amount + tch->GetCheque() > CHEQUE_MAX) return; tch->PointChange(POINT_CHEQUE, amount, true); } break; #endif i replace it with #ifdef ENABLE_CHEQUE_SYSTEM case 9: // won { int won = 0; str_to_number(won, arg3); int before_won = tch->GetCheque(); if (before_won + won > 200) { ch->ChatPacket(CHAT_TYPE_INFO, "%s'nin Won toplami 200'u asiyor", tch->GetName()); return; } tch->PointChange(POINT_CHEQUE, won, true); } break; #endif Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted June 19, 2020 Premium Share Posted June 19, 2020 (edited) You help people to fix things made by marty because you guys are dumb and don't understand a fuck. I'm speaking general, if are not your works/default ymir, you don't have to help. Pay. Edited June 19, 2020 by WeedHex 1 Link to comment Share on other sites More sharing options...
Contributor TMP4 10993 Posted June 19, 2020 Contributor Share Posted June 19, 2020 (edited) 19 minutes ago, WeedHex said: You help people to fix things made by marty because you guys are dumb and don't understand a fuck. I'm speaking general, if are not your works/default ymir, you don't have to help. Pay. So it was a criticism for me because i helped him saying Marty replaced LC_IsNewCIBN with g_bChinaIntoxicationCheck so he should use LC_IsNewCIBN? Most of the tutorials nowdays made for Marty source by 3rd people too, and helping people who use original source with these little things is not even bad i think. Otherwise i don't understand what did you wanted to say Your english is controversal for me, sorry. Edited June 19, 2020 by TMP4 Link to comment Share on other sites More sharing options...
Kafa 153 Posted June 19, 2020 Share Posted June 19, 2020 I dont recommend using this won system it has memory leaks Link to comment Share on other sites More sharing options...
Contributor TMP4 10993 Posted June 19, 2020 Contributor Share Posted June 19, 2020 In where actually? I'm not using exactly that what Syrex show but it would be nice to check anyways. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6401 Posted June 19, 2020 Contributor Share Posted June 19, 2020 1 hour ago, WeedHex said: You help people to fix things made by marty because you guys are dumb and don't understand a fuck. I'm speaking general, if are not your works/default ymir, you don't have to help. Pay. 1 hour ago, TMP4 said: So it was a criticism for me because i helped him saying Marty replaced LC_IsNewCIBN with g_bChinaIntoxicationCheck so he should use LC_IsNewCIBN? Most of the tutorials nowdays made for Marty source by 3rd people too, and helping people who use original source with these little things is not even bad i think. Otherwise i don't understand what did you wanted to say Your english is controversal for me, sorry. I know this guy from other communities and he doesn't understand a dime,Each time you fix one of his problems he'll post another one,And never even tries to use his brain(doubt he has one). 1 My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Contributor TMP4 10993 Posted June 19, 2020 Contributor Share Posted June 19, 2020 Okey but what WeedHex said because i helped that guy is just crazy. Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted June 19, 2020 Premium Share Posted June 19, 2020 4 minutes ago, TMP4 said: Okey but what WeedHex said because i helped that guy is just crazy. If it's not self-made solution/work, you must not allow yourself to pass material to random people. If the solution is your then you are free to do what you want. He can ask to the src's owner if paid no? Before to help, think... It's just my opinion/suggestion. Link to comment Share on other sites More sharing options...
Contributor TMP4 10993 Posted June 19, 2020 Contributor Share Posted June 19, 2020 (edited) I still not understand you WeedHex. What's more, i think you're not understanding the situation. That won system is public, not mady by Marty afaik, just made for Marty's source style. (That's why it have g_bChinaIntoxicationCheck instead of LC_IsNewCIBN) That guy is cleary not using Marty's source since he does not have g_bChinaIntoxicationCheck. So what's the problem actually @WeedHex? Please tell because i really not understanding you. Edited June 19, 2020 by TMP4 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted June 19, 2020 Premium Share Posted June 19, 2020 2 minutes ago, TMP4 said: I still not understand you WeedHex. What's more, i think you're not understanding the situation. That won system is public, not mady by Marty afaik, just made for Marty's source style. (That why it have g_bChinaIntoxicationCheck instead of LC_IsNewCIBN) That guy is cleary not using Marty's source since he does not have g_bChinaIntoxicationCheck. So what's the problem actually @WeedHex? Please tell because i really not understanding you. Src may be stolen and you help "thiefs" to fix things, instead to leave them to the owners of things. Btw was just a suggestion for a good behaviour, do what you want xD Link to comment Share on other sites More sharing options...
Contributor TMP4 10993 Posted June 19, 2020 Contributor Share Posted June 19, 2020 (edited) But he is using the basic source, not Marty's, that why he can't install the won system. (It's crystal clean in his pictures) What are you expecting for him? To contact Ymir? Edit: Ofc what MrQuin said can be a reason to not help him anymore, but that's an other and a valid reason. Edited June 19, 2020 by TMP4 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now