![]() |
|
|
#5 | |
|
Архивный участник
Join Date: May 2006
Posts: 55
|
Quote:
I belive targeted by sys[antaris] strings must be changed to lin_DeleteItem: DELETE FROM USER_ITEM WHERE item_id=@item_id lin_GetItem: DELETE FROM USER_ITEM WHERE item_id=@item_id lin_AmountChange DELETE FROM user_item WHERE char_id = @char_id AND item_id = @item_id also set in lin_AmountChange IF ( @nResultAmount = 0 AND @bZeorDelete = 1) to IF ( @nResultAmount = 0 AND @bZeorDelete = 0) Dont know with method is better but this mod take off item delete errors too. If it set to UPDATE your user_item table will grow _very_ fast i think. |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|