Author Topic: IRC Bot in Python - strange problem  (Read 5131 times)

mRokita

  • Autococker
  • Posts: 598
IRC Bot in Python - strange problem
« on: January 08, 2014, 03:23:37 PM »
Hi!
I wrote an IRC bot in Python and i have a strange problem.
When i have run this bot on my server first time there wasnt any problem.
But when I run it on my server now, it has a very long respond time (about 1-2 mins, no time.sleep or another commands used).
I have checked Heniek my home computer, and it works fast, but maybe because of that it was running on it only a few times.
source code: http://83.3.32.52/IRC_Heniek/bot.py
console log: http://83.3.32.52/IRC_Heniek/heniek-log.txt

hTml

PS
Ik, ik, some of defined functions are not required in this bot, but its very inprogress, and ill need them in newest versions of this bot.



not_payl_obviously

  • 68 Carbine
  • Posts: 415
Re: IRC Bot in Python - strange problem
« Reply #1 on: January 08, 2014, 04:27:01 PM »
Could be that your server is slowing down this script after while. But we aren't you, so how could we know.

Btw. great way of detecting PING command, oh what if I say "PING"...

mRokita

  • Autococker
  • Posts: 598
Re: IRC Bot in Python - strange problem
« Reply #2 on: January 08, 2014, 04:43:19 PM »
ping returns faster than 1sec :/
and i see the irc join msg in logs before the bots answer.

Clipz

  • Committee Member
  • Autococker
  • Posts: 1497
Re: IRC Bot in Python - strange problem
« Reply #3 on: January 08, 2014, 04:52:34 PM »
So you are the guy who has this bot. Remove this crap from #paintball. It's stupid and serves no purpose.

mRokita

  • Autococker
  • Posts: 598
Re: IRC Bot in Python - strange problem
« Reply #4 on: January 08, 2014, 05:45:28 PM »
Clipz, I said its a early inprogress bot, you don't know what's the sense of this bot but you will see it when ill finish it.
Thanks for helping me to solve this problem.

Clipz

  • Committee Member
  • Autococker
  • Posts: 1497
Re: IRC Bot in Python - strange problem
« Reply #5 on: January 08, 2014, 06:01:40 PM »
Take off the greeting please, it's just annoying. I'm not home to look at the script once it's done have it idle until then please turn it off.

Union

  • PGP
  • Posts: 17
Re: IRC Bot in Python - strange problem
« Reply #6 on: October 06, 2014, 08:01:21 AM »
Does this game use C, or Python?

xrichardx

  • 68 Carbine
  • Posts: 295
Re: IRC Bot in Python - strange problem
« Reply #7 on: October 06, 2014, 11:57:55 AM »
The game is written in C, you can view most of the sourcecode here: http://paintball2.cvs.sourceforge.net/viewvc/paintball2/paintball2/

Please Union, you are new here, and you post a lot of stuff and most of the post contain stuff that has already been said. Just read the whole thread before answering. This thread here clearly is about a Python bot for IRC, not about the game.

Union

  • PGP
  • Posts: 17
Re: IRC Bot in Python - strange problem
« Reply #8 on: October 06, 2014, 07:40:21 PM »
The game is written in C, you can view most of the sourcecode here: http://paintball2.cvs.sourceforge.net/viewvc/paintball2/paintball2/

Please Union, you are new here, and you post a lot of stuff and most of the post contain stuff that has already been said. Just read the whole thread before answering. This thread here clearly is about a Python bot for IRC, not about the game.
Thank you for your help.

FusSioN

  • Autococker
  • Posts: 603
Re: IRC Bot in Python - strange problem
« Reply #9 on: October 10, 2014, 04:25:56 AM »
Heneik <3

i didn't know it was still there.

mRokita

  • Autococker
  • Posts: 598
Re: IRC Bot in Python - strange problem
« Reply #10 on: October 10, 2014, 02:49:49 PM »
Heneik <3

i didn't know it was still there.
He's still alive :)
hTmlsBot contains a part of the Heniek's source code :)