Steam Networking Sockets - Basic Implementation#138
Steam Networking Sockets - Basic Implementation#138tylerhasman wants to merge 9 commits intocode-disaster:masterfrom
Conversation
java-wrapper/src/main/java/com/codedisaster/steamworks/SteamNetworkingMessage.java
Outdated
Show resolved
Hide resolved
|
@tylerhasman there is a typo in this function: Should be: Otherwise this works but I'm a bit concerned about performance and memory seeing that creation of Also, sendMessageToConnection could come with a way to have an offset for its buffer, like sendP2PPacket does. Anyway, thanks a lot for your work! |
Oh shoot that would explain why poll groups weren't working. Thank you I will update this. |
|
Will this get merged anytime soon? Don't know how ready it is, but having this api implemented would help out a lot with my game. |
|
this would be extremely useful if it was part of steamworks4j, is this like close to working or like ready to use? Otherwise I might just add this to my own part of the game and pray lol |
It seems like the repo author is MIA. I could fork it and put it into my own branch |
|
@Lanse0123 @mmm1245 Check out my fork: https://github.com/tylerhasman/steamworks4j |
|
@tylerhasman hey thank you so much! We are actually using your fork for the steamwork wrapper for our game! Things are almost working, but we are having some weird errors with sockets and just trying to connect to steam's relay servers and etc. James and I might have questions about it if your cool with helping! Also remind me to upvote your fork / branch, idk how to on github but I definitely will at some point because it has been very useful! |
Happy to help! You can add me on discord @tyler |
|
Hi! I tried adding you on discord @tylerhasman though it says you arent accepting friend requests. My username is @lanse012 if you want to add me, but I think I might be good. I really thank you for adding the socket support, and from it our multiplayer game is now pretty much working! If you would like me to show you or something I would be cool with that! |
I wanna see it. Link to a clip of your game or show off some code. I'm interested. I am considering using this fork if it really supports networking. |
|
@tylerhasman https://www.youtube.com/watch?v=IoajE4BVZL8 I could show code but idk if I want to put it here, this reply thread is getting long and it takes forever to talk across this |
@Lanse0123 That was mind-blowing. I took a branch of this repo and merged it with another fork which had some networking support: https://github.com/twopology/steamnetworks4j But I have not actually built the Windows of MacOS natives yet. I will build the Windows ones and make a new release if you are interested. I have fully tested the P2P networking with Linux and it is working in my game right now. I made the artifacts available with github packages so you can include them in your project like:
Note: Requires authentication in ~/.m2/settings.xml:
The key differences: JitPack: Uses com.github.code-disaster groupId, no auth needed |
No description provided.