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

Auto Demo Recorder v1.5 [08/06/2009]


Post New Thread Reply   
 
Thread Tools Display Modes
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 03-03-2009 , 07:38   Re: Auto Demo Recorder v1.2 [02/03/2009]
Reply With Quote #31

Code:
[ru]
RECORDINGIN = Mi seichas zapisivaem v vashu cstike papku
RECORDINGAT = Zapis' demo bila nachata v %s
need

Quote:
[ru]
RECORDINGIN = Mi seichas zapisivaem v vashu cstrike papky
RECORDINGAT = Zapis' demo bila nachata v %s
hasta is offline
Send a message via ICQ to hasta
Glist3r
Senior Member
Join Date: Feb 2008
Old 03-03-2009 , 08:33   Re: Auto Demo Recorder v1.2 [02/03/2009]
Reply With Quote #32

Quote:
[ro]
RECORDINGIN = Inregistram un demo in folderul tau cstrike %s.dem
RECORDINGAT = Inregistrarea demo-ului a inceput la %s
Glist3r is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-03-2009 , 08:55   Re: Auto Demo Recorder v1.2 [02/03/2009]
Reply With Quote #33

PLUGIN UPDATED

Code:
1.3: 
-Small fixes in plugin and ML file.
-Renamed CVar (I hope, it will be the last time ^^).
-If amx_demo_rectime is less than 5, it will automatically set to 5, but willn't apply the changes to the console.
Glist3r, [RO] is already included in ML.

hasta, Ок, изменю, а то быстро писал и на ошибки в ML не проверял

PS. Sorry for the post's part in russian.
__________________


Last edited by Jay-izi; 03-03-2009 at 10:11.
Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
plasmo
Member
Join Date: Aug 2006
Location: Melbourne, Australia
Old 03-05-2009 , 22:08   Re: Auto Demo Recorder v1.3 [03/03/2009]
Reply With Quote #34

awesome plugin. i will definately use these for my servers when im running a tournament/competition
will come in handy when i suspect a cheater
plasmo is offline
Send a message via MSN to plasmo
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-06-2009 , 06:32   Re: Auto Demo Recorder v1.3 [03/03/2009]
Reply With Quote #35

i'm suggest to add stop command detector, and maybe like menu after connect

Code:
\yServer will record record demo on you.^n^n
\wDo you accept this?^n
\r1. \wYes.
\r2. \wNo, you will be kicked.
__________________

Last edited by xPaw; 03-24-2010 at 05:02.
xPaw is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 03-06-2009 , 07:13   Re: Auto Demo Recorder v1.3 [03/03/2009]
Reply With Quote #36

xPaw, the plugin idea isn't to ask clients permission to record demo, that's why it is called "Auto Demo Recorder". Also if client chooses "No" in menu, he will be kicked. Because of this I think that this menu is useless...

What will do auto stop command detector? Will it write servers log to dedect that client has stopped auto demo recording by himself before he was banned (If so, it will be reason for not unban player, when he will post an appeal for unban on the forums) or smth else?

Thx for your suggetions
__________________


Last edited by Jay-izi; 03-06-2009 at 07:16.
Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
Old 03-06-2009, 10:39
joaquimandrade
This message has been deleted by joaquimandrade.
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-29-2009 , 15:54   Re: Auto Demo Recorder v1.3 [03/03/2009]
Reply With Quote #37

1.
Code:
if(get_pcvar_float(g_RStartAfter) < 5)     set_pcvar_num(g_RStartAfter, 5); set_task(get_pcvar_float(g_RStartAfter), "Record", id);
Would be better to do:
Code:
new Float:delay = get_pcvar_float(g_RStartAfter); if(delay < 5)     set_pcvar_float(g_RStartAfter, (delay = 5.0)); set_task(delay, "Record", id);

2. Your Record(id) function could be improved a lot:
Code:
public Record(id) {     if(!is_user_connected(id) || get_pcvar_num(g_Toggle) != 1)         return;         // Getting time, client SteamID, server's name, server's ip with port.     new iSName[64], iTimedata[9];     new iUseIN = get_pcvar_num(g_UseNI);     new iDMod = get_pcvar_num(g_DMod);     switch(iDMod)     {         case 0: get_pcvar_string(g_DemoName, iSName, 63);         case 1: get_user_ip(0, iSName, 63, 0);         case 2: get_user_name(0, iSName, 63);     }     get_time("%H:%M:%S", iTimedata, 8);     if(iUseIN)     {         new iCID[32];         get_user_authid(id, iCID, 31);         format(iSName, 63, "[%s]%s", iCID, iSName);     }         // Replacing signs.     replace_all(iSName, 31, ":", "_");     replace_all(iSName, 31, ".", "_");     replace_all(iSName, 31, "*", "_");     replace_all(iSName, 31, "/", "_");     replace_all(iSName, 31, "|", "_");     replace_all(iSName, 31, "\", "_");     replace_all(iSName, 31, "?", "_");         // Displaying messages.     client_cmd(id, "stop; record ^"%s^"", iSName);     client_print(id, print_chat, "[AMXX] %L ^"%s.dem^"", LANG_PLAYER, "RECORDINGIN", iSName);     client_print(id, print_chat, "[AMXX] %L", LANG_PLAYER, "RECORDINGAT", iTimedata); }

Unapproved until changes have been made.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 04-01-2009 , 17:06   Re: Auto Demo Recorder v1.4 [03/03/2009]
Reply With Quote #38

Thank you very much Exolent!
I have included your changes, tested and updated the plugin.
By the way, "replace_all" must be before "if(iUseIN)" or you will receive native errors in console and if "amx_demo_steamid" is 1, plugin willn't work.
__________________

Jay-izi is offline
Send a message via ICQ to Jay-izi Send a message via MSN to Jay-izi Send a message via Skype™ to Jay-izi
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 04-06-2009 , 10:59   Re: Auto Demo Recorder v1.4 [01/04/2009]
Reply With Quote #39

another thing, i think you should disable users from using the stop command, so demo will only stop after disconnect, or after a certain amount of time(defineable by Cvar)
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-09-2009 , 07:19   Re: Auto Demo Recorder v1.4 [01/04/2009]
Reply With Quote #40

Code:
[lt]
RECORDINGIN = Mes dabar irasinejame i jusu cstrike aplanka
RECORDINGAT = Demo irasinejimas buvo pradetas %s
__________________
hleV 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 04:19.


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