Announcement

Collapse
No announcement yet.

MMO Starter Kit

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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)

    Comment


      Nvm, i found it

      Comment


        ok now on mobile preview my character is turned 90* on the right all the time, and me and the enemy bots are walking 1 meter from the ground :P. none of these apply on normal preview

        Comment


          seems like it doesnt read the transform input

          Comment



            Originally posted by yskwork View Post
            How 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 Post
            CodeSpartan This Is How I Uploaded My Game To The Deployer And Download It Using The Launcher
            https://www.youtube.com/watch?v=phVm5g7RReY
            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.
            MMO Starter Kit
            Dialogue Plugin
            Voxel Plugin
            Character Customization: Female
            Character Custmization: Male

            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.
              i've messaged u my settings.ini via email and what u mean by im not supposed to manual zip my game?

              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.
                hey so i tried to laucnh the launcher in debug mode and i cant go in the game when i clicked Play
                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
                Attached Files

                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?
                  Attached Files
                  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 Post
                      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);
                      }
                      I think it's much likelier that the bug is on the chatserver side. Any errors in its log? Because I get occasional errors on mmokit's demo chat server. I'll investigate soon.
                      MMO Starter Kit
                      Dialogue Plugin
                      Voxel Plugin
                      Character Customization: Female
                      Character Custmization: Male

                      Comment


                        tests, after 600 seconds, chat don't show

                        chatserver, no chat displayed, no any errors in its log

                        Attached Files

                        Comment


                          Originally posted by yskwork View Post
                          tests, after 600 seconds, chat don't show

                          chatserver, no chat displayed, no any errors in its log
                          You're trying to connect to socket again? Why?
                          MMO Starter Kit
                          Dialogue Plugin
                          Voxel Plugin
                          Character Customization: Female
                          Character Custmization: Male

                          Comment


                            Originally posted by CodeSpartan View Post

                            You're trying to connect to socket again? Why?
                            can u show me how to integrate the advanced locomotion v3 that free in the marketplace rn with the kit..can u show me

                            Comment


                              after 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


                                Originally posted by yskwork View Post
                                after 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
                                That code was battle tested by thousands of hours on a real project, so no. But the chat server is slightly different from the one we used there. What version of the kit are you on?
                                MMO Starter Kit
                                Dialogue Plugin
                                Voxel Plugin
                                Character Customization: Female
                                Character Custmization: Male

                                Comment

                                Working...
                                X