check mon on robot ?

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
hiyas

on euro mir pastbichon had oma etc walking to the timstone now this is easy done but can you check that if mobs are on those cords the robot wont run.?

example from robot which i used to invade bichion.


[@INV2]
#IF
#ACT
MISSION 0 333 266 MISSION
PARAM1 356
PARAM2 237
PARAM3 30
PARAM4 10
MOBPLACE BoneArcher
MOBPLACE BoneBladeMan
MOBPLACE BoneCaptain
SENDMSG 0 Bichion-Province:The_Town_Is_Under_Seige!!!
 

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
370
350
try playing around with this command

checkrangemoncount

CHECKRANGEMONCOUNT mapname x y range = 5

Checks on map called 'mapname' around x,y
if there are 5 mobs in a range, options: =,<,>,>=
 
Upvote 0

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
back to squre one i have tried but m2 gave erros this is the script


[@INV10]
#IF
CHECKRANGEMONCOUNT 6 155 117 range = 5
#ACT
MISSION 6 155 117 MISSION
PARAM1 307
PARAM2 472
PARAM3 30
PARAM4 10
MOBPLACE WingedOma
MOBPLACE AxeOma
MOBPLACE SwordOma
MOBPLACE CrossbowOma
 
Upvote 0

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
MISSION 6 155 117 MISSION <-- take off second mission and see if it works?


i think you are missing the point of this thread it isnt about using the mob mission its about checking mobs on part of the map as the robot will keep spawning mobs regardless of how many are on the map.

so i want the robot to check 6 155 117 which is pastbichion timestone for say 5 mobs then the robot will action the script. but if more than 5 mobs the robot will not work.

i know this works as i have used on server before.
[@INV10]
#IF
#ACT
MISSION 6 155 117 MISSION
PARAM1 307
PARAM2 472
PARAM3 30
PARAM4 10
MOBPLACE WingedOma
MOBPLACE AxeOma
MOBPLACE SwordOma
MOBPLACE CrossbowOma

iceman has kindly suggested using this

CHECKRANGEMONCOUNT 6 155 117 range = 5

which threw up errors in m2 server.


 
Upvote 0

iJam

To the rhythm
VIP
Oct 8, 2007
1,522
99
195
London
[@INV10]
#IF
checkmonmap 6 5
#ACT
SENDMSG 0 Bichion-Province:The_Town_Is_Under_Seige!!!
#ELSEACT
MISSION 6 155 117 MISSION
PARAM1 307
PARAM2 472
PARAM3 30
PARAM4 10
MOBPLACE WingedOma
MOBPLACE AxeOma
MOBPLACE SwordOma
MOBPLACE CrossbowOma

i think that somehow stops mine from running.
Downside is it checks the hole map
 
Upvote 0

iJam

To the rhythm
VIP
Oct 8, 2007
1,522
99
195
London
try addin another 5 on it

CHECKRANGEMONCOUNT 6 155 117 5 5

6=map
155=x
117=y
5=Range
5=Mobs

i may be rong
 
Upvote 0

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
i think you are missing the point of this thread it isnt about using the mob mission its about checking mobs on part of the map as the robot will keep spawning mobs regardless of how many are on the map.

so i want the robot to check 6 155 117 which is pastbichion timestone for say 5 mobs then the robot will action the script. but if more than 5 mobs the robot will not work.

i know this works as i have used on server before.
[@INV10]
#IF
#ACT
MISSION 6 155 117 MISSION
PARAM1 307
PARAM2 472
PARAM3 30
PARAM4 10
MOBPLACE WingedOma
MOBPLACE AxeOma
MOBPLACE SwordOma
MOBPLACE CrossbowOma

iceman has kindly suggested using this

CHECKRANGEMONCOUNT 6 155 117 range = 5

which threw up errors in m2 server.

Yean sorry m8 i totally did lol.

CHECKRANGEMONCOUNT 6 155 117 20 = 5

You dont use "range" you use the range amount like above. 20 being the range and = 5 being the amount of mobs.

Just like iJam has it above. =p
 
Upvote 0

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
seems like it dosnt like the cmd Cmd:CHECKRANGEMONCOUNT NPC:RobotManage through errors in the m2 about param where as before with script with out the checkrange cmd they run fine
 
Upvote 0

Shank

The_Mafia
VIP
Dec 4, 2008
2,082
17
165
make it spawn the mobs then every half hour or hour check if theyre alive and if so make it kill them and spawn a new set?
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
370
350
lemon files dont have alot of the 2.3 commands thats where your problem will be starting
 
Upvote 0

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
lemon files dont have alot of the 2.3 commands thats where your problem will be starting

Think that may be the problem.

Just tested on 2.3 with Robot and it works fine.


Code:
#IF
CHECKRANGEMONCOUNT 6 67 253 20 < 10
#ACT
MISSION 6 67 253
PARAM1 65 
PARAM2 222
PARAM3 5
PARAM4 3
MOBPLACE SwordOma
MOBPLACE AxeOma
MOBPLACE CrossbowOma
MOBPLACE WingedOma
MOBPLACE LureSpider
#ELSEACT
break
 
Last edited:
Upvote 0