Digital Paint Discussion Board
Development => General Development => Topic started by: mRokita on January 08, 2014, 04: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 (http://83.3.32.52/IRC_Heniek/bot.py)
console log: http://83.3.32.52/IRC_Heniek/heniek-log.txt (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.
-
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"...
-
ping returns faster than 1sec :/
and i see the irc join msg in logs before the bots answer.
-
So you are the guy who has this bot. Remove this crap from #paintball. It's stupid and serves no purpose.
-
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.
-
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.
-
Does this game use C, or Python?
-
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.
-
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.
-
Heneik <3
i didn't know it was still there.
-
Heneik <3
i didn't know it was still there.
He's still alive :)
hTmlsBot contains a part of the Heniek's source code :)