fixed it now on netserver. btw by any chance you would share working tyranny.ini?
;
;capture the field Configuration File
[SCHOOL_WARS]
;
ID = 1
NAME = Tyranny Wars
;
;war map
CLUB_MAP= 223,0
;
;revive or gen gate per school
REVIVE_GATE= 0,1,2
;
BATTLE_NEXT_TIME = 3600
BATTLE_LAST_TIME = 0
BATTLE_PREVIOUS_TIME = 0
; sched
;you can have as many schedules per day but make sure schedules are valid and does not overlap to each other
;for safety add minimum 1 hour interval per event
;failure of schedule will cause next scheduled event fail to start
; Sunday(1), Monday(2), Tuesday(3), Wednesday(4), Thursday(5), Friday(6), Saturday(7)
BATTLE_TIME = 1,7,0
BATTLE_TIME = 1,10,0
BATTLE_TIME = 1,13,0
BATTLE_TIME = 1,16,0
BATTLE_TIME = 1,19,0
BATTLE_TIME = 1,22,0
;
; Battle Time in seconds
BATTLE_THE_TIME = 1800
;;;reward item per top
AWARD_ITEM_1 = 187,178
AWARD_ITEM_2 = 187,210
AWARD_ITEM_3 = 187,375
AWARD_ITEM_4 = 187,397
AWARD_ITEM_5 = 187,396
AWARD_ITEM_6 = 187,396
AWARD_ITEM_7 = 187,396
AWARD_ITEM_8 = 187,396
AWARD_ITEM_9 = 187,396
AWARD_ITEM_10 = 187,396
AWARD_ITEM_ETCH = 2
AWARD_ITEM_LIMIT = 10
let fix somethings in this source
move out all characters to each school campus after wars end
-----GLTowerWarsFieldMan.cpp
search key "
pLandMan->DoGateOutPCAll ( pSW->m_dwCLubMapGate );"
add
//pLandMan->DoGateOutPCAll ( pSW->m_dwCLubMapGate );
-----GLGaeaClient.cpp
search key "
case NET_MSG_GCTRL_TOWERWARS_CTF_EXIT_MAP:"
remove inside this case then add my code , it will like this :
case NET_MSG_GCTRL_TOWERWARS_CTF_EXIT_MAP:
{
GLMSG::SNET_TOWERWARS_CTF_EXIT_MAP *pNetMsg =(GLMSG::SNET_TOWERWARS_CTF_EXIT_MAP*)nmg;
if ( m_Character.GETSCHOOL() == 0 )
{
GLMSG::SNET_GM_MOVE2MAPPOS NetMsgToExit;
NetMsgToExit.nidMAP.wMainID = 2;
NetMsgToExit.nidMAP.wSubID = 0;
NetMsgToExit.dwPOSX = 62;
NetMsgToExit.dwPOSY = 8;
NETSEND( &NetMsgToExit );
}
else if ( m_Character.GETSCHOOL() == 1 )
{
GLMSG::SNET_GM_MOVE2MAPPOS NetMsgToExit;
NetMsgToExit.nidMAP.wMainID = 5;
NetMsgToExit.nidMAP.wSubID = 0;
NetMsgToExit.dwPOSX = 72;
NetMsgToExit.dwPOSY = 13;
NETSEND( &NetMsgToExit );
}
else if ( m_Character.GETSCHOOL() == 2 )
{
GLMSG::SNET_GM_MOVE2MAPPOS NetMsgToExit;
NetMsgToExit.nidMAP.wMainID = 8;
NetMsgToExit.nidMAP.wSubID = 0;
NetMsgToExit.dwPOSX = 103;
NetMsgToExit.dwPOSY = 14;
NETSEND( &NetMsgToExit );
}
}
break;
///////
and save it, yours character will be kick out after wars end.... like ran world ehehehehe
you can also do it with royalrumble
------------ GLRoyalRumble.cpp
find the key like tyranny then it should be like this
//
pLandMan->DoGateOutPCAll ( pRR->m_dwCLubMapGate );
GLMSG::SNET_TOWERWARS_CTF_EXIT_MAP NetMsgExit;
GLGaeaServer::GetInstance().SENDTOCLIENT_ONMAP( pRR->m_dwClubMap, &NetMsgExit );
(use same function with tyranny, it will be fine)
btw, you can remove
pLandMan->DoGateOutPCAll ( pRR->m_dwCLubMapGate );or let it move to campus 1f then it still move your char to campus... there is one more move, nothings new here, slowly only