collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot  (Read 10722 times)

0 Members and 1 Guest are viewing this topic.

Offline Sabkor

  • Contributor
  • *******
  • Posts: 30
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #15 on: December 19, 2005, 07:25:48 pm »
I've been using this for a couple days now and love it, however, there's one thing I think needs to be changed/added. After the servers came up today, the apf.timestamp file was unreachable, so the bot tried to update from it, updated the timestamp to 0 and then kept announcing over and over and over that the gates were opening right now ;)

Two things that would be nice in light of this:
- If the timestamp is 0 from the database, it obviously hasn't been setup yet, so don't announce.
- A manual way of setting the timestamp

(I'm currently adding these to mine, but I figured I'd post anyhow, in case you're still working on this for the masses ;) )

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #16 on: December 19, 2005, 07:30:40 pm »
hehe ditto. same issue, just started using it yesterday and bam no workie today... :(


Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #17 on: December 19, 2005, 10:35:13 pm »
I seem to have lost internet connectivity earlier. It's fixed now.

I've already made updates to my module so that it will recache the current data for another hour if it fails to contact my site.

Right now, I still consider this a pre release. It works almost all the time right now in ideal conditions. ;)

For 1.0 I'm working on the following:

- Better error handling
- Changing of the Web update url. (If someone is running a website for RK2, 3, or test...)
- Enable/Disable Web Updates
- Manually adjusting the time (!setapf +HH:MM:SS, !setapf -HH:MM:SS, !setapf now. Any manual adjustment to time disables web updates, !setapf web will automatically enable web updates.)
- Full configuration of the auto alerts in pgroup and gc.
    - All pgroup alerts on/off
    - All gc alerts on/off
    - On/off for 6, 5, 4, 3, 2, 1 hour alerts
    - On/off for 45, 30, 15, 5, 0 minute alerts
« Last Edit: December 20, 2005, 04:46:37 pm by Glarawyn »

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #18 on: December 22, 2005, 02:46:33 am »
Wow, I never thought I'd finish things this quickly. Basically, every feature I mentioned above is done, has been tested, and it works.

All that I need to do is finish it is add a few key settings checks and a nice clickable menu for all the settings, and update the helpfiles.

Given the upcoming Big Damn Holiday, I probally won't finish it until after Christmas, but I should have it ready before 2006.  ;D

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #19 on: December 30, 2005, 09:21:37 pm »
new version bump. See first post.

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #20 on: December 31, 2005, 02:56:52 am »
Now that is impressive. :D
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #21 on: January 11, 2006, 09:00:48 pm »
Found a bug where !apf set web was not enabling automatic web updates.

Also updated the help file to not crash AORC. New version is 0.9.8. Link in first post updated.

Offline ZubZero

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #22 on: January 17, 2006, 08:22:24 pm »
Just wanna say thanks for a great module, keep up the good work!

Offline sentry

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #23 on: March 03, 2006, 03:53:36 am »
Really nice work!!! was wondering, How does the website get the server uptime?

Thanks
-Sent

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #24 on: March 03, 2006, 06:30:30 am »
Really nice work!!! was wondering, How does the website get the server uptime?

When FunCom restarts the servers while I'm at work, I usually stick the uptime from the AO launcher in there, then make adjustments based on the Unicorn Gatekeeper's shouting when I get home.

I also run a customized version of the module on one of my bots that I can use to update the website via the bot. Recently some of my org mates voulenteered to help keep the timer up to date as I'm usually working when funcom restarts servers. :)

Offline sentry

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #25 on: March 03, 2006, 01:04:45 pm »
Thanks for the info, wanted to try and use the server uptime on your website to calculated kaehler spawn time.. and wanted to know how accurate it was...

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #26 on: March 06, 2006, 10:18:18 pm »
Thanks for the info, wanted to try and use the server uptime on your website to calculated kaehler spawn time.. and wanted to know how accurate it was...

Well it really depends. If you read the code you'll notice I have two types of timestamps that I can seed with. One called Gatetime, and another called Uptime. Uptime is the server uptime. When I orignally wrote the Guesstimator, the uptime on the launcher MOTD was pretty much dead on. A few months later tthe uptime FunCom put on the launcher wasn't dead on, so I added gatetime. Gatetime is a time when the Unicorn Gatekeeper shouts "I'm opeing the gates now!"

Guessing the gate openings is sligtly different for an uptime and a gatetime. When the servers are first started, the gates open 7 hours later. After that they open every 7 hour and 12 minutes. (7 hours between gates, gates are open for 10 minutes, it takes the Gatekeeper about 2 minutes to run around opening gates.)

All I can really promise is that my timestamp info will work for APF. :)

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #27 on: February 03, 2007, 05:28:49 am »
In all honesty, I wouldn't try this under 0.3. It was written for 0.2, and as my first PHP and BeBot project it wasn't done all that well.  ;D

I've got a new version in development that will eventually work for 0.3/0.4, but it's on the back burner at the moment while we get BeBot 0.4 ready.

Run it on BeBot 0.2 and you'll have no problems. ;D

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Glarawyn's Alien Playfield Spawn Time Guesstimator for BeBot
« Reply #28 on: June 22, 2007, 09:45:31 pm »
Ive got this working on bebot 0.3.4
because of lots of changed to setting table i make these changes
i added this to top
Code: [Select]
$db -> query("CREATE TABLE IF NOT EXISTS apfsettings(
`setting` VARCHAR(20) NOT NULL,
`value` VARCHAR(100) NOT NULL,
PRIMARY KEY (`setting`),
UNIQUE (`setting`)
           )");
and change all MySql Queries on it to apfsettings instead of settings
i havnt tested this but if u put #___ before apfsettings the prefix will prob work too but i dont care so i didnt bother

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 314
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal