activate the speed hack using a macro

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

activate the speed hack using a macro

#1 Post by IronWolf » Sun Apr 29, 2012 4:24 pm

hey guys, i've tried searching the forum but got very much lost :)

i tried extracting for existing waypoint the use of speed hack but it uses a static variable located in address file and yet again, got abit lost :)

any chance some1 can help me out with understanding how to activate the speed hack using an ingame macro, if that is even possible,
if not then i would love hearing of a way to turn on/off speed hack in game cause sometimes i just wish to run just a wee bit faster :)

thanks guys :)

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

Re: activate the speed hack using a macro

#2 Post by lisa » Sun Apr 29, 2012 6:27 pm

IronWolf wrote:any chance some1 can help me out with understanding how to activate the speed hack using an ingame macro, if that is even possible,
Nope can't be done because you can't "alter" the memory using in game functions.
IronWolf wrote:if not then i would love hearing of a way to turn on/off speed hack in game cause sometimes i just wish to run just a wee bit faster
On the topic for speedhack there is a WP which allows you to enable and disable the hacks with just a keypress.

You could also start the bot with WP commandline and then type in the function call at the prompt.
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

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: activate the speed hack using a macro

#3 Post by IronWolf » Mon Apr 30, 2012 12:26 am

lisa wrote:
IronWolf wrote:any chance some1 can help me out with understanding how to activate the speed hack using an ingame macro, if that is even possible,
Nope can't be done because you can't "alter" the memory using in game functions.
thats a bloody shame :)

------------------- out of topic ---------------------
well since the search disliking me, im afraid i must ask abit more
Search wrote:Sorry but you cannot use search at this time. Please try again in a few minutes.
------------------- back to topic --------------------
lisa wrote:On the topic for speedhack there is a WP which allows you to enable and disable the hacks with just a keypress.
i've searched the topic for some time, and when found it discovered it has not few pages, at the moment of writing the post i cant search for it again so if you have the file or a link to the message it will be highly appritiated thought if not, i will find it myself when i get that search banning removed :)
lisa wrote:You could also start the bot with WP commandline and then type in the function call at the prompt.
thats also a great option, i did some searching and found that commandline is a waypoint comes with the bot, managed to activate it and then tried running the waypoint file at couple of variations, none of which worked, this is the waypoint file:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
speed();

<onLoad>

	RunningSpeed = 100

	-- Apply speed hack
	local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
	if playerAddress ~= 0 then
		memoryWriteFloat(getProc(), playerAddress + 0x40, RunningSpeed);
	end

</onLoad>

</waypoints>
i tried using a number instead of "RunningSpeed" variable and calling the memoryReadIntPtr instead of using local playerAddress, but that didnt work, would love your help again, thank you very much.

***the code in here i took from a file in this forum, sadly i dont remember the post owner name, so all respect to you unknown donators, my apologies for not remembering.. it was quite a while...***

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

Re: activate the speed hack using a macro

#4 Post by lisa » Mon Apr 30, 2012 2:05 am

http://www.solarstrike.net/phpBB3/viewt ... =27&t=2765
At the bottom of the first post has the WP called hack.xml
Ok adding a WP file for usage with these 2 userfunctions.
save file to your waypoints folder.

--=== Note ===--
This is purely for when playing manually and you want to use speed or swim with a keypress.

Once you start the WP use the numberpad keys 1 2 4 5.
1 = fly
2 = flyoff
4 = fast speed
5 = normal speed
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

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: activate the speed hack using a macro

#5 Post by IronWolf » Tue May 01, 2012 10:37 am

thanks lisa thats exactly what im looking for, sadly the speed("on") call seems to crash the client saying that:

6:35pm - scripts\rom/bot.lua:465: onLoad error: [string "..."]:28: attempt to call global 'speed' (a nil value)

i will try working on fixing it, will let you know if i find whats wrong.

--edit--

well instead of calling the speed function i simply use this code:

Code: Select all

RunningSpeed = 100 --change this variable to whatever speed u want

-- Apply speed hack
local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
if playerAddress ~= 0 then
	memoryWriteFloat(getProc(), playerAddress + 0x40, RunningSpeed);
end
time = os.time()

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

Re: activate the speed hack using a macro

#6 Post by lisa » Tue May 01, 2012 9:15 pm

Anytime it says it tried to call a global *** a nil value it means that something is missing or in the wrong place.
Userfunction files need to be saved to your
micromacro/scripts/rom/userfunctions
folder.
You can tell a userfunction file as it will always be
userfunction_
and will always be a .lua type file
Save the userfunction to the correct folder and it will work fine.
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

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: activate the speed hack using a macro

#7 Post by IronWolf » Wed May 02, 2012 3:26 am

lisa wrote:Anytime it says it tried to call a global *** a nil value it means that something is missing or in the wrong place.
Userfunction files need to be saved to your
micromacro/scripts/rom/userfunctions
folder.
You can tell a userfunction file as it will always be
userfunction_
and will always be a .lua type file
Save the userfunction to the correct folder and it will work fine.

Correct you are :)
placed the files where u said, now it works like a charm... though i wish i could avoid those rotten pullbacks.. :)

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

Re: activate the speed hack using a macro

#8 Post by lisa » Wed May 02, 2012 5:56 am

pullbacks just mean the speed is set to high, seems I set "on" to be 100, can't remember why I set it so high lol
Anyway just set a value when you call it like this

Code: Select all

speed(75)
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

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

Re: activate the speed hack using a macro

#9 Post by rock5 » Wed May 02, 2012 7:18 am

I've been noticing a different type of pull back recently and it's really annoying. It's not related to the speed hack cos it even happens when playing manually.

Sometimes when I run through a mob and aggro it, I get pulled back but not just to the mob but to a point long before I reached the mob. Example: When farming t4 items there is a point where I go from the mailbox through a gate past a mob which are pretty close together. Sometimes after I've run past the mob I get pulled back all the way to the mailbox!

Or I botted butterflies for a bit. Sometimes my character would run out the maze and aggro a butterfly only to be pulled back to inside the maze. At which point I usually get stuck. It usually happens if I try to run past a mob without stopping.

This happen to anyone else?
  • 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: activate the speed hack using a macro

#10 Post by lisa » Wed May 02, 2012 8:25 am

rock5 wrote:Sometimes when I run through a mob and aggro it, I get pulled back but not just to the mob but to a point long before I reached the mob.
I was getting that on private server, one of the reasons I stopped playing.
I went back to official and tested there and never got it so it seems to be specific to Rom4u.

I had it once where I agroed a mob and got pulled back to the other side of the map and the mob that I agroed ran towards me with me as target, since I was dual boxing i could see what was going on. The mob ran for a bit and then gave up and reset. I have had other times where I got pulled back and was dead with no debt. It just got so annoying I just stopped playing.
This was just manual with no hacks at all in use.
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

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

Re: activate the speed hack using a macro

#11 Post by rock5 » Wed May 02, 2012 8:33 am

Yeah, it's rom4u server with me too. It hasn't got so bad that I'd quite the server, yet.
  • 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], Google [Bot] and 36 guests