Jump to content
Eternal Lands Official Forums
Sign in to follow this  

"How do I make a bot?"

Recommended Posts

"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.org/wiki/Categorical_l...piled_languages


Anyway, here's the bot URL's that I know of:



http://www.kore-nordmann.de/kbot_download.html (In german, but I believe it says it's written in PHP?)

http://developer.berlios.de/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 )

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this