craethke / steam-multiplayer-peer-csharp

A Godot MultiplayerPeer implementation using Steam networking written in C#
MIT License
5 stars 1 forks source link

ulong can't transfer to string #1

Open UnZzz opened 1 month ago

UnZzz commented 1 month ago

hey bro, i'm trying to use your brilliant works, but however. When I was trying to paste your code, my editor said that the ulong cna't be transfered to stirng. I'm using net6.0 and the language version is 12.0. so i wonder that do you have any way to fix it? Sorry for bothering you, and I really appreciate your great project. 😍 image

UnZzz commented 1 month ago

new update bro. I'm trying to change the code to this and the c# build passed. But however, when I was trying to test it, the connection failed. Did my test project wrong? I was trying to use two button to directly connect two application by using each steamID. image Here is my test code: image 🥲

craethke commented 1 month ago

Hey @UnZzz , I think you might be on an old version of GodotSteam. Can you try downloading the latest version? ConnectP2P and other APIs used to take a String, but they were updated to take a ulong: https://github.com/GodotSteam/GodotSteam/blob/godot4/godotsteam.cpp#L3933