An Edid Box in game has focus. Pleas close it bevor re....

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

An Edid Box in game has focus. Pleas close it bevor re....

#1 Post by schwarzepeter » Wed Mar 09, 2011 5:47 am

An Edid Box in game has focus. Pleas close it bevor restarting the bot. :?: :?: :?: i try to use the bot after some weeks
svn updated bot svn/checkout updated if i try to start bot ore try to make a waypoint i get this error all time anyone can help me pls :?:

MinMax
Posts: 46
Joined: Mon Dec 21, 2009 6:45 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#2 Post by MinMax » Wed Mar 09, 2011 7:25 am

I know this problem. But only on my laptop DELL LATITUDE i have the edith box error.

In my company i copied rom and micromacro on three differnt modells of DELL laptops, and always the same error message.
I checked also a Samsung and a LG laptop. On this it works OK. And on every PC i have no troubles.

New in the rev 577 of rom-functions was a check for an opened edit box. And i dont know why this isn´t loved by the Dell´s.

I deleted this check-function and the result was an uncontrolled opening of the main menu.

On my old DELL-Egg-Farm-laptop i took the old "functions.lua r574" and it works.
( code.google.com/p/rom-bot/source/browse/trunk/rom/functions.lua?r=574 )

The r574 isn´t a real solution for you, but i think you are able to make the bot running.

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#3 Post by botje » Wed Mar 09, 2011 11:40 am

i personally think its related to a addon.

not sure though xd

i have it too, i just commented out the code in functions...

Botje

MinMax
Posts: 46
Joined: Mon Dec 21, 2009 6:45 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#4 Post by MinMax » Wed Mar 09, 2011 1:37 pm

Was also in my mind. But with a formated harddisk, new Windows, new downloaded runes of magic (without addons ) and micromacro ??

At home i have 3 PCs and two laptops (Samsung and Dell ). In my office i have two own PCs and 50 technicians with laptops from Dell or other. For me this failure exists only in combination with Dell software/hardware.

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#5 Post by botje » Wed Mar 09, 2011 2:12 pm

problem is, i dont have dell, and still have the error >.<

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

Re: An Edid Box in game has focus. Pleas close it bevor re..

#6 Post by Administrator » Wed Mar 09, 2011 5:08 pm

Can you provide more information? Specifically, what OS is running on which computer you are trying this on?

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#7 Post by botje » Wed Mar 09, 2011 6:11 pm

tested windows 7 x32 and x64

both multiple cores, 1 duocore, other a I3

Botje

schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#8 Post by schwarzepeter » Thu Mar 10, 2011 1:04 am

Windows xp 32 dual core amd no dell pc bot works bevor last patch of rom if i try start bot or creat path it give the error and ingame it open the main menü no new addons delet macro creat a new one try reversion update and so one i got the bot most time to work but this error is new for me sorry for my bad english :s

jammer
Posts: 1
Joined: Sun Mar 06, 2011 3:23 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#9 Post by jammer » Fri Mar 11, 2011 8:24 am

I'm on the PH server and I get this problem when I use the newer BOT & REV versions eventhough I''ve modified the keyboard settings.

Atm my bot doesn't run very smoothly and I've given up on which BOT and REV version to use :lol:

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#10 Post by rock5 » Fri Mar 11, 2011 9:25 am

To get rid of this error all you should need to do is remove these lines in the RoMScript function in functions.lua.

Code: Select all

	-- Check that an edit box in game doesn't have focus
	if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
		keyboardPress(settings.hotkeys.ESCAPE.key);
	end

	-- Check if edit box still has focus
	if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
		error("An edit box in game has focus. Please close it before restarting the bot.",0)
	end
An idea occurs to me though, maybe all it needs is a pause between the 2 if statements. Could someone try adding a yrest?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#11 Post by botje » Fri Mar 11, 2011 9:28 am

ill try, what exactly do ya want me to put there?

Botje

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#12 Post by rock5 » Fri Mar 11, 2011 9:31 am

Try "yrest(500)". That should do. If it does work, we can always try to find a lower value later.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#13 Post by botje » Fri Mar 11, 2011 9:33 am

k, that works, ill try lowering it to 400 and so on

Botje

lol, and right now bot decides to work with or without it xd

let me see if i can get it to fuck up >.<

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#14 Post by rock5 » Fri Mar 11, 2011 9:44 am

It may be playing up when you put too much stress on the system. Maybe now while you are testing you are doing only the one thing so no stress? I don't see a problem with having a long pause though. I could put it in the first if statement so it only executes when the edit box actually has focus not every time RoMScipt is called.

I'm still a bit confused though. If no edit box had focus then it shouldn't have had that error in the first place.
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#15 Post by botje » Fri Mar 11, 2011 5:01 pm

k, it makes no diffference im afraid :(

tested, still fails >.<

Botje

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#16 Post by rock5 » Sat Mar 12, 2011 12:16 am

botje wrote:k, it makes no diffference im afraid :(

tested, still fails >.<

Botje
You said it was working. What did you do to make it 'fuck up' again?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#17 Post by botje » Sat Mar 12, 2011 1:19 pm

switchedd a few chars, thats all

when i said it was working, was because it just plain worked, with or withuot the yrest >.<

botje

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#18 Post by rock5 » Sat Mar 12, 2011 1:40 pm

If it only stuffs up with certain characters, maybe there is a problem with the profile you use with them or maybe there are corrupt files in the characters folder in your "Documents" folders (ie. "My Documents/Runes of Magic/ CharacterName").

Is it with only certain characters that it stuffs up?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: An Edid Box in game has focus. Pleas close it bevor re..

#19 Post by botje » Sat Mar 12, 2011 4:37 pm

nope, seems random :/

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: An Edid Box in game has focus. Pleas close it bevor re..

#20 Post by rock5 » Sat Mar 12, 2011 10:07 pm

botje wrote:nope, seems random :/
I think the next step is I need to know what exactly is the value of the editbox memory address. Maybe that can give me a clue on how to fix it.

Change the following lines in functions.lua line 524;

Code: Select all

	-- Check if edit box still has focus
	if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
		error("An edit box in game has focus. Please close it before restarting the bot.",0)
	end
to

Code: Select all

	-- Check if edit box still has focus
	if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
		print("editBoxHasFocus_address value =",memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) or "nil")
		error("An edit box in game has focus. Please close it before restarting the bot.",0)
	end
Then the next time you get the error, see what the last value was.

By the way, how many in-game addons do you use? Is it possible to get a list?
  • 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.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

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