Issue Skill CHAMPION_FORGE

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
ThulsaDoom
Posts: 128
Joined: Mon Oct 19, 2015 2:46 pm

Issue Skill CHAMPION_FORGE

#1 Post by ThulsaDoom » Sat Jul 27, 2024 11:09 am

Hello;
CHAMPION_FORGE skill is not triggered for Champion Rogue, I have checked skills.xml and find this:

Code: Select all

<skill name="CHAMPION_FORGE" 						id="498523" range="0"	type="buff"			casttime="0"	cooldown="0"	target="self"		buffname="621167,621251" />
I've checked the ID and it seems to have changed, as well as the buff. I've updated Skills.xml:

Code: Select all

<skill name="CHAMPION_FORGE" 				id="850051" range="0"	type="buff"		casttime="0"	cooldown="0"	target="self"	buffname="622184" />
But it still doesn't work.
Also, is it possible to remove "Exit early" information from Rom Bot log window?

Thanks for your support

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Issue Skill CHAMPION_FORGE

#2 Post by Administrator » Sun Jul 28, 2024 7:45 am

Sorry that's not working for you. Lets see what we can do.

First, if you change your classes to just Champion (drop the Rogue for now), does the skill work? Either with the original ID and buffnames, or with your changes. Please let me know the results of this test.

Next, try turning
DEBUG_SKILLUSE
on in your profile. Either add or change the option in your profile XML file like this:

Code: Select all

<option name="DEBUG_SKILLUSE" value="true" />
Remove (temporarily) all other skills, so that
CHAMPION_FORGE
is the only skill listed for Champion class.
Now when you run the bot, it should print out a bunch of debug messages about the skill use. These include the reasons for not using the skill, and may change slightly depending on different scenarios (not enough mana, out of range, lacking target buff, etc.). What's that say?

Also, is it possible to remove "Exit early" information from Rom Bot log window?
I checked the current version and cannot find that string anywhere. I think a few months back, I had accidentally committed that line (meant to be a debug statement) but removed it pretty quickly afterwards. Are you using an old version of the scripts? If you're playing on the Gameforge servers, I would advise you to just update the scripts (use the
rombot_updater
in the rom-bot directory).

User avatar
ThulsaDoom
Posts: 128
Joined: Mon Oct 19, 2015 2:46 pm

Re: Issue Skill CHAMPION_FORGE

#3 Post by ThulsaDoom » Sun Jul 28, 2024 12:15 pm

Thanks for the quick reply.
"Exit early" disappear when I updated the files.

Regarding testing: When I have the Champion alone without any secondary classes, Forge runs well. When it's Champion Rogue, it doesn't work.

The "CHAMPION_FORGE" skill ID is not the same.
Champion Alone: ​​id="498523" buffname="621167,621251"
Champion Rogue: id="850051" buffname="622184"

I changed the IDs in the skill.xml, but it still doesn't work

DEBUG_SKILLUSE Test
With the skill alone, "CHAMPION_FORGE" does not execute, nor does any message appear.

Thanks

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Issue Skill CHAMPION_FORGE

#4 Post by Administrator » Sun Jul 28, 2024 2:38 pm

I wonder if it may not even be detecting the skill at all. Try turning on the debug option for skill discovery:

Code: Select all

<option name="DEBUG_SKILLDISCOVER" value="true" />
Now when you start the bot, it should scan the game's memory looking to extract the skill information. It will print out a green message for each skill it finds. Does the skill (Forge) get listed?

User avatar
ThulsaDoom
Posts: 128
Joined: Mon Oct 19, 2015 2:46 pm

Re: Issue Skill CHAMPION_FORGE

#5 Post by ThulsaDoom » Sun Jul 28, 2024 2:57 pm

For Champion Rogue:

Code: Select all

Found skill 0x33F47B00 ID(498522) Tab(2-1) "Electrocution"
Found skill 0x33F47B4C ID(498521) Tab(2-2) "Heavy Bash"
Found skill 0x33F47B98 ID(498527) Tab(2-3) "Hammer Weapon Proficiency"
Found skill 0x33F47BE4 ID(498526) Tab(2-4) "Energy Influx Strike"
Found skill 0x33F47C30 ID(498530) Tab(2-5) "Runecraft - Diversion"
Found skill 0x33F47C7C ID(498532) Tab(2-6) "Runecraft - Solidify"
Found skill 0x33F47CC8 ID(498534) Tab(2-7) "Shock Strike"
Found skill 0x33F47800 ID(498733) Tab(3-1) "Shadowstab"
Found skill 0x33F4784C ID(490309) Tab(3-2) "Throw"
Found skill 0x33F47898 ID(490317) Tab(3-3) "Blind Stab"
Found skill 0x33F478E4 ID(490310) Tab(3-4) "Projectile Training"
Found skill 0x33F47930 ID(490146) Tab(3-5) "Off Hand Training"
Found skill 0x33F4797C ID(490326) Tab(3-6) "Agility"
Found skill 0x33F479C8 ID(490332) Tab(3-7) "Nimble Hands"
Found skill 0x33F47A14 ID(490344) Tab(3-8) "Shadow Step"
Found skill 0xE01704C ID(498564) Tab(4-2) "Rune Draw"
Found skill 0xE017098 ID(498525) Tab(4-3) "Finishing Hammer"
Found skill 0xE0170E4 ID(498529) Tab(4-4) "Rune Pulse"
Found skill 0xE017130 ID(498747) Tab(4-5) "Fearless Blows"
Found skill 0xE01717C ID(498725) Tab(4-6) "Vicious Attack"
Found skill 0xE0171C8 ID(498562) Tab(4-7) "Shield Form"
Found skill 0xE017214 ID(498533) Tab(4-8) "Rune Energy Influx"
Found skill 0xE017260 ID(498563) Tab(4-9) "Runecraft - Fortify"
Found skill 0xE0172AC ID(498726) Tab(4-10) "Shadow Pulse"
Found skill 0xE0172F8 ID(498535) Tab(4-11) "Chain Drive"
Found skill 0xE017344 ID(498536) Tab(4-12) "Rune Growth"
Found skill 0xE017390 ID(498727) Tab(4-13) "Shadow Drive"
Found skill 0xE0173DC ID(498538) Tab(4-14) "Agitated Whirlpool"
Found skill 0xE017428 ID(498537) Tab(4-15) "Vacuum Wave"
Found skill 0xE017474 ID(498539) Tab(4-16) "Last Line of Defense"
Found skill 0xE0174C0 ID(498728) Tab(4-17) "Waiting Game"
Found skill 0xE01750C ID(498566) Tab(4-18) "Imprisonment Pulse"
Found skill 0xE017558 ID(498481) Tab(4-19) "Kinetic Burn"
Found skill 0xE0175A4 ID(498731) Tab(4-20) "Sentence Execution"
Found skill 0xE0175F0 ID(498568) Tab(4-21) "Feedback Defense"
Found skill 0xE01763C ID(498570) Tab(4-22) "Overrule"
Found skill 0xE017688 ID(498571) Tab(4-23) "Remodeled Body"
Found skill 0xE0176D4 ID(498572) Tab(4-24) "Rune Overload"
Found skill 0xE017720 ID(498737) Tab(4-25) "Runecraft - Haste"
Found skill 0xE01776C ID(498738) Tab(4-26) "Disaster Appears"
Found skill 0xE0177B8 ID(498730) Tab(4-27) "Death Arrives"
Found skill 0xE017804 ID(499846) Tab(4-28) "Smoke Diffusion"
Found skill 0xE017850 ID(499844) Tab(4-29) "Shadow Explosion"
"Forge" doesn't appear

For Champion alone:

Code: Select all

Found skill 0x33F47B00 ID(498522) Tab(2-1) "Electrocution"
Found skill 0x33F47B4C ID(498521) Tab(2-2) "Heavy Bash"
Found skill 0x33F47B98 ID(498527) Tab(2-3) "Hammer Weapon Proficiency"
Found skill 0x33F47BE4 ID(498526) Tab(2-4) "Energy Influx Strike"
Found skill 0x33F47C30 ID(498530) Tab(2-5) "Runecraft - Diversion"
Found skill 0x33F47C7C ID(498532) Tab(2-6) "Runecraft - Solidify"
Found skill 0x33F47CC8 ID(498534) Tab(2-7) "Shock Strike"
Found skill 0xE017000 ID(498604) Tab(4-1) "Forge"
Found skill 0xE01704C ID(498564) Tab(4-2) "Rune Draw"
Found skill 0xE017098 ID(498525) Tab(4-3) "Finishing Hammer"
Found skill 0xE0170E4 ID(498529) Tab(4-4) "Rune Pulse"
Found skill 0xE017130 ID(498531) Tab(4-5) "Fearless Blow"
Found skill 0xE01717C ID(498562) Tab(4-6) "Shield Form"
Found skill 0xE0171C8 ID(498533) Tab(4-7) "Rune Energy Influx"
Found skill 0xE017214 ID(498563) Tab(4-8) "Runecraft - Fortify"
Found skill 0xE017260 ID(498535) Tab(4-9) "Chain Drive"
Found skill 0xE0172AC ID(498536) Tab(4-10) "Rune Growth"
Found skill 0xE0172F8 ID(498538) Tab(4-11) "Agitated Whirlpool"
Found skill 0xE017344 ID(498537) Tab(4-12) "Vacuum Wave"
Found skill 0xE017390 ID(498539) Tab(4-13) "Last Line of Defense"
Found skill 0xE0173DC ID(498566) Tab(4-14) "Imprisonment Pulse"
Found skill 0xE017428 ID(498481) Tab(4-15) "Kinetic Burn"
Found skill 0xE017474 ID(498568) Tab(4-16) "Feedback Defense"
Found skill 0xE0174C0 ID(498570) Tab(4-17) "Overrule"
Found skill 0xE01750C ID(498571) Tab(4-18) "Remodeled Body"
Found skill 0xE017558 ID(498572) Tab(4-19) "Rune Overload"
Found skill 0xE017000 ID(498604) Tab(4-1) "Forge"

For the other Champion combinations, it does appear.

Thanks

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: Issue Skill CHAMPION_FORGE

#6 Post by Administrator » Sun Jul 28, 2024 3:34 pm

That could be pretty tricky to debug from here on. There's a ton of things that could cause that and there's no simple instructions I can really give you to just solve it.

Would you possibly trust me to borrow your account for a bit? I don't have a Champion/Rogue to test with, but I'm sure I could probably solve it within about an hour if I had a character to try it with.

If not, I understand. If you're up to the task, you might be able to do some debugging yourself. I think the problem could be with
function GetIdName()
in
classes\memorytable.lua
. Despite its name, this function is used by the method that scans memory for usable skills.
It could also be any number of things in
local function GetSkillInfo
(line 2275 of
functions.lua
).

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests