L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 05:22:08 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: Raidbot: reward points, raid lock, raid check
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: Raidbot: reward points, raid lock, raid check  (Read 1197 times)
0 Members and 1 Guest are viewing this topic.
Pablo
Freshman
*
Offline Offline

Posts: 13


Raidbot: reward points, raid lock, raid check
« on: September 14, 2007, 08:49:13 AM »

Hello all,
I'm testing the new 4.1 version of Bebot Raidbot.

If I see well (I hope yes), there aren't indispensable commands to:
1. Add points automatically to reward all the raiders joined the raid;
2. Lock the raid;
3. Vicinity raiders presence check.

Thank you everyone for all the great job!
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Raidbot: reward points, raid lock, raid check
« Reply #1 on: September 14, 2007, 09:01:05 AM »

I'm not quite sure that I understand your question but have a look-see at http://bebot.shadow-realm.org/wiki/raid.php

Also check that the access levels are set appropriately with the !commands interface.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Raidbot: reward points, raid lock, raid check
« Reply #2 on: September 14, 2007, 10:05:33 AM »

2 and 3 should happen now, with the current raid plugin.

I'm redoing them, however.  Smiley

As for 1, I'm not sure what exactly you're looking for (since it seems that everyone wants to do points differently).  I'm planning on creating a points module down the road, however. Smiley
Logged
Pablo
Freshman
*
Offline Offline

Posts: 13


Revealed the mistery
« Reply #3 on: September 14, 2007, 02:46:04 PM »

After re-installed all and rechecked the help I've found the arcane problem, it is the !help raid informations that not shows the commands but they are there and they works when you know the commands at memory!

This is what is displayed at the !help raid

 ::::: HELP ON RAID :::::

Module to manage and announce raids.

 !raid start - Starts a raid.
 !raid end - Ends a raid.
 !raid join - Joins the on-going raid.
 !raid leave - Leaves the on-going raid.
 !raid kick <name> - Kicks player <name> from the current raid.

NOTES:


So it works, it is "only" a missing of text about the commands inside the !help raid file.  Wink
Good to know in future for the others.



About the Award point system, I still have to understand if it is possible to assign points at multiple players/raiders that joined the raid, example:
!award 5 (and it assigns 5 points at all the raiders that joined the raid)

From the file Points.php I see only the single target to assign points (!points add <name> <points>), so that is the sense of the module request. I hope it is more understandeable now and thank you very much all again from an humble tester.
« Last Edit: September 14, 2007, 03:56:21 PM by Pablo » Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Raidbot: reward points, raid lock, raid check
« Reply #4 on: September 14, 2007, 07:28:41 PM »

Try grabbing the trunk Raid.php

http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Raid_RAID.php?view=co

I stripped out some stuff that shouldn't have been in there to begin with, and cleaned up up quite a bit.  Has more options that I think yours does too.

It might still have issues, works fine for me but it's bleeding edge so no promises. Smiley
Logged
taconis
Rookie
**
Offline Offline

Posts: 25


Re: Raidbot: reward points, raid lock, raid check
« Reply #5 on: September 17, 2007, 06:32:50 PM »

When you grab the new raid_RAID.php file from the trunk, it works wonders if you save it as \modules\raid.php (replacing the main raid.php file).  I tested it on BeBot 0.4.1 using both PHP 4 and 5, and 3 different MySQL versions.

Note:  !raid check does not check the zone for active raiders, it just checks to see who has joined the raid.  It would be better if this was by zone.

There is one request though, in regards to raid.php... Please allow a setting to have the !raid join to return either in pg or in tell (configurable).



..............

Requests for points.php:

- add in the command !points all # (to allow rl's to add points)

This will allow RL's to add block points to all active individuals if followed after someone running a !raid check command (see above).

All points commands should default to RL level for security purposes.

- remove !points to check how many points you have
- add in !account command to check the points you have

... double check modifications with new raid.php and bid.php

I'm installing the latest bid.php to test with the new raid.php.  Hopefully I will be able to reply soon with good news.
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Raidbot: reward points, raid lock, raid check
« Reply #6 on: September 17, 2007, 07:11:36 PM »

Quote from: taconis on September 17, 2007, 06:32:50 PM
When you grab the new raid_RAID.php file from the trunk, it works wonders if you save it as \modules\raid.php (replacing the main raid.php file).  I tested it on BeBot 0.4.1 using both PHP 4 and 5, and 3 different MySQL versions.

Only difference between naming it raid_RAID.php and raid.php is that if you're bot is setup as an org bot (in bot.conf) then it'll load the raid module.


Quote from: taconis on September 17, 2007, 06:32:50 PM
Note:  !raid check does not check the zone for active raiders, it just checks to see who has joined the raid.  It would be better if this was by zone.

I'm not sure what you mean by this.

Quote
:::: People in the raid ::::

[link]Check all raid members[/link]

Ebagmp [Kick]

Basically you click "Check all raid members" and it does an /assist on everyone in the raid.

If you don't have this, grab the trunk version again.


Quote from: taconis on September 17, 2007, 06:32:50 PM
There is one request though, in regards to raid.php... Please allow a setting to have the !raid join to return either in pg or in tell (configurable).

Fair enough, I'll add that. Smiley



Quote from: taconis on September 17, 2007, 06:32:50 PM
Requests for points.php:

Someone (*cough*) needs to write a new points module.  Smiley
Logged
sqplus99
Freshman
*
Offline Offline

Posts: 2


Re: Raidbot: reward points, raid lock, raid check
« Reply #7 on: September 20, 2007, 06:04:20 AM »

points award is something i've been trying to figure out also.. so far i've had no luck.

i've tried a few things but as yet havent got any good results.
Code:
/* Award Points */
function award_points($name, $num)
{
if ($this -> bot -> security -> check_access($name, "superadmin"))
{
if (!is_numeric($num))
{
$this -> bot -> send_tell ($name, "$num is not a valid points value.");
return;
}
else
{
$this -> bot -> db -> query("UPDATE #___raid_points SET points = points + " . ($num * 10) .
" WHERE raiding = 1");
$this -> bot -> send_pgroup("<font color=#ffff00>$name</font> added <font color=#ffff00>$num</font> raidpoints to all active raiders.");
$this -> bot -> send_tell($name, "You added <font color=#ffff00>$num</font> raidpoints to all active raiders.");
return;
}
}
else
{
$this -> bot -> send_tell($name, "You must be a superadmin to do this");
return;
}
}

i was guessing something like that might work, with something like this
Code:
else if (preg_match("/^" . $this -> bot -> commpre . "points award ([0-9]+)$/i", $info))
$this -> award_points($name, $info[1]);

being used along with it.

i was aiming for !points award <number of points>, then that number being added to all the active raiders.

any help ??

SQ
Logged
Wont
Freshman
*
Offline Offline

Posts: 2


Re: Raidbot: reward points, raid lock, raid check
« Reply #8 on: October 03, 2007, 03:19:14 PM »

Bump for point awarding, to every1 in the raid with 1 command.
Wtb that module too.
Logged
Pharexys
Apprentice
***
Offline Offline

Posts: 94


Re: Raidbot: reward points, raid lock, raid check
« Reply #9 on: October 11, 2007, 08:11:55 AM »

I've edited it a bit, didnt tested much, but i see it works. Let me know if uget in trouble.

New Command added:
[tell] !raid reward <points> - Reward <points> to all raiders.
Logged
Pablo
Freshman
*
Offline Offline

Posts: 13


Re: Raidbot: reward points, raid lock, raid check
« Reply #10 on: December 01, 2007, 09:01:13 PM »

Great great job Pharexys! Thank you! Cheesy

It will be wonderful to have !raid lock too and !raid check written inside the help file.

!raid lock
Locks at the members to !raid join (used when it's too late to join raid)

!raid check (this command just exists, need only to be written inside the help file and eventually expanded with a command to check all raiders in one shot instead one by one. It works with an /assist check about I've understood)
It is used to check the members close the raid leader (vicinity, same zone), to check who really is at the raid and to kick from the raid who isn't there.

And so Bebot will be ready to be a raid bot that works too!  Wink
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 888



WWW
Re: Raidbot: reward points, raid lock, raid check
« Reply #11 on: December 01, 2007, 11:18:41 PM »

Done
Added Help for !raid lock/unlock
Added Help for !raid check
Added Check all
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pablo
Freshman
*
Offline Offline

Posts: 13


Re: Raidbot: reward points, raid lock, raid check
« Reply #12 on: December 03, 2007, 03:28:11 PM »

Great Temar, quick, wonderful and nice Job!
I've tested it, and it works typing in bot channel too now!

The !raid check [all] works but works without to show the name of the absent raider. It will be great if the check will give as result a response message with the list of the absent raid members.
Without that, still need to check everyone, one by one, to understand who isn't at the raid.

Thank you, thank you a ton in advance.
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 888



WWW
Re: Raidbot: reward points, raid lock, raid check
« Reply #13 on: December 03, 2007, 10:21:13 PM »

im not sure what your problem is,
as /assist will output a message as to if there are there or not and thats how u know
it will say somit like - cannot find >name<
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pablo
Freshman
*
Offline Offline

Posts: 13


Re: Raidbot: reward points, raid lock, raid check
« Reply #14 on: December 07, 2007, 03:55:37 PM »

I've checked/tested it dual logged and it shows only "Can't assist yourself" as response.  Undecided
It is very very strange I know... I tried zoning too, checked the manual /assist name command, and checked my chat configuration, all works right here...

So !raid check still not shows the message: Can’t find target >name<.
It is the same for the single check too, not only "check all".

P.S. Maybe it not works for blank spaces inside the /assist command of the Raid.php code.
« Last Edit: December 07, 2007, 03:59:13 PM by Pablo » Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: Raidbot: reward points, raid lock, raid check
« previous next »
 
Jump to:  

Recent
online not working after ...
by Temar
[Today at 05:09:48 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11193
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 5
Guests: 11
Total: 16
Kentarii
Temar
vikor
upstart
daltarak

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.411 seconds with 29 queries. (Pretty URLs adds 0.033s, 4q)
Loading...