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: Custom / Revised Modules by Eldar  (Read 29779 times)

0 Members and 3 Guests are viewing this topic.

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
Custom / Revised Modules by Eldar
« on: November 16, 2008, 01:30:53 am »
Ok, so here they are...Custom and Revised modules by Eldar.

Uploads Directory is not writable, so HERE THEY ARE

Trivia - Made by Eldar
This module should be placed in the custom/modules directory.
The trivia.txt file should be placed in the extras directory.
Commands:
 trivia ask - asks a random trivia question
 trivia answer (your answer here) - sends your answer to the bot.
 trivia giveup - gives up on the current question.

Recruit - Made by Eldar
This module should be placed in the custom/modules directory.
This module should be linked in a recruiting message to be sent to OOC BY A PERSON, NOT THE BOT
When a person that is interested in the guild clicks on the linked !recruit command, the bot will search for online members in the Leader and higher ranks.
If a member is found, a tell is sent to that member.
If no member is online, the interested person is notified that no officers are online atm, but they will be contacted as soon as one is online.
The bot then makes an entry in the news module with the interested persons name, class and level and requests that an officer contacts them asap, and also delete that news entry once contact is made.
Commands:
 recruit - tells the bot that you are interested in joining the guild. (See above description of process)
 
Roll - Revised by Eldar
This is a replacement of the standard module.
This change implements a raidroll command.
example:
!raidroll 100 Elesar Meathooks

The bot will roll once for each target with the number as the limit. The bot will then send the results to each target and to GC.

This command has a target limit of 12, and will engage the spam protection with more than 3-4 targets.

Ventrilo - Revised by Eldar
This module should be placed in the custom/modules directory.
This mostly just a formatting change.
Ventrilo channel names are now sorted as the appear in the ventrilo client.
Usernames are now yellow to help stand out from channel names.

phpBB3 integration - Made by Eldar.
Coming soon...

Working:
Upon registering, the player is asked for their main character's name.
The forum will connect to the bot and retrieve character level and class, along with all that information for any registered alts.

This is also part of our integration with phpRaider, automatically adding toons level 72+ as being able to register for raids.

Future Plans:
Retrieval of crafting class.
Implementation of TWC in a phpBB3portal block for shoutbox chatting with offline members.

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #1 on: November 16, 2008, 02:11:20 am »
Nice work mate, I'll have a closer look when I wake up :) thanks!

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #2 on: November 16, 2008, 04:19:30 am »
Thanks, but I can't take all credit.

Meathooks, my fellow officer/dev in Eldar did a majority of the coding, I just made suggestions and tested stuff out. :P

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #3 on: November 17, 2008, 08:31:06 pm »
so the trivia.txt goes in the extra folder in the bebot directory? or is it a different folder. When typing !triva ask it says there are no questions, but I see them in the .txt file

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Custom / Revised Modules by Eldar
« Reply #4 on: November 17, 2008, 08:42:50 pm »
seems to be a bug
the folder the modules is looking at is extras
so u can put in a folder named extras for now

Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #5 on: November 17, 2008, 09:51:46 pm »
Yes, it is a discrepancy in the code, as our bot has an extras directory as the Ventrilo module origionally called for.

We will correct that in both modules and update some time this week.

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #6 on: November 25, 2008, 03:17:02 am »
seems to be a bug
the folder the modules is looking at is extras
so u can put in a folder named extras for now

if your running it in a linux environment you can:
ln -s ./extra ./extras

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #7 on: November 25, 2008, 03:56:49 am »
I cant get this thing to work at all...
when i type !trivia ask i get:
 [ERROR] The setting named question for setting group trivia does not exisit.


Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #8 on: November 25, 2008, 05:58:28 pm »
I cant get this thing to work at all...
when i type !trivia ask i get:
 [ERROR] The setting named question for setting group trivia does not exisit.



Got it working... I had to actually start and stop the bot.
issueing a restart command didnt create the tables correctly...
Strange.

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #9 on: November 25, 2008, 06:02:11 pm »
I was wondering if by chance there could be categories for this mod?
like:
!triviaset sports -- sets category to sports
!triviaset science -- sets category to science
etc...

and then have a sports.txt, science.txt in the ./extra directory?

this would be nice.

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #10 on: November 26, 2008, 01:22:20 pm »
Found the Trivia module great in the facts it's a trivia, however the amount of spam in GC when running this can't be ignored and as there are no private channels in AoC thi sis sadly not one I'll be using.

But none the less thanks again for sharing, I'm sure many don't share my opinions and will find it perfect. I just wish there would be some strange way to get it to relay to a Raid group or something...


Offline Elesar1

  • BeBot User
  • **
  • Posts: 47
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #11 on: November 27, 2008, 06:08:26 am »
I will ask my friend if he thinks it would be practical to split the trivia into different categories.

As far as the GC spam, I know what you mean. We don't really use it much, mainly when we hold guild harvesting events and nobody has anything better to do :P

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Custom / Revised Modules by Eldar
« Reply #12 on: November 27, 2008, 12:56:50 pm »
here is an idea for the less clever people, multi choice Q/A

Offline bookie

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #13 on: January 09, 2009, 06:23:29 pm »
Im getting the same error as the previous poster above. When I type !trivia ask it says there are no questions.
Where exactly does trivia.txt go? Ive tried putting it in the extra folder and allso a folder I created named extras but it allways says the same thing.

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: Custom / Revised Modules by Eldar
« Reply #14 on: February 01, 2009, 09:30:13 pm »
had to change the $online in recruit.php to get it to work in 0.6.1
Code: [Select]
$online = $this -> bot -> db -> select("SELECT t1.nickname, t2.level, org_rank, org_name FROM "
. "#___online AS t1 LEFT JOIN #___whois AS t2 ON t1.nickname = t2.nickname WHERE status_" . $channel . "=1" ." AND "
. $botstring . "ORDER BY t1.nickname");
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

 

* 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: 161
  • 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