mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
troubleshooter: detect ea3_report_posev error (#413)
## Link to GitHub Issue, if one exists #345 ## Description of change When `ea3-pos: ea3_report_posev: no such node:` is detected, add a deferred error message and guide user to the FAQ. ## Testing Tested SDVX with the missing XML node.
This commit is contained in:
@@ -215,6 +215,15 @@ namespace games::sdvx {
|
|||||||
deferredlogs::defer_error_messages(deferredlogs::SUPERSTEP_SOUND_ERROR_MESSAGE);
|
deferredlogs::defer_error_messages(deferredlogs::SUPERSTEP_SOUND_ERROR_MESSAGE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (data.find("W:ea3-pos: ea3_report_posev: no such node:") != std::string::npos) {
|
||||||
|
deferredlogs::defer_error_messages({
|
||||||
|
"bad prop\\ea3-config.xml detected by game",
|
||||||
|
std::string(" ") + data,
|
||||||
|
" this will most likely cause Server Busy errors in certain conditions",
|
||||||
|
" follow the FAQ to fix your ea3-config.xml and try again"
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user