Or to be precise, on mobile preview it seems like i have no mesh and the weapon hangs on default position in the middle.(i can see the weapon)
Announcement
Collapse
No announcement yet.
MMO Starter Kit
Collapse
X
-
Originally posted by yskwork View PostHow does the client know if the dedicated server is down
The way I implemented it on one project was:
- Make the server access a special .php script every 10 seconds.
- The script then writes the date and time of the last time the server did that into the database.
- The client accesses another .php script that checks if "current time" - "last time" is over 10 seconds, returns "server is down" or "server is up" depending on the result.
Originally posted by KhxiSaki View PostCodeSpartan This Is How I Uploaded My Game To The Deployer And Download It Using The Launcher
https://www.youtube.com/watch?v=phVm5g7RReY
Comment
-
Originally posted by CodeSpartan View Post
The way I implemented it on one project was:
- Make the server access a special .php script every 10 seconds.
- The script then writes the date and time of the last time the server did that into the database.
- The client accesses another .php script that checks if "current time" - "last time" is over 10 seconds, returns "server is down" or "server is up" depending on the result.
This is great, you're doing almost everything right and everything works as intended. The only problem is that you're not supposed to manually 7zip your game. Your Settings.ini in the Uploader must point to an actual game directory, in which you have your game executable.
Comment
-
Originally posted by CodeSpartan View Post
This is great, you're doing almost everything right and everything works as intended. The only problem is that you're not supposed to manually 7zip your game. Your Settings.ini in the Uploader must point to an actual game directory, in which you have your game executable.
https://www.youtube.com/watch?v=jj5YgA0YTLc
https://www.youtube.com/watch?v=F69Uwb3v3cA
and when i launch the game using the default launcher folder i got fatal error when i clicked the play button
Comment
-
Get the skeletal mesh path,How to load a skeletal mesh from asset path
Or load by skeletal mesh name
USkeletalMesh* UMMOUtility::LoadMeshFromPath(const FName& Path)
{
if(Path == NAME_None) return NULL;
//~
return LoadObjFromPath<USkeletalMesh*>(Path);
}
UFUNCTION(BlueprintCallable, Category = "MMO Utility")
static USkeletalMesh* LoadMeshFromPath(const FName& Path);
Report errors ,why?Last edited by yskwork; 03-28-2019, 10:12 PM.
Comment
-
Two hours later, chat is invalid, May be because
void ASocketConnect::ConnectToSocket(const FString& Address, int32 port)
{
Socket = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateSocket(NAME_Stream, TEXT("default"), false);
FString address = Address;
FIPv4Address ip;
FIPv4Address::Parse(address, ip);
TSharedRef<FInternetAddr> addr = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr();
addr->SetIp(ip.Value);
addr->SetPort(port);
TGraphTask<FConnectTask>::CreateTask().ConstructAndDispatchWhenReady(this, Socket, addr);
//Start a timer to check when the thread is done
GetWorldTimerManager().SetTimer(CheckTimer, this, &ASocketConnect::CheckThreadsDone, 1, true);
}Last edited by yskwork; 03-31-2019, 02:40 AM.
Comment
-
Originally posted by yskwork View PostTwo hours later, chat is invalid, May be because
void ASocketConnect::ConnectToSocket(const FString& Address, int32 port)
{
Socket = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateSocket(NAME_Stream, TEXT("default"), false);
FString address = Address;
FIPv4Address ip;
FIPv4Address::Parse(address, ip);
TSharedRef<FInternetAddr> addr = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr();
addr->SetIp(ip.Value);
addr->SetPort(port);
TGraphTask<FConnectTask>::CreateTask().ConstructAndDispatchWhenReady(this, Socket, addr);
//Start a timer to check when the thread is done
GetWorldTimerManager().SetTimer(CheckTimer, this, &ASocketConnect::CheckThreadsDone, 1, true);
}
Comment
-
Originally posted by yskwork View Posttests, after 600 seconds, chat don't show
chatserver, no chat displayed, no any errors in its log
Comment
-
Originally posted by yskwork View Postafter 600 seconds,trying to connect to socket again, chat don't show
no trying to connect to socket again,Two hours later, chat don't show
May be because, ConnectToSocket
Comment
Comment