- 20
- 24
- Версия SA-MP
-
- 0.3.7 (R1)
- 0.3.7-R3
- Любая
Logs every line that appears in the SA-MP chat and lets you browse, search, and copy it from a clean ImGui window — including local messages added by other scripts and plugins, not just server messages.
The hook attaches directly to CChat::RenderEntry inside samp.dll so it catches everything that actually gets rendered on screen: server messages, chat messages, system messages from scripts, colored lines from plugins, all of it. On versions where the hook isn't available it falls back gracefully to samp.events + a chat buffer poll, so it still works, just without the render-level capture.
Usage
/cdlog — opens and closes the window.
Features
Compatibility
Works on SA-MP R1 and R3 with the full render hook. On any other version the hook step is skipped and a message is shown in chat — logging still works through events and buffer polling.
Update 1.1
If you have ideas for improvements or run into issues on a specific server setup, I'm open to feedback.
Added a full Dialog Log tab alongside the existing chat log. Every dialog the server sends is captured automatically — title, style, and body text — server-side only, player responses are never stored.
Dialogs get their own session system under moonloader\config\dialoglogs\N\, completely separate from the chat sessions. Each session folder contains raw.log (color tags preserved) and clean.log (plain text), created only when the first dialog actually arrives — empty sessions are never written to disk.
The dialog viewer works the same way as the chat tab: scrollable, searchable, full text selection, Ctrl+C to copy. Multi-line dialog bodies (LIST, TABLIST) display as separate lines just like they appear in-game.
Also fixed in this update:
- Color pipeline corrected for sampGetChatString and samp.events.onServerMessage — both use RGBA (R in high byte), not ARGB. This was causing red and blue channels to be swapped on every non-hook message, which is what @kyrtion flagged, btw TYSM!
- Alpha=0x00 from SA:MP is now treated as fully opaque (255) before passing to ImGui, fixing invisible/black text
- LuaJIT signed int32 overflow on color values above 0x7FFFFFFF is now handled correctly
Command changed to /cdlog.
Update 1.2
Fix:
Author: Niourozi
The hook attaches directly to CChat::RenderEntry inside samp.dll so it catches everything that actually gets rendered on screen: server messages, chat messages, system messages from scripts, colored lines from plugins, all of it. On versions where the hook isn't available it falls back gracefully to samp.events + a chat buffer poll, so it still works, just without the render-level capture.
Usage
/cdlog — opens and closes the window.
Features
- Captures all chat lines including those injected by local scripts and plugins, not just what samp.events sees
- Full text selection with mouse drag — click and drag across any line or across multiple lines, just like a text editor. Ctrl+C copies the current selection to clipboard
- Real-time filter bar — type anything and the log instantly narrows down to matching lines
- Sessions: each game session gets its own folder under moonloader\config\chatlogs, with raw.log (color tags included) and clean.log (plain text), plus a meta.txt with server name, player name, start and end time
- Session browser on the right panel — switch between past sessions and inspect their info without leaving the window
- If a session was interrupted (game crash, etc.) it resumes into the same session on next launch instead of creating a new one
- Black minimal theme, animated background particles, Font Awesome icons
Compatibility
Works on SA-MP R1 and R3 with the full render hook. On any other version the hook step is skipped and a message is shown in chat — logging still works through events and buffer polling.
Update 1.1
If you have ideas for improvements or run into issues on a specific server setup, I'm open to feedback.
Added a full Dialog Log tab alongside the existing chat log. Every dialog the server sends is captured automatically — title, style, and body text — server-side only, player responses are never stored.
Dialogs get their own session system under moonloader\config\dialoglogs\N\, completely separate from the chat sessions. Each session folder contains raw.log (color tags preserved) and clean.log (plain text), created only when the first dialog actually arrives — empty sessions are never written to disk.
The dialog viewer works the same way as the chat tab: scrollable, searchable, full text selection, Ctrl+C to copy. Multi-line dialog bodies (LIST, TABLIST) display as separate lines just like they appear in-game.
Also fixed in this update:
- Color pipeline corrected for sampGetChatString and samp.events.onServerMessage — both use RGBA (R in high byte), not ARGB. This was causing red and blue channels to be swapped on every non-hook message, which is what @kyrtion flagged, btw TYSM!
- Alpha=0x00 from SA:MP is now treated as fully opaque (255) before passing to ImGui, fixing invisible/black text
- LuaJIT signed int32 overflow on color values above 0x7FFFFFFF is now handled correctly
Command changed to /cdlog.
Update 1.2
Fix:
Author: Niourozi
Вложения
Последнее редактирование: