How multitheftauto/multitheftauto-archived works
This repository implements Multi Theft Auto: a multiplayer modification for Grand Theft Auto: San Andreas, with a client, dedicated server, Lua scripting, game integration, and GUI. The intended user workflow is to launch the client, connect to a server, load a resource, and experience synchronized gameplay; only some internal links in that flow are evidenced by the excerpts. The server-side Lua manager visibly creates script VMs and registers APIs, while the client engine Lua definitions visibly perform model-loading operations. The README is empty, so capability coverage is based on the tree and source index; unsampled runtime connections are omitted or marked unverified.
Main entry points: CCore.cpp Client core · CGameSA.cpp Game API · CClientGame.cpp Client game logic · Server.cpp Dedicated server
Components 24
Client and core
- Client loader
MTA10/loader/Main.cpp - Client core
MTA10/core/CCore.cpp - Chat
MTA10/core/CChat.cpp - Crash handling
MTA10/core/CrashHandler.cpp - GUI toolkit
MTA10/gui/CGUI_Impl.h - TCP socket manager
MTA10/core/tracking/CTCPManager.cpp
Game integration
- Game API
MTA10/game_sa/CGameSA.cpp - Game entities
MTA10/game_sa/CEntitySA.cpp - Camera
MTA10/game_sa/CCameraSA.h - Pedestrian
MTA10/game_sa/CPedSA.cpp - Player state
MTA10/game_sa/CPlayerInfoSA.h - Game pools
MTA10/game_sa/CPoolsSA.h - Vehicle handling
MTA10/game_sa/CHandlingManagerSA.cpp
Client gameplay
- Client game logic
MTA10/mods/deathmatch/logic/CClientGame.cpp - Client resources
MTA10/mods/deathmatch/logic/CResourceManager.cpp
Server runtime
- Dedicated server
MTA10_Server/mods/deathmatch/Server.cpp - Server resources
MTA10_Server/mods/deathmatch/logic/CResourceManager.cpp - Map management
MTA10_Server/mods/deathmatch/logic/CMapManager.cpp - Handling manager
MTA10_Server/mods/deathmatch/logic/CHandlingManager.cpp - Server socket manager
MTA10_Server/core/sockets/CTCPServerSocketImplManager.cpp
Lua scripting
- Client Lua engine API
MTA10/mods/shared_logic/lua/CLuaFunctionDefs.Engine.cpp - Server Lua manager
MTA10_Server/mods/deathmatch/logic/lua/CLuaManager.cpp - Lua module API
Shared/publicsdk/include/ILuaModuleManager.h
Other components
- Player
Connections 24
- Player → Client loader: launches
- Client loader → Client core: starts
- Player → Client core: uses
- Client core → Client game logic: dispatches
- Client game logic → Client resources: loads resources
- Client resources → Client Lua engine API: exposes engine API
- Client Lua engine API → Game API: loads game assets
- Client game logic → Game API: controls game
- Game API → Game entities: uses entities
- Game API → Camera: uses camera
- Game API → Pedestrian: uses peds
- Game API → Player state: reads state
- Game API → Game pools: uses pools
- Dedicated server → Server resources: manages resources
- Server resources → Server Lua manager: starts scripts
- Server Lua manager → Lua module API: implements interface
MTA10_Server/mods/deathmatch/logic/lua/CLuaManager.cpp - Server Lua manager → Map management: registers map APIs
- Dedicated server → Handling manager: manages handling
- Dedicated server → Server socket manager: uses sockets
- Client core → TCP socket manager: creates sockets
MTA10/core/tracking/CTCPManager.cpp - Client core → Chat: provides chat
- Client core → GUI toolkit: uses GUI
- Client core → Crash handling: handles failures
- Client game logic → Vehicle handling: applies handling