follow and loot.
Posted: Wed Jan 29, 2014 12:22 pm
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.
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>