Malatinas Goblins by Bot_romka

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.
Message
Author
nerdyone255
Posts: 107
Joined: Mon Nov 22, 2010 10:17 am

Re: Malatinas Goblins by Bot_romka

#21 Post by nerdyone255 » Wed Nov 02, 2011 10:06 am

mm figured it out :)

Beni
Posts: 54
Joined: Fri Jun 17, 2011 4:13 am

Re: Malatinas Goblins by Bot_romka

#22 Post by Beni » Fri Dec 09, 2011 6:50 am

At warpoint 2 my game crash i try 10 times...pls help
Attachments
Untitled2.jpg

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

Re: Malatinas Goblins by Bot_romka

#23 Post by lisa » Fri Dec 09, 2011 7:07 am

2 reasons this could happen come to mind

1. you need to update swim hack.
or
2. you need to update Micromacro
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

S1y
Posts: 23
Joined: Mon Jul 04, 2011 9:43 am

Re: Malatinas Goblins by Bot_romka

#24 Post by S1y » Fri Dec 09, 2011 7:28 am

Beni

If you have the waypoint file from the first post then you need to update pointers to the the hacks
you can find them in line 53-55 for teleport , and line 72 for swimhack.
Unsure why Rom_botka hard coded them into Wp file instead of using function.

Beni
Posts: 54
Joined: Fri Jun 17, 2011 4:13 am

Re: Malatinas Goblins by Bot_romka

#25 Post by Beni » Fri Dec 09, 2011 10:09 am

ty

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

Re: Malatinas Goblins by Bot_romka

#26 Post by kuripot » Wed Dec 28, 2011 7:31 pm

i did not try the goblin waypoint.. i do goblin manually but im using fly hack... i only want to share.. to make it faster run..


from the start after teleport from the npc... i fly above the sealing... and approaching directly to the circle then i deactivate my fly hack then walk under the ground and stop when im in the center of the circle under the ground.. then activate the fly hack until i reach the ground and my character are in above the ground (take note: in manual run i take 2 to 5x try to reach above the ground) then jump to prevent falling down under the ground then start killing mobs

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

Re: Malatinas Goblins by Bot_romka

#27 Post by kuripot » Mon Jan 02, 2012 7:38 am

Bot_romka wrote:New version Malatinas Goblins

I modefid code for use waypoint with little character which not have much more HP. Tested with character 6 Lvl.
Start Wp for Mainchar near NPC "Mahler Palo". characters can be anyware in "Aslan Valley".
With this Waypoint you can enter in Goblins Malatinas without pay the Phirius tokens to the NPC. Simpl just need 30 Phirius tokens for enter which not spended. Bot enable Swimhack and fly over Goblins Gate. Swimhack code directly in Waypoint onloads.
Waypoint vary fast because you killing only elementals not need kills 40 and 60 mobs for open gate. I create new version function getTreasureChest() and now all character allways open chest.

Change in Wp
MainLevel = 50 to Level of character which kill mobs
NumTwinks = 0 to Number of characters. For solo = 0, up to 5.

_sory for my bad english.


only now i try that waypoint.... this waypoint are working???

i got error
Attachments
goblin.JPG

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

Re: Malatinas Goblins by Bot_romka

#28 Post by lisa » Mon Jan 02, 2012 8:13 am

What zone were you in when you started the WP??

Code: Select all

if(zoneid ~= 4 and zoneid ~= 352) then error("\a\a\Malatinas: "..player.Name.." You are too far from "..zonename..".") end;
It checks if you are in zone ID 4 or 352 and if not then you get the error.
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

Jellenser
Posts: 29
Joined: Thu Jul 28, 2011 12:28 am

Re: Malatinas Goblins by Bot_romka

#29 Post by Jellenser » Mon Jan 02, 2012 12:20 pm

yes please!

i would also be very thankfull if someone post a working wp for goblin. witch use fly/swimm hack

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

Re: Malatinas Goblins by Bot_romka

#30 Post by kuripot » Mon Jan 02, 2012 3:00 pm

lisa wrote:What zone were you in when you started the WP??

Code: Select all

if(zoneid ~= 4 and zoneid ~= 352) then error("\a\a\Malatinas: "..player.Name.." You are too far from "..zonename..".") end;
It checks if you are in zone ID 4 or 352 and if not then you get the error.
aslan in from of goblin npc

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

Re: Malatinas Goblins by Bot_romka

#31 Post by kuripot » Thu Jan 05, 2012 5:10 pm

is this important??

