Author Topic: Warvideo replays online  (Read 4774 times)

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Warvideo replays online
« on: April 28, 2017, 03:34:27 AM »
Now we have a program to watch dk2 replays online!
Thanks a lot to Zelya, strong russian programmer who develoved that program in 1 day!

I just published that with 2 test replays:
Program have been developed on javascript, so i obfuscated its source (same as executable) code, just in case of abuse...

Let's test it:
http://www.war2.ru/dk2obf.html?file=dk2/jalko_glupo_slityj_cannon.dk2
http://www.war2.ru/dk2obf.html?file=dk2/nwtr_orag_vs_il__grrr.dk2

Still no cursor, some small improvements required, but it's working!
« Last Edit: April 28, 2017, 03:50:54 AM by iL »
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline Winchester

  • Ogre Mage
  • ********
  • Posts: 1739
    • View Profile
Re: Warvideo replays online
« Reply #1 on: April 28, 2017, 04:50:46 AM »
That's awesome,nice work. Look forward to the improvements.

Offline Nedro

  • Grunt
  • ***
  • Posts: 127
    • View Profile
Re: Warvideo replays online
« Reply #2 on: April 28, 2017, 10:05:38 AM »
awesome. Спасибо Zelya!

Offline Igognito

  • Axe Thrower
  • ****
  • Posts: 406
    • View Profile
Re: Warvideo replays online
« Reply #3 on: April 28, 2017, 01:05:34 PM »
Nice  :thumbsup:

Question: How do we upload our dk videos and embed the player?
Suggestion: We should put in a loop the war2 music to play in the background. That is pretty simple to do.
The play/resume button will need to be modified to play/pause the music in parallel.

@iL, I was waiting from you a script that would allow me to transfer the ELO scores in games at /stats. I assume we have zero progress on that :-/

Cheers

Offline mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 2065
    • View Profile
    • War2.me
Re: Warvideo replays online
« Reply #4 on: April 28, 2017, 01:30:04 PM »
wow very cool! I can probably make some page for uploading & navigating replays if Zelya isn't planning to

@Igognito weren't we going to test that at my server first??
squeak!

Offline Igognito

  • Axe Thrower
  • ****
  • Posts: 406
    • View Profile
Re: Warvideo replays online
« Reply #5 on: April 28, 2017, 03:33:41 PM »
@mousEtopher Yes we could... Regardless we need to revive the project and finish the job :-D.

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Warvideo replays online
« Reply #6 on: May 03, 2017, 05:50:56 PM »
Question: How do we upload our dk videos and embed the player?

Upload still not implemented yet. There should be some kind of videohosting for dk2 replays.
Suggestion: We should put in a loop the war2 music to play in the background. That is pretty simple to do.

Very good idea, i'll tell Zelya about that.
Unfortunately we can't implement war2 sounds (of the battle or w/e).

@iL, I was waiting from you a script that would allow me to transfer the ELO scores in games at /stats. I assume we have zero progress on that :-/

Oh, and i've been awaiting for your part... Well, let me look into that.

wow very cool! I can probably make some page for uploading & navigating replays if Zelya isn't planning to

As i understand, Zelya makes scripts, he is not so interested in making such kind of uploading page.
So, mousey, if you have enough time to make it yourself, that would be great!

Well, here's a new version:
- added mouse cursor
- added progress bar on loading
- added zip-packed support (to upload more replays to the same disk space).

Let's test it:
http://www.war2.ru/dk2z.html?file=dk2/jalko_glupo_slityj_cannon.dk2
http://www.war2.ru/dk2z.html?file=dk2/nwtr_orag_vs_il__grrr.dk2
Same in zip:
http://www.war2.ru/dk2z.html?file=dk2/jalko_glupo_slityj_cannon.zip

And here are big replays (50Mb):
not packed: http://www.war2.ru/dk2z.html?file=dk2/20170122_nwtr3x_razogrev_max-x-overkill.dk2
packed: http://www.war2.ru/dk2z.html?file=dk2/20170122_nwtr3x_razogrev_max-x-overkill.zip
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.