[2.3] Server Monster Spawn

Mu online season 21 - grand opening

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Is it possible to make a monster spawn from the robots?
I'm trying to make a boss spawn once every hour(if it hasnt already been killed), and a server shout saying "Boss has risen from the dead" or whatever.

Could anybody recommend me how to do this?
Robot system seems to be slightly different or so I've heard.

My only thought of doing this would to be add the following to AutoRunRobot.txt

#IF
CHECKREALMONMAP 0
#ACT
SENDMSG 0 "X Boss has awoken.."
MONGENEX (mapname) (X) (Y)
#ELSEACT
SENDMSG 0 "It seems the X Boss hasnt been killed! Go get him!"

Any information/scripting would be v useful.
Cheers
 
Last edited:

Scorpian

Golden Oldie
Golden Oldie
Jul 8, 2003
728
37
165
Manchester
You need to set a rate at which it executes the command in robot1.txt and then in robotmanage.txt place the script (or whatever files your using)




CHECKREALMONMAP <MAP> <COUNT>
or use CHECKRANGEMONCOUNT map x y range = count


Global shouts like this can cause lag spikes however
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Currently using 2.3 files at the mo.
Would the following content work?

AutoRunRobot:
Obviously these times will run from 00:00 to 23:00

#AutoRun NPC RUNONDAY 00:00 @Great
#AutoRun NPC RUNONDAY 01:00 @Great
#AutoRun NPC RUNONDAY 02:00 @Great
#AutoRun NPC RUNONDAY 03:00 @Great
#AutoRun NPC RUNONDAY 04:00 @Great
#AutoRun NPC RUNONDAY 05:00 @Great
#AutoRun NPC RUNONDAY 06:00 @Great
#AutoRun NPC RUNONDAY 07:00 @Great

RobotManage:

[@Great]
#IF
MIN 00
#ACT
Goto @ GreatLord

[@GreatLord]
#IF
CHECKREALMONMAP MAP 0
#ACT
MONGENEX (mob) (map) (x) (y)
SENDMSG 0 "X mob has arisen from the dead"
#ELSEACT
SENDMSG 0 "X Mob is still alive! Who can kill him first?"
break
 
Upvote 0

Scorpian

Golden Oldie
Golden Oldie
Jul 8, 2003
728
37
165
Manchester
As far as I can tell but you don't need the first part if its spawning at o clock already?

Oh the autorun bit is wrong should it not be RUNONHOUR 0 ..1 ..2 ..3 ..etc
 
Last edited:
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
This is true, i'll give it a bash and see what happens

---------- Post Merged on 03-11-2012 at 02:24 AM ---------- Previous Post was on 02-11-2012 at 04:08 PM ----------

Cant seem to get it working, any ideas what I'm doing wrong?

Heres what i've got in my Robot_def folder:

AutoRunBot.txt
#AutoRun NPC RUNONMIN 59 @Great

RobotManage.txt
[@Great]
#IF
CHECKMAPMONCOUNT Ant3 < 1
#ACT
MONGENEX Ant3 68 68 GreatLord 1 1
SENDMSG 0 "=The GreatLord has arisen from the dead!"
#ELSEACT
SENDMSG 0 "=The GreatLord is still alive! Who can kill him first?"
break

Envir/Robot.txt
AutoRunRobot AutoRunRobot
 
Upvote 0