Issue information

Issue ID
#5449
Status
Fixed
Severity
Low
Started
Hercules Elf Bot
Mar 15, 2012 5:00
Last Post
Hercules Elf Bot
Jun 21, 2012 12:22
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Mar 15, 2012 5:00

Originally posted by [b]sizenine[/b]
[quote]
*getiteminfo(<item ID>,<type>)

This function will look up the item with the specified ID number in the database
and return the info set by TYPE argument.
It will return -1 if there is no such item.

Valid types are:
0 - Buy Price; 1 - Sell Price; 2 - Item Type;
3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc..
if = 0, then monsters don't drop it at all (rare or a quest item)
if = 10000, then this item is sold in NPC shops only
4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;
10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id

Check sample in doc/sample/getiteminfo.txt[/quote]

numbers shown are outdated. it does not match up with the values shown in doc/sample/getiteminfo.txt

view id = 12

Hercules Elf Bot - Mar 15, 2012 14:33

Originally posted by [b]Aleos[/b]
Related to [url=http://rathena.org/board/tracker/issue-5378-getiteminfo-offset/]bugreport:5378[/url].

Hercules Elf Bot - Jun 9, 2012 7:41

Originally posted by [b]Xantara[/b]
[b]Updated [/b]in [rev=16242]