First of all, this script is intended to be a learning tool for those that are learning to script and/or those that wish to create some sort of tool that deals with item information gathering (ie, someone that was making a massive database of items and their stats.) So, the script is not overly beautiful and most will want to format it differently.
This is how you would use the script:
And, there you have it. So, let's say you have a massive database of ID#s of items. Then all you'd need to do is run this script so that the collector is active ...then, run another script that simply does something like:
Or, if you have some other method of making the examine window pop up for items ...then go nuts (It doesn't matter what method you use to cause the examine window to appear -- the event fires when the window opens no matter how it's done.) My only suggestion would be to put in a slight pause between each one (.5 - 1 second or so) just to give the client a chance to catch up in case something funky happens.
PvP Server Stats
If you want to get the pvp server stats on a particular item, then what you have to do is actually click the checkbox before accessing the stats. To do that, you would use this line:
Then, if you need to check the status of whether the checkbox is 'checked' or not, then you can simply use the "IsChecked" member of the eq2uielement datatype like so:
So, you might want to have a script that would go through all the stats like this one does, then 'click on' the checkbox, and then do it all again with the pvp stats. Make sense?
This is how you would use the script:
- Place EQ2ItemInfoCollector.iss in your /scripts directory
- In the console, type "run EQ2ItemInfoCollector"
And, there you have it. So, let's say you have a massive database of ID#s of items. Then all you'd need to do is run this script so that the collector is active ...then, run another script that simply does something like:
Code:
eq2execute /examine_item #
wait 10
eq2execute /default_esc_key_function
eq2execute /default_esc_key_function
wait 5
;...loop....
PvP Server Stats
If you want to get the pvp server stats on a particular item, then what you have to do is actually click the checkbox before accessing the stats. To do that, you would use this line:
Code:
ExamineItemWindow[${WindowID}].GetPVPCheckBox:LeftClick
Code:
if (${ExamineItemWindow[${WindowID}].GetPVPCheckBox.IsChecked})
Attachments
-
20.8 KB Views: 294