Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
LoginNextChar
Changing to character 1 account 62.
Player address changed: 0x43F25F00
Its seems that it gets stuck before player update.
Ok then. The last message about the character address changing comes from a player:update(). LoginNextChar uses ChangeChar and at the end of ChangeChar there is a player:update() and this line
So it's getting stuck in the player:update() or when running that RoMScript.
Here is a version of player.lua that prints some numbers to help narrow down the location of the bug. Please try it and show me the printout when it gets stuck.
-- Obsolete file removed --
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
LoginNextChar
Changing to character 1 account 62.
Player address changed: 0x422B6400
1
2
The RoMCode basically just uses the RoMScript function. The RoMScript function is huge so I'll have to add a few prints to narrow it down further.
First revert the changes you've already done in player.lua and then use this version of functions.lua that has print messages in the RoMScript function. Again, when it gets stuck copy the output here. If there is a print message in the loop that it gets stuck at then it will repeatedly print. Just stop it then copy the output here.
-- Obsolete file removed --
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
There are no print messages after the address change. That means it never reached the RoMCode after it. Maybe it is the settings.loadSkillSet. I can't really see where it would get stuck in that function. This is getting frustrating. Seeing as settings.loadSkillSet has to do with the profile, have you tried using the default profile?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
LoginNextChar
Changing to character 1 account 62.
Player address changed: 0x29A73700
1 6
2
3
4 setupmacro
5
Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
Use MACRO: KNIGHT_ENHANCED_ARMO=> <UNKNOWN> (0/1000)
Use MACRO: KNIGHT_HOLY_POWER_EX=> Dpstwo (897/897)
LoginNextChar
Changing to character 1 account 63.
Player address changed: 0x49939100
1 2 3 4
2
3
3.1 2 684 76
3.2
And also it gets stuck. When i will open second tab of my skills, its starting work
I did some changes to GetIdName recently and I might have introduced a bug. The reason it works when you open the skills is because there is a step in GetIdName where it executes a command to force information about an id to appear in memory. Obviously this is not working. When you open the skills it also makes the id info appear in memory.
Revert the last file and try this one. This one will print a LOT of print outs.
Wow, look at the time. It's bed time for me. I'll check back tomorrow.
-- Obsolete file removed --
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
SlashCommand("/script GetCraftRequestItem(".. IdToFind ..",-1)")
-- Wait until data address appears
repeat
yrest(5)
address = memoryReadUInt( proc, AddresslineTree[addressline][4] + 0x8)
until address ~= 0
It's obviously getting stuck in the loop waiting for the address to appear in memory after the SlashCommand but for some reason it didn't work. I'm not sure yet what to make of this. I'll sleep on it and get back to you tomorrow.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Firstly one of the changes I made to memorytable.lua recently was to use SlashCommand instead of RoMScript in that bit of code I posted because SlashCommand is faster. Besides being faster it is missing the checks that RoMScript has to see if the Command and Result macro have moved as happens when you change character. So the first fix I did was to copy those checks from RoMScript to SlashCommand.
Next I added a timer to the waiting loop to have it try again if it fails. If the previous fix fixes it I probably wont include this fix when I commit.
This time there are 2 files, functions.lua which has the extra checks added to SlashCommand, and memorytable.lua which has the timer added to the wait. Each fix has 1 print message that should trigger if 1 of those fixes is used so I'd like to know which one gets printed. If the bot doesn't get stuck stop it just after it finished changing character and copy the output here.
Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
LoginNextChar
Changing to character 1 account 62.
Player address changed: 0x38166900
Trying again in GetItemAddress
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
Maximum range of range attack skills is less than COMBAT_DISTANCE 200. Reducing
COMBAT_DISTANCE setting to 50.
player update
loadProfile
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
Maximum range of range attack skills is less than COMBAT_DISTANCE 200. Reducing
COMBAT_DISTANCE setting to 50.
We read the hotkey settings from your bindings.txt file C:\Users\XXX\Moje doku
menty\Runes of Magic\bindings.txt instead of using the settings.xml file.
Loading profile Dpstwo.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
Maximum range of range attack skills is less than COMBAT_DISTANCE 200. Reducing
COMBAT_DISTANCE setting to 50.
loadPaths
Loaded waypoint path heffner.xml
No return path with default naming heffner_return.xml found.
We use the normal waypoint path heffner.xml now.
Moving to waypoint #1, (-7134, -3952)
Use MACRO: KNIGHT_ENHANCED_ARMO=> <UNKNOWN> (0/1000)
Use MACRO: KNIGHT_HOLY_POWER_EXPaused. (Delete) to continue, (CTRL+L) exit to sh
ell, (CTRL+C) quit
Ok, thanks. I was hoping it wouldn't be that one but anyway...
Thanks for your patience while we worked this out. Hopefully it will help avoid future users having the same issue. The files you have now should do you until I commit. When I do you'll probably have to do a revert after you update to clear any conflicts.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.