Memory decomposition of skills

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
Iyfgf
Posts: 4
Joined: Sat Aug 29, 2015 2:32 pm

Memory decomposition of skills

#1 Post by Iyfgf » Sat Sep 12, 2015 8:03 am

For those that are interested, attached is a script to read out skills from memory.

For testing try one of the following:

Code: Select all

s = FindSkill(id)
PrintSkill(s)
-or-
s = FindSkill(id)
DumpTableEntry(s)
-or-
PrintMySkills()
Ex:

Code: Select all

Command> s = FindSkill(491142)
Command> PrintSkill(s)
Skill name       : Tactical Attack
Skill type       : Physical
Target type      : Enemy
Attack distance  : 50
Area affected    : 5
Cast time        : 0s
Cooldown         : 5s
Global Cooldown  : 1s

Cost:
        SP_Warrior(15)
Prereq:
        2H_Weapon(0)
Subskills:
        [0, 0]  [501514]
        [1, 0]  [501514] if TargetBuff(100, 'Bleed' [500081])
Command>
regards Iyf

Changes 0.1
Added the DumpSkillXML and PrintMySkills() using the DB XML format.
Attachments
userfunction_tablestruct.lua
v0.1
(55.58 KiB) Downloaded 277 times
userfunction_tablestruct.lua
(52.72 KiB) Downloaded 286 times

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests