Hard Light Productions Forums

General FreeSpace => Multiplayer => Topic started by: Orange on June 10, 2014, 08:20:53 pm

Title: FS2NetD with Media VPs 2014?
Post by: Orange on June 10, 2014, 08:20:53 pm
I don't seem to have this problem playing multiplayer with the 3612 Media VPs, but when I try with the 2014 Media VPs, I always get the hacked tables message:

One or more players has hacked data files. If you continue, stats will not be stored at the end of the mission

Has FS2NetD just not been updated to support the 2014 Media VPs yet?

Relevant output from MediaVPs_2014\data\multi.log:

06/10 18:35:23~   FS2NetD Table Check: 'mv_flak-sct.tbm' -- INVALID (0x1c9f8bfe)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_exp-sct.tbm' -- INVALID (0xac6d1492)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_dbrs-sct.tbm' -- INVALID (0x89a9ed2e)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_effects-sdf.tbm' -- INVALID (0x42531d6f)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_effects-amr.tbm' -- INVALID (0xd8ef6c32)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_assets-aip.tbm' -- INVALID (0x3d60741a)!
06/10 18:35:23~   FS2NetD Table Check: 'weapons.tbl' -- Valid!
06/10 18:35:23~   FS2NetD Table Check: 'mv_root-wep.tbm' -- INVALID (0xe6dcaa80)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_effects-wep.tbm' -- INVALID (0xc359ea52)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_assets-wep.tbm' -- INVALID (0xd1792ada)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_effects-obt.tbm' -- INVALID (0x44716a82)!
06/10 18:35:23~   FS2NetD Table Check: 'ships.tbl' -- Valid!
06/10 18:35:23~   FS2NetD Table Check: 'mv_root-shp.tbm' -- INVALID (0xfabe6d2e)!
06/10 18:35:23~   FS2NetD Table Check: 'radar-shp.tbm' -- Valid!
06/10 18:35:23~   FS2NetD Table Check: 'mv_effects-shp.tbm' -- INVALID (0xae904b17)!
06/10 18:35:23~   FS2NetD Table Check: 'mv_assets-shp.tbm' -- INVALID (0xe01cb7f2)!
Title: Re: FS2NetD with Media VPs 2014?
Post by: niffiwan on June 10, 2014, 08:40:41 pm
Has FS2NetD just not been updated to support the 2014 Media VPs yet?

Yeah, I'd bet that this is the problem.  I'm not 100% who has access to the FS2NetD server in order to add the updated checksums. Maybe Goober5000, or chief1983?
Title: Re: FS2NetD with Media VPs 2014?
Post by: karajorma on June 11, 2014, 01:22:39 am
Good question. I need to get the Diaspora ones updated too.

I believe FUBAR used to have access at one point.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on June 12, 2014, 09:58:30 am
I'm almost certain I can do it, but I'm more certain I don't know how to do it.  I'll see if the documentation covers anything like that before I poke taylor about it.  If someone has any info on the process I can probably see about implementing it.
Title: Re: FS2NetD with Media VPs 2014?
Post by: niffiwan on June 12, 2014, 05:32:47 pm
I'm going to guess that you need to insert data into the MySQL DB, probably these two tables: "table_crcs" and "mission_crcs". 

The data would come from these FSO cmdline param? -missioncrcs & -tablecrcs.  In theory anyone could generate this data for mediavps_2014... but when I run with these params the output file doesn't seem to get generated  :confused:

edit:  Well.  THAT'S.  JUST.  SILLY!  :p

