Steve_Yorkshire Posted April 2 Posted April 2 Once again Valve have preened the code in the Steamworks SDK with version 1.62, and once again this breaks @OTHGMars Steamworks Module. https://github.com/OTHGMars/Torque3D-1/tree/steamBase_wip The main changes are related to removing the ability for renaming the Steam User's persona on the fly, and user restrictions being removed from the SDK. Whether this is now handled on Steam's backend or has just been ditched ... I have no idea. It only affects the steamFriends.cpp/h files, which I have attached below for download. The original code is still in, just commented out using the Quote //yorks tag if you want to find it. Note this file also includes previous changes to fix building with the Steamworks SDK. Obviously the related torquescript functions mentioned in testScript.tscript will no longer work. //Steam_Friends //$GameCanvas.pushDialog(SteamFriendsGui); //Steam_Friends::getPersonaName(); //Steam_Friends::setPersonaName("NewPersonaName");//yorks no longer a thing in Steamworks SDK 1.62 ************************************************** //Steam_Friends::getFriendPersonaName("friendSteamID"); //Steam_Friends::getPersonaState(); //Steam_Friends::getUserRestrictions();//yorks no longer a thing in Steamworks SDK 1.62 ************************************************************* And neither will the callback in friends.tscript. /// Reports the result of an attempt to change the current user's persona name. /// %success (bool) True if name change completed successfully. /// %localSuccess (bool) True if name change was retained locally. We might not /// have been able to communicate with Steam. /// %resultCode (Int) The result of the operation. 1 = success. See /// https://partner.steamgames.com/doc/api/steam_api#EResult for other possible values. /*function onSteamSetPersonaNameResult(%success, %localSuccess, %resultCode)//yorks no longer a thing in Steamworks SDK 1.62 { echo("onSteamSetPersonaNameResult(" @ %success @ ", " @ %localSuccess @ ", " @ %resultCode @ ") Called."); }*/ steamFriends.h steamFriends.cpp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.