Giter Club home page Giter Club logo

Comments (8)

kaikalii avatar kaikalii commented on July 17, 2024 2

4d91f19

This now builds against v151. It didn't suffer from the SteamGameServer_Init issue. At some point i'll try and push a new version to crates.io when I have some free time to test it some more.

Okay. Thanks a lot for this crate by the way. My game is written all in Rust, and this crate makes Steam integration extremely easy. I actually had some users experience issues with the Steam overlay, which is hopefully fixed in the new SDK version, so the ability to update will be good.

from steamworks-rs.

Thinkofname avatar Thinkofname commented on July 17, 2024 1

Pushed 0.7.0 to crates.io. Hopefully everything works ok

from steamworks-rs.

kaikalii avatar kaikalii commented on July 17, 2024

I had same error a little while ago when I updated my version of the Steamworks SDK. The new version changed the number of arguments to a function, and this library doesn't account for it yet. I solved the problem by just downgrading my Steamworks, but it should probably be fixed. It probably wouldn't be that hard.

from steamworks-rs.

Thinkofname avatar Thinkofname commented on July 17, 2024

ah, I haven't been following the latest releases and assumed the api would stay stable so I'm surprised they broke it. The hard part is deciding if we need to support the old sdk releases somehow or not. If we don't it'll be a major version bump on this crate too.

from steamworks-rs.

kaikalii avatar kaikalii commented on July 17, 2024

I just looked at the header for the new version of the SDK. Here is the culprit:

inline bool SteamGameServer_Init( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString );

Looks like they removed the uint16 usSteamPort parameter, which was the second.

A major version bump is probably the thing to do I would think. Unless you could do something fancy dynamically checking the SDK version and then using the generated binding differently?

from steamworks-rs.

Thinkofname avatar Thinkofname commented on July 17, 2024

tried to take a quick look with the new flat api stuff that was done on master and it seems like there are more breakages too.

239   |             let utils = sys::SteamAPI_SteamUtils_v009();
      |                              ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `SteamAPI_SteamUtils_v010`

The newer api versions some of the api call methods, so we'll have to version bump anyway to support that. Guess when thats done i'll have to document the required sdk version in the readme

from steamworks-rs.

Thinkofname avatar Thinkofname commented on July 17, 2024

4d91f19

This now builds against v151. It didn't suffer from the SteamGameServer_Init issue. At some point i'll try and push a new version to crates.io when I have some free time to test it some more.

from steamworks-rs.

Dmajster avatar Dmajster commented on July 17, 2024

4d91f19

This now builds against v151. It didn't suffer from the SteamGameServer_Init issue. At some point i'll try and push a new version to crates.io when I have some free time to test it some more.

Awsome, I'll test it out and see how it goes. Thank you again for such a propt response! You're awsome! :)

from steamworks-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.