Synced Live Replay

Everything about mods can be found here.

Moderator: Morax

Synced Live Replay

Postby PattogoTehen » 13 Nov 2013, 22:15

Synced Live Replay Server

Image

instructions:
Replay HOST:
0) portforward: tcp 8000
1) start the replay server program ReplayServer.exe
2) load a replay

CLIENTS:
1) start the replay server program ReplayServer.exe
2) File menu -> Connect host and enter host's IP address



what is this?
its a livereplay server which allows players to watch a replay in-sync.

the server detects when a player is behind in gametime and stops the stream. when the player catches up with the others, the server sends the next second of the replay.

so it tries to make sure that everyone see the same thing at the same time


QA
i dont like port 8000!!
- you can change it

it drops me to menu
- make sure that you have the map what is replayed

it opens fa with black screen
- you could not connect to the replay host, maybe u misstyped address or the host has not forwarded the ports



download: http://dropcanvas.com/nf7zp
mirror: https://bitbucket.org/fafafaf/livereplayserver/downloads

64bit only
Last edited by PattogoTehen on 14 Dec 2014, 13:59, edited 5 times in total.
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Re: Synced Live Replay

Postby Aulex » 14 Nov 2013, 00:15

this is a great tool, tested it with zlo, no real issues, the only thing that hopefully you'll be able to implement is the ability to change the gamespeed so during the slow periods we can just go by them quickly. Well done, hopefully this will lead to even more awesome casts!
"Let's start beating ass and die" - drunk TA4Life

"Just because you have a d*** doesn't mean you need to be one...pussy" -Blackdeath

SCOUTING SAVES LIVES
http://imgur.com/YGk0W0o

How to play Sup Com by Ubilaz
http://goo.gl/je83z
User avatar
Aulex
Contributor
 
Posts: 1050
Joined: 17 Nov 2012, 05:29
Has liked: 299 times
Been liked: 225 times
FAF User Name: VoR_Aulex

Re: Synced Live Replay

Postby ZLO_RD » 14 Nov 2013, 01:51

Resuilts
http://www.youtube.com/watch?v=CzRW5boS00c
or
http://www.twitch.tv/zlo_rd/c/3238656

there was second try but stream statred lagging :(
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: Synced Live Replay

Postby Nombringer » 14 Nov 2013, 10:02

For me its opening normal Forged Alliance with the intro music ect, and I am opening it from the faforever bin, any ideas?
BC_Blackheart: i just copy his shit and do it 5% better leads to easy win usually xD

Need help? Are you a new player? Feel free to message me any time in the lobby :) Lessons may cost a portoin of your soul.... (Noms are included but not guaranteed)
Nombringer
Supreme Commander
 
Posts: 1036
Joined: 16 Nov 2012, 06:31
Has liked: 210 times
Been liked: 65 times
FAF User Name: Nombringer

Re: Synced Live Replay

Postby Aulex » 14 Nov 2013, 18:05

I created a tutorial, so hopefully no one runs into issues
http://www.youtube.com/watch?v=gMvEYN1r2aE
"Let's start beating ass and die" - drunk TA4Life

"Just because you have a d*** doesn't mean you need to be one...pussy" -Blackdeath

SCOUTING SAVES LIVES
http://imgur.com/YGk0W0o

How to play Sup Com by Ubilaz
http://goo.gl/je83z
User avatar
Aulex
Contributor
 
Posts: 1050
Joined: 17 Nov 2012, 05:29
Has liked: 299 times
Been liked: 225 times
FAF User Name: VoR_Aulex

Re: Synced Live Replay

Postby PattogoTehen » 26 Nov 2013, 00:18

Image

new version is up: http://dropcanvas.com/3zhk7

its a testing build. if u have problems overwrite the files from the first post.
if there is no problems it will be the release build.

changes:
- its possible to change the replays speed. ! all clients have to change to the same speed manually or the replay will stutter. !
- display more info about the replay (share options, mods, etc..)
- can open .scfareplay files

bugfixes:
- it will close the replay properly
- will disconnect all clients on replay change
- scenarioinfo is decoded properly
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Re: Synced Live Replay

Postby SeraphimLeftNut » 27 Nov 2013, 22:17

When a player in the replay pauses the game, the game does not unpause itself in the live replay. Aulex and I saw this in two different replays.
no ui lag: https://www.youtube.com/watch?v=3MdcVdL2kIY
I think this is going to be fun
User avatar
SeraphimLeftNut
Contributor
 
Posts: 975
Joined: 10 Jul 2012, 19:46
Has liked: 3 times
Been liked: 219 times
FAF User Name: TA4Life

Re: Synced Live Replay

Postby PattogoTehen » 28 Nov 2013, 01:20

new version is up: http://dropcanvas.com/tgnyf

changes:
- gamespeed changes automatically for all clients
- its using the game pause command to wait for other clients

issues:
- pausing will froze game, use -10 speed instead :P

not compatible with other brances, you have to update all files from the link
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Re: Synced Live Replay

Postby Pierto » 28 Nov 2013, 05:47

Anyway you can protect this with a password? Leaving a port open to the internet is kinda risky these days....
"T2 mex, I think it's a mistake! Why not do something more useful?" (RA_Zlo in a ranked 1v1 game against Yarma_Darma on Haven's Reef)
Pierto
Avatar-of-War
 
Posts: 82
Joined: 22 Nov 2012, 22:29
Has liked: 0 time
Been liked: 6 times
FAF User Name: Pietros

Re: Synced Live Replay

Postby PattogoTehen » 02 Dec 2013, 14:02

ive made a replayparser in python

sample output attached.

some fun stuff to do with this data:

guess the map from heatmap :D

Image

compute avg commands per minute:

Fretters 27.53
CtrlK 41.21
Sheppard89 10.30
ahmed 54.33
roseneath 16.38
BC_Beroxa 19.88
alligatorsam 37.23
stormyk 22.72
loktakwah 28.70
LuvMachine 33.63

extract chat:

[0:02:55] Fantozzi99 to all: sry
[0:07:38] Malvae to all: gg
[0:07:48] ilegendereyv1 to all: GG
[0:07:50] iNF23_Chico23 to all: no gg
[0:08:04] Malvae to all: why not?
[0:08:08] Malvae to all: u wanted the draw
[0:08:12] iNF23_Chico23 to all: i m boom
[0:08:15] Malvae to all: haha
[0:08:18] Malvae to all: to greedy
[0:08:24] iNF23_Chico23 to all: no soutien air
[0:08:46] Malvae to all: hf gl
[0:09:58] TheChosenHalf to allies: i need some air support here
[0:14:53] esc_82_ to all: the game is end
[0:17:50] esc_82_ to all: bg
Attachments
unpackedReplay.txt
(1.7 MiB) Downloaded 131 times
My FAF projects:
LiveStreamer Launcher, Online Replay Analyzer, Replay Syncer, Custom FAF client

Paypal: pattogotehen at outlook.com
PattogoTehen
Avatar-of-War
 
Posts: 70
Joined: 29 Aug 2013, 19:19
Has liked: 0 time
Been liked: 44 times
FAF User Name: PattogoTehen

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest