Version 1.0.0
535 downloads
@aitem this command allows you to check how many of the item in the server
command @aitem2 allows you to check also who have the items
@aitem is fast, but @aitem2 will take some time to finish
the time depend on how big your database is!
Keep in mind that this script work with sql , so if you got an item you will need to wait xtime(default 30 sec) to save in sql so you can see it with the command (or relogin or any act in the server that force you data to be saved , it's all depends on your server setting and your usage)
you should wait until the command is done , do not logout/talk to npc/ anything until you get the results! '@AnalyzeItem' return the count of the item in the server.
'@AnalyzeItem2' return the count of the item and the lst of who have it in the server (take more time).
USAGE:
@AnalyzeItem <ITEM_ID>
@AnalyzeItem2 <ITEM_ID>
OR
@AItem <ITEM_ID>
@AItem2 <ITEM_ID>
Wait until you get the results in your chat
to add more tables (like other storages) check the array .@tables$ and .@id$
F_GET_REAL_OWNER_NAME(<"string table">,<id>) get the name for id