shmocz
shmocz
`GetGameState` command fetches the entire game state, which may become prohibitively large for low polling intervals. This can be mitigated with a delta encoding scheme where only the difference to...
`StateContext::add_event` doesn't distinguish between houses when checking for duplicate events in the different event lists. Usually this manifests as error when issuing a `ProduceOrder` command. Temporary workaround for clients (pyra2yr)...
Most game control related commands in `commands_yr.proto` are low level, and map almost directly to a call of specific underlying game function. While this simplifies the library implementation, there are...
ServiceData objects are deinitialized in `ExitGameLoop` hook: https://github.com/shmocz/ra2yrcpp/blob/21491da68f2ba8d0a8dff0d9b175b9fd3b98e69b/src/hooks_yr.cpp#L388-L400 However, calls to `TunnelSendTo` and `TunnelRecvFrom` are still happening, causing `std::out_of_range` to be thrown in the respective hooks. Solution is to perform...
Because the library accepts HTTP and plain JSON.
Traditionally CnCNet has supplied a suitably patched spawner binary, hence the tests scripts operate under the assumption that the spawner can be executed directly. Syringe-based projects (Ares, Phobos, yrpp-spawner) store...
Portions of code still use the old "yrclient" as their root namespace, and overall the namespace structure is irregular. Solution: devise standard namespace conventions, and update the code to conform...