Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
edwinc3020
adjust your *.cfg config on server side
- - - Updated - - -
enlarge your screen resolution to see the buttons, mine is 1920*1080
- - - Updated - - -
try to put this code inside GLTowerWarsFieldMan::CheckWinner
//check capture here
int nSCORE[SW_SCHOOL_MAX] = { 0, 0, 0 };
SCHOOLWAR_TOWER_STATUS_MAP_ITER pos = sSchoolWAR.m_mapTowerStatus.begin();
SCHOOLWAR_TOWER_STATUS_MAP_ITER end = sSchoolWAR.m_mapTowerStatus.end();
for ( ; pos != end; pos++ )
{
const SSCHOOLWAR_TOWER_STATUS& sTOWER = pos->second;
if ( sTOWER.emHOLDER >= SW_SCHOOL_MAX ) continue;
nSCORE[sTOWER.emHOLDER] ++;
}
for( int i=0; i < SW_SCHOOL_MAX; ++ i )
{
if ( nSCORE[i] >= 2 ) //Tyranny remark: means captured 2 tower or above = winner
{
//fix Tyranny Buff UI by edwin 20181028 ***** 1
if ( nSCORE[i] == 2 )
{
GLMSG::SNET_TOWERWARS_DOBATTLEEND_AGT NetMsgAgentReqEnd;
NetMsgAgentReqEnd.dwID = dwID;
NetMsgAgentReqEnd.dwSCHOOL = i;
NetMsgAgentReqEnd.bEnd = true;
GLGaeaServer::GetInstance().SENDTOAGENT( &NetMsgAgentReqEnd );
GLMSG::SNETPC_SERVER_TOWERWARS_WINNER_AG NetMsgAgentWinner;
NetMsgAgentWinner.dwID = dwID;
NetMsgAgentWinner.wSCHOOL = i;
GLGaeaServer::GetInstance().SENDTOAGENT ( &NetMsgAgentWinner );
}
//fix Tyranny Buff UI by edwin 20181028 ***** 0
}
}
can u tell specific cpp?
Re: Urban Gaming Client/Database/Source Code Only
anyone her how to fix Tyranny reward points? would you mind sharing :)
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
johnywm1994
https://imge.to/i/US2Of
when i'm trying to input some of chinese word can display proper ,some chinese word show up "?" , can't display proper . anyone can help ?
- - - Updated - - -
fixed
Quote:
Originally Posted by
baby011528
Quote:
Originally Posted by
edwinc3020
***
one more bug found about the Tyranny in this source - the "GETREWARD" function.
working fine on client side, just need a proper vector contains tyranny winners / tyranny candidates; check below msg:
GLMSG::SNETPC_REQ_TYRANNY_GETREWARD NetMsg;
if u guys plan to apply this function, better re-write above code, it is very danger if important value control by GLGaeaClient, in this case, the reward value. have fun!
https://i.imgur.com/IXQh2yW.png
Where you guise did translate all the GUI xml files from english to chinese traditional? cuz google translate doesnt translate it properly.
Re: Urban Gaming Client/Database/Source Code Only
Does anyone will share working glogicserver? Thanks!
Re: Urban Gaming Client/Database/Source Code Only
where do we adjust the TW tower hp ? in mobs or in Level map editor?
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
lupin iii
solved.
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
kennrj
igot error in Period.ini
Because your glogicserver did not work
Did mob drop item when died?
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
cus
Because your glogicserver did not work
Did mob drop item when died?
No sir, i just use the glogicserver shared here but i got period.ini failed.
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
cus
Because your glogicserver did not work
Did mob drop item when died?
Quote:
Originally Posted by
kennrj
No sir, i just use the glogicserver shared here but i got period.ini failed.
we have a same problem, " period.ini failed " when i open field server, agent server.
then all mobs, drop's only gold,
but i already modified genitem per mob drops, but still only gold drops.
Re: Urban Gaming Client/Database/Source Code Only
Re: Urban Gaming Client/Database/Source Code Only
One thing: you guys did not know how to make glogicserver.rcc work well.
First, he shared .rar, not .rcc
Second, you made glogicserver.rcc wrong way!
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
cus
One thing: you guys did not know how to make glogicserver.rcc work well.
First, he shared .rar, not .rcc
Second, you made glogicserver.rcc wrong way!
I already change .rar to .rcc, but still period.ini error appeared and only gold drops per mobs.
if you have a fix glogicserver for this gameplay, can you share it?, please ... :(:
thank you.
Re: Urban Gaming Client/Database/Source Code Only
TAE...drop rate nid to fix some mob dont drop 190 bread
Re: Urban Gaming Client/Database/Source Code Only
@edwinc3020it is safe to remove the schoolwars function? not the towerwars , do they have relate?
Re: Urban Gaming Client/Database/Source Code Only
Quote:
Originally Posted by
rcanary
I already change .rar to .rcc, but still period.ini error appeared and only gold drops per mobs.
if you have a fix glogicserver for this gameplay, can you share it?, please ... :(:
thank you.
I won't share it.
But I can tell you that it's not a way to make all .rcc files
The problem is easy to be solved, just using what you have.
Why that guy shared to you guys glogicserver.rar? The foods were his, cooking is yours.