Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect Mac to Mac #48

Open
MitcheII opened this issue Jan 14, 2017 · 8 comments
Open

Cannot connect Mac to Mac #48

MitcheII opened this issue Jan 14, 2017 · 8 comments

Comments

@MitcheII
Copy link

Getting several of the following error every time I attempt to connect as Mac client to a Mac host using EnderHDMC's PR which allows the mod to work on Linux:

22:59:14 DEBUG Makeshift Multiplayer] Exception loading world: System.DllNotFoundException: libMonoPosixHelper.dylib at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr) at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, CompressionMode mode, Boolean gzip) <0x15ae5f1b0 + 0x00189> in <filename unknown>:0 at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip) <0x15ae5efb0 + 0x00091> in <filename unknown>:0 at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, CompressionLevel compressionLevel, Boolean leaveOpen, Boolean gzip) <0x15ae5ef60 + 0x00033> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,System.IO.Compression.CompressionLevel,bool,bool) at System.IO.Compression.GZipStream..ctor (System.IO.Stream stream, CompressionLevel compressionLevel, Boolean leaveOpen) <0x15ae5edd0 + 0x0006a> in <filename unknown>:0 at System.IO.Compression.GZipStream..ctor (System.IO.Stream stream, CompressionLevel compressionLevel) <0x15ae5ed90 + 0x00020> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.Compression.GZipStream:.ctor (System.IO.Stream,System.IO.Compression.CompressionLevel) at StardewValleyMP.Util.Compress (System.Byte[] raw) <0x15ae5eba0 + 0x00090> in <filename unknown>:0 at StardewValleyMP.Packets.ClientFarmerDataPacket.write (System.IO.BinaryWriter writer) <0x15ae5eb10 + 0x00041> in <filename unknown>:0 at StardewValleyMP.Packets.Packet.writeTo (System.IO.Stream s) <0x156fd6820 + 0x000be> in <filename unknown>:0 at StardewValleyMP.Client.send (StardewValleyMP.Packets.Packet packet) <0x15ae5ead0 + 0x0002a> in <filename unknown>:0 at StardewValleyMP.Vanilla.NewSaveGame+<getLoadEnumerator>c__Iterator0.MoveNext () <0x156fd9430 + 0x00a5f> in <filename unknown>:0

@spacechase0
Copy link
Owner

Are you still having this problem?

@MitcheII
Copy link
Author

I haven't tried the 2.10/2.11 versions as of yet but I'm almost certain it was an issue with a Mac being host. I can try again at some point if you'd like?

@spacechase0
Copy link
Owner

I just realized my attempted fix isn't in the public release yet.

If you don't mind using the 1.2 beta, try this. (This is the link I send my brother when we test things, so it changes from time to time. It should be a stable build for a day or two though.) There will be several other changes as well, as this build is (as of right now, anyways) from today (commit 4f8be2c), while the fix was 2-3 weeks ago (commit 7fe6d4a).

I should warn you that the local IP shown on the host screen will probably be wrong. :P Steam friend joining and LAN discovery will probably work, but they haven't been tested much. And I'm 99% sure non-co-op mode is broken, so don't try enabling it.

(Of course, this is all assuming this did fix the Mono stuff.)

@MitcheII
Copy link
Author

Sorry for leaving this so late but I've just gone and tried it out for you. It appears that as soon as I add in the Multiplayer Mod you linked it makes the game not display any Saves when opening the game. Like they're all still in the Saves Folder, and when I remove the mod they pop back up on the main menu but they aren't there when I attempt to Load any save. Even making a New save then returning to the main menu makes it disappear haha.

I tried turning on Debug in the config to see if anything came up in the console or a log was made in either the StardewMP folder in Mods or in the Stardew Valley folder itself came up but I couldn't quite see anything.

@spacechase0
Copy link
Owner

Huh. Can I see your log file?

@MitcheII
Copy link
Author

Uhh... Where would I find that, I can't see anything in the Mod folder nor the Stardew Valley folder that says log anywhere.

@spacechase0
Copy link
Owner

Hmm. Well, that particular problem will be #56 for now. Hopefully once that is fixed I can find out of this is fixed, too.

@justdave
Copy link

I seem to be getting this error with Mac as a host and Windows as a client, too (not just Mac on both ends as stated here). The dylib file that it claims it can't find is definitely on the filesystem (it's part of the Mono package). If I can help troubleshoot this at all, I'm happy to. Not afraid of a little coding if I can help with a patch, but I don't know where to start looking for the problem because I'm not familiar with SMAPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants