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: Raid module for points per raid  (Read 16361 times)

0 Members and 2 Guests are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Raid module for points per raid
« on: December 25, 2008, 09:28:53 pm »
This module is based on the raid bots used by Omni on Rimor.

It supports multiple raids defined during runtime, with points given per successful raid. Items are rolled using the points, either in secret or in open rolls. To stop abuse on open rolls people can optionally be forced to only increase their bids or leave the raid completly.

Points can be shared over all registered alts, using the default alt system of the bot.

All raids are logged with the raiders joined, as well as all won items.

This module is completly incompatible with the default raid modules of BeBot. Disable the Raid_*.php and Point.php modules before using this module.

Before the first raid can be started the admin has to add at least one raid using !raidadmin addraid <short> <points> <description>. <short> is the unique short name for the new raid, <points> is the amount of points given for a successful raid of this type, and <description> is a text describing this raid.

Here is the module, save as .php.
« Last Edit: December 25, 2008, 09:34:36 pm by Alreadythere »

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #1 on: December 26, 2008, 01:26:19 pm »
Hi,

Nice module :-)
But when i made a raid and want to start the raid, nothing happens.

playing AoC btw.


Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #2 on: December 26, 2008, 02:45:29 pm »
Ok, you got a point there. Right now the module only works in private groups (coded that way...).

I'll rewrite it so you can select the channel it uses. And default to guild chat for AoC.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #3 on: December 26, 2008, 04:19:40 pm »
Great :-) and thnx

Jih.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #4 on: January 04, 2009, 02:50:54 pm »
hi m8, did you had some time?

I tried it myself, but i cant figure it out :(

I see you also have some loot items in it? But thats for AO right?

thnx for the work.

Jiheld

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #5 on: January 05, 2009, 08:58:58 pm »
Sorry, been a busy week.

I'll try to work on it soon.

And I never got around to finish any loot interface. That is on my todo list for a long time. Just got pretty low priority as it works a bit less comfortably right now.

If you can create item references in AoC you can savely use !raidloot ref to roll items including references. I think/hope at least as I don't got AoC.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #6 on: January 25, 2009, 07:34:13 pm »
Updated the raid module, now supports output to either gc, pgmsg or both. Default is pgmsg for AO, gc for everything else (aka AoC right now).

Just download the file again from the link in first post.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #7 on: January 31, 2009, 04:16:11 pm »
nice work m8 thnx

But i got an error when i want to start a raid

Quote
Warning: Missing argument 3 for Bot::send_output(), called in C:\0.6.2\custom\mo
dules\Raid.php on line 413 and defined in C:\0.6.2\Sources\Bot.php on line 570
Embot [OUTPUT]  [ERROR] Broken plugin, type:  is unknown to me; source: [Raid st
arted: Kylikki [8 points] [by Jiheld], message: gc

cheerz

Jih.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #9 on: January 31, 2009, 07:33:49 pm »
thnx

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Raid module for points per raid
« Reply #10 on: February 02, 2009, 05:32:46 pm »
Fixed the output bug and one small color bug in my version, guess I should try to find time for proper testing again next time ;)

 

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