AOWiki :: AODevs Forums :: Arcanum :: AO Official Forums :: AOC US/EU Official Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
+  FC 3rd Party Dev
|-+  Anarchy Online» Budabot» Guidebot module v3 - lower/upper case extensions
Username:
Password:
 
Pages: [1]
  Print  
Author Topic: Guidebot module v3 - lower/upper case extensions  (Read 797 times)
Etheryal
Reet
**

Reetness: +0/-0
Offline Offline

Posts: 70


View Profile
« on: February 16, 2010, 11:47:03 »

Hey Plugz,

Great work on the module btw.  Making this post as a heads up (just stumbled across this today):

The all caps extension for your GUIDEBOT_MODULE.PHP file is perceived different from GUIDEBOT_MODULE.php (lowercase extension) on linux systems.  So yeah: windows systems are unaffected, but the module will not load at all on linux systems, as it will be looking for a GUIDEBOT_MODULE.php file, and it cant find one.  I'm no expert on linux, so I'm not sure if this is the case for "all" linux systems, or if it was only for the distro I was using.  I changed the extension to lowercase (.php), and it loaded up just great

Thanks again for the awesome module and all your hard work.

EDIT: Also: in the buffs.php file.  The variable used for priv group output is different to the detriment of the command.  Line 237 looks like it should be bot::send($Buffs_txt);

And lastly (sorry, I know I'm piling on :S), the !guides command is listed twice in the main configuration file (GUIDEBOT_MODULE.php).  Once around lines 106-109 and again around 196-199.  The fact that it's declared twice is causing the bot to not register the command at all.  I erased the entries, in the 196-199 region, and that did the trick.  Errr, after opening the guides.php file and editing line 158 to be elseif($type == "priv")

EDIT2: Bleh sorry I'm back.  When you do !guides, towards the bottom of that listing is a section that goes something like this: Can you think of any changes or additions? Contact your org leader or the <a href='chatcmd:///tell Plugsz'Guide Developer, Plugsz on RK1'

Apostrophes aren't really doing so hot atm with budabot since it already uses double and single quotes to nest the chat commands in the first place.  So any additional single quotes will just break the syntax and cause any remaining info to just spill out.  To save people the trouble of having to edit their bot cores to handle additional single quotes/for the short term, I'd recommend just taking out the single quote for now :S
« Last Edit: February 16, 2010, 12:13:17 by Etheryal » Logged

Legendadv Adv
Etherealcrat Crat
Zephyrforce Enfo
Etherealheal Doc
(and lots more)
plugsz
Rollerrat
*

Reetness: +0/-0
Offline Offline

Posts: 49



View Profile
« Reply #1 on: March 06, 2010, 05:24:04 »

I'll see what I can do about straightening things out
renames won't be too hard to deal with for the lower/uppercase thing and there have been cosmetic improvements I've done since v3 release
will post it up within a few days
Logged

Proud developer of Guidebot
Guides Module for Budabot
http://budabot.aodevs.com/forum/viewtopic.php?t=128
tyrence
Reet
**

Reetness: +0/-0
Offline Offline

Posts: 69


View Profile
« Reply #2 on: March 06, 2010, 08:40:04 »

Also, in guides.php, line 73, the link for "Searchable Spirits database" does not work.  It goes to: "/tell <botname> help spirits"

Is there a spirits module that that is referencing?  And if so, where can I get that?
Logged
Arsenal
Rollerrat
*

Reetness: +0/-0
Offline Offline

Posts: 7


View Profile
« Reply #3 on: March 17, 2010, 20:52:46 »

Quote
EDIT2: Bleh sorry I'm back.  When you do !guides, towards the bottom of that listing is a section that goes something like this: Can you think of any changes or additions? Contact your org leader or the <a href='chatcmd:///tell Plugsz'Guide Developer, Plugsz on RK1'

This is actually not a problem related to apostrophes or quotes, it's a broken link.

Original:
Code:
<a href='chatcmd:///tell Plugsz' /a>Guide Developer, Plugsz</a> on RK1'

Changing it to a legal link works fine:
Code:
<a href='chatcmd:///tell Plugsz'>Guide Developer, Plugsz</a> on RK1'

Note the removed /a in the first < . . . >
Logged
Pages: [1]
  Print  

 
Jump to:  

Page created in 0.066 seconds with 17 queries.