patch tomorrow... BOTS WILL NOT WORK!!!

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
ichmagbotsyay
Posts: 70
Joined: Tue Aug 09, 2011 7:43 am

patch tomorrow... BOTS WILL NOT WORK!!!

#1 Post by ichmagbotsyay » Mon Nov 14, 2011 3:22 pm

just a heads up: next patch announced and coming tomorrow...
bots will not work after the patch!^^

just trying to stop 10 threads from being opened with "omg, why is my bot not working?" lol

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

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#2 Post by lisa » Mon Nov 14, 2011 8:38 pm

Of course addresses will change, they usually do for patches.

Your title made me think frogster has announced bots won't work after patch lol

This would be a good time for people to check out the find memory addresses topic I created, the How to Guide.
http://www.solarstrike.net/phpBB3/viewt ... =21&t=2580

Not sure if I will have the time today to get the new addresses after patch.
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

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#3 Post by BillDoorNZ » Mon Nov 14, 2011 9:01 pm

Im not completely up to date with that thread lisa, but from memory you were building up a database (screenshots I think) of patterns (asm code snippets) to use to help make finding the addresses easier.

How far did you get with that, and is it perhaps worthwhile creating a new thread with a zip file containing said images and the address name of the address they should help find? perhaps even just a post with the asm snippets and addresses in code blocks. i.e.:

PATCH: 4.0.4.2456.en

actionBarPtr - 0xA2077C

Code: Select all

POP ESI
POP EDI
POP EBX
RETN 14
PUSH 4

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

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#4 Post by lisa » Mon Nov 14, 2011 10:16 pm

My intention with the thread was to help people learn about memory and finding addresses. If I did a list of exactly what to search for then I'm not really just teaching people I am just spoon feeding them lol
You really only learn something by doing it yourself.

I made a few youtube videos as a bit of a tutorial to help.

You know the old saying, give someone a fish and they eat for a day, teach them to catch fish and they can feed themselves forever.
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

ichmagbotsyay
Posts: 70
Joined: Tue Aug 09, 2011 7:43 am

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#5 Post by ichmagbotsyay » Tue Nov 15, 2011 7:49 am

lisa wrote:Your title made me think frogster has announced bots won't work after patch lol
sorry about that^^ just wanted to stop people that can't read from creating those annoying cry-threads lol

and even if they had announced that they would make bots stop working, it wouldn't have been the first time and it certainly wouldn't be the first time you and rock found a way to make them work again in notime :P

edit: hm, really weird, but my bot is working fine lol
how come this patch hasn't broken the bot? i'm confused

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#6 Post by BillDoorNZ » Tue Nov 15, 2011 12:23 pm

cause they barely changed Client.exe - they changed a couple of bytes near the end of the program - not sure if them byte changes are even code-related.

Tooney
Posts: 26
Joined: Fri Oct 07, 2011 12:48 am

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#7 Post by Tooney » Tue Nov 15, 2011 2:00 pm

MRC_Optimized, Pet Crafting, Cot_Tele, survivalR5 and a general waypoint file still seem to work okay. WooHoooooo.

Guest1234
Posts: 65
Joined: Wed Aug 31, 2011 10:19 am

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#8 Post by Guest1234 » Tue Nov 15, 2011 5:13 pm

http://us.runesofmagic.com/us/news,id25 ... h_405.html
On the 22nd November 2011, the level-cap will be raised from 67 to 70, allowing you to access a brand new region, Tergothen Bay, via the foothills of the Redhill Mountains.
Expect a BIG patch next Tuesday...

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#9 Post by BillDoorNZ » Tue Nov 15, 2011 5:41 pm

hmm...sounds like there will be more content updates, but don't know if that will require many changes for Client.exe as there is nothing 'new' from the games point of view (other than the content which is dynamically loaded anyway).

Fingers crossed there'll be little to no changes to client.exe as a result.

Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#10 Post by Kazaroth » Tue Nov 15, 2011 11:37 pm

I have found 2 issues, both are probably similar with the new patch. I have updated to version 673
1) the code in the profile to open the level bags is not consistently working.
<onLoad><![CDATA[
inventory:update();
if(player.Level == 1) then
openGiftbags1To10(player.Level);
end;
]]></onLoad>
2) the skill updates are not occurring at all
<onLevelup><![CDATA[
sendMacro("SetSpellPoint(4, 2);");
sendMacro("SetSpellPoint(4, 3);");
openGiftbags1To10(player.Level);
if(player.Level < 5) then
sendMacro("SetSpellPoint(4, 2);");
sendMacro("SetSpellPoint(4, 3);");
end;

]]></onLevelup>

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#11 Post by BillDoorNZ » Tue Nov 15, 2011 11:39 pm

are you getting an error or is this stuff just not working at all?

Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#12 Post by Kazaroth » Wed Nov 16, 2011 12:05 am

I have additional info. It seems to be associated with using the LoginNextChar(). When restarting the bot from rom/bot.lua, skills and bags level. When the bot finishes and it loads the next character with the code below, it does not. It still runs fine, but there is no log info when the character levels up. I have tried adding the loadProfile() function, but it gives an error on load due to duplicate key 0 lines. This may not be related to the patch.

