HLTV Autorecord
6 Attachment(s)
Description:
This is a simple and usefull plugin designed for servers, that want to use autorecording hltv, but dont want to have empty demos when there are no players (at night, for example). So, when hltv is connected, plugin will check minimal amount of players defined by the cvar and if it is not recording, it will start record. When the amount of players is lower than this cvar, hltv stops recording. You can also define the path, where the demo will be stored. Note: 1. If u have 2 or more HLTV in server, the only first connected will record. 2. To enable plugin without reading this flood about cvars just do: 2.1 Create cstrike/demos folder. 2.2 Find hltv.cfg and change adminpassword "hltvadminpass" 2.3 Add hltv_autorecord.amxx into cstrike/addons/configs/plugins.ini Cvars: autohltv_record 1 - enables autorecording autohltv_path "demos/HLTV" - it means, that you will have "cstrike/demos/HLTV-12389034.dem". If you want to put the demos into ctrike folder, just make this cvar empty. autohltv_ignorebots 1 - ignore bots as real players, it means that plugin will not count them at all (look next cvar). If you have bots, then change this cvar to 0 and change map on the server (or restart). autohltv_minplayers 2 - minimum number of players in game to start recording hltv autohltv_pass "hltvadminpass" - the pass to control hltv. Go to the hltv.cfg and find adminpassword there. Now you can change it to this or any other that you define by this cvar. autohltv_recording 1|0 - automatic cvar, dont touch it if you dont know what you do. You can use it in server monitoring to find whether hltv is recording or not. autohltv_time 0|1|2, 2 is default. 0 - no timer show as hudmessage. 1 - timer only for hltv. 2 - for all players. This may be usefull to set 2 for public servers, because it is not bad to know every second what the time is and you can use 1 for showing the time only for hltv, so you will see it in hltv demo and check the real time and match with time in your logs. autohltv_delay 30.0 - delay should be equal to delay in hltv.cfg (director.cfg) of HLTV-server configuration file. Required modules: <sockets> Credits: Infra Changelog: 1.7 - major update and added "autohltv_delay 30.0" cvar 1.6 - update of this plugin (final fix versus server crashing). 1.5 - Final fix versus server crash and added time showing feature for hltv or for all players set by default (configured by the cvar - read above). This will work as soon, as hltv is connected to server (so do not expect any if you dont have hltv) 1.3 - Fix versus server crashing (hope, the last one) 1.2 - Fix versus server crashing 1.1 - Fix versus server crash and added cvar for announcing, that hltv is recording. 1.0 - Initial release. p.s. For hltv correct storage, there is php script in russian language. To correctly split demo name, use the autohltv_path "demos/HLTV" or just "HLTV". Credits to One, Timmy and a little bit for me :) p.p.s Arch.php.gz is a crontab-usage php-script if you have hltv server and web-server on the same machine. It will automatically compress the demos into zip and put them from your hlds/cstrike/demos/server1 folder into /srv/http/demos/server1 (i mean, to your http path). Before using change the pathes inside the script. After it is ready, simply create a file, for example, "cron_demos" Code:
SHELL=/bin/bashCode:
crontab cron_demos |
Re: HLTV Autorecord
Nice!
|
Re: HLTV Autorecord
simple and usefull
|
For mother Russia
:up:good job, usefull
|
Re: HLTV Autorecord
I Like It,Good Job
|
Re: HLTV Autorecord
Thank you!
Было супер, если бы ещё имя демки содержало ВРЕМЯ начала записи. Заранее спасибо! If you can add TIMESTAMP in demoname, it will be wonderful! Thanks in advance! |
Re: HLTV Autorecord
GJ but i will never play on a war server with amxx.
|
Re: HLTV Autorecord
Quote:
|
Re: HLTV Autorecord
Quote:
Необъяснимое число 27 |
Re: HLTV Autorecord
Формат демки HLTV-годмесяцденьЧАСЫМИНУТЫ-карта.dem
Вот и получилось 2009.11.20 07:27 |
Re: HLTV Autorecord
HELLO????
EN PLEASE? |
Re: HLTV Autorecord
Спасибо за разъяснения.
Затупил. |
Re: HLTV Autorecord
I just explained for russians the format of autorecorded demo-file.
HLTV-year+month+day+hour+minute-map.dem |
Re: HLTV Autorecord
if you like, pm me & we do a php script for this. :D so that the demos can be downloaded from homepage too :P
|
Re: HLTV Autorecord
Плагин конечно супер, но было бы удобнее сразу сделать нормальный формат вывода даты. (ведь мы тоже не сразу поняли что и как)
Пример: HLTV-09.11.27_15.20.dem Уважаемый draft, не могли бы вы подсказать, что нужно для этого поправить в коде? |
Re: HLTV Autorecord
Quote:
p.s. форум потихоньку становиться русскоязычным xD |
Re: HLTV Autorecord
Действительно =( Очень жаль =(
|
Re: HLTV Autorecord
!"§$)!/$(/$§!="§/$%)!/"§$!$=/=)§/%$="&ääüüöäöüöäöäüpvагин тут ни при чём, в самом HLTV заложенк выводить дату
p.s. форзаложенк выводить дату p.s. фор поу стамом HLьку становирусскоязычным xD Spam thread? |
Re: HLTV Autorecord
nice plugin :D!!
|
Re: HLTV Autorecord
Сервер зависает.
Есть игровой сервер (только STEAM) под линухом, к нему цепляется HLTV с другого сервера из под Win2003 (характеристики серверов и точные версии ОСей, смогу привести позже). Подключение HLTV происходит нормально, то есть, его видно в спектаторах. Если количество игроков меньше, чем в кваре "autohltv_minplayers", то соответственно запись демки не начинается, и сервер вместе с HLTV продолжает работать нормально. Но если количество игроков больше, чем в кваре "autohltv_minplayers", то сервер HLDS вешается Что было испробовано: -менял metamod 1.19p и metamod 1.19 -использовал самые свежие .so-шки модуля Sockets Содержимое Plugins.ini ; AMX Mod X plugins ; Admin Base - Always one has to be activated ;admin.amxx ; admin base (required for any admin-related) admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server ;scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration restmenu.amxx ; restrict weapons menu pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here hltv_autorecord.amxx ; Автоматическая запись демо Содержимое modules.ini mysql ;sqlite ;fun ;engine ;fakemeta ;geoip sockets ;regex ;nvault ;hamsandwich В чём может быть причина? Куда копать? For English: I have some trouble with HLDS on Linux, and HLTV on Win2003. When autohltv_minplayers > X, HLDS is crashed... |
Re: HLTV Autorecord
Фикс выложен.
Fixed server crash, that happenes when server is changing map and after that is sending recording to hltv that is already recording. |
Re: HLTV Autorecord
Quote:
You can see, how they look, here: http://demo.overpro.ru/demos/pub/ |
Re: HLTV Autorecord
1) я так понимаю, что есть ещё некий скрипт, который забирает демку из директории cstrike, архивирует и кладёт в pub, можно его получить ? =)
2) если hltv сервер удалённый, можно как-либо указать ip/port ? спасибо за плагин, как раз такой ищу. |
Re: HLTV Autorecord
Quote:
the bigger first... the smaller last... also from big > small |
Re: HLTV Autorecord
Quote:
2) HLTV будет распознан автоматически, как только приконнектится. 3) Просьба придерживаться английского языка, а то нам скоро выдадут бан :) 2One, It would be great to sort the demos by their date of creation using the date/time in their automatically created by HLTV-engine name. |
Re: HLTV Autorecord
my script is on my root server and its down. ill pm you after i got my server on and post the script and a tut how users can change the root folder of apache.
|
Re: HLTV Autorecord
О великий русский народ! предлагаю общаться в пм)
One Waiting the script:crab: |
Re: HLTV Autorecord
Here is another fix against server crash
p.s. Hope, it is the last one |
Re: HLTV Autorecord
Why I get this on the server?
[IMG]http://img18.**************/img18/8539/saddd.jpg[/IMG] |
Re: HLTV Autorecord
You have to set up not player password, but adminpassword of your hltv (it is in hltv.cfg).
|
Re: HLTV Autorecord
2 Attachment(s)
|
Re: HLTV Autorecord
Quote:
I did, using a password and without password, and that I get :| |
Re: HLTV Autorecord
What im doing wrong?
http://demo.overpro.ru/demos/pub I mean, we wanted sort of demos by time of creation and i dont understand what is -d.57.23 e_:in p.s. 1.3 version is the fix against server crashes. Lets hope, it is really the last one. |
Re: HLTV Autorecord
see here :
PHP Code:
here i have before the date, 11 characters. you have your demos with the name : HLTV- so you have 5 characters before the date ( in this case 09 << 2009 ) so the only one thing what you have to do is to change this line to this here : Code:
$data[$count][jahr] = substr($file,5,2);im now editing the php code because its on german... you can download the new code again. |
Re: HLTV Autorecord
Can u explain what is
-d.57.23 e_:in |
Re: HLTV Autorecord
he forgot to change
$data[$count][jahr] = substr($file,11,2); he must add a 5 ass 11 |
Re: HLTV Autorecord
Simple to add, and really effectiv. Good Job!
+Karma! Edit: Where will the Demo upload? i mean where will it be saved? (which foulder and etc?) |
Re: HLTV Autorecord
good work man :)
|
Re: HLTV Autorecord
Major update :)
Fix + 2 impressive php scripts + hud-clock |
Re: HLTV Autorecord
Привет! У меня проблема( Я подключаю HLTV к серверу, всё работает хорошо, демо начинает записываться, но когда игроки уходят, запись не останавливается, а в консоли появляются ошибки:
Invalid rcon challenge from: xxx.xxx.xxx.xxx Invalid rcon challenge from: xxx.xxx.xxx.xxx И демо продолжает записываться, в чем может быть проблема? Greetings! At me a problem (I connect HLTV to a server, all works well, the demo starts to record but when players leave, record does not stop, and in the console there are errors: Invalid rcon challenge from: xxx.xxx.xxx.xxx Invalid rcon challenge from: xxx.xxx.xxx.xxx And the demo continues to record, in what there can be a problem? |
| All times are GMT -4. The time now is 10:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.