Im running a private server to play mta w/my friends sometimes.. but I can't get the stats thing working.. I installed apache, configged the config.php file but when I open mtasg.php it sais:
MTASG 0.3 - Multi Theft Auto Statistics Generator by Wartech Parsing logfile: mtaserver.log
Warning: First argument to array_keys() should be an array in c:\program files\mta\mtasg.php on line 228
Warning: Invalid argument supplied for foreach() in c:\program files\mta\mtasg.php on line 228
Warning: First argument to array_keys() should be an array in c:\program files\mta\mtasg.php on line 239
Warning: Invalid argument supplied for foreach() in c:\program files\mta\mtasg.php on line 239
Warning: arsort() expects parameter 1 to be array, null given in c:\program files\mta\mtasg.php on line 257
Warning: Variable passed to key() is not an array or object in c:\program files\mta\mtasg.php on line 259
Done! 17 lines parsed in 0 seconds Saving statsfile: public_html/stats/index.php
I even made the apache server directory the same as the mta directory (shown in the code) but than it still display's no names and other stuff, while there have been 2 people in the game...
I run mta 0.2 with all the new stuff (config tool etc..)
My logfile only shows what people said, and if someone enters a game.. that weird
I hope someone can help me...