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: Bebot 0.3.x Development [release 0.3.5]  (Read 34119 times)

0 Members and 3 Guests are viewing this topic.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #45 on: December 13, 2005, 03:28:21 am »
Updated first post with SVN information for those that are feeling really brave.
BeBot Founder and Fixer Kingpin

Offline Wanuarmi

  • Contributor
  • *******
  • Posts: 121
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #46 on: December 15, 2005, 06:31:22 am »
do we have access to the svn? Rooster_RAID.php has the same big chunk of code twice changing only the response, to privgroup or tells...
« Last Edit: December 15, 2005, 06:33:34 am by Wanuarmi »

Offline Wanuarmi

  • Contributor
  • *******
  • Posts: 121
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #47 on: December 18, 2005, 08:20:35 pm »
can we use the svn system? if I get one of the scripts there and improve the code what should I do (post here, create a new topic)

and is there a reason bebot uses <? instead of <?php

Offline Akarah

  • Contributor
  • *******
  • Posts: 72
  • Karma: +0/-0
    • http://synergyfactor.net/
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #48 on: December 18, 2005, 09:51:04 pm »

and is there a reason bebot uses <? instead of <?php

3 less bytes? ;)

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #49 on: December 18, 2005, 10:37:40 pm »
For now, id prefer keeping control over what goes into SVN, so id like patches to be submitted on the forum, either as a full post of the module containing changes, a post detailing the changed code, or simply a diff (-burN) if that's your preferred method.

Giving out SVN access is something id like to do at some point however, granted some guidelines will need to be drawn up and agreed upon.
The community has provided more code overall to BeBot than i have, and i suspect that will never change :)

As for <? vs <?php, that would be a question to ask Blondengy. I'm not aware of any reasons why <?php shouldn't work, and i expect its done that way as a matter of personal preference on Blondengy's part.

Here on the forums at least however using <?php has clear advantages when it comes to posting code. Although I'm hoping to find the time to make the "php" bbcode create a nice box like "code".
« Last Edit: December 18, 2005, 10:41:00 pm by Khalem »
BeBot Founder and Fixer Kingpin

Offline Wanuarmi

  • Contributor
  • *******
  • Posts: 121
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #50 on: December 19, 2005, 05:45:30 am »
As for <? vs <?php, that would be a question to ask Blondengy. I'm not aware of any reasons why <?php shouldn't work, and i expect its done that way as a matter of personal preference on Blondengy's part.

I think <?php is what most interpreters use, I read somewhere someone had to change all <? to <?php because the other way messed with xml handling on his server... and I read that as well on some documentations on php, that coders always should use that for that reason etc

about the svn, id expect you to review all the code before adding them to the folder, seems svn doesnt work like that though. can we post code improvements on the forums?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #51 on: December 19, 2005, 11:43:47 am »
Post away.

Anything that doesn't break stuff badly or i think is a bad idea will usually be more or less automatically added to SVN when i have time.

And yes, some php configurations may have strict php tags enabled which means <?php is required.
BeBot Founder and Fixer Kingpin

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #52 on: December 19, 2005, 01:04:48 pm »
Hmm, well if you're just feeding the php.exe CLI .php documents is pretty safe for the CLI to assume it's a php doc when it see's <? ... ?>
Pushing the .php through a Web server I would expect it to be looking for the doc type after <?
<<< Hack's in Zend Studio

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

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #53 on: January 02, 2006, 12:41:42 am »
Hi Khalem,

(Duplicate column name 'description')

Upon running bot (in admin.php), don't think the code to check if that column exists works quite right.  Only cosmetic :-)

Cheers,

-jj-

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #54 on: January 07, 2006, 12:36:23 am »
You have the bot relaying to another bot?

-jj-

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #55 on: January 07, 2006, 12:39:09 am »
Having this spamming:

[TELL] [IN] I only listen to members of this bot.
[TELL] [OUT] I only listen to members of this bot.

Over and over.

Any suggestions/fixes?
(I've got the 0.3.1 release)

Just comitted a fix for this to SVN.

In Bot.php on line 347:

	
	
if (!
preg_match("/is AFK .Away from keyboard./i"$args[1]) && !preg_match("/.tell (.+)help/i",$args[1]) && !preg_match("/I only listen to members of this bot/i",$args[1] ))
BeBot Founder and Fixer Kingpin

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #56 on: January 07, 2006, 01:16:03 am »
No, ignore that.

It was because I misread something :p

in Bot.conf, I put my bot's name under Guide_relay_chat thing, when it's suppose to be empty if you're not linked to other bots :P

Seems to be working now.

Sleep ftw!
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: Bebot 0.3.x Development [release 0.3.1]
« Reply #57 on: February 01, 2006, 09:00:41 pm »
Hi Khalem,

Something seems borked in the new SVN (#70) news and logonnotify module, on logon I get this:-

[Jjbot]: Welcome to Insert Name, Jackjonez
[Jjbot]: 0 Members and 2 Guests Online. :: click to view
[Jjbot]: /tell jjbot !help

This applies to both guests and members.

Cheers,

-jj-

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #58 on: February 01, 2006, 10:19:11 pm »
Small typo.

SVN now at rev 72 where it should be fixed.
BeBot Founder and Fixer Kingpin

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Bebot 0.3.x Development [release 0.3.1]
« Reply #59 on: February 02, 2006, 01:00:54 am »
Hi Khalem,

Thanks, that works.

Just as a note, this warning still pops up (from admin.php)

MySQL error (# 0) on query: ALTER TABLE admin_groups ADD description VARCHAR(80)
Duplicate column name 'description'

Cheers,

-jj-

 

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