Record Demo ClanMod style (V2.5)
2 Attachment(s)
Since beginning of my AMX/AMX X usage for me it was missing some item in frontmenu for recording a demo (like it was in old ClanMod by default).
The demo is created in this way - You need to choose from frontmenu (or by console command "amx_recorddemo") the item "Record Demo" (the item is added to the frontmenu automatically by the plugin). Then You will see the question "Record demo to" proposed file name: a) on listenserver - "PlayerName MapName NumberOfDemoAtThisMap.dem" - that number is increased everytime saving the demo file (ClanMod style) - for example: KWo de_dust2 9.dem b) on dedicated server - "PlayerName MapName MM-DD-YYYY HH_MM.dem" (there is a date and time instead number of demo for that map) - for example: KWo de_aztec 12-31-2006 01_11.dem Under the proposed file name You can see options - 1.yes and 2.not. If there is already started any demo recording by this menu You will see the new question "Stop demo recording?" 1. Yes. You can also start demo recording by say command - it's "say recdemo" (or "say_team recdemo"). This plugin makes also screenshot with scoreboard. For this - console command amx_screenshot or from frontmenu. You can also call this screenshot by say command - "say scr" (or "say_team scr"). The attachement contains the main recorddemo plugin and file with translations (currently available languages are: en, pl, fr). The idea of the plugin I've got from some KaszpiR's plugin, but he even doesn't remember where did he get it from. :) [EDIT] Changed "while (replace ...)" stuff by "replace_all" suggested by Emp`. Optimized a bit. [/EDIT] [EDIT2] Fixed problem with demo names recorded on dedicated servers. Updated the translation file with french texts - thanks to arkshine. [/EDIT2] [EDIT3] Added amx_chat at start and at end demo recording to show to all admins that this action with demo is happening, added "status" command at start demo recording (that thing with status works correctly on DS only). [/EDIT3] [EDIT4] Updated the lang (txt) file - added German (de) translation. [/EDIT] |
Re: Record Demo ClanMod style
pretty sweet man, btw u prob want to post the sma alone.
|
Re: Record Demo ClanMod style
instead of doing your while replace combo, do replace_all. also file_exists is for the server and not for clients.
Unapproval in 1 week. |
Re: Record Demo ClanMod style
If I remember good - the main goal was to store the demo file on the server (not on the client's PC). It increments the number of demo file created for the same file - so it works correctly - You can test it before unapproving. :P
About that replace_all - I'm not sure, but when the plugin was written there was probably not yet that function. I can change this, but If You are going to unapprove it anyway - it might be useless... ;) |
Re: Record Demo ClanMod style
He's telling you to do what he said OR else it will be unapproved. If you fix the small coding problem hell approve it (probabaly).
Any ways I like this , I think Ill try it out on my clans server gj :up: |
Re: Record Demo ClanMod style
Quote:
Also, please attach the source and lang files as seperate downloads rather than in the zip. |
Re: Record Demo ClanMod style (V2.3)
Updated.
BTW Hawk552 is using again the most beautiful avatar at this forum. I really like it. :) |
Re: Record Demo ClanMod style (V2.3)
Quote:
Anyway, I'd approve this but you're still using file_exists, but checking a client. I don't think there's any real way to check if a client has a particular file. You'll basically have to ask them if they want to record it even if they already have it. |
Re: Record Demo ClanMod style (V2.3)
Quote:
|
Re: Record Demo ClanMod style (V2.3)
Quote:
Either way, I'd like someone to come say it works before I approve it. |
All times are GMT -4. The time now is 09:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.