Raised This Month: $ Target: $400
 0% 

Admin logging


Post New Thread Reply   
 
Thread Tools Display Modes
TheHardstyleBro
Senior Member
Join Date: Jun 2012
Location: Netherlands
Old 08-29-2012 , 05:15   Re: Admin logging
Reply With Quote #61

Quote:
Originally Posted by gH0sTy View Post
You're probably using an outdated version as line 25 checks if the client is > 0 before attempting to get the admin ID.


Incorrect, read above.



Try the attached version, it will create a sm_admin_logging.cfg file where you can set the flag(s) you want to log.
Thank you, works perfectly
__________________
TheHardstyleBro is offline
Pixeli
Member
Join Date: Aug 2012
Old 08-29-2012 , 09:27   Re: Admin logging
Reply With Quote #62

Quote:
Originally Posted by gH0sTy View Post
You're probably using an outdated version as line 25 checks if the client is > 0 before attempting to get the admin ID.


Incorrect, read above.



Try the attached version, it will create a sm_admin_logging.cfg file where you can set the flag(s) you want to log.
THC_RPG Plugin q flag dosen't write anything into log like if you giving levels or credits or xp its not save into admin logs.

Last edited by Pixeli; 08-29-2012 at 09:31.
Pixeli is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-29-2012 , 19:41   Re: Admin logging
Reply With Quote #63

Quote:
Originally Posted by gH0sTy View Post

Try the attached version, it will create a sm_admin_logging.cfg file where you can set the flag(s) you want to log.
Well let me ask you this.... if you assign say "o" flags - and we know admins have access to all flags will it still pick up on Admins whom will also have this flag and if so can you set it to exclude them from getting logged?

Edit: yeah apparently it will still pick up on anyone with o flag - so looks like it would require an exception cvar.

Last edited by Horsedick; 08-29-2012 at 19:50.
Horsedick is offline
Pixeli
Member
Join Date: Aug 2012
Old 09-04-2012 , 11:52   Re: Admin logging
Reply With Quote #64

someone can edit this https://forums.alliedmods.net/attach...7&d=1346228074 and add i can see logs of thc rpg admin commands like admin giving to another guy levels,credits or xp.
Pixeli is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 09-04-2012 , 21:34   Re: Admin logging
Reply With Quote #65

Does this work for CSGO?
\
Cain is offline
Jumpman
Senior Member
Join Date: Mar 2010
Location: Denmark
Old 09-05-2012 , 05:21   Re: Admin logging
Reply With Quote #66

Quote:
Originally Posted by gH0sTy View Post
Try the attached version, it will create a sm_admin_logging.cfg file where you can set the flag(s) you want to log.
I use this version, but still get this error message

L 09/03/2012 - 20:11:05: SourceMod error session started
L 09/03/2012 - 20:11:05: Info (map "gg_beacn_redux") (file "errors_20120903.log")
L 09/03/2012 - 20:11:05: [SM] Native "GetUserAdmin" reported: Client 7 is not connected
L 09/03/2012 - 20:11:05: [SM] Displaying call stack trace for plugin "admin_logging_custom.smx":
L 09/03/2012 - 20:11:05: [SM] [0] Line 36, C:\Users\Administrator\Desktop\GunGame Server\addons\sourcemod\scripting\admin_loggi ng_custom.sp::OnLogAction()
L 09/03/2012 - 20:20:04: Error log file session closed.
Jumpman is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 09-08-2012 , 11:15   Re: Admin logging
Reply With Quote #67

Is it possible to edit this plugin so it'd work with Groups?

Last edited by GrO; 09-08-2012 at 19:37.
GrO is offline
Pixeli
Member
Join Date: Aug 2012
Old 09-13-2012 , 10:18   Re: Admin logging
Reply With Quote #68

Quote:
Originally Posted by GrO View Post
Is it possible to edit this plugin so it'd work with Groups?
I have same question Is it possible to add q flag for thc_rpg plugin, that mean't you get admin logging when someone give to another players levels,credits,xp or giving itself.
Pixeli is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 09-13-2012 , 10:28   Re: Admin logging
Reply With Quote #69

Quote:
Originally Posted by Pixeli View Post
I have same question Is it possible to add q flag for thc_rpg plugin, that mean't you get admin logging when someone give to another players levels,credits,xp or giving itself.
you can add a flag in overrides and this will pick it up - only big issue is being able to white list steam id's if they fall within a logged flag as it wouldn't be needed. This plugin has so much potential its just not all that great as of now.
Horsedick is offline
Pixeli
Member
Join Date: Aug 2012
Old 09-13-2012 , 23:15   Re: Admin logging
Reply With Quote #70

Quote:
Originally Posted by Horsedick View Post
you can add a flag in overrides and this will pick it up - only big issue is being able to white list steam id's if they fall within a logged flag as it wouldn't be needed. This plugin has so much potential its just not all that great as of now.
Like This?

Code:
Overrides
{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */


"thc_rpg_level" "q" //THC_RPG Levels
}
Pixeli is offline
Reply



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 10:19.


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