[QUOTE=Braindrain85;455108]
I’ve made a slight change to the AdvancedSessionsLibrary.cpp , because otherwise it crashes for me if I don’t have started the steam-client beforehand:
void UAdvancedSessionsLibrary::UniqueNetIdToString(const FBPUniqueNetId& UniqueNetId, FString &String)
{
const FUniqueNetId * ID = UniqueNetId.GetUniqueNetId();
if ( !ID )
{
UE_LOG(AdvancedSessionsLog, Warning, TEXT("UniqueNetIdToString received a bad UniqueNetId!"));
String = "ERROR, BAD UNIQUE NET ID";
}
else
{
String = ID->ToString();
}
}
Thanks for this great plugin!
Whoops! Good catch, will fix.
[QUOTE=polygon;454491]
Hi ,
thank you very, very, veeery much for your effort! This is so super awesome and I will test it on monday! The possibility to display steam avatars is so extremely useful and now we can design really cool steam friend widgets! Yeeehaaa!
EDIT: A very small request came to my mind recently: Would it be possible to get your own Steam ID? (In order to place your own avatar on the home screen of the main menu for example)
Best regards,
Daniel
There is already a node “GetUniqueNetID(APlayerController *PlayerController, FBPUniqueNetId &UniqueNetId)”, pass in the player controller (0 for default player) and then use that unique net id to pass into the get steam avatar node.
I am uploading a newer version of the plugin with the ToString fix and a speed up to the get avatar node.
Edit Uploaded