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

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

#1 Post by klassik1 » Sat Dec 03, 2011 3:13 am

Hello,
I am wanting to write a waypoint for GC easy 1st boss mento farm. Now, there are a few things that i would have to add into the script.

One thing, making the character enter/leave the instance.
another, have it drop party, and re-inv to an alt.

I've never wrote a waypoint like this, so i have no idea on the script needed for something like this.
If someone could help me with how to do those specific things, i will post my GC easy mode 1st boss mem farm script on here.

Thank you

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

#2 Post by lisa » Sat Dec 03, 2011 3:24 am

well first thing to concider is how to invite/accept invite.

Is the other character also botting?
Will you use any addons to handle accept/invites?

I personally prefer to use an addon to handle the autoaccepting and inviting, not sure if I posted my version of coi on here or not.
coi is an addon, Come On In, it handles inviting and accepting invites if set to do so.

Another addon is called autoacceptinvite, something like that anyway.

The reason you need to decide these things before trying to do the code is because each setup needs to be handled differently.
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

#3 Post by klassik1 » Sat Dec 03, 2011 3:24 am

also, i would need... When i get to the waypoint right before the boss, to use my cooldowns. i know how to put in your profile to use the skills on your hotkeys, but there would be extra script involved for it to only use the cooldowns before the boss, and not the on trash mobs before it.

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

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

#4 Post by klassik1 » Sat Dec 03, 2011 3:26 am

I will solo the instance. and just autoacceptinvite a random alt. I believe the addon GroupInvite has autoaccept invite. Do you have an addon that you prefer for the autoaccept invite ?

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

#5 Post by lisa » Sat Dec 03, 2011 4:23 am

Well it all comes down to personal preference.

I used COI for ages but the auto accepting invite was not reliable.

I also used an addon called Invite Last Group, this can be handy in different occasions.

AutoAcceptInvitations is very reliable for just accepting invites, accepts from anyone though which isn't ideal.

For farming instances I go with Invite Last Group, using this means you don't need to have character names anywhere in your bot coding. You start group and then the addon saves the names of characters in group and reinvites them when required.
The other character still needs to accept the invite though, which AutoAcceptInvitations is good for, since you will only be out of party for a very short time, there is no issue of someone else inviting you as you are always in group.
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

#6 Post by klassik1 » Sat Dec 03, 2011 7:28 am

Yes, i currently have Invite Last Group on my main char. And i just now downloaded "AutoAcceptInvitations" addon for my alt.

I would really like the route to just start directly outside of the gc instance. Go inside. Maybe Flyhack over the first mobs (if that isn't too difficult. I have userfunction_swimhack.lua in my userfunctions already) and engage the 1st boss. Kill, loot, fly back over the mobs. zone out. Drop group. Re-invite. and Repeat.

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

#7 Post by lisa » Sat Dec 03, 2011 7:46 am

Well you can try creating the WP yourself, shouldn't be to hard.

As for the coding for group things use this.

Code: Select all

	SlashCommand("ILG destroy"); -- uninvites entire party
	yrest(2000) -- 2 second pause
	SlashCommand("ILG inv"); -- reinvites previous party
	yrest(2000) -- 2 second pause
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

rubenr
Posts: 49
Joined: Sat Aug 20, 2011 11:26 pm

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

#8 Post by rubenr » Sat Dec 03, 2011 1:19 pm

How can you make the group to be outside the instance or inside the instance (by the boss) at the same time?

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

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

#9 Post by klassik1 » Sun Dec 04, 2011 2:42 am

i am writing it myself... but all i know how to do is mark waypoints. I do not know the correct code to call for swimhack... now you have told me how to re-inv group so i will try that and see how that works.

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

#10 Post by lisa » Sun Dec 04, 2011 2:45 am

Just use

Code: Select all

fly()
to start flying and

Code: Select all

flyoff()
to stop flying.
If you put together the actual waypoints using createpath I can help you add in what ever code you want, just need to say what you need to do =)
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

#11 Post by klassik1 » Fri Dec 09, 2011 6:10 am

ah thank you! Sorry i have been busy with work and other things. I haven't had a chance to play around with the waypoints just yet. Im going to test some out tonight. Thanks for your help! I will let you know how things work alittle later.

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

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

#12 Post by klassik1 » Tue Dec 13, 2011 4:31 am

okay so first trials of using the waypoints.

