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, 04:44:17 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: bossloot
Pages: [1]   Go Down
« previous next »
Print
Author Topic: bossloot  (Read 604 times)
0 Members and 1 Guest are viewing this topic.
Metaphblade
Rookie
**
Offline Offline

Posts: 49


bossloot
« on: September 09, 2007, 06:59:39 PM »

way back when....lol, there was a module for bossloot.  Was wondering if this could be converted to the 4.0-4.1 format?
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: bossloot
« Reply #1 on: September 10, 2007, 07:41:40 AM »

I must say that I'm not sure what you're talking about. If it's which symbs pocket bosses drop I think we've got one. If not please head to http://bebot.shadow-realm.org/index.php?board=3.0 and read the first post before posting. Smiley
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: bossloot
« Reply #2 on: September 11, 2007, 10:19:57 AM »

I guess he means one like the old bossloot module, which was quite different from the symb/pb module. Was http://bebot.shadow-realm.org/index.php/topic,388.0.html the link to it?
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: bossloot
« Reply #3 on: September 12, 2007, 08:12:09 PM »

Quote from: pusikas on September 11, 2007, 10:19:57 AM
I guess he means one like the old bossloot module, which was quite different from the symb/pb module. Was http://bebot.shadow-realm.org/index.php/topic,388.0.html the link to it?

yes, that is the exact module i was talking about.  i would like to have that "ported" to 0.4.1  i would do it.....but i r teh suck at php
Logged
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: bossloot
« Reply #4 on: September 12, 2007, 08:15:56 PM »

for the format in the first post of this forum.

Basically allows you to lookup a loot table either by the name of a boss (returns loot for that name) or the name of an item (returns bosses it drops from).

Commands:

!bossloot name name of boss - searches the db for that name, can be partial and will return loottables for each match.

!bossloot loot name of item - searches the db for each boss that drops that item. Will return results for each item if multiple found.

!bossloot add <itemref>/name of boss/location - Adds an item to the db. It will check whether the item already exists under the boss name so the name of the boss MUST be exact. The location will not overwrite if the boss already exists, so you can put anything for location if adding to an existing droptable. However you must include something for location.

please not that this was just a copy/paste from the origonal thread.
Logged
Phan
Freshman
*
Offline Offline

Posts: 7


Re: bossloot
« Reply #5 on: November 21, 2007, 07:59:05 AM »

Yes I would like this converted to the latest version of BeBot as well.
Logged
Retox
Freshman
*
Offline Offline

Posts: 1


Re: bossloot
« Reply #6 on: December 16, 2007, 05:37:13 PM »

Actually... No conversion needed, just upload the original SQL tables, add the .PHP to the modules direcotry, and restart. Works just fine for me on v0.4.1 bot. Don't forget the items database. Newest one I have is 17.0.0.  anyone have a newer sql dump of the items database?

I did add the help into the .PHP file, just so it's there, I'll post it here if you want easy copy-paste fixing.

Under the bossloot function, add this:
Code:
$this -> bot -> accesscontrol -> create("all", "bossloot", "GUEST");

$this -> help['description'] = "Bossloot will allow you to search for loot, and return which boss drops it, or search for bosses, and return what loot they drop.";
$this -> help['command']['bossloot name <boss_name>'] = "Searches loot table for drops specified for that boss.";
$this -> help['command']['bossloot loot <item_name>'] = "Shows list of bosses specifed loot drops from.";
$this -> help['command']['bossloot add <itemref>/<bossname>/<location>'] = "Add to the loot table under a boss name. (Location must be entered but if boss exists will not be overwritten.)<";
$this -> help['command']['bossloot check'] = "Only works in a tell. Checks boss DB against items DB for inconsistencies.";

I have not tested the add function, or the check function, but the searches do work.

Enjoy!
- Retox (RK2)
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1089


Re: bossloot
« Reply #7 on: December 16, 2007, 07:06:08 PM »

Small add: you have to use !commands to set the access level for !boss, otherwise only the owner (at least in default setup) will be able to access the command.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: bossloot
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 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: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 7
Guests: 17
Total: 24
daltarak
vikor
upstart
Sudoka
Glarawyn
Snarfblatt

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.286 seconds with 28 queries. (Pretty URLs adds 0.028s, 4q)
Loading...