Closed ghost closed 5 years ago
i think this is what causing it https://github.com/TwistedScorpio/Nostalrius/blob/009a571331504af29eb3a0296ef8c6aa336da491/src/monster.cpp#L1030
i wasn't able to fix it myself, but maby someone else can give it a try
@emil92b the fix can be simple change that line to: if (randomResult == 50 * (randomResult / 50)) {
@CristoferMartins I guess thats the proper solution.
idk, i get debug after that change, all i did was have a demon summon next to some dwarf soldiers/guards
tested having a player instead of demon, and same thing,
also don't see them do any sounds
+---------------------------------------------------------------
Debug Assertion 7.72 Utils.cpp 340
Tue Feb 05 14:35:56 2019
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 1
Last Packet Types: 170 131 109 109 109 109 107 131 107 104
Last Packet: 045 000 131 059 127 222 124 015 003 170 002 000 000 000 011 000
Player Position: [32568,31964,15]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 170), reason:
Communication.cpp 2466: exception occurred (Mode = 16) (Channel = 0), reason:
Network.cpp 470: exception occurred (MaxLength = 512), reason:
Utils.cpp 340: assertion failed (Position = 37) (Size-Length = -15930), reason:
Position<=Size-Length
----------------------------------------------------------------
don't you guys ever try it ingame before you post solutions? starting to notice that
The issue has been fixed. https://github.com/TwistedScorpio/Nostalrius/commit/1aaa6288a8b3ba7185271ea90580ad9b9b4d2688
Broken link for solution fixed. Please helpe?
Broken Link
they don't do any sounds at all, so cant test if they do it on other floors either