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: Pocketboss and Symbiant module  (Read 47290 times)

0 Members and 3 Guests are viewing this topic.

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Pocketboss and Symbiant module
« on: September 10, 2005, 01:39:10 am »
With this module you can see what pb drops which symbiants and what symbiants are dropping from which pocketboss.

Commands
!pb "pocketboss name"
- Show the list of the dropping symbiants

!symb "place" "type"
- Shows the pocketbosses that drops your needed symbiant

You need these two files to get it to work
http://nne-clan.clanintern.de/bebot/_Colors.phps
http://nne-clan.clanintern.de/bebot/PB.phps
Derroylo 220/23 NT RK2

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Pocketboss and Symbiant module
« Reply #1 on: September 10, 2005, 06:07:22 am »
Nice one.

Small comment for this and your teamspeak plugin.

Use include_once instead of include. Else anyone installing both your plugins will get errors related to redefinition of functions.
BeBot Founder and Fixer Kingpin

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #2 on: September 10, 2005, 02:11:23 pm »
yeah sry have corrected it :)
Derroylo 220/23 NT RK2

Offline Plac3bo

  • BeBot User
  • **
  • Posts: 50
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #3 on: October 06, 2005, 08:48:03 am »
Why are these files phps? and not php?

I admit it, im a n00b :) But I downloaded them as they where and couldnt get the command to work..

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #4 on: October 06, 2005, 10:12:19 am »
phps = php-source
Its just so that the server doesn't interpert/execute them instead of showing the source... You'll have to rename them to .php to get them to work. ;)

Offline iriche

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #5 on: October 06, 2005, 12:33:27 pm »
Im thinking about posting mine...
yeah Ill do that later today

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #6 on: October 19, 2005, 11:41:42 am »
Think I found a Bug with the Symb command.

When it pulls the results and offers Clickies to the PB in the Info window it doesn't add syntax to the front of pb

I.E. I use ! for syntax, links created show for example:

/tell <bot> pb <bossname>

EDIT:  Never mind, I fixed it. I was missing the <pre> infront of pb in the code below.
Code: [Select]
$msg .= Grouptext("   Found on ")."<a href='chatcmd:///tell <botname> <pre>pb ".$symb[3]."'>".$symb[3]."</a>\n\n";
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Wanuarmi

  • Contributor
  • *******
  • Posts: 121
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #7 on: November 13, 2005, 05:23:28 am »
found a little bug/typo

Code: [Select]
 $commands["gc"]["pb"] = &$pb;
  $commands["tell"]["pb"] = &$pb;
  $commands["pgmsg"]["pb"] = &$pb;
  $commands["gc"]["symb"] = &$pb;
  $commands["tell"]["symb"] = &$pb;
  $commands["pgmsg"]["pb"] = &$pb;


the second pgmsg shoud be symb or you wont be able to use it on private channel.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #8 on: November 19, 2005, 03:13:36 am »
Search Bug:

!pb Suzerain should return:

Adobe Suzerain
Kaoline Suzerain
Loessial Suzerain etc etc

However, returns only the first PB found with all the symbs from the others attached.

Cheers,

-jj-

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #9 on: November 20, 2005, 01:01:57 pm »
I added all the missing PBs to the file (there were about 10 or so), I couldn't figure out the problem with the searching so that still needs to be fixed.  The list should be accurate with Aopocket's information now.

Let me know if any issues.

Cheers,

-jj-

http://www.jjones.co.uk/files/pb.php

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #10 on: November 20, 2005, 07:00:32 pm »
Link doesn't seem to be working.

As for the search issue in that module. The mod is only setup to return one PB with a clicky link. So if mulitple PB's have simular names your going to get all Symbs listed in one window with the 1 provided blob.

I been meaning to re-write this one myself to return multiple bosses in a window, kinda like the items command does if it finds more than one item. Also was going to have it search a DB table rather than having that huge Array in pb.php stuffed into memory. Already have the data stuffed into a .sql script file and on a table in the db actually. :) Just a matter of re-writing the search function or adapting the one from items.php

Here's the SQL version of the Symbs/PB's: ftp://xen.afraid.org/bebot_files/pbsymbs.sql
doesn't include your additional symbs btw
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #11 on: November 24, 2005, 01:54:05 am »
Hi,
Hopefully link should be working now...
Cheers,
-jj-

Offline Wanuarmi

  • Contributor
  • *******
  • Posts: 121
  • Karma: +0/-0
Pocketboss and Symbiant module
« Reply #12 on: December 06, 2005, 02:43:34 am »
heres a couple helpfiles for this module

pb.txt and symb.txt

Code: [Select]
<font color=CCInfoHeader><pre>pb &lt;pocketboss&gt;</font>
<font color=CCInfoText>Shows info on pocketbosses.</font>


Code: [Select]
<font color=CCInfoHeader><pre>symb &lt;slot&gt; &lt;type&gt;</font>
<font color=CCInfoText>Shows info on symbiants.

Slot
( eye | head | ear | rarm | chest | larm | rwrist | waist | lwrist | rhand | legs | lhand | feet )

Type
( support | control | infantry | artillery | extermination )

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Pocketboss and Symbiant module
« Reply #13 on: December 14, 2005, 02:29:01 am »
Added following symbs which are not on AOPocket or any other PB module AFAIK (will add more as found).
Thanks Enrubi and Pinnag from Storm.

Alert Left Arm Extermination, Anansi's Adherent
Cognizant Right Arm Control, Ushqa
Effective Left Hand Control, Shake

www.jjones.co.uk/files/pb.php

*pokes Xenixa*

Cheers,

-jj-


Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Pocketboss and Symbiant module
« Reply #14 on: December 14, 2005, 03:28:37 am »
Hrm, im starting to think it would be better to move the array of symbiants into the database.
BeBot Founder and Fixer Kingpin

 

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