Code: Select all

	if(zoneid ~= 4 and zoneid ~= 352) then error("\a\a\Malatinas: "..player.Name.." You are too far from "..zonename..".") end;
	if(zoneid ~= 352 and player.Level >= MainLevel and distance(player.X,player.Z,-5874,3315) > 50) then
		RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00Malatinas:Main "..player.Name.." You are too far from NPC " ..npcname.. ".|r')")
		error("\a\a\Malatinas: Mainchar " ..player.Name.. " You are too far from NPC "..npcname..".")
i removed and no more zone issue


because i'm only run ning goblin in solo so i dont need this that why i deleted to

Code: Select all

	if(player.Level >= MainLevel) then
		if(NumTwinks ~= 0 and NumTwinks+1 > sendMacro('GetNumPartyMembers()')) then
			RoMScript("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00Malatinas: Mainchar "..player.Name.." Stop near Goblins Malatinas. Ivite all characters.|r')")
			printf("Malatinas: Mainchar "..player.Name.." Stop near Goblins Malatinas. Ivite all characters.\n");
			repeat
				yrest(1000);   
			until RoMScript('GetNumPartyMembers()') >= NumTwinks+1
		end
		player:target_NPC(npcname); yrest(1000);
		RoMScript("ChoiceOption(1);"); yrest(1000);
		RoMScript("StaticPopup_OnClick(StaticPopup1, 1);");
		repeat yrest(5000);loggedin = RoMScript("UnitName('player');"); until loggedin
		player:update();
		repeat zoneid = RoMScript("GetZoneID()"); until zoneid
		if (zoneid ~= 352) then error("\a\a\"Malatinas: " ..player.Name.. " You are too far from "..dgnname..".") end;
	else
		printf("Malatinas:character " ..player.Name.. " wait for Ivite.\n")
		while not RoMScript("UnitExists('party1')") do
			RoMScript("StaticPopup_OnClick(StaticPopup1, 1);");
			yrest(1000)
		end
		printf("Malatinas:character " ..player.Name.. " wait for enter to "..dgnname..".\n")
		while (zoneid ~= 352) do
			RoMScript("StaticPopup_OnClick(StaticPopup1, 1);");
			yrest(1000); player:update();
			zoneid = RoMScript("GetZoneID()"); 
		end
	end

i figure out that i get crashed when trying activate "gSwimhack(); gteleport(2040,2226,388);"

Code: Select all

<!-- Inside Goblin Mines -->
 	<waypoint x="1904" z="2230" y="308" tag="STARTM4">
		if(NumTwinks ~= 0 and player.Level >= MainLevel) then
			PauseMain();
		end
		gSwimhack(); gteleport(2040,2226,388);
	</waypoint>
	<waypoint x="2040" z="2226" y="388">gteleport(2161,2231,388);</waypoint>
	<waypoint x="2161" z="2231" y="388">
		if(player.Level >= MainLevel) then
			gteleport(2296,2214,377);
			__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
		else
			gteleport(2061,2789,377);
			__WPL:setWaypointIndex(__WPL:findWaypointTag("character"));
		end
	</waypoint>

so i deleted this also

Code: Select all

	function gteleport(gX,gZ,gY)
		player:update()
		local address  = memoryReadInt(getProc(), addresses.staticbase_char) + addresses.charPtr_offset
		local offsetX = { 0x4, 0xB0}; 
		local offsetZ = { 0x4, 0xB8}; 
		local offsetY = { 0x4, 0xB4};
		local totalDistance = distance(player.X, player.Z, player.Y, gX, gZ, gY)
		local steps = math.ceil(totalDistance/50)
		local xStep = (gX - player.X)/ steps
		local zStep = (gZ - player.Z)/ steps
		local yStep = (gY - player.Y)/ steps
		for i = 1, steps do
			memoryWriteFloatPtr(getProc(), address , offsetX, player.X + xStep); -- x value
			memoryWriteFloatPtr(getProc(), address , offsetZ, player.Z + zStep); -- z value
			memoryWriteFloatPtr(getProc(), address , offsetY, player.Y + yStep); -- y value
			printf("Player Step %d Tp to X: %d Z: %d Y: %d\n", i, player.X + xStep, player.Z + zStep, player.Y + yStep);
			yrest(800)
			player:update()
		end
	end

	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

i replace the

Code: Select all

gSwimhack(); gteleport(2040,2226,388);
by

Code: Select all

fly();
i successfully run my warden/scout without stuck
but i got stuck in my mage/druid like my screeny in previous thread

