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

Lua Creating Character

darkazey

New Member
Joined
Mar 29, 2012
Messages
28
Reaction score
0
Im´getting this when I try to create a character


Fatal error: Uncaught exception 'E_OTS_NotLoaded' in C:\xampp\htdocs\pot\OTS_Player.php:1866 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(960): OTS_Player->getSkill(0) #1 C:\xampp\htdocs\index.php(129): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 1866

help plz rep+
 
SQL:
INSERT IGNORE INTO `player_skills`
SELECT `id` , 0, 10, 0
FROM `players`
UNION SELECT `id` , 1, 10, 0
FROM `players`
UNION SELECT `id` , 2, 10, 0
FROM `players`
UNION SELECT `id` , 3, 10, 0
FROM `players`
UNION SELECT `id` , 4, 10, 0
FROM `players`
UNION SELECT `id` , 5, 10, 0
FROM `players`
UNION SELECT `id` , 6, 10, 0
FROM `players` ;
it'll insert missing skill rows, not sure if you'll still have problems with new characters not having skills saved
 
I got another problem..
When someone is creating a SORCERER this comes on the website.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''')' at line 1' in C:\xampp\htdocs\accountmanagement.php:970 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(970): PDO->query('INSERT INTO `pl...') #1 C:\xampp\htdocs\index.php(129): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\accountmanagement.php on line 970

Rep+ Help!
 
Back
Top