ViperZ8 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

Chat commands doesn't appear in FAdmin logs #576

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the problem?
1) Chat commands (like /wanted) appears in logs, BUT as empty messages like:
04/10/11 17:51:35   XXX (STEAM_0:1:XXX) [all] 
* in ulx logs:
[17:51:35] Sanya_Zol ran say /unwanted sanya_zol on XXX
[17:51:35] (TEAM) XXX: 

2) If someone made (un)wanted, no one can see who did this. Message doesn't 
appears in console (or anywhere else), so, players can't review reason and who 
wanted if they doesn't seen the message

What steps will reproduce the problem?
make someone wanted then open last FAdmin log file

Do you have any errors? <...>
No

Are you using <...>?
DarkRP SVN 847 (latest)

Please provide any additional information below.
Other addons installed:
ULX 162 (latest), ULib 187 (latest)
Wire 2424 (latest), UWSVN 305 (latest)

Original issue reported on code.google.com by sanya....@gmail.com on 10 Apr 2011 at 12:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Open: gamemodes/darkrp/gamemode/main.lua

After line 458 add:
b:PrintMessage(HUD_PRINTCONSOLE, ply:Nick() .. " warranted " .. target:Nick() 
.. " Reason: " .. tostring(reason))

i'm sure you can figure out how to copy & paste that to make it log the rest of 
the wants/warrants/arrests.

~rokrox

Original comment by rokro...@gmail.com on 10 Apr 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Holy shit I figured this out JUST before the bug report!

Original comment by fpeijnen...@gmail.com on 10 Apr 2011 at 3:26