Player's Level/Ranking
Posted: Thu Oct 01, 2009 8:26 am
Hello everyone...
I just had an issue that i need technical support, regarding Player's levels.
As we know, PM has Level area for each player, and the "only" way that i know,
to change the Level of each player is via PHP/PM admin interface.
Ok... i have coded few scripts that update the players Level based on the
total chips (the scripts compares chips from MySQL), but, in order to update
their Levels i have to "load/call" the script every few seconds, so it looks
like the level system is integrated with PM.
My question: if i have 100+ players online, and the script is called every 3 seconds
for each player, will it slow down the software/server? I know it depends on the
server, but what if you implement a simple chip comparing functions in PM,
which depending on the admins requirements and level names, will update the
player's levels. (Similar to Facebook).
I thought it might be interesting to be added...
Thank you.
I just had an issue that i need technical support, regarding Player's levels.
As we know, PM has Level area for each player, and the "only" way that i know,
to change the Level of each player is via PHP/PM admin interface.
Ok... i have coded few scripts that update the players Level based on the
total chips (the scripts compares chips from MySQL), but, in order to update
their Levels i have to "load/call" the script every few seconds, so it looks
like the level system is integrated with PM.
My question: if i have 100+ players online, and the script is called every 3 seconds
for each player, will it slow down the software/server? I know it depends on the
server, but what if you implement a simple chip comparing functions in PM,
which depending on the admins requirements and level names, will update the
player's levels. (Similar to Facebook).
I thought it might be interesting to be added...
Thank you.