Page 2 of 3

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Feb 01, 2012 4:36 pm
by kuripot
and one thing.... no fly off in gobsFurnace...?

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Feb 01, 2012 6:14 pm
by kkulesza
kuripot wrote:don't know when where i put the hammertime function
Anywhere in the middle will be fine
kuripot wrote: and one thing.... no fly off in gobsFurnace...?
There is flyoff() in last waypoint, but even if there was no flyoff() bot will automaticly turn it off while screen is loading when you change a zone

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Feb 01, 2012 8:39 pm
by lisa
kkulesza wrote:There is flyoff() in last waypoint, but even if there was no flyoff() bot will automaticly turn it off while screen is loading when you change a zone
it will stop flying when you zone yes, technically it is because the addresses have changed =)

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Thu Feb 02, 2012 6:55 am
by kuripot
because i try that waypoint and when im in the furnace. fly off will not activated... killng mobs in fly mode

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Thu Feb 02, 2012 11:12 am
by kkulesza
kuripot wrote:because i try that waypoint and when im in the furnace. fly off will not activated... killng mobs in fly mode
That is not a sin ;)

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Feb 08, 2012 5:44 pm
by Juin
Could you explain to me how the not paying for the minigame works?
I looked at the code but i couldnt figure it out.
Thanks.

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Feb 08, 2012 6:14 pm
by Germangold
your char just flys over the fence
since there is no interaction with the npc, who would transform you into a goblin
your wont have to pay phiriustoken

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Sun Jul 01, 2012 1:07 pm
by dr-nuker
Hi,

lately i have problems with this good WP-file...

Somehow my char just skips the mobs and does not open all boxes. if i help and kill the mobs he is not looting the boxes correctly.
So he opens it and then wants to open again and again and again until time runs out and gets ported out. So only first box is looted...

any ideas?

Br

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Sun Jul 01, 2012 5:54 pm
by kkulesza
loot all from mob

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Thu Apr 18, 2013 6:43 am
by Jandrana
Bot's features:
-Does not pay for the mini game
Patch notes:
“warriors must enter the Goblin Mines and accept the challenge yet before the treasure chest at the third checkpoint appears, since only then will they be able to open the assigned elemental treasure chests.”
Since yesterdays patch, it is not longer possible to open the furnace chests if you did not pay the phirius tokes at the beginning of the goblin mine. You get the message "you don't have the permission to open this chest".

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Apr 24, 2013 1:06 pm
by Rintintin
not only that. I think you have to kill the mobs as requested. So this waypoint really needs to be adjusted!
Therfore I currently avoid the goblin mines. I got annoying after the patch.

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Sun Aug 18, 2013 3:19 pm
by Bill D Cat
And to add insult to injury, they have also adjusted the level of the mobs to match that of the highest level player in your party. Solo players even at cap may have a little more difficulty with an instance full of elites that are all at the same level that they are. Of course, if you are well geared it may not be much of a problem. For alts and such I think it may put this out of reach for solo farming.

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Mon Aug 19, 2013 1:42 am
by Cindy
The xp/tp is very nice though. Too bad they don't drop event items.

You have to think smartly about your skills you will use. Those rock guys are brutal on some of my characters.. (70+druid dies most days... annoying as hell)

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Thu Aug 22, 2013 5:43 pm
by BlubBlab
True GM seems of the grid at the moment for solo boting with characters if you haven't a well equipped char.
I tried some script with my main for some days I stopped him because otherwise it would have been suicide. (Oh I hope the gram is right)
But I would been interesting in a new Goblin script. I don't think it is completely impossible but extreme hard you need to fight from distance where ever you can and when the come to you you need use a Aoe stun -> Aoe dmg .

Code: Select all

Pseudo code for mage:
if(mopscount >=2)then
 repeat    
     if(discharge == ready) then
       cast:discharge
     end
      cast:purgatory-fire
    until(all mops dead in 50 range)

  if( player.live < 90%)then
    use:heal
  end
  if( no attack) then
     repeat 
      pause
    until discharge == ready
  end
end
The real hard think is setup MAX_TARGET right so that you doesn't run in group all the time and haven't the "can't see enemy" problem the whole time and yeah setup the chestmonster would be the last problem.

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Fri Aug 23, 2013 11:25 am
by BlubBlab
This monkey do the job:

Code: Select all