-missioncrcs & -tablecrcs require a parameter to be passed to them (an output filename you'd probably figure) but FSO ignores it completely and uses its own filenames, mission_crcs.csv & table_crcs.csv (see attached)

[attachment kidnapped by pirates]
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on June 12, 2014, 07:05:50 pm
Ok, I do have permissions to edit the database directly, but there isn't an interface somewhere for editing this particular table already is there?  I might have to throw something together for that purpose then if not.

Edit:  And after looking at your dumps, I'm betting the option you provided was 'mvp2014mcrcs', which is apparently what is put in the description column in the database.  So the value should probably be "MediaVPs 2014" to keep the current pattern going.  I'm seeing a lot of missions in here though that I don't think are actually part of the MediaVPs are they?  Or do the MediaVPs really come with enhanced versions of all these missions?
Title: Re: FS2NetD with Media VPs 2014?
Post by: Orange on June 12, 2014, 07:20:43 pm
Looks similar to what I got. I ran the checksums per the instructions above. I've attached my outputs with "MediaVPs 2014" as the argument.

[attachment kidnapped by pirates]
Title: Re: FS2NetD with Media VPs 2014?
Post by: Orange on June 12, 2014, 07:31:48 pm
I ran a diff on the .csv files between my attachment and niffiwan's attachment and the checksums came out the same. The only variance was in the description. ("mvp2014mcrcs" vs. "MediaVPs 2014")
Title: Re: FS2NetD with Media VPs 2014?
Post by: niffiwan on June 13, 2014, 06:41:34 am
Ok, I do have permissions to edit the database directly, but there isn't an interface somewhere for editing this particular table already is there?  I might have to throw something together for that purpose then if not.

I had a look through the code and I didn't see anything that looked like an interface to update the DB.

Edit:  And after looking at your dumps, I'm betting the option you provided was 'mvp2014mcrcs', which is apparently what is put in the description column in the database.  So the value should probably be "MediaVPs 2014" to keep the current pattern going.  I'm seeing a lot of missions in here though that I don't think are actually part of the MediaVPs are they?  Or do the MediaVPs really come with enhanced versions of all these missions?

Yes it was, I should look closer at the code :)  Now that I've gone and done that, the code seems to dump all the missions available in the mod, in this case that'd include all retail, the multimissionpack and anything new in mediavps_2014.
Title: Re: FS2NetD with Media VPs 2014?
Post by: Thrain on June 15, 2014, 09:19:37 pm
I have noticed an issue with "hacked"  player stats when attempting to play online with mediaVP 2014 is there a fix for this?
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on June 17, 2014, 10:22:33 am
We haven't validated the 2014 MediaVPs yet.  After some discussion I learned that the MediaVPs no longer play nicely with retail data in multiplayer, and the MediaVPs will probably need their own instance of FS2NetD to isolate them from retail players.  Unfortunately this will separate stats as well, but I don't expect a lot of retail multi to happen these days anyway.
Title: Re: FS2NetD with Media VPs 2014?
Post by: karajorma on June 18, 2014, 07:01:46 am
Here are the current Diaspora CRC's. It would be nice to be able to play validated games again.

[attachment kidnapped by pirates]
Title: Re: FS2NetD with Media VPs 2014?
Post by: Charismatic on July 02, 2014, 12:54:27 am
Yeah I have run into this problem too. I am really hoping to start doing Multiplayer now that I got FSO up and running again.
Title: Re: FS2NetD with Media VPs 2014?
Post by: OverDhill on January 02, 2015, 06:24:23 pm
Did this ever get resolved for Media VPs 2014?

I am looking at getting a friend going with FS2 Open and would like to see how the multiplayer works

Title: Re: FS2NetD with Media VPs 2014?
Post by: OverDhill on January 07, 2015, 05:12:16 am
Well with Elite Dangerous and Star Citizen being more like Wing Commander Privateer and less like Wing Commander it would be nice to see some work being done to improve the multilayer aspects of Freespace 2 Open. I would prefer coop mission (looking forward to seeing what Squadron 42 is going to be like) and dog fighting. Personally I am not all that interested in the trading aspects of Elite or SC.

It is why I asked about Media VPs 2014 so we could get the best graphic experience in multiplayer.

