Custom Grade Item

07/10/2016 19:26 firesqual#1
Hi,

I'm here to ask for help after 2 days of search and fixing for the Custom grade Item system released buy Avalion.

I fixed the database saving problem, the +0% problem but there is one last thing who happens and its pretty strange.

If i drop one item with bonus for exemple :

+50 DEX
+50 STR

And then i restart the server, values will change. I looked into database on INVENTORY_TBL and values just swap place. Like that :


Good bonus (The real one dropped on server)
0,199,0,0,,1,0,7200000,0,0,0,-1036260812,0,0,0,0,0,2,185017091,460553,0,0

Wrong bonus (The one who is used when i restart the server)
0,199,0,0,,1,0,7200000,0,0,0,-1036260812,0,0,0,0,0,2,460553,185017091,0,0

And if i restart more than once, if i'm lucky, values just swap back and goes in the good position, and the bonus are correct again.

Do you know what's wrong with this ?

Thanks alot =)

Sorry for my bad english i'm belgium :/
07/10/2016 22:08 Blouflash#2
Check your GetOneItem and SaveOneItem function.
07/10/2016 22:56 firesqual#3
Everything seems good =/


07/12/2016 01:17 firesqual#4
UP !