What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

High ping when using ExileBuddy

sh0rtcut

New Member
Joined
Jun 15, 2018
Messages
10
Reaction score
1
As the title said,

My ping is normally around 100ms and I play without any spike or desync but when I start the EB the ping go up from 400-500ms to over 1000ms. When I stop the bot, everything goes back to normal.
I think there is some bug when EB bot connect to client.

Please could EB staff check it? Or anyone have any solutions could give me?

Thank you.

The image in attached files
 

Attachments

  • Untitled.webp
    Untitled.webp
    35 KB · Views: 27
There's nothing inherent to EB to increase your ping, but running a bunch of code like it does will increase your frame time some, but not your ping. The client is incorrectly reporting it due to the way it's coded.

You can try running a clean install with no extra plugins to gauge base performance on your system., then compare if there's a big difference with the additional plugins you are running.

EB works by syncing itself to the game rendering to read memory and run code so things work as well as they do. This has a cost associated with it, so the more code you run, the higher overhead there will be. Given the nature of the game and how much is added each expansion all around, botting requirements also go up along with client requirements. There's no real avoiding it, as it's the limitations of the setup we're using as an external bot. Injected bots have less performance overhead, and more optimized code, but that's also a different type of bot, and there's no way we could convert to that.

OldRoutine adds a bunch of overhead, so using a smaller, build specific tailored routine of your own can help improve performance. However, there's no easy way to do that right now, which is why we're working on an updated routine. But even then, there's always going to performance overhead because of how the game is designed. Optimizations that you can make in other games with other bots, don't work here, so we constantly have to update the state of all game objects, which adds considerable overhead.

A simple example is allies cannot die. If you were to ignore that mechanic, imagine how often your bot would get stuck attacking something that cannot die. The checks for allies cannot die for every mob do add up, but it's not something you can just ignore or optimize because of how many different types of game mechanics there are when it comes to mobs. The same is true of monsters that die, and a bunch of other state flags that the bot has to know to determine if it can kill a monster or not before your routine tries killing it.

If you don't have a SSD, logging will most likely hurt, but it's necessary. You can turn it off, but when things go wrong, as can easily happen in this game, you won't be able to understand and make adjustments, so it's not recommended. Extensive pathfinding calls requires extra CPU, but with the way the game works, if you didn't do that, you'd be getting stuck due to desync or other dynamic objects that push the character off-course.

On top of that, the client itself has always had performance issues, and every expansion it starts off worse before they manage to fix the newly introduced problems from new effects and content. Basically, there's a whole bunch of game specific issues that affect performance, and there's no easy code wise to fix them. The best solution is to simply improve the hardware you bot on. Having a better routine will help some, but it won't fix all the problems people see when it comes to performance.

It's just something people who want to bot this game have to unfortunately live with.
 
@pushedx I know that how difficult for you guys to develop bot. But the ping raises from 100 to over 1000 when starting EB is too much? My bot just cast skills hopelessly then die about 30-40 times per hours and I don;t know how to do with it :'(
 
Please post a full log so I can see what it says about the time things take.

Also, what is your botting hardware. You can try starting the bot in town to avoid that for your first run, but it sounds more like you have a hardware limitation issue.

The few big spikes the first time you run the bot are from reading very large game data files. Right now they are unavoidable until I can find a better way to handle it.

One of the bigger offenders is "GrantedEffectsPerLevel", which is almost 10mb on disk. The bot has to load and process that all that data at once, so that's where one of the spikes comes from. Some of the other spikes are a mix of other large game data files being loaded sequentially, since it's lazy loaded (so bot startup times are faster) but that too requires a different design to avoid impacting the frametime. That stuff is on the todo list to improve, but it's something most people can deal with just fine on their systems, as it only happens once.

However, each expansion adds more and more game data, which means more and more processing time for the bot, so you see where this is going. If you're dying constantly to an issue like this, that sounds like you have another issue, so please post a full log. What I'm talking about here will only affect you once, so you certainly have a different problem.
 
@pushedx Yes, i don't have any problem about freeze when press start at 1st time, it's ok. But when my bot go to map, Ping immediately go from 100 up to over 1000ms. When I press stop, it's back to normal, no spike, no desync.
I have experience the lag in previous versions but it just from 80 to 110-120, it's acceptable but 1000 is too much and my bot could not do anything :'(

I have attached the log, please check it for me :'(
Have to compress because of file size is too large

I'm using SSD Samsung EVO 850, Intel E5-2670, 1050Ti 4gb with 8gb ram.

Thank you.
 

Attachments

It honestly looks like you're connecting to game servers that are far away from your region.

What region are you logging in with in the game client? Are you partying with someone or joining someone else's instances?
 
I have to connect to jap gate because sing gate is suck with my internet.

I'm not party with anybody.

My normal ping is only 100ms and play without spike. Last league I use the same setting like this and the ping goes about 120 to 130, acceptable ping.
Currently, ping only go up after starting EB, this is reason why I made this post.
 
Can you please download a clean copy of ExilebuddyBeta, don't use any extra plugins or copy stuff settings over, and just do a test run to see if the problem still happens.

If it does, then I'm not sure what your problem is, because there's nothing in EB to affect your ping like the logs are showing, and your town runs still look 'ok'.

Basically, there's nothing we could change to even try to fix your issue, because of how the bot works.
 
Yes, I will try with clean version and report the result for you.
I've found out that the ping go up only when the bot go to maps, ping in town is normal. Seem weird.
 
@pushedx I have test clean copy with Dreamplugin install (just the base, haven't install any plugins yet) then with only some built-in plugins and AIF only. The ping still go up to 800-1000ms.
Still don't know why. This happens only when bot go to maps.

I have attached log below

Thank you very much.
 

Attachments

That's really weird. Have you tried grinding higher level areas that aren't maps, like Ossuary? Same issue?

Unfortunately, there's nothing else I can really do to help you, and there's no code I can change in EB to try and fix your problem.

Your latency sleeps do look lower with the base code, but that doesn't explain why it's happening in the first place. I can connect to a far away region, like Japan and EB still works as expected, so not sure what issue you're running into, if your latency triples when using EB.
 
Back
Top