wiremod / wirebox

Wire for S&Box. Early WIP.
MIT License
37 stars 8 forks source link

Debugger: currently shows client's calculated wire values. Lets not trust client: Net sync those from Server #37

Open Nebual opened 12 months ago

Nebual commented 12 months ago

The Debugger currently shows what the Client thinks is the wire values going in/out of the Entity. Somehow, most of the initial wire entities were actually running their outputs on both client/server and were generally in agreement, but we shouldn't trust the client (and should likely start skipping those calculations clientside!), as their information is incomplete (eg. Clients don't know the accurate Mass of objects, so the Wire Weight Scale is just wrong clientside).

We should either bake some [Net] syncing/equivalent into WireLib, so all Wire outputs and inputs get synced, OR bake something into just the Debugger (since most clients don't need to get networked info about most entities, just the ones they're debugging).