Raised This Month: $7 Target: $400
 1% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Exolent[jNr] (178)
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 02-28-2009 , 04:53   Auto Demo Recorder v1.5 [08/06/2009]
Reply With Quote #1

Auto Demo Recorder

.: Description :.

Have you ever seen, how banned players complained on the admins on the forums and couldn't prove without a recorded demo, that they are not cheaters? This plugin will help players, who played on server(hltv off) and hasn't recorded demo before they have been banned and admins to correctly consider an application for unban. It will automatically start to record a demo to player's cstrike folder after he will connect to the server. I hope it will be really usefull.

.: CVars :.

Turns on/off the plugin.
amx_demo "1/0"
<default: "1">

Swithes between demo modes (0/1/2).
"0" - Demoname determinеs by an amx_demoname CVar.
"1" - Demoname will be a server's IP with Port (amx_demo_name CVar is ignored).
"2" - Demoname will be the hostname (amx_demo_name CVar is also ignored).

amx_demo_mode "0/1/2"
<default: "0">

Turns on/off client SteamID before demoname in messages and demofile.
amx_demo_steamid "1/0"
<default: "0">

Time before demo recording starts in seconds.
(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)

amx_demo_rectime "15"

The name of your demo what will be saved in client's cstrike folder.
amx_demo_name "Autorecorded demo"


The prefix that will be displayed before messages when amx_demo_rectime have passed.
amx_demo_prefix "AMXX"





.: Translations :.
PHP Code:
[en] - by Jay-izi
[nl] - by crazyeffect
[sv] - by DarkGod
[ru] - by Jay-izi
[de] - by master4life
[es] - by ILUSION
[pl] - by FakeNick
[ro] - by tuty
[lt] - by hleV
[pt] - by NGage70
[cz] - by jab
[sr] - RepeR.
[
bg] - dark_style
[lv] - Rels*
[
tr] - xD_1991 
.: Changelog :.
Code:
1.5:
-Fixed a bug when amx_demo_steamid was 1.
-Added new cvar amx_demo_prefix.
-A few code optimizations and corrections.
-Updated ML.

1.4: 
-Plugin optimization and code corrections. Thanks to Exolent.

1.3: 
-Small fixes in plugin and ML file.
-Renamed CVar(I hope, it will be the last time ^^).
-iSName massive changed to 32.
-If amx_demo_rectime is less than 5, it will automatically set to 5, but willn't apply the changes to the console.

1.2: 
-Added demo modes (Thanks for suggetions).
-Used SWITCH instead of IF statements.
-Renamed amx_demorec_start CVar.
-Added replacing signs and other minor fixes.

1.1: 
-Added client SteamID in messeges before demoname if amx_demo_steamid is "1" (Using _ instead of : ).
-Renamed some variables and CVars. 
-Added and edited translations.

1.0: 
-Initial release.
.: ToDo List:.
Any suggetions?
Attached Files
File Type: sma Get Plugin or Get Source (amx_demorecorder.sma - 38570 views - 2.5 KB)
File Type: txt demorecorder.txt (1.7 KB, 20810 views)
__________________


Last edited by Jay-izi; 07-07-2010 at 19:01.
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
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 02-28-2009 , 04:55   Re: Auto Demo Recorder
Reply With Quote #2

I don't know if anybody else has writen this plugin... I seached and didn't find. Then I desided to write and put it here.
__________________


Last edited by Jay-izi; 06-09-2009 at 19:31.
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
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-28-2009 , 05:10   Re: Auto Demo Recorder
Reply With Quote #3

LQL my posts style ftl, gj
__________________
xPaw is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 02-28-2009 , 05:15   Re: Auto Demo Recorder
Reply With Quote #4

xPaw haha, lol i know =))
__________________


Last edited by Jay-izi; 03-03-2009 at 18:34.
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
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-28-2009 , 05:24   Re: Auto Demo Recorder
Reply With Quote #5

Dutch translation:

Quote:
[nl]
RECORDINGIN = We zijn nu een demo aan het opnemen in je cstrike map %s.
RECORDINGAT = Demo oponemen is begonnen op %s
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 02-28-2009 , 05:25   Re: Auto Demo Recorder
Reply With Quote #6

Thanks for Plugin GJ

here has you German translat
Quote:
[de]
RECORDINGIN = Wir sind jetzt beim Aufnehmen bei deinem cstrike ordner: %s.dem
RECORDINGAT = Demo aufnahme hat begonnen bei %s

Last edited by master4life; 02-28-2009 at 05:27.
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 02-28-2009 , 05:30   Re: Auto Demo Recorder
Reply With Quote #7

Translations updated. Thx
__________________

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
Pamaliska
Senior Member
Join Date: Apr 2006
Location: Edinburgh, UK
Old 02-28-2009 , 05:49   Re: Auto Demo Recorder
Reply With Quote #8

If the record name static, does the already recorded demo gets overwritten when I connect next time? Since I would already have a demo named "Autorecorded demo".
Pamaliska is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-28-2009 , 05:54   Re: Auto Demo Recorder
Reply With Quote #9

Quote:
Originally Posted by Pamaliska View Post
If the record name static, does the already recorded demo gets overwritten when I connect next time? Since I would already have a demo named "Autorecorded demo".
Yes (tested on DOD)
__________________
fysiks is offline
Jay-izi
Senior Member
Join Date: Mar 2008
Location: Estonia Tallinn
Old 02-28-2009 , 05:59   Re: Auto Demo Recorder
Reply With Quote #10

Pamaliska, yes, next time demo will be overwritten, becouse admins need only demo before player has been banned and players will not want to spend ~1gb only for auto recorded demos in cstrike folder. I think, if you have 2 or more servers, you need to set for each server own demoname like "Public Autorecorded demo", "War3 Autorecorded demo" and ect.
__________________


Last edited by Jay-izi; 02-28-2009 at 06:01.
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
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 23:58.


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