Wanting to write a waypoint for GC easy 1st boss farm

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#21 Post by klassik1 » Wed Dec 14, 2011 3:12 am

Okay. So whats going on here. I still get the error of:
Unknown Profile skill COMBAT_MASTER. Check your manual castings <e.g. in the events or waypoint files>. Be sure the skill is in the skills section of your profile.
Did not find any crashed game clients.
scripts/rom/classes/player.lua:597: attempt to concatenate field 'Name' <a nil value>

Heres my current waypoint:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-8463" z="45453" y="758" tag="try again">	</waypoint>
	<!-- #  2 --><waypoint x="-8459" z="45539" y="758">
        if not waitForLoadingScreen(30) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
        end	</waypoint>
        <!-- #  3 --><waypoint x="351" z="-1450" y="1269"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  4 --><waypoint x="312" z="-1376" y="1269">	</waypoint>
	<!-- #  5 --><waypoint x="303" z="-1223" y="1247">	</waypoint>
	<!-- #  6 --><waypoint x="293" z="-1020" y="1247">	</waypoint>
	<!-- #  7 --><waypoint x="15" z="-1005" y="1255">  
        player:cast("ROGUE_INFORMER")
        player:cast("ROGUE_FERVENT_ATTACK")
        player:cast("ROGUE_ASSASSINS_RAGE")
        player:cast("ROGUE_ENERGY_THIEF")
        player:cast("ROGUE_PREMEDITATION") 	</waypoint>
	<!-- #  8 --><waypoint x="-211" z="-1004" y="1254">	</waypoint>
	<!-- #  9 --><waypoint x="7" z="-1018" y="1254"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  10 --><waypoint x="365" z="-1017" y="1247">	</waypoint>
	<!-- #  11 --><waypoint x="362" z="-1187" y="1247">	</waypoint>
	<!-- # 12 --><waypoint x="335" z="-1427" y="1269">	</waypoint>
	<!-- # 13 --><waypoint x="415" z="-1448" y="1269"> yrest(10000)	</waypoint>
	<!-- # 14 --><waypoint x="-8472" z="45468" y="758"> 
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("COMBAT_MASTER")
          end
        if not player:hasBuff("POISONOUS") then
         player:cast("POISON")
          end
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("YAWAKAS_BLESSING")
          end
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useIem("UNBRIDLED_ENTHUSIASM")
          end
        if not player:hasBuff("UNIMAGINABLE_SALAD") then
         inventory:useIem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
          end		</waypoint>
</waypoints> 

and heres the skills section of my profile.xml where it calls the specific skills i have called for in the waypoints:

Code: Select all

<skill name="ROGUE_HIDE"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_ASSASSINS_RAGE"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_ENERGY_THIEF"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_FERVENT_ATTACK"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_PREMEDITATION"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_INFORMER"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_POISON"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_YAWAKAS_BLESSING"    hotkey="MACRO" priority="50" autouse="false"/>
                <skill name="ROGUE_COMBAT_MASTER"    hotkey="MACRO" priority="50" autouse="false"/>
	
	
	</skills_rogue> 
I dont understand why it does not start the check buff / rebuff part when the route is complete. The bot casts my Cooldowns with no problem. Casts Hide with no problem. But the bot crashes when it zones back outside and trys to check buffs / re-buff. Have i written something wrong somewhere?

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#22 Post by lisa » Wed Dec 14, 2011 3:47 am

Code: Select all

        inventory:useIem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
         inventory:useIem("UNBRIDLED_ENTHUSIASM")
useIem ??

I think you mean

useItem

when calling skill use the name you have in profile

"ROGUE_POISON" not "POISON"

Code: Select all

player:cast("ROGUE_POISON")
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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#23 Post by klassik1 » Fri Dec 16, 2011 5:05 pm

ah, lol thats what i get for trying to write it at 4am. lol

Okay, this waypoint is just about complete. but, i have one more question. How would i call for the bot to teleport to a certain location?
basically, ive noticed, when im sneaking past the first mobs in GC easy. It sometimes still aggros them, and i want to eliminate that possibility.

What would be the correct code to make the bot teleport to each waypoint?
i have the teleport userfunction in my userfunctions.

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#24 Post by lisa » Fri Dec 16, 2011 8:45 pm

teleport(X,Z,Y)
for example

Code: Select all

teleport(4080,3974,30)
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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#25 Post by klassik1 » Fri Dec 16, 2011 9:01 pm

How do i write that into the waypoint.xml ?

Do i mark the points just like normal? Erase the waypoints and just replace with: teleport(x,z,y) ?

Like would i erase:
<!-- # 3 --><waypoint x="351" z="-1450" y="1269"> </waypoint>

and replace with

Teleport(351,-1450,1269)

?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Wanting to write a waypoint for GC easy 1st boss farm

#26 Post by rock5 » Fri Dec 16, 2011 9:22 pm

You wouldn't delete the waypoint just in case it fails to teleport. If it fails to teleport or gets pulled back then you want it to still walk to that waypoint and not pass it up. So I think you wan something like this.

Code: Select all

<!-- # 2 --><waypoint x="331" z="-1430" y="1269">teleport(351,-1450,1269) </waypoint>
<!-- # 3 --><waypoint x="351" z="-1450" y="1269">teleport(371,-1470,1269) </waypoint>
<!-- # 4 --><waypoint x="371" z="-1470" y="1269"> </waypoint>
Note, though, teleport is limited to distances of less than 120. If greater, then it will do multiple hops and may still aggro the mob. Also if you teleport too far too fast you might still get pulled back.
  • 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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#27 Post by klassik1 » Sat Dec 17, 2011 1:13 am

okay. heres my script.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-8463" z="45453" y="758" tag="try again">	</waypoint>
	<!-- #  2 --><waypoint x="-8457" z="45569" y="758">
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
        end	</waypoint>
        <!-- #  3 --><waypoint x="351" z="-1450" y="1269"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  4 --><waypoint x="304" z="-1376" y="1270"> teleport(304,-1376,1270)	</waypoint>
	<!-- #  5 --><waypoint x="304" z="-1301" y="1257"> teleport(304,-1301,1257)	</waypoint>
	<!-- #  6 --><waypoint x="302" z="-1215" y="1247"> teleport(302,-1215,1247)	</waypoint>
	<!-- #  7 --><waypoint x="299" z="-1135" y="1247"> teleport(299,-1135,1247)	</waypoint>
	<!-- #  8 --><waypoint x="291" z="-1055" y="1247"> teleport(291,-1055,1247)	</waypoint>
	<!-- #  9 --><waypoint x="253" z="-1013" y="1247"> teleport(253,-1013,1247)	</waypoint>
	<!-- #  10 --><waypoint x="177" z="-1016" y="1247"> teleport(177,-1016,1247)	</waypoint>
	<!-- #  11 --><waypoint x="76" z="-1018" y="1247"> teleport(76,-1018,1247)	</waypoint>
	<!-- #  12 --><waypoint x="17" z="-1009" y="1255"> teleport(17,-1009,1255)	</waypoint>
	<!-- #  13 --><waypoint x="15" z="-1005" y="1255"> teleport(15,-1005,1255)  
        player:cast("ROGUE_INFORMER")
        player:cast("ROGUE_FERVENT_ATTACK")
        player:cast("ROGUE_ASSASSINS_RAGE")
        player:cast("ROGUE_ENERGY_THIEF")
        player:cast("ROGUE_PREMEDITATION") 	</waypoint>
	<!-- #  14 --><waypoint x="-211" z="-1004" y="1254">	</waypoint>
	<!-- #  15 --><waypoint x="7" z="-1018" y="1254"> player:cast("ROGUE_HIDE")    </waypoint>
	<!-- #  16 --><waypoint x="17" z="-1009" y="1255"> teleport(17,-1009,1255)	</waypoint>
        <!-- #  17 --><waypoint x="76" z="-1018" y="1247"> teleport(76,-1018,1247)	</waypoint>
        <!-- #  18 --><waypoint x="177" z="-1016" y="1247"> teleport(177,-1016,1247)	</waypoint>
        <!-- #  19 --><waypoint x="253" z="-1013" y="1247"> teleport(253,-1013,1247)	</waypoint>
        <!-- #  20 --><waypoint x="291" z="-1055" y="1247"> teleport(291,-1055,1247)	</waypoint>
        <!-- #  21 --><waypoint x="299" z="-1135" y="1247"> teleport(299,-1135,1247)	</waypoint>
        <!-- #  22 --><waypoint x="302" z="-1215" y="1247"> teleport(302,-1215,1247)	</waypoint>
        <!-- #  23 --><waypoint x="304" z="-1301" y="1257"> teleport(304,-1301,1257)	</waypoint>
        <!-- #  24 --><waypoint x="304" z="-1376" y="1270" tag="again2"> teleport(304,-1376,1270) player:cast("ROGUE_HIDE")	</waypoint>
        <!-- #  25 --><waypoint x="440" z="-1455" y="1269"> teleport(440,-1455,1269)
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("again2"))
        end	</waypoint>
	<!-- # 26 --><waypoint x="-8472" z="45468" y="758"> 
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("ROGUE_COMBAT_MASTER")
          end
        if not player:hasBuff("POISONOUS") then
         player:cast("ROGUE_POISON")
          end
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("ROGUE_YAWAKAS_BLESSING")
          end
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useItem("UNBRIDLED_ENTHUSIASM")
          end
        if not player:hasBuff("UNIMAGINABLE_SALAD") then
         inventory:useItem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
          end		</waypoint>