<onSkillCast><![CDATA[
	repeat zoneid = RoMScript("GetZoneID()"); until zoneid
	if( zoneid == 352)then
		--- timedelay reduce the time to wait for MAGE_DISCHARGE
		local timedelay = 8  -- reasonable value 1 to 15, suggest less good equiped characters 5 to 8 , good equiped 10 to 15
		-- var fire decrease stress for the bot with the CountTarget function
		local fire = 3   -- reasonable value 1 to 14, l suggest 5 to 8 less good equiped characters 3 to 5 , better equiped 1 to 3
		function CountTargets()
			local counter = 0
			local objectList = CObjectList();
			objectList:update();
				for i = 0,objectList:size() do
					local obj = objectList:getObject(i);
					if( obj ~= nil ) then
						local dist = distance(player.X, player.Z, obj.X, obj.Z)
						if( obj.Type == PT_MONSTER and  dist <= 50)then
							local pawn = CPawn(obj.Address);
							if( pawn.Alive == true)then
								counter = counter +1;
							end
						end
					end
				end
			return counter
		end
		if( CountTargets() >= 2) then
			local skillt = "MAGE_DISCHARGE"
			for i,v in pairs(settings.profile.skills) do
				if( v.Name == skillt ) then
					skillt = v;
					break;
				end
			end
			repeat
				if(skillt:getRemainingCooldown() == 0)then
					player:cast("MAGE_DISCHARGE")
				end
				local counter = 0;
				repeat
					player:cast("MAGE_PURGATORY_FIRE")
					counter = counter + 1;
				until counter >= fire
				
			until CountTargets() == 0

			remain = skillt:getRemainingCooldown()
			if( remain > timedelay)then
				releaseKeys(); -- bot runs too much against walls
				-- timedelay + 1 is because the bot react slowly so we start sooner
                                 
				player:sleep(remain - (timedelay + 1));
			end
			releaseKeys(); -- bot runs too much against walls
		end
	end
	 
	 ]]>
	</onSkillCast>

I tested it with an old Goblin Mine WP that didn't use model or skipping, but it has missing, a chest(pot) at the beginning , Hammerzahn and the chestmonster which called "Imitator" in german (I don't know how it called in english). Rock's ID Addons don't display any ID from the chestmonster
EDIT: I tested it with a character even against 50er Elites -> no way until you are able to run sok solo with it.
I add the WP I used I don't remember from which thread it was(incomplete)

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Tue Aug 27, 2013 1:15 am
by BlubBlab
Some progress:
Okay didn't know that their were a player:countMobs(inrange, onlyaggro, idorname) function... much easier.

Found out the the ID from "Imitator" Rocks Add-on finally displayed it:Image

EPS: I did know that my original plan to use Rocks getid.lua wasn't a good idea to the beginning with but after I tried I know it is impossible, even screenshooting it with the tooltip wasn't so easy.

Im not sure if this thing only has a time counter or/and a value counter, if it has no value counter we could leech a large amount of runes.

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Aug 28, 2013 5:59 pm
by dr-nuker

Code: Select all

  function domimic()
     while player:findNearestNameOrId("Mimic") do
           print("Mimic!")

           mim = player:findNearestNameOrId("Mimic")
           if mim then
             if distance(player.X, player.Z, mim.X, mim.Z) > 100 then
               player:moveTo(CWaypoint(mim.X, mim.Z, mim.Y),true)
             end
           end

           while player.Battling do
                player:fight()
                player:update()
           end 
           
           player:target_Object("Mimic")
           yrest(50)
           player:target_Object("Mimic")
           yrest(250)
     end
  end
Very easy code that I use to get the stack of runes out.
I call this function where the boss spawns and the Point's after. So if the boss died it will spawn the box and then i will loot it...

Edit: English Client... so Mimic must be replaced with "Imitator"

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Aug 28, 2013 11:35 pm
by BlubBlab
I will try this:

Code: Select all

function domimic()
     while player:findNearestNameOrId(122390) do
           print("Mimic!")

           mim = player:findNearestNameOrId(122390)
           if mim then
             if distance(player.X, player.Z, mim.X, mim.Z) > 100 then
               player:moveTo(CWaypoint(mim.X, mim.Z, mim.Y),true)
             end
           end

           while player.Battling do
                player:fight()
                player:update()
           end
           
           player:target_Object(122390)
           yrest(50)
           player:target_Object(122390)
           yrest(250)
     end
  end

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Wed Sep 04, 2013 8:45 am
by garfield_zgz
Hi,

Lately goblins has become in a very good place for farming TP's.Mobs give a great quantity of TP's and can be interesting to create a function not only for completing minigame but farming Tp's creating a loop at the end on the waypoint.

Can anyone have an idea of how to do that? i thing it's question to keep waypoint on after leaving mine and search for Mahler Palo again at door.

If someone can give an idea it would be very appreciated

Thank you very much guys,

Re: Mini game - goblin's mine in Aslan. Solo bot WP

Posted: Mon Sep 09, 2013 6:59 am
by Ivan
Hello,

I did not get you garfield. You want to do the goblin's minigame in a loop? As far as I know you can do it only one per day and per character. Or unless someone found an way (should I call that a bug) to do it several times.