bot

How to query a contact for its PubSub using Python's xmpp?

I'm writing a XMPP bot in Python (using xmpppy). I want (after user's request) check his PubSub status (mood, tune) and do something with it. How do I do that? I know how to parse a stanza send by user when he changes status but I don't know how to force him to send me such stanza. ...

A working Python AIM/Oscar bot

I've tried everything and haven't got an AIM bot to work, I've tried on two servers and they all return this error: "struct.error: unpack requires a string argument of length 10" List includes: pyaimt oscar demo w/ twisted words howie larvotto None of them work, does anyone know where to find a good example bot? ...

Updating a rss-feed continuously

I'm creating a bot in PHP that continuously updates an RSS-feed and gathers information. Every loop takes around 0.1 sec but sometimes it takes up to 9 sec to finish the cycle. Why does this happen and is there a way around the problem? I need the bot to be as fast as possible as I'm trying to beat another bot that has the same purpose ...

Web bot in C++/PHP.

Hello, I've recently started learning PHP, but I have a wide knowledge on C++. I've been wondering how to make a web bot and now, I would greatly like to make one. I won't be using this robot for spamming or anything, just as a test of what PHP/C++ can do online. I was wondering how I could go about doing this and if you have any article...

Ruby IRC bot don't works.

require "socket" server = "irc.rizon.net" port = "6667" nick = "Ruby IRC Bot" channel = "#0x40" s = TCPSocket.open(server, port) s.print("USER Testing", 0) s.print("NICK #{nick}", 0) s.print("JOIN #{channel}", 0) This irc bot don't connect to the IRC server, What are i'm doing wrong? ...

How to use Ruby Mechanize to automatically like Facebook posts

Hi, I'm trying create a bot which automatically "likes" Facebook posts. Using Mechanize I can log into facebook, but unforunately the links to the like button are not understood by Mechanize - they seem to be obsfuscated by JS. The only links I see are the basics such as: <Mechanize::Page::Link "Edit friends" "http://www.facebook.co...

Implementing CTCP commands in an IRC bot (Haskell)

Hi I have followed the tutorial on the Haskell wiki about implementing an IRC bot. and everything worked out fine. But once I started extending it, I realised that It would need to respond to CTCP requests from other users for commands like version and ping. These commands work for the server but not for the bot. I read the rfc's for C...

Java, how to make bots? Beginner

I am new in the world of programming. I am student of J2ME(Java) beginner. And I am interested to make bot, how to make bots easily. Any guide? Link or keywords which I can google to learn things? ...

How to build a gmail chat-bot?

I have read similar questions but they talk of AI models. What I want to do is build a simple bot which accepts predefined commands and performs required action. No learning needed. I have the whole flowchart prepared. What I need is to get the commands that a user types in his/her chat. ...

Why is Yahoo Indexing Bot considered as "evil"?

After reading and commenting on this question PHP Library for Keeping your site index by Google, Bing, etc, I was curious to look at StackOverFlow's sitemap. This returned a 404 error which I am guessing is just a protected page by determining if your are a Index Bot or simply doesnt exists. This then lead me to look at the robots.tx...

Java Shoutcast Query

Hi there, I have a Java IRC bot which i would like to query a shoutcast server and return basic information (song playing etc). Can someone guide me in the right direction? Thank you. ...

How do i program a simple IRC bot in python?

Hi every one. I need help writing a basic IRC bot that just connects to a channel.. is anyone able to explain me this? I have managed to get it to connect to the IRC server but i am unable to join a channel and log on. The code i have thus far is: import sockethost = 'irc.freenode.org' port = 6667 join_sock = socket.socket() join_sock.c...

Good ruby irc client library

I'd like to write a irc bot. (please reply with a good irc client library and not a bot framework). __ why the downvote? I simply like to know which libary is fairly decent and well maintained as there are quite a few ruby irc libraries. ...

Preventing Spam

How do you stop bots on a page which is accessible to registered users only? 90% page is accessed by real users and 10% are bot. I do not want to put captcha or verification method on the page because I know that my users wont like this and they lazy also. Please share your ideas Edit I want to make this question more clear Registr...

I want to program an IRC bot in node.js. What are the discrepancies between the networks?

I want to setup a trivia bot and while I know there are many other bots around ( Eggbot, various Python bots, Nerfbendr's Trivia Bot ), I want to do it for learning purposes too so I understand the protocol. To save some time for myself, can anyone point out what differences there are between the various networks like Freenode, Efnet, G...

Sanitizing Input from irc

So I was thinking of writing a irc bot/bot extension that lets users play certain text based games by starting the game, sending parts of certain lines they enter(regexp match for game signal if not in bots channel ex. rbot gamename enter the forest . sends "enter the forest) to std in of game, while standard out of game is cached by ...

How to change iframe inner text ?

I'm using a web browser to login to site and submit articles its very simple but at some places when there is iframe instead of textarea it gets very complicated.At some times just putting valye in the textarea automatically puts value in the iframe and sometime it doesn't ,So is there any way that can be applied at all iframes to change...

Some nice tutorial to introduce myself into the Telepathy API?

I would like to develop a bot for Empathy, but I don't know how to get started. I've read the Telepathy wiki, but I think it's very bad documented, does anybody know any nice tutorial? Better if it uses Python or C bindings. Thank you. ...

PHP background process

Hi, I've wrote a php irc bot, but i need it to work in the background. With this there'd be no quits or so. What is the best way to do this? Thanks and Regards. ...

Need suggestions for an Applied AI project

I have a course in my current semester in which I'm required to do a project on application of AI. I have decided to do this on game AI. I have 2 basic ideas: implementing an FPS bot(s) or implementing soccer AI. I'm quiet a noob at AI right now, I've implemented basic pathfinding algos (A*, etc), and have studied about Finite state ma...