selectedChar = selectedChar+1;
print("logging out");
ChangeChar(selectedChar,LogID);
print("changing character to", selectedChar);
waitForLoadingScreen();
yrest(30*1000) -- wait 30 sec after screen loads
player:update();
yrest(4000);
player:update();
yrest(4000);
loadPaths("Level1-10/Hunting2");

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

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#13 Post by lisa » Wed Nov 16, 2011 1:01 am

try something like this

Code: Select all

        
settings.loadProfile(player.Name); -- Profile name
yrest (4000)
player:update();  yrest(1000);
I used to use that when I did my 1-10/10 script, this is from a year ago though.
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

Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#14 Post by Kazaroth » Wed Nov 16, 2011 1:18 am

Yea, tried that. The new code for the macro is causing that function to now fail on second call when starting the next character. It says that the key 0 is already allocated to MACRO so it cannot also be allocated to MACRO. I was going to review the code to see where the new rom code is causing the issue and report a fix.

Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#15 Post by Kazaroth » Wed Nov 16, 2011 2:17 am

I found the fix. In setting.lua, the if statement uses "_key" instead of "_name" in the following text

BEFORE

Code: Select all

		if( v.name ~= _nil and	-- empty entries from deleted settings.xml entries
		    v.key == _key  and
		    string.upper(_key) ~= "MACRO" and	-- hotkey MACRO is allowed to set more then once
		    v.modifier == _modifier ) then
AFTER

Code: Select all

		if( v.name ~= _nil and	-- empty entries from deleted settings.xml entries
		    v.key == _key  and
		    string.upper(_name) ~= "MACRO" and	-- hotkey MACRO is allowed to set more then once
		    v.modifier == _modifier ) then
_key is a number and NOT ever == to MACRO. The intent of the if statement should be to use _name to test for the "MACRO" string.

ichmagbotsyay
Posts: 70
Joined: Tue Aug 09, 2011 7:43 am

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#16 Post by ichmagbotsyay » Wed Nov 16, 2011 3:42 am

BillDoorNZ wrote:cause they barely changed Client.exe - they changed a couple of bytes near the end of the program - not sure if them byte changes are even code-related.
yea but usually everything they do messes up their addresses and thus the bot... but whatever lol
next weeks patch will probably brake the bot though, since the new area + levelcap is coming

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

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#17 Post by rock5 » Wed Nov 16, 2011 5:21 am

Kazaroth wrote:_key is a number and NOT ever == to MACRO. The intent of the if statement should be to use _name to test for the "MACRO" string.
To tell you the truth, I can't quite follow that bit of code but it sounds right. 'name' is the one that equals 'macro', not 'key'. The important question is, have you tested it and does it work now?
  • 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

Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#18 Post by Kazaroth » Wed Nov 16, 2011 7:37 am

yes, the change in setting.lua from _key to _name in the if statement for testing MACRO worked.

I also found to have a next character execute the "<onLevelUp>" section in the profile, you need to reset the player.level_detect_levelup variable in the waypoint file. If you also need the "<onLoad>" items, more code is needed not listed here.

Code: Select all

	   ChangeChar(selectedChar,LogID);
	   waitForLoadingScreen();
	   settings.loadProfile(player.Name); -- Profile name
	   yrest (4000)
	   inventory:update();
	   player.level_detect_levelup = player.Level;
	   player:update();
	   yrest(4000);
	   loadPaths("xxxx");

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

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#19 Post by rock5 » Wed Nov 16, 2011 8:24 am

I thought you just needed to reinitialise the player as we did in the past.

Code: Select all

		-- Re-initialize player
		player = CPlayer.new();
		settings.load();
		settings.loadProfile("profilename")
  • 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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: patch tomorrow... BOTS WILL NOT WORK!!!

#20 Post by rock5 » Thu Nov 17, 2011 4:09 am

Kazaroth wrote:I found the fix. In setting.lua, the if statement uses "_key" instead of "_name" in the following text

BEFORE

Code: Select all

		if( v.name ~= _nil and	-- empty entries from deleted settings.xml entries
		    v.key == _key  and
		    string.upper(_key) ~= "MACRO" and	-- hotkey MACRO is allowed to set more then once
		    v.modifier == _modifier ) then
AFTER

Code: Select all

		if( v.name ~= _nil and	-- empty entries from deleted settings.xml entries
		    v.key == _key  and
		    string.upper(_name) ~= "MACRO" and	-- hotkey MACRO is allowed to set more then once
		    v.modifier == _modifier ) then
_key is a number and NOT ever == to MACRO. The intent of the if statement should be to use _name to test for the "MACRO" string.
I'm doing a commit so I re-examined this. I think '_key' is correct. What that bit of code is doing is looking for entries in 'check_keys' that have the same hotkeys. 'MACRO' is a valid value for 'key' and just means that it uses a macro instead of pressing a key. You can have more than one function using 'MACRO' so that's why it's omitted from the check. It's not really being used at the moment, I think, but it doesn't hurt to leave it as it is.

So I think your issue is something else. The commit I'm going to do resolves some reloging issues so I suggest, when I commit, update and see if that helps.

Edit: I've committed to revision 674.
http://www.solarstrike.net/phpBB3/viewt ... =30&t=3171
  • 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: No registered users and 6 guests