bots

Which language to choose for a Jabber bot?

I'll be writing an XMPP (Jabber) bot, and I need to decide in which language should I write it. Currently I'm considering Python, Java, and PHP. Since I'm expecting the bot to be running most of the time (i.e. 23.5/7), are there some specific arguments for or against using one of these languages? (e.g. not "$x sucks", but "$y has good ...

Telling search engine bots to wait

Short story: My site pre generates pages based on user submited data, sometimes this cache has to be cleared when this happens it would kill a super computer unless i controled the amount of stats being generated at once. The problem: Now comes the search engine bots that hit the site constantly ( due to the sheer amount of pages, its ...

How to control keyboard and mouse with Python?

Hello, How can I control the mouse and the keyboard in python? The idea is to do the same as the Robot() class in java. Be able to say : move the mouse from here to here, clic there, write that whatever is on the screen. For windows there is win32api but I'm using mainly linux For linux there is Xlib but does it works for keyboard as...

online trading bot

Hi guys! I want to code a trading bot for Magic: The Gathering Online. This bot should wait until someone offers to trade, accept, look through the cards available from the other trader (the information is shown on screen), and perform other similar functions. I have several questions: How can it know that someone is offering a trade?...

Problem using Bots Software -EDI translator

file is getting stuck.. Problem with creating routes and channels..Can any1 help me out ...

ERROR occurs in Bots open source EDI Software

I developing a very big project in which we have to use a "Bots open source EDI tranlation tool." Bots uses a pythen script to convert a edi file to specified file (i.e. xml, csv, x12, database, etc). Bots have their own plugins for learning purpose in which a user can come to know that how the bots working ? and how work done through ?...

Building a NetHack bot: is Bayesian Analysis a good strategy?

A friend of mine is beginning to build a NetHack bot (a bot that plays the Roguelike game: NetHack). There is a very good working bot for the similar game Angband, but it works partially because of the ease in going back to the town and always being able to scum low levels to gain items. In NetHack, the problem is much more difficult, ...

Logic for Implementing a Dynamic Web Scraper in C#

I am looking for developing a Web Scrapper (in C# windows forms).The whole idea which i am trying to accomplish is as follows. Get the URL from the User . Load the Web page , in the IE UI control(embeddeed browser) in WINForms. Allow the User to select a text (contiguous , small(not exceeding 50 chars)). from the loaded web page. When ...

Prevent bot from crawling certain areas of site.

Hey, I don't know much about SEO and how web spiders work, so forgive my ignorance here. I'm creating a site (using ASP.NET-MVC) which has areas that displays information retrieved from the database. The data is unique to the user, so there's no real server-side output caching going on. However, since the data can contain things the us...

A chat bot with .NET front end?

I need an AI Bot for a chat service which can imitate a human. I have tried ALICE with AIMLBot(C#) as a front-end but it didn't work very well. Are there any good bots you would recommend? ...

Why does my IRC bot not connect?

public static string SERVER = "irc.rizon.net"; private static int PORT = 6667; private static string USER = "Test C# Irc bot"; private static string NICK = "Testing"; private static string CHANNEL = "#Test0x40"; public static void Main(string[] args) { NetworkStream stream; TcpClient irc; StreamReader reader; StreamWrit...

Should i not do write actions via GET?

I was told to never do write operations with GET request. and that search engines and other bots would follow and activate them. Assuming all write operations require a login would there be a problem having get request as a link? ...

How do I correctly shutdown a Bot::BasicBot bot (based on POE::Component::IRC)?

This is a sample script. When I hit Ctrl+C, the bot quits IRC but it reconnects back after some time. How do I shut down the bot correctly? #!/usr/bin/perl package main; my $bot = Perlbot->new (server => 'irc.dal.net'); $SIG{'INT'} = 'Handler'; $SIG{'TERM'} = 'Handler'; sub Handler { print "\nShutting down bot...\n"; $bot->shutdown(...

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? ...

Why do I have to send multiple messages to my Jabber bot before it will logout?

I am trying to make my own Jabber bot but i have run into a little trouble. I have gotten my bot to respond to messages, however, if I try to change the bot's presence then it seems as though all of the messages you send to the bot get delayed. What I mean is when I run the script I change the presence so I can see that it is online....

How can I make my Perl Jabber bot an event-driven program?

I'm trying to make a Jabber bot and I am having trouble keeping it running while waiting for messages. How do I get my script to continuously run? I have tried calling a subroutine that has a while loop that I, in theory, have set up to check for any messages and react accordingly but my script isn't behaving that way. Here is my sour...

Rails form protection questions, hidden field

I have a live rails website and I want to have a form with a lot of fields on it. I have set up validations and allowed formatting for every field. I've tested it quite a bit and it seems to catch anything I throw at it. I think it's almost ready to go live, but I want to quadruple check if there's anything else I should do to protect it...

Appengine Apps Vs Google bot web crawler

i built an appengine web app cricket.hover.in. The web app consists of about 15k url's linked in it, But even after a long time of my launch, no pages are indexed on google. Any base link place on my root site hover.in are being indexed with in minutes. but i placed the same link home page of root site a long back. but its of no use. c...

My Sitemap.axd takes too long to load becasue it has more than 50000 records.

Hi, I am loading my sitemap.axd dynamically from database and currently i have more than 50000 records in it. It will keep growing. My problem is it take 2 minutes to load it. Will be a problem for google bot with loading it like request timeout or not to take sitemap.axd into consideration. Please give some suggestion. ...

Is it possible to write a php script that accepts emails (like an email bot)

I would like to write a script that can receive e-mail and then do something depending on instructions in that e-mail, but I have no idea where to start with this. Is this possible with PHP? ...