Swim, Speed and wall hacks

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Swim and Speed hacks

#81 Post by Administrator » Thu Oct 27, 2011 7:56 pm

BillDoorNZ wrote:I have my UDP stuff working well enough now to so something like that, but the way I have it working at the moment is purely to allow me to play at work via a windows forms type interface so I dont have the game client on-screen for any tom dick or harry to wander past and see.
Can you give some more details? Are you using the MicroMacro's standard network functions or some addon for sockets?

I'm actually considering deprecating the network functions in favor of a more universal set up, such as one LuaSockets.

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

Re: Swim and Speed hacks

#82 Post by BillDoorNZ » Thu Oct 27, 2011 8:20 pm

I'm using LuaSocket to do the UDP stuff, not the MM networking functions.

The main issue is speed - I have 2 threads

Thread 1 uses Rocks Chat Monitor stuff to run through all normal chats (SAY, WORLD, ZONE, WHISPER, GUILD, CHANNEL etc) and then sends them to my .net client (which has a UDP listener in it) via the LuaSocket UDP class (socket.udp()).

Thread 2 starts a UDP listener and receives commands from my .net client which it then forwards to the game client or executes (in the case of MM function calls).

Both threads yield quite regularly to allow the bot to perform its usual duties (running around - I don't use the bot for combat, I use the old Uberflex AutoCombat addon which I modded to execute on F11 keypress that my .net client sends every 20ms as its much quicker that way) - I should really get around to using the bot instead tho.

I'll attach a zip to my next post so you can see what I mean - just have to remove any character specific stuff - of which there is prolly a heap ;)

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

Re: Swim and Speed hacks

#83 Post by BillDoorNZ » Thu Oct 27, 2011 8:26 pm

ok, heres that zip file

I modified bot.lua and saved it as edbot.lua to do what I needed it to do (cut out a lot of stuff I don't use).

under userfunctions there is a userfunction_integrationBot.lua file with most of my stuff hacked in there (its all a bit messy atm I'm afraid). I think I hacked more of my stuff into some of the standard libs too just to make it work for me. Can't really remember now ;)
Attachments
_rom.zip
(245.29 KiB) Downloaded 150 times

Nevex
Posts: 46
Joined: Sat Oct 01, 2011 3:55 pm

Re: Swim and Speed hacks

#84 Post by Nevex » Sun Oct 30, 2011 4:03 pm

Instead of flying like going up in there air it just goes maybe a half inch off the ground and does swimming....the hack.xml that is.

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

Re: Swim and Speed hacks

#85 Post by BillDoorNZ » Sun Oct 30, 2011 4:29 pm

that is the fly hack there Nevex. Fly/Swim or whatever anyone wants to call it ;)

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

Re: Swim and Speed hacks

#86 Post by lisa » Sun Oct 30, 2011 10:39 pm

Nevex wrote:Instead of flying like going up in there air it just goes maybe a half inch off the ground and does swimming....the hack.xml that is.
Yeah that WP is just to turn on and off the hacks, you then move with the movement keys. It will move where you are facing so look up and push forward and up you go. Jump won't do anything.
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

salesman921
Posts: 7
Joined: Sun Nov 06, 2011 8:12 pm

Re: Swim and Speed hacks

#87 Post by salesman921 » Tue Nov 08, 2011 3:48 pm

i just used the survival waypoint and that worked great, thanks alot.

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

Re: Swim and Speed hacks

#88 Post by lisa » Thu Nov 24, 2011 10:34 am

updated swim for 4.0.5.2467 first post.
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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Swim and Speed hacks

#89 Post by lisa » Tue Dec 06, 2011 11:24 am

updated swim for patch 4.0.5.2472.
First post.
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: Swim and Speed hacks

#90 Post by rock5 » Tue Dec 06, 2011 12:00 pm

About the swim hack (and speed hack for that matter) there are new offsets you can use in addresses.lua.

For instance, instead of.

Code: Select all

local offsets = {0x598, 0xF0, 0xB4}
you can use

Code: Select all

local offsets = {charPtr_offset, pawnSwim_offset1, pawnSwim_offset2}
Obviously "charPtr_offset" is not a new offset.

And in Speed hack

Code: Select all

memoryWriteFloat(getProc(), playerAddress + pawnSpeed_offset, _speed);
  • 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: Swim and Speed hacks

#91 Post by lisa » Tue Dec 06, 2011 12:05 pm

changed swim to use the offsets from addresses.lua now.
I obviously added the "addresses." to them before testing lol

tested and updated first post ;)
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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Swim and Speed hacks

#92 Post by lisa » Wed Dec 14, 2011 10:59 am

updated swim for patch 4.0.6.2476
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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Swim and Speed hacks

#93 Post by lisa » Sun Dec 18, 2011 2:29 am

added the address to addresses.lua

update to revision 684+ and then use userfunction on first post and it won't need updating anymore.

After patches we just need to make sure to update swim address and it will be 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

sfrattini
Posts: 35
Joined: Wed Jun 03, 2009 3:45 pm

Re: Swim and Speed hacks

#94 Post by sfrattini » Mon Dec 26, 2011 7:30 am

Hi Lisa,

since last patch I am having problems with swim hack, very similar to pre-address update issues.
The swim hack does not get triggered, like if the address is not recognized at all, I have updated everything with SVN to 686 so in theory there should be anything else to do...

Do you have any suggestion?

Thanks in advance.

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

Re: Swim and Speed hacks

#95 Post by lisa » Mon Dec 26, 2011 6:21 pm

did you test it with the WP file I have on first post?

