Notes |
|
(0006679)
|
SXX
|
2016-09-17 23:28
(edited on: 2016-09-17 23:29) |
|
I got exactly same reproducible crash, but in GiveBonus::applyGs.
Object simply not exist in GS when package applied.
Investigating for fix...
|
|
|
(0006680)
|
SXX
|
2016-09-18 01:04
|
|
So reason is:
- In CGameHandler::hireHero there one hero choosen from PlayerState::availableHeroes to "nh" ptr.
- Then in HeroRecruited::applyGs it's choosen from heroesPool[hid].
- After HeroRecruited applied in GH "nh" passed to other functions such as vistiCastleObjects.
Problem occur because for whatever reason heroesPool contain wrong hero there.
So while GS initialized different hero GH attempt to use hero that not on map and other netpacks fail since there is no such hero on map. |
|
|
(0006681)
|
SXX
|
2016-09-18 01:40
|
|
This one might be related to 0002277 in case it's didn't fixed everything perfectly.
Though at least random heroes have proper subID so bug might be somewhere else. |
|
|
(0006683)
|
SXX
|
2016-09-18 07:08
|
|
|