Honorable Member Mali 41819 Posted January 16, 2021 Honorable Member Share Posted January 16, 2021 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is the hidden content, please Sign In or Sign Up ( GitHub ) Spoiler 62 1 1 1 4 1 13 2 39 Link to comment Share on other sites More sharing options...
Management AZICKO 7340 Posted January 16, 2021 Management Share Posted January 16, 2021 (edited) Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 2 Scamming ? Reselling ? metin2.download | metin2.dev | fr.metin2.dev | metin2dev.org | metin2.top | top-metin2.org Link to comment Share on other sites More sharing options...
Shenzo 4 Posted January 16, 2021 Share Posted January 16, 2021 Thank you! 1 Link to comment Share on other sites More sharing options...
vmuser 1 Posted January 18, 2021 Share Posted January 18, 2021 (edited) When I try to move money to safebox, this appear in syserr ch1 and I am disconnect instantly. I verify all, nothing isn t wrong Process: UNKNOWN HEADER: 44, LAST HEADER: 0(0), REMAIN BYTES: 6, fd: 56 EDIT: Solved! I changed the number from headers and working Edited January 19, 2021 by vmuser Link to comment Share on other sites More sharing options...
Aeolus 0 Posted February 12, 2021 Share Posted February 12, 2021 Tutorial for max gold? Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted February 12, 2021 Premium Share Posted February 12, 2021 Nice idea! Thx very much. You should do it also for WON btw. 1 Link to comment Share on other sites More sharing options...
Honorable Member Mali 41819 Posted February 12, 2021 Author Honorable Member Share Posted February 12, 2021 3 hours ago, Aeolus said: Tutorial for max gold? This is the hidden content, please Sign In or Sign Up 37 1 1 1 2 6 Link to comment Share on other sites More sharing options...
KingzZ 10 Posted November 10, 2021 Share Posted November 10, 2021 Tutorial for max gold? On 2/12/2021 at 5:14 PM, Mali said: This is the hidden content, please Sign In or Sign Up link Down 7 1 1 Link to comment Share on other sites More sharing options...
Active+ Member blaxis 274 Posted November 11, 2021 Active+ Member Share Posted November 11, 2021 I'm getting game.core in Novaline infrastructure. Link to comment Share on other sites More sharing options...
Filachilla 29 Posted January 18 Share Posted January 18 (edited) @ Mali How to increase yang limit for withdraw? When I increase limit to 9 (dlgPickMoney.SetMax(9)) and trying withdraw for example -> my inventory 1.999.999.999 Yang -> my Safebox 1.000.000.000 Yang -> My withdraw from safebox -> 10.000 Yang so its works and I got message "You cannot withdraw anymore gold." but when I try to withdraw for example 888.888.888 Yang my inventory stay still same (because 2kkk limit) but from safebox are gold destroyed without this check: if (ch->GetGold() + static_cast<int>(p->lMoney) >= GOLD_MAX) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot withdraw anymore gold."); return; } EDIT: Can be problem int type for lMoney when my inventory is too int and trying check value more than 2147483647? Because 1.999.999.999 + 888.888.888 withdraw? Edited January 18 by Filachilla Link to comment Share on other sites More sharing options...
Filachilla 29 Posted January 18 Share Posted January 18 (edited) Solved case SAFEBOX_MONEY_STATE_WITHDRAW: if (pSafebox->GetSafeboxMoney() < p->lMoney) { ch->ChatPacket(CHAT_TYPE_INFO, "You don't have enough gold."); return; } if (ch->GetGold() + static_cast<int64_t>(p->lMoney) >= GOLD_MAX) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot withdraw anymore gold."); return; } pSafebox->SetSafeboxMoney(pSafebox->GetSafeboxMoney() - p->lMoney); ch->PointChange(POINT_GOLD, static_cast<int>(p->lMoney)); break; } OR case SAFEBOX_MONEY_STATE_WITHDRAW: if (pSafebox->GetSafeboxMoney() < p->lMoney) { ch->ChatPacket(CHAT_TYPE_INFO, "You don't have enough gold."); return; } const int64_t nTotalMoney = static_cast<int64_t>(ch->GetGold()) + static_cast<int64_t>(p->lMoney); if (GOLD_MAX <= nTotalMoney) { ch->ChatPacket(CHAT_TYPE_INFO, "You cannot withdraw anymore gold."); return; } pSafebox->SetSafeboxMoney(pSafebox->GetSafeboxMoney() - p->lMoney); ch->PointChange(POINT_GOLD, static_cast<int>(p->lMoney)); break; Edited January 18 by Filachilla Link to comment Share on other sites More sharing options...
Recommended Posts