Title: Re: FS2NetD with Media VPs 2014?
Post by: OverDhill on January 24, 2015, 04:26:28 am
Hmmm I guess there is no interest in this. It is too bad as I see coop multiplayer as something pretty interesting. It would be nice to see FS2NetD worked on to support the new media vp's
 
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on January 25, 2015, 07:09:41 pm
Sorry, getting another 3.7.2 RC out has been kind of my priority as of late.  I would like to look at getting these added, although I thought I wasn't the only one with access to do this.  If I recall, numerous members of the MULTI team had access to add validated content, but I might be wrong.
Title: Re: FS2NetD with Media VPs 2014?
Post by: FUBAR-BDHR on January 25, 2015, 11:09:22 pm
Can't add it if we don't have the crcs and a patch hasn't been release to point to the new daemon anyways.  If you check your post in the FSU forum no one ever even replied.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on January 26, 2015, 11:11:16 am
Well, generating the CRCs seems like something anyone with the MVPs available could do, so I supposed I could generate that.  And I guess we could force the issue by providing a patch to the community that points the MediaVPs to the right daemon as well.
Title: Re: FS2NetD with Media VPs 2014?
Post by: niffiwan on January 26, 2015, 03:30:43 pm
Well, generating the CRCs seems like something anyone with the MVPs available could do, so I supposed I could generate that.

I'm pretty sure there's two sets of CRCs generated and attached further up in the thread :) (of course the attachment reaper could strike at any time...)
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on January 26, 2015, 03:40:24 pm
Ok, so, I guess my action items are:

1) Manually add these CRCs (MediaVPs_2014 and Diaspora) to the table as soon as I can.
2) Provide a patch on the FSU and/or Multiplayer forums for the MediaVPs to point the MediaVPs 2014 to the right daemon, until the team integrates the change into a new release.
3) Create an interface for easier editing of the validated content tables, unless one already exists somewhere (no one has confirmed that yet in this thread that I can see).
Title: Re: FS2NetD with Media VPs 2014?
Post by: FUBAR-BDHR on January 26, 2015, 04:14:39 pm
Diaspora was added the day Kara posted the crcs. 
Title: Re: FS2NetD with Media VPs 2014?
Post by: karajorma on January 26, 2015, 07:52:28 pm
I forgot to say thanks for that.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on January 26, 2015, 07:55:35 pm
Ah right, so maybe the fear was that just adding the MediaVP ones, even with an unofficial patch, could lead to lots of users not using the patch and breaking games playing with retail users?  I guess I need to crack some skulls to get someone to add the daemon change to the MediaVPs then.
Title: Re: FS2NetD with Media VPs 2014?
Post by: FUBAR-BDHR on January 26, 2015, 08:40:45 pm
Yes and if there was going to be a patch for that whatever else ended up in the patch would change the crcs so no use in validating until the patch.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on January 29, 2015, 09:09:59 am
Well, if they could release a patch that only changes the multiplayer daemon, the CRCs would still be fine.  Also, validating the missions now for only the mvps mod would not validate those files on the retail daemon.  So we could validate them any time, and ask that a daemon patch be released as that would be the only thing preventing users from using it at that point.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on February 10, 2015, 01:25:21 pm
Ok, I've gone ahead in the meantime and validated the current MediaVPs 2014 tables and missions on the new daemon only.  All it takes to use the new daemon is to add the attached file to the mod's data folder.  On Windows this is where the mod is installed, on *nix this is probably in your home directory, where the game writes log files.  When the attachment is deleted, the contents of the file are this:

Code: [Select]
+server_port      12013

[attachment deleted by nobody]
Title: Re: FS2NetD with Media VPs 2014?
Post by: jr2 on February 10, 2015, 05:50:51 pm
And the attachment's name was
Code: [Select]
multi.cfg   May he rest in peace.
Title: Re: FS2NetD with Media VPs 2014?
Post by: chief1983 on May 26, 2015, 11:17:07 am
Wow, guess I forgot to mention that part.  Yeah, add the server_port line to multi.cfg in your mod's data folder.