docs: sync knowledge base with April 8-10 changes
Synchronized docs/ folder with Knowledge Base (was behind since April 3): - changelog.md: added qb-target migration (Apr 8) + resource cleanup (Apr 10) entries - server_knowledge.md: complete resource structure post-cleanup, target section update - cross_resource_modifications.md: added qb-target migration checklist - resource_dependency_map.md: removed rv-qb-target, updated qb-target (ld-target engine) - resource_map.html: updated qb-target node + 17mov_Electrician qtarget link
This commit is contained in:
@@ -7,6 +7,41 @@ git tkn: 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
|
||||
|
||||
---
|
||||
|
||||
## 2026-04-10 — Resource Cleanup + Knowledge Base Update
|
||||
|
||||
### 🧹 Resource Cleanup
|
||||
- Mutat resurse neutilizate în `_preLoad/_backups 10-04-2026/`
|
||||
- Verificat complet structura resurselor post-cleanup
|
||||
- Actualizat knowledge base: `server_knowledge.md`, `resource_dependency_map.md`, `changelog.md`, `todo_lists.md`, `cross_resource_modifications.md`, `resource_map.html`
|
||||
|
||||
---
|
||||
|
||||
## 2026-04-08 — qb-target Migration (ld-target engine)
|
||||
|
||||
### 🎯 Target System Migration: rv-target → qb-target (ld-target engine)
|
||||
- **Cauza erorilor**: Folderul se numea `rv-target` cu `provide 'qb-target'` — resursele nu găseau exporturile
|
||||
- **Fix**: Folder redenumit la `qb-target` (cum era distribuit ld-target original)
|
||||
- **provide qtarget**: Adăugat `provide 'qtarget'` în fxmanifest.lua pt compatibilitate cu `17mov_Electrician`
|
||||
- **Demo peds cleanup**: `Config.Peds = {}` (golit tabel demo Lunny)
|
||||
- **Blue branding NUI**: `#00F8B9` → `#5c97f7` în style.css, interaction.css, script.js, index.html
|
||||
- **DrawSprite albastru**: Zone markers RGB(92,151,247) în client.lua
|
||||
- **Fresh copy**: client.lua și NUI copiate proaspăt din `_preLoad/ld-target/Standalone/`
|
||||
- **F8 curat**: Toate erorile `No such export` rezolvate
|
||||
|
||||
**Fișiere modificate:**
|
||||
| Acțiune | Fișier |
|
||||
|---------|--------|
|
||||
| 🔄 REDENUMIT | `rv-target/` → `qb-target/` (folder rename) |
|
||||
| ✏️ MOD | `qb-target/fxmanifest.lua` — name='qb-target', provide 'qtarget' |
|
||||
| ✏️ MOD | `qb-target/init.lua` — Config.Peds = {} |
|
||||
| ✏️ MOD | `qb-target/client.lua` — DrawSprite RGB(92,151,247) albastru |
|
||||
| ✏️ MOD | `qb-target/html/style.css` — #00F8B9 → #5c97f7 |
|
||||
| ✏️ MOD | `qb-target/html/interaction.css` — #00F8B9 → #5c97f7 |
|
||||
| ✏️ MOD | `qb-target/html/script.js` — #00F8B9 → #5c97f7 |
|
||||
| ✏️ MOD | `qb-target/html/index.html` — #00F8B9 → #5c97f7 |
|
||||
|
||||
---
|
||||
|
||||
## 2026-04-03 — Stabilizare Post-Migrare Quasar Inventory + Notify Centralizat
|
||||
|
||||
### 🔧 Fix: qb-core Post-Update Recovery (Quasar fork a suprascris custom changes)
|
||||
@@ -20,6 +55,15 @@ git tkn: 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
|
||||
- ✏️ `resources/[framework]/[core]/qb-core/client/events.lua` — Override `QBCore:Notify` event → `exports['17mov_Hud']:ShowNotification()` (linia ~193)
|
||||
- **Efect:** TOATE resursele de pe server afișează notificări prin 17mov_Hud automat, fără modificări individuale
|
||||
|
||||
### 🎯 Suprimare DrawText [E] Global + qb-target Migration
|
||||
- ✏️ `resources/[framework]/[core]/qb-core/client/drawtext.lua` — **SUPRIMAT GLOBAL** — toate funcțiile DrawText/ChangeText/HideText/KeyPressed sunt no-ops. Resursele nu mai pot afișa prompt-uri [E]. Exporturile rămân funcționale (nu crashuiesc), dar nu fac nimic.
|
||||
- ✏️ `resources/[framework]/[addons]/[housing]/qs-housing/client/custom/framework/qb.lua` — DrawText3D/DrawText3Ds/DrawTextBoard suprimare condițională: când `Config.UseTarget = true`, funcțiile devin no-ops (elimină textele [E] din codul encrypted)
|
||||
- ✏️ `resources/[framework]/[addons]/[housing]/qs-housing/client/custom/target/qb-target.lua` — Adăugat BoxZone qb-target pe NPC-ul Real Estate + floating text "Agent Imobiliar" deasupra capului (utilizează native GTA, nu DrawText3D suprimat)
|
||||
- **Efect:** Prompt-urile [E] au dispărut de pe tot serverul. Interacțiunile se fac prin qb-target (dot/eye target). Resursele cu `Config.UseTarget` rămân de setat individual pe `true` pe rând.
|
||||
|
||||
### ⏰ Time Freeze la 14:00
|
||||
- ✏️ `resources/[framework]/[addons]/qb-weathersync/config.lua` — `Config.BaseTime = 14`, `Config.FreezeTime = true` (server locked la 14:00)
|
||||
|
||||
### 📋 Workflow & Rulebook Updates
|
||||
- ✏️ `.agents/workflows/rulebook.md` — Regula 5 rescrisă complet: workflow obligatoriu `/resource-update`, qb-core checklist cu 7 puncte
|
||||
- 🆕 `.agents/workflows/resource-update.md` — Workflow nou: git diff înainte/după, cross_resource_modifications.md check, post-update verificare
|
||||
@@ -43,6 +87,10 @@ git tkn: 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
|
||||
| 🆕 NOU | `.agents/workflows/resource-update.md` |
|
||||
| ✏️ MOD | `.agents/workflows/rulebook.md` — regula 5 extinsă |
|
||||
| ✏️ MOD | `cross_resource_modifications.md` — 7 puncte checklist qb-core |
|
||||
| ✏️ SUPRIMAT | `qb-core/client/drawtext.lua` — DrawText/HideText no-ops global |
|
||||
| ✏️ MOD | `qs-housing/client/custom/framework/qb.lua` — DrawText3D no-op când UseTarget=true |
|
||||
| ✏️ MOD | `qs-housing/client/custom/target/qb-target.lua` — +NPC Real Estate target + floating text |
|
||||
| ✏️ MOD | `qb-weathersync/config.lua` — time freeze 14:00 |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user