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

Vocation samples!

Kociii

FTW = Fuck The What
Joined
Dec 24, 2009
Messages
543
Reaction score
1
Location
Sweden
The Following Errors Have Occurred:

Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copySorcerer Sample doesn't exist.

Why doesen't it work. Please help, i will rep the one that help me!
 
We didn't find anything with config.php.. but we found server config. Can it be that?

Can you like tell me in step and step how to fix? i am new with website, Please.. Tell with step..

1 ....
2 ...

But with text if you know what i mean please!
 
No, it should be config.php from your website (i.e. D:/xampp/htdocs/config/config.php, /var/www/config/config.php etc.).
 
Ye, We got sorcerer sample there.. i think :p but none of the vocation works, idk why.. Can someone help us?
a Script/code screen whould help alot! :*
 
yes, we have sorcerer sample. Can you show me how it should be?
// CHARACTER config, format: ID_of_vocation => 'Name of Character to copy', load vocation name from $vocation_name[0] (below)
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_vocations'][1] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
 
There is no sorcerer sample, there is no samples there at all..

And how will i add them? do i need any special account or something?
 
Last edited by a moderator:
You need to insert rows, go to PMA, players table, then click 'Add' and add characters with names:
Sorcerer Sample, Druid Sample, Paladin Sample and Knight Sample.

Remember to choose correct vocations.
 
Ill try that now, wait :)

I just get errors
Fel
SQL-question:

INSERT INTO `tfs`.`players` (

`id` ,
`name` ,
`world_id` ,
`group_id` ,
`account_id` ,
`level` ,
`vocation` ,
`health` ,
`healthmax` ,
`experience` ,
`lookbody` ,
`lookfeet` ,
`lookhead` ,
`looklegs` ,
`looktype` ,
`lookaddons` ,
`maglevel` ,
`mana` ,
`manamax` ,
`manaspent` ,
`soul` ,
`town_id` ,
`posx` ,
`posy` ,
`posz` ,
`cap` ,
`sex` ,
`lastlogin` ,
`lastip` ,
`save` ,
`skull` ,
`skulltime` ,
`rank_id` ,
`guildnick` ,
`lastlogout` ,
`blessings` ,
`balance` ,
`stamina` ,
`direction` ,
`loss_experience` ,
`loss_mana` ,
`loss_skills` ,
`loss_containers` ,
`loss_items` ,
`premend` ,
`online` ,
`marriage` ,
`promotion` ,
`deleted` ,
`description` ,
`created` ,
`nick_verify` ,
`old_name` ,
`hide_char` ,
`comment`
)
VALUES (
NULL , 'Sorcerer Sample', '0', '1', '0', '1', '1', '150', '150', '0', '0', '0', '0', '0', '136', '0', '0', '0', '0', '0', '0', '0', '160', '50', '7', '0', '0', '0', '0', '1', '0', '0', '0', '', '0', '0', '0', '151200000', '2', '100', '100', '100', '100', '100', '0', '0', '0', '0', '0', '', '0', '0', '', '0', ''
)

MySQL sa:

#1062 - Duplicate entry 'Sorcerer Sample-0' for key 2
 
Last edited by a moderator:
Probably not ;>

I got another error now
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'redskulltime' in 'field list'' in C:\xampp\htdocs\pot\OTS_Player.php:187 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Player.php(187): PDO->query('INSERT INTO `pl...') #1 C:\xampp\htdocs\accountmanagement.php(799): OTS_Player->save() #2 C:\xampp\htdocs\index.php(178): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 187
 
Last edited by a moderator:
Back
Top