Also make sure you have the latest userfunction V 2.0
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

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Swim and Speed hacks

#96 Post by kuripot » Tue Jan 03, 2012 3:47 pm

i have a question... how to set the fly hack heigth... imean if i want to fly close to seiling or only in the top of the door??

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Swim and Speed hacks

#97 Post by kuripot » Tue Jan 03, 2012 5:05 pm

this is my problem... i try to do my own waypoint in goblin but im stuck...



this my waypoint

i edit the onload from "Malatinas_Goblins_Wp" i delete some onload that make error.. i doing goblin alone not in party

Code: Select all

<waypoints type="RUN"><!-- Malatinas Goblins by Bot_romka v 1.1.5 -->

   <onLoad>
	MainLevel = 50		<!-- Level of character which kill mobs -->
	NumTwinks = 0		<!-- Number of characters. For solo = 0, up to 5. -->

	----------------------------------------------------------------------------------------
	repeat zoneid=RoMScript("GetZoneID()"); until zoneid
	repeat npcname=RoMScript("TEXT('Sys112651_name')"); until npcname
	repeat dgnname=RoMScript("TEXT('ZONE_DGN_BORSBURS')"); until dgnname
	repeat zonename=RoMScript("TEXT('ZONE_ASLAN')"); until zonename
	---repeat curzone=RoMScript("GetZoneName()"); until curzone
	---RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00Malatinas: "..player.Name.." You are in "..curzone..".|r')")


	function memoryfreezeSwimhack()
		local offsets = {addresses.charPtr_offset, addresses.skillBuffFlag_offset, 0xB4};
		memoryWriteIntPtr(getProc(), addresses.staticbase_char, offsets, 4);
	end
	function gSwimhack()
		registerTimer("SwimhackTimer", 5, memoryfreezeSwimhack);
	end

	function getTreasureChest()
		EventMonitorStart("TreasureChest", "PLAYER_BAG_CHANGED")
		local retry_count = 0;
		while(retry_count<7)do
			player:target_Object(113137,7000,nil,true)
			local time, moreToCome, msg = EventMonitorCheck("TreasureChest", "1")
			if msg ~= nil then
				EventMonitorStop("TreasureChest")
				break
			end
			retry_count = retry_count + 1;
		end
		printf("Chest opens. continuing.\n")
	end

	function PauseTwink()
		EventMonitorStart("PausePARTY", "CHAT_MSG_PARTY")
		repeat
			local time, moreToCome, name, msg = EventMonitorCheck("PausePARTY", "4,1")
			if time ~= nil then
				if string.find(msg,"All Ok") then
					break
				end
			end
			yrest(5)
		until false
	end
	changeProfileOption("RES_AUTOMATIC_AFTER_DEATH", false)
	changeProfileOption("TARGET_LEVELDIF_BELOW", 40)
	changeProfileOption("LOOT_IN_COMBAT", false)
	changeProfileOption("AUTO_ELITE_FACTOR", 15)
	changeProfileOption("LOOT_ALL", true)

	 if player:target_NPC(112651) then
		sendMacro("ChoiceOption(1);");
		yrest(5000);
		RoMScript("StaticPopup_OnClick(StaticPopup1, 1);")
		waitForLoadingScreen();
		__WPL:setWaypointIndex(2) -- or whatever point you want it to go to first.
	 else
		error("You are too far from Mahler Palo")
	 end

   </onLoad>

	<!-- #  1 --><waypoint x="-5837" z="3322" y="572">		player:target_NPC("Mahler Palo");
		sendMacro("ChoiceOption(1);");
		waitForLoadingScreen();
	</waypoint>
 	<!-- #  2 --><waypoint x="1904" z="2230" y="308" tag="STARTM4">
		fly();
	</waypoint>
	<waypoint x="2040" z="2226" y="388"></waypoint>
	<waypoint x="2161" z="2231" y="388"></waypoint>
	<waypoint x="2296" z="2214" y="377"></waypoint>
	<waypoint x="2061" z="2789" y="377"></waypoint>
	<waypoint x="2204" z="3071" y="366"></waypoint>
	<waypoint x="2092" z="3628" y="366"></waypoint>
	<waypoint x="2240" z="3628" y="346"></waypoint>


what can you advice???

this is also my problem in mini treasure main entrance door
Attachments
stuck.JPG

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Swim and Speed hacks

#98 Post by kuripot » Tue Jan 03, 2012 5:19 pm

or if there a option that when i'm stuck, it try again but downward and upward not sideward??

dancerinthedark
Posts: 16
Joined: Tue Aug 23, 2011 9:00 am

Re: Swim and Speed hacks

#99 Post by dancerinthedark » Fri Jan 06, 2012 9:21 pm

Hello,
I have questions about speed hack. I was using speed hack in my ks farming script, but sometimes it happens that bot returns back, ex. my char clears one room and moves forward, and in 5 secs he "returs" to same room, like the ini is returning him backward, which causes bot to get stuck. Is there some limitations in speed hack, like the max length, or smt? Or some speed limit that I've past?

Thanks in forward, dd

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

Re: Swim and Speed hacks

#100 Post by lisa » Fri Jan 06, 2012 9:27 pm

dancerinthedark wrote:and in 5 secs he "returs" to same room
You can get pulled back by the server if you have traveled further then it thinks you should have travelled, a few things can affect this and the distance you can travel is different for everyone.

I would suguest just reducing the amount of speed applied.

speed(50) -- normal walking
speed(100) -- as fast as you can go but probably get pulled back if u travel distance

So basically just vary the value between 50 and 100.
Try starting with 80 and see how that goes.
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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests