Jump to content
Come try out the Arcade, Link at the top of the website ×

Recommended Posts


  • Member ID:  561
  • Group:  ++++ Senior Admin
  • Followers:  85
  • Topic Count:  502
  • Topics Per Day:  0.09
  • Content Count:  5336
  • Content Per Day:  0.94
  • Reputation:   4612
  • Achievement Points:  41356
  • Solved Content:  0
  • Days Won:  29
  • Joined:  10/14/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/06/1992
  • Device:  Windows

Posted

I am looking for anyone who would be interested in writing a small C# application, you would be working with me to create an application that facilitates the recording of demos, uploading/downloading of demos and playing of the demos through the game application.

 

Just if anyone is interested.. anyone?

 

duc



  • Member ID:  2068
  • Group:  +++ COD5 Head Admin
  • Followers:  71
  • Topic Count:  1125
  • Topics Per Day:  0.21
  • Content Count:  8580
  • Content Per Day:  1.64
  • Reputation:   7547
  • Achievement Points:  76543
  • Solved Content:  0
  • Days Won:  67
  • Joined:  12/25/10
  • Status:  Offline
  • Last Seen:  
  • Birthday:  05/23/1973
  • Device:  Windows

Posted

I would if I new jack about C#.   :lol:

 

Sounds like a great idea if you can make it happen.



  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

I could help you if it were in C++, lua, python, perl, squirrel, CH, or even Brainfuck.   .... I should prolly practice back up on C# some day.



  • Member ID:  20489
  • Group:  ***- Inactive Clan Members
  • Followers:  2
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  174
  • Content Per Day:  0.04
  • Reputation:   112
  • Achievement Points:  1255
  • Solved Content:  0
  • Days Won:  0
  • Joined:  10/30/13
  • Status:  Offline
  • Last Seen:  
  • Birthday:  01/02/1995
  • Device:  Windows

Posted

What kind of demos are you talking about?

Awards


  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

What kind of demos are you talking about?

 

I think he's referring to the cod4 recorded "demos". 



  • Member ID:  20489
  • Group:  ***- Inactive Clan Members
  • Followers:  2
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  174
  • Content Per Day:  0.04
  • Reputation:   112
  • Achievement Points:  1255
  • Solved Content:  0
  • Days Won:  0
  • Joined:  10/30/13
  • Status:  Offline
  • Last Seen:  
  • Birthday:  01/02/1995
  • Device:  Windows

Posted

Alright, I'm in :)

Awards


  • Member ID:  561
  • Group:  ++++ Senior Admin
  • Followers:  85
  • Topic Count:  502
  • Topics Per Day:  0.09
  • Content Count:  5336
  • Content Per Day:  0.94
  • Reputation:   4612
  • Achievement Points:  41356
  • Solved Content:  0
  • Days Won:  29
  • Joined:  10/14/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/06/1992
  • Device:  Windows

Posted

Essentially with Xfire going down and to be honest a discussion in the COD5 admin forums it has come to my attention that a streamlined method of recording/sharing/viewing demos is needed. 

 

The basics of what I have in mind are a C# windows form that contains: 

  • A config checker that will write the necessary binds to the config file that allows the in game recording
  • Local repository viewer that displays the current demos
  • Remote repository viewer that displays the demos that have been shared
  • Ability to upload/download demos to/from the remote repository
  • Forum integration to control access and link demo to admin
  • The ability to load the game+demo without the need of the admin to type a load of commands
  • Auto download if the mod or map that the demo was for does not exist on the clients computer
  • Supporting COD2/4/5

They are the main features I am going after, I will create a GIT repository for development. I would like this to have as many contributors as possible as it needs to be done fairly quickly and I do not have much time. 

 

duc



  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

You know a game has a problem when you need to commission a ticket submission system to handle all the hack'usations.  bahahahaa



  • Member ID:  22485
  • Group:  *** Clan Members
  • Followers:  11
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  246
  • Content Per Day:  0.07
  • Reputation:   151
  • Achievement Points:  1593
  • Solved Content:  0
  • Days Won:  0
  • Joined:  03/26/15
  • Status:  Offline
  • Last Seen:  
  • Birthday:  06/26/1983
  • Device:  Windows

Posted

Essentially with Xfire going down and to be honest a discussion in the COD5 admin forums it has come to my attention that a streamlined method of recording/sharing/viewing demos is needed. 

 

The basics of what I have in mind are a C# windows form that contains: 

  • A config checker that will write the necessary binds to the config file that allows the in game recording
  • Local repository viewer that displays the current demos
  • Remote repository viewer that displays the demos that have been shared
  • Ability to upload/download demos to/from the remote repository
  • Forum integration to control access and link demo to admin
  • The ability to load the game+demo without the need of the admin to type a load of commands
  • Auto download if the mod or map that the demo was for does not exist on the clients computer
  • Supporting COD2/4/5

They are the main features I am going after, I will create a GIT repository for development. I would like this to have as many contributors as possible as it needs to be done fairly quickly and I do not have much time. 

 

 

Is there already a method for reading the demo files outside of the games to know what their map/mod requirements are?



  • Member ID:  20489
  • Group:  ***- Inactive Clan Members
  • Followers:  2
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  174
  • Content Per Day:  0.04
  • Reputation:   112
  • Achievement Points:  1255
  • Solved Content:  0
  • Days Won:  0
  • Joined:  10/30/13
  • Status:  Offline
  • Last Seen:  
  • Birthday:  01/02/1995
  • Device:  Windows

Posted

I'll look into the details of these demo files this evening and how to read data from it. My vacation has started and I have a couple of free weeks to spend on it.

Awards


  • Member ID:  677
  • Group:  ***- Inactive Clan Members
  • Followers:  18
  • Topic Count:  172
  • Topics Per Day:  0.03
  • Content Count:  1457
  • Content Per Day:  0.26
  • Reputation:   791
  • Achievement Points:  9890
  • Solved Content:  0
  • Days Won:  5
  • Joined:  11/02/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  02/20/1986

Posted

I have a C# and .NET programming book.... haven't touched C# in years.



  • Member ID:  20489
  • Group:  ***- Inactive Clan Members
  • Followers:  2
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  174
  • Content Per Day:  0.04
  • Reputation:   112
  • Achievement Points:  1255
  • Solved Content:  0
  • Days Won:  0
  • Joined:  10/30/13
  • Status:  Offline
  • Last Seen:  
  • Birthday:  01/02/1995
  • Device:  Windows

Posted
@@Sitting-Duc have you found any documentation/way on how to read data from these files? I found some quake 3 documentation, but apparently the call of duty ones are a bit different. I've also found a tool which can read pretty much all we need, but it's code is a mess and poorly documented ( and written in pascal...) so I still don't understand it very well :P
Awards


  • Member ID:  2702
  • Group:  ***- Inactive Clan Members
  • Followers:  9
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  1088
  • Content Per Day:  0.22
  • Reputation:   965
  • Achievement Points:  8625
  • Solved Content:  0
  • Days Won:  4
  • Joined:  07/27/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  11/26/1978
  • Device:  Windows

Posted

The demo files (.dm1) is there a way to convert these to a youtube friendly file? Or do you then have to record the playback using something else?



  • Member ID:  561
  • Group:  ++++ Senior Admin
  • Followers:  85
  • Topic Count:  502
  • Topics Per Day:  0.09
  • Content Count:  5336
  • Content Per Day:  0.94
  • Reputation:   4612
  • Achievement Points:  41356
  • Solved Content:  0
  • Days Won:  29
  • Joined:  10/14/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/06/1992
  • Device:  Windows

Posted

The idea I have is not to read directly from the files but to manage their playback. The problem most people face with demos is ensuring the have the correct mod and map and then loading the demo up. 

 

The idea would be something like this:

  • Admin records a hacker and then bans the player
  • Admin opens the application, selects the demo they recorded and clicks upload
  • They may have to select the mod and map depending if there is no programmatic way of doing it
  • Once uploaded they can then add the demo identifier or link to the ban thread
  • Other admins can then download the demo and play it

The playback of the demos would need to ensure that the mod and map are on the clients computer and then load up the game. If there are no executable arguments for the demo selection and playback then we will have to implement a bind system where the admin then presses a key which loads the demo. 

 

Converting a demo to a video is an arduous process as the only method seems to be converting to screenshots and then to an .avi

 

duc



  • Member ID:  2702
  • Group:  ***- Inactive Clan Members
  • Followers:  9
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  1088
  • Content Per Day:  0.22
  • Reputation:   965
  • Achievement Points:  8625
  • Solved Content:  0
  • Days Won:  4
  • Joined:  07/27/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  11/26/1978
  • Device:  Windows

Posted (edited)

The way to do it would be to include a small water mark in the hud somewhere so each mod is identifiable from a screenshot or video regardless or recording software. then they could just include a screenshot with the recording so the mod in the recording is identifiable.

 

You could bind a key to take a screenshot and then start recording too.

Edited by Blaze


  • Member ID:  2068
  • Group:  +++ COD5 Head Admin
  • Followers:  71
  • Topic Count:  1125
  • Topics Per Day:  0.21
  • Content Count:  8580
  • Content Per Day:  1.64
  • Reputation:   7547
  • Achievement Points:  76543
  • Solved Content:  0
  • Days Won:  67
  • Joined:  12/25/10
  • Status:  Offline
  • Last Seen:  
  • Birthday:  05/23/1973
  • Device:  Windows

Posted

The demo files (.dm1) is there a way to convert these to a youtube friendly file? Or do you then have to record the playback using something else?

I have been checking, there is no clean way of converting demo files. For COD5, these are .dm6.


  • Member ID:  2068
  • Group:  +++ COD5 Head Admin
  • Followers:  71
  • Topic Count:  1125
  • Topics Per Day:  0.21
  • Content Count:  8580
  • Content Per Day:  1.64
  • Reputation:   7547
  • Achievement Points:  76543
  • Solved Content:  0
  • Days Won:  67
  • Joined:  12/25/10
  • Status:  Offline
  • Last Seen:  
  • Birthday:  05/23/1973
  • Device:  Windows


  • Member ID:  22485
  • Group:  *** Clan Members
  • Followers:  11
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  246
  • Content Per Day:  0.07
  • Reputation:   151
  • Achievement Points:  1593
  • Solved Content:  0
  • Days Won:  0
  • Joined:  03/26/15
  • Status:  Offline
  • Last Seen:  
  • Birthday:  06/26/1983
  • Device:  Windows

Posted

 

@@Sitting-Duc have you found any documentation/way on how to read data from these files? I found some quake 3 documentation, but apparently the call of duty ones are a bit different. I've also found a tool which can read pretty much all we need, but it's code is a mess and poorly documented ( and written in pascal...) so I still don't understand it very well :P

 

Looks like we found the same sites.

 

Looks like it uses huffman coding for compression. So, I guess it is just a matter of finding where the start/end of the bytes are for info. That pascal project appears to be trying to parse everything out.



  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

Is there not just a header on the file with all the meta/context data?



  • Member ID:  20489
  • Group:  ***- Inactive Clan Members
  • Followers:  2
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  174
  • Content Per Day:  0.04
  • Reputation:   112
  • Achievement Points:  1255
  • Solved Content:  0
  • Days Won:  0
  • Joined:  10/30/13
  • Status:  Offline
  • Last Seen:  
  • Birthday:  01/02/1995
  • Device:  Windows

Posted

Got it working now. like alpha said, it's huffman encoded.

Awards


  • Member ID:  1194
  • Group:  ***- Inactive Clan Members
  • Followers:  40
  • Topic Count:  436
  • Topics Per Day:  0.08
  • Content Count:  6692
  • Content Per Day:  1.21
  • Reputation:   11691
  • Achievement Points:  53094
  • Solved Content:  0
  • Days Won:  76
  • Joined:  02/27/10
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/15/1960

Posted

If you were writing it in crayon I would be happy to offer my assistance. Otherwise C++ is where my education ended and it's been about 10 years since I've done anything with it. My 80 year old dad is a whiz at c# but he's having some health issues at the moment.



  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

If you were writing it in crayon I would be happy to offer my assistance. Otherwise C++ is where my education ended and it's been about 10 years since I've done anything with it. My 80 year old dad is a whiz at c# but he's having some health issues at the moment.

 

hey, wait, I thought YOU were 80 years old?    :whistle:



  • Member ID:  1194
  • Group:  ***- Inactive Clan Members
  • Followers:  40
  • Topic Count:  436
  • Topics Per Day:  0.08
  • Content Count:  6692
  • Content Per Day:  1.21
  • Reputation:   11691
  • Achievement Points:  53094
  • Solved Content:  0
  • Days Won:  76
  • Joined:  02/27/10
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/15/1960

Posted

hey, wait, I thought YOU were 80 years old?    :whistle:

 

 

557a0568bf2a9_00d0d_hinekacACqd_600x450.



  • Member ID:  2759
  • Group:  **- Inactive Registered Users
  • Followers:  17
  • Topic Count:  199
  • Topics Per Day:  0.04
  • Content Count:  3496
  • Content Per Day:  0.70
  • Reputation:   3021
  • Achievement Points:  26464
  • Solved Content:  0
  • Days Won:  3
  • Joined:  08/22/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/27/1990

Posted

557a0568bf2a9_00d0d_hinekacACqd_600x450.

 

Beg pardon?



  • Member ID:  677
  • Group:  ***- Inactive Clan Members
  • Followers:  18
  • Topic Count:  172
  • Topics Per Day:  0.03
  • Content Count:  1457
  • Content Per Day:  0.26
  • Reputation:   791
  • Achievement Points:  9890
  • Solved Content:  0
  • Days Won:  5
  • Joined:  11/02/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  02/20/1986

Posted

The idea I have is not to read directly from the files but to manage their playback. The problem most people face with demos is ensuring the have the correct mod and map and then loading the demo up. 

 

The idea would be something like this:

  • Admin records a hacker and then bans the player
  • Admin opens the application, selects the demo they recorded and clicks upload
  • They may have to select the mod and map depending if there is no programmatic way of doing it
  • Once uploaded they can then add the demo identifier or link to the ban thread
  • Other admins can then download the demo and play it

The playback of the demos would need to ensure that the mod and map are on the clients computer and then load up the game. If there are no executable arguments for the demo selection and playback then we will have to implement a bind system where the admin then presses a key which loads the demo. 

 

Converting a demo to a video is an arduous process as the only method seems to be converting to screenshots and then to an .avi

 

duc

We can pretty much do this without creating another program. The webmaster could just create a private thread for admins (sure there already is one), ban could be posted there, and the file attached to the post (would need to figure a way to allow an upload above 9.77 MB or a link to a dropbox acct. (created by the webmaster with access given to the admins).


Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.