</waypoints>

problem: The bot walks to each waypoint, then, teleports to the same waypoint. instead of just teleporting.

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#28 Post by lisa » Sat Dec 17, 2011 1:31 am

if you notice in rock's example the teleport is to the next coords, not the current coords

Code: Select all

<!-- # 2 --><waypoint x="331" z="-1430" y="1269">teleport(351,-1450,1269) </waypoint>
<!-- # 3 --><waypoint x="351" z="-1450" y="1269">teleport(371,-1470,1269) </waypoint>
<!-- # 4 --><waypoint x="371" z="-1470" y="1269"> </waypoint>
So you need to do teleports 1 step ahead.

So in your code

Code: Select all

<!-- #  4 --><waypoint x="304" z="-1376" y="1270"> teleport(304,-1301,1257)   </waypoint>
   <!-- #  5 --><waypoint x="304" z="-1301" y="1257"> teleport(302,-1215,1247)   </waypoint>
   <!-- #  6 --><waypoint x="302" z="-1215" y="1247">    </waypoint>

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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#29 Post by klassik1 » Sat Dec 17, 2011 2:39 am

okay, i fixed the teleport paths. I also added in the use of swimhack because the bot would want to rebound back when trying to run. Now, with swimhack. Works perfect.

but!

when zoning in. My screen is all white and i have to stuck report to get out. Im not sure why it started doing this. Maybe needs a rest on the "zone in" waypoint. Or, i set the x,z,y co ords to far into the blue vortex for it to reach it? i do not know. its 4am again and i will try more tomorrow. any ideas?


