Bot strange error?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
yoyodoggg
Posts: 34
Joined: Mon Aug 22, 2011 8:54 pm

Re: Bot strange error?

#41 Post by yoyodoggg » Mon Aug 29, 2011 7:25 pm

quick bump to say svn updated MM and all seems to be well now
no more esc bug when exiting from league of legends, no more esc bug when loading 3 bots
3 /cheers, thx for the help.

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#42 Post by Murky » Sat Sep 03, 2011 7:40 pm

yoyodoggg wrote:quick bump to say svn updated MM and all seems to be well now
no more esc bug when exiting from league of legends, no more esc bug when loading 3 bots
3 /cheers, thx for the help.
svn updated mm?

i am still getting the ESC error :(

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

Re: Bot strange error?

#43 Post by rock5 » Sat Sep 03, 2011 10:07 pm

I'm pretty sure the version provided here is the latest version.
http://www.solarstrike.net/index.php/pr ... micromacro

If you want to setup svn on the micromacro folder there is also svn instructions.
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#44 Post by Murky » Sun Sep 04, 2011 1:29 am

rock5 wrote:I'm pretty sure the version provided here is the latest version.
http://www.solarstrike.net/index.php/pr ... micromacro

If you want to setup svn on the micromacro folder there is also svn instructions.
got the latest everything. still not working.

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#45 Post by Murky » Sun Sep 04, 2011 1:20 pm

Murky wrote:
rock5 wrote:I'm pretty sure the version provided here is the latest version.
http://www.solarstrike.net/index.php/pr ... micromacro

If you want to setup svn on the micromacro folder there is also svn instructions.
got the latest everything. still not working.
even used my friends rom folder and he does not get the ESC error.

i run more than 1 client?
could it be something with the hotkeys?

really frustrated with this bug.

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

Re: Bot strange error?

#46 Post by rock5 » Mon Sep 05, 2011 10:01 am

I think that leaves either your game installation or your pc.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot strange error?

#47 Post by lisa » Mon Sep 05, 2011 11:41 am

If it works fine on a different PC then there can be numerous things.

If on a win 7 machine you could have done a compatability on some files(I did this by mistake at some stage) this will cause all sorts of conflicts.

You could also have addons that arn't on the other pc.

You could have corrupt game files.

corrupt bot files

The game user settings are saved on pc aswell, could be an issue there.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

akku
Posts: 5
Joined: Tue Sep 13, 2011 4:38 pm

Re: Bot strange error?

#48 Post by akku » Tue Sep 13, 2011 4:48 pm

esc spaming bug in makro funktion ?
place 3 if "rue" mean TRUE ??
place 3 seting "alse" mean FALSE ???

funktion writing begining with leter 2 not 1 ?

sorry me bad english i a german ;)
Attachments
bug.JPG

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

Re: Bot strange error?

#49 Post by rock5 » Wed Sep 14, 2011 2:27 am

That is all ok.

What happened is, you created a blank macro in 1 but that is no longer necessary. The bot ignores it and makes it's own "RB Command" macro in 2 and data macro in 3. It doesn't matter where they are.

The true and false was returned from the previous command. During the current command the bot first writes chr(6) into the macro which overwrites the first letter but is not a visible character. Then when the result of the command macro is written to macro 3, it overwrites it.

What this means is the macro is never sucessfully completing otherwise there would be a valid result in macro 3.

I still don't know why it isn't working though. You aren't moving the macro keys in the action bar are you? Or maybe changing class or character?
  • 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

akku
Posts: 5
Joined: Tue Sep 13, 2011 4:38 pm

Re: Bot strange error?

#50 Post by akku » Wed Sep 14, 2011 2:14 pm

rock5 wrote:That is all ok.

I still don't know why it isn't working though. You aren't moving the macro keys in the action bar are you? Or maybe changing class or character?
no
empty 1 is in key 0 (key="VK_0")
makro make in 6 the generatet makro_2

no sript/makro/addon changing class, only by housemaid changing

more esc bug by low power pc
1 to 30 minutes ever esc(system_window), esc esc esc esc esc esc
every second blinking up the sytem window

more often if more opponents(mob) at the same time ?

and maybe even with inaccurate position of the opponent(mob) in game ?

start wih the bat

@echo off
FOR /F "tokens=1 delims=" %%A in ('cd') do SET folder=%%A
START ../../micromacro.exe "%folder%/bot.lua" profile:Default

