# jaenudin86/pointblank architecture

> Architecture diagram of the GitHub repository jaenudin86/pointblank, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jaenudin86/pointblank
- Repository: https://github.com/jaenudin86/pointblank

## Overview

OZ-Network is a Point Blank server emulator, accompanied by a game updater and a PHP community site. The main runtime path is a game or auth client connecting to a server, which handles protocol traffic and uses shared game state and database tables. The graph also preserves the documented forum/community role and updater capability evident in the tree. Evidence is limited to the README, SOURCE INDEX references, and sampled excerpts; unsampled runtime links are omitted where their callers are not shown.

Main entry points: [`server/Auth/Program.cs`](https://github.com/jaenudin86/pointblank/blob/master/server/Auth/Program.cs) (Auth startup), [`server/Game/Program.cs`](https://github.com/jaenudin86/pointblank/blob/master/server/Game/Program.cs) (Game startup), [`web/index.php`](https://github.com/jaenudin86/pointblank/blob/master/web/index.php) (Community site), [`server/Core/Database/Connector.cs`](https://github.com/jaenudin86/pointblank/blob/master/server/Core/Database/Connector.cs) (Database connector)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_server["Emulation servers"]
  node_auth_program["Auth startup<br/>[Program.cs]"]
  node_auth_network["Auth networking<br/>[Auth.cs]"]
  node_auth_dispatch["Auth request handlers"]
  node_game_program["Game startup<br/>[Program.cs]"]
  node_game_network["Game networking<br/>[GameNetwork.cs]"]
  node_game_handlers["Game request handlers"]
  node_room_manager["Room management<br/>[RoomManager.cs]"]
end

subgraph group_shared["Shared game services"]
  node_config["Server configuration<br/>[ConfigModel.cs]"]
  node_data_parsers["Game data parsers"]
  node_tutorial_parser["Tutorial parser<br/>[TutorialParser.cs]"]
  node_db_connector["Database connector<br/>[Connector.cs]"]
  node_db_tables[("Game database tables")]
  node_protection["Connection protection"]
end

subgraph group_updater["Game updater"]
  node_updater["Patch updater<br/>[Main.cs]"]
  node_zip_support["Archive support"]
end

subgraph group_web["Community website"]
  node_website["Community site<br/>[index.php]"]
  node_web_pages["Site pages"]
  node_web_accounts["Account methods"]
  node_web_templates["Page templates"]
end

node_game_client(("Game client"))

node_game_client -->|"connects"| node_auth_network
node_auth_network -->|"dispatches requests"| node_auth_dispatch
node_auth_program -->|"loads configuration"| node_config
node_auth_program -->|"loads tutorial data"| node_tutorial_parser
node_auth_program -->|"connects database"| node_db_connector
node_auth_program -->|"loads tables"| node_db_tables
node_auth_program -->|"initializes protection"| node_protection
node_game_program -->|"loads configuration"| node_config
node_game_program -->|"loads game data"| node_data_parsers
node_game_program -->|"loads tutorial data"| node_tutorial_parser
node_game_program -->|"connects database"| node_db_connector
node_game_program -->|"loads tables"| node_db_tables
node_db_connector -->|"reads settings"| node_config
node_game_network -.->|"dispatches requests"| node_game_handlers
node_room_manager -->|"sends packets"| node_game_network
node_website -.->|"serves pages"| node_web_pages
node_website -.->|"renders templates"| node_web_templates
node_website -.->|"offers account actions"| node_web_accounts
node_updater -.->|"unpacks archives"| node_zip_support

click node_auth_program "https://github.com/jaenudin86/pointblank/blob/master/server/Auth/Program.cs"
click node_auth_network "https://github.com/jaenudin86/pointblank/blob/master/server/Auth/Network/Auth.cs"
click node_auth_dispatch "https://github.com/jaenudin86/pointblank/tree/master/server/Auth/Network/ClientPacket"
click node_game_program "https://github.com/jaenudin86/pointblank/blob/master/server/Game/Program.cs"
click node_game_network "https://github.com/jaenudin86/pointblank/blob/master/server/Game/Network/GameNetwork.cs"
click node_game_handlers "https://github.com/jaenudin86/pointblank/tree/master/server/Game/Network/ClientPacket"
click node_room_manager "https://github.com/jaenudin86/pointblank/blob/master/server/Game/Managers/RoomManager.cs"
click node_config "https://github.com/jaenudin86/pointblank/blob/master/server/Core/Config/ConfigModel.cs"
click node_data_parsers "https://github.com/jaenudin86/pointblank/tree/master/server/Core/Data/Parsers"
click node_tutorial_parser "https://github.com/jaenudin86/pointblank/blob/master/server/Core/Data/Parsers/Missions/TutorialParser.cs"
click node_db_connector "https://github.com/jaenudin86/pointblank/blob/master/server/Core/Database/Connector.cs"
click node_db_tables "https://github.com/jaenudin86/pointblank/tree/master/server/Core/Database/Tables"
click node_protection "https://github.com/jaenudin86/pointblank/blob/master/server/Core/Protection/ProtectionService.cs"
click node_updater "https://github.com/jaenudin86/pointblank/blob/master/launcher/Game%20Updater/Main.cs"
click node_zip_support "https://github.com/jaenudin86/pointblank/tree/master/launcher/Game%20Updater/Zlib/Zip"
click node_website "https://github.com/jaenudin86/pointblank/blob/master/web/index.php"
click node_web_pages "https://github.com/jaenudin86/pointblank/tree/master/web/app/pages"
click node_web_accounts "https://github.com/jaenudin86/pointblank/tree/master/web/app/methods"
click node_web_templates "https://github.com/jaenudin86/pointblank/tree/master/web/templates"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth_program,node_auth_network,node_auth_dispatch,node_game_program,node_game_network,node_game_handlers,node_room_manager,node_game_client toneBlue
class node_config,node_data_parsers,node_tutorial_parser,node_db_connector,node_db_tables,node_protection toneAmber
class node_updater,node_zip_support toneMint
class node_website,node_web_pages,node_web_accounts,node_web_templates toneRose
```

## Components

### Emulation servers

- [Auth startup](https://github.com/jaenudin86/pointblank/blob/master/server/Auth/Program.cs): `server/Auth/Program.cs`
- [Auth networking](https://github.com/jaenudin86/pointblank/blob/master/server/Auth/Network/Auth.cs): `server/Auth/Network/Auth.cs`
- [Auth request handlers](https://github.com/jaenudin86/pointblank/tree/master/server/Auth/Network/ClientPacket): `server/Auth/Network/ClientPacket`
- [Game startup](https://github.com/jaenudin86/pointblank/blob/master/server/Game/Program.cs): `server/Game/Program.cs`
- [Game networking](https://github.com/jaenudin86/pointblank/blob/master/server/Game/Network/GameNetwork.cs): `server/Game/Network/GameNetwork.cs`
- [Game request handlers](https://github.com/jaenudin86/pointblank/tree/master/server/Game/Network/ClientPacket): `server/Game/Network/ClientPacket`
- [Room management](https://github.com/jaenudin86/pointblank/blob/master/server/Game/Managers/RoomManager.cs): `server/Game/Managers/RoomManager.cs`

### Shared game services

- [Server configuration](https://github.com/jaenudin86/pointblank/blob/master/server/Core/Config/ConfigModel.cs): `server/Core/Config/ConfigModel.cs`
- [Game data parsers](https://github.com/jaenudin86/pointblank/tree/master/server/Core/Data/Parsers): `server/Core/Data/Parsers`
- [Tutorial parser](https://github.com/jaenudin86/pointblank/blob/master/server/Core/Data/Parsers/Missions/TutorialParser.cs): `server/Core/Data/Parsers/Missions/TutorialParser.cs`
- [Database connector](https://github.com/jaenudin86/pointblank/blob/master/server/Core/Database/Connector.cs): `server/Core/Database/Connector.cs`
- [Game database tables](https://github.com/jaenudin86/pointblank/tree/master/server/Core/Database/Tables): `server/Core/Database/Tables`
- [Connection protection](https://github.com/jaenudin86/pointblank/blob/master/server/Core/Protection/ProtectionService.cs): `server/Core/Protection/ProtectionService.cs`

### Game updater

- [Patch updater](https://github.com/jaenudin86/pointblank/blob/master/launcher/Game%20Updater/Main.cs): `launcher/Game Updater/Main.cs`
- [Archive support](https://github.com/jaenudin86/pointblank/tree/master/launcher/Game%20Updater/Zlib/Zip): `launcher/Game Updater/Zlib/Zip`

### Community website

- [Community site](https://github.com/jaenudin86/pointblank/blob/master/web/index.php): `web/index.php`
- [Site pages](https://github.com/jaenudin86/pointblank/tree/master/web/app/pages): `web/app/pages`
- [Account methods](https://github.com/jaenudin86/pointblank/tree/master/web/app/methods): `web/app/methods`
- [Page templates](https://github.com/jaenudin86/pointblank/tree/master/web/templates): `web/templates`

### Other components

- **Game client**

## Connections

- Game client → Auth networking: connects (evidence: `server/Auth/Network/Auth.cs`)
- Auth networking → Auth request handlers: dispatches requests (evidence: `server/Auth/Network/Auth.cs`)
- Auth startup → Server configuration: loads configuration (evidence: `server/Auth/Program.cs`)
- Auth startup → Tutorial parser: loads tutorial data (evidence: `server/Auth/Program.cs`)
- Auth startup → Database connector: connects database (evidence: `server/Auth/Program.cs`)
- Auth startup → Game database tables: loads tables (evidence: `server/Auth/Program.cs`)
- Auth startup → Connection protection: initializes protection (evidence: `server/Auth/Program.cs`)
- Game startup → Server configuration: loads configuration (evidence: `server/Game/Program.cs`)
- Game startup → Game data parsers: loads game data (evidence: `server/Game/Program.cs`)
- Game startup → Tutorial parser: loads tutorial data (evidence: `server/Game/Program.cs`)
- Game startup → Database connector: connects database (evidence: `server/Game/Program.cs`)
- Game startup → Game database tables: loads tables (evidence: `server/Game/Program.cs`)
- Database connector → Server configuration: reads settings (evidence: `server/Core/Database/Connector.cs`)
- Game networking → Game request handlers: dispatches requests
- Room management → Game networking: sends packets (evidence: `server/Game/Managers/RoomManager.cs`)
- Community site → Site pages: serves pages
- Community site → Page templates: renders templates
- Community site → Account methods: offers account actions
- Patch updater → Archive support: unpacks archives
