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

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

Author Topic: Spirits module  (Read 5104 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Spirits module
« on: January 26, 2007, 05:49:14 am »
Update 2007-01-28: Due to a typo in my parse script, all right wrist spirits were marked as left wrist, just get the new .sql and run it.

Finally it's here, the spirit version of !symb

Usage: !spirit <search term>

search terms:
l# For searching spirits with the level req. of #
l#-# For searching spirits with the level req. between # and #
a# Spirits with agi/sen req. lower or equal to #
s# Same as above (the table contains both agi/sen req, but since they're all the same it'll only check supplied # against agi, never sen - Put both in just in case FC changes things in the future)
# For searching spirits with the ql #
#-# For searching spirits with the ql between # and #
lwrist/wrist/hand/etc etc etc You get the idea...
bitter/unhappy/etc etc Search for spirit name

As usual you can supply as many searchterms as you'd like, not just one.

Didn't really test it for logical search bugs.. so report any you find.
The table has the berserker rage spirit as well.

Word to the wise.. don't do too generic searches, there's a shitload of spirits and something like "!spirit 180-200" is 61 spirits.
« Last Edit: January 28, 2007, 07:50:34 pm by Wolfbiter »
Too many toons.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Spirits module
« Reply #1 on: January 26, 2007, 12:55:52 pm »
Nice work as always, thanks! Great search terms
Eternalist
General of The Syndicate

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Spirits module
« Reply #2 on: January 28, 2007, 07:50:59 pm »
Fixed a big bug in the .sql
Too many toons.

Offline kenneth

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Spirits module
« Reply #3 on: March 26, 2007, 04:07:18 am »
do i need both of those and what do i do with the sql one?

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: Spirits module
« Reply #4 on: May 10, 2007, 03:58:19 pm »
do i need both of those and what do i do with the sql one?


Yes you need both.  I created a directory in the bebot folder called "SQL" where I put all the SQL files.  Once you have the ./modules/spirits.php saved, start up MySQL via the command prompt and log in.  Select the database for your bot "use dbname;". Then upload the source SQL by doing "source path/spirits.sql;".  This will load the spirits tables and do any modifications.

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

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