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

Wrapper is broken after library got updated #2

Closed
Damianu opened this issue Jan 10, 2019 · 15 comments
Closed

Wrapper is broken after library got updated #2

Damianu opened this issue Jan 10, 2019 · 15 comments
Labels

Comments

@Damianu
Copy link

Damianu commented Jan 10, 2019

This commit changed CreateListenSocket to CreateListenSocketIp with different params
ValveSoftware/GameNetworkingSockets@d07b7b2

@nxrighthere
Copy link
Owner

Yes, I saw that they updated the library, I'm just waiting until they release it since it's still subject to change.

@Damianu
Copy link
Author

Damianu commented Jan 10, 2019

Trying to build it with older version of repo gets me through server setup... however when I am trying to make client it crashes:
The program '[13836] dotnet.exe' has exited with code -1073740940 (0xc0000374).
on line:

client.Connect("127.0.0.1", 7777);

@nxrighthere
Copy link
Owner

nxrighthere commented Jan 10, 2019

Make sure that all required dependencies are placed into the same folder with the native library.

@Damianu
Copy link
Author

Damianu commented Jan 10, 2019

Added OpenSSL dlls (thought it would be enough to have them on windows level, turns out it isnt) and it fixed the issue, however now I get:

System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Can you please tell me on which commit did you build your GameNetworkingSockets.dll? (Or I'd really aprettiate sending already built dll that works with this wrapper)

@nxrighthere
Copy link
Owner

This version works without any issues on my side. All required dependencies are included, but you need to change locations with CMake.

GameNetworkingSockets.zip

@nxrighthere
Copy link
Owner

Forgot to mention that I'm using MinGW for building.

@nxrighthere
Copy link
Owner

The wrapper updated to the latest version up to ValveSoftware/GameNetworkingSockets@c4a9773 commit. API reference is under construction.

@nxrighthere
Copy link
Owner

Updated to the latest version up to ValveSoftware/GameNetworkingSockets@1f90ef7 commit. API reference update in progress.

@zpostfacto
Copy link

Thanks. trying really hard to to avoid making any more changes to the API before 1.0 is released!

@nxrighthere
Copy link
Owner

Feel free to make any changes, I'll adapt. 😸

@nxrighthere
Copy link
Owner

@fletcherdvalve Fletch, did you receive my mail 8 days ago?

@zpostfacto
Copy link

Sorry haven't had a chance to look at it. But I will!
When I look at perf. Right now perf I think is OK for v1, I just need to ship, so trying to focus

@nxrighthere
Copy link
Owner

Sure, the link to files expired there so drop me a message if you want me to send it again.

@nxrighthere
Copy link
Owner

Updated to the latest version up to ValveSoftware/GameNetworkingSockets@53db7d3 commit.

@nxrighthere
Copy link
Owner

nxrighthere commented Mar 15, 2019

The wrapper updated to the latest 1.0.0 version.

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

No branches or pull requests

3 participants