profik 1 Posted March 6, 2016 Share Posted March 6, 2016 (edited) Hey, can someone help me with this ? https://metin2.download/picture/VC9d44AQL8v02AhwTygJbAaI5673xbZw/.gif Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
iltizio 217 Posted March 7, 2016 Share Posted March 7, 2016 The variable accept value up to 2147483648. You need to specify a type that can assume values greater than 2^31, like a long int. Link to comment Share on other sites More sharing options...
Fazer 701 Posted March 7, 2016 Share Posted March 7, 2016 the problem is in char.cpp if (GOLD_MAX <= nTotalMoney) 1 Link to comment Share on other sites More sharing options...
profik 1 Posted March 7, 2016 Author Share Posted March 7, 2016 3 hours ago, Fazer said: the problem is in char.cpp if (GOLD_MAX <= nTotalMoney) i dont care about questionmarks, just shop doesnt open with item for 2kkk... this is problem Link to comment Share on other sites More sharing options...
Fazer 701 Posted March 7, 2016 Share Posted March 7, 2016 4 hours ago, profik said: i dont care about questionmarks, just shop doesnt open with item for 2kkk... this is problem just remove this if 1 Link to comment Share on other sites More sharing options...
profik 1 Posted March 7, 2016 Author Share Posted March 7, 2016 (edited) 52 minutes ago, Fazer said: just remove this if what all ? Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Fazer 701 Posted March 8, 2016 Share Posted March 8, 2016 (edited) 17 hours ago, profik said: what all ? from: if (GOLD_MAX <= nTotalMoney) { sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", GetPlayerID(), GetName()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20억 냥을 초과하여 상점을 열수가 없습니다")); return; } to //if (GOLD_MAX <= nTotalMoney) // { // sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", GetPlayerID(), GetName()); // ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20억 냥을 초과하여 상점을 열수가 없습니다")); // return; // } Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
Premium TAUMP 838 Posted March 8, 2016 Premium Share Posted March 8, 2016 10 minutes ago, Fazer said: from: if (GOLD_MAX <= nTotalMoney) { sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", GetPlayerID(), GetName()); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20억 냥을 초과하여 상점을 열수가 없습니다")); return; } to //if (GOLD_MAX <= nTotalMoney) // { // sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", GetPlayerID(), GetName()); // ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20억 냥을 초과하여 상점을 열수가 없습니다")); // return; // } Crashing core. Link to comment Share on other sites More sharing options...
profik 1 Posted March 8, 2016 Author Share Posted March 8, 2016 SOLVED 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