Comments (4)
I haven't run into this issue. Based on where the assert was I might assume that a creature spawned outside of the map or was moved outside. Can you post the log.txt
file?
from treeburner.
Looking at the AI director. I wonder if it tries to place a spawner out of bounds when you walk next to the edge of the map.
I was trying to reproduce similar errors by waiting at the upper-left corner of the map edge and got this:
Assertion failed: TCOD_console_is_index_valid_(con, x, y), file C:\Users\4b796\Projects\_others_projects\treeburner\vcpkg\buildtrees\libtcod\src\1.23.0-18439476c6.clean\src\libtcod\console_printing.c, line 261
Debug Error!
abort() has been called
ucrtbased.dll!00007fffe6eb7c75() (Unknown Source:0)
ucrtbased.dll!00007fffe6eb7e13() (Unknown Source:0)
ucrtbased.dll!00007fffe6ece01d() (Unknown Source:0)
ucrtbased.dll!00007fffe6ed386f() (Unknown Source:0)
ucrtbased.dll!00007fffe6ed1868() (Unknown Source:0)
ucrtbased.dll!00007fffe6ed41cf() (Unknown Source:0)
libtcod.dll!TCOD_console_print_internal(TCOD_Console * con, int x, int y, int rw, int rh, TCOD_bkgnd_flag_t flag, TCOD_alignment_t align, char * msg, bool can_split, bool count_only) Line 261 (c:\Users\4b796\Projects\_others_projects\treeburner\vcpkg\buildtrees\libtcod\src\1.23.0-18439476c6.clean\src\libtcod\console_printing.c:261)
libtcod.dll!TCODConsole::printEx(int x, int y, TCOD_bkgnd_flag_t flag, TCOD_alignment_t alignment, const char * fmt, ...) Line 279 (c:\Users\4b796\Projects\_others_projects\treeburner\vcpkg\buildtrees\libtcod\src\1.23.0-18439476c6.clean\src\libtcod\console_.cpp:279)
treeburner.exe!Logger::update(float elapsed, TCOD_key_t & k, TCOD_mouse_t & mouse) Line 224 (c:\Users\4b796\Projects\_others_projects\treeburner\src\ui_messages.cpp:224)
treeburner.exe!Dialog::update() Line 228 (c:\Users\4b796\Projects\_others_projects\treeburner\src\ui_dialog.cpp:228)
treeburner.exe!UmbraEngine::run::__l7::<lambda>(UmbraModule * tmpMod) Line 663 (c:\Users\4b796\Projects\_others_projects\treeburner\umbra\src\umbra\engine.cpp:663)
treeburner.exe!std::_Ref_fn<bool <lambda>(UmbraModule *)>::operator()<UmbraModule * &>(UmbraModule * & <_Vals_0>) Line 242 (c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility:242)
treeburner.exe!std::find_if<UmbraModule * *,std::_Ref_fn<bool <lambda>(UmbraModule *)>>(UmbraModule * * _First, UmbraModule * * const _Last, std::_Ref_fn<bool <lambda>(UmbraModule *)> _Pred) Line 5532 (c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility:5532)
treeburner.exe!std::remove_if<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<UmbraModule *>>>,bool <lambda>(UmbraModule *)>(std::_Vector_iterator<std::_Vector_val<std::_Simple_types<UmbraModule *>>> _First, const std::_Vector_iterator<std::_Vector_val<std::_Simple_types<UmbraModule *>>> _Last, UmbraEngine::run::__l7::bool <lambda>(UmbraModule *) _Pred) Line 1981 (c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory:1981)
treeburner.exe!UmbraEngine::run() Line 653 (c:\Users\4b796\Projects\_others_projects\treeburner\umbra\src\umbra\engine.cpp:653)
treeburner.exe!main(int argc, char * * argv) Line 216 (c:\Users\4b796\Projects\_others_projects\treeburner\src\main.cpp:216)
treeburner.exe!invoke_main() Line 79 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79)
treeburner.exe!__scrt_common_main_seh() Line 288 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
treeburner.exe!__scrt_common_main() Line 331 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331)
treeburner.exe!mainCRTStartup(void * __formal) Line 17 (d:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17)
This is from the logger trying to print a line at a consoles y=-2
position, so this might not really be related.
from treeburner.
Not much info in this log - log.txt
from treeburner.
I assumed as much. I might need to add more logging information or something. Also the current log format is not that great and seems to go for aesthetics more than practicality.
from treeburner.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treeburner.