Announcement

Collapse
No announcement yet.

MMO Starter Kit

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

    CodeSpartan Can I host the server LOCALLY (localhost 127.0.0.1)? All I need is a dev server for me to test on and once I get to some point in development, I can upload it to a dedicated hosting to test it with other clients... I am just not sure how is this gonna work. Can I use WAMP or XAMP?

    Comment


      I believe a few hundred posts back someone was talking about Xamp and using Xamp to host the PHP files and Database. The client and server can be run with the "-local" as seen the the online docs under section
      Running the server on your local computer
      (Sorry, was a cut and paste.)

      numbers 7 thru 9 show how to run it locally, and even how to have people connect to your locally run machine.

      (Be sure to have PHP 5.5 or higher with Xamp so the PHP scripts will work.
      Clifford Brock

      Gamer / Tinkers with MMO Kit
      Game: Claws&Paws

      Comment


        I'm contacted by people who use WAMP or XAMP all the time and this causes problems for them. Once they upload scripts to a normal web host, problems go away. Obviously, you can configure these apps to work correctly, but you'd have to do some googling and tweaking, and you also need to make sure that the php scripts are accessible from outside, using your PC's IP.

        Running the client with "-local" is only necessary if you're running it on the same PC as the server. Obviously, his friends would be on their own PCs, so they don't need to use that parameter.

        Also, people who've tried it, always ran into firewall and router issues (ports have to be forwarded, but firewall often blocks it anyway).

        So what I would recommend is run the entire thing on a proper server. Once it works, you can start trying to run it on your machine. Because otherwise you'll run into issues and you'll assume that it's the kit's fault or that you did something wrong.
        MMO Starter Kit
        Dialogue Plugin
        Voxel Plugin
        Character Customization: Female
        Character Custmization: Male

        Comment


          Good info CS... I ran my PHP scripts with GoDaddy with a Cheapo account.... until the patcher came up... Never got it to work on GoDaddy cheap server. I didn't have enough time for the patcher stuff to run and their tier three support said I would have to upgrade my server to one that was like 60 bucks a month. I don't want to spend that much for something I goof with. Nor does my wife want me to spend that much LOL...… Thank you again for the info about -local I had wondered about that, I knew the4 client wouldn't need it. I wondered about the server.

          CS, have I told you how much I enjoy this kit. It has been some of the best money I have ever spent. Thank you again for building it.
          Clifford Brock

          Gamer / Tinkers with MMO Kit
          Game: Claws&Paws

          Comment


            Hello there!

            CodeSpartan (technical talk)
            Regarding the starter kit server, how is it done - are you using UDP? What is using REST?
            The MMO Starter Kit was developed a few years ago, and it has a nice support (which is awesome!). But how do you feel about it looking at it now? Do you believe the technology used has been "passed" and a better job can be done?

            (non-technical talk)
            I'm a nodejs developer and I want to know how much can be done with it. I'm currently planning for an isometrical MMORPG (much like Albion Online) with some focus on economy and pvp. I'm planning on multiple areas (instanced) and I'm thinking heavily on how will the server react when there are big fights (i.e. 500+ on the same map), so focus on performance is something really big. Very few games have done a good job on that and optimizing this is really hard, so I really want to hear your opinion.

            Comment


              Originally posted by CodeSpartan View Post
              I'm contacted by people who use WAMP or XAMP all the time and this causes problems for them. Once they upload scripts to a normal web host, problems go away. Obviously, you can configure these apps to work correctly, but you'd have to do some googling and tweaking, and you also need to make sure that the php scripts are accessible from outside, using your PC's IP.

              Running the client with "-local" is only necessary if you're running it on the same PC as the server. Obviously, his friends would be on their own PCs, so they don't need to use that parameter.

              Also, people who've tried it, always ran into firewall and router issues (ports have to be forwarded, but firewall often blocks it anyway).

              So what I would recommend is run the entire thing on a proper server. Once it works, you can start trying to run it on your machine. Because otherwise you'll run into issues and you'll assume that it's the kit's fault or that you did something wrong.
              Actually mate, I managed to do it, i has a bit of lag, but that's fine. I wanted to just test the MMOkit myself while developing the environment and stuff. When I am ready to put it on a server for my friends to test it for me (I have a QA tester friend who said he will do the testing), I will.
              Last edited by WhiteSkyMage; 09-23-2018, 07:12 AM.

              Comment


                Originally posted by WhiteSkyMage View Post

                Actually mate, I managed to do it, i has a bit of lag, but that's fine. I wanted to just test the MMOkit myself while developing the environment and stuff. When I am ready to put it on a server for my friends to test it for me (I have a QA tester friend who said he will do the testing), I will.
                Congrats man.
                Clifford Brock

                Gamer / Tinkers with MMO Kit
                Game: Claws&Paws

                Comment


                  Originally posted by SakushiMei View Post
                  Hello there!

                  (technical talk)
                  Regarding the starter kit server, how is it done - are you using UDP? What is using REST?
                  The MMO Starter Kit was developed a few years ago, and it has a nice support (which is awesome!). But how do you feel about it looking at it now? Do you believe the technology used has been "passed" and a better job can be done?
                  It uses C# for the chat server and php scripts for database communication. I recently had to use nodejs and from what I've seen of it, it could be used for both chat and database management in one program, so if I was doing it today, I'd look into that.

                  Originally posted by SakushiMei View Post
                  (non-technical talk)
                  I'm a nodejs developer and I want to know how much can be done with it. I'm currently planning for an isometrical MMORPG (much like Albion Online) with some focus on economy and pvp. I'm planning on multiple areas (instanced) and I'm thinking heavily on how will the server react when there are big fights (i.e. 500+ on the same map), so focus on performance is something really big. Very few games have done a good job on that and optimizing this is really hard, so I really want to hear your opinion.
                  I'll give you my opinion if you promise not to hate me for it I have a very strong belief that it's paramount to concentrate on gameplay, and absolutely forget the rest. I had a friend who chased heavy performance optimizations and wrote his own implementation of ECS for Unity, refactored the code a million times to make it perfect, created a special coordinates systems that would allow for a gigantic world that's not otherwise possible with Unity, and other stuff like that. Only to realize a year later that he had no gameplay, no serious design document for gameplay, just some general concept and some cool ideas that don't necessarily even work together. And I've seen it many times. Everyone thinks "that story is not about me, my idea is just brilliant". My recommendation is to forget optimizations, to prototype the gameplay as soon as possible and put concrete ideas on paper.

                  You want to do an mmo with a focus on economy and pvp?

                  1- Ok, I imagine you'll want to do a crafting system? Show me (figuratively) 30-40 pages of design document on crafting, how it seamlessly integrates with all other aspects of your game. Write at least 50 recipes. Are they interesting or are they mundane and utterly boring? Show me that you can do it, that it's not just some vague desire for a crafting system that looks cool in your head when you imagine it. If you can't do it, you've got a problem. Worry about technical aspects 2 years from now.

                  2- Show me (figuratively, I mean show yourself) a pvp system that'll keep you engaged for hours. Prototype it and play it with your friends. Is it really as great as you thought it'd be? Iterate on it until it's so fun, your friends are begging to turn the servers on. If nobody wants to come back to it, your have a problem.
                  Last edited by CodeSpartan; 09-24-2018, 11:32 PM.
                  MMO Starter Kit
                  Dialogue Plugin
                  Voxel Plugin
                  Character Customization: Female
                  Character Custmization: Male

                  Comment


                    Hey, thanks for the answer!!

                    Originally posted by CodeSpartan View Post

                    It uses C# for the chat server and php scripts for database communication. I recently had to use nodejs and from what I've seen of it, it could be used for both chat and database management in one program, so if I was doing it today, I'd look into that.
                    Can I say I love you already? I've been developing nodejs servers for years. Guess it's time to use that knowledge.

                    Originally posted by CodeSpartan View Post
                    I'll give you my opinion if you promise not to hate me for it I have a very strong belief that it's paramount to concentrate on gameplay, and absolutely forget the rest. I had a friend who chased heavy performance optimizations and wrote his own implementation of ECS for Unity, refactored the code a million times to make it perfect, created a special coordinates systems that would allow for a gigantic world that's not otherwise possible with Unity, and other stuff like that. Only to realize a year later that he had no gameplay, no serious design document for gameplay, just some general concept and some cool ideas that don't necessarily even work together. And I've seen it many times. Everyone thinks "that story is not about me, my idea is just brilliant". My recommendation is to forget optimizations, to prototype the gameplay as soon as possible and put concrete ideas on paper.

                    You want to do an mmo with a focus on economy and pvp?

                    1- Ok, I imagine you'll want to do a crafting system? Show me (figuratively) 30-40 pages of design document on crafting, how it seamlessly integrates with all other aspects of your game. Write at least 50 recipes. Are they interesting or are they mundane and utterly boring? Show me that you can do it, that it's not just some vague desire for a crafting system that looks cool in your head when you imagine it. If you can't do it, you've got a problem. Worry about technical aspects 2 years from now.

                    2- Show me (figuratively, I mean show yourself) a pvp system that'll keep you engaged for hours. Prototype it and play it with your friends. Is it really as great as you thought it'd be? Iterate on it until it's so fun, your friends are begging to turn the servers on. If nobody wants to come back to it, your have a problem.
                    No hate. :P

                    The idea is to make something fun that won't crash, meaning fun comes before crash. It's pointless to add a supermachine to something that doesn't look fun. My idea was to use the MMO Starter kit as something to (1) boost development time and (2) reuse code for refactoring later on if it needs optimization. To be fairly honest, there are some things to consider before talking about server optimizations -- the combat gameplay needs to be really good or else we're going to have problems, and gathering-crafting needs to be interesting enough to draw a % of the playerbase, as it seems the gathering-crafting playerbase can move the whole server downside or upside.

                    PvP reputation system? Lore? Some of these things are slightly less important but still important and worth discussing before the development of the server, as some of these things usually impact on development (example: if we're going to have a reputation system, we need a database to save that info and etc).

                    But going forward: if you're telling me that there's a starter kit with a powerful engine+server that can draw stupidly beautiful graphics and still get 60 frames per second (example: Albion doesn't get 20 on big fights. It has less than 1/10 of the beautiful graphics. It's sad), I feet like I HAVE to ask the question: how strong is the server? Some of the answers are on this thread already (thanks for answering everyone). I feel like this is a really good kit for the client side and, if the server fails, I'll just refactor when needed. This is good enough for me, if I'm going to start development. I have a strong understanding of php (due to web dev and... uhh... Ragnarok Online private servers. Shoot me) and C# (Unity and... uhh... XNA, from a few years ago. Shoot twice), so if I need, I can refactor.

                    Now, more questions - do you believe with the current technology it is possible to have a 400-500 ZvZ PvP? Do you think that, with a good server (hardware wise), the MMO starter kit can handle that, or it is impossible?

                    Also, instead of having a 20km map - can we do 20x 1km maps and have the server handle it? How much refactoring will the client side need?

                    Comment


                      Originally posted by SakushiMei View Post
                      the MMO starter kit can handle that, or it is impossible?
                      Please keep in mind that the MMO Kit is just a couple of tools for UE4 to make it more MMO-capable and basically a template project. It's not a standalone server solution or anything like that. So the question is simply how many players can UE4 handle.

                      Originally posted by SakushiMei View Post
                      do you believe with the current technology it is possible to have a 400-500 ZvZ PvP? Do you think that, with a good server (hardware wise), the MMO starter kit can handle that, or it is impossible?

                      Also, instead of having a 20km map - can we do 20x 1km maps and have the server handle it? How much refactoring will the client side need?
                      It all depends on the amount of game logic that the server has to handle and the amount of replicated information. I can't tell you what's the maximum that UE4 can handle for your game. If I had to guess based on your specifications (and I don't even know if it's point-n-click movement or WASD, if you can move camera beyond your character or if it's always centered on your character, etc), I'd say 200 players for a single server is the maximum in your case if we're being optimistic. If you place objectives around the pvp zone in different places, you can run parts of a level on one server, parts on another. If it's necessary, on 3 servers, to reach your desired player limit in the pvp zone. They'll never see each other at the same time, but they'll all participate in one event. If the transfer between servers is done seamlessly without loading screen, they'll probably never suspect a thing. And just generally speaking, your world should be divided into many areas, each area being run on a separate server. All MMOs do this.
                      MMO Starter Kit
                      Dialogue Plugin
                      Voxel Plugin
                      Character Customization: Female
                      Character Custmization: Male

                      Comment


                        Originally posted by CodeSpartan View Post
                        Please keep in mind that the MMO Kit is just a couple of tools for UE4 to make it more MMO-capable and basically a template project. It's not a standalone server solution or anything like that. So the question is simply how many players can UE4 handle.
                        Alright - thanks for the answer!

                        Originally posted by CodeSpartan View Post
                        It all depends on the amount of game logic that the server has to handle and the amount of replicated information. I can't tell you what's the maximum that UE4 can handle for your game. If I had to guess based on your specifications (and I don't even know if it's point-n-click movement or WASD, if you can move camera beyond your character or if it's always centered on your character, etc), I'd say 200 players for a single server is the maximum in your case if we're being optimistic. If you place objectives around the pvp zone in different places, you can run parts of a level on one server, parts on another. If it's necessary, on 3 servers, to reach your desired player limit in the pvp zone. They'll never see each other at the same time, but they'll all participate in one event. If the transfer between servers is done seamlessly without loading screen, they'll probably never suspect a thing. And just generally speaking, your world should be divided into many areas, each area being run on a separate server. All MMOs do this.
                        UE4 has proven with other MMOs (like the Project Genom :P ) that it's pretty good regarding the amount it can handle. I'm going for a point n click movement with centered but scalable/zoomable camera. Since I now know how many players I can have in one space, this also means that I need to find a game design to separate them from other places. The idea was to divide the world into a lot of different areas, with loading screens for each area so they "load different servers" (there's a lot of logic behind this, so this is just for simplicity), but I'm afraid some areas might be super overloaded, meaning I'll have more general servers with subservers which is.... scary.

                        Either way, thanks! No more questions. I'll probably get the MMO Kit soon.

                        Comment


                          where can i find the blueprint for choosing 3 classes at create player?

                          Comment


                            The widget blueprint is called MainMenu. Unhide the [NewCharacterPanel] by clicking the eye icon next to it.
                            MMO Starter Kit
                            Dialogue Plugin
                            Voxel Plugin
                            Character Customization: Female
                            Character Custmization: Male

                            Comment


                              Anyone needing mmokit support we have a discord with a heap of mmokit users. CodeSpartan had put us in his original post as the unofficial discord for his kit. Come join us!

                              Comment


                                CodeSpartan what are your plans for the kit? Will we see an port to 4.21 when its released? And what about new changes?

                                Comment

                                Working...
                                X