Jump to content

Martin (Dragonsan)

Administrators
  • Posts

    1675
  • Joined

  • Last visited

Posts posted by Martin (Dragonsan)

  1. 2 hours ago, Doxia Studio said:

    Hello Again! That example is helping a lot. 
    Just to be clear, so I create the users in my Database, they won't be added in the "Accounts", right? (Accounts that I can see from the Atavism Editor.

    So when I do the Login, my php send an "id" and it saves all the data on Atavism DB using that id. Am I correct? 

    Is possible to see the Atavism Live demo you mentioned above? I checked the youtube channel but didn't find it.

     

    Thanks again!

    They will be created in the accounts in the master and admin tables.

    So, the flow is like this.

    1. User is registering on your website

    2. User is logging in into the game

    3. During the login process, Atavism is checking if credentials are ok, and other conditions are met using a remote authenticator script, where you can check if the user has an active subscription or purchased your game, so you can handle any use case you want, and if all is fine, it's returning information with the user id.

    4. Then Atavism is getting this data, and checking if the user with the username/mail exists in the database, and if not, it is being created, and the user is logged in.

    This way, your users exist in the Atavism database, you can also ban them there or change their role to admin, but credentials are handled by the external authenticator, so the user can manage his account directly using your website, can change password use some forgot password functionality, etc.

    Here is the Atavism Live Demo link https://dragonsancom-my.sharepoint.com/:u:/g/personal/support_dragonsan_com/EQ3M0mzyUbROo2LR7SdicUkBOyuIdiIE9sAu96yI5lelWw

    It's a launcher that will download the game.

  2. 1 hour ago, TeddyCRAM said:

    also is there a Discord link that works ? The widget on the side does not open the discord channel it just opens a new tab.

    Sorry about that, it seems that the plugin stopped working after one of the updates, but the discord link is on our main website in the support section https://discord.gg/z95htJA as well as on the main forum page in the top section.

    We also updated the code in the plugin to have the proper link.

  3. 19 hours ago, TeddyCRAM said:

    I am having an issue with the Atavism Manager.

     

    I have the windows standalone server install and everything is working perfect. I can login to the game and test it and the Window manager is working and says everything is connected. I just cant get the small icons to turn green. Is there something i need to do? They just keep flashing at me.

     

     

    Also second question:

    When I add new skills and abilities via the Standalone Editor and then launch the game in the Unity editor I cant see the added items until I completely restart the auth/world/database server. Is there a faster way ?

     

     

     

     

    ID.PNG

    These controls in the Atavism Standalone Editor are only for the Atavism Virtual Machine or Atavism Cloud Servers. It's because they require an additional configuration. For Windows Manager status and controls are directly in the Manager.

    Atavism server uses a caching system, to prevent querying database constantly and cause unnecessary overhead, that's why the server restart is required to load new entries and configuration.

  4. 5 hours ago, Helix said:

    Hi Todd!

    I would just let you and others that might find this thread having the same question know that we post automated update scripts for the Cloud Server on the Atavism Discord server :)

    But I realize that some of you are not on Discord, so I will start posting the update scripts on the forums as well.

    Perfect, thank you.

  5. Yes, the server was in version X.3 and it has some custom elements like footsteps, audio elements, and we are updating it to the newest version X.5. It's taking time, especially that we were busy with the preparation of the newest patch that we released yesterday, but I think we should be able to start the server soon. I'll let you know when it will be live, and you will also see the online status in the forum in the right section on the main page.

  6. The prompt problem could be due to '' characters, sometimes when you are copying such command and pasting it's causing an issue, but basically this command let's you to create a user with native password. You can also use similar command to alter user, but instead of create user you would have to use alter user at the beginning of it.

  7. You can just create a user with native password authentication

    CREATE USER 'jeffrey'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

    CREATE USER 'jeffrey'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

    And then grant privileges to the admin, atavism, master, and world_content databases

  8. Ensure that the server port 3306 is accessible from your PC. You can do this with telnet or nmap (Linux). First do this locally to ensure that the database is running like

    telnet 127.0.0.1 3306

    or

    nmap 127.0.0.1 -p 3306

    If it will work then use server IP on the server, like

    telnet YourServerIP 3306

    or

    nmap YourServerIP -p 3306

    If it won't work (port will be closed), then there are two options:

    1. MySQL is bound on the localhost address only, and you need to change it in the MySQL configuration file (usually in the /etc/mysql/mysql.conf.d/mysqld.cnf) you need to modify entry 

    bind-address from 127.0.0.1 to 0.0.0.0

    and then restart MySQL service

    sudo systmectl restart mysql

    2. Your server firewall is blocking incoming connection. In this case, depending on your configuration you have to disable it or open 3306 port.

  9. 2 hours ago, johnskiii said:

    I spoke too soon, I cannot enter the world. Says "servers at capacity"

    This is something different. This means that your license key or email that you set in the world.properties configuration file are incorrect, your server doesn't have access to the internet or it cannot resolve domain names.

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.