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: !impcomp  (Read 1599 times)

0 Members and 1 Guest are viewing this topic.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
!impcomp
« 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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: !impcomp
« Reply #1 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.
Too many toons.

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: !impcomp
« Reply #2 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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

 

* 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: 676
  • 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