Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02.11.2006, 05:28   #11
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
Originally Posted by astrid View Post
make simple query to user_item table.

something like:
Code:
SELECT user_item.item_id as uid FROM user_item INNER JOIN user_data ON user_item.char_id = user_data.char_id WHERE (user_item.item_type = "+itemid+") AND (user_data.char_id = "+charid+") and user_item.warehouse="+warehouse
i suggest you to make stored procedure in db if you use it often.

//rus
с моим английским хрен что поймешь наверно короче просто нужно сделать запрос что я привел выше (синтаксис не пхпшный но я думаю понятна суть). если используешь часто заведи сторед процедуру в БД.
additem2 использует просто итемид (тип предмета) 57 для адена например.
Will be in next build. Thanks!
hel is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:47.