• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC what i need install on ubuntu 16.04 for gesior tfs0.4?

that means u need to add the sql into your database ,u can prolly find it in config,php or in a sql file inside the folder ,all explains in readme to probarly
 
PHP - <- [TUTORIAL] * Gesior AAC 0.3.1 - How to Setup! steps is most likely the same on all gesiors websites :)

It turotial for idiots, i have problems with my vps, cuz this gesior GesiorACC 2012 8.60 UPDATE 19/09/2016
worked with xampp without any errors, but on my vps he suck :(
I tested all versions, from all forums but any thing not work good.

> First site (latesnews.php) work but i have error in logs
[Tue Aug 14 06:18:14.280093 2018] [:error] [pid 15745] [client XXXX MY IP] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/pages/latestnews.php on line 15
> I can't login it cuz i get htttp 500 error
> Samples dont be created
> Highscores - http 500 error
 
It turotial for idiots, i have problems with my vps, cuz this gesior GesiorACC 2012 8.60 UPDATE 19/09/2016
worked with xampp without any errors, but on my vps he suck :(
I tested all versions, from all forums but any thing not work good.

> First site (latesnews.php) work but i have error in logs
[Tue Aug 14 06:18:14.280093 2018] [:error] [pid 15745] [client XXXX MY IP] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/pages/latestnews.php on line 15
> I can't login it cuz i get htttp 500 error
> Samples dont be created
> Highscores - http 500 error
is it the $guild variable foreach statement?
 
is it the $guild variable foreach statement?
yep

Code:
foreach($SQL->query('SELECT ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' AS ' . $SQL->fieldName('id') . ', ' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ' AS ' . $SQL->fieldName('name') . ', COUNT(' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ') AS ' . $SQL->fieldName('frags') . ' FROM ' . $SQL->tableName('killers') . ' k LEFT JOIN ' . $SQL->tableName('player_killers') . ' pk ON ' . $SQL->tableName('k') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('players') . ' p ON ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('player_id') . ' = ' . $SQL->tableName('p') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guild_ranks') . ' gr ON ' . $SQL->tableName('p') . '.' . $SQL->fieldName('rank_id') . ' = ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guilds') . ' g ON ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('guild_id') . ' = ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' WHERE ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' > 0 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('unjustified') . ' = 1 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('final_hit') . ' = 1 GROUP BY ' . $SQL->fieldName('name') . ' ORDER BY ' . $SQL->fieldName('frags') . ' DESC, ' . $SQL->fieldName('name') . ' ASC LIMIT 4;') as $guild)



but i remove old files and upload new, now work all (99%) but i can't create account, i try create account after cliked button "Sumbit" i see "Failed to create account."

Create character not work too, i try create new character on admin account but i see

Code:
Error occured!
Error ID: Cannot save ItemsList. Player ID not set.
More info: 

File: /var/www/html/classes/itemslist.php   Line: 67
File: /var/www/html/classes/player.php   Line: 87
File: /var/www/html/pages/accountmanagement.php   Line: 1939
File: /var/www/html/system/load.page.php   Line: 7
File: /var/www/html/index.php   Line: 37
 
yep

Code:
foreach($SQL->query('SELECT ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' AS ' . $SQL->fieldName('id') . ', ' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ' AS ' . $SQL->fieldName('name') . ', COUNT(' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ') AS ' . $SQL->fieldName('frags') . ' FROM ' . $SQL->tableName('killers') . ' k LEFT JOIN ' . $SQL->tableName('player_killers') . ' pk ON ' . $SQL->tableName('k') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('players') . ' p ON ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('player_id') . ' = ' . $SQL->tableName('p') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guild_ranks') . ' gr ON ' . $SQL->tableName('p') . '.' . $SQL->fieldName('rank_id') . ' = ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guilds') . ' g ON ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('guild_id') . ' = ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' WHERE ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' > 0 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('unjustified') . ' = 1 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('final_hit') . ' = 1 GROUP BY ' . $SQL->fieldName('name') . ' ORDER BY ' . $SQL->fieldName('frags') . ' DESC, ' . $SQL->fieldName('name') . ' ASC LIMIT 4;') as $guild)



but i remove old files and upload new, now work all (99%) but i can't create account, i try create account after cliked button "Sumbit" i see "Failed to create account."

Create character not work too, i try create new character on admin account but i see

Code:
Error occured!
Error ID: Cannot save ItemsList. Player ID not set.
More info:

File: /var/www/html/classes/itemslist.php   Line: 67
File: /var/www/html/classes/player.php   Line: 87
File: /var/www/html/pages/accountmanagement.php   Line: 1939
File: /var/www/html/system/load.page.php   Line: 7
File: /var/www/html/index.php   Line: 37
ok i found your solution,this is how u fix it [Solved] Gesior AAC issue while creating characted
 
If you have uniform server running mysql turn it off.
Go to
C:\UniServerZ\core\mysql/my.ini
find
thread_stack = 128K
increase it to 200k
save
restart mysql
 
PHP:
if($guild) // Returns true if there is data (or not false/null)
{
    foreach($SQL->query('SELECT ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' AS ' . $SQL->fieldName('id') . ', ' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ' AS ' . $SQL->fieldName('name') . ', COUNT(' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ') AS ' . $SQL->fieldName('frags') . ' FROM ' . $SQL->tableName('killers') . ' k LEFT JOIN ' . $SQL->tableName('player_killers') . ' pk ON ' . $SQL->tableName('k') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('players') . ' p ON ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('player_id') . ' = ' . $SQL->tableName('p') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guild_ranks') . ' gr ON ' . $SQL->tableName('p') . '.' . $SQL->fieldName('rank_id') . ' = ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guilds') . ' g ON ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('guild_id') . ' = ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' WHERE ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' > 0 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('unjustified') . ' = 1 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('final_hit') . ' = 1 GROUP BY ' . $SQL->fieldName('name') . ' ORDER BY ' . $SQL->fieldName('frags') . ' DESC, ' . $SQL->fieldName('name') . ' ASC LIMIT 4;') as $guild)
}
and as for the guild issue if u get that again another time wrap it in a if statement
 
If you have uniform server running mysql turn it off.
Go to
C:\UniServerZ\core\mysql/my.ini
find
thread_stack = 128K
increase it to 200k
save
restart mysql

I dont have my.ini in mysql folder, but i have file msqld.cnf and i change thread_stack = 192k for 200k but still not work
 
Back
Top