heres my code

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-8463" z="45453" y="758" tag="try again">	</waypoint>
	<!-- #  2 --><waypoint x="-8457 z="45569" y="758">
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
        end	</waypoint>
        <!-- #  3 --><waypoint x="351" z="-1450" y="1269"> player:cast("ROGUE_HIDE") 
        fly()	</waypoint>
	<!-- #  4 --><waypoint x="295" z="-1379" y="1269"> teleport(299,-1316,1260)	</waypoint>
	<!-- #  5 --><waypoint x="299" z="-1316" y="1260"> teleport(307,-1265,1248)	</waypoint>
	<!-- #  6 --><waypoint x="307" z="-1265" y="1248"> teleport(301,-1200,1247)	</waypoint>
	<!-- #  7 --><waypoint x="301" z="-1200" y="1247"> teleport(298,-1125,1247)	</waypoint>
	<!-- #  8 --><waypoint x="298" z="-1125" y="1247"> teleport(295,-1066,1247)	</waypoint>
	<!-- #  9 --><waypoint x="295" z="-1066" y="1247"> teleport(294,-1002,1247)	</waypoint>
	<!-- #  10 --><waypoint x="294" z="-1002" y="1247"> teleport(230,-1017,1247)	</waypoint>
	<!-- #  11 --><waypoint x="230" z="-1017" y="1247"> teleport(176,-1026,1247)	</waypoint>
	<!-- #  12 --><waypoint x="176" z="-1026" y="1247"> teleport(112,-1023,1247)	</waypoint>
	<!-- # 13 --><waypoint x="112" z="-1023" y="1247"> teleport(46,-1007,1248)	</waypoint>
	<!-- # 14 --><waypoint x="46" z="-1007" y="1248"> teleport(15,-1005,1255)	</waypoint>
	<!-- #  15 --><waypoint x="15" z="-1005" y="1255">   
        player:cast("ROGUE_INFORMER")
        player:cast("ROGUE_FERVENT_ATTACK")
        player:cast("ROGUE_ASSASSINS_RAGE")
        player:cast("ROGUE_ENERGY_THIEF")
        player:cast("ROGUE_PREMEDITATION") 	</waypoint>
	<!-- #  16 --><waypoint x="-211" z="-1004" y="1254">	</waypoint>
	<!-- #  17 --><waypoint x="7" z="-1018" y="1254"> player:cast("ROGUE_HIDE")
         teleport(46,-1007,1248) </waypoint>
	<!-- # 18 --><waypoint x="46" z="-1007" y="1248"> teleport(112,-1023,1247)  </waypoint>
        <!-- # 19 --><waypoint x="112" z="-1023" y="1247"> teleport(176,-1026,1247)	</waypoint>
        <!-- #  20 --><waypoint x="176" z="-1026" y="1247"> teleport(230,-1017,1247)	</waypoint>
        <!-- #  21 --><waypoint x="230" z="-1017" y="1247"> teleport(294,-1002,1247)	</waypoint> 
        <!-- #  22 --><waypoint x="294" z="-1002" y="1247"> teleport(295,-1066,1247)	</waypoint>
        <!-- #  23 --><waypoint x="295" z="-1066" y="1247"> teleport(298,-1125,1247)	</waypoint>
        <!-- #  24 --><waypoint x="298" z="-1125" y="1247"> teleport(301,-1200,1247)	</waypoint>
        <!-- #  25 --><waypoint x="301" z="-1200" y="1247"> teleport(307,-1265,1248)	</waypoint>
        <!-- #  26 --><waypoint x="307" z="-1265" y="1248"> teleport(299,-1316,1260)	</waypoint>
        <!-- #  27 --><waypoint x="299" z="-1316" y="1260"> teleport(295,-1379,1269)	</waypoint>
        <!-- #  28 --><waypoint x="295" z="-1379" y="1269"> teleport(304,-1376,1270)	</waypoint>
        <!-- #  29 --><waypoint x="304" z="-1376" y="1270" tag="again2"> teleport(440,-1455,1269) player:cast("ROGUE_HIDE")	</waypoint>
        <!-- #  30 --><waypoint x="440" z="-1455" y="1269"> 
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("again2"))
        end	</waypoint>
	<!-- # 31 --><waypoint x="-8472" z="45468" y="758"> 
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("ROGUE_COMBAT_MASTER")
          end
        if not player:hasBuff("POISONOUS") then
         player:cast("ROGUE_POISON")
          end
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("ROGUE_YAWAKAS_BLESSING")
          end
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useItem("UNBRIDLED_ENTHUSIASM")
          end
        if not player:hasBuff("UNIMAGINABLE_SALAD") then
         inventory:useItem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
          end		</waypoint>
</waypoints>


it runs perfect inside. only problem is trying to zone into gc.

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#30 Post by woah » Sat Dec 17, 2011 5:32 pm

