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

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

Author Topic: Timer for shadowweb spinner  (Read 28875 times)

0 Members and 2 Guests are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Timer for shadowweb spinner
« on: May 10, 2008, 05:39:38 pm »
This module shows the remaining time of shadowweb spinners (can be used for grid armor too).

The bot keeps track of logons/logoffs and holds and restarts the timer as needed. This way it got a pretty close knowledge about the remaining time on the SWS. Of course, due to lag in the buddy list or internal calculation it may be off a few minutes.

The bot sends a notice in a tell to the fixer at 1h, 30min, 15min, 5min, 1min and 30sec remaining time.

Commands:
!sws set sets a personal timer for the fixer calling it.
!sws shows the remaining time on the current timer.
!sws clear removes the current timer.


Download here and save as .php into a module directory.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #1 on: May 10, 2008, 05:43:04 pm »
This was a neat module. How come I never thought of it? :p
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #2 on: May 10, 2008, 05:48:09 pm »
This was a neat module. How come I never thought of it? :p
You don't got a fixer prof threatening you with org kicks if you don't write it? :P

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Timer for shadowweb spinner
« Reply #3 on: May 10, 2008, 06:27:01 pm »
why didn't i think of it iver i got i pvp fixer twink. And i have died because of ga running out

Thank you alreadythere

Offline Kieba

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #4 on: June 20, 2008, 01:19:27 pm »
i love this module  ;D

i wrote also a new one (based on that) for our mp's, so they can also handle their shield time (difference here is that the big shields remain 8h and the small shield remain 2h). i did it complete in german, so that i wont post it here, but perhaps alreadythere can do it (including preferrences for the different shield times).

additionally: perhaps u can consider implement in next big release (0.6.x) a multilanguage support. surely i'll translate all strings to german for u. i know a lot of people of other countries using bebot and would be happy if there's multilinguage support.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #5 on: June 20, 2008, 06:32:38 pm »
additionally: perhaps u can consider implement in next big release (0.6.x) a multilanguage support. surely i'll translate all strings to german for u. i know a lot of people of other countries using bebot and would be happy if there's multilinguage support.
This has been discussed in another thread.

(not sure if it's publicly availible tho)
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: Timer for shadowweb spinner
« Reply #6 on: June 20, 2008, 08:34:18 pm »
I tried to use this bot with my existing bebot 4.3 and using the latest 0.5.0 support module and keep getting an error. Do you know if it is compatible with that module currently?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #7 on: June 22, 2008, 10:13:36 am »
I don't know if the module can work with 0.4.3 using Temar's 0.5 support class, never tried nor used it. The core modules I use should all be available in 0.4.3 though.

About MP shield times: I'm currently reworking the module to keep track of SB times, adding shield times won't be much trouble afterwards.

About language support: up till now I never had multi-language support on my list. It would involve quiet a lot of recoding though. Personally I don't got the time for it right now.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Timer for shadowweb spinner
« Reply #8 on: June 23, 2008, 04:25:11 am »
useing this module i have improved the support module and should now work

Offline Kieba

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #9 on: June 23, 2008, 10:28:36 am »
well implement i18n is fairly too much work and surely slow down the bot.

what i'm imagine is to separate the strings of all core things and modules itself. using a setting for lang like "en", "de" etc. and require once in module that file (Trickle.php/Trickle.en/Trickle.de - en/de holding the string in each lang). if *.de not available using default *.en. it should be a solution so that we can still using svn to find differences.

sorry, my english isn't that best, hoping u understand that.

but u r alright, it is much work and u r balance the matter correct if u say other speaking player r the minority.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #10 on: June 23, 2008, 06:39:35 pm »
For php5 I will not use anything but GNU gettext, however i18n support is planned to be incuded in the core of PHP6, and I for one think it unlikely that i18n will be put into the bot before that time. And that's a looong way off.

As for homegrown i18n solutions I do not care much for them. Especially when GNU gettext is availible for the two major platforms that the bot is running on.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #11 on: July 23, 2008, 11:24:16 am »
hm im getting a "fatal error" on line 6.
it says "Class 'SWSTimer' not found on C:\... on line 6.
anyone else got htis problem?

i think that it might have something todo with the "extends BaseActiveModul"
as the modul Aiboss even doent work but the beastday modul works whos without the extend.

should i have to module somewhere? cant find anything over search function :/
« Last Edit: July 23, 2008, 11:32:44 am by Zweiblum »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #12 on: July 23, 2008, 12:56:17 pm »
Are you using bebot 0.5.2?

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #13 on: July 23, 2008, 02:12:46 pm »
yes

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Timer for shadowweb spinner
« Reply #14 on: July 23, 2008, 02:46:45 pm »
Should be in main/ then.

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 167
  • 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