Jump to content
Sign in to follow this  
Kroneees

[SRC] Guild create and remove.

Recommended Posts

input_main.cpp

 

time guild create and remove.

 

search

if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <

see..

if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <
			CGuildManager::instance().GetDisbandDelay())
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> ЗШ»кЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
				quest::CQuestManager::instance().GetEventFlag("guild_disband_delay"));
		return;
	}

	if (get_global_time() - ch->GetQuestFlag("guild_manage.new_withdraw_time") <
			CGuildManager::instance().GetWithdrawDelay())
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> Е»ЕрЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
				quest::CQuestManager::instance().GetEventFlag("guild_withdraw_delay"));
		return;
	}

replace

	//if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <
	//		CGuildManager::instance().GetDisbandDelay())
	//{
	//	ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> ЗШ»кЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
	//			quest::CQuestManager::instance().GetEventFlag("guild_disband_delay"));
	//	return;
	//}

	//if (get_global_time() - ch->GetQuestFlag("guild_manage.new_withdraw_time") <
	//		CGuildManager::instance().GetWithdrawDelay())
	//{
	//	ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> Е»ЕрЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
	//			quest::CQuestManager::instance().GetEventFlag("guild_withdraw_delay"));
	//	return;
	//}

Sry my bad english :C

Share this post


Link to post
/e guild_disband_delay 0
/e guild_withdraw_delay 0
 
It's faster ^^
 
Besides I can't consider commenting stuff a "release". Topic closed.
  • Love 4

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.