openrw icon indicating copy to clipboard operation
openrw copied to clipboard

Game crashes during Arms Shortage

Open ghost opened this issue 7 years ago • 2 comments

Seems like there is incorrect number of seats for COLUMB model

0  0x0000555555955a00 in VehicleInfo::{unnamed type#1}::operator[](unsigned long) const (this=0x555556872af8, index=0) at /home/user/openrw/rwengine/src/objects/VehicleInfo.hpp:98
1  0x0000555555a03a25 in VehicleObject::getSeatEntryDoor (this=0x55557e3cf690, seat=2) at /home/user/openrw/rwengine/src/objects/VehicleObject.cpp:618
2  0x000055555595314e in CharacterController::update (this=0x55557e058000, dt=0.0166666675) at /home/user/openrw/rwengine/src/ai/CharacterController.cpp:89
3  0x0000555555ad1261 in DefaultAIController::update (this=0x55557e058000, dt=0.0166666675) at /home/user/openrw/rwengine/src/ai/DefaultAIController.cpp:98
4  0x00005555559ee9db in CharacterObject::tick (this=0x55557e4b88a0, dt=0.0166666675) at /home/user/openrw/rwengine/src/objects/CharacterObject.cpp:264
5  0x00005555558f25c4 in RWGame::tick (this=0x7fffffff7c00, dt=0.0166666675) at /home/user/openrw/rwgame/RWGame.cpp:530
6  0x00005555558f213d in RWGame::run (this=0x7fffffff7c00) at /home/user/openrw/rwgame/RWGame.cpp:453
7  0x00005555558da342 in main (argc=1, argv=0x7fffffffe708) at /home/user/openrw/rwgame/main.cpp:17

ghost avatar Jun 05 '18 01:06 ghost

That car has required special treatment already. I believe it behaved as a boat when counting seats?

dracc avatar Jun 05 '18 04:06 dracc

There is no back seats info for this car, even though real model has back seats. So it goes out of bounds.

ghost avatar Jun 05 '18 05:06 ghost