Extend transform packets to carry movement metadata and optional cell/worldspace IDs. Public API updated (SendTransformPacket signature) and implementation now formats movementType, cellId and worldspaceId when present (buffer size increased and formatting safety checks added). Player tracking in main.cpp now computes PlayerLocation, detects cell/worldspace changes and large teleports (threshold 5000), sends immediate updates with movementType="cell_change"/"worldspace_change"/"teleport", and preserves last-sent state. Server logging updated to print movementType and extra fields. Dev log updated with an entry describing these changes.
Server
This folder is for the external multiplayer test server.
The current server is a tiny local-only TCP test server. It listens on
127.0.0.1:7777, accepts one or more clients, reads newline-separated JSON
packets, and prints received player transform packets.
Run
cd server
python server.py
Then launch Fallout 4 through F4SE and move the player. The plugin should keep
logging player position changes to Fallout4Together.log, and this server
should print matching transform packets.
If the server is not running, the plugin should log a warning and Fallout 4 should continue launching normally.
First Server Goals
- Start local server
- Accept client connections
- Receive transform packets
- Handle disconnects
Not Planned Yet
- Remote actor spawning
- Gameplay synchronization
- Authentication
- Public matchmaking
- Anti-cheat
- Persistence
- Quest state
- Settlement state
- Large-scale world simulation