• 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!

Gesior install problem

Nofus

New Member
Joined
Jul 16, 2009
Messages
415
Reaction score
1
hi im installing gesior 0.3.6 account maker but at step 2 i get this problem.

Parse error: syntax error, unexpected ';', expecting T_FUNCTION in C:\xampp\htdocs\pot\OTS_DB_SQLite.php on line 68


I checked line 68 and all it was , was this:
?>

Nothing else. What's the problem?
 
nvm i fixed it , It was in the server config. I had sqlite instead of mysql. Thx anyway. But i just wonder on the website when im creating account. How do i change name of the vocations? Druid = Priest etc..?
 
\htdocs\config\config.php
PHP:
// list of vocations on ots (world 0)
$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0
$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 0
 
Back
Top