Booya
collapse collapse

Menu

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search


* Board Stats

  • stats Total Members: 1066
  • stats Total Posts: 18273
  • stats Total Topics: 2482
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 323

Author Topic: BeBot v0.5.2 released (development version)  (Read 11486 times)

0 Members and 1 Guest are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
BeBot v0.5.2 released (development version)
« on: May 29, 2008, 03:27:43 pm »
This development version has several internal clean-ups, removing old structures. Besides that it offers a few bugfixes since 0.5.1. Most notable change is the move of autoinvite and mass-message settings for the users over to the preferences - which are defined on a per-user-base anyways.

Downloads
[BeBot 0.5.2 Zip Archive]
[BeBot 0.5.2 Tar.gz Archive]

Changelog to 0.5.1:
- Moved auto-invites to preferences
- Moved recieving mass-announcements and mass-invites to preferences and these settings are now honored.
- Added repeat interval to !timers output.
- !timers is now an alias for !timer, !timer without any argument lists all current timers too now.
- Settings del() now does a SQL query if called for a specific setting of a module.
- All functions in Preferences enforce lower-case for module and setting names.
- Added exists() function to preferences.
- Autoinvite is no longer set when adding users, it's fully controlled via preferences and settings.
- The minimum access level needed to receive MassMsgs is defined by a setting now. Default it GUEST.
- Autoinvite no longer spams people already in the private chat group.
- send_output() now logs wrong channel types, instead of trying to send tells.
- AlienAttack module creates correct output in gmsg() parsing now.
- Added Option to not use que when calling core("chat") -> buddy_add.
- Botname is ucfirst(strtolower())'ed before passing it to MySQL class.
- modules/Is.php has been re-written to add support for alts look-up

Edit by Blueeagle:
This is a development version of the bot. Please do not use this version as a live bot as it is very likely to be broken. However we do appreciate all help with finding bugs and help fixing them.
« Last Edit: June 01, 2008, 08:00:10 pm by Blueeagle »

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
    • Ascension's Home
Re: BeBot v0.5.2 released (development version)
« Reply #1 on: May 30, 2008, 12:54:51 pm »
getting an error message upon update:

Fatal error: cannot redeclare class Preferences_core in preferences.php on line 239

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
Re: BeBot v0.5.2 released (development version)
« Reply #2 on: May 30, 2008, 02:57:41 pm »
Preferences got moved from core directory into main directory. Simply delete the one you got under core/

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
    • Ascension's Home
Re: BeBot v0.5.2 released (development version)
« Reply #3 on: May 30, 2008, 03:07:39 pm »
yeah found that out when I was going through the directory structure, just couldn't reply as was on my way to work at the time...almost had me worried  ;)


Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #4 on: June 01, 2008, 04:22:36 am »
i think massinv is broken.  message goes out but no invite.

plus...

Mass invite beeing sent. Please stand by...

being

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
Re: BeBot v0.5.2 released (development version)
« Reply #5 on: June 01, 2008, 02:50:11 pm »
Expected functionality is:
!announce <message> should send a tell to all people whose access level is higher than settings->minaccess.

!massinv <message> should send a tell to all people whose access level is higher than settings->minaccess and whose preferences->MassMsg->recieve_invites is Yes.

The default in the bot is for the preference to be set to 'No'. You can change this default if you have the required access level by looking at !preferences MassMsg. Since the setting only has two options changing the default will make everybody recieve mass invites until the people that doesn't want mass invites changes their preferences to 'No'.

Edit: Default setting in SVN is now for recieve_invite as 'Yes'.
Edit2: I think the 'beeing' was a pun to find out what the buzz is about. :p

I hope that helps.
« Last Edit: June 01, 2008, 02:59:38 pm by Blueeagle »
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #6 on: June 01, 2008, 06:03:34 pm »
well that makes sense, but how sure are you it works?  this was with the old... wait... i'll try the 7 second old SVN first. :p



