View Single Post
Plugin Info:     Modification:          Category:          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 - 38582 views - 2.5 KB)
File Type: txt demorecorder.txt (1.7 KB, 20821 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