try this goblin wp... working for me in solo mode only
Attachments
Goblin.xml
edited... no stuck so far
(5.3 KiB) Downloaded 267 times
Goblin.xml
(5.25 KiB) Downloaded 238 times
Last edited by kuripot on Wed Jan 11, 2012 4:43 am, edited 1 time in total.

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: Malatinas Goblins by Bot_romka

#32 Post by spawni » Tue Jan 10, 2012 7:32 am

hmm.. I play with a german client.
As I see, all wp´s use names for the chest.
Would be nice to use id instead of names - so there is no language-barrier for the wp´s

Tryied to get the ID for the chest via database - can´t find it.
Can you help me?

Greetings

berlin25
Posts: 24
Joined: Sun Oct 16, 2011 5:14 pm

Re: Malatinas Goblins by Bot_romka

#33 Post by berlin25 » Tue Jan 10, 2012 10:22 am

My bot gets stuck at the cealing bars in the area where the goblins are. So I need to fly below them manually. Am I the only one with this problem?

sdude13
Posts: 76
Joined: Thu Aug 19, 2010 9:36 am

Re: Malatinas Goblins by Bot_romka

#34 Post by sdude13 » Tue Jan 10, 2012 10:24 am

just change the height-coord in the wypoints to a smaller value.

sdude13
Posts: 76
Joined: Thu Aug 19, 2010 9:36 am

Re: Malatinas Goblins by Bot_romka

#35 Post by sdude13 » Tue Jan 10, 2012 10:27 am

spawni wrote:hmm.. I play with a german client.
As I see, all wp´s use names for the chest.
Would be nice to use id instead of names - so there is no language-barrier for the wp´s

Tryied to get the ID for the chest via database - can´t find it.
Can you help me?

Greetings
the file above uses getTreasureChest(), so no ID needed, it runs fine on my german client.

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

Re: Malatinas Goblins by Bot_romka

#36 Post by kuripot » Tue Jan 10, 2012 4:44 pm

spawni wrote:hmm.. I play with a german client.
As I see, all wp´s use names for the chest.
Would be nice to use id instead of names - so there is no language-barrier for the wp´s

Tryied to get the ID for the chest via database - can´t find it.
Can you help me?

Greetings


did you use??

Get_Object_Id


C:\micromacro\scripts\rom\Get_Object_Id

then place the mouse cursor to the item you want to get the ID

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

Re: Malatinas Goblins by Bot_romka

#37 Post by kuripot » Tue Jan 10, 2012 4:49 pm

berlin25 wrote:My bot gets stuck at the cealing bars in the area where the goblins are. So I need to fly below them manually. Am I the only one with this problem?

same problem before,, edited already and posted in my previous post


working to me now

User avatar
Sithlord512589
Posts: 36
Joined: Thu Mar 04, 2010 9:21 am

Re: Malatinas Goblins by Bot_romka

#38 Post by Sithlord512589 » Wed Jan 11, 2012 11:56 pm

i had the same prob with getting stuck.

i edited the heights-value of nearly most of the waypoint and tadaaa. it´s running quite well.

here´s the corrected file. have fun.
Attachments
000-Goblin Mines.xml
(5.25 KiB) Downloaded 271 times
MAGE 75/ PRIEST 72 (soon 75) / ROUGE 6x
german client, Server Europe
Thankful User of the other peoples mindwork :-)

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

Re: Malatinas Goblins by Bot_romka

#39 Post by kuripot » Mon Jan 16, 2012 3:41 am

how can i apply this buff

Code: Select all

	   if player.Class1 == 7 and player.Class2 == 2 then
	      player:cast("WARDEN_SAVAGE_POWER")
	      player:cast("WARDEN_ELVEN_PRAYER")
	      player:cast("WARDEN_MORALE_BOOST")
	      player:cast("WARDEN_ELVEN_GUIDANCE")
	      player:cast("WARDEN_EXPLOSION_OF_POWER")
	   end
before

Code: Select all

		player:fight()
to

Code: Select all

   <onSkillCast><![CDATA[
	if player:findNearestNameOrId(102102) then
		local Evelyn = player:findNearestNameOrId(102102)
		player:target(Evelyn)
		player:fight()
		end
   ]]></onSkillCast>

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

Re: Malatinas Goblins by Bot_romka

#40 Post by kuripot » Mon Jan 16, 2012 3:42 am

i can use

Code: Select all

function bossbuff()
in the profile??

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests