Grid Sage Forums

Grid Sage Forums

  • November 22, 2024, 04:06:14 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: [beta 8.1] Lag between turns  (Read 1434 times)

Joshua

  • Sigix
  • ****
  • Bug Hunter Weekly Seed Participant Shared a Confirmed Combat Win Shared a Confirmed Stealth Win
  • Posts: 319
    • View Profile
[beta 8.1] Lag between turns
« on: June 14, 2019, 11:07:20 AM »

See attached save. Each step I take has a noticeable delay, which I wouldn't expect even if I am moving a bit slow.

I haven't downloaded beta 8.2 yet, assuming it didn't have any fixes other than the score upload.
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: [beta 8.1] Lag between turns
« Reply #1 on: June 14, 2019, 09:49:13 PM »

Uh oh, thanks for the save, wouldn't be able to track it down with one :P

This has happened before with pathfinding, though it's usually due to simply having too many bots out there, and generally only when they're all after you but blocked off for some reason (like you're hiding in a completely inaccessible area), but in generally the pathfinding has been mostly sped up enough that this doesn't really come into play as much as it used to.

Still, if anything can slow down the game between moves there's a 99.9% chance it's pathfinding, and sure enough on profiling this save there's definitely an issue there!



More specifically, it looks like a follower (or probably more than one, based on the slowdown) is repeatedly trying to reach its leader, but the leader must've gotten blocked off somehow, perhaps stuck behind a wall you opened earlier? Anyway, now I have to try and figure out which robot it is across the entire map which is doing this xD. Don't have any built-in ways to do that yet...

If and when I do find them I could just splat them for you and give you back the save so you could continue this run without the rest of this floor being so ridiculously slow ;)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: [beta 8.1] Lag between turns
« Reply #2 on: June 14, 2019, 10:07:33 PM »

Yep, that wasn't too hard, is this your handiwork? :P



I've removed the Swarmer stuck in the wall, which the other three kept trying to follow, and you can continue with the attached save.

(I'll have to find the best solution for this issue...)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Joshua

  • Sigix
  • ****
  • Bug Hunter Weekly Seed Participant Shared a Confirmed Combat Win Shared a Confirmed Stealth Win
  • Posts: 319
    • View Profile
Re: [beta 8.1] Lag between turns
« Reply #3 on: June 15, 2019, 04:07:36 AM »

If and when I do find them I could just splat them for you and give you back the save so you could continue this run without the rest of this floor being so ridiculously slow ;)

Haha! I just booked it for caves and left. But thanks for the thought. :)
Logged

Joshua

  • Sigix
  • ****
  • Bug Hunter Weekly Seed Participant Shared a Confirmed Combat Win Shared a Confirmed Stealth Win
  • Posts: 319
    • View Profile
Re: [beta 8.1] Lag between turns
« Reply #4 on: June 15, 2019, 04:10:36 AM »

Yep, that wasn't too hard, is this your handiwork? :P



I've removed the Swarmer stuck in the wall, which the other three kept trying to follow, and you can continue with the attached save.

(I'll have to find the best solution for this issue...)

I think I blew up that wall (taking out a different swarmer squad!) but I didn't think I left any swarmers there. Some must have come along after while engineers were rebuilding.

Maybe demote the squad leader as leader and possibly promote another leader when there is no path to follow it?
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: [beta 8.1] Lag between turns
« Reply #5 on: June 15, 2019, 04:42:38 AM »

Yeah I already took care of it this morning. Certainly the Swarmers came by later and a squad just got trapped while the rebuilding was going on :P
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon