ItemID and bank problem Fixed

07/17/2014 19:15 Sicarium#1
Hi guys, I fixed the problem of the items' id and the deletion of items in TITEMTABLE. I edited 5 files in TGAME_GSP and 1 in TGLOBAL_GSP.

Quote:
TCashItemGet
TGenerateDBItemID
TLogout
TSaveItem
TSaveItemDataEnd
TCashItemBuy

I found the following problems:
when an item was obtained and after another item bought from the item shop and put it in inventory, some id contained in TTEMPITEMTABLE were repeated. This cancel all values from the table TITEMTABLE since this one does not accept duplicate values.
Another problem was that the bank wasn't saving the items,

Now should be all ok.

[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]

Before you put all.

1) Clean TITEMTABLE,TTEMPITEMTABLE,TINVENTABLE,TTEMPINVENTA BLE,TCASHCABINETTABLE
2) Set dlID = 0 in TDBITEMINDEXTABLE
03/05/2015 23:50 Appius4S#2
may i ask for what is variabile @status?
03/06/2015 07:31 OwnThat#3
Works it for eden?
03/06/2015 07:54 YellowSwag#4
Quote:
Originally Posted by OwnThat View Post
Works it for eden?
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOL :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm: :facepalm:
03/06/2015 20:56 Sicarium#5
I should edit this thread because it s fixed by service +db but I leave it for read this kind of comments ahahhahahahhaha.