This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

can this be done ?

Old posts that have not been replied to for several years.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

How do you mean when it is set too one? if you set that timer too 1 instead of sixtey the bot will die a minute after joining a server.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
d
domp
Voice
Posts: 13
Joined: Wed Apr 13, 2005 6:35 am

Post by domp »

yeah exactly,

I have the same problem with a regged version.
I added this in a *.tcl

Code: Select all

bind evnt - init-server dieproc 

proc dieproc { } { 
        timer 1 {die "Bot restarting"} 
Although the tcl is loaded the bot doesnt die. I'm testing atm, didnt try the restart yet.
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

^DooM^ wrote:How do you mean when it is set too one? if you set that timer too 1 instead of sixtey the bot will die a minute after joining a server.
i mean 1 hours :)
d
domp
Voice
Posts: 13
Joined: Wed Apr 13, 2005 6:35 am

Post by domp »

Anyone who know the answer ? I can't get it to work...

My fault ?

Tia :)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Wrong!

Code: Select all

timer 1 {die "Bot restarting"} 
Right:

Code: Select all

timer 60 {die "Bot restarting"} 
1 = 60 seconds
60 = 60 minutes

Try reading what ^DooM^ has posted. Can't be too difficult, surely! :wink:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
domp
Voice
Posts: 13
Joined: Wed Apr 13, 2005 6:35 am

Post by domp »

domp wrote:

Code: Select all

bind evnt - init-server dieproc 

proc dieproc { } { 
        timer 1 {die "Bot restarting"} 
Although the tcl is loaded the bot doesnt die. I'm testing atm, didnt try the restart yet.

I mean the last part, I understand it would die after a minute. But it just doesnt seem to work
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

bind evnt - init-server dieproc 

proc dieproc { } { 
        timer 60 {die "Bot restarting"} 
}
Notice the end closing brace?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
domp
Voice
Posts: 13
Joined: Wed Apr 13, 2005 6:35 am

Post by domp »

my fault was a copy n paste error my be. Just here in the code....

Could u do me a favor and see if it works for you ?

I have no idea what's causing this problem.
Locked