|
|
Line 7: |
Line 7: |
| | | |
| [http://logan.warpigs.us/wiki/ogre/index.php/Help:BotMissingSpells Problem: The bot is missing a spell] | | [http://logan.warpigs.us/wiki/ogre/index.php/Help:BotMissingSpells Problem: The bot is missing a spell] |
− | * Solution: Spell lists must be updated with all of a classes spells. While most spells are in all of the spell lists, only the AAs that anyone has are added. If you encounter an AA that is missing, you can add it.
| |
− | ** First, download the latest spell list from the SVN (automatic when you update from the SVN). Edit the spell list, it is located in your /Scripts/EQ2OgreBot/Ability_Information/ folder. You want the class.xml file (not the SpellExport file).
| |
− | ** The first set of numbers are the level this spell can be used, and the second set is a unique ID that has been manually assigned, we will call this the SpellID for now. Spells in the same line have the same SpellID. For example, Kick, Kick II, Kick III would all have the same SpellID. You may see these 3 entries.
| |
− | *** <Setting Name="1,27">Kick</Setting>
| |
− | *** <Setting Name="11,27">Kick II</Setting>
| |
− | *** <Setting Name="21,27">Kick III</Setting>
| |
− | ** This means at level 1 you get Kick, then at level 11, Kick is no longer used because you have Kick II. You must make sure no spell lines share the same SpellID. Lets look at why.
| |
− | *** <Setting Name="1,27">Kick</Setting>
| |
− | *** <Setting Name="5,27">Heal</Setting>
| |
− | *** <Setting Name="11,27">Kick II</Setting>
| |
− | ** In the above INCORRECT example, at level 1 you would get kick, then at level 5 kick is no longer available, because the bot thinks it was upgraded to Heal. Then at level 11, Heal is no longer available because the bot thinks it was upgraded to Kick II.
| |
− | ** The exception: AA's. All AA's should used the SpellID of 0. Due to how these are saved, you can't have any spells using the exact same level AND SpellID. So to add AA's, you can do them like the following (This is a copy/paste from defiler.xml).
| |
− | *** <Setting Name="10.1,0">Tribal Spirit</Setting>
| |
− | *** <Setting Name="10.2,0">Nightmares</Setting>
| |
− | *** <Setting Name="10.3,0">Ancestral Channeling</Setting>
| |
− | *** <Setting Name="10.4,0">Dazing Bash</Setting>
| |
− | *** <Setting Name="10.5,0">Coagulate</Setting>
| |
− | ** The level increases by .1 simply to bypass the saving restriction. If you got a new AA called.. Kannkor Rocks IV, to add it, you would simply add this line:
| |
− | *** <Setting Name="10.6,0">Kannkor Rocks IV</Setting>
| |
− | ** Now that the spell list is updated, you need to run the Spell Export. The Spell Export keeps information about all your spells to avoid asking the server for this information 300000 times per second. To update the Spell Export, you need to drop your group/raid, close the bot, and type "Run Ogre Spell" into the console. This takes between 3-10 minutes. You will see it progress through all of your spells, just wait for it to say it is finished. If you are doing this for an Illusionist there will be problems. Come to IRC to discuss (Illusionists have 2 spells called Bewilderment, and they conflict.). Lastly, post your updated files to the SVN for everyone. If you need assistance, come to IRC.
| |