BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: Blueeagle on February 29, 2008, 04:03:25 pm

Title: !impcomp
Post by: Blueeagle on February 29, 2008, 04:03:25 pm
Implant comparison module.

I'd like to see a module that is able to compare two implants.

The command would be !impcomp <implant1> <implant2> and the output would show how much you gain or loose in skill by replacing implant1 with implant2.

This would entail looking up an item database that does contain implants (auno or aomainframe unless vhabs item database now does implants) and grabbing the skills and after that it's a straight forward match and deduct.

If anyone feels up to it it would be a useful module me thinks.
Title: Re: !impcomp
Post by: Wolfbiter on February 29, 2008, 11:14:22 pm
A normal item db wont have the actual stats of the implants thou... you'd have to write a special parser and table to hold the relevant info from the ao db files.
I wrote a script to parse spirits with the agi/sen req, but then I knew it was only two specific stats. For implants you'd have to either list the stats in one field (shining, bright, faded) or add a field for each possible stat and compare it that somehow.
Title: Re: !impcomp
Post by: Blueeagle on March 01, 2008, 01:50:17 am
Prerequisites for this to work is that two head implants with different clusters don't have the same item-id and the abillity to turn the item-id into something usable by auno for example.

Odds are that there is a formula that we can use to grab the relevant page and parse it.

If one needs to enter the stats much of the point of the module is moot and void.

However for busy bots this would create aditional load if it's used frequently and the overhead of grabbing an external page and parsing it might be too much.
SimplePortal 2.3.7 © 2008-2024, SimplePortal