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

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
Kazaroth
Posts: 9
Joined: Tue Nov 15, 2011 11:29 pm

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

#21 Post by Kazaroth » Mon Nov 21, 2011 6:05 pm

Sorry, not making the change causes the error to still occur. Error on second char load is.
You assigned the key '0' double: for 'MACRO' and for 'MACRO'. Please check your settings: Ingame -> System -> Hotkeys and in your profile

I have debug print the _key and _name causing the issue. the output was
_key = 48
_name = MACRO

As you can see, the key is NOT 'MACRO'. Sorry, without the fix I suggested, the code will not work. The code in the profile is shown below.

Code: Select all

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"        modifier="" key="VK_0" />
	</hotkeys>
I have updated my copy and hope you can merge the suggested changes made earlier into a controlled baseline.

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

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

#22 Post by rock5 » Mon Nov 21, 2011 9:00 pm

As I stated previously, your change was not a fix. It already works the way it's suppose to. Basically, what you have done is break the check so it doesn't detect the double '0' values.

The reason it says macro is == to '0' twice is because when you reload the profile, old values still exists. Specifically the variable "check_keys" does not get reinitialized. It gets reinitialized in "settings.load()".

When loading a profile you should always do the following.

Code: Select all

		-- Re-initialize player
		player = CPlayer.new();
		settings.load();
		settings.loadProfile(profilename)
This is also required for the level skills 1-10 function to work and possibly the open gift package function.
  • 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 1 guest