View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002010SphereServerexecutable - windows buildpublic31-07-11 21:2311-11-13 06:19
ReporterShaklaban 
Assigned ToBen 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002010: Npc Pathfinding
Descriptionnpc pathfinding not works on the new maps (ilshenar, malas etc.). i think there is a problem with map numbers, maybe npcs trying to reach same coordinates on the map0.

My AI flags:

NPCAI=0001|0008|0200|0004
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1478
Attached Files

- Relationships

-  Notes
(0001443)
Gil Amarth (reporter)
09-12-12 19:58

I´d like to bump this issue.

It´s very strange pathfinding is bugged in all maps except map0. My npcs works perfect avoiding trees un map0, but they fail miserably in the same map1, and they stucks for seconds in every obstacle of their way. And both maps are the same.

I fully confirm this problem.
(0001444)
Ben (manager)
09-12-12 23:49

Can you post your EF flags. From hat I can see, pathfinding is only used properly with EF_walkcheck and EF_newpositioncheck on.
(0001445)
Gil Amarth (reporter)
10-12-12 21:42

I don´t know Shaklaban ef_flags, but this are mine:

// EF_DiagonalWalkCheck = 00000001
// EF_New_Triggers = 00000008
// EF_WalkCheck = 00000100
// EF_Script_Profiler = 00000400
// EF_NPCAct_Triggers = 00010000
Experimental=01|08|0100|0400|010000

I have tried adding EF_newpositionchek, and it´s worse.
Unless you quit EF_DiagonalWalkCheck, then is sightly better, but still pathfinding it´s better in map0.
Testing it, an ogre never, NEVER, stucks any second in any tree or obstacle when he is chasing you, but in the same map1, he sometimes stuck in a tree, aproximately one second, and it´s very easy to run from him.
(0001446)
darksun84 (reporter)
12-12-12 01:52
edited on: 12-12-12 02:12

I tested it in Ilshenar map, same your flag(and npc always smarter pathfinding flag, and yes they tend to stuck more and wander around.

For a quick test : Cast wall of stone
map0, the npc will get you.
Map 2, the npc will get stuck and it will wander around

(0001771)
Ben (manager)
11-11-13 06:19

Finally fixed!!!

- Issue History
Date Modified Username Field Change
31-07-11 21:23 Shaklaban New Issue
06-07-12 23:09 AnarchCassius Issue Monitored: AnarchCassius
07-07-12 15:17 Gil Amarth Issue Monitored: Gil Amarth
09-12-12 19:58 Gil Amarth Note Added: 0001443
09-12-12 23:49 Ben Note Added: 0001444
10-12-12 21:42 Gil Amarth Note Added: 0001445
12-12-12 01:52 darksun84 Note Added: 0001446
12-12-12 02:12 darksun84 Note Edited: 0001446 View Revisions
11-11-13 06:19 Ben Note Added: 0001771
11-11-13 06:19 Ben Status new => resolved
11-11-13 06:19 Ben Fixed in Version => 0.56c Nightly
11-11-13 06:19 Ben Resolution open => fixed
11-11-13 06:19 Ben Assigned To => Ben


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker