weapons Training

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

weapons Training

#1 Post by mattstar81 » Sat Jun 18, 2022 1:45 am

Hello,
I had always used the profile "weptraining" to level up my weapons.
now I get the following error message
2022-06-18 08:39:27 - [string "..."]:12: attempt to perform arithmetic on field 'skillRemainingCooldown_offset' (a nil value)
does anyone have an idea ?
Many Thanks

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

Re: weapons Training

#2 Post by Administrator » Sat Jun 18, 2022 7:59 am

I think that waypoint script hasn't been updated in years, and I do not have a copy.
Can you upload it?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: weapons Training

#3 Post by mattstar81 » Sat Jun 18, 2022 8:08 am


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

Re: weapons Training

#4 Post by Administrator » Sat Jun 18, 2022 6:08 pm

I added WepTraining.xml to versioning (as in it will be included with the bot from now on).

If you update your scripts, that should solve it for you. Please verify that updating your scripts overwrote your version of WepTraining.xml. Open it and on line 12, you should see this:

Code: Select all

getCD = getCooldownForId -- Shortcut to function getCooldownForId() in functions.lua

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: weapons Training

#5 Post by mattstar81 » Sun Jun 19, 2022 5:09 am

Wow thank you very much.

The profile starts now, but hangs up on the fire training.
I entered the fire training in the profile
Have you test it ?

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

Re: weapons Training

#6 Post by Administrator » Sun Jun 19, 2022 6:52 am

Kind of. I only tested it with normal enemies near the start of the game (I do not actually play the game and haven't since 2008).

I do not know what the script is supposed to even do, outside of what I was able to figure out from looking over the code. It was attacking the enemies for the IDs I entered, and occasionally reported stats on durability and how many hammers were left, so I figured it was doing its job.

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: weapons Training

#7 Post by mattstar81 » Sun Jun 19, 2022 2:08 pm

It was attacking the enemies for the IDs I entered

good tip thank you very much^^

Post Reply

Who is online

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