follow and loot.

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

follow and loot.

#1 Post by Lamkefyned »

Hello, I have the script Grafu and I want the character of this group follow the character and the boss only lotte but on different computers.

For what it's worth this is the modified script Solembum05.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
<!--**************************************************************************************************************************************************************
******************************************************************************************************************************************************************
**																		Graffu Beta																				**
**														 			Create by Solembum05 !																		**
**																																								**
**																																								**
**																																								**
******************************************************************************************************************************************************************
***************************************************************************************************************************************************************-->

																<!--	Options		-->
<!--##############################################################################################################################################################
##																	CHANGE FOLOW OPTION																			##
##																																								##
##		on line 28				sellright = false									set to true if you sell bag contents										##
##				29				sellbag1 = false									true= Sell / false = No Sell												##
##				30				sellbag2 = false									true= Sell / false = No Sell												##
##				31				sellbag3 = true										true= Sell / false = No Sell												##
##				32				sellbag4 = true										true= Sell / false = No Sell												##
##				33				sellbag5 = true										true= Sell / false = No Sell												##
##				34				sellbag6 = true										true= Sell / false = No Sell												##
###############################################################################################################################################################-->

	sellright = true
	sellbag1 = false
	sellbag2 = false
	sellbag3 = false
	sellbag4 = true
	sellbag5 = true
	sellbag6 = true

<!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..==Start Functions==..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
																		###################
																		###!!!WARNING!!!###
																		###################
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++DONT CHANGE THE FOLLOW LINE+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->

	<!-- FUNCTION CHOICE NUMBER RUN -->
		Nbrun = 0
		repeat
			cprintf(cli.lightgreen,"\n\n\n          Welcome On Graffu's farm !\n\n") 
			print("Choose run's number: ")
			print("\nExample: 1400M=350run, 840M=210run, 770M=193run...")
			print("\nNbrun>")
			Nbrun = io.stdin:read()
			Nbrun = tonumber(Nbrun)
		until Nbrun and Nbrun > 0
		
		cprintf(cli.blue, "\n\n				Have nice farm on Graffu Beta !\n				Create by Solembum05 !\n\n\n")
	
		if Nbrun > 750
			then cprintf(cli.red,"\n\n Sorry, Maximum is 750 ! Because 750*4=3000 ! You can't have more of 3000 Mementos \n\n")
			yrest(3000)
			loadPaths("Graffu Beta.xml");
		end
		
		SlashCommand("aid easy")
	
	<!-- FUNCTION TO DEFINE ORIGIN'S WAYPOINT -->
		__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))	

	<!-- FUNCTION UNBRIDLED ENTHUSIAM+LUCKY TARGET -->
		function Buff()
			player:update()
			if not player:hasBuff("506684") 
				then inventory:useItem(207200);
			end
			
			if (not player:hasBuff("506687")) 
				then inventory:useItem(207203);
			end 
		end
		
	<!-- FUNCTION COUNT SELL -->
		Mcount = 0
		function Mcountround()
			Mcount = Mcount+1;
		end
		
	<!-- FUNCTION COUNT DEAD -->
		Dcount = 0
		function Dcountround()
			Dcount = Dcount+1;
		end	
		
	<!-- FUNCTION COUNT BUG -->
		Bcount = 0
		function Bcountround()
			Dcount = Bcount+1;
		end	
		
	<!-- FUNCTION COUNT ANCIENT MEMENTO -->
		Acount = 0
		function Acountround()
			Acount = Count*4;
		end
		
	<!-- FUNCTION COUNT RUN -->
		Count = 0
		function Countround()
			Count = Count+1;
		end
		
	<!-- FUNCTION NUMBER RUN & CHECK MEMENTO'S NUMBER -->
		function number()
			End = 0
			if ( Nbrun == Count )
				then printf("\n\n All run done !\n\n");
				End = 1
				SlashCommand("ILG destroy")
				waitForLoadingScreen()
				__WPL:setWaypointIndex(__WPL:findWaypointTag("return"))
			end
			
			Mentos = inventory:itemTotalCount(206879)
			if ( Mentos == 3000 )
				then printf("\n\n Full Ancient Memento !\n\n");
				End = 1
				SlashCommand("ILG destroy")
				waitForLoadingScreen()
				__WPL:setWaypointIndex(__WPL:findWaypointTag("return"))			
			end
		end
		
	<!-- FUNCTION NUMBER RUN & CHECK MEMENTO'S NUMBER -->
		function lastrun()
			restmentos = 3000 - Mentos;
			lrun= restmentos / 4 ;		
		end
		
	<!-- FUNCTION CHECK BAG -->
		function bag()
			Rightbag = 0
			if ( Rightbag == 0 )
				then
					local bcount = inventory:getItemCount(0)
					if(  5 > bcount ) 
						then
							SlashCommand("ILG destroy")
							waitForLoadingScreen()
							SlashCommand("ILG inv")
							__WPL:setWaypointIndex(__WPL:findWaypointTag("return"))
					end
			end		
		end
		
	<!-- FUNCTION SELL PNJ -->
		function selling()
				if sellright == true
					then
						player:openStore(117127)
						if sellbag1 == true
							then RoMScript("Sellslots1()")
							yrest(1000)
						end
						if sellbag2 == true
							then RoMScript("Sellslots2()")
							yrest(1000)
						end
						if sellbag3 == true
							then RoMScript("Sellslots3()")
							yrest(1000)
						end
						if sellbag4 == true
							then RoMScript("Sellslots4()")
							yrest(1000)
						end
						if sellbag5 == true
							then RoMScript("Sellslots5()")
							yrest(1000)
						end
						if sellbag6 == true
							then RoMScript("Sellslots6()")
							yrest(1000)
						end
					Mcountround()
		
					if End == 1
						then
							player:sleep();								
					end
			else
				Rightbag = Rightbag+1;
				if End == 1
					then
						player:sleep();								
				end
			end		
		end		
		
	<!-- FUNCTION GROUP -->
		function ireset()
			SlashCommand("ILG destroy")
			yrest(500)
			SlashCommand("ILG inv")
		end		
		
	<!-- FUNCTION INFORMATION -->
		function Info()
			cprintf(cli.pink, "\n\nNbr Round done: %s for %s Mementos win !\n", Count, Acount)
			cprintf(cli.pink, "You have %s Mementos ! You chose %s run ! You can do again %s run ! \n",Mentos, Nbrun, lrun)
			cprintf(cli.yellow, "Nbr Sell: %s \n", Mcount)
			cprintf(cli.red, "Nbr Dead: %s and Nbr Bug: %s\n\n", Dcount, Bcount)
		end
	
