Invalid pVertices in pie_Draw3DShape2() #2041
Comments
Safety0ff commented I haven't managed to reproduce this, the closest I've gotten was tripping the following assert:
|
Safety0ff changed _comment1 which not transferred by tractive |
Safety0ff changed _comment0 which not transferred by tractive |
Safety0ff changed _comment3 which not transferred by tractive |
Safety0ff changed _comment2 which not transferred by tractive |
Safety0ff commented Maybe related:
Steps:
|
Safety0ff uploaded file |
Safety0ff commented If that assert is invalid ((psPosition->factoryType < NUM_FLAG_TYPES && psPosition->factoryInc < MAX_FACTORY_FLAG_IMDS)' Then you can overflow an array and likely get your invalid psVerts. |
Safety0ff uploaded file |
Safety0ff commented Looks like "deliveryPointToMove" can become dangling and cause all kinds of issues. Just need to figure out a good solution to this. |
Safety0ff changed _comment1 which not transferred by tractive |
Safety0ff changed _comment2 which not transferred by tractive |
Safety0ff commented Bah, found more gerard hacks. The delivery points are treated as buildings as a hack to render them... I suspect it causes more issues in the mouse handling code too. |
Safety0ff changed _comment0 which not transferred by tractive |
Safety0ff changed priority from |
Safety0ff uploaded file |
Safety0ff commented As a side effect, you can no longer "quick queue" cheat yourself units. |
safety0ff changed status from |
safety0ff changed resolution from `` to |
safety0ff commented Fix dangling pointer when structures are destroyed and you are repositioning the delivery point. Untangles delivery points code from building placement code. Fixes #2041.
|
safety0ff commented Fix dangling pointer when structures are destroyed and you are repositioning the delivery point. Untangles delivery points code from building placement code. Fixes #2041.
|
2 similar comments
safety0ff commented Fix dangling pointer when structures are destroyed and you are repositioning the delivery point. Untangles delivery points code from building placement code. Fixes #2041.
|
safety0ff commented Fix dangling pointer when structures are destroyed and you are repositioning the delivery point. Untangles delivery points code from building placement code. Fixes #2041.
|
Cyp commented Marked #3295 as duplicate of this. |
resolution_fixed
type_bug
| by vexedI think it was trying to move the delivery point while the building got blown up.
Issue migrated from trac:2041 at 2022-04-15 22:10:57 -0700
The text was updated successfully, but these errors were encountered: