View Single Post
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-30-2009 , 17:36   Re: [Soccerjam] Ball Jump Stats
Reply With Quote #8

No need for vault, just make your MySQL stuff SQLite compatible.


Other stuff:

- Use formatex where applicable
- No SteamId support?
PHP Code:
for(id 0id MAXPLAYERSid++) 
->
PHP Code:
for(id 1id MAXPLAYERSid++) 
(also you should store get_maxplayers() for this)
- There are multiple cases where you should store the output of functions instead of calling them multiple times in a row.
- Use a global buffer for query formatting.
- Why do you pass id's as a string when using ThreadQuery?
PHP Code:
Message[3048
Not only is this completely unnecessary (you never get even close to this length) but it is also impossible due to engine limitations. The max for MOTD is fixed around 1500-1600 I believe.
__________________
In Flames we trust!

Last edited by Nextra; 04-30-2009 at 17:49.
Nextra is offline