Raised This Month: $32 Target: $400
 8% 

Log Messages!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alexxxxxxxxx
Member
Join Date: Aug 2017
Old 11-27-2017 , 06:04   Log Messages!
Reply With Quote #1

why my server does not log amx messages

in my server.cfg
log on
mp_logdetail 0
mp_logmessages 1
Alexxxxxxxxx is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-27-2017 , 09:26   Re: Log Messages!
Reply With Quote #2

None of those have anything to do with AMX Mod X log messages. AMX Mod X logs are found in "<mod>\addons\amxmodx\logs".
__________________
fysiks is offline
Alexxxxxxxxx
Member
Join Date: Aug 2017
Old 11-27-2017 , 11:09   Re: Log Messages!
Reply With Quote #3

yes but why it does not log the messages

i have for example in my code

PHP Code:
log_to_file("Kick_Cmd.log""[ADMIN] %s: kick %s"g_playername[id], g_playername[player]) 
Alexxxxxxxxx is offline
Alexxxxxxxxx
Member
Join Date: Aug 2017
Old 11-27-2017 , 15:42   Re: Log Messages!
Reply With Quote #4

How can i enable it?
Alexxxxxxxxx is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-27-2017 , 22:41   Re: Log Messages!
Reply With Quote #5

Well, that's entirely different because those aren't AMX log messages. That would be custom log messages.

That command should create the file you specify. I'm not entirely sure which directory but I would guess it's either in the same directory as AMX log messages or in the root directory of your game (e.g. /cstrike/ or /dod/).
__________________
fysiks is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 11-30-2017 , 06:45   Re: Log Messages!
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Well, that's entirely different because those aren't AMX log messages. That would be custom log messages.

That command should create the file you specify. I'm not entirely sure which directory but I would guess it's either in the same directory as AMX log messages or in the root directory of your game (e.g. /cstrike/ or /dod/).
its in amxmodx/logs


@OP
if that doesn't work then check whether you have the necessary permissions to create files in the amxmodx/logs folder, this is not really "logging" as it is basically a stock that writes to a file and formats it nicely (adding some stuff like time and date to each new entry)

im saying that to clarify it has nothing to do with log cvars, those are for the standard log messages in amxmodx
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
Alexxxxxxxxx
Member
Join Date: Aug 2017
Old 12-05-2017 , 06:31   Re: Log Messages!
Reply With Quote #7

Yeah solved it was about the permissions
Alexxxxxxxxx is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode