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

Elguild was eaten by a Grue

Recommended Posts

Night26 isn't online so I post here for his attention:

 

2006-08-09 09:00:10 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:03:06 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:05:14 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:06:05 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:07:15 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:08:07 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:10:17 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:11:27 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:12:19 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:13:10 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:14:20 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:15:11 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:16:21 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:17:13 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:18:23 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:19:14 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:20:24 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:21:16 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:22:26 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:23:17 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:24:27 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:25:18 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:26:28 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:27:20 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:28:30 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:35:41 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:37:27 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:38:34 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:39:37 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:40:29 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:41:38 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:42:30 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:43:40 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:44:31 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:45:41 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:46:33 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:47:42 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:48:34 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:49:44 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:50:35 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:51:45 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:52:36 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:53:46 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:54:38 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:55:47 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:56:39 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:57:49 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:58:40 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

2006-08-09 09:59:50 :MESSAGE:#Message from God: Elguild was eaten by a Grue (lagged out)!

Share this post


Link to post
Share on other sites

Maybe a mod should look into this - I have seen a couple of posts like these - the bots are obviously faulty and should not be on the main server until they are stable.

 

"My PC is running slow" is not a valid excuse in my opinion - try terminating some of the processor intensive tasks. Console mode bots should be negligible with regard to CPU usage, I used to run 2 concurrently on the idle thread with no problems, even under heavy load.

 

It does not take a lot of overhead to receive a network packet, process it and possibly reply.

 

Fix your code - and fetch the bots back when you have.

 

I would suggest (as others have) you putting your heartbeat routine in the main loop, or putting it in a separate thread that runs once every 30 seconds.

 

Another thing - I would not have your bot reconnect automatically on failure, if a bot disconnects it is for a reason -

  1. server going down,
  2. mod kick,
  3. heartbeat packet not being sent,
  4. invalid data sent.

Find out what the problem was before you reconnect. If it was 1 all well and good, any of the other three means trouble in your code somewhere, get back on the test server and fix it. When it runs stable, return to the main server.

 

To put not too fine a point on it, if I see your bots constantly lagging and reconnecting I will not hesitate to #abuse it.

Share this post


Link to post
Share on other sites

Maybe a mod should look into this - I have seen a couple of posts like these - the bots are obviously faulty and should not be on the main server until they are stable.

And indeed we do. If you've seen examples of bots not behaving correctly and possibly causing lag or other undesirable happenings for players you should report it via #abuse or #help_me.

Bots are not flagged on the main server (and thus approved) until they are tested and approved through the Bot submission form.

Share this post


Link to post
Share on other sites

If its based on elbot, try find declaration of last_heart_beat variable. I saw bots with declaration like this:

unsigned int last_heart_beat = 0;

if its this bug, change it on:

unsigned int last_heart_beat = SDL_GetTicks ();

 

P.S.: Its only my first idea. But I hope it must be some bug in your code, not in EL.

Share this post


Link to post
Share on other sites

P.S.: Its only my first idea. But I hope it must be some bug in your code, not in EL.

Roger that, got a bot running at test server stable for 1 week now (gona apply for him soon) and he only laggs once a day when i get disconnected by my ISP

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.

×