Announcement

Collapse
No announcement yet.

[FREE] VaRest Login System - With PHP and MySQL

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

    [ASSETS] [FREE] VaRest Login System - With PHP and MySQL

    Update 01/04/2020:
    - I will update this System in the next few days.

    What will be updated?
    - Whole system gets it's own plugin that replaces VaRest.
    - Login Server will be based on Node.js.
    - New Database Standard will be MongoDB.
    - New Web Interface will be written with ReactJS.

    Have a good one!


    Greetings Community,
    Click image for larger version  Name:	2st.JPG Views:	1 Size:	27.0 KB ID:	1168684Click image for larger version  Name:	1st.JPG Views:	1 Size:	28.0 KB ID:	1168685
    I've created an very basic login system with PHP - MySQL - VaRest / UE4.
    I share this with you because I didn't see anything for such system in the web and because of that I want to support the community.

    What you need is :
    - Webserver with PHP
    - MySQL Server
    - UE4.9
    - Visual Studio 2013 ( if editor needs to recompile plugin )

    What to do?
    First import the SQL file into your MYSQL Database.
    You can write login information into the table.
    ( Default User is : testuser - testpassword ).
    Upload the webfiles to your webserver and change the mysql configuration in config.php.

    Open the ue4 project and open the game instance. Then change the ServerURL variable * http://[YourHost]/ ( It is important that you make a / on the end and use http:// on the beginning. )
    * In version 1.2 http://[YourHost]/api/ ( It is important that you make a /api/ on the end and use http:// on the beginning. )
    And now it should work.

    Tutorial how to setup a webapi on windows:

    Changelog:
    V1.2
    *Added
    Ban System
    Basic Webinterface with Registration and Login

    *Changed
    Database Structure
    Directory Structure of Webapi
    **Please use in Unreal Engine as ServerURL http://(yourserver)/api/

    NEW:
    Download VM with the complete webapi:
    http://sparkfire.openapi.devnetworks.xyz/vm/

    SVN for Webfiles:
    https://svn.riouxsvn.com/sf-webapi

    Download:
    Compiled Demo:
    https://drive.google.com/file/d/0B3U...94alpjMXc/view

    Create Account under:
    http://sparkfire.openapi.devnetworks.xyz/?page=register

    UE 4.9.2
    V1.0
    https://drive.google.com/file/d/0B3UAvQWtBjZnTnY5QTFrdG93Qjg/view
    V1.2
    https://drive.google.com/file/d/0B3U...VULW5YRlk/view

    And if you want to support me:
    https://gumroad.com/l/hmKou



    P.s. Vladimir rocks!:
    https://github.com/ufna
    Cheers
    Last edited by BanderDev; 04-01-2020, 08:36 AM. Reason: added news to it.
    Unreal Developer since Unreal Engine 3

    #3
    Wow, awesome thank you!

    Comment


      #4
      Very cool!

      Comment


        #5
        Thanks ! I will code an webinterface for it in the next update with register system...
        Unreal Developer since Unreal Engine 3

        Comment


          #6
          I have been looking for this for ages ...

          Thanks very much for sharing :-)

          Comment


            #7
            That's very nice of you. Thx for sharing :>

            Comment


              #8
              Click image for larger version

Name:	working.JPG
Views:	1
Size:	42.5 KB
ID:	1097065
              Done in version 1.2
              Last edited by BanderDev; 12-16-2015, 12:23 PM.
              Unreal Developer since Unreal Engine 3

              Comment


                #9
                Thanks very much for sharing

                Comment


                  #10
                  Originally posted by CLBander View Post
                  [ATTACH=CONFIG]70314[/ATTACH]
                  Done in version 1.2
                  Click image for larger version

Name:	7XlW6v.png
Views:	1
Size:	24.5 KB
ID:	1097260

                  Hello. Thanks very much for sharing but this error and unreal engine 4 login panel server offline

                  Comment


                    #11
                    Do you have php5-mysql and what php version are you using?
                    I tested the system with Bitnami Wampp 7.0
                    Also I tested the system on Linux Ubuntu with Apache2 + PHP5 + PHP5-MYSQL + MYSQL-SERVER.
                    And if needed try to use ?page= behind your link.

                    If you have configured everything right it should work with the serverurl in ue4 http://localhost/api/


                    You can also try
                    Download VM with the complete webapi:
                    http://mvgaming.cf:1487/vm/
                    Last edited by BanderDev; 12-19-2015, 04:11 PM.
                    Unreal Developer since Unreal Engine 3

                    Comment


                      #12
                      Originally posted by CLBander View Post
                      Do you have php5-mysql and what php version are you using?
                      I tested the system with Bitnami Wampp 7.0
                      Also I tested the system on Linux Ubuntu with Apache2 + PHP5 + PHP5-MYSQL + MYSQL-SERVER.
                      And if needed try to use ?page= behind your link.

                      If you have configured everything right it should work with the serverurl in ue4 http://localhost/api/


                      You can also try
                      I use wampserver . I can not. Is there a tutorial on this subject.
                      Can you capture a video
                      Last edited by ceren999; 12-19-2015, 06:11 PM.

                      Comment


                        #13
                        Sure I can do a video....
                        Unreal Developer since Unreal Engine 3

                        Comment


                          #14
                          Originally posted by CLBander View Post
                          Sure I can do a video....

                          Thank you so much When you upload video
                          thanks again

                          Comment


                            #15
                            this may help in my project , i'm working on web portal for games
                            Game Designer @ Masked Pharaohs ..
                            I'm Providing Arabic Support For Any One ..

                            Comment

                            Working...
                            X