Anonymous | Login | 2024-11-21 15:44 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002459 | VCMI | Other | public | 2016-08-19 20:27 | 2016-09-16 03:20 | ||||||||
Reporter | SXX | ||||||||||||
Assigned To | SXX | ||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.98g | ||||||||||||
Target Version | Fixed in Version | 0.99 | |||||||||||
Summary | 0002459: Desync found! - Work toward full sync of save games | ||||||||||||
Description | At moment after week with memcheck we fixed all uninitialized value reports that related to serializer as well as some leaks. End goal is to make sure save games are in sync between client and server. Currently we found few important desync points: CGHeroInstance::SecondarySkillsInfo::rand. First one occur probably since there might be some not initialized heroes on map and so we just set same initial seed for SecondarySkillsInfo rand. Another one is CGameState::rand. First issue here is at least: CGameHandler::init. There is code of Beegee that randomize server-side gamestate. Though even with that commented server heavily use rand from GS and client doesn't so it's not easy to fix. Last one is static "CGObelisk::visited;" in CMap serialize even on maps that don't have obelisks. Though I didn't have chance to investigate this one since. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
Relationships | |||||||||||||||||||||||||||||||
|
Notes | |
(0006574) SXX (administrator) 2016-08-19 20:59 |
So this one affect at least: * Heroes skills as posted above. * Any object created by NewObject::applyGs |
(0006630) SXX (administrator) 2016-09-07 22:22 |
PR for most of issues: https://github.com/vcmi/vcmi/pull/209 [^] |
(0006648) SXX (administrator) 2016-09-12 00:42 |
All I find should be fixed with PR209 merge: https://github.com/vcmi/vcmi/commit/2543e068acd7e91ad4234ddfd7622c5e4fac664f [^] Will add related entries to this one in case I find out something else. |
Issue History | |||
Date Modified | Username | Field | Change |
2016-08-19 20:27 | SXX | New Issue | |
2016-08-19 20:27 | SXX | Status | new => assigned |
2016-08-19 20:27 | SXX | Assigned To | => SXX |
2016-08-19 20:27 | SXX | Relationship added | related to 0002383 |
2016-08-19 20:44 | SXX | Relationship deleted | related to 0002383 |
2016-08-19 20:44 | SXX | Relationship added | parent of 0002383 |
2016-08-19 20:59 | SXX | Note Added: 0006574 | |
2016-08-23 03:39 | SXX | Relationship added | parent of 0002460 |
2016-08-23 04:19 | SXX | Relationship added | parent of 0002462 |
2016-08-23 05:00 | SXX | Relationship added | related to 0002072 |
2016-08-23 05:00 | SXX | Relationship deleted | related to 0002072 |
2016-08-23 05:10 | SXX | Relationship added | parent of 0002089 |
2016-08-23 22:01 | SXX | Relationship added | parent of 0002463 |
2016-08-24 00:18 | SXX | Summary | Desync found! - Works towards full sync of save games => Desync found! - Work toward full sync of save games |
2016-08-24 00:48 | SXX | Relationship added | parent of 0002464 |
2016-09-07 22:22 | SXX | Note Added: 0006630 | |
2016-09-11 10:11 | SXX | Relationship deleted | parent of 0002089 |
2016-09-12 00:42 | SXX | Note Added: 0006648 | |
2016-09-12 00:42 | SXX | Status | assigned => resolved |
2016-09-12 00:42 | SXX | Fixed in Version | => 0.99 |
2016-09-12 00:42 | SXX | Resolution | open => fixed |
2016-09-16 03:20 | SXX | Relationship added | related to 0002168 |
Copyright © 2000 - 2024 MantisBT Team |