Commit ab77ff

2026-04-19 14:41:36 Claude Code: ct-123-cs16: YaPB Bots + Bot-Kommandos + vollständige Doku
ct-123-cs16.md ..
@@ 17,22 17,34 @@
```
/opt/cs16/
├── docker-compose.yml
- ├── valve.zip # CS 1.6 Assets (SteamCMD AppID 90)
+ ├── valve.zip # CS 1.6 Assets (SteamCMD AppID 90)
+ ├── metamod/
+ │ └── plugins.ini # Metamod Plugin-Liste
+ ├── yapb/
+ │ ├── bin/yapb.so # YaPB Bot-DLL
+ │ ├── conf/yapb.cfg # Bot-Konfiguration (yb_quota etc.)
+ │ └── data/graph/de_dust2.graph # Waypoints
└── cstrike/
└── addons/
└── amxmodx/
├── configs/
- │ ├── plugins.ini # Geladene Plugins
- │ └── users.ini # Admin-Accounts
+ │ ├── plugins.ini # AMX Plugin-Liste
+ │ └── users.ini # Admin-Accounts
├── plugins/
- │ └── tdm_respawn.amxx
+ │ ├── tdm_respawn.amxx
+ │ └── admin_menu.amxx
└── scripting/
- └── tdm_respawn.sma
+ ├── tdm_respawn.sma
+ └── admin_menu.sma
```
## Plugins
- - **tdm_respawn** – Team Deathmatch Respawn (custom, 2s Delay)
+ | Plugin | Beschreibung |
+ |--------|-------------|
+ | tdm_respawn | Team Deathmatch: Respawn nach 2s |
+ | admin_menu | `/admin` im Chat öffnet AMX-Menü |
+ | YaPB v4.4.957 | Bots (Xash3D-kompatibel, via Metamod) |
## Admin-Login
@@ 42,8 54,36 @@
setinfo _pw "DEIN_PASSWORT"
```
- Der Account wird über den Spielernamen erkannt. Passwort ist in
- `/opt/cs16/cstrike/addons/amxmodx/configs/users.ini` hinterlegt.
+ Wird über den Spielernamen erkannt. Danach `/admin` im Chat für das Admin-Menü.
+ Account-Daten in `/opt/cs16/cstrike/addons/amxmodx/configs/users.ini`.
+
+ ## Bots (YaPB)
+
+ **Warum YaPB?** PODBot und andere Metamod-Bots nutzen `RecursiveLightPoint` – eine HLDS-interne Funktion, die Xash3D FWGS nicht implementiert (SIGSEGV). YaPB unterstützt Xash3D nativ.
+
+ ### Bot-Anzahl dauerhaft ändern
+
+ In `/opt/cs16/yapb/conf/yapb.cfg`:
+
+ ```
+ yb_quota "5" # Anzahl Bots
+ ```
+
+ ### Bot-Kommandos (Konsole / RCON)
+
+ | Befehl | Beschreibung |
+ |--------|-------------|
+ | `yb_quota 5` | Dauerhaft 5 Bots halten |
+ | `yb add [skill] [team]` | Bot hinzufügen (skill 0-4, team 0=random 1=T 2=CT) |
+ | `yb kick` | Zufälligen Bot entfernen |
+ | `yb kick t` | Bot aus T-Team entfernen |
+ | `yb kick ct` | Bot aus CT-Team entfernen |
+ | `yb kickall` | Alle Bots rauswerfen |
+ | `yb fill 0 5 2` | Server mit 5 Bots Skill Normal füllen |
+ | `yb kill` | Alle Bots töten (bleiben im Spiel) |
+ | `yb list` | Aktive Bots anzeigen |
+
+ **Schwierigkeitsgrade:** 0=Newbie, 1=Average, 2=Normal, 3=Professional, 4=Godlike
## Offene Punkte
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9