Swim, Speed and wall hacks
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: Swim and Speed hacks
Hey lisa,
is it possible to set once the speed and not between every waypoint?
When I set (for exaple speed(75)) into the first waypoint - the bot is runing with this speed to the second WP, after then he's crawling again, so I've to set the speed again. By some wayponts, containing more then 100 coordinates, it is more complicated.
Also the question, by playing the game (using bot as buff-helper/healer only) is there any possibility to use this speed function and MountSpeed-function from Bot-Romka as well?
is it possible to set once the speed and not between every waypoint?
When I set (for exaple speed(75)) into the first waypoint - the bot is runing with this speed to the second WP, after then he's crawling again, so I've to set the speed again. By some wayponts, containing more then 100 coordinates, it is more complicated.
Also the question, by playing the game (using bot as buff-helper/healer only) is there any possibility to use this speed function and MountSpeed-function from Bot-Romka as well?
Re: Swim and Speed hacks
Hmm it shouldn't be reseting the speed unless you tell it to, is there any other code at the second waypoint?gloover wrote: When I set (for exaple speed(75)) into the first waypoint - the bot is runing with this speed to the second WP, after then he's crawling again, so I've to set the speed again. By some wayponts, containing more then 100 coordinates, it is more complicated.
If you mean the WP partyhealer, I am in the middle of doing a total rewrite with options for userfunctions to tell the bot what to do under specific circumstances.gloover wrote:Also the question, by playing the game (using bot as buff-helper/healer only) is there any possibility to use this speed function and MountSpeed-function from Bot-Romka as well?
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
No, there is no other code in the second (next) waypoint.lisa wrote: Hmm it shouldn't be reseting the speed unless you tell it to, is there any other code at the second waypoint?
Btw. I've checked the source again, it's not the same like yours, but it does the job gratefull - using a short distance (millers farm) I can set the speed to 100 (means 50:normal, 59:Clear Thought buffed, 80:mounted and 100: really sprint!), but I don't know, why its not freezing the memory. Here's the source:
Code: Select all
-- Use setSpeed(59.0) to set Speed = 59, normal is 50
function setSpeed(speed)
local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
if playerAddress ~= 0 then
memoryWriteFloat(getProc(), playerAddress + 0x40, speed);
--printf("Speedhack ACTIVATED!\n");
end
end
function speedoff()
local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
if playerAddress ~= 0 then
memoryWriteFloat(getProc(), playerAddress + 0x40, 50);
printf("Speedhack DEactivated.\n");
end
end
function getSpeed()
local playerAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
if playerAddress ~= 0 then
return memoryReadFloat(getProc(), playerAddress + 0x40);
else
cprintf(cli.red, "Can't set player speed: playerAddress = nil");
return nil;
end
end
Yes, I mean partyhealer and accordingly RBAssist - will impaciantly waiting!lisa wrote: If you mean the WP partyhealer, I am in the middle of doing a total rewrite with options for userfunctions to tell the bot what to do under specific circumstances.
Re: Swim and Speed hacks
that code you posted deffinately works differently to the code I have on first page, interesting.
very obvious one is using a float and other is byte, different offsets too.
Code: Select all
memoryWriteFloat(getProc(), playerAddress + 0x40, speed);
Code: Select all
memoryWriteBytePtr(getProc(), staticcharbase_address, {0x598, 0x42}, _speed);
RBAssist and Partyhealer.xml are completely different.gloover wrote:Yes, I mean partyhealer and accordingly RBAssist
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
Sorry for the mistake, I mean RBAssist, so I want to use speedhack and Mountspeedhack in RBAssist and don't know how to realize that!lisa wrote:that code you posted deffinately works differently to the code I have on first page, interesting.
Code: Select all
memoryWriteFloat(getProc(), playerAddress + 0x40, speed);
very obvious one is using a float and other is byte, different offsets too.Code: Select all
memoryWriteBytePtr(getProc(), staticcharbase_address, {0x598, 0x42}, _speed);
RBAssist and Partyhealer.xml are completely different.gloover wrote:Yes, I mean partyhealer and accordingly RBAssist
BTW. Mountspeedhack created by Bot-Romka [here] also use "float" - but it seems to be working, accept of the reseting this after every waypoint.
Lisa, could you optimize/upgrade your userfunction, please! (Including Mountspeedhack)
Re: Swim and Speed hacks
You know the speed doesn't stay if you change zones right?
So if you change zones in a WP you will need to reapply the speed.
It is because the address for the player changes, even the other code you posted won't stick if you change zones.
I tested both current file on first post and the code you posted and they both work.
So if you change zones in a WP you will need to reapply the speed.
It is because the address for the player changes, even the other code you posted won't stick if you change zones.
I tested both current file on first post and the code you posted and they both work.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
Yes, I know it- there's no zone change in my waypoint.lisa wrote:You know the speed doesn't stay if you change zones right?
So if you change zones in a WP you will need to reapply the speed.
It is because the address for the player changes, even the other code you posted won't stick if you change zones.
Hmm, let'em run longer than 5 min with this script, and report whats happen' The advantage of this version is the "float" and not "hard-initiated" offset - so I want use this one rather then yours, but at all my waypoints the bot resets the speed after second or third waypoint :-/ same with SetMountSpeed-functionlisa wrote: I tested both current file on first post and the code you posted and they both work.
I'm perplexed
Re: Swim and Speed hacks
Maybe it's just something to do with the place you are botting. Where is this happening? Have you tried it somewhere 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
Re: Swim and Speed hacks
Dont think, thas this could be the reason - have tried this in guardians corridor (Ystra) and in Ravenfell - same issue.
I'll test it much accuter this WE, maybe I can localize the reason.
@ rock, how can I use this speed/swim-function in your RBAssist?
I'll test it much accuter this WE, maybe I can localize the reason.
@ rock, how can I use this speed/swim-function in your RBAssist?
Re: Swim and Speed hacks
Depends how you want it to work.
If you already have a function that works such as Bot-Romkas function, you could always just run it in another micromacro window.
If you already have a function that works such as Bot-Romkas function, you could always just run it in another micromacro window.
- 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
Re: Swim and Speed hacks
Yep, it works - I had to hit on it by myself.
Have paste the function between the "update" lines in the RBAssist - works like a charm!
BTW what did checkEggPets() exactly and how to check if player is mounted (using different mounts)?
Have paste the function between the "update" lines in the RBAssist - works like a charm!
Code: Select all
.......
player:checkPotions()
local target = player:getTarget();
player:checkSkills(true, target);
if player:hasBuff("505480") then
setMountSpeed(100)
else
setSpeed(59)
end;
player:update()
checkEggPets()
......
Re: Swim and Speed hacks
checkEggPets() checks your eggpet settings in your profile. If set it will summon and keep fed your assist pet and/or start your crafting pet.
To see if you are mounted.
To see if you are mounted.
Code: Select all
if player.Mounted then
- 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
Re: Swim and Speed hacks
speed should work with latest addresses.lua
Swim hack has been updated first post for latest patch.
Swim hack has been updated first post for latest 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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
Lisa, I have a couple of observations about your swim hack update.
1. Why create swimfunction_ptr and then not use it?
2. offsets should be local.
3. You have the habit of not updating your version numbers.
4. You didn't update the "non timer" version. That's the one I prefer using. I've attached an updated version of it here.
Swimhack without timer.
1. Why create swimfunction_ptr and then not use it?
2. offsets should be local.
3. You have the habit of not updating your version numbers.
4. You didn't update the "non timer" version. That's the one I prefer using. I've attached an updated version of it here.
Swimhack without timer.
- Attachments
-
- userfunction_swimhack.lua
- Version 1.0b
- (1.52 KiB) Downloaded 227 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
Re: Swim and Speed hacks
Originally I was going to just update the addresses and keep the original creators code in tact. Never wanted anyone to think I take credit for the code.
Files all completely updated, fixed code that needed to be fixed.
Files all completely updated, fixed code that needed to be fixed.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
That's much neater.
I think in the end, you can't let the fact that someone else originally created the code, hold you back. Code is a growing evolving thing. It should be unfettered. And, after all, you do give the creator credit in the comments.
Why didn't you implement swimfunction_ptr in the timer version as well? I thought it was your idea. And it does make it easier to update.
I think in the end, you can't let the fact that someone else originally created the code, hold you back. Code is a growing evolving thing. It should be unfettered. And, after all, you do give the creator credit in the comments.
Why didn't you implement swimfunction_ptr in the timer version as well? I thought it was your idea. And it does make it easier to update.
- 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
Re: Swim and Speed hacks
yeah I'll do it next patch they do, for now it works.
got a lot on my plate atm lol
got a lot on my plate atm lol
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Swim and Speed hacks
What are the (dis)advantages to using the timer vs non-timer versions?
Scout/Knight/Rogue 70/66/66
Re: Swim and Speed hacks
No Timer the userfunction does the hack once and only once, so if you do anything that changes the players addresses like changing zones the hack is no longer active. In english-- if you change zones you stop flying.
Timer redoes the hack at the intervals set by the timer so after changing zones it should redo the hack when the timer ticks again, assuming the bot has done an update to player address. Timers also redo hack when logging next character and loading new WP.
So if you use timer you need to make sure you turn off the hack when not needed.
Timer redoes the hack at the intervals set by the timer so after changing zones it should redo the hack when the timer ticks again, assuming the bot has done an update to player address. Timers also redo hack when logging next character and loading new WP.
So if you use timer you need to make sure you turn off the hack when not needed.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests