Raised This Month: $ Target: $400
 0% 

F4RR3LLs Auto Demo Recorder


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 04-06-2009 , 17:05   F4RR3LLs Auto Demo Recorder
Reply With Quote #1

F4RR3LLs Auto Demo Recorder

author: F4RR3LL
version 2.1


Description:
Plugin writes POV demos on players.

It is created for:
  • Let's admit that the player banned for WallHack. The player goes on a forum of a server with the complaint that it banned it is not fair. The main administration can demand from it POV demo to reconsider game of the player, and to make the final decision - whether awakes unban, or not. If the player does not give demo, according to its chances on unban become less.
Commands:
  • say /autorec
  • say_team /autorec
    • To show MOTD (autorecinfo.txt), for viewing of the information on a plugin
    • File autorecinfo.txt should lie in a folder cstrike
    • Contents autorecinfo.txt edit under itself ;)
Cvars:
  • adr_cvar1 "180"
    • time in seconds, through how many will begin to recording demo
  • adr_cvar2 "DarkTower.su"
    • "prefix" demo. can write the name of the project ;)
  • adr_cvar3 "300"
    • how many seconds in a chat awake everyone to appear plugin advertising
  • ard_cvar4 "1|0"
    • 1 - on , 0 - off menu
    • whether to include the menu with a question to the player, whether he resolves record demo on the computer.
    • if the player presses "Yes", at it record demo at once will go
      • if will press "No" it awakes kicked

Demo name:
format:
Code:
prefix_HOSTNAME_NICKNAME_IP_MAP_DATE_TIME_MD5-hash
example:
Code:
DarkTower_TEST-SERVER_F4RR3LL_127.0.0.1_de_dust2_00-05-06_07-04-2009_MD5-d41d8cd98f00b204e9800998ecf8427e.dem

Logs are written so:

\addons\amxmodx\logs\recorded_demos

in a folder recorded_demos awakes to be created every day new log with the name in a format day-month-year

The message added in log:
Code:
[Player: F4RR3LL][SteamID: STEAM_0:1:19727892 - IP: 127.0.0.1] [Demoname: DarkTower_TEST-SERVER_Marsipan!_127.0.0.1_de_dust2_00-05-06_07-04-2009_MD5-d41d8cd98f00b204e9800998ecf8427e.dem]
When the player has pressed "No", in log it is added!
Code:
[Player: F4RR3LL][SteamID: STEAM_0:1:19727892 - IP: 127.0.0.1] [Demoname: Player was kicked]


Changelog:
Code:
2.1 - Optimization

PS.

This plugin not such as http://www.amxmodx.org/compiler.php?...hor=&go=search , my is more functional.

Excuse for bad English.
Attached Files
File Type: txt autorecinfo.txt (782 Bytes, 490 views)
File Type: sma Get Plugin or Get Source (auto_demo_recorder.sma - 1631 views - 7.3 KB)
__________________


Last edited by F4RR3LL; 04-06-2009 at 18:55.
F4RR3LL is offline
Old 04-06-2009, 17:06
fezh
This message has been deleted by fezh. Reason: >.>
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-06-2009 , 17:33   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #3

Use pcvars

Use formatex where possible
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 04-06-2009 , 17:45   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
Use pcvars
Any metamod are not supported pcvars. It is checked up personally, there were errors with "get_pcvar _"
metamod-p how much i remember..
Quote:
Use formatex where possible
whether the big differences between format and formatex?
__________________

F4RR3LL is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-06-2009 , 17:51   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #5

Quote:
Originally Posted by F4RR3LL View Post
Any metamod are not supported pcvars. It is checked up personally, there were errors with "get_pcvar _"
metamod-p how much i remember..
Use pcvars, it is a requirement. There are no errors with them.

Quote:
whether the big differences between format and formatex?
Quote:
Same as format(), except does not perform a "copy back" check.
This means formatex() is faster, but DOES NOT ALLOW this type of call:
formatex(buffer, len, "%s", buffer)
formatex(buffer, len, buffer, buffer)
formatex(buffer, len, "%s", buffer[5])
This is because the output is directly stored into "buffer", rather than copied back at the end.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 04-06-2009 , 18:01   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
Use pcvars, it is a requirement. There are no errors with them.
hehe..
Quote:
Originally Posted by Emilioneri View Post
okno.txt (782 Bytes, 0 views)

What is "okno"
okno = window
__________________

F4RR3LL is offline
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 04-06-2009 , 17:59   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #7

okno.txt (782 Bytes, 0 views)

What is "okno"
Emilioneri is offline
Send a message via Skype™ to Emilioneri
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-06-2009 , 18:04   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #8

Modification != All
__________________
fysiks is offline
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 04-06-2009 , 18:08   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #9

"okno" is a Russian word. As I know everything here must be in english.
Emilioneri is offline
Send a message via Skype™ to Emilioneri
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 04-06-2009 , 18:12   Re: F4RR3LLs Auto Demo Recorder
Reply With Quote #10

update
__________________

F4RR3LL 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 15:08.


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