I fixed the error and the problem porting in. Works perfect. :D I added in some wait times to make sure it doesn't rebound, but depending on how fast you kill Cayus and how fast you port in/out you can make them shorter. Here's the code.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="-8463" z="45453" y="758" tag="try again">   </waypoint>
   <!-- #  2 --><waypoint x="-8459" z="45555" y="758"> yrest(5000)
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
        end   </waypoint>
        <!-- #  3 --><waypoint x="351" z="-1450" y="1269"> player:cast("ROGUE_HIDE") 
        fly()   </waypoint>
   <!-- #  4 --><waypoint x="295" z="-1379" y="1269"> teleport(299,-1316,1260)   </waypoint>
   <!-- #  5 --><waypoint x="299" z="-1316" y="1260"> teleport(307,-1265,1248)   </waypoint>
   <!-- #  6 --><waypoint x="307" z="-1265" y="1248"> teleport(301,-1200,1247)   </waypoint>
   <!-- #  7 --><waypoint x="301" z="-1200" y="1247"> teleport(298,-1125,1247)   </waypoint>
   <!-- #  8 --><waypoint x="298" z="-1125" y="1247"> teleport(295,-1066,1247)   </waypoint>
   <!-- #  9 --><waypoint x="295" z="-1066" y="1247"> teleport(294,-1002,1247)   </waypoint>
   <!-- #  10 --><waypoint x="294" z="-1002" y="1247"> teleport(230,-1017,1247)   </waypoint>
   <!-- #  11 --><waypoint x="230" z="-1017" y="1247"> teleport(176,-1026,1247)   </waypoint>
   <!-- #  12 --><waypoint x="176" z="-1026" y="1247"> teleport(112,-1023,1247)   </waypoint>
   <!-- # 13 --><waypoint x="112" z="-1023" y="1247"> teleport(46,-1007,1248)   </waypoint>
   <!-- # 14 --><waypoint x="46" z="-1007" y="1248"> teleport(15,-1005,1255)   </waypoint>
   <!-- #  15 --><waypoint x="15" z="-1005" y="1255">   flyoff()
        player:cast("ROGUE_INFORMER")
        player:cast("ROGUE_FERVENT_ATTACK")
        player:cast("ROGUE_ASSASSINS_RAGE")
        player:cast("ROGUE_ENERGY_THIEF")
        player:cast("ROGUE_PREMEDITATION")    </waypoint>
   <!-- #  16 --><waypoint x="-211" z="-1004" y="1254">   </waypoint>
   <!-- #  17 --><waypoint x="7" z="-1018" y="1254"> fly() player:cast("ROGUE_HIDE")
         teleport(46,-1007,1248) </waypoint>
   <!-- # 18 --><waypoint x="46" z="-1007" y="1248"> teleport(112,-1023,1247)  </waypoint>
        <!-- # 19 --><waypoint x="112" z="-1023" y="1247"> teleport(176,-1026,1247)   </waypoint>
        <!-- #  20 --><waypoint x="176" z="-1026" y="1247"> teleport(230,-1017,1247)   </waypoint>
        <!-- #  21 --><waypoint x="230" z="-1017" y="1247"> yrest(9000) teleport(294,-1002,1247)   </waypoint> 
        <!-- #  22 --><waypoint x="294" z="-1002" y="1247"> teleport(295,-1066,1247)   </waypoint>
        <!-- #  23 --><waypoint x="295" z="-1066" y="1247"> teleport(298,-1125,1247)   </waypoint>
        <!-- #  24 --><waypoint x="298" z="-1125" y="1247"> teleport(301,-1200,1247)   </waypoint>
        <!-- #  25 --><waypoint x="301" z="-1200" y="1247"> teleport(307,-1265,1248)   </waypoint>
        <!-- #  26 --><waypoint x="307" z="-1265" y="1248"> teleport(299,-1316,1260)   </waypoint>
        <!-- #  27 --><waypoint x="299" z="-1316" y="1260"> teleport(295,-1379,1269)   </waypoint>
        <!-- #  28 --><waypoint x="295" z="-1379" y="1269"> teleport(304,-1376,1270) flyoff()   </waypoint>
        <!-- #  29 --><waypoint x="304" z="-1376" y="1270" tag="again2"> player:cast("ROGUE_HIDE") </waypoint>
	<!-- #  30 --><waypoint x="440" z="-1455" y="1269">
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("again2"))
        end   </waypoint>
   <!-- # 31 --><waypoint x="-8472" z="45468" y="758"> yrest(5000)
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("ROGUE_COMBAT_MASTER")
          end
        if not player:hasBuff("POISONOUS") then
         player:cast("ROGUE_POISON")
          end
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("ROGUE_YAWAKAS_BLESSING")
          end
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useItem("UNBRIDLED_ENTHUSIASM")
          end
        if not player:hasBuff("UNIMAGINABLE_SALAD") then
         inventory:useItem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
          end      </waypoint>
