0x1F9F1 / Open1560

A mod for Midtown Madness 1, primarily focused on supporting modern computers and fixing bugs.
https://0x1F9F1.github.io/Open1560
GNU General Public License v3.0
113 stars 9 forks source link

Increase Opponent Limits #74

Open 0x1F9F1 opened 3 years ago

0x1F9F1 commented 3 years ago

Currently causes some crashes.

ACCESS_VIOLATION (0xC0000005) at EIP=0x00426659 (mmIcons::Cull + 0xE9)
EAX=00000026 EBX=137EFFC0 ECX=0000000B EDX=00000100
ESI=00000120 EDI=00000001 EBP=0019F7E4 ESP=0019F680
9. 0x00426659 (mmIcons::Cull + 0xE9)
8. 0x00525237 (asCullManager::Update + 0x1A7)
7. 0x00522AF2 (asSimulation::Simulate + 0x92)
6. 0x00402CCC (ApplicationHelper + 0x149C)
5. 0x6D43BBDF (Application + 0x15F)
4. 0x6D43B96E (MidtownMain + 0x10E)
WARNING: mmBoundTemplate::Collide: Reached limit of EdgeBodyIsect table.
WARNING: mmBoundTemplate::Collide: Reached limit of EdgeBodyIsect table.
ERROR: 7731 symbols parsed from map file.
ACCESS_VIOLATION (0xC0000005) at EIP=0x004D3FB8 (mmPhysExec::DoUpdateAll + 0x218)
EAX=0000007E EBX=00000001 ECX=3F11EA3A EDX=363B719E
ESI=0070A574 EDI=00000000 EBP=0019F680 ESP=0019F664
15. 0x004D3FB8 (mmPhysExec::DoUpdateAll + 0x218)
14. 0x6D42486D (asNode::Update + 0x8D)
13. 0x004DEE00 (asOverSample::Update + 0x90)
12. 0x004D526C (mmPhysicsMGR::Update + 0x32C)
11. 0x6D42486D (asNode::Update + 0x8D)
10. 0x0048D758 (mmCullCity::Update + 0x188)
9. 0x6D42486D (asNode::Update + 0x8D)
8. 0x00410488 (mmGame::Update + 0x1E8)
7. 0x0041764F (mmGameSingle::Update + 0xF)
6. 0x0040466B (mmGameManager::Update + 0x19B)
5. 0x6D42486D (asNode::Update + 0x8D)
4. 0x00522535 (asSimulation::Update + 0x275)
3. 0x00522AE7 (asSimulation::Simulate + 0x87)
2. 0x00402CCC (ApplicationHelper + 0x149C)
1. 0x6D43BBDF (Application + 0x15F)
0. 0x6D43B96E (MidtownMain + 0x10E)
INT_DIVIDE_BY_ZERO (0xC0000094) at EIP=0x00418083 (mmGameSingle::UpdateScore + 0x193)
EAX=00000002 EBX=00000002 ECX=15A56CD9 EDX=00000000
ESI=13CF7558 EDI=00000000 EBP=0019F704 ESP=0019F6BC
14. 0x00418083 (mmGameSingle::UpdateScore + 0x193)
13. 0x00417CDA (mmGameSingle::UpdateGame + 0x63A)
12. 0x00410332 (mmGame::Update + 0x92)
11. 0x0041764F (mmGameSingle::Update + 0xF)
10. 0x0040466B (mmGameManager::Update + 0x19B)
9. 0x66CE486D (asNode::Update + 0x8D)
8. 0x00522535 (asSimulation::Update + 0x275)
7. 0x00522AE7 (asSimulation::Simulate + 0x87)
6. 0x00402CCC (ApplicationHelper + 0x149C)
5. 0x66CFBBDF (Application + 0x15F)
4. 0x66CFB96E (MidtownMain + 0x10E)
ERROR: Heap node @ 0x13CE003C: Upper Guard Word (allocated by 0x00404101 (mmGameManager::mmGameManager + 0x2B1)).
 13CDFFFC : 10 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 ................
 13CE000C : 00 00 00 00 C0 BA CC 13 70 00 00 00 00 00 00 00 ........p.......
 13CE001C : 00 00 00 00 00 00 00 00 00 00 00 00 10 00 10 00 ................
 13CE002C : FF FF FF 7F AA AA AA AA 5D 60 CD 13 00 E6 01 00 ........]`......
[13CE003C]: F0 E5 01 00 01 41 40 00 55 55 55 55 28 A7 61 00 .....A@.UUUU(.a.
 13CE004C : 00 00 00 00 00 00 00 00 70 A9 06 16 30 47 D0 13 ........p...0G..
 13CE005C : 00 00 00 00 03 00 00 00 00 00 00 00 40 50 CF 14 ............@P..
 13CE006C : 50 48 D0 13 28 AD 61 00 00 00 00 00 D8 6C A5 15 PH..(.a......l..
 13CE007C : 00 00 00 00 48 00 CE 13 00 00 00 00 03 00 00 00 ....H...........
ERROR: Heap node @ 0x13CFE63C: Linked List (allocated by 0x0050ED85 (agiMeshCardInfo::Init + 0xF5)).
 13CFE5FC : 01 00 00 04 02 00 00 04 02 00 00 04 02 00 00 04 ................
 13CFE60C : 02 00 00 00 02 00 00 04 01 00 00 04 02 00 00 04 ................
 13CFE61C : D9 6C A5 15 00 00 00 04 00 00 00 04 00 00 00 04 .l..............
 13CFE62C : 00 00 00 04 01 00 00 04 DB 0F C9 3F AA AA AA AE ...........?....
[13CFE63C]: 35 00 CE 17 10 02 00 00 00 02 00 00 85 ED 50 00 5.............P.
 13CFE64C : 55 55 55 55 00 00 00 00 00 00 00 00 00 00 80 3E UUUU...........>
 13CFE65C : 00 00 00 00 00 00 80 3E 00 00 80 3E 00 00 00 00 .......>...>....
 13CFE66C : 00 00 80 3E 00 00 80 3E 00 00 00 00 00 00 00 3F ...>...>.......?
 13CFE67C : 00 00 00 00 00 00 00 3F 00 00 80 3E 00 00 80 3E .......?...>...>
0x1F9F1 commented 3 years ago

mmGame::Init overflows OppIcons (0x40F211) mmGameSingle::UpdateScore overflows OppIcons, OppNumCheck, field_1E5B4, field_1E5D8