Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.06.2009, 11:29   #1
Kamax
Guest
 
Posts: n/a
Default Sql Command help

Hi all


i need help:


i need one query to list all Itens ID :


Example i need to know all latests itens from server


Initial item to latest...


anyone please can help me?


Tks

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-11-2009, 11:29 AM. Открыть источник.
 
Old 11.06.2009, 13:56   #2
Nisker
Guest
 
Posts: n/a
Default Sql Command help

I think is something like


SELECT [item_id]

,[char_id]

,[item_type]

,[amount]

,[enchant]

,[eroded]

,[bless]

,[ident]

,[wished]

,[warehouse]

,[effects]

,[skill]

,[skill_level]

,[bless_new]

FROM [lin2world].[dbo].[user_item]

ORDER by item_id


Not sure if items ids are created sequentially but I think so.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-11-2009, 01:56 PM. Открыть источник.
 
Old 11.06.2009, 15:31   #3
kold
Guest
 
Posts: n/a
Default Sql Command help

You're gonna get a few hundred thousand results...not sure what the purpose of this would be.

If you want to track items, Fidow's addon to item saving stored procedures is the way to go. Uh...[insert link] or if Fidow reads this, he'll probably share.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-11-2009, 03:31 PM. Открыть источник.
 
Old 11.06.2009, 18:03   #4
Fr3DBr
Guest
 
Posts: n/a
Default Sql Command help

select * from user_item order by item_id asc

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-11-2009, 06:03 PM. Открыть источник.
 
Old 11.06.2009, 21:01   #5
FidoW
Guest
 
Posts: n/a
Default Sql Command help

You're gonna get a few hundred thousand results...not sure what the purpose of this would be.

If you want to track items, Fidow's addon to item saving stored procedures is the way to go. Uh...[insert link] or if Fidow reads this, he'll probably share.

I was going to share it a few days ago but im too lazy to recreate the thread again and the mods i did to the database, dammit, and google cached already lost that.

That system is the most useful thing i did in the last 3 years for sure, im using it constanly and it save me TONS of time, i even code a small script that search items from one player between 2 dates, show all the owner changes and move the items to the original owner.

If i get advice of a theft soon and the items was not moved a lot i can reverse the trades within seconds.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-11-2009, 09:01 PM. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 18:16.