Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Flyff › Flyff Private Server › Flyff PServer Guides & Releases
You last visited: Today at 12:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Auto GuildWar every 30 min

Discussion on Auto GuildWar every 30 min within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #31
 
Rhyder`'s Avatar
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 895
How to make announcement before the seige will start?
like: The Guild Seige will start after 5mins..

anyone know it?
Rhyder` is offline  
Old   #32
 
elite*gold: 0
Join Date: Feb 2013
Posts: 167
Received Thanks: 141
Quote:
Originally Posted by jayjei14 View Post
How to make announcement before the seige will start?
like: The Guild Seige will start after 5mins..

anyone know it?
Simply change the message that appears after the siege has ended.
"The Guild Siege has ended" to "Please Apply for Siege. It starts soon!"
You can do that in the textClient.txt.txt

ofc, theres a better way to do it in source. But its much easier to do it in resource.



@.S0urce:

Bitte geb die credits and Wesley/phoen1x von Eclipse Flyff.
Der code stammt nicht von dir.
Swäg is offline  
Old   #33
 
elite*gold: 0
Join Date: Jun 2013
Posts: 21
Received Thanks: 12
Quote:
Originally Posted by .S0urce View Post
Hiermit reuploade ich mein Auto GuildWar.





Hier ist noch eine GuildCombat.txt die auf die 30 min Auto Gw ausgelegt ist.
Hoffe damit jetzt das einige GuildWar Server es übernehmen werden und wir uns darauf freuen können, das es immer GuildWar gibt :P
Nice release Thank you
SmexySelenA is offline  
Old   #34
 
yvansinues's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 127
Received Thanks: 4
My old code
Code:
void CGuildCombat::Process()
{
#ifdef __WORLDSERVER
#ifdef _DEBUG	
//	TRACE( "GuildWarFlyff::Process <%d>, <%d>\n", m_nState, m_nGuildCombatState);
#endif //_DEBUG
	if( m_nState != CLOSE_STATE )
	{
		if( m_nProcessGo < m_nProcessCount[0] )
			ProcessCommand();
		ProcessJoinWar();	//
	}
	else
	{
		CTime ctime = CTime::GetCurrentTime();
#ifdef __PMA_GW
for( DWORD i = 0; i < __AutoOpen.size(); i++ )
{
		

		if( __AutoOpen[i].nDay == ctime.GetDayOfWeek()-1 && __AutoOpen[i].bUseing )
		{
			CTimeSpan ts( 0, __AutoOpen[i].nHour-ctime.GetHour(), __AutoOpen[i].nMinute-ctime.GetMinute(), 0 );


			if( ts.GetTotalSeconds() == GW_TIME_ANNOUNCE*60  )
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_START30 ) );	

			if( __AutoOpen[i].nHour == ctime.GetHour() &&
				__AutoOpen[i].nMinute == ctime.GetMinute() && m_bMutex == FALSE )
#else
		if( __AutoOpen[ctime.GetDayOfWeek()-1].bUseing )
		{
			// ½ºÅµ µÉ ¼ö ÀÖÀ¸¹Ç·Î ¼öÁ¤À» ÇÊ¿ä·Î ÇÔ
			if( __AutoOpen[ctime.GetDayOfWeek()-1].nHour == ctime.GetHour() &&
				__AutoOpen[ctime.GetDayOfWeek()-1].nMinute == ctime.GetMinute() && m_bMutex == FALSE )
#endif
			{
#ifdef __S_BUG_GC
				if( (int)( m_vecGuildCombatMem.size() ) >= m_nMinGuild )
#else // __S_BUG_GC
				if( m_GuildCombatMem.size() > 1 )
#endif // __S_BUG_GC
				{				
					GuildCombatOpen();
				}
				else
				{
					m_ctrMutexOut.Set( SEC(60) );
					m_bMutexMsg = TRUE;
					g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_NEXT_COMBAT ) );	
					g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_ENJOY ) );	
				}

				m_bMutex = TRUE;				
			}

			if( m_bMutexMsg && m_ctrMutexOut.IsTimeOut() )
			{
				m_bMutexMsg = FALSE;
				m_bMutex    = FALSE;
			}
		}
	}
