Development > Generic custom modules

Instance Bound Tracker b2.x.x

(1/21) > >>

Getrix:
Script found here: http://dump.sjef.biz/aoc/bebot/Bound/Bound.phps

New lockouts stuff have been added to AoC latly and there have been couple request for keeping track of all timers..
I have rewritten the bound script to handle instance lockout based on hours and not only Raid reset every tuesday night.

To get this new version work, altering of mysql table is needed. Best is to just remove them and let script create them again.
Old data isnt much usable as the rewritten is completed different.

If there is missing any instances that would be nice to keep track of, please tell me.

Places allready added: Shortname, Fullname, Type, lockout in minutes

--- Code: ---                ('Vistrix', 'Tier 1 - The Dragon''s Lair', 'Raid', 0),
('Yakhmar', 'Tier 1 - Yakhmar''s Cave', 'Raid', 0),
('Kyllikki', 'Tier 1 - Kyllikki''s Crypt', 'Raid', 0),
('BRC-W1', 'Tier 2 - Black Ring Citadel: Wing 1', 'Raid', 0),
('BRC-W2', 'Tier 2 - Black Ring Citadel: Wing 2', 'Raid', 0),
('BRC-W3', 'Tier 2 - Black Ring Citadel: Wing 3', 'Raid', 0),
('T3', 'Tier 3 - Thoth-Amon''s Tower', 'Raid', 0),
('T4', 'Tier 4 - The Jade Citadel', 'Raid', 0),
('BR', 'The Battle for Blood Ravine', 'PvP', 360),
('HV', 'The Battle for Hallowed Vaults', 'PvP', 360),
('LT', 'The Battle for Lost Temple', 'PvP', 360),
('TT', 'Totem Destruction', 'PvP', 360),
('CoJS', 'Blessings of an Ancient God', 'PvP', 360),
('CoJS', 'Blessings of Jhebbal Sag', 'PvP', 360),
('CoJS', 'Diving Calling', 'PvP', 360),
('RoKW', 'Refuge Of Apostate', 'Solo', 1200)");
--- End code ---


--- Quote ---/*
* Changelog History
* b2.0.2  - 2010-08-16 Getrix - Fixed bounding raids bug when bot runs on Windows machine.
* b2.0.1  - 2010-05-02 Getrix - Getting it ready for public test. Old tables need to be deleted.
* b2.0.0  - 2010-05-01 Getrix - Rewritten script to handle more lockout types: Raid, Group (6mans), Solo, Minigame
* b1.0.10 - 2010-02-04 Getrix - fixed typos that caused it to crash
* b1.0.9  - 2010-02-04 Getrix - added update_table to add instances when they arrives. T3 is being added to tblv2
* b1.0.8  - 2009-12-14 Kyr    - added admin ability to add/remove binds for others
* b1.0.7  - 2009-12-13 Getrix - Added "!bound raid" for LEADER(default) to bound whole raid within a instance.
* b1.0.6  - 2009-11-21 Kyr    - added setting for ServerResetTime
* b1.0.5  - 2009-11-21 Getrix - Fixed typos
* b1.0.4  - 2009-11-19 Getrix - Fixed bug in function bound()
* b1.0.3 Added !bound <nick>
* First release. Added "add interfaces"
*/
--- End quote ---

OLD Info:
Simpel module to keep track of whatever your char is bound to a boss instance.
Not much function, but it get your life abit better :P
Should work for both AoC and AO (Do AO have this kinda bound?)

Script found here: http://dump.sjef.biz/aoc/bebot/Bound/Bound.phps

NOTE: Only a beta as there is not much "extras". Dunno when or if i have time to make more to it.


There isnt any function to add instances, on the first run with b1.0.1 and nothing added to instance table the module will add current raid content for AoC.

Another NOTE:
As this is a beta, there probly will be changes in MySQL so you need to remove all stored data for this on a upgrade...

viggen:
[10:47] [Guild] [xxx]: !bound add Vistrix
[10:47] [Guild] [xxx]: Bound failed, instance doesnt exist! Bound info


----

not able to add char to list...   cmds for the script?

Edit:  Anyone else using this mod?  working for you?

Getrix:
Is it my english that causes ppl to not understand what im writing?

This function is made verry simpel. All you have todo is type "!bound" with any char that have access to the bot and minimum "Member" status. Then you will get a verry easy interface in the link.
And then, read the first post again about instances.

"!help bound"

viggen:
were do you insert the script that add the bound raids that u posted for AOC raids?

BoA-Gert:
Nice - works fine and easy to use...just one quick question, does it reset at 04:00GMT Tuesdays or just when it reaches Tuesday?

/edit

I suggest the instance list SQL be:


--- Code: ---INSERT INTO `PREFIX_bound_instance` (`instance_id`, `instance_shortname`, `instance_fullname`) VALUES
  (1, 'BRC-W1', 'Tier 2 - Black Ring Citadel, W1'),
  (2, 'BRC-W2', 'Tier 2 - Black Ring Citadel, W2'),
  (3, 'BRC-W3', 'Tier 2 - Black Ring Citadel, W3'),
  (4, 'Vistrix', 'Tier 1 - The Dragon''s Lair'),
  (5, 'Yakhmar', 'Tier 1 - Yakhmar''s Cave'),
  (6, 'Kyllikki', 'Tier 1 - Kyllikki''s Crypt');
--- End code ---

So that the display names show which Wing ;)

@ Viggen - I used phpMyAdmin to run the SQL - depends what access and utils you have :)

Navigation

[0] Message Index

[#] Next page

Go to full version