Page 2 of 3

Re: Malatinas Goblins by Bot_romka

Posted: Wed Nov 02, 2011 10:06 am
by nerdyone255
mm figured it out :)

Re: Malatinas Goblins by Bot_romka

Posted: Fri Dec 09, 2011 6:50 am
by Beni
At warpoint 2 my game crash i try 10 times...pls help

Re: Malatinas Goblins by Bot_romka

Posted: Fri Dec 09, 2011 7:07 am
by lisa
2 reasons this could happen come to mind

1. you need to update swim hack.
or
2. you need to update Micromacro

Re: Malatinas Goblins by Bot_romka

Posted: Fri Dec 09, 2011 7:28 am
by S1y
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.

Re: Malatinas Goblins by Bot_romka

Posted: Fri Dec 09, 2011 10:09 am
by Beni
ty

Re: Malatinas Goblins by Bot_romka

Posted: Wed Dec 28, 2011 7:31 pm
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 02, 2012 7:38 am
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 02, 2012 8:13 am
by lisa
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.

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 02, 2012 12:20 pm
by Jellenser
yes please!

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

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 02, 2012 3:00 pm
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Thu Jan 05, 2012 5:10 pm
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 7:32 am
by spawni
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

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 10:22 am
by berlin25
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?

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 10:24 am
by sdude13
just change the height-coord in the wypoints to a smaller value.

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 10:27 am
by sdude13
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.

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 4:44 pm
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Tue Jan 10, 2012 4:49 pm
by kuripot
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

Re: Malatinas Goblins by Bot_romka

Posted: Wed Jan 11, 2012 11:56 pm
by Sithlord512589
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.

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 16, 2012 3:41 am
by kuripot
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>

Re: Malatinas Goblins by Bot_romka

Posted: Mon Jan 16, 2012 3:42 am
by kuripot
i can use

Code: Select all

function bossbuff()
in the profile??