Skip to content

NPC TABLE ERROR

Featured Replies

Hello!

I use L2J Freya last rev!

Created few custom NPC's in custom_npc table!

Each time i reboot server i have to respawn them manualy,because i get this!

com.l2jserver.gameserver.datatables.SpawnTable addNewSpawn

WARNING: SpawnTable: Could not store spawn in the DB:Data truncation: Out of range value adjusted for column 'id' at row 1

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value adjusted for column 'id' at row 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3564)

ID's for those NPC's are:1000005,7206,71000!

However i have NPC with id 1000004 and it can be spawned just fine!

I reboot server using admin panel!

Navicat => l2jdb => spawnlist => right button  => design table => on "id" this 'Type' must be  'int' and on this  'length' put  11.  and be happy ;]

 

look first line

 

like on screen

11c54f085340564f410646f96a18f1dd

Navicat => l2jdb => spawnlist => right button  => design table => on "id" this 'Type' must be  'int' and on this  'length' put  11.  and be happy ;]

 

look first line

 

like on screen

11c54f085340564f410646f96a18f1dd

 

You learned that from me? :P // BG: Туй от мен го научи, нали? :P

  • 2 weeks later...

Hello, I have the same problem that Fokys, and already I did what u says ucko1991, but the error continue.

 

SpawnTable: Couldnt store spawn in the DB: Data Truncation: Out of range value for column "id" at row 1

com.mysql.jdbc.mysqlDataTruncation: Data Truncation: out of range value for column "id" at row 1

etc..

I got this error aswell but followed the above instructions and so far ive not recieved it agian.

ucko1991 ty.got the error,then fixed it in 3 min with your help. :)

I got this error aswell but followed the above instructions and so far ive not recieved it agian.

ucko1991 ty.got the error,then fixed it in 3 min with your help. :)

 

As we can see problem is solved, locked.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.