</waypoints>
Oh, and there's one problem. It uses combat master and poison even if I already have the buff.

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#31 Post by lisa » Sat Dec 17, 2011 9:39 pm

When checking buff names you should be using the actual game name

Code: Select all

player:hasBuff("Combat Master")
not

Code: Select all

player:hasBuff("Combat_Master")
I tested using commandline

Code: Select all

Command> print(player:hasBuff("Combat Master"))
true    1
Command> print(player:hasBuff("Combat_Master"))
false

Another way is to use the Id of the buff which you can get from skills database.

Code: Select all

Command> combatmaster = GetIdName(501921) print(player:hasBuff(combatmaster))
true    1

--=== Edit ===--

Actually you can just use the buff Id in the code

Code: Select all

Command> print(player:hasBuff(501921))
true    1
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

klassik1
Posts: 57
Joined: Wed Oct 19, 2011 12:38 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#32 Post by klassik1 » Sat Dec 17, 2011 9:40 pm

ok, this will be the last question! route runs Flawlessly!
for some reason, the buff check isnt working. and its just casting the buffs, and since combat master, etc. is already on. its just turning it off, then running in. any ideas?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- #  1 --><waypoint x="-8463" z="45453" y="758" tag="try again"> 
SlashCommand("ILG destroy");
   yrest(2000)
   SlashCommand("ILG inv");
   yrest(2000)  </waypoint>
   <!-- #  2 --><waypoint x="-8459" z="45555" y="758"> yrest(2000)
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
        end   </waypoint>
	<!-- #  3 --><waypoint x="343" z="-1456" y="1269"> player:cast("ROGUE_HIDE") fly()	</waypoint>
	<!-- #  4 --><waypoint x="344" z="-998" y="1302">	</waypoint>
	<!-- #  5 --><waypoint x="19" z="-996" y="1255"> flyoff()
player:cast("ROGUE_FERVENT_ATTACK")
        player:cast("ROGUE_ASSASSINS_RAGE")
        player:cast("ROGUE_ENERGY_THIEF")
        player:cast("ROGUE_PREMEDITATION")	</waypoint>
	<!-- #  6 --><waypoint x="-234" z="-995" y="1254"> 	</waypoint>
	<!-- #  7 --><waypoint x="19" z="-1013" y="1256"> fly() player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  8 --><waypoint x="329" z="-999" y="1306">	</waypoint>
	<!-- #  9 --><waypoint x="316" z="-1396" y="1269"> flyoff() player:cast("ROGUE_HIDE")	</waypoint>
<!-- #  10 --><waypoint x="440" z="-1455" y="1269">
        if not waitForLoadingScreen(10) then
           __WPL:setWaypointIndex(__WPL:findWaypointTag("again2"))
        end   </waypoint>
   <!-- # 11 --><waypoint x="-8472" z="45468" y="758"> yrest(2000)
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("ROGUE_COMBAT_MASTER")
          end
        if not player:hasBuff("POISONOUS") then
         player:cast("ROGUE_POISON")
          end
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("ROGUE_YAWAKAS_BLESSING")
          end
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useItem("UNBRIDLED_ENTHUSIASM")
          end
        if not player:hasBuff("UNIMAGINABLE_SALAD") then
         inventory:useItem("HOUSEKEEPER_SPECIAL_UNIMAGINABLE_SALAD")
          end      </waypoint>
