#Pathfinder Seizures

1 messages Β· Page 1 of 1 (latest)

haughty forge
#

thread

#

Pathfinder Siezures

bright inlet
#

Well, to have it here, pathfinding is based on ticks passed, as far as I know

#

Slowing the game down will delay pathfinding in real time.

#

That was the explicit reason I sped up the game in the test script I gave the other night

haughty forge
#

wouldn't that effect things like total distance that can be covered?

#

also why does it eventualy work

bright inlet
bright inlet
haughty forge
#

Oh yes okay

#

I was thinking in terms of a tick limit

#
  • yeah that was silly to think like that now that I re-read
#

so in the first 25 seconds I zoom on a path that is trying to get around the landfill that has been done - note: not IS being done

#

so I think we can rule out that theory

bright inlet
#

Well, uh, it's after 7AM for me right now

#

I should be sleeping, hopefully I will be more useful tomorrow

haughty forge
#

Haha I was like, okay early morning for you πŸ˜„

bright inlet
#

Bruh I wish I could wake up at 7 reliably

haughty forge
#

yeah me too

#

I support users that are two hours ahead of me some times :/

#

I'll catch you after you have a nap I'll keep bashing my head chasing it down in the mean time

bright inlet
#

πŸ‘‹

haughty forge
#

Okay!

#

@bright inlet
I rewrote the go_to_position conditions which does deal with re-calling the action which in turn calls the path finder.. In hindsight to doing so, calling the action without returning only for it to continue doing the condition function wasn't great at all.. I was getting pretty sure this was the issue.

To give you an idea.. the go_to_position condition gone from 9 levels to at worst... 4 levels of indentation.

..... I was happy it worked first go and I didn't make any mistakes.

back to the seizure issue!

..... it's STILL happening.

Not only that I am acutely convinced it cannot be the code..
I have poured over the code even more since we last spoke but the main reason why I think this is that there is only one entry point / function calling the path finder and a break point is NOT triggered when I place one or one hundred in there.

I do not know what else to do. 😐

#

@meager dove update for you too ^

#

Pathfinder Seizures

haughty forge
meager dove
#

This looks like the pathfinder itself is struggling to find a path but also doesnβ€˜t want to abort and say no path found?

haughty forge
#

^^^^^^^^^^^^^^^

meager dove
#

Have you tried to test the old pathfinder with a remote to see if it behaves the same?

haughty forge
#

I can..... but it never changed the PRM to 0 to walk over 1 tile wide gaps

#

so it's not like for like

meager dove
#

Ok

haughty forge
#

The PRM isn't being changed in the seizures yet because of...

meager dove
#

One thing I saw happen tho that might not be wanted is if you have 2 pathfinder requests for the same ctron running at the same time the one that finishes last will overwrite the result of the other one

haughty forge
#

jobs wait for event before doing anything

haughty forge
#

@bright inlet seems like you were right about the landfill

bright inlet
#

I called it more as a seizure because it looked seizure-inducing. I hope I don't offend anyone.

haughty forge
bright inlet
#

If you would, "resembled flashes that cause seizures"? or at least "no offense intended" 😦

haughty forge
#

I just removed your name

#

I'm an aussie, how I talk will offend someone at some point lol

#

On second thought I don't want to put anyone in that position where they need to refer to it so I'll change it completely

haughty forge