Jump to content

Looking for a check in the source


Recommended Posts

  • 2 months later...
  • Forum Moderator
  • 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
	[...]
}

 

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.