Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
jazyxtc
BANNED
Join Date: Feb 2012
Location: Latvia
Old 04-14-2012 , 15:43   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #111

INCORRECT // This looks like google translate
Code:
[lv]
RECORDINGIN = Demo paslaik sak rakstities jusu cstrike mape ar nosaukumu
RECORDINGAT = Demo rakstisana ir sakusies %s
CORRECT
Code:
[lv]
RECORDINGIN = Demo tiek ierakstits tava cstrike mape
RECORDINGAT = Demo ierakstisana ir sakusies  %s
jazyxtc is offline
Send a message via Skype™ to jazyxtc
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 04-15-2012 , 17:03   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #112

I made custom version of plugin.
Demo recording for admins with defined flag is disabled by default.
By default it is flag ADMIN_LEVEL_G ('s' flag).
It is contolled by cvar 'amx_demo_disableforadmins'
Attached Files
File Type: sma Get Plugin or Get Source (amx_demorecorder.sma - 1006 views - 2.9 KB)

Last edited by isotonic; 04-15-2012 at 17:04.
isotonic is offline
Diva
Member
Join Date: Aug 2012
Location: Denmark
Old 11-12-2012 , 03:18   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #113

There is a bug when it starts recording, the language file doesnt work properly =(.
i just get this message:

[AMXX] ML_NOTFOUND: RECORDINGIN "[Zombie_Plague#1]_sphere_activeboard_com.dem"
[AMXX] ML_NOTFOUND: RECORDING

EDIT:
ahh i found out now, server restart did it all, not just changing map P

Last edited by Diva; 11-12-2012 at 03:47.
Diva is offline
aivarasx987
New Member
Join Date: Dec 2012
Old 12-06-2012 , 14:08   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #114

Unknown command: amx_demo
Help!
aivarasx987 is offline
cshaskovo
New Member
Join Date: Dec 2010
Old 01-16-2013 , 09:07   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #115

Can you ladies do is color???

Quote:
/****************************************/
/* */
/* Auto Demo Recorder */
/* by IzI */
/* */
/****************************************/

#include <amxmodx>
#pragma semicolon 1

new g_Toggle, g_DMod, g_UseNI, g_RStartAfter, g_DemoName, g_DemoNamePrefix;

public plugin_init() {
register_plugin( "Auto Demo Recorder", "1.5", "IzI" );
g_Toggle = register_cvar( "amx_demo", "1" );
g_DMod = register_cvar( "amx_demo_mode", "0" );
g_UseNI = register_cvar( "amx_demo_steamid", "0" );
g_RStartAfter = register_cvar( "amx_demo_rectime", "15" ); // If it is less than 5, it will automatically set to 5, but willn't apply the changes to the console. I recoment to use default settings.
g_DemoName = register_cvar( "amx_demo_name", "CS-HASKOVO.INFO#Dust2 Only" );
g_DemoNamePrefix = register_cvar( "amx_demo_prefix", "^x03" );
register_dictionary( "demorecorder.txt" );
}

public client_putinserver( id ) {
if( get_pcvar_num( g_Toggle ) ) {
new Float:delay = get_pcvar_float( g_RStartAfter );
if( delay < 5 )
set_pcvar_float( g_RStartAfter, ( delay = 5.0 ) );
set_task( delay, "Record", id );
}
}

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 szSName[128], szINamePrefix[64], szTimedata[9];
new iUseIN = get_pcvar_num( g_UseNI );
new iDMod = get_pcvar_num( g_DMod );
get_pcvar_string( g_DemoNamePrefix, szINamePrefix, 63 );
get_time ( "%H:%M:%S", szTimedata, 8 );

switch( iDMod ) {
case 0: get_pcvar_string( g_DemoName, szSName, 127 );
case 1: get_user_ip( 0, szSName, 127, 0 );
case 2: get_user_name( 0, szSName, 127 );
}

if( iUseIN ) {
new szCID[32];
get_user_authid( id, szCID, 31 );
format( szSName, 127, "[%s]%s", szCID, szSName );
}

// Replacing signs.
replace_all( szSName, 127, ":", "_" );
replace_all( szSName, 127, ".", "_" );
replace_all( szSName, 127, "*", "_" );
replace_all( szSName, 127, "/", "_" );
replace_all( szSName, 127, "|", "_" );
replace_all( szSName, 127, "\", "_" );
replace_all( szSName, 127, "?", "_" );
replace_all( szSName, 127, ">", "_" );
replace_all( szSName, 127, "<", "_" );
replace_all( szSName, 127, " ", "_" );

// Displaying messages.
client_cmd( id, "stop; record ^"%s^"", szSName );
client_print( id, print_chat, "[%s] %L ^"%s.dem^"", szINamePrefix, LANG_PLAYER, "RECORDINGIN", szSName );
client_print( id, print_chat, "[%s] %L", szINamePrefix, LANG_PLAYER, "RECORDINGAT", szTimedata );
}

Last edited by cshaskovo; 01-16-2013 at 09:08.
cshaskovo is offline
Send a message via Skype™ to cshaskovo
FearyDust
Member
Join Date: Aug 2012
Old 04-21-2013 , 19:12   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #116

Give me example what this cvar does. I don't undarstand it ?
"Turns on/off client SteamID before demoname in messages and demofile."
FearyDust is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 04-22-2013 , 10:08   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #117

See in action ;)
Attached Thumbnails
Click image for larger version

Name:	autodemorecorder.jpg
Views:	334
Size:	68.7 KB
ID:	118884  
__________________

Last edited by isotonic; 04-22-2013 at 10:08.
isotonic is offline
sandro
Senior Member
Join Date: Mar 2013
Old 05-24-2013 , 17:41   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #118

Using This Plugin,Good Job
sandro is offline
oldtype
Member
Join Date: Jul 2013
Old 11-18-2013 , 00:27   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #119

Hello, i have messages interfearing with each other. I've set my demorecorder plugin to start to record the demo 5 seconds after connect and at the same time the information message appears. Can anyone deley the message with 5 seconds, so that the statsx_shell's message can appear and remove it self, otherwise this plugin kills it in the middle.. ? If anyone can fix it, please use this SMA:
Attached Files
File Type: sma Get Plugin or Get Source (amx_demorecorder.sma - 709 views - 2.5 KB)
oldtype is offline
oldtype
Member
Join Date: Jul 2013
Old 12-04-2013 , 00:55   Re: Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #120

Quote:
Originally Posted by oldtype View Post
Hello, i have messages interfearing with each other. I've set my demorecorder plugin to start to record the demo 5 seconds after connect and at the same time the information message appears. Can anyone deley the message with 5 seconds, so that the statsx_shell's message can appear and remove it self, otherwise this plugin kills it in the middle.. ? If anyone can fix it, please use this SMA:

BUMP, or some other solution.. to the problem, instead of moving the message forward ?

Last edited by oldtype; 12-04-2013 at 00:56.
oldtype 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:03.


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