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

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

Author Topic: bossloot  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

Offline Metaphblade

  • BeBot User
  • **
  • Posts: 49
  • Karma: +0/-0
bossloot
« on: September 10, 2007, 01:59:39 am »
way back when....lol, there was a module for bossloot.  Was wondering if this could be converted to the 4.0-4.1 format?

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: bossloot
« Reply #1 on: September 10, 2007, 02:41:40 pm »
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.link/index.php?board=3.0 and read the first post before posting. :)
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: bossloot
« Reply #2 on: September 11, 2007, 05:19:57 pm »
I guess he means one like the old bossloot module, which was quite different from the symb/pb module. Was http://bebot.link/index.php/topic,388.0.html the link to it?
Luuv  Bot-Keeper of Vengeance ^^*

Offline Metaphblade

  • BeBot User
  • **
  • Posts: 49
  • Karma: +0/-0
Re: bossloot
« Reply #3 on: September 13, 2007, 03:12:09 am »
I guess he means one like the old bossloot module, which was quite different from the symb/pb module. Was http://bebot.link/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

Offline Metaphblade

  • BeBot User
  • **
  • Posts: 49
  • Karma: +0/-0
Re: bossloot
« Reply #4 on: September 13, 2007, 03:15:56 am »
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.

Offline Phan

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: bossloot
« Reply #5 on: November 21, 2007, 01:59:05 pm »
Yes I would like this converted to the latest version of BeBot as well.

Offline Retox

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: bossloot
« Reply #6 on: December 16, 2007, 11: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: [Select]
$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)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: bossloot
« Reply #7 on: December 17, 2007, 01:06:08 am »
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.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 219
  • 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