As soon as i go into GC, i go way into a wall and instantly die. I have no idea what thats about all. but, heres my waypoint so far. I havent been able to test it further than as soon as it zones into GC though. I just insta-die after i zone in gc. any ideas?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	 SlashCommand("ILG destroy");
         yrest(2000)
         SlashCommand
         yrest(2000)
        <!-- #  1 --><waypoint x="-8462" z="45473" y="758">	</waypoint>
	<!-- #  2 --><waypoint x="-8456" z="45534" y="774">	</waypoint>
	<!-- #  3 --><waypoint x="337" z="-1456" y="1269">	</waypoint>
         fly()
	<!-- #  4 --><waypoint x="338" z="-1382" y="1334">	</waypoint>
	<!-- #  5 --><waypoint x="335" z="-1042" y="1339">	</waypoint>
	<!-- #  6 --><waypoint x="179" z="-986" y="1339">	</waypoint>
	<!-- #  7 --><waypoint x="20" z="-1001" y="1285">	</waypoint>
	 flyoff()
        <!-- #  8 --><waypoint x="-88" z="-1001" y="1254">	</waypoint>
	<!-- #  9 --><waypoint x="34" z="-1000" y="1275">	</waypoint>
         fly()
	<!-- # 10 --><waypoint x="230" z="-1004" y="1343">	</waypoint>
	<!-- # 11 --><waypoint x="338" z="-1048" y="1343">	</waypoint>
	<!-- # 12 --><waypoint x="330" z="-1460" y="1343">	</waypoint>
         flyoff()
	<!-- # 13 --><waypoint x="415" z="-1453" y="1269">	</waypoint>
</waypoints>

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

#13 Post by lisa » Tue Dec 13, 2011 4:39 am

Your code at the start confuses me a little.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- #  1 --><waypoint x="-8462" z="45473" y="758">
SlashCommand("ILG destroy");
yrest(2000)
SlashCommand("ILG inv");
yrest(2000)
</waypoint>
<!-- #  2 --><waypoint x="-8456" z="45534" y="774">   </waypoint>
   <!-- #  3 --><waypoint x="337" z="-1456" y="1269"> fly()  </waypoint>
         
   <!-- #  4 --><waypoint x="338" z="-1382" y="1334">   </waypoint>
   <!-- #  5 --><waypoint x="335" z="-1042" y="1339">   </waypoint>
   <!-- #  6 --><waypoint x="179" z="-986" y="1339">   </waypoint>
   <!-- #  7 --><waypoint x="20" z="-1001" y="1285"> flyoff()  </waypoint>
    
        <!-- #  8 --><waypoint x="-88" z="-1001" y="1254">   </waypoint>
   <!-- #  9 --><waypoint x="34" z="-1000" y="1275">  fly() </waypoint>
         
   <!-- # 10 --><waypoint x="230" z="-1004" y="1343">   </waypoint>
   <!-- # 11 --><waypoint x="338" z="-1048" y="1343">   </waypoint>
   <!-- # 12 --><waypoint x="330" z="-1460" y="1343"> flyoff()  </waypoint>
         
   <!-- # 13 --><waypoint x="415" z="-1453" y="1269">   </waypoint>
</waypoints>


I think you mean something like that.

At waypoint 1 it will disband the party and then invite same members again.
Is that what you wanted?

I also moved the fly calls, they need to be between the > <

Code: Select all

 >  code goes here   </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

#14 Post by klassik1 » Tue Dec 13, 2011 6:53 am

okay, so i have a better idea.
Im a rogue so i can just sneak to the boss. How do you call for the bot to use a specific skill at a certain waypoint? Sneak / CDs

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

#15 Post by lisa » Tue Dec 13, 2011 7:10 am

player:cast("skillname")

so you would use

Code: Select all

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

#16 Post by klassik1 » Tue Dec 13, 2011 3:49 pm

.
Last edited by klassik1 on Tue Dec 13, 2011 4:16 pm, edited 1 time in total.

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

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

#17 Post by klassik1 » Tue Dec 13, 2011 4:14 pm

Okay, Im getting an error.

Unknown profile skill ROGUE_HIDE. 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.
micromacro/scripts/rom/classes/player.lua:597: attempt to concatenate field 'Name' <a nil value>

then the bot shuts down.


Heres my script so far.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-8463" z="45453" y="758"> 
SlashCommand("ILG destroy");
yrest(2000)
SlashCommand("ILG inv");
yrest(2000)	</waypoint>
	<!-- #  2 --><waypoint x="-8459" z="45539" y="758"> yrest(10000)	</waypoint>
	<!-- #  3 --><waypoint x="351" z="-1455" y="1269"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  4 --><waypoint x="312" z="-1409" y="1269">	</waypoint>
	<!-- #  5 --><waypoint x="295" z="-1016" y="1247">	</waypoint>
	<!-- #  6 --><waypoint x="21" z="-1002" 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>
	<!-- #  7 --><waypoint x="-156" z="-999" y="1254">	</waypoint>
	<!-- #  8 --><waypoint x="15" z="-1001" y="1255"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  9 --><waypoint x="290" z="-1019" y="1247">	</waypoint>
	<!-- # 10 --><waypoint x="317" z="-1420" y="1269">	</waypoint>
	<!-- # 11 --><waypoint x="415" z="-1445" y="1269">	</waypoint>
