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: nano  (Read 13562 times)

0 Members and 1 Guest are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
nano
« on: September 09, 2009, 07:13:44 pm »
nano seems to be stuck in a loop. I can't get it to display anything except for the default help page for it. Do we have an updated nano command for .6.x?

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: nano
« Reply #1 on: October 03, 2009, 09:04:09 pm »
This one works for me :)

Can't remember if I did any work to it or not, but works fine on latest 6.x bot :)
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: nano
« Reply #2 on: October 03, 2009, 10:26:16 pm »
works great except the itemref doesn't seem to work, but much better than the broken one before...hehe....

Offline Heffalomp

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: nano
« Reply #3 on: October 12, 2009, 01:05:15 am »
it doesn't? hmm... must be that I have uploaded the nanos sql thingy to my db that solves that then, did I forget to include it? if so just use this one
« Last Edit: October 12, 2009, 01:08:51 am by Heffalomp »
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware"

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: nano
« Reply #4 on: March 22, 2010, 01:20:36 am »
nice mod, reminds me of the old nano module on budabot
any chance anyone has updated the DB to include the apf and quest nanos as well?

also, all queries come back with double results when called from orgchat....
did this: !nano gift of
Results 6 when its actually only 3

« Last Edit: March 22, 2010, 01:22:41 am by plugz »

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: nano
« Reply #5 on: March 22, 2010, 02:50:13 pm »
I might be tempted to update this for newer bebot (my local db of nanos has quest and apf nanos), but I need someone that runs the latest bebot that can act as my tester then.

If anyone is interested, send a tell to Sinslayer (RK1), it's bot that'll poke any alt I happens to be on.
« Last Edit: March 22, 2010, 02:52:21 pm by Wolfbiter »
Too many toons.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: nano
« Reply #6 on: March 22, 2010, 02:51:59 pm »
test subject found
I run 13 bots currently on ao so I'll definitely be able to test it

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: nano
« Reply #7 on: March 22, 2010, 07:35:56 pm »
Script has been updated for latest (afaik) bebot.
APF nanos are not clickable because they don't have their own crystal.
Might be possible to get the right id to set the `crystal` field to to make it work, but I'll leave it up to someone else to find it.

I'm not giving support for this script, if there's problems post in here and hope someone that can fix it reads it.
Too many toons.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: nano
« Reply #8 on: April 06, 2010, 03:45:32 am »
I noticed one small bug ... Meta Physicist & Nano Technician were not finding the right nanos... So, I added the global declaration for $proflist and changed meta_physist to meta-physist... and nano_technician to nano-technician... works great now, though only finds a max 100 nanos per search...
Snippit of corrections:
Code: [Select]
        class Nanos extends BaseActiveModule {
                var $profs;
                var $loc;
                var $proflist;

                function __construct (&$bot) {
                        //Initialize the base module
                        parent::__construct(&$bot, get_class($this));

                        /*
                        Regoster commands with the bot.
                        Possible values for $channel:
                        tell (incomeing tell)
                        pgmsg (message in privategroup)
                        gc (message in guildchat)

                        $command should be a string with the command the module should react to
                        */
                        $this -> register_command('all', 'nano', 'GUEST');

                        $this -> bot -> core("settings") -> create('Nano', 'icon', false, 'Displaying of nano crystal icon.', 'On;Off');

                        $this -> help['description'] = 'Searches for locations of nanos.';
                        $this -> help['command']['nano']='Shows help.';
                        $this -> help['command']['nano -search options-']="# or #-# for ql/ql ranges\n          profession\nlocation (store, mission, dyna, unique, nascence, etc)\nexact search string using quotes ie. \"guardian of might\"";
                        $this -> help['notes'] = '##yellow##You can use as many of each option as you like in every search##end##';

                        $this->proflist = Array("adventurer","agent","bureaucrat","doctor","enforcer",
                                "engineer","fixer","general","keeper","martial_artist","meta-physicist",
                                "nano-technician","shade","soldier","trader");

Shelly

 

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