track2

Use this forum for general discussions

track2

Postby *teker* » Wed May 31, 2017 2:41 pm

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: 178
Joined: Sun Apr 05, 2015 3:41 pm
Status: Offline

Re: track2

Postby Gorka » Wed May 31, 2017 3:54 pm

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
Double 40 Poster
 
Posts: 214
Joined: Tue Jul 12, 2016 5:50 am
Status: Offline

Re: track2

Postby *teker* » Wed May 31, 2017 4:25 pm

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: 178
Joined: Sun Apr 05, 2015 3:41 pm
Status: Offline

Re: track2

Postby Gorka » Wed May 31, 2017 4:45 pm

Image
Gimme a G! Gimme a ORKA!
User avatar
Gorka
Double 40 Poster
 
Posts: 214
Joined: Tue Jul 12, 2016 5:50 am
Status: Offline


Return to General Chat (Registered)

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests

cron