i edit the profile= Auto selling options ,Shopping options,
Combat options"COMBAT_DISTANCE"+"MAX_TARGET_DIST" LOOT_DISTANCE
+ friends


micromacro 1.1 beta2 new folder and new svn 644
same esc esc with svn update in old folder
(help me with google translate) ;)

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

Re: Bot strange error?

#51 Post by rock5 » Wed Sep 14, 2011 11:20 pm

Maybe it is a performance problem. What type of computer do you use?
  • 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

akku
Posts: 5
Joined: Tue Sep 13, 2011 4:38 pm

Re: Bot strange error?

#52 Post by akku » Thu Sep 15, 2011 6:35 am

newer
quadcore amd II x4 640, 3,2gb(4gb hardware ->xp) old hdd 80gb ide *g(new xp system) und old vga 8800gt midle 25 fps if no bot (60fps if ctrl Z(no interface) , if bot fps ~15 , if system lag then never more then 2 second
maximal 1 bot (2 bot manny performance problem 5 to 10sec lags, max 40% cpu need! )
same esc_bug 10 to 120 minutes if disappears interface !


and older is in pension for reserve ;))
amd 3500+ 2gb singlecore, xp, old hdd 80gb ide, old vga 8800gt= midle 12fps 100%cpu
maximal 1 bot
2010 on this system 2 bot if no problem always 100% cpu last
2011 on this system never bot many performance problem many lag with bot

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

Re: Bot strange error?

#53 Post by rock5 » Thu Sep 15, 2011 7:23 am

My nephew has a pc just a big worse than your old pc and it can just run the game. But with the bot it stutters too much so he can't use the bot although I found if I increased the cpu priority, it helped a bit.

My pc is just a bit worse than your's I think, although I've got more ram and run Windows 7 64bit. I have Intel Quad 2.4, 6g ram and a gforce 8600 gt. My fps is about 30 but depends on the resolution I'm playing and whats on the screen. Typically the client will use between 15-30% cpu and 800k-1.3m ram, although if I run multiple clients it can use less. Since I upgraded my ram I can run about 5 clients with no problems although I haven't done that for awhile.

I'd guess from your description, that you should be able to run 3-4 clients easily. Maybe it doesn't run as well on xp? Can someone that uses xp comment? Maybe you have bad video drivers? Maybe you have some other process using large amount of the cpu and/or ram?

And, as to you being able to run the bot on your old system a year ago, the bot has grown and changed since then. We always try to not increase the resources it uses to run as we develope it, but it still grows over time. If it used to use 100% cpu a year ago I'm not surprised it doesn't work anymore now.

Hope that help (but it probably doesn't).
  • 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

akku
Posts: 5
Joined: Tue Sep 13, 2011 4:38 pm

Re: Bot strange error?

#54 Post by akku » Thu Sep 15, 2011 10:58 am

rock5 wrote: I'd guess from your description, that you should be able to run 3-4 clients easily. Maybe it doesn't run as well on xp? Can someone that uses xp comment? Maybe you have bad video drivers? Maybe you have some other process using large amount of the cpu and/or ram?
if no game used only 384mb ram (with antivir !) , 0%, 1%, 0%,0%, 0%, cpu load, with antivir !
newest vga driver 280.26

xp more economical with cpu und ram and "Game Booster 3" help a litle
rock5 wrote: And, as to you being able to run the bot on your old system a year ago, the bot has grown and changed since then. We always try to not increase the resources it uses to run as we develope it, but it still grows over time. If it used to use 100% cpu a year ago I'm not surprised it doesn't work anymore now.
old system 2010 always 100% cpu if 1 game and no bot or 1 or 2 bot *gg
2 fps(max) by 2 bot and newer esc bug was 2010 ;)
rock5 wrote:Hope that help (but it probably doesn't).
no sorry :lol:

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot strange error?

#55 Post by lisa » Thu Sep 15, 2011 7:36 pm

In my older machines I generally strip them down to bare minimum software usage, antivirus isn't essential if you are just botting.

I have a really old machine to test this out, about 6 years old.

win xp service pack 2
1gig ram
geforce 8500gt

Loaded a client, logged char
loaded up other software until FPS in client was under 10.
Ran CoT with teleport through an entre account, 8 chars. Was very slow but never got the escape key issue you have.


If you run on the latest client version then.
I would say do svn update and svn revert on the rom folder, don't just look for yellow or red files, just do the revert anyway.
Make sure to copy the latest files from dev tools to client/interface folder.


If running older client server then the editBoxHasFocus_address needs checking as it is probably wrong.


This is the part of the code that would cause the issue, in functions.lua

Code: Select all

			while( memoryReadByte(getProc(), macro_address + addresses.macroSize *(resultMacro - 1) + addresses.macroBody_offset) == 6 ) do
				if( deltaTime(getTime(), startWaitTime) > 800 ) then
					if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
						keyboardPress(settings.hotkeys.ESCAPE.key); yrest(500)
						if RoMScript("GameMenuFrame:IsVisible()") then
							-- Clear the game menu and reset editbox focus
							keyboardPress(settings.hotkeys.ESCAPE.key); yrest(300)
							RoMScript("GetKeyboardFocus():ClearFocus()")
						end
					end


					tryagain = true
					break
				end;
				rest(1);
			end
		until tryagain == false
So your

Code: Select all

if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
is always = 0, which tell me the address is probably wrong.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

akku
Posts: 5
Joined: Tue Sep 13, 2011 4:38 pm

Re: Bot strange error?

#56 Post by akku » Fri Sep 16, 2011 6:02 am

right
test with

editBoxHasFocus_address) == 0 then
to
editBoxHasFocus_address) == 1 then

