
Originally Posted by
Mustafa5
@edwinc3020it is safe to remove the schoolwars function? not the towerwars , do they have relate?
School War, Tower War, School Tower War, Capture the field
Haha, quite a mess in the source.
according to my memory, some of the "Tower war" sub function sharing "School War" net msg.
core function the "Tower war" got its own defines, but still little bit mess on variable naming, for example "GLTowerWars *pSW".
it is totally safe, to remove the "School War", but u have to be very very careful to done this.
and don't remove the sharing net msg / function, if u found any.
- - - Updated - - -

Originally Posted by
caspian0
mind sharing sir ? and have you also fix the Points rewards also?
Yes, actually, i already share the key.
goto GLGaeaClient.cpp
check below message, u will find this vector "m_vecCtfRankInfoAll" is empty. and lead to no point will send to players when tyranny end.
**********************
Code:
if ( m_vecCtfRankInfoAll.size() != 0 ) { for(int i = 0; i < m_vecCtfRankInfoAll.size(); ++i ) { STWP_RANK_INFO sPlayer = m_vecCtfRankInfoAll[i]; if ( m_Character.GetCharID() == sPlayer.dwCharID ) { GLMSG::SNETPC_REQ_TYRANNY_GETREWARD NetMsg; NetMsg.lnValue = 50; NETSEND(&NetMsg); break; } } }
u might just change the vector as below, for testing purpose only. (as i mentioned before, is not safe done it like this. )
**********************
Code:
if ( m_vecCtfRankAll.size() != 0 ) { for(int i = 0; i < m_vecCtfRankAll.size(); ++i ) { STWP_RANK sPlayer = m_vecCtfRankAll[i]; if ( m_Character.GetCharID() == sPlayer.dwCharID ) { GLMSG::SNETPC_REQ_TYRANNY_GETREWARD NetMsg; NetMsg.lnValue = 50; NETSEND(&NetMsg); break; } } }
dwCharID is missing in structure "STWP_RANK", make sure u have added it & assign value to it, then above test function will work.