Mtasa-blue: Single player object not exists in MTA

Created on 11 Apr 2020  路  4Comments  路  Source: multitheftauto/mtasa-blue

Describe the bug
I started to re-make the single player container crane SF mission, but the crane arm object is not exists in MTA. (Invalid model ID)

To reproduce
Just create an object with modelId 1382

Expected behaviour

Screenshots

Version
Maybe in all versions.
But I tested it in:

  • Client 1.5.7-release-20488
  • Server 1.5.7-release-20397

Additional context
1379, MagnoCrane_02, Cranes_DYN2_CJ, 150, 4
1380, MagnoCrane_01, Cranes_DYN2_CJ, 150, 0
1381, MagnoCrane_04, Cranes_DYN2, 150, 0
1382, MagnoCrane_03, Cranes_DYN2_CJ, 150, 4 <---- This one

bug

Most helpful comment

Seems 1382 is deliberately skipped in the generator here: https://github.com/multitheftauto/mtasa-blue/blob/master/Client/utils/gentable/gentable_objmodels.cpp#L59-L60

This skip was made by https://github.com/multitheftauto/mtasa-blue/commit/f9299d4e64f806cb7c54e0e169d4748715d9711a titled "Many objects crash the Editor"

Original Mantis Bug Tracker issue at mantis-4270

cc @darkdreamingdan

All 4 comments

Seems 1382 is deliberately skipped in the generator here: https://github.com/multitheftauto/mtasa-blue/blob/master/Client/utils/gentable/gentable_objmodels.cpp#L59-L60

This skip was made by https://github.com/multitheftauto/mtasa-blue/commit/f9299d4e64f806cb7c54e0e169d4748715d9711a titled "Many objects crash the Editor"

Original Mantis Bug Tracker issue at mantis-4270

cc @darkdreamingdan

Just to point out, in SAMP (base on https://dev.prineside.com/) the object 1382 does not exist, but it was added as a custom model (id: 11703). Maybe something is wrong with that object? It appears that some objects simply crash MTA for no reason and 1382 was one of them.

Also 1382 isn't listed as an ID that it's not used by the game.

Fixed via #1684

But this object causes crash on destroy

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CrosRoad95 picture CrosRoad95  路  4Comments

Haxardous picture Haxardous  路  3Comments

rk-r picture rk-r  路  4Comments

patrikjuvonen picture patrikjuvonen  路  3Comments

umitemre picture umitemre  路  4Comments