Hello everyone, i am trying to build a query to add items to storage.
This is what i have achieved so far
exec _ADD_ITEM_EXTERN_CHEST 1417, 3683, 15, 1
1417 -- The Account JID
3683 -- The Item ID
15 -- The Item Quantity
1 -- default
this is the results i am getting after execute
(1 row(s) affected)
(null)
Msg 50000, Level 1, State 16
Msg 8114, Level 16, State 3, Procedure _ADD_ITEM_EXTERN_CHEST_FAST, Line 7
Error converting data type int to tinyint.
The '_ADD_ITEM_EXTERN_CHEST' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.
I have tried to modify the procedure it self to int instead of tinyint, the results was
(1 row(s) affected)
(null)
Msg 50000, Level 1, State 16
But still, i see no item in the storage.
I have also discovered that items are added with serials not ITEM ID, but how can it have a serial if it wasn't exist in the first place!!
What i am trying to do is, adding an item to specific account storage, so the item wasn't anywhere so i believe the query should first, make the item then have the serial, then add the serial to the first query.
This is all i know so far...
Your answers will be appreciated. Thanks in advance.
(1 row(s) affected)
(null)
Msg 50000, Level 1, State 16
Msg 8114, Level 16, State 3, Procedure _ADD_ITEM_EXTERN_CHEST_FAST, Line 0
Fehler beim Konvertieren des int-Datentyps in tinyint.
Storage Empty and Account does exist:
Code:
(1 row(s) affected)
chest Full! JID is 8 , item: 25834
Msg 50000, Level 1, State 16
Msg 8114, Level 16, State 3, Procedure _ADD_ITEM_EXTERN_CHEST_FAST, Line 0
Fehler beim Konvertieren des int-Datentyps in tinyint.
I guess your account name is wrong. Go to account DB, TB_USER and select an existing StrUserID to use the query (Storage not empty!).
My account name was "log5"...
interesting, worked only when i created an account with username log5 xD
Idk what is wrong with other usernames, this is what i am trying to figure out now.
interesting, worked only when i created an account with username log5 xD
Idk what is wrong with other usernames, this is what i am trying to figure out now.
Thanks anyway you all <3, helped a lot.
#Request_Topic_Close. @
Nice you mention Spidy but she isn't any mod. Please use the report button! To request a close...
[Release][Query] Query _InvCOS Items WITH _Char Connection 12/29/2015 - SRO PServer Guides & Releases - 1 Replies Ok, so i needed to write this query for a procedure im working on and not many people know how to connect the pet inventory table to the character table.... so this query will explain how its done...
im not going to explain every single detail, like how there is no charcos when pet is despawned / dead... but yea you can probably figure that all out from this query...
The code...
USE
SELECT pet_invo.
,pet_invo. PetSlot