</onLoad>
						<!-- WAYPOINT MEADOW TO ENTER+GROUP -->
	<!-- #  1 -->	<waypoint x="-8472" z="45468" y="758" tag="start" type="TRAVEL"> changeProfileOption("LOOT",false); ireset() </waypoint>
	<!-- #  2 -->	<waypoint x="-8462" z="45540" y="758" type="TRAVEL"> 
						keyboardPress( key.VK_SPACE );
						waitForLoadingScreen()
 </waypoint>
	
						<!-- WAYPOINT ON GRAFU -->
	<!-- #  3 -->	<waypoint x="351" z="-1455" y="1367" type="NORMAL"> </waypoint>
	<!-- #  4 -->	<waypoint x="307" z="-1168" y="1367" type="NORMAL"> </waypoint>
	<!-- #  5 -->	<waypoint x="258" z="-991" y="1367" type="NORMAL"> </waypoint>
	<!-- #  6 -->	<waypoint x="44" z="-1003" y="1320" type="	TRAVEL"> </waypoint>
	<!-- #  7 -->	<waypoint x="0" z="-1091" y="1255"> changeProfileOption("LOOT",true); </waypoint>
	
						<!-- WAYPOINT USE PREMIDITATION BEFORE BOSS -->
	<!-- #  8 -->	<waypoint x="-192" z="-1041" y="1254">RoMScript("SetTitleRequest(530724)"); Countround() Acountround() yrest(300) </waypoint>
	
						<!-- WAYPOINT AFTER BOSS -->
	<!-- #  9 -->	<waypoint x="5" z="-1001" y="1254"> RoMScript("SetTitleRequest(530427)") Buff() fly() </waypoint>
	<!-- # 10 -->	<waypoint x="44" z="-1003" y="1320" type="TRAVEL"> </waypoint>
	<!-- # 11 -->	<waypoint x="258" z="-991" y="1367" type="TRAVEL"> </waypoint>	
	<!-- # 12 -->	<waypoint x="307" z="-1168" y="1367"> </waypoint>
	<!-- # 13 -->	<waypoint x="351" z="-1455" y="1367"> teleportToWP(14) </waypoint>
	
						<!-- WAYPOINT HIDE'S ROGUE -->
	<!-- # 14 -->	<waypoint x="385" z="-1455" y="1269"> flyoff() keyboardPress( key.VK_SPACE ); player:update() number() lastrun() Info() bag() </waypoint>
	
						<!-- WAYPOINT EXIT  -->
	<!-- # 15 -->	<waypoint x="417" z="-1455" y="1269"> waitForLoadingScreen() __WPL:setWaypointIndex(__WPL:findWaypointTag("start")) </waypoint>				
				
						<!-- WAYPOINT RETURN -->			
	<!-- # 16 --><waypoint x="-7229" z="45429" y="638" type="TRAVEL" tag="return">
						player:update()
						if not player.Mounted then
							player:mount()
						end		</waypoint>
	<!-- # 17 --><waypoint x="-6962" z="45641" y="651" type="TRAVEL">	</waypoint>
	<!-- # 18 --><waypoint x="-6831" z="45808" y="650" type="TRAVEL">	</waypoint>
	<!-- # 19 --><waypoint x="-6805" z="45895" y="670" type="TRAVEL">	</waypoint>
	<!-- # 20 --><waypoint x="-6522" z="46261" y="650" type="TRAVEL">	</waypoint>
	<!-- # 21 --><waypoint x="-6448" z="46387" y="673" type="TRAVEL">	</waypoint>
	<!-- # 22 --><waypoint x="-6424" z="46446" y="627" type="TRAVEL">	</waypoint>
	<!-- # 23 --><waypoint x="-6378" z="46544" y="632" type="TRAVEL">	</waypoint>
	<!-- # 24 --><waypoint x="-6267" z="46771" y="564" type="TRAVEL">	</waypoint>
	<!-- # 25 --><waypoint x="-5575" z="47270" y="534" type="TRAVEL">	</waypoint>
	<!-- # 26 --><waypoint x="-5466" z="47578" y="514" type="TRAVEL">	</waypoint>
	<!-- # 27 --><waypoint x="-5864" z="47998" y="409" type="TRAVEL">	</waypoint>
	<!-- # 28 --><waypoint x="-6127" z="48078" y="409" type="TRAVEL"> selling()	</waypoint>
	<!-- # 29 --><waypoint x="-5699" z="47952" y="435" type="TRAVEL">	</waypoint>
	<!-- # 30 --><waypoint x="-5493" z="47420" y="523" type="TRAVEL">	</waypoint>
	<!-- # 31 --><waypoint x="-5673" z="47166" y="529" type="TRAVEL">	</waypoint>
	<!-- # 32 --><waypoint x="-6631" z="46551" y="592" type="TRAVEL">	</waypoint>
	<!-- # 33 --><waypoint x="-6332" z="46466" y="647" type="TRAVEL">	</waypoint>
	<!-- # 34 --><waypoint x="-6315" z="46439" y="651" type="TRAVEL">	</waypoint>
	<!-- # 35 --><waypoint x="-7095" z="45751" y="712" type="TRAVEL">	</waypoint>
	<!-- # 36 --><waypoint x="-7582" z="45690" y="751" type="TRAVEL"> wallon()	</waypoint>
	<!-- # 37 --><waypoint x="-7659" z="45583" y="789" type="TRAVEL"> 	</waypoint>
	<!-- # 38 --><waypoint x="-7493" z="45532" y="879" type="TRAVEL">	</waypoint>
	<!-- # 39 --><waypoint x="-7508" z="45351" y="969" type="TRAVEL">	</waypoint>
	<!-- # 40 --><waypoint x="-7604" z="45355" y="989" type="TRAVEL">	 
				player:update()
				walloff()
				if player.Mounted then
               player:dismount()
            end
			fly()
			</waypoint>
	<!-- # 41 --><waypoint x="-7680" z="45349" y="977" type="TRAVEL">	</waypoint>
	<!-- # 42 --><waypoint x="-7749" z="45352" y="977" type="TRAVEL">	</waypoint>
	<!-- # 43 --><waypoint x="-7851" z="45307" y="757" type="TRAVEL"> 
						flyoff()
						yrest(1000)
						player:update()
						if not player.Mounted then
							player:mount()
						end		</waypoint>
	<!-- # 44 --><waypoint x="-7930" z="45119" y="756" type="TRAVEL">	</waypoint>
	<!-- # 45 --><waypoint x="-7977" z="45238" y="771" type="TRAVEL">	</waypoint>
	<!-- # 46 --><waypoint x="-8049" z="45334" y="773" type="TRAVEL">	</waypoint>
	<!-- # 47 --><waypoint x="-8311" z="45446" y="758" type="TRAVEL">	</waypoint>
	<!-- # 48 --><waypoint x="-8425" z="45466" y="771" type="TRAVEL"> __WPL:setWaypointIndex(__WPL:findWaypointTag("start")) </waypoint>
</waypoints>
If you think something is right just because everyone else believes,you're not thinking.
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: follow and loot.

#2 Post by Lamkefyned »

help please
If you think something is right just because everyone else believes,you're not thinking.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: follow and loot.

#3 Post by lisa »

What exactly do you need help with?
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
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: follow and loot.

#4 Post by ZZZZZ »

I think they want to know how to make 'alts' follow the main character thats killing and loot each boss after they die for the mems. Different computer doesn't matter, same as using same comp with multiple logged in.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: follow and loot.

#5 Post by lisa »

1 word "complicated"

Personally I would use partyhealer and partydps and post in party chat commands as needed in the WP of the main char but it is something that would require knowledge of exactly what is going on and what is needed, which only the creator would know.

So I could answer specific questions about issues but not
"Hello, I have the script Grafu and I want the character of this group follow the character and the boss only lotte but on different computers"

So yeah say, "hey I want partyhealer to loot a boss" and I will answer it
Ask "How do I make partydps go through portal" and I will answer it.
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
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: follow and loot.

#6 Post by Lamkefyned »

Thank you very much for answering.

And as I do that you say Lisa?

And crossing the portal and activate the fly hack
If you think something is right just because everyone else believes,you're not thinking.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: follow and loot.

#7 Post by lisa »

