Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   Sql Command help (https://postpacific.mmorpg-game.online/showthread.php?t=1000445)

Kamax 11.06.2009 11:29

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. Открыть источник.

Nisker 11.06.2009 13:56

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. Открыть источник.

kold 11.06.2009 15:31

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. Открыть источник.

Fr3DBr 11.06.2009 18:03

Sql Command help
 
select * from user_item order by item_id asc

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

FidoW 11.06.2009 21:01

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. Открыть источник.


All times are GMT. The time now is 17:43.