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: Alien-biomaterial script  (Read 42744 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Alien-biomaterial script
« on: January 13, 2006, 01:49:24 am »
Updated 2007-01-21

A script which can identify multiple clumps at once, and also gives clickable links for highest ql weapon for type X materials.
Usage: !clump [post all bio-clumps here]
!id and !bio also works

Will reply 1-3 clumps back in chat, 4+ in a textblob.

!type [ql] <type #> - Show you what you can use ql (default 300) type # for
!ofab # - Show Ofab armor - Weapons are with !type (!type # works for armor now too)

Update notes
Moved from hardcoded into database for this, finally.
Didn't bugtest this script as I should have.. so report any and all bugs you find.
All armor (!ofab and !clump with armor upgrade) are so-so, both output and code-wise.. I was just too lazy to make it better, it's just something you'll have to live with.
All Ofab (armor and weapon) are ql300 only.
-Armor: Only way to get reliable data is to buy every single piece and check the item #'s for each step. If you're prepared to do that, contact me and I'll setup a bot that you can use to collect the data.
-Weapon: Too lazy to get item # for any other ql.. I might some day when I'm even more bored than now.
Anyone that wishes to complete the lowid for ofab weapon clumps are more than welcome to do so.

Fixes
2007-01-03: send_pgmsg -> send_pgroup... I always make that misstake
2007-01-21: Fixed !ofab output and changes some other minor script changes. Also added which weapontype to Ofab weapon clumps info (need new .sql for that change, if you don't care you can keep old).
« Last Edit: January 22, 2007, 02:37:11 pm by Wolfbiter »
Too many toons.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #1 on: January 13, 2006, 07:47:02 pm »
Very nice =)

Cheers,

-jj-

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #2 on: January 14, 2006, 08:50:18 pm »
Need to use the fix listed at http://bebot.link/index.php/topic,234.0 for the script to work proper.
Too many toons.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #3 on: June 28, 2006, 09:03:11 am »
Is there any way the script can be modified to output to GC only if clump posted there or PGROUP only if posted there, currently sends to both.

Cheers,

-jj-

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #4 on: June 28, 2006, 06:10:43 pm »
The whole script is a bit outdated.. added a !type command and changed the script some... I'll post an update in the first post after I look over it.
Too many toons.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #5 on: June 28, 2006, 08:38:14 pm »
Thanks :-)

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #6 on: July 25, 2006, 12:00:48 pm »
A late but needed update.
Too many toons.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #7 on: December 31, 2006, 05:52:12 am »
Big update... LE clumps and harcoded info -> database
Too many toons.

Offline ilon

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #8 on: December 31, 2006, 08:13:16 am »
hello, when trying to start the bot with this module, i get the following error
Parse error: parse error, unexpected T_STRING in /home/bebot/BeBot_v0.2.10/modules/Clump.php on line 163
and the bot starts to crashloop.
Code: [Select]
$output="<>bot->make_blob("Weapon types",$output);is the line it complains about.

i dont know php, but that string isnt closed, might be the problem? tried to close it, but just gave me another error >_>

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #9 on: December 31, 2006, 09:50:24 am »
That line isn't pressent in my local script, nor when I downloaded it just now from here... In both scripts, line 163 is just a "}". Try downloading the script again.
Too many toons.

Offline ilon

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #10 on: December 31, 2006, 10:00:08 am »
hm, sorry to bother you, guess it was only some problems with pasting large texts into putty :(

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #11 on: December 31, 2006, 01:11:24 pm »
awesome! far better than my interim hack, thankyou.

edit: omg ofab armor list not in blob, the spam the spam! need to edit...
« Last Edit: December 31, 2006, 01:18:47 pm by Malosar »
Eternalist
General of The Syndicate

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #12 on: December 31, 2006, 05:56:15 pm »
Yea.. I applied laziness when I made the armor, why I also made a .sql without basic ofab to cut down on spam (not to mention you can see basic ofab in the shops).
Too many toons.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #13 on: January 02, 2007, 06:00:57 pm »
Here is a slightly updated version of Wolfbiters which changed Ofab results into a blob, and also allows ql option for !ofab and !type commands. For ofab it will select the next lowest increment of 25 from whatever ql you specify. You will need new sql because of the added ofab armor data.
« Last Edit: January 04, 2007, 01:01:57 am by Malosar »
Eternalist
General of The Syndicate

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #14 on: January 02, 2007, 09:08:39 pm »
Not sure if this is relevant to anyone else, but I had to change the sql to use a single-quote to escape the single-quotes, rather than the backslash. For example, in the original it would say:

Code: [Select]
Kyr\'Ozch
to

Code: [Select]
Kyr''Ozch

 

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