Does the server know which side has won?

User avatar
webboy_998
Staff Sergeant
Posts: 92
Joined: Sun 5 Jan 2014 06:06
Contact:

Does the server know which side has won?

Postby webboy_998 » Tue 25 Apr 2017 22:07

as title.

if so, is it in anyway reflected in the server log?
I'm currently using the automation script to create customized scenarios, which requires the script to know which side has won the previous game.

thanks in advance

User avatar
The W:AB Noob
Lieutenant General
Posts: 4492
Joined: Fri 12 Jul 2013 22:29
Location: United States, Central Time Zone
Contact:

Re: Does the server know which side has won?

Postby The W:AB Noob » Wed 3 May 2017 23:57

webboy_998 wrote:as title.

if so, is it in anyway reflected in the server log?
I'm currently using the automation script to create customized scenarios, which requires the script to know which side has won the previous game.

thanks in advance

Complicated, but if it's destruction, you might be able to read the data from the replay to figure out how many point people had at the end and conclude from there.
W:RD Sandbox Mod 5.0 RELEASED! Click -> Image

User avatar
webboy_998
Staff Sergeant
Posts: 92
Joined: Sun 5 Jan 2014 06:06
Contact:

Re: Does the server know which side has won?

Postby webboy_998 » Fri 5 May 2017 14:08

The W:AB Noob wrote:
webboy_998 wrote:as title.

if so, is it in anyway reflected in the server log?
I'm currently using the automation script to create customized scenarios, which requires the script to know which side has won the previous game.

thanks in advance

Complicated, but if it's destruction, you might be able to read the data from the replay to figure out how many point people had at the end and conclude from there.


yes reading the replay file.
it has been the point of discussion in this following thread
viewtopic.php?f=155&t=59832
the problem is actually that the replay file is not readable by human eyes.

Who is online

Users browsing this forum: No registered users and 1 guest