Robot

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Right firstly how the hell does this work lol ? Because iv been trying for last few hours now with differnt ways and following instructions from previous threads such as bons / pratika etc and just cant seem to get the hang of it. I set it all up to times/dates and msgs i want sent etc but no shout appears in game. I recon it could be because i might have a text file named wrong, like the script cant find it, to shout my message.
 

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Ok heres my scripts, was abit dumb not to post them.
Very basic i know but im doing it like this till i can see there fully working.


AutoRunRobot...
Code:
#AutoRun NPC RUNONDAY 20:00 @Fire0
#AutoRun NPC RUNONDAY 20:02 @Fire1
Robot...
Code:
System Fire0
System Fire1

RobotManage...
Code:
[@Fire0]
#ACT
SEMDMSG 7 "Its now 20:00"
BREAK
[@Fire1]
#ACT
SEMDMSG 7 "Its now 20:02"
BREAK

There the only 3 files i have inside Robot_Def
 
Upvote 0

Viper

LOMCN Veteran
Veteran
Feb 14, 2007
519
1
105
Newcastle
Code:
[@Fire0]
#ACT
SE[B][COLOR=Red]M[/COLOR][/B]DMSG 7 "Its now 20:00"
BREAK
[@Fire1]
#ACT
SE[B][COLOR=Red]M[/COLOR][/B]DMSG 7 "Its now 20:02"
BREAK
there you go, change it to...

Code:
SENDMSG 7
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Lol at spelling -.-
Anyways corrected that and the message still dont appear in game.
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Yea i know it takes the time from the host pc, and i change the time to 5 minutes before and reboot and wait in game. And no shout 19:55pm i set my time to on the pc, then reboot and wait.
 
Upvote 0

Viper

LOMCN Veteran
Veteran
Feb 14, 2007
519
1
105
Newcastle
goto C:\Mirserver\M2Server\Envir\ and open the Robot.txt and write inside it:
Code:
System test
goto C:\Mirserver\M2Server\Envir\Robot_def and open RobotManage.txt

add this code:

Code:
[@test]
#ACT
SENDMSG 3 "it works."
break

create a txt file inside C:\Mirserver\M2Server\Envir\Robot_def called like the @command.. in this case test.txt and open it.. write this code inside:

Code:
#AutoRun NPC RUNONDAY 20:00 @test


cant see no reason why this wont work
 
Last edited:
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Well i deleted all my old txt files in there created new ones with the text you put above, rebooted, changed time on pc, still no shout in game.
 
Upvote 0

Viper

LOMCN Veteran
Veteran
Feb 14, 2007
519
1
105
Newcastle
Robot.txt

Code:
System AutoRunRobot
RobotManage.txt

Code:
[@test]
#IF
HOUR 19
MIN 50
#ACT
sendmsg 0 "BattleGround is Open!"
create a txt file inside C:\Mirserver\M2Server\Envir\Robot_def called
AutoRunRobot

text...
Code:
;#AutoRun    NPC    RUNONDAY    19:50    @test
taken from some files i had on pc, i know it works.
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Robot.txt

Code:
System AutoRunRobot
RobotManage.txt

Code:
[@test]
#IF
HOUR 19
MIN 50
#ACT
sendmsg 0 "BattleGround is Open!"
create a txt file inside C:\Mirserver\M2Server\Envir\Robot_def called
AutoRunRobot

text...
Code:
;#AutoRun    NPC    RUNONDAY    19:50    @test
taken from some files i had on pc, i know it works.


Done that... Still dont seem to be working. Doing my head in now -.-
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Robot.txt In envir folder
Code:
AutoRunRobot  AutoRunRobot

RobotManage.txt in robotdef folder
Code:
[@SendRedMsg]
#IF
#ACT
sendmsg 0 "BattleAreana is Open!"

AutoRunRobot.txt in robotdef folder
Code:
#AutoRun	NPC	SEC	10	@SendRedMsg
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Robot.txt In envir folder
Code:
AutoRunRobot  AutoRunRobot

RobotManage.txt in robotdef folder
Code:
[@SendRedMsg]
#IF
#ACT
sendmsg 0 "BattleAreana is Open!"

AutoRunRobot.txt in robotdef folder
Code:
#AutoRun    NPC    SEC    10    @SendRedMsg

Hows this ment to know what time to run then ?
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Works fine on my server just tested it, so you must be doing something wrong :P
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Heres my Rebot_Def folder.. with the text docs inside and showing. If you didnt notice that :001_tt2:
 

Attachments

  • Untitleddsfsdf.jpg
    Untitleddsfsdf.jpg
    96.5 KB · Views: 91
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Like i said u doing it wrong :P u not copied what i shown you on my previose post. Having a ; before a script stops it from working also in the robot.txt dont use system autorunrobot use.... autorunrobot autorunrobot
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
I did, and tested it, didnt work, so i went back to the other one to try it again lol :P
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Gezza to the rescue ! Cheers mate.

Was another text file called Robot in Envir had to delete crap out of it.

Thanks for help all.
 
Upvote 0

Viper

LOMCN Veteran
Veteran
Feb 14, 2007
519
1
105
Newcastle
Gezza to the rescue ! Cheers mate.

Was another text file called Robot in Envir had to delete crap out of it.

Thanks for help all.

glad you got it fixed anyway, couldnt understand why it wouldnt work as i just tested the code i gave you first time to make sure lol

 
Upvote 0