BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Jiheld on January 09, 2009, 11:47:05 pm

Title: Question !rtimer
Post by: Jiheld on January 09, 2009, 11:47:05 pm
Hi, got a question about the timers in 6.1

You can set the class of the timers in the bot.
Now i want to set !rtimer on countdown but i cant find where i can do that.
I can do !ptimer and !timer but they dont repeat.

I tried !rtimer countdown 00:00:30 00:00:30 TEST

Then he ends with the countdown but when he repeats he is standard again. etc etc..

Somebody know how to change that?

thnx alot

Jih.
Title: Re: Question !rtimer
Post by: Alreadythere on January 11, 2009, 01:57:43 am
The countdown class isn't targeted at normal created timers, though output-wise it should work ok. Most internally used timer classes would create strange output if used for normal player timers.

In my table the entries for the end of a countdown look ok, the timer handler should be able to find the correct class when updating the repeating timer.

But I didn't have time for real debugging, the function might missbehave.
Title: Re: Question !rtimer
Post by: Jiheld on January 11, 2009, 02:20:49 pm
with !tset you should be able to change the class for the timer, but rtimer isnt there, only private timer and public timer.


thnx for your time :-)
Title: Re: Question !rtimer
Post by: Alreadythere on January 11, 2009, 07:19:55 pm
rtimer is just a special case of timer, using the same timer settings.

There are 3 timer commands, !timer, !ptimer, !rtimer.
!timer is the generic timer command, creating and viewing non-repeating timer in the input channel.
!ptimer is a way to view/set public timer in gc/pgroup using tells.
!rtimer is used to create repeating timer, taking a second time as repeat intervall. Otherwise it's identical to !timer (of course, it can't be used to show registered timers).

The internal handling is identical for all timers.
Title: Re: Question !rtimer
Post by: Jiheld on January 12, 2009, 10:01:59 am
Hi,

Well then !rtimer doesnt work as the other 2. Both settings are on countdown, !timer and !ptimer are counting down. !rtimer only says 10 seconds left..

thnx.

Jih.
Title: Re: Question !rtimer
Post by: Alreadythere on January 12, 2009, 05:06:22 pm
Just to understand the problem:

You have set default class to Countdown using !tset (public and/or private).
You call !timer in the channel and Countdown is used as timer class. Same for !ptimer.

But calling !rtimer in the same channel doesn't work correctly, it still is using a different timer class on the first event?
Or only on 2nd and following timer events?
Title: Re: Question !rtimer
Post by: Jiheld on January 13, 2009, 12:25:26 pm
Yup,

only when i type !rtimer countdown 00:00:30 30 TEST

then only once he countdowns and then the rest is with the old class.
So he doesnt repeat the countdown.

Cheerz

Jih.

Title: Re: Question !rtimer
Post by: Alreadythere on January 13, 2009, 06:02:55 pm
Sounds like a bug, I'll try to find the source.
Title: Re: Question !rtimer
Post by: Jiheld on January 13, 2009, 06:47:29 pm
could be, i use 6.1 version of the bot in AoC

thnx again m8
SimplePortal 2.3.7 © 2008-2024, SimplePortal