Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]   Go Down

Author Topic: zbot project  (Read 32509 times)

0 Members and 1 Guest are viewing this topic.

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #25 on: June 08, 2006, 09:15:50 PM »

Yeah, I'm sure he is but he works two jobs and has a family so I doubt its high on his priority list.

I'm guessing you have tried the latest svn version?
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #26 on: June 08, 2006, 09:26:01 PM »

***screams***

I work two jobs, I sleep about 4 hours a day, and squeeze in coding for you people when I can, and all I get is gumpy ass people whom want want and want more from me and can't imagine when I saw that I work two jobs that I can't find the time to please them...

I will fix this when I actually have a few hours of time in a day to do so... but zbot does not make me any money and people whom are willing to pay for my time get priority.
Logged
my God my tourniquet, return to me salvation

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #27 on: June 08, 2006, 09:56:46 PM »

*hugs* Trystan.
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #28 on: June 09, 2006, 08:01:56 AM »

Quote
Originally posted by Fault
4 days since ipostedfor help. Is this guy even supporting this anymore?


Ah see, you failed to notice that "this guy" did better that just offering support, he _gave_ you the source code, this means you can find anyone else to help you, or even, help yourself!

Now i know this idea is novell and scary, but its actaully possible to fix problems on your own without making sarcastic comments towards people who help others like you for well, nothing at all.

* on a side note, http://www.catb.org/~esr/faqs/smart-questions.html is a particually good page all about asking for help in open source projects and is certainly worth reading.  I'm sure that somewhere in there it mentions "dont make sarcastic/rude comments".
Logged

Monk

  • Anope User
  • Offline Offline
  • Posts: 17
(No subject)
« Reply #29 on: June 11, 2006, 12:09:29 AM »

twelve, a coder in our team had a look on it. Changing line 32 in zbot.c from

if (ac) {

to

if (argc) {

made it compile except a warning about the uninitialized variable u.
Also the bot itself seems to work fine now. The only strange thing is when activating zbot for a channel it says:
[00:51:08] -BotServ- Zbot is now active on #IRCOps.
[00:51:08] -BotServ- Unknown option zbot.

but adding and calling a trigger works now. I'll report back when I have tested it more closely. As usual, many thanks for your work Trystan.

Regards,

Monk
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #30 on: June 11, 2006, 05:06:32 AM »

Thanks Monk, yeah I had it fixed not long after the report just had other things to do for it

The next release rev5 which is up now, adds !help (thanks to BuildSmart) and some code improvements
Logged
my God my tourniquet, return to me salvation

Monk

  • Anope User
  • Offline Offline
  • Posts: 17
(No subject)
« Reply #31 on: June 11, 2006, 11:12:58 AM »

Thanks for the new release Trystan.

I tested it in Anope SVN r1042 and zbot r5. I found two instances when zbot commands segfaulted Anope and one command which doesn't seem to work like expected.

1. Segfault upon !learn
Happened only once. Sofar I have not been able to reproduce it. I had Anope running in gdb because I was hunting for segfault #2 so find the log attached as "learn_segfault.log"

2. Segfault upon /msg botserv set #chan zbot on/off
This one is reproducible. Playing with on/off makes it segfault eventually. Log is attached as "on_off_segfault.log"

3. !lock command
Trying to lock an existing key brings up an error message:
[11:51:50] (&TestBot): test1 is now known as test
[11:51:53] (~Monk): !lock test
[11:51:53] *TestBot* Syntax: !lock <key>
The debug log for it is attached as "lock_error.log"

I hope you'll find this information useful.

Regards,

Monk
Logged

Monk

  • Anope User
  • Offline Offline
  • Posts: 17
(No subject)
« Reply #32 on: June 11, 2006, 11:14:16 AM »

Log for #2
Logged

Monk

  • Anope User
  • Offline Offline
  • Posts: 17
(No subject)
« Reply #33 on: June 11, 2006, 11:14:43 AM »

Log for #3
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #34 on: June 11, 2006, 07:31:31 PM »

Okay..

1. lock message is fixed
2. I believe that both the on/off and learn segfault are simlar, a left over from the old code, which I have been correcting in the code as I go, I applied my patch in these areas and haven't seen the problem you reported

The code is in the svn and I will pack it up into a tarball in a few
Logged
my God my tourniquet, return to me salvation

Fault

  • Guest
(No subject)
« Reply #35 on: June 19, 2006, 09:56:14 PM »

Quote
Originally posted by Rob
Quote
Originally posted by Fault
4 days since ipostedfor help. Is this guy even supporting this anymore?


Ah see, you failed to notice that "this guy" did better that just offering support, he _gave_ you the source code, this means you can find anyone else to help you, or even, help yourself!

Now i know this idea is novell and scary, but its actaully possible to fix problems on your own without making sarcastic comments towards people who help others like you for well, nothing at all.

* on a side note, http://www.catb.org/~esr/faqs/smart-questions.html is a particually good page all about asking for help in open source projects and is certainly worth reading.  I'm sure that somewhere in there it mentions "dont make sarcastic/rude comments".


Asking if something is supported still is FAR from being sarcastic.

You need to take a course in "what is sarcasm"


this module simply refuses to load.
[4:54pm] -OperServ- Unable to load module zbot

[Edited on 19-6-2006 by Fault]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #36 on: August 18, 2006, 09:44:43 AM »

i have zbot typed eggdrop bot tcl scripts but eggdrop is laggy. Does a non-mysql version of zbot exist :p ... i'd really like to try it on my net .. but my shell doesn;t supports mysql :~(
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #37 on: August 18, 2006, 01:58:50 PM »

its not currently near ready and I am swampped behind tons of other things
Logged
my God my tourniquet, return to me salvation

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #38 on: August 18, 2006, 02:07:42 PM »

ok... no problem with that. I'd better change my shell hosting :D
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

JeremiahGriffin

  • Guest
(No subject)
« Reply #39 on: September 16, 2006, 07:22:00 PM »

Windows-compatible source code (yes, it works, I'm using it on my server (irc.griffinsoft.net)): http://jeremiah.griffinsoft.net/files/zbot-0.8.9-src.zip
There's no pre-compiled DLL because I'm afraid it would raise too many questions.
You need to be able to compile Anope with MySQL support for this.
Extract it in your [Anope]\src\modules\ directory, open [Anope]\src\modules\makefile.inc.win32 and add zbot to your SUBS line. Compile as usual.
Still requires the same config directives as the Unix-based OS version -- I didn't change that much ;-P
Enjoy.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #40 on: September 16, 2006, 09:28:21 PM »

hmm that is my source.. before claiming credit for something like this you should try and modify it a bit to make it clear that its yours

Note at this time the zbot that I have been providing very likely works with windows if someone wants a win32 build I will build from my svn and anope 1.7.15
Logged
my God my tourniquet, return to me salvation

JeremiahGriffin

  • Guest
(No subject)
« Reply #41 on: September 16, 2006, 09:51:22 PM »

I didn't claim credit, I simply posted the working win32 source.

Edit: I apologize if I did claim credit somewhere.

[Edited on 9-16-0606 by JeremiahGriffin]
Logged

andy

  • Anope User
  • Offline Offline
  • Posts: 7
(No subject)
« Reply #42 on: September 17, 2006, 12:16:17 AM »

Trystan, this is off-topic, but:
MoraleServ doesn't seem to work with Anope-1.7.14... Any ideas why?

As in, I get it loaded and everything, but when I go to message it a command (such as help) I get a message back saying that it does not know that command (not even help)...

Could you please fix this, unless I messed something up :\
Logged
^_^ >_> <_< v_v
Pages: 1 [2]   Go Up