</waypoints>

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#33 Post by woah » Sat Dec 17, 2011 9:47 pm

2nd to last question actually haha.
We plan to run this script in a group of 2 players. There are two problems.
1. We need a ready check, to make sure both players are at the boss before using cooldowns and going. Does anyone know any good ways to do this?
2. Sometimes when we aggro the boss, only 1 player will start fighting it, and the other will reach the boss waypoint (a waypoint in the center of the room that aggroes the boss) and then continue to the next waypoint without fighting the boss. Is there a way to make it target the boss and use shadowstab at the boss waypoint, so it forces it into combat?

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#34 Post by lisa » Sat Dec 17, 2011 9:56 pm

its just turning it off, then running in. any ideas?
I answered that already.
woah wrote:Is there a way to make it target the boss and use shadowstab at the boss waypoint, so it forces it into combat?
Actually you need to work out why it isn't attacking in the first place.

Could be many things, first check your profile settings. If in party then make sure to set the party options to true.

Code: Select all

		<option name="PARTY"			value="true" />
		<option name="PARTY_INSTANCE"	value="true" />
PARTY_INSTANCE set to true negates the issue of boss HP compared to player HP.

Also check the lvl

Code: Select all

		<option name="TARGET_LEVELDIF_ABOVE" value="10" />
		<option name="TARGET_LEVELDIF_BELOW" value="60" />
Things like that.
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

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#35 Post by woah » Sat Dec 17, 2011 10:09 pm

Hmm, all of those settings are identical to yours. I think we just need to find a way to force it to target "Cayus" at that waypoint and use some skill to get it started.
Also, we ran into problems with both of us looting at the same time, one player isnt able to loot and just continues to the next waypoint.
And the ready-check issue.

Sorry for all these questions haha, but you guys are a really big help :D


Edit: Is there a way for it to check if I 'recieved Ancient Memento' before moving on? And keep trying to loot until it fulfills that?
Last edited by woah on Sat Dec 17, 2011 10:18 pm, edited 1 time in total.

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#36 Post by lisa » Sat Dec 17, 2011 10:16 pm

profile option

Code: Select all

		<option name="LOOT_ALL"				value="true" /> 
with that it should try to loot a few times before giving up, So one character will be first to loot and the other should try a couple of times.

Other solution is to have the ranged character has a rest after leaving combat, so it pauses before trying to loot. Melee character should be first to loot as they will be closest to mob/boss.
woah wrote:And the ready-check issue.
Issue has been raised a few times with various solutions posted, try doing a search =)
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: Wanting to write a waypoint for GC easy 1st boss farm

#37 Post by lisa » Sat Dec 17, 2011 11:25 pm

Have a look at this for a possible solution to the party checking.

http://www.solarstrike.net/phpBB3/viewt ... =30&t=3297
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

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#38 Post by woah » Sat Dec 17, 2011 11:52 pm

I think were using that, we found one of your posts in another thread with a partycheck userfunction and some code to go with it. It seems to work, were trying to get the not-attacking and looting figured out right now. I think the loot_all was the fix we needed for the looting.

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Wanting to write a waypoint for GC easy 1st boss farm

#39 Post by woah » Sun Dec 18, 2011 12:07 am

There's still the problem of one character simply not seeing the boss.
Ideas:
Have something like "if not in combat, yrest(3000)" at that waypoint, to give it time to see the boss and enter combat.
Have something like "target Cayus use shadowstab" at that way point.

Would either of these work?

Edit: Scratch that. I fixed the not attacking problem with a rest.
But it still wont loot. :l

Edit #2: Rofl I had crashed and click to move was disabled. It loots.

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

Re: Wanting to write a waypoint for GC easy 1st boss farm

#40 Post by lisa » Sun Dec 18, 2011 12:33 am

So everything is fine now?
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 1 guest