bot [2008-06-01 15:59:32]     [TELL]  [INC]   Dracutza: member
bot [2008-06-01 15:59:32]     [TELL]  [OUT]   -> Dracutza: 2 members in bot :: [link]click to view[/link]
bot [2008-06-01 15:59:42]     [TELL]  [INC]   Dracutza: !massinv IS THIS WORKING?
bot [2008-06-01 15:59:42]     [TELL]  [OUT]   -> Dracutza: Mass invite being sent. Please stand by...
bot [2008-06-01 15:59:42]     [TELL]  [OUT]   -> Dracutza: Done sending mass invite.
bot [2008-06-01 15:59:51]     [TELL]  [INC]   Dracutza: !announce LOOKS LIKE NO
bot [2008-06-01 15:59:51]     [TELL]  [OUT]   -> Dracutza: Mass message being sent. Please stand by...
bot [2008-06-01 15:59:51]     [TELL]  [OUT]   -> Dracutza: Done sending the mass message.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #7 on: June 01, 2008, 06:09:21 pm »
nope

bot [2008-06-01 16:07:16]     [TELL]  [INC]   Dracutza: member add Mewreck
bot [2008-06-01 16:07:16]     [BUDDY] [BUDDY-ADD]     Mewreck
bot [2008-06-01 16:07:16]     [TELL]  [OUT]   -> Mewreck: Dracutza has added you to the bot.
bot [2008-06-01 16:07:16]     [TELL]  [OUT]   -> Dracutza: Player Mewreck has been added to the bot as a member
bot [2008-06-01 16:07:16]     [BUDDY] [LOG]   Mewreck logged [on] (MEMBER)
bot [2008-06-01 16:07:24]     [TELL]  [INC]   Dracutza: member add dracutza
bot [2008-06-01 16:07:24]     [BUDDY] [BUDDY-ADD]     Dracutza
bot [2008-06-01 16:07:24]     [TELL]  [OUT]   -> Dracutza: Dracutza has added you to the bot.
bot [2008-06-01 16:07:24]     [TELL]  [OUT]   -> Dracutza: Player Dracutza has been added to the bot as a member
bot [2008-06-01 16:07:24]     [BUDDY] [LOG]   Dracutza logged [on] (OWNER)
bot [2008-06-01 16:07:31]     [TELL]  [INC]   Dracutza: announce hi hi hi
bot [2008-06-01 16:07:31]     [TELL]  [OUT]   -> Dracutza: Mass message being sent. Please stand by...
bot [2008-06-01 16:07:31]     [ERROR] [OnlineDB_Core] Undefined function list_users(Both)!
string(207) "Message from ##highlight##Dracutza##end##: hi hi hi ##seablue##You can disable reciept of mass messages and invites in the##end## <a ref='chatcmd:///tell bot <pre>preferences show massmsg'>preferences</a>"

Warning: Invalid argument supplied for foreach() in E:\bots\modules\MassMsg.php
on line 104

Warning: Invalid argument supplied for foreach() in E:\bots\modules\MassMsg.php
on line 134
bot [2008-06-01 16:07:31]     [TELL]  [OUT]   -> Dracutza: Mass messages compl
ete. [link]report[/link]

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #8 on: June 01, 2008, 06:14:43 pm »
by adding the fic to online DB it sends the massinv text twice to eachmember, but still no actual invite


Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #9 on: June 01, 2008, 06:31:31 pm »
something else that is either new, or possibly something I've never noticed before...

this is a new bot install, using an existing name.. so an in-game buddy list already exists.  As of 1646, MassInv sends msgs to not only the two members I added to the bot, but also goes and spams all "old" members still on the in-game buddy list.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #10 on: June 01, 2008, 07:07:28 pm »
Fatal error: Cannot redeclare class Preferences_GUI in E:\bots\modules\PreferencesUI.php on line 66



Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
Re: BeBot v0.5.2 released (development version)
« Reply #11 on: June 01, 2008, 07:48:56 pm »
Fatal error: Cannot redeclare class Preferences_GUI in E:\bots\modules\PreferencesUI.php on line 66
remove modules/Preferences.php

On a different note MassMsg.php has been overhauled. Preferences should now be heeded in a more sane fashion (I think)
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
Re: BeBot v0.5.2 released (development version)
« Reply #12 on: June 01, 2008, 07:55:42 pm »
something else that is either new, or possibly something I've never noticed before...

