AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AMX Log v0.2.2 (https://forums.alliedmods.net/showthread.php?t=90391)

fezh 04-17-2009 16:20

AMX Log v0.2.2
 
1 Attachment(s)
.: Description :.
Using this plugin you can create a log with the selected user's information: Name, AuthID, IP, Frags / Deaths & Country. To read the created logs go to amxmodx\logs\ and open the file amx_log.

.: Command :.
amx_log <name or #userid> - Access Level: ADMIN_KICK

.: Changelog :.
Code:

v0.1 - First Release.
v0.1.1 - Plugin improved.
v0.2 - Minor update.
v0.2.1 - Fixed all non-working stuff. Added country support.
v0.2.2 - Added a console print for the admin who executed the command.

.: Download :.

DruGzOG 04-17-2009 16:25

Re: AMX Log v0.1
 
First!!!

Nice btw

AntiBots 04-17-2009 16:36

Re: AMX Log v0.1
 
also you can add, country to :D

Nextra 04-17-2009 17:15

Re: AMX Log v0.1
 
Nice. The code is fine so far but there's one thing I'd like to point out:

When you are using Hungarian Notation you should keep with it's "standards". Currently all your variables begin with an "sz" which normally should be used for zero-terminated strings.
Deaths, Frags and the Target, however, are integers and should start with an "i". iDeaths, iFrags and iTarget.

fezh 04-17-2009 17:41

Re: AMX Log v0.1.1
 
Plugin updated, thanks Nextra!

Nextra 04-17-2009 17:52

Re: AMX Log v0.1.1
 
When I'm looking over it again, you should really increase the szLogData array. A size of 100 won't be enough with a long username.

fezh 04-17-2009 21:37

Re: AMX Log v0.2.1
 
Plugin updated again, thanks Starsailor!
Also, added country support, using geoip.

PsYChOPaTiQuE 04-17-2009 21:50

Re: AMX Log v0.2.1
 
nice!
+Karma

alan_el_more 04-18-2009 10:30

Re: AMX Log v0.2.1
 
Pretty Good fezh :D

AntiBots 04-18-2009 12:58

Re: AMX Log v0.2.1
 
a suggestion, You can add console_print so I can know the information.


All times are GMT -4. The time now is 11:18.

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