collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Instance Bound Tracker b2.x.x  (Read 121839 times)

0 Members and 3 Guests are viewing this topic.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Instance Bound Tracker b2.x.x
« on: November 05, 2009, 05:59:50 pm »
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: [Select]
                ('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)");

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"
*/

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...
« Last Edit: August 16, 2011, 01:23:46 pm by Getrix »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline viggen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #1 on: November 05, 2009, 07:49:02 pm »
[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?
« Last Edit: November 05, 2009, 09:49:17 pm by viggen »

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #2 on: November 05, 2009, 10:22:46 pm »
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"
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline viggen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #3 on: November 05, 2009, 10:50:29 pm »
were do you insert the script that add the bound raids that u posted for AOC raids?

Offline BoA-Gert

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #4 on: November 05, 2009, 11:57:36 pm »
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: [Select]
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');

So that the display names show which Wing ;)

@ Viggen - I used phpMyAdmin to run the SQL - depends what access and utils you have :)
« Last Edit: November 06, 2009, 12:20:48 am by BoA-Gert »

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #5 on: November 06, 2009, 06:57:00 am »
Hehe thanks BoA-Gert. The Wing number was forgotton when i copy posted from my dev base. :S

Atm it resets at Tuesday 00:00. Didnt remember the time exact, but there shouldnt be the biggest problem for ppl in that 4hr time-frame?
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline BoA-Gert

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #6 on: November 06, 2009, 12:25:36 pm »
Shouldn't be a problem - just wasn't sure if it was checking the time as well as day...

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #7 on: November 06, 2009, 01:08:09 pm »
I made a verry simpel calculation on the reset time.
As tuesday is the 2nd day of ordinary week, mondays will be Week nr X - 1 (minus). And then only save the week number ppl are bounding in the database. Verry simpel, but it works.

I thougt everyone running a bot should have experience enough to put the instance information into SQL when i made the commands needed, but maybe im wrong..
Uploaded a new file where it checks and add current AoC raid instances if nothing else is added.
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Baldrick

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #8 on: November 06, 2009, 03:44:45 pm »
This is exactly what I was on about in my recent post. Thanks a lot for this, it is really appreciated!


Offline viggen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #9 on: November 06, 2009, 08:21:52 pm »
it works GREAT!  excellent job!

Thanks!

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #10 on: November 07, 2009, 10:22:45 am »
can you add the function "!bound <name>" to show the bounds of a different charakter?
if <name> is empty the own charakter name will be shown

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #11 on: November 08, 2009, 09:23:26 pm »
This is great, thanks!
~Kyr

Offline viggen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #12 on: November 09, 2009, 09:46:50 am »
can you add the function "!bound <name>" to show the bounds of a different charakter?
if <name> is empty the own charakter name will be shown


Ya would love to see a way to search other players or even your own without having to log on that specific character


Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #13 on: November 09, 2009, 10:23:58 am »
can you add the function "!bound <name>" to show the bounds of a different charakter?
if <name> is empty the own charakter name will be shown

This function is added to b1.0.2: http://dump.sjef.biz/aoc/bebot/Bound/Bound.phps
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: Instance Bound Tracker
« Reply #14 on: November 09, 2009, 11:44:19 am »
<3 Gentrix! :)

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 492
  • 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