MantisBT - Zandronum
View Issue Details
0002692Zandronum[All Projects] Bugpublic2016-03-30 21:112018-09-30 22:05
Tiger 
Torr Samaho 
normalcrashalways
closedfixed 
Desktop (x86_64)Windows6.3
 
3.03.0 
0002692: Bot Node Overflow (?)
This issue has been in existence since SkullTag 97D, though probably safe to assume - since forever.

The demonstration PWAD that I have provided shows a crash or hang that occurs when adding just one bot into the map. When the crash or hang occurs, there's no useful information presented to the user -- only course of action is to terminate the PID.

I am unsure if this is even remotely fixable as it seems to be the design of the bots SkullTag uses, ZDoom's Cajun bots ['http://zdoom.org/wiki/Bots [^]' ] do not have any issues with the demonstration map.
Using the demonstration PWAD:
Go to MAP01 and set the gamemode to 'Deathmatch'. Once the map reloads to MAP01, add a random bot into the game.
Zandronum should hang within the first second.
No tags attached.
7z BotCrash.7z (1,483,648) 2016-03-30 21:11
https://zandronum.com/tracker/file_download.php?file_id=1776&type=bug
Issue History
2016-03-30 21:11TigerNew Issue
2016-03-30 21:11TigerFile Added: BotCrash.7z
2016-04-03 11:33Torr SamahoNote Added: 0014650
2016-04-03 11:33Torr SamahoAssigned To => Torr Samaho
2016-04-03 11:33Torr SamahoStatusnew => needs testing
2016-04-03 11:46cobaltTarget Version => 3.0
2016-04-03 11:46cobaltDescription Updatedbug_revision_view_page.php?rev_id=8881#r8881
2016-04-03 11:46cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8883#r8883
2016-04-03 11:46cobaltNote Added: 0014652
2016-04-03 12:21TigerNote Added: 0014656
2016-04-07 03:25TigerNote Added: 0014676
2016-04-08 19:12DuskStatusneeds testing => resolved
2016-04-08 19:12DuskFixed in Version => 3.0
2016-04-08 19:12DuskResolutionopen => fixed
2018-09-30 22:05Blzut3Statusresolved => closed

Notes
(0014650)
Torr Samaho   
2016-04-03 11:33   
Should be fixed now. It was caused by the size of the map, but not because the map is too big in general, but because the code made a wrong assumption that lead to an infinite loop.
(0014652)
cobalt   
2016-04-03 11:46   
Issue addressed by commit 9fe16790e716: Fixed: Bots on a large map may freeze the game (addresses 2692).
Committed by Benjamin Berkels [Torr Samaho] on Wednesday 31 December 1969 23:59:57

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/astar.cpp | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

(0014656)
Tiger   
2016-04-03 12:21   
Great, thanks!
(0014676)
Tiger   
2016-04-07 03:25   
Using build 3.0-alpha @ 160403-1900 - Commit 96e0e5e40e46, (credit to WaTaKiD), this seems to be fixed for me. I have tested this out on a gameserver environment as well as single player environment, seems to be working just fine now. Thanks for fixing this!