track2

Use this forum for general discussions

track2

Postby *teker* » 31 May 2017, 17:41

I forgot to mention that I added a track2 command to test out a different algorithm for tracking. It performs the same skill check that track uses but the search algorithm is different. It specifically will not track through water or air or flying creatures. Let me know what you think of it.
*teker*
Double 40 Poster
 
Posts: 222
Joined: 05 Apr 2015, 18:41
Status: Offline

Re: track2

Postby Gorka » 31 May 2017, 18:54

Teker, one issue with track I think I have seen is that when you give it a target, it doesn't necessarily track to the nearest target... unless it goes through that room... it's noticeable in a place like positive plan when tracking beings or elemental school when tracking dwarf. Can you confirm that is the case and could the algorithm be smarter in these cases to go to the closest target rather than zig zagging across an area.
Gimme a G! Gimme a ORKA!
User avatar
Gorka
Triple 40 Poster
 
Posts: 319
Joined: 12 Jul 2016, 08:50
Status: Offline

Re: track2

Postby *teker* » 31 May 2017, 19:25

The new algorithm tries to find the closest one (breadth first search). I didn't want to just swap the code out in case there are other issues that arise that I didn't think of.
*teker*
Double 40 Poster
 
Posts: 222
Joined: 05 Apr 2015, 18:41
Status: Offline

Re: track2

Postby Gorka » 31 May 2017, 19:45

Image
Gimme a G! Gimme a ORKA!
User avatar
Gorka
Triple 40 Poster
 
Posts: 319
Joined: 12 Jul 2016, 08:50
Status: Offline


Return to General Chat (Registered)

Who is online

Users browsing this forum: Google [Bot] and 1 guest