Jump to content


Photo

"How do I make a bot?"


  • This topic is locked This topic is locked
No replies to this topic

#1 Aislinn

Aislinn

    Fluffy Gargoyle

  • Admin
  • 12765 posts
  • Gender:Not Telling
  • Location:Florida, USA (EST)

Posted 22 June 2005 - 05:34 PM

"How do I make a bot?"

As it is right now, download redknight, edit makefile, run make, and it's done, lol. The reason there is no "How do I create a bot thread" is because it can be created in VB, C, C++, C#, D, Java, TCL/TK, or Python. In fact, creating bindings to Ruby or Lua would allow these to write a bot...
In short, there is an infinite variety of ways to create a bot; just if you're asking "How do I create a bot?!~11!", it means you probably can't.

In any case, making a bot comes down to looking at a bot package written in your language already, or starting one, then reading through multiplayer.c in the elc source folder until you find what you're looking for, then figuring out how to implement whatever function the applicable protocol is passed to in your language. (This is what makes C/C++/C#/D/Java so easy to write bots in, though TCL/TK has been used on one occassion, and Python as well... and, it's easy (as in, I could do it in a few minutes) to implement the requisite network wrappers into Small, or Lua.

If you've never heard of any of those programming languages, have a look here: http://en.wikipedia....piled_languages

Anyway, here's the bot URL's that I know of:
http://redknight.berlios.de
http://elbot.sourceforge.net
http://www.kore-nord...t_download.html (In german, but I believe it says it's written in PHP?)
http://developer.ber.../projects/jelc/ (java)

SDL_net or sockets in your language are the only real requisites, as well as basic C knowledge (well, unless you read documentation at a clairavoyant level :D )




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users