this is a new bot install, using an existing name.. so an in-game buddy list already exists.  As of 1646, MassInv sends msgs to not only the two members I added to the bot, but also goes and spams all "old" members still on the in-game buddy list.
Has a roster update been done?
!massinv checks the online-table and should only send messages and invites to people that are registered as online in either gc or pg.

As such a roster update should remove the people from the buddy list and also set their status_gc and status_pg to 0.

If it's not done by !rosterupdate it should be fixed by a !restart I think.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #13 on: June 01, 2008, 08:06:01 pm »
still spamming multiple and members not in DB

Quote
[2008-06-01 18:04:57]   [TELL]   [INC]   Dracutza: rosterupdate
[2008-06-01 18:04:57]   [TELL]   [OUT]   -> Dracutza: Starting roster update.
[2008-06-01 18:04:57]   [ROSTER]   [UPDATE]   Starting roster update
[2008-06-01 18:04:57]   [CRON]   [ROSTER]   Done updating roster. Removed 0 members of which 0 was rerolled characters.
[2008-06-01 18:04:57]   [CRON]   [ROSTER]   Cleaning buddylist.
[2008-06-01 18:04:57]   [SETTINGS]   [SAVED]   LastRosterUpdate for module members set to 1212343497 as datatype int
[2008-06-01 18:04:57]   [CRON]   [ROSTER]   Cleaning buddylist done. 0 buddies removed.
[2008-06-01 18:04:57]   [PGRP]   [MSG]   [SPAMBOT] SPAMBOT: Roster update starting ::: System busy
[2008-06-01 18:04:57]   [PGRP]   [MSG]   [SPAMBOT] SPAMBOT: Roster update completed ::: System ready
[2008-06-01 18:05:03]   [TELL]   [INC]   Dracutza: member
[2008-06-01 18:05:03]   [TELL]   [OUT]   -> Dracutza: 1 members in Pocom :: [link]click to view[/link]
[2008-06-01 18:05:04]   [SETTINGS]   [LOAD]   Loaded settings from database.
[2008-06-01 18:05:04]   [ROSTER]   [UPDATE]   Roster update ran less than 6 hours ago, skipping!
[2008-06-01 18:05:04]   [PGRP]   [MSG]   [SPAMBOT] SPAMBOT: Bot is online ::: Roster update not scheduled ::: System ready
[2008-06-01 18:05:24]   [TELL]   [INC]   Dracutza: announce spam YES MOAR
[2008-06-01 18:05:24]   [TELL]   [OUT]   -> Dracutza: Mass message being sent. Please stand by...
[2008-06-01 18:05:24]   [TELL]   [OUT]   -> Angalicious: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:24]   [TELL]   [OUT]   -> Delkaton: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:24]   [TELL]   [OUT]   -> Dracutza: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:28]   [TELL]   [OUT]   -> Dracutza: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:31]   [TELL]   [OUT]   -> Dracutza: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:31]   [TELL]   [OUT]   -> Dracutza: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:34]   [TELL]   [OUT]   -> Flagube: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:37]   [TELL]   [OUT]   -> Kermaperuna: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:40]   [TELL]   [OUT]   -> Kermaperuna: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]
[2008-06-01 18:05:40]   [TELL]   [OUT]   -> Krazmedic: Message from Dracutza: spam YES MOAR
You can disable reciept of mass messages and invites in the Preferences for [link]MassMsg[/link]

Offline Dracutza

  • BeBot Apprentice
  • ***
  • Posts: 126
Re: BeBot v0.5.2 released (development version)
« Reply #14 on: June 01, 2008, 08:08:39 pm »
however the massinv is now working :)

 

* Recent Posts

NEED Help Bebot on Ubuntu 16 with PHP 7.2 by bitnykk
[June 08, 2018, 11:47:01 am]


New Central itemDB (!item[s|reg]) by Kakahu
[May 16, 2018, 09:22:47 pm]


Tradeskill's Recipes Module by bitnykk
[February 17, 2018, 01:49:04 pm]


Twink helper Module by bitnykk
[February 04, 2018, 11:07:24 pm]


Some slight issues! by bitnykk
[October 04, 2017, 11:53:10 am]

* Who's Online

  • Dot Guests: 105
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Forum Staff

Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator