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: Alien-biomaterial script  (Read 42745 times)

0 Members and 2 Guests are viewing this topic.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #15 on: January 02, 2007, 09:33:02 pm »
The command !ofab kills my bot anyone else have this sort of problem? The bot is installed as a raid bot.

Edit: kindof weird, but it works fine in my guild bot and in tells.. just seems to die in the pg.
« Last Edit: January 02, 2007, 09:46:19 pm by Snarfblatt »

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #16 on: January 02, 2007, 09:38:33 pm »
The command !ofab kills my bot anyone else have this sort of problem? The bot is installed as a raid bot.

Check your console and post any errors here.
Eternalist
General of The Syndicate

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #17 on: January 02, 2007, 09:51:00 pm »
Code: [Select]
Fatal error: Call to undefined method Bot::send_pgmsg() in Clump.php on line 177

Looks like this should be calling send_pgroup.. not send_pgmsg. So that should fix it.
« Last Edit: January 02, 2007, 10:00:21 pm by Snarfblatt »

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #18 on: January 02, 2007, 10:33:02 pm »
oops, thanks. fixed and reposted.
Eternalist
General of The Syndicate

Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #19 on: January 03, 2007, 02:06:53 am »
I know this is just something minor and of no real importance, but why are all your files with blank lines? What code editor are you using, Malosar? I just know that my stupid vi hates it, makes the syntax highlighting slow as hell for some reason. :)
Luuv  Bot-Keeper of Vengeance ^^*

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #20 on: January 03, 2007, 02:28:51 am »
I know this is just something minor and of no real importance, but why are all your files with blank lines? What code editor are you using, Malosar? I just know that my stupid vi hates it, makes the syntax highlighting slow as hell for some reason. :)

Yeah, double spacing gives me headache to read too :-)  I tided it up and cleaned up the !ofab output slightly.  (I re-added the default ql 300 to !type also - different QL's still work if entered manually).

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

Thanks both for the updates :-D

-jj-

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #21 on: January 03, 2007, 03:18:14 am »
hmm it displays fine on mine, I thought it was something else that was making double spaces. I use gedit in ubuntu. I hate double spacing so sorry it's doing it for you all :p
Eternalist
General of The Syndicate

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Alien-biomaterial script
« Reply #22 on: January 03, 2007, 08:51:20 pm »
This is normally caused by CR/LF (Carriage Return/Line Feed) and Newline issues.
Windows and Unix use two different ways to designate a new line.

Most modern editors is able to handle both just fine, Notepad Plus is the one i've had the least trouble with http://notepad-plus.sourceforge.net although even it seems to have an issue with this one O.o.

Notepad in Vista at least has no issues with double lines with this file.
BeBot Founder and Fixer Kingpin

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #23 on: January 03, 2007, 09:06:51 pm »
Can anyone suggest an alternative that I can use in gnome? Must support php, html, bash, perl code highlighting ofc.
Eternalist
General of The Syndicate

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #24 on: January 03, 2007, 09:25:46 pm »
I like Notepad2 >_>
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #25 on: January 03, 2007, 11:22:47 pm »
For windows, I like Edit+. No idea for *nix.
Maybe I'll steal the ofab blob into my script someday when I'm bored, so people can get my script without double lines ;)
Too many toons.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Alien-biomaterial script
« Reply #26 on: January 04, 2007, 01:04:56 am »
I use UltraEdit32 for windows so I downloaded my clump.php.txt and it looked fine. However I saved it in UltraEdit and posted it again. See if the lines look again now? If so I might redo some of my previous postings as well.
Eternalist
General of The Syndicate

Offline Areteh

  • BeBot User
  • **
  • Posts: 23
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #27 on: January 06, 2007, 01:12:59 pm »
help files.  There are quite a few of them for this module.  (yeah, I'm spamming them a bit, just figured since I'm writing them for my own bots, I may as well share.)

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Alien-biomaterial script
« Reply #28 on: January 21, 2007, 11:48:51 pm »
updated
Too many toons.

Offline Psymonosmash`

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Alien-biomaterial script
« Reply #29 on: March 24, 2007, 10:42:14 pm »
Hello, i just tried installing this module onto my bot but every time someone drops a clump into org chat they get "[Cerberus] Tempcerbot: Solid Clump of Kyr'Ozch Bio-Material is an unknown material (or a bug in the script). Please contact Wolfbiter@RK1 before you do anything with it!"

the bot shot right back at them by the bot:

"MySQL error <# 0> on query: select type, name, specials, spec from clumpref where lid=247764 or hid=254804 Table 'databasename.clumpref' doesn't exist"

Anyone know what is wrong?

I am also a complete noob towards all of the code here so i need quite a simple explanation please:)

Psymonosmash

 

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