Moderator: MacroQuest Developers

Code: Select all
[Netherbian Lair]
NotMob1=A Haven Guard
NotMob2=A Haven Customs Inspector
NotMob3=A Haven Customs Officer
NotMob4=#Legionnaire Hyuni
Mob1=A Netherbian Drone
Mob2=A Netherbian Warrior
Mob3=#A Netherbian Swarmcaller
Loot1=Porous Mineral Block
Loc1=471.62, -253.49
Loc2=375.91, -258.13
Loc3=382.94, -412.25
Loc4=478.81, -406.58
Loc5=482.48, -325.36
Loc6=385.64, -320.41
Loc7=388.33, -465.80
Loc8=215.27, -469.23
Loc9=221.23, -261.75
Loc10=387.36, -249.06
Loc11=275.78, -262.52
Loc12=219.15, -268.31
Loc13=209.90, -202.36
Loc14=214.97, -7.61
Loc15=411.70, -1.65
Loc16=470.62, -57.66
[Shadeweaver's Thicket]
NotMob1=A Haven Guard
NotMob2=A Haven Customs Inspector
NotMob3=A Haven Customs Officer
NotMob4=#Legionnaire Hyuni
Mob1=a lesser shade
Mob2=a skeletal hunter
Mob3=#A Netherbian Swarmcaller
Loot1=Swirling Shadows
Loc1=2052.88, -1961.27
Loc2=1987.78, -2342.15
Loc3=2036, -2113
Loc4=1936, -1993Code: Select all
|
| Everytime you wish to add a zone in please add this line of
| code in and update all the settings:
|
| /if (${Zone.Name.Equal[*Zone Name*]}) {
| /echo Netherbian Lair
| /varset RV_LootAllItems 1
| /varset SetMobs 1
| /varset NotMobs 1
| /varset SetRadius 12
| /varset SetZRadius 10
| }
|
| *Zone Name* = Replace this with the new zone name.
| RV_LootAllItems = Set to 1 to loot all the items or 0 if they
| are set in the ini.
| SetMobs = Set to 1 if you have specified which mobs to kill
| in the ini or 0 if you haven't.
| NotMobs = Set to 1 if you have specified which mobs to not tp kill
| even if you get aggro in the ini or 0 if you haven't.
| SetRadius = Radius around you that it will search for a mob.
| SetZRadius = The up and down radius around you that it will
| search for a mob.
Sub Setup
/if (${Zone.Name.Equal[Netherbian Lair]}) {
/echo Netherbian Lair
/varset RV_LootAllItems 0
/varset SetMobs 1
/varset NotMobs 1
/varset SetRadius 1200
/varset SetZRadius 1000
}
/return
Sub Setup
/if (${Zone.Name.Equal[Shadeweaver's Thicket]}) {
/echo Netherbian Lair
/varset RV_LootAllItems 0
/varset SetMobs 1
/varset NotMobs 0
/varset SetRadius 7000
/varset SetZRadius 200
}
/return
Code: Select all
Sub Setup
/if (${Zone.Name.Equal[Netherbian Lair]}) {
/echo Netherbian Lair
/varset RV_LootAllItems 0
/varset SetMobs 1
/varset NotMobs 1
/varset SetRadius 1200
/varset SetZRadius 1000
}
/if (${Zone.Name.Equal[Shadeweaver's Thicket]}) {
/echo Shadeweaver's Thicket
/varset RV_LootAllItems 0
/varset SetMobs 1
/varset NotMobs 0
/varset SetRadius 7000
/varset SetZRadius 200
}
/returnThe move include would help you here it has some slight error checking on getting stuck. If you need anything more in depth then you will need to write in certain paths for what you want to run to as to stop it from getting stuck.Twen wrote:ok the kill radius works now and so does the loot thing. just have a prob with running into rocks and trees =/ any bits of code around that i could just paste in? i searched saw some things but wasnt sure if they would help or not.
