Raised This Month: $12 Target: $400
 3% 

Amx Log Advanced v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 09-11-2010 , 06:24   Re: Amx Log Advanced v1.4
Reply With Quote #21

Quote:
Originally Posted by mrksmn View Post
Hi;
i put allchat plugin after amx_log_advenced plugin. But i still have the same problem.
i dont have problem when i remove amx_log_advenced plugin.
Wherry sorry. Forgot to remove debug. Remove this line, and recompile plugin:
Code:
client_print(id, print_chat, "%d", size)
Quote:
Originally Posted by mrksmn View Post
yes i mean that, i want different logs for each player.(sory for my poor english) like this:


--------------toxic.log--------------------

L 08/31/2010 - 21:030: [admin.amxx] connect: "toXic" (address "78.187.210.167")
L 08/31/2010 - 21:25:12: [admin.amxx] disconnect: "toXic" (address "78.187.210.167")

-------------------------------------------

becouse it is easy to find user logs. and connect-disconnect information is in the same log file.
How plugin should identify witch players should be logged. ini file witch their names or steamid?
Because log all players different logs in insane.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
mrksmn
Member
Join Date: Aug 2010
Old 09-11-2010 , 08:34   Re: Amx Log Advanced v1.4
Reply With Quote #22

Quote:
Originally Posted by aaarnas View Post
Wherry sorry. Forgot to remove debug. Remove this line, and recompile plugin:
Code:
client_print(id, print_chat, "%d", size)
its ok thanks =)

Quote:
Originally Posted by aaarnas View Post
How plugin should identify witch players should be logged. ini file witch their names or steamid?
Because log all players different logs in insane.
i need this. Becouse it is very hard to learn from 2 file: how much the players stay login in the server.
i want to learn how much stay login in the server userx. i will give admin password who stay more 3 hour per day in the server

Last edited by mrksmn; 09-11-2010 at 08:42.
mrksmn is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 09-11-2010 , 11:40   Re: Amx Log Advanced v1.4
Reply With Quote #23

regarding the command: amx_log_delete_days

how do you he never delete the logs?
<a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a><a href="http://www.csro.com.br">.</a>
__________________

Last edited by rx1983; 10-30-2010 at 09:40.
rx1983 is offline
Send a message via MSN to rx1983
mrksmn
Member
Join Date: Aug 2010
Old 09-13-2010 , 18:00   Re: Amx Log Advanced v1.4
Reply With Quote #24

Quote:
Originally Posted by aaarnas View Post
The total playing time no, but I could add playing time to disconnect log.
i need total playing time too
mrksmn is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 09-14-2010 , 13:20   Re: Amx Log Advanced v1.4
Reply With Quote #25

Quote:
Originally Posted by rx1983 View Post
regarding the command: amx_log_delete_days

how do you he never delete the logs?
amx_log_delete_days 0

Quote:
Originally Posted by mrksmn View Post
i need total playing time too
Will think about it.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 10-10-2010 , 10:43   Re: Amx Log Advanced v1.4
Reply With Quote #26

how to add admins incluisive chat?
example:
PHP Code:
    register_clcmd("say""cmdSayChat"ADMIN_CHAT"@[@|@|@][a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|x]<text> 
    register_clcmd("
say_team", "cmdSayAdmin", 0, "@<text
    
register_concmd("amx_say""cmdSay"ADMIN_CHAT"<message> 
    admin_chat_id = register_concmd("
amx_chat", "cmdChat"
    register_concmd("
amx_psay", "cmdPsay", ADMIN_CHAT, "
    
register_concmd("amx_tsay""cmdTsay"ADMIN_CHAT"
    register_concmd("
amx_csay", "cmdTsay", ADMIN_CHAT, " 
is it possible?
__________________
rx1983 is offline
Send a message via MSN to rx1983
csl
Member
Join Date: Apr 2009
Old 10-23-2010 , 18:29   Re: Amx Log Advanced v1.4
Reply With Quote #27

can you make it to save with .html extension ?
tks
csl is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 10-24-2010 , 17:14   Re: Amx Log Advanced v1.4
Reply With Quote #28

Quote:
Originally Posted by rx1983 View Post
how to add admins incluisive chat?
example:
PHP Code:
    register_clcmd("say""cmdSayChat"ADMIN_CHAT"@[@|@|@][a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|x]<text> 
    register_clcmd("
say_team", "cmdSayAdmin", 0, "@<text
    
register_concmd("amx_say""cmdSay"ADMIN_CHAT"<message> 
    admin_chat_id = register_concmd("
amx_chat", "cmdChat"
    register_concmd("
amx_psay", "cmdPsay", ADMIN_CHAT, "
    
register_concmd("amx_tsay""cmdTsay"ADMIN_CHAT"
    register_concmd("
amx_csay", "cmdTsay", ADMIN_CHAT, " 
is it possible?
Add these lines:
Code:
register_clcmd("amx_psay", "client_say")
register_clcmd("amx_tsay", "client_say")
...
Quote:
Originally Posted by csl View Post
can you make it to save with .html extension ?
tks
Change .txt extension to .html in .sma file and compile.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 10-26-2010 , 20:28   Re: Amx Log Advanced v1.4
Reply With Quote #29

failed
Code:
    register_clcmd("amx_say_team", "client_say")
    register_clcmd("amx_say", "client_say")
    register_clcmd("amx_chat", "client_say")
    register_clcmd("amx_psay", "client_say")
    register_clcmd("amx_tsay", "client_say")
    register_clcmd("amx_csay", "client_say")
failed
Code:
    register_concmd("amx_say_team", "client_say")
    register_concmd("amx_say", "client_say")
    register_concmd("amx_chat", "client_say")
    register_concmd("amx_psay", "client_say")
    register_concmd("amx_tsay", "client_say")
    register_concmd("amx_csay", "client_say")

failed
Code:
     register_concmd("amx_say_team", "cmdpsay")
     register_concmd("amx_say", "cmdpsay")
     register_concmd("amx_chat", "cmdpsay")
     register_concmd("amx_psay", "cmdpsay")
     register_concmd("amx_tsay", "cmdpsay")
     register_concmd("amx_csay", "cmdpsay")
failed
Code:
    register_clcmd("say_team", "client_say")
    register_clcmd("say", "client_say")
    register_clcmd("chat", "client_say")
    register_clcmd("psay", "client_say")
    register_clcmd("tsay", "client_say")
    register_clcmd("csay", "client_say")

I enter the server and typed text say @


PHP Code:
L 10/26/2010 20:22:13: [rxe_say30cores.amxxChat"RXE - Me$tre<15><STEAM_0:0:30662274><>" tsay "text"
L 10/26/2010 20:22:13"RXE - Me$tre<15><STEAM_0:0:30662274><>" triggered "amx_tsay" (text "text") (color "VERMELHO"

and the plugin does not write the text.

__________________
rx1983 is offline
Send a message via MSN to rx1983
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-05-2011 , 15:42   Re: Amx Log Advanced v1.4
Reply With Quote #30

Duplicated code (say and say_team), whole file reading each time a user uses say cmd (for dubbing checks), code that can be improved (open file with "at" is fine for both situations, hardcoded folders and hardcoded amxx log default folder, use of fputs instead of fprintf, and more.

Unapproved for now, feel free to PM me or another approver if you improve the code and if you want the plugin to be submitted again.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:57.


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