ambolia wrote:And as I do that you say Lisa?
I think translator failed, I do not understand.
ambolia wrote:crossing the portal
you need to have this in party chat and also have Rock's gothroughportal userfunction.

Code: Select all

sendPartyChat('com"portal"')
ambolia wrote:activate the fly hack
fly doesn't work well with followers as they see you on the ground and not in the air, in this case you will probably need to tell the followers to stop following you and then to teleport using a set of coords.

I think you will need to create userfunctions to be able to do what you want done and then just call them when you need them.
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
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: follow and loot.

#8 Post by Lamkefyned »

But I have to change this?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<onLoad>

	PartyHeals()

	</onLoad>
</waypoints>
or script Graffu?
If you think something is right just because everyone else believes,you're not thinking.
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: follow and loot.

#9 Post by ZZZZZ »

One way to do it is to have your alts running Lisa's party bots, then when each boss dies have your main character type the code into party chat that makes those following you target your target:

EXAMPLE:

Code: Select all

if 0 ==  target.HP/target.MaxHP*100 or (not target.Alive) then
sendpartychat('code"lootBoss()"')
end
and the userfunction lootBoss() is something like:

Code: Select all

player:target(GetPartyMemberName(1))
RoMScript('AssistUnit("party1")');
boss = player:target()
player:loot(boss)
Just an example of what you can do, use it to figure out a simple solution, probably easier ways to do it.
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: follow and loot.

#10 Post by Lamkefyned »

and can not do for zone id?
If you think something is right just because everyone else believes,you're not thinking.
Post Reply