SteamRE / open-steamworks

Open Steamworks is a set of reverse engineered headers for the Valve's Steam Client. More or less abandoned now that the Steamworks SDK is publically available.
252 stars 86 forks source link

Steam4NET2 no longer working since Steam latest update #11

Closed omega32 closed 9 years ago

omega32 commented 9 years ago

I'm currently using the Steam4NET2 library... but since the last Steam update, it's no longer working.

I can't create the IClientEngine interface. The following code used to work, but now ClientEngine is null:

if (!Steamworks.Load())
    throw new SteamException("Unable to load steamclient library.");

IClientEngine ClientEngine;
try
{
    ClientEngine = Steamworks.CreateInterface<IClientEngine>();
}
catch (Exception ex)
{
    throw new SteamException("Unable to get IClientEngine interface.", ex);
}

if (ClientEngine == null)
    throw new SteamException("Unable to get IClientEngine interface.");

This code now throws the "Unable to get IClientEngine interface" exception. It was working before the latest Steam update.

Any ideas? Do we need to update IClientEngine to match the one in the Steam client? Any help would be appreciated. Thanks.

emily33901 commented 9 years ago

i can confirm broken for opensteamworks aswell

omega32 commented 9 years ago

Great. It's working again. Thanks @Netshroud !