Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

GlueGen: Add update menchanism #565

Open
Croydon opened this issue Feb 18, 2018 · 1 comment
Open

GlueGen: Add update menchanism #565

Croydon opened this issue Feb 18, 2018 · 1 comment

Comments

@Croydon
Copy link
Contributor

Croydon commented Feb 18, 2018

  • Add an UPDATE-mechanism
    * only updating the protobuf file, not completely renewing it
@a-teammate
Copy link
Contributor

This issue is about the bindings between InexorFlex and InexorCore, but possibly also between a InexorCore gameclient and a InexorCore gameserver.

Goal: if you do not change a variable in a drastic way, it will still result in the same network package (with the same ID).
Currently if you add a variable before the one in question, all later variables will signal a different network package (since they have a different ID now).

A pretty cool suggestion is ( (c) @aschaeffer) that the ID could be a hash (i.e. of the variable name and path). That would make it possible, that a modded client could send information only a specifically modded server would use, but any other would ignore.

It is even already needed for not getting ID clashes between different branches of InexorCore when InexorCore <-> InexorCore communication is established.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants