Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
tomcat025
Wanderer


Joined: 30 Dec 2001
Posts: 66
Location: USA

PostPosted: Wed Apr 10, 2002 1:39 am   

Couple of problems...help requested
 
I have put in the following (credit goes to Alan C. I believe) to keep track and count down a roundtime using the tick timer:

>>#TRIGGER {*oundtim* (%d)*} {#math roundtimetemp %1;#var roundtime %
>1;#ts %1;#echo "";#cw 222} "ROUNDTIME"
>>#TRIGGER {TICK IN 0 SECONDS.} {#gag;#var roundtime
>0;#ti} "ROUNDTIME"
>>#TRIGGER {Timer now at * secs.} {#gag} "ROUNDTIME"
>>#TRIGGER {Tick timer *abled.} {#gag} "ROUNDTIME"


The problem is, that I keep getting a 0 sent to the mud when the timer reaches 0.

Problem 2 is that I can not get the database to start up. It worked one minute and now nothing. I am using ver. 6.16.

Thanks for any help given,

TC <I'm trying, really I am. :p
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Apr 10, 2002 3:07 am   
 
The problem doesn't appear to be in the script you provided. Check your Timeout command in the Tick Timer settings (from the Action menu or Preferences).

I can't see any way for this to affect the database. Without more information I can't even suggest anything. (I'm probably not the best person to answer on database problems anyway.)

LightBulb
All scripts untested unless otherwise noted
Reply with quote
tomcat025
Wanderer


Joined: 30 Dec 2001
Posts: 66
Location: USA

PostPosted: Wed Apr 10, 2002 4:01 am   
 
In order for the time out to work I have it set at 0. Could it be that Zmud is sending the 0 as a result of this?



TC <I'm trying, really I am. :p
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Apr 10, 2002 5:47 am   
 
Probably not.

Somewhere you have something that maybe
also triggers on the roundtime that maybe
has %1 or something that sends that 0. As
Lightbulb said, nothing posted would cause
that.

As for the database, is it open? Did it
get loaded and put it online? As Lightbulb
points out:
#DBLOAD databasename
#DBONLINE

Ton Diening
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Apr 10, 2002 6:11 am   
 
quote:
In order for the time out to work I have it set at 0. Could it be that Zmud is sending the 0 as a result of this?

Yes. The timeout command is the command that is sent when the ticktimer reaches 0.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
tomcat025
Wanderer


Joined: 30 Dec 2001
Posts: 66
Location: USA

PostPosted: Wed Apr 10, 2002 7:45 am   
 
Ok, since it is the tick timer that is sending the 0, is there a way to mask this? Simply gaging it wont do much. The mud will still take it as bad input. I just dont want this bit sent at all.

Reguardign the database, I had not the chance to input anything into it. I opened it to start inputing data then had to shut down Zmud for some reason or other. When I returned and opened Zmund and attampted to get the database open, it gave me some error. I will check this when I am next able to (Dont ya hate work sometimes). ;) I will post if I can not get it running.

thanks for all of the help guys, I appreciate it

TC <I'm trying, really I am. :p
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Apr 10, 2002 8:52 am   
 
Remove the zero from your timeout command. Just leave it blank.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net