How to get Skill IDs?
Hi,
I wanted to make a patch for the Travel plugin to include the missing port(s), but there is one problem: I don't know how to get the skill ids? Is there any way to get the ids drom the game? Greets, DaBear78 |
I know you can drag skills to a quickslot and then get the skillID from the data in the quickslot. A quick way to do this is to use the Alerter plugin and drag a skill to the alert quickslot and it will display the data value.
You can also get a table of known skills and purchasable skills via lua. I will post the method later if I get a chance. EDIT: Alas, this table does not have skill IDs, just skill names :( |
Quote:
Quote:
|
It turns out the table returned by GetUntrainedSkills will not help for two reasons. First, the SkillInfo object doesn't include the skill ID. Second, even if it did, the untrained skill table will only include trainable skills and since the travel skills are "earned" rather than "trained" they do no show up.
The next best thing would normally be to look it up in the lorebook but the lorebook doesn't exist anymore. So now we need to create a small plugin that allows us to display an array of quickslots which are assigned sequential skill IDs and have a user defined starting point. Then you can enter the last known skillID and display all possible skills from that number on - basically the same method I use to discover new items after an update. I'll throw together a sample later. |
Here's a simple skill explorer. It would probably be better if it was set up to skip IDs that are not skills but it is a quick and dirty solution. You can either copy and paste the code into the debug window from any of my plugins or you can create a lua file from it and add it to your own plugin.
Code:
import "Turbine.UI"; |
Thx a lot! Just one question left: Debug window? (Where is it for example in Alerter?) *gg*
|
Most of my plugins include a debugging window which can be accessed by using the chat command for the plugin with either "debug" or "debug on" as a parameter. I just noticed that the published version of Alerter does not have he debug window. Try MoorMap, TerrainMap, AltInventory, AltViewer, Cards, Custom Tips or Wallet. In the older ones, the command is simply "/pluginname debug" and there is no way to turn it off without reloading. The newer ones will support "/pluginname debug on" and "/pluginname debug off" so for AltInventory it would be "/altinventory debug on"
|
All times are GMT -5. The time now is 01:35 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI