Active Member Mind Rapist 188 Posted January 30, 2019 Active Member Share Posted January 30, 2019 I'm looking for that part of the code where a character is exchanging and hits logout, so the server doesn't start the countdown. I've looked everywhere but nowhere to find. Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10277 Posted April 8, 2019 Forum Moderator Share Posted April 8, 2019 Src/Server/game/src/cmd_general.cpp ACMD(do_cmd) { [...] if (ch->IsHack(false, true, nExitLimitTime) && ...) { [...] } [...] } Src/Server/game/src/char.cpp bool CHARACTER::IsHack(bool bSendMsg, bool bCheckShopOwner, int limittime) { [...] //PREVENT_PORTAL_AFTER_EXCHANGE if (iPulse - GetExchangeTime() < PASSES_PER_SEC(limittime)) { if (bSendMsg) ChatPacket(CHAT_TYPE_INFO, LC_TEXT("거래 후 %d초 이내에는 다른지역으로 이동 할 수 없습니다."), limittime ); return true; } //END_PREVENT_PORTAL_AFTER_EXCHANGE [...] } 1 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON 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