#ifdef __PMA_GW
}
#endif
#endif //__WORLDSERVER
}
The New one
Code:
void CGuildCombat::Process()
{
#ifdef __WORLDSERVER
#ifdef _DEBUG	
//	TRACE( "GuildWarFlyff::Process <%d>, <%d>\n", m_nState, m_nGuildCombatState);
#endif //_DEBUG
	if( m_nState != CLOSE_STATE )
	{
		if( m_nProcessGo < m_nProcessCount[0] )
			ProcessCommand();
		ProcessJoinWar();	//
	}
	else
	{
		CTime ctime = CTime::GetCurrentTime();

		if((ctime.GetMinute() % 30 == 0) && m_bMutex == FALSE ) // jede 30 Minuten
		{
#ifdef __S_BUG_GC
			if( (int)( m_vecGuildCombatMem.size() ) >= m_nMinGuild )
#else // __S_BUG_GC
			if( m_GuildCombatMem.size() > 1 )
#endif // __S_BUG_GC
			{				
				GuildCombatOpen();
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_ENJOY ) ); //Startet Line Up und Shoutet
			}
			else
			{
				m_ctrMutexOut.Set( SEC(60) );
				m_bMutexMsg = TRUE;
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_NEXT_COMBAT ) ); //Shoutet wenn es zu wenig Gilden sind
			}
			m_bMutex = TRUE;				
		}
		if( m_bMutexMsg && m_ctrMutexOut.IsTimeOut() )
		{
			m_bMutexMsg = FALSE;
			m_bMutex    = FALSE;
		}
	}
#endif //__WORLDSERVER
}


How about the code PMA_GW .. Do i need to add it or not ..
yvansinues is offline  
Old   #35
 
jeromerz's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
Quote:
Originally Posted by yvansinues View Post
My old code
Code:
void CGuildCombat::Process()
{
#ifdef __WORLDSERVER
#ifdef _DEBUG	
//	TRACE( "GuildWarFlyff::Process <%d>, <%d>\n", m_nState, m_nGuildCombatState);
#endif //_DEBUG
	if( m_nState != CLOSE_STATE )
	{
		if( m_nProcessGo < m_nProcessCount[0] )
			ProcessCommand();
		ProcessJoinWar();	//
	}
	else
	{
		CTime ctime = CTime::GetCurrentTime();
#ifdef __PMA_GW
for( DWORD i = 0; i < __AutoOpen.size(); i++ )
{
		

		if( __AutoOpen[i].nDay == ctime.GetDayOfWeek()-1 && __AutoOpen[i].bUseing )
		{
			CTimeSpan ts( 0, __AutoOpen[i].nHour-ctime.GetHour(), __AutoOpen[i].nMinute-ctime.GetMinute(), 0 );


			if( ts.GetTotalSeconds() == GW_TIME_ANNOUNCE*60  )
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_START30 ) );	

			if( __AutoOpen[i].nHour == ctime.GetHour() &&
				__AutoOpen[i].nMinute == ctime.GetMinute() && m_bMutex == FALSE )
#else
		if( __AutoOpen[ctime.GetDayOfWeek()-1].bUseing )
		{
			// ½ºÅµ µÉ ¼ö ÀÖÀ¸¹Ç·Î ¼öÁ¤À» ÇÊ¿ä·Î ÇÔ
			if( __AutoOpen[ctime.GetDayOfWeek()-1].nHour == ctime.GetHour() &&
				__AutoOpen[ctime.GetDayOfWeek()-1].nMinute == ctime.GetMinute() && m_bMutex == FALSE )
#endif
			{
#ifdef __S_BUG_GC
				if( (int)( m_vecGuildCombatMem.size() ) >= m_nMinGuild )
#else // __S_BUG_GC
				if( m_GuildCombatMem.size() > 1 )
#endif // __S_BUG_GC
				{				
					GuildCombatOpen();
				}
				else
				{
					m_ctrMutexOut.Set( SEC(60) );
					m_bMutexMsg = TRUE;
					g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_NEXT_COMBAT ) );	
					g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_ENJOY ) );	
				}

				m_bMutex = TRUE;				
			}

			if( m_bMutexMsg && m_ctrMutexOut.IsTimeOut() )
			{
				m_bMutexMsg = FALSE;
				m_bMutex    = FALSE;
			}
		}
	}
#ifdef __PMA_GW
}
#endif
#endif //__WORLDSERVER
}
The New one
Code:
void CGuildCombat::Process()
{
#ifdef __WORLDSERVER
#ifdef _DEBUG	
//	TRACE( "GuildWarFlyff::Process <%d>, <%d>\n", m_nState, m_nGuildCombatState);
#endif //_DEBUG
	if( m_nState != CLOSE_STATE )
	{
		if( m_nProcessGo < m_nProcessCount[0] )
			ProcessCommand();
		ProcessJoinWar();	//
	}
	else
	{
		CTime ctime = CTime::GetCurrentTime();

		if((ctime.GetMinute() % 30 == 0) && m_bMutex == FALSE ) // jede 30 Minuten
		{
#ifdef __S_BUG_GC
			if( (int)( m_vecGuildCombatMem.size() ) >= m_nMinGuild )
#else // __S_BUG_GC
			if( m_GuildCombatMem.size() > 1 )
#endif // __S_BUG_GC
			{				
				GuildCombatOpen();
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_ENJOY ) ); //Startet Line Up und Shoutet
			}
			else
			{
				m_ctrMutexOut.Set( SEC(60) );
				m_bMutexMsg = TRUE;
				g_DPCoreClient.SendSystem( prj.GetText( TID_GAME_GUILDCOMBAT_NEXT_COMBAT ) ); //Shoutet wenn es zu wenig Gilden sind
			}
			m_bMutex = TRUE;				
		}
		if( m_bMutexMsg && m_ctrMutexOut.IsTimeOut() )
		{
			m_bMutexMsg = FALSE;
			m_bMutex    = FALSE;
		}
	}
