diff --git a/Netplay/Netplay.md b/Netplay/Netplay.md index dc74900..ade8a11 100644 --- a/Netplay/Netplay.md +++ b/Netplay/Netplay.md @@ -1,4 +1,4 @@ -# Encryption (v1.1) +# Encryption  (v1.1) Fixed Key: `020406080a0c0e10121416181a1c1e20222426282a2c2e30323436383a3c3e40` Packet Structure: diff --git a/Netplay/Protocol.md b/Netplay/Protocol.md index 61beec4..2dfdaa5 100644 --- a/Netplay/Protocol.md +++ b/Netplay/Protocol.md @@ -92,7 +92,7 @@ Structure: struct NetValue { le u16 entity_index; u8 entity_type; - char data[?]; // length depends on entity type + char data[?]; // variable length }; struct NetData { @@ -134,17 +134,33 @@ Packets are split into Data packets (map change, resources, chat message, etc) a - 20: Box:vAim - 21: Box:vSpd -## Server->Client Packet Types + +## Client->Server (`cClientNetManager`) Packet Types - 00: Player Join + - u16: NET_GAME_ID (`0xbace`) + - u16: NET_GAME_VERSION (`0x101`) + - str: ServerPassword + - str: PlayerName + - str: ShipModelName + - u16: ShipHealth + - str: PilotModel + - str\[4]: EngineModels + - str: Loadout + - u32: TeamNumber +- 06: Player Modify + - Same as 00: Player Join - 02: Disconnect - 03: Chat String + - str: ChatString - 04: Usr String + - str: UsrString - 05: Unk (Keepalive?) -- 06: Player Modify - 08: Remote command + - str: ServerRemotePassword + - str: Command -## Client->Server Packet types +## Server->Client (`cServerNetManager`) Packet types - 00: Map Change: - str map_name @@ -153,27 +169,27 @@ Packets are split into Data packets (map change, resources, chat message, etc) a - 01: Resource: - u16: resource_index - u16: unk - - [str: resource_name] repeated num_resources times + - str[]: resource_name - 02: Unknown (Keepalive?) - 03: ChatMessage - - str: message + - str: ChatStr - 04: UsrString: - - str: data + - str: UsrStr - 05: Player join: - u8: player_id - str: player_name - str: ship_model - u16: max_health - - str[4]: engine_models + - str\[4]: engine_models - str: pilot_model - str: loadout - - u32: unknown + - u32: team_number - 06: unknown - u8: ent_index -- 07: unknown (reload?) \ No newline at end of file +- 07: unknown (restart?) \ No newline at end of file diff --git a/README.md b/README.md index 988df05..939102e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - [Engine Variables](./Variables.md) - [Classes](./Classes.md) - [World](./World.md) - - [Netplay](./Netplay/Netplay.md) + - [Netplay](Netplay.md) - [Python API](./Python_API.md) - [Modules](./Python_Modules.md) - [Callbacks](./Callbacks.md) diff --git a/ScrapEngine.md b/ScrapEngine.md index ad4f144..b5f1529 100644 --- a/ScrapEngine.md +++ b/ScrapEngine.md @@ -70,6 +70,21 @@ Checked in `0x00401180` * `idiota` * `capullo` +## Keyboard Shortcuts + +Resource ID 200 (0xc8) + +Shift+Esc: Exit game +Ctrl+Alt+Shift+F10: Change graphics device +Ctrl+F11: Focus Console Window +F10: Pause game +F12: Nothing? +Ctrl+F12: Show FPS +Ctrl+Alt+Shift+F7: Wireframe +Ctrl+Alt+Shift+F8: Texture Filtering Mode +Ctrl+Alt+Shift+F9: Cycle Rendering Info +Ctrl+Alt+Shift+Enter: Toggle fullscreen + ## Window Messages **TODO** diff --git a/Vulnerabilities.md b/Vulnerabilities.md new file mode 100644 index 0000000..4a1333d --- /dev/null +++ b/Vulnerabilities.md @@ -0,0 +1,4 @@ + +- `Scrap.RunApp("C:/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.EXE",'-NoProfile -ExecutionPolicy Unrestricted -Command "dir | out-file pwned.txt"')` +- `SNet.SendUsrString(,"T"` +- `Scrap.SetSaveVar("GameplayTime","")` \ No newline at end of file