Esc problem bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Igor02
Posts: 7
Joined: Sat Mar 24, 2012 5:05 pm

Esc problem bot

#1 Post by Igor02 » Tue Sep 25, 2012 10:15 pm

hi

I have a problem with a bot. when the bot starts it connects with rom, but rom always press the "ESC"-button instead off starting the bot. On another pc the bot works.
there is no error report.
and the bot stucks when it tells it's would be ok
keyboard setting are compared with the other pc and are identically ( default Settings)

Sory for me Bad englisch

German
Sobald ich bot starte, verbindet sich mit rom normal, aber komische weisse in rom druckt der ganzen zeit ESC taste.
Der bot fenster bleibt bei MACRO test : ok
Tatstatur ist auf default.
Hab auch mit englische client probiert.

Auf andere pc bei kolegen geht alles normal, hm
Weist jemand rat ,
danke

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

Re: Esc problem bot

#2 Post by rock5 » Wed Sep 26, 2012 1:27 am

I have a solution for that. It will be included in next revision.

For now, do this,

Line 684 of functions.lua is

Code: Select all

							RoMScript("GetKeyboardFocus():ClearFocus()")
Change it to

Code: Select all

							RoMScript("} a = GetKeyboardFocus(); if a then a:ClearFocus() end a={")
and line 57 of player.lua is

Code: Select all

			RoMScript("GetKeyboardFocus():ClearFocus()")
Change it to

Code: Select all

			RoMScript("} a = GetKeyboardFocus(); if a then a:ClearFocus() end a={")
  • 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

Igor02
Posts: 7
Joined: Sat Mar 24, 2012 5:05 pm

Re: Esc problem bot

#3 Post by Igor02 » Wed Sep 26, 2012 5:29 am

i changed the two lua datas now i have the following error

...micromacro/rom/rom/classes/player.lua:1: Unexpected symbol near '´'

what should i do now. please help again

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

Re: Esc problem bot

#4 Post by rock5 » Wed Sep 26, 2012 7:17 am

The first line of player.lua should look like this

Code: Select all

include("pawn.lua");
You might have done something by mistake or maybe there is an issue with the editor you are using. You should use a proper code editor such as Notepad++.
  • 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

Igor02
Posts: 7
Joined: Sat Mar 24, 2012 5:05 pm

Re: Esc problem bot

#5 Post by Igor02 » Wed Sep 26, 2012 10:03 am

it's the same at my lua data but the bot doesn't connect with runes of magic

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

Re: Esc problem bot

#6 Post by rock5 » Wed Sep 26, 2012 11:51 am

I thought the question was implied, what editor did you use to edit the file?
  • 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

Igor02
Posts: 7
Joined: Sat Mar 24, 2012 5:05 pm

Re: Esc problem bot

#7 Post by Igor02 » Wed Sep 26, 2012 11:59 am

the windows editor

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

Re: Esc problem bot

#8 Post by rock5 » Wed Sep 26, 2012 12:20 pm

Try these. If they work, get yourself Notepad++ for editing code. It's free and user friendly. It's basically just a text editor but shows syntax highlighting and saves the files better.
Attachments
functions.lua
(62.86 KiB) Downloaded 194 times
player.lua
(128.61 KiB) Downloaded 182 times
  • 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

Igor02
Posts: 7
Joined: Sat Mar 24, 2012 5:05 pm

Re: Esc problem bot

#9 Post by Igor02 » Wed Sep 26, 2012 12:39 pm

thx you it works perfect.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests