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

Required Server Commands a Bot Must Handle

Recommended Posts

Hello,

 

After an hour of work, my bot now log ins, and can respond to pms.

The whitepaper is coming right along side it.

(Its logins, has a message que and sends heartbeat packets)

 

And now for my question:

  1. Is the bot required to send replies to ping requests
  2. do you have to send a version packet (I assume the same as the current client)

I need for both the bot and an the whitepaper, the expected behavoirs of the bot.

I am assuming I must fully emulate the el client short of the graphical handling.

 

I have read the el client source in depth, but obviously it can't answer this question.

 

Thanks in advance,

 

robotbob (eric)

Edited by robotbob

Share this post


Link to post
Share on other sites

the version packet is not necessary. You did manage to log in without it, right?

 

Yes. I was able to log in without a problem and persist the bot's connection without it.

Good. I am glad to hear its not needed. I presumed it was only used for keeping client

version up to date and disconnect and redirecting old version of the client.

 

So it seems I only need to login and send heartbeat packets (I am using the clients numbers

of 25 second intervals) to keep them bot alive. Perhaps I could implement the ping section to

judge the bot's latency.

 

robotbob (eric)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×