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: Alien Armor module  (Read 4674 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Alien Armor module
« on: June 15, 2006, 01:01:04 pm »
!lead # - Info on what you can do with a lead bots of ql #
!armor # - Info on what's required to make an alien armor of ql #
« Last Edit: June 15, 2006, 01:08:38 pm by Wolfbiter »
Too many toons.

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: Alien Armor module
« Reply #1 on: June 15, 2006, 01:22:44 pm »
hm nice, gonna play with it a bit ;D

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien Armor module
« Reply #2 on: June 16, 2006, 02:06:17 am »
Using make_item in blobs needs a str_replace('"',"'",$item); at least it does for my bebot.

Attached is a quick fixed version.
« Last Edit: June 16, 2006, 02:46:58 am by Malosar »
Eternalist
General of The Syndicate

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien Armor module
« Reply #3 on: June 16, 2006, 07:24:32 am »
I have no issues, since the item text doesn't contain any "s.
What happends to your bot without the fix?
Too many toons.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien Armor module
« Reply #4 on: June 16, 2006, 01:45:00 pm »
I have no issues, since the item text doesn't contain any "s.
What happends to your bot without the fix?

It will display the item in the blob but you can't click on it, you dont get the itemref:// etc for the item it makes.

In your Bot.php, does your make_item look like this?

Code: [Select]
function make_item($lowid, $highid, $ql, $name)
{
return "<a href=\"itemref://" . $lowid . "/" . $highid . "/" . $ql . "\">" . $name . "</a>";
}

As you can see mine is returning all the doublequotes which need to be single quotes in blobs. If your itemlinks are working fine in the blob, what does your make_item look like?
Eternalist
General of The Syndicate

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien Armor module
« Reply #5 on: June 16, 2006, 07:47:28 pm »
On the bot I run (0.3.something) it's ' so that's why I didn't have any issues. Guess the older has ", good to know.
Too many toons.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien Armor module
« Reply #6 on: August 07, 2006, 01:47:58 am »
!lead 192 =

Arithmetic/Enduring/Supple Leadbot
Bio-Clump: ql240 / ql192+
Lead bots: ql192+ / ql154+
Viralbots: ql192+ / ql154+
Commando / Mercenary / Officer
Paramedic / Scout / Sharpshoter

Observant/Spritual/Strong Leadbot
Bio-Clump: ql300 / ql240+
Lead bots: ql240+ / ql192+
Viralbots: ql240+ / ql192+
Commando / Mercenary / Officer
Paramedic / Scout / Sharpshoter

Isn't that backwards, ie Observant/Spritual/Strong Leadbot being the first (lowest) bot and Arithmetic/Enduring/Supple Leadbot being the second (highest) bot determining end QL of combined?

-jj-

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien Armor module
« Reply #7 on: August 07, 2006, 03:59:03 am »
Backwards in what way? The info is accurate.. if it's a arith/end/supple you can only make ql240 combined with it, and if it's obs/spi/str you can make ql300 combined with it.
Too many toons.

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Alien Armor module
« Reply #8 on: August 07, 2006, 05:28:09 am »
*kicks Wolf*

I had been thinking about adding this one...thief! :p
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien Armor module
« Reply #9 on: August 07, 2006, 08:51:40 am »
Backwards in what way? The info is accurate.. if it's a arith/end/supple you can only make ql240 combined with it, and if it's obs/spi/str you can make ql300 combined with it.

Yep, thats true, perfect thanks :-)

-jj-

Offline Areteh

  • BeBot User
  • **
  • Posts: 23
  • Karma: +0/-0
Re: Alien Armor module
« Reply #10 on: January 06, 2007, 11:46:17 am »
help file.  (yeah, I'm spamming them a bit, just figured since I'm writing them for my own bots, I may as well share.)

 

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