effect NO keyboardPress(settings.hotkeys.ESCAPE.key)
+never ecs bug funktin ;))
+less cpu load ?
+and no window close funktion ;)

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

Re: Bot strange error?

#57 Post by rock5 » Fri Sep 16, 2011 6:31 am

I decided last night that I wouldn't try to figure out what was happeneing anymore. Instead I'll tell you how to bypass that code.

Try this. Completely remove that if statement Lisa was talking about.

Code: Select all

					if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
						keyboardPress(settings.hotkeys.ESCAPE.key); yrest(500)
						if RoMScript("GameMenuFrame:IsVisible()") then
							-- Clear the game menu and reset editbox focus
							keyboardPress(settings.hotkeys.ESCAPE.key); yrest(300)
							RoMScript("GetKeyboardFocus():ClearFocus()")
						end
					end
That should be line 609-616 of functions.lua. Just remove that whole 'if' statement. The only effect this will have is, if you open an edit box, such as the chat typing box, then the bot will stop until you close it.

Now you shouldn't get the ESC problem but I suspect there is something else wrong with your setup so it might not work. If it doesn't, let us know.
  • 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

ark2003
Posts: 21
Joined: Tue Sep 20, 2011 11:20 pm

Re: Bot strange error?

#58 Post by ark2003 » Wed Sep 21, 2011 9:07 am

Thanks for the reply..

I did as you suggested (removing if condition) and at first it seems to be working.
It kept running till 6 chars on 4 clients until i had to close client for some other reason. I will do some more testing with it in night.
One more thing can you tell me the script to hide all interface (ctrl+z) from waypoint file?
i will also try to find it later before checking bot again in night.

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

Re: Bot strange error?

#59 Post by rock5 » Wed Sep 21, 2011 9:30 am

ark2003 wrote:I did as you suggested (removing if condition) and at first it seems to be working.
It kept running till 6 chars on 4 clients until i had to close client for some other reason. I will do some more testing with it in night.
Please make sure to let us know if it continues to work with no other problems. We may have to remove or change that section if it's not working properly.
ark2003 wrote:One more thing can you tell me the script to hide all interface (ctrl+z) from waypoint file?
Normally people would try to do a ctrl+z keypress but you make a good point. It should be possible to do it with a command. As far as I know, no one has thought of that before. I don't know why. :S

I had a look and this works.

Code: Select all

UIParent:Hide()
:)
  • 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

ark2003
Posts: 21
Joined: Tue Sep 20, 2011 11:20 pm

Re: Bot strange error?

#60 Post by ark2003 » Wed Sep 21, 2011 10:18 am

rock5 wrote: Normally people would try to do a ctrl+z keypress but you make a good point. It should be possible to do it with a command. As far as I know, no one has thought of that before. I don't know why. :S

I had a look and this works.

Code: Select all

UIParent:Hide()
:)
manual ctrl+z works only for current char. It again resets after changing char that's why activating from code itself is good option. Specially when u r running 4 clients :D

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 2 guests