Public repository coming Soon™
Welcome to the repository for Sitekick Remastered!
- Unity Hub
- Unity 2021.3.8f1
- MySQL (I recommend downloading the MySQL Installer and installing the items through there)
- Visual Studio or VSCode (VS Code will require some more setup to utilize the C# Server Solution)
- Go through the MySQL Server setup and create a local mySQL database on port 3306.
- Once you have that created, run the schema and data files to get the database filled with the correct tables and data.
- You'll need to manually add your account to the
accounts
table. One of the current developers should be able to get your the values you need for yourpassword
andpassword_salt
. Make sure you haveVerified = 1
- Once you have that and your database is running we can move on to setting up the Server
- The Server solution is located in
/Server/Project/SitekickServer.sln
. - You will need to update your
Server.config
file to match your local database created in the last step. The file is located at /Server/Project/SitekickServer/Server.config - Once you have the updated
Server.config
you should be able to run the Server either via your IDE or by the executable itself (created after you build it for the first time). Once it's running it should look like this
If you make any changes to the SharedServices
project you'll need to build the solution in Release
configuration so it copys the .dll
file to the correct area for Unity.
- To open the project in Unity you'll need to select the
Sidekick
. - Once you have it open you'll need to update a few variables before you run it for the first time.
- Go to
File > Build Settings
and it should be set toWindows, Mac, Linux
. Check off theDevelopment Build
box. It should look like this - Go to
Player Settings
at the bottom of the window above. Make sure theVersion
is set to the most current version. - Close out of these settings and navigate to
Assests/Data/GameConstants.asset
or search for it via the Search bar. - Set your Target Server to
Local
- You do not need to build in Unity. You can utilize the Play functionality at the top of the screen.
- To do this, navigate to
Assets/Scenes
and choose theLogin
scene. - Click on the Play button and it should start running in the
Game
display in Unity. - Login with your credentials that you manually input into the
accounts
table when setting up your database. It will cache your credentials as well.