</waypoints>


okay, i have another question.
lets say, as soon as i zone in each new round. i want it to check if certain buffs are on. Like, Combat Master, Poison, yawaka's blessing, things like that. What would be the correct code for it to Check the buff bar, and to buff if needed? Can this be used for potions too? Like - Unbridled Enthusiasm?

also, im having trouble sometimes zoning in. What i did was, i have the waypoints leading up to the blue vortex to zone in, and as soon as i step into the blue vortex, i press the button to mark the waypoint. And, after testing it, ive noticed sometimes it zones in, and sometimes it just sit there not triggering the 'zone in'. Is there a more sure way to make sure the bot zones in?

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

#18 Post by rock5 » Tue Dec 13, 2011 5:23 pm

klassik1 wrote:Be sure the skill is in the skills section of your profile.
Be sure the skill is in the skills section of your profile.

If you don't want a skill to be used until you use it then set autouse="false", eg.

Code: Select all

		<skill name="ROGUE_HIDE"    hotkey="MACRO" priority="50" autouse="false"/>
klassik1 wrote:lets say, as soon as i zone in each new round. i want it to check if certain buffs are on. Like, Combat Master, Poison, yawaka's blessing, things like that. What would be the correct code for it to Check the buff bar, and to buff if needed? Can this be used for potions too? Like - Unbridled Enthusiasm?
You check buffs like this

Code: Select all

if not player:hasBuff("buffname") then
    inventory:useIem("potionname")
    -- or
    player:cast("skillname")
end
klassik1 wrote:also, im having trouble sometimes zoning in
People handle this different ways. What I do is, check to see if waitforloadingscreen() worked. If no then go to the previous waypoint and try again. eg.

Code: Select all

<!-- waypoint # 45 --> <waypoint x="" z="" tag="try again"> </waypoint>
<!-- waypoint # 46 --> <waypoint x="" z="">
if not waitForLoadingScreen(30) then
   __WPL:setWaypointIndex(__WPL:findWaypointTag("try again"))
end</waypoint>
In this example point 45 is the point before the teleport with a tag of "try again". Point 46 is the point inside the portal. If it fails to portal after 30 (you can change that value) then it goes back to the previous waypoint and approaches again.
  • 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

#19 Post by klassik1 » Tue Dec 13, 2011 7:09 pm

Now, I'm getting an error at the very end of the route. it says:
scripts\rom/bot.lua:785: Failed to compile and run Lua code for waypoint #1

is this because of the code i tried to add in at the last waypoint?
heres all of my code so far: (im going to add in the drop party / re-inv to the first waypoint once i get the route down perfect)

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="-1455" y="1269"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  4 --><waypoint x="312" z="-1409" y="1269">	</waypoint>
	<!-- #  5 --><waypoint x="295" z="-1016" y="1247">	</waypoint>
	<!-- #  6 --><waypoint x="21" z="-1002" 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>
	<!-- #  7 --><waypoint x="-156" z="-999" y="1254">	</waypoint>
	<!-- #  8 --><waypoint x="15" z="-1001" y="1255"> player:cast("ROGUE_HIDE")	</waypoint>
	<!-- #  9 --><waypoint x="290" z="-1019" y="1247">	</waypoint>
	<!-- # 10 --><waypoint x="317" z="-1420" y="1269">	</waypoint>
	<!-- # 11 --><waypoint x="415" z="-1445" y="1269"> 
        if not player:hasBuff("COMBAT_MASTER") then
         player:cast("COMBAT_MASTER")
        if not player:hasBuff("POISONOUS") then
         player:cast("POISON")
        if not player:hasBuff("YAWAKAS_BLESSING") then
         player:cast("YAWAKAS_BLESSING")
        if not player:hasBuff("UNBRIDLED_ENTHUSIASM") then
         inventory:useIem("UNBRIDLED_ENTHUSIASM")
        end	</waypoint>
</waypoints>




did i not write the check buff / rebuff part right? Because for some reason its not cycling back to the 1st waypoint.. Other then that, its running perfectly now!

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

#20 Post by rock5 » Tue Dec 13, 2011 8:55 pm

Each 'if' statement needs an 'end'.
  • 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest