You last visited: Today at 12:10
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.
06/15/2013, 10:37
#31
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?
06/19/2013, 18:48
#32
elite*gold: 0
Join Date: Feb 2013
Posts: 167
Received Thanks: 141
Quote:
Originally Posted by
jayjei14
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.
06/22/2013, 13:14
#33
elite*gold: 0
Join Date: Jun 2013
Posts: 21
Received Thanks: 12
Quote:
Originally Posted by
.S0urce
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
09/05/2013, 04:28
#34
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 ..
09/06/2013, 09:20
#35
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
Quote:
Originally Posted by
yvansinues
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
09/07/2013, 08:29
#36
elite*gold: 0
Join Date: Jul 2012
Posts: 127
Received Thanks: 4
Quote:
Originally Posted by
jeromerz
Nope
Ok tnx ..
10/30/2013, 02:57
#37
elite*gold: 20
Join Date: Sep 2012
Posts: 21
Received Thanks: 14
Wo muss ich die GuildCombat.txt einfuegen?
10/30/2013, 04:54
#38
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 505
Quote:
Originally Posted by
cRu5H
Wo muss ich die GuildCombat.txt einfuegen?
In deinen Resource Ordner (Files).
05/04/2014, 10:42
#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
WARSTATE 150000 101 102 // Line Up Time (default: 3600000)
To This
WARSTATE 300 101 102 // Line Up Time (default: 3600000)
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
02/14/2015, 07:19
#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 <.<
02/22/2015, 07:08
#41
elite*gold: 0
Join Date: Feb 2015
Posts: 87
Received Thanks: 20
Quote:
Originally Posted by
Spraystar
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
02/22/2015, 13:47
#42
elite*gold: 7
Join Date: Sep 2012
Posts: 4,469
Received Thanks: 3,220
Addet mich mal in Skype ^^ ich helfe euch
02/22/2015, 14:16
#43
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Quote:
Originally Posted by
Armageddon'
Addet mich mal in Skype ^^ ich helfe euch
Habe dich Hinzugefügt hoffe kannst mir helfen
05/07/2015, 06:15
#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
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 .