L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 10:46:39 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Alien-biomaterial script
Pages: [1] 2 3   Go Down
« previous next »
Print
Author Topic: Alien-biomaterial script  (Read 3440 times)
0 Members and 1 Guest are viewing this topic.
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Alien-biomaterial script
« on: January 12, 2006, 07:49:24 PM »

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, 08:37:11 AM by Wolfbiter » Logged

220 Doctor | 220 Adventurer | 220 Shade
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: Alien-biomaterial script
« Reply #1 on: January 13, 2006, 01:47:02 PM »

Very nice =)

Cheers,

-jj-
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #2 on: January 14, 2006, 02:50:18 PM »

Need to use the fix listed at http://bebot.shadow-realm.org/index.php/topic,234.0 for the script to work proper.
Logged

220 Doctor | 220 Adventurer | 220 Shade
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: Alien-biomaterial script
« Reply #3 on: June 28, 2006, 02: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-
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #4 on: June 28, 2006, 11:10:43 AM »

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.
Logged

220 Doctor | 220 Adventurer | 220 Shade
jjones666
BeBot Contributor
Champion
*******
Offline Offline

Posts: 353


Re: Alien-biomaterial script
« Reply #5 on: June 28, 2006, 01:38:14 PM »

Thanks :-)
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #6 on: July 25, 2006, 05:00:48 AM »

A late but needed update.
Logged

220 Doctor | 220 Adventurer | 220 Shade
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #7 on: December 30, 2006, 11:52:12 PM »

Big update... LE clumps and harcoded info -> database
Logged

220 Doctor | 220 Adventurer | 220 Shade
ilon
Rookie
**
Offline Offline

Posts: 22


Re: Alien-biomaterial script
« Reply #8 on: December 31, 2006, 02: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:
$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 >_>
Logged
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #9 on: December 31, 2006, 03: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.
Logged

220 Doctor | 220 Adventurer | 220 Shade
ilon
Rookie
**
Offline Offline

Posts: 22


Re: Alien-biomaterial script
« Reply #10 on: December 31, 2006, 04:00:08 AM »

hm, sorry to bother you, guess it was only some problems with pasting large texts into putty Sad
Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: Alien-biomaterial script
« Reply #11 on: December 31, 2006, 07:11:24 AM »

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, 07:18:47 AM by Malosar » Logged

Eternalist
General of The Syndicate
Wolfbiter
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 141



WWW
Re: Alien-biomaterial script
« Reply #12 on: December 31, 2006, 11:56:15 AM »

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).
Logged

220 Doctor | 220 Adventurer | 220 Shade
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: Alien-biomaterial script
« Reply #13 on: January 02, 2007, 12: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 03, 2007, 07:01:57 PM by Malosar » Logged

Eternalist
General of The Syndicate
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: Alien-biomaterial script
« Reply #14 on: January 02, 2007, 03: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:
Kyr\'Ozch

to

Code:
Kyr''Ozch
Logged
Pages: [1] 2 3   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Alien-biomaterial script
« previous next »
 
Jump to:  

Recent
Change text in remember "...
by gerborg
[Today at 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 17
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 21
Total: 21

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.593 seconds with 30 queries. (Pretty URLs adds 0.04s, 4q)
Loading...