When I start RomBot, he stuck after Macrotest.
He open/close the Gamemenu again and again.
![Sad :(](./images/smilies/icon_e_sad.gif)
The Version of RomBot is 3.29 Rev.726
please help me
(sry for my bad english)
Code: Select all
rom/bot path:commandline
Code: Select all
if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then print("has 0") else print("not 0") end
Code: Select all
@echo off
FOR /F "tokens=1 delims=" %%A in ('cd') do SET folder=%%A
START ../../micromacro.exe "%folder%/functions.lua"
Code: Select all
0xA315DC
0
Code: Select all
0xA315DC
0
That's why I removed it.lisa wrote:I don't see the second arg used anywhere in the function though.
Code: Select all
-- Reset editbox false flag on start up
if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
RoMScript("GetKeyboardFocus():ClearFocus()")
end
That's great. Now to figure out why it's causing a problem.blackpanzer wrote:Rock5 you're the best!
the change in the player.lua helped
I'd like also to thank Lisa for the quick help.
Code: Select all
print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
Code: Select all
RoMScript("GetKeyboardFocus():ClearFocus()")
Code: Select all
print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
Users browsing this forum: Semrush [Bot] and 1 guest