Problem mit Itemshop

11/18/2013 01:24 mamAmok#1
Hey wenn ich z.B. 3 Items im is kaufe und dann ingame aus dem Islager nehmen will, ist nur eins im Islager ...

db.log
Code:
Nov 18 01:13:52 :: SAFEBOX Query : [INSERT INTO item (id, owner_id, window, pos, vnum, count, socket0, socket1, socket2) VALUES(2000000000, 1, 'MALL', 0, 90023, 1, 0, 0, 0)]
Nov 18 01:13:52 :: SAFEBOX Query : [INSERT INTO item (id, owner_id, window, pos, vnum, count, socket0, socket1, socket2) VALUES(2000000001, 1, 'MALL', 0, 90022, 1, 0, 0, 0)]
Nov 18 01:13:52 :: SAFEBOX Query : [INSERT INTO item (id, owner_id, window, pos, vnum, count, socket0, socket1, socket2) VALUES(2000000002, 1, 'MALL', 0, 27992, 3, 0, 0, 0)]
channel.log
Code:
Nov 18 01:26:51 :: COMMAND: [SA]RooT: click_mall
Nov 18 01:26:52 :: COMMAND: [SA]RooT: mall_password
SYSERR: Nov 18 01:26:53 :: CreateItem: ITEM_ID_DUP: 2000000001 Panda-Siegel owner 0x3c5fc000
SYSERR: Nov 18 01:26:53 :: LoadMall: cannot create item vnum 90022 id 2000000001 (name: [SA]RooT)
SYSERR: Nov 18 01:26:53 :: CreateItem: ITEM_ID_DUP: 2000000000 Eisbär-Siegel owner 0x3c5fc000
SYSERR: Nov 18 01:26:53 :: LoadMall: cannot create item vnum 90023 id 2000000000 (name: [SA]RooT)
Nov 18 01:26:55 :: COMMAND: [SA]RooT: mall_close
Nov 18 01:26:56 :: SAVE: [SA]RooT 959230x268756
Nov 18 01:26:57 :: GLOBAL_TIME: Nov 18 01:26:57 time_gap 0

So wie es ausieht, geht es nicht wegen der Positions nummer die ist immer 0 ist die 34kgame einer vllt ne idee wie man das beheben kann ?
11/18/2013 02:05 _Nightwulf_#2
ist der item_award bug noch kein fix da
11/18/2013 07:13 MartPwnS#3
34k?

Benutzte zufällig die lib von imer mit protos aus der db?
11/18/2013 07:18 _Nightwulf_#4
item_award hatte bei jede game fast den bug
11/18/2013 08:25 S h i n e x#5
Add mich mal in Skype.
11/18/2013 09:30 Zonni#6
SO!
1. copy your item (make backup of item table).
2. truncate table
3. check the error happened again
4. if error happen check your item db structure.
5. if error doesn't happen extend db-conf.txt ITEM_RANGE

if this didn't work i donkt know what work... OR !

Check /var/db/mysql/player/ have user mysql:mysql and chmod 644 (or make chmod 777) in db account, player, common & log

Theese are examples of fix this bug ;)

Sorry 4 my english, i missed a few lesson of grammar :D
11/18/2013 16:00 mamAmok#7
Quote:
Originally Posted by MartPwnS View Post
34k?

Benutzte zufällig die lib von imer mit protos aus der db?
Jo genau das

Quote:
Originally Posted by Zonni View Post
SO!
1. copy your item (make backup of item table).
2. truncate table
3. check the error happened again
4. if error happen check your item db structure.
5. if error doesn't happen extend db-conf.txt ITEM_RANGE

if this didn't work i donkt know what work... OR !

Check /var/db/mysql/player/ have user mysql:mysql and chmod 644 (or make chmod 777) in db account, player, common & log

Theese are examples of fix this bug ;)

Sorry 4 my english, i missed a few lesson of grammar :D
didnt work same error