BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => AO 0.6.x Custom/Unofficial modules => Topic started by: hewes on February 18, 2009, 03:25:42 am
-
Another new build, fixing the problems below
This module is a BETA in terms of development... is does pretty much what I want it to do, but I've only been able to do so much testing myself.
The purpose of the module is to help guilds plans and organise regular events and raids. Please note tat if/when you use it there are references to dkp points in there... this is NOT a dkp system. This is so that if/when I have time I can expand this to include a dkp system, and certain functionality is already there.
There are 4 commands registered with this module, 2 are aimed for officers (and thus set to ADMIN level), and 2 for general use.
-
!raidtype
This command is used to create catagorries of regular events that your guild runs. (rather than pre-loading the bot with the obvious ones - they would be obvious to me, but I don't know your guild).
!raidevent
menu driven interface to create events (from the pre-created ones you have already registered, although there is also an option to create a one-off special event). Once created the event is annouced in guild chat
-
!raidstatus
Used to set or report the status's of those in the guild. There are 4 status's: not-set, too-low, raider and non-raider. Anyone who sets raider will get spammed with the guilds raid calander and signup options.
!raidsign
Used to sign up to events, and to report on who has / has not signed up.
-
raidtype
- defaultdkp Not really used yet, but is here for future expansion
raidevent- autorepeat if, as default, events are repeats
- hoursold how long after an event finishes should it be deleted
raidsign- signuplate how long before the start of an event can people sign up (after which they are flagged as a late signer
- level what level does your guild accept people on raids
- signup sould signup be run by player (as in main+alts counted as one entity) or character
-
Nice Mod.. One thing it needs is an EST, PST, GMT, etc.. setting.
Wizhk
-
Also it is not deleting a created Raidtype when I select confirm.
Wizhk
-
OK, have been playing with this alot more.
Issues:
-Can not delete raidtype. Clicking on confirm for deletetion does nothing.
-1 miss-spell on link to view. Labeled as "veiw"
What I would like:
-Option for 0 DKP points. We dont do DKP for everything.
-Ability to label the time zone used for specific events. Or an overall notation.
-Really need.. The ability to make notes under each event in the list. We have a siege set-up on the event list and the only info seen is Siege.
I really like what you have done with this Module. Everyone should be using it.
Thank You,
Wizhk
-
Changed the spelling typo, and the deletion wasn't working because of a comma, which is not corrected. Added the 0 as a default option for dkp. Like I said the dkp point system isn't in use atm anyway. Btw, you can already change a single events dkp when you set it up by:
- Setting the raidtype to automatically have 0 dkp by using the !raidtype command: the exact usage is !raidtype {name} <defaultdkp> so you should be able to set it to 0 like that.
- when you create a new event, there is an ADVANCED option in the menu, which allows you to change the number of dkp points for an event.
To do:
I will add the ability to add in notes for each event (similar to how players can add notes to their signup)
I'm not sure about the time thing. My presumption was that everyone could check the current time of the bot using !time (as this is the time for whoever runs the bot, and they are usually either the guild leader, or a high-ranking officer). But, saying that, it won't be difficult to add... What options should I include? GMT BST CET EST PST CST AST... there is a very long list. I was wondering if I should include instead the current bot time at the bottom? Thoughts?
-
I believe that it would be best to simply have a note section of 3 letters next to the time so that people could add there own 3 letter time.
You mention adding a notes like the players notes... Maybe this is just much simpler then having notes listed under the headline, but notes under each even would be much better imo.. and not just a notes button. If not possible then that is understood, notes button will work.
That being said. You mention that there is a constant game time set to PST.. this is accurate. Also.. if you can incorporate the Note section for the activity.. The time could be mentioned in there by the event coordinator. ;)
Wizhk
-
Notes have now been added (anyone who creates a raid can now add notes to the event).
Times are now displayed with a timezone notifier (eg GMT EST)
(note that the timezone displayed is as per the computer that the bot runs on, so on mine it would display GMT or BST)
A few minor spelling mistakes have been corrected.
-
Love the changes.. they work great.
An Error that I noticed with the original module and still with the newest version though.
If you say, go into a raid event and edit the time, if you DO NOT edit the date at the same time it will change the date and put an incorrect time.
Wizhk
-
thanks and done
Americans do dates m-d-y, but I had used the "proper" notation of d-m-y, apparently they are not compatible
-
I realised that I had not, in fact, corrected the probelm with editing the DATE of a raid. So I have finally corrected the code and tested it. It is only a minor change, but previosly to this you could not edit an event properly, as it would mess up the times.
Please download again.
Also, my next aims in this are:
To implement a ONLINE tag in the signup list.
To add in a facility to actually keep track of who is invited into the raid team, and who has to be denied, thus allowing for rotations (and also this is the next step towards using this as a full dkp, although that will take some working).
-
This is a really nice module.
May I make a request? Would it be possible to split the signups into their respective classes and order them by signup date?
So all the guardians would be grouped together, the first to signup would be the top guardian and the last to signup would be on the bottom?
Keep up the good work, thankyou!
-
My Guild does not use DKP, how would I take that totally out of the modual?
-
Simple enough to just do -10 each time..
Wizhk
-
You need to take a look on sql injection... There are atleast one weak point in the notes where you do not mysqlsafe text added.
EDIT:
Line 745
Add: $notes = mysql_real_escape_string($notes);
Line 746
Old: $query = "UPDATE #___RC_Signups SET `notes` = '$notes' WHERE `player` = '$main'";
New: $query = "UPDATE #___RC_Signups SET `notes` = '$notes' WHERE `player` = '$main' AND `raidid` = '$event'";
-
Im having an issue. When I try do !raidevent i get the click Here. I do...get the Raid Event Admin...click it and I am getting "Another raidevent session is in use by Allisande"
-
Also this only happens if someone else has clicked the create an event deal. And then once that happens only the first person to try it can do it until the bot is restarted.
-
Tried to delete an event and I got the same message. You can not.....because there is already a raid session in use by Allisande
-
Is it possible to mass invite all the signed up members into a raid?
-
When 1.05 hits live it should be possible to add link to a command so ppl can get invited by clicking nick ex.
But its not possible to invite to raid via /command yet.
-
Ah yeah your right forgot about that. Too bad.
-
Heya, just installed this module but im getting the following error once i try to add an event:
Warning: Invalid argument supplied for foreach() in /bot/custom/modules/raidcal.php on line 884
line 884 is : foreach ($this->events as $event)
I already created raidtypes and they are correctly displayed so im a bit clueless on what the problem is.
Thx in advance.
-
basicly that error is cause by $this -> events not being an array which is usually because there is no events stored in it
-
well thing is i can't create events at all, when i use the links from the windows created they dont do anithing, tough if i use them manualy i can triger some actions. still no clue what is wrong :S
-
Hey!
I found this module useful, but it doesnt work correct for me.
There are 2 things at least:
1) In the configuration tool when you trying to create a raid event or change anything, it adds extra space as in:
To [Painbot]: !raidevent new day 1245009600
adds an extra space after "new"
or
To [Painbot]: !raidevent new type 7
same thing..
if i do it manually its ok, but cant set the date correct,
To [Painbot]: !raidevent new day 1245009600
[Painbot]: Can not use a date that is in the past
(if i choose next day, it works though)
2) Text color in the links are black. So I have to select all text to read it.. as in:
Raid Event Admin
Currently there are 0 events:
To create a new event, click here
"raid event admin" is red, rest is black, and only can see link on "here" cause its blue.
Any way to fix it ? :)
-
ive been playing with the module my self, aparently the extra space is because it should have an id number there thats missing or somit, as for if its required i duno
-
doesnt req ID number i think, i have set events manually just removing that space..
wtb that module fixed :)
-
ok perfekt mod ... we use it ... and it is really wunderful but ....
it would be nice wenn the raid-overview would be like this:
this ist teh viewing now
Details of raid:
#17 T1VISTRIX on Wednesday 15th Jul at 7:00pm CEST for 0 dkp points
Notes:
Wenn noch Zeit und Laune ist wollen wir danach noch Killi machen ::: Invite ist ab 19:00 ::: Start ist 19:30
Attending:
Sinella
Bragi
Bullwy
DrizzurdenNotes
Eimsbuscher
Nissaia
Silmarwen
Lewiathan
Andorius
Declined:
Für dieses Event hat sich kein Mitglied angemeldet
Signup for this event
Decline this event
Broadcast in guild
would be nice wenn the raid-view would like this:
Details of raid:
#17 T1VISTRIX on Wednesday 15th Jul at 7:00pm CEST for 0 dkp points
Notes:
Wenn noch Zeit und Laune ist wollen wir danach noch Killi machen ::: Invite ist ab 19:00 ::: Start ist 19:30
Attending:
Guardian:
- Sinella LVL X
- Bragi LVL X
- Bullwy LVL X
Tempset of Set:
- Drizzurden LVL x
Herold of Xotli:
- Eimsbuscher LVL X
- Nissaia LVL X
Ranger:
- Silmarwen
- Lewiathan
- Andorius
Declined:
Für dieses Event hat sich kein Mitglied angemeldet
Signup for this event
Decline this event
Broadcast in guild
would be nice if someone could help me to get the Raid-View like this ... would be easier to manage the raid when i could see what kind of class and lvl the attending chars are ...
thank Drizzurdeen
-
realy no one an idea how i can i change the module so that i have the changed raid-view ???
-
the date setup doesn't work if this is used in AO...
-
this module uses UTC as the timezone can it be set to est thru the bot or does it need to be done thru the config file???
-
You can change it to EST through config file. I have done this myself.
-
How can I disable notifications from this module?
I did "!set Logon_notifies Enabled Off" but id does not work for "You have not configured your raid status, please do so now" messages.
-
ok how do i change the DKP to 0 it is set for defualt 10 how do i change it ???
-
try !settings ... or it could be set in !raidevent ore !raidtype (one of these two) ... there so i think u can change the default dkp for each event
hobe i could help
-
i was able to change the dkp on the event but i cant change it on the type of raid why is that or is there away to do it
thanks
-
cause the event is the raid itself ;) ... like t1 t2 ... and only the event should be have dkp or not ^^
-
I cannot seem to get the command !raidtype new [name] to work. I am the owner of the bot so shouldnt have admin issues. All other commands work
-
I was hoping that someone could make an addition to the !raidcal raiding module.
I was thinking something along the lines of (when settings are set per character and not per account) that when someone signs up it not only shows their name but their class as well. OR when they sign up period... they choose from any of their raid ready characters on their account and their sign up will list the character and class.
if this can be done please let me know. and ty in advance.
i actually us it in AoC... so any information on my part that you need let me know... anything to help see the actual class that is signed up to raid will help
-
This is a nice addon i use on aoc
but got few suggestion to be added
1) officers can add how many he need from each class (did more signup they got on a waiting list)
2) instead showing names , it show the classes and then the name of the one that signup
3) officers get button to massinvite the people so its easier
4) officers can add people manually
-
Any luck on the changes guys ?
-
Hello,
I try to use this module, but have some problemes:
Cant use !raidtype or !raidevent.
Cant change the commands for this two orders to admins or leaders, it is always on N/A.
Any idea?
-
nvm...need raid bot and not normal bot...