#endif //__WORLDSERVER
}


How about the code PMA_GW .. Do i need to add it or not ..
Nope
jeromerz is offline  
Thanks
1 User
Old   #36
 
yvansinues's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 127
Received Thanks: 4
Quote:
Originally Posted by jeromerz View Post
Nope
Ok tnx ..
yvansinues is offline  
Old   #37
 
elite*gold: 20
Join Date: Sep 2012
Posts: 21
Received Thanks: 14
Wo muss ich die GuildCombat.txt einfuegen?
cRu5H is offline  
Old   #38
 
Chriѕ's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 505
Quote:
Originally Posted by cRu5H View Post
Wo muss ich die GuildCombat.txt einfuegen?
In deinen Resource Ordner (Files).
Chriѕ is offline  
Old   #39
 
elite*gold: 0
Join Date: Mar 2013
Posts: 205
Received Thanks: 38
How can i edit the Line up Time ( 60 mins ) i want to change it to ( 5 ) five minutes.
-
i edit the GuildCombat.txt
From this

To This


but the line up still 60 mins how can i fix it please

@Edit
FIX ( i edit the GuildCombat.txt @ Resource )
-
Sorry for my english
flyffdev is offline  
Old   #40
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
wieso wird ingame die zeit nicht geändert beim npc aber der gw findet alle 30 min statt <.<
Spraystar is offline  
Old   #41
 
elite*gold: 0
Join Date: Feb 2015
Posts: 87
Received Thanks: 20
Quote:
Originally Posted by Spraystar View Post
wieso wird ingame die zeit nicht geändert beim npc aber der gw findet alle 30 min statt <.<
habe auch das Problem die Notice kommt immer jede 30 min aber beim npc steht immer normale Zeit ich bitte um Hilfe oder jemand den kompletten source code Postet
n5xda is offline  
Old   #42



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,469
Received Thanks: 3,220
Addet mich mal in Skype ^^ ich helfe euch
- DK is offline  
Old   #43
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Quote:
Originally Posted by Armageddon' View Post
Addet mich mal in Skype ^^ ich helfe euch
Habe dich Hinzugefügt hoffe kannst mir helfen
Spraystar is offline  
Old   #44
 
elite*gold: 0
Join Date: Apr 2015
Posts: 368
Received Thanks: 98
habe das gleiche problem bei mir steht 4tage bis zum nächstes GW
'Mope' is offline  
Reply


Similar Threads Similar Threads
pma_gw system (Auto Guildwar)
12/16/2012 - Flyff Private Server - 5 Replies
hat wer die ressource einträge für die guildcombat.txt usw? wäre nett wenn sich wer meldet.
Auto GuildWar every 30 minutes
12/16/2012 - Flyff Private Server - 7 Replies
Hey Leute, seit dem auto gw drinne ist startet er den gw nicht mehr automatisch. Es kommt nichtmal eine info das der gw nicht statt findet ^^ hat vlt wer eine lösung? wer lusst hat zu helfen und den code mal sehen will der soll sich melden ;) mfg. Crowley
Auto GuildWar every 30 minutes
12/16/2012 - Flyff Private Server - 4 Replies
Hey, wollte fragen ob iwer das Auto GuildWar every 30 minutes system hat. wäre nett wenn mir das er schicken könnte oder sagen könnte wo man dieses her bekommt. mfg. Crowöey
[Release] Auto GuildWar every 30 minutes
09/12/2012 - Flyff PServer Guides & Releases - 10 Replies
#removed
[REL]Make GuildWar start auto after it has been Taken + command to stop GW
04/02/2010 - CO2 PServer Guides & Releases - 4 Replies
Ok so this code SHOULD work perfectly with no errors right.... to make the GW start auto after it has been taken.... goto Features>Guildwar.cs and hit CTRL+F and search for World.SendMsgToAll("SYSTEM", Highest.TheGuild.GuildName + under the rest of that line just add THIS code



All times are GMT +1. The time now is 12:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.