L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 04:31:18 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: GlaraAPF for 0.4
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: GlaraAPF for 0.4  (Read 1237 times)
0 Members and 1 Guest are viewing this topic.
Dracutza
Apprentice
***
Offline Offline

Posts: 126


GlaraAPF for 0.4
« on: July 25, 2007, 10:17:09 PM »

Is anyone working on a 0.4 compatible version of a apf timers/guesstimator?
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 887



WWW
Re: GlaraAPF for 0.4
« Reply #1 on: July 25, 2007, 10:31:21 PM »

i have a working 1
this is mine altho it has room for improvement..
i just did a quickfix

Basicly All i have done is got the old version Told it to make its Own Table as the New setting table is alot different now and changed all the mysql queries to new table

Edit:
http://bebot.shadow-realm.org/0-4-x-customunofficial-modules/apf-timer-for-bebot-0-4!/
« Last Edit: April 05, 2008, 10:12:13 PM by Temar » Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Glarawyn
BeBot Developer
Champion
********
Online Online

Posts: 414



Re: GlaraAPF for 0.4
« Reply #2 on: July 26, 2007, 09:45:55 AM »

Of course I am.  Grin
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #3 on: July 26, 2007, 11:53:36 AM »

Very cool  Smiley
* Dracutza patciently waiting
Logged
Glarawyn
BeBot Developer
Champion
********
Online Online

Posts: 414



Re: GlaraAPF for 0.4
« Reply #4 on: July 27, 2007, 06:12:48 PM »

Got it all updated for 0.4, using BeBot's settings module removed over 500 lines of code. (over 50% of the module!)

Still has a few bugs in output that I need to sort out before releasing it.

Also letting it run on a few test bots a bit to see if it crashes anything. Wink

And updating it located a bug in BeBot 0.4.0, so win win all around.  Grin
Logged
Glarawyn
BeBot Developer
Champion
********
Online Online

Posts: 414



Re: GlaraAPF for 0.4
« Reply #5 on: July 30, 2007, 10:56:44 AM »

Nothing major appeared over the weekend, so here it is!.
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #6 on: July 30, 2007, 08:50:58 PM »

<3

works like a charm
Logged
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: GlaraAPF for 0.4
« Reply #7 on: July 31, 2007, 01:41:37 AM »

mmmmmm, APF hawtness....

Thanks Glara!!
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #8 on: August 01, 2007, 10:42:07 AM »

Just a question though.  I had the same issue with the old apf mod on 0.3.x.

Everyonce in a while, the timer will double announce itself.  There doesn't appear to be any reason or pattern, other than it's the timed auto-announce, "The gates will be opening in 1 hour," thing.

The new code on the new bot did it once this morning at the 30 minute count.

Any idea why that may be?
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: GlaraAPF for 0.4
« Reply #9 on: August 01, 2007, 11:58:47 AM »

If it occurs while the bot is very busy it might cause the cronjob to run a second time before the first cronjob call has finished.
I still don't quite understand how though as everything should happen in a serialized fashion, nothing parallel about BeBot.

This is only a suspicion though based on a similar issue with logon tells.
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Glarawyn
BeBot Developer
Champion
********
Online Online

Posts: 414



Re: GlaraAPF for 0.4
« Reply #10 on: August 01, 2007, 12:16:58 PM »

Odd, the APF auto alert is a 1 minute cron job to keep cron spammage down, the auto alerts are just rounded off. The only thing I can think of is the bot was busy enough that the first cron didn't run exactly 60 seconds before the next cron job, thus the result from time() was a second or two off.
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #11 on: August 01, 2007, 03:31:03 PM »

there is a 2 or 3 second delay when this does happen, which is only from time to time.

sounds like it's just me though
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #12 on: April 03, 2008, 10:00:28 AM »

Quote from: Temar on July 25, 2007, 10:31:21 PM
Basicly All i have done is got the old version Told it to make its Own Table as the New setting table is alot different now and changed all the mysql queries to new table

yours, Temar makes it's own table?  So i can feed several bots off of one entry?

Logged
Glarawyn
BeBot Developer
Champion
********
Online Online

Posts: 414



Re: GlaraAPF for 0.4
« Reply #13 on: April 03, 2008, 10:12:13 AM »

If you're on RK1 you can set the bot to auto update and the APF timer should just work. For RK1 the global timer is set by Campalot (Omni/Neut APF raid bot.) There are multiple people maintaining this, so it's usually on time.
Logged
Dracutza
Apprentice
***
Offline Offline

Posts: 126


Re: GlaraAPF for 0.4
« Reply #14 on: April 03, 2008, 10:32:47 AM »

yeah i know.

But I have people who are literally timer nazis in our org.  When the web update is off by... yes... seconds... i get people crying "bot is off!" and anyone with the ability doing !apf set now.

That in its self is not a problem, except that we have 3 bots that benefit from the APF mod, and when someone changes one and not the other... next thing I know I have 3 bots giving various times.

If I could get it it's own table, and have the ability to set one bot to write and the others to read-only(like the tower mod,) my little time keepers can have a !apf set now parade and at least all bots will be on the same time.

All is all not a big deal.  Just thinking of ways to simplify things.

BTW, this version works fine in 0.5 except for !help apf.  Instead of getting a link for the help file, i get the link and a tell with the whole help display
Quote
To [bot]: !help apf
bot: help on  ::::: HELP ON APF :::::
APF/Outzone timer module by Glarawyn.
 !apf - Displays when th Outzone gates will open.
 !apf set -HH:MMS - Remove HH:MMS from the current APF timer.
 !apf set +HH:MMS - Add HH:MMS to the current APF timer.
 !apf set HH:MMS - Set APF timer to HH:MMS remaining.
 !apf set now - Sets the timer. Use when Gatekeeper shouts "I'm opening the gates now!"
 !apf set web - Sets the timer from the data available at the source web site. (Usually zibby.isa-geek.net)
 !apf set gatetime|uptime HH:MMS - Sets the feed time.
 !apf writestamp - Writes out the timestamp information to a text file for feeding the web based timer.
NOTES:
All apf set commands except set web will disable automatic updates from the website.
 !apf set web sets the timer from the website and enables automatic web updates.">apf
Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: GlaraAPF for 0.4
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 7
Guests: 17
Total: 24
upstart
vikor
Sudoka
Glarawyn
Snarfblatt
Vingus

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.232 seconds with 29 queries. (Pretty URLs adds 0.031s, 4q)
Loading...