mwage / darkrift2_boilerplate Goto Github PK
View Code? Open in Web Editor NEWLogin, Friendlist, Chat (with PM and chatgroups) and Rooms. Using MongoDB.
License: MIT License
Login, Friendlist, Chat (with PM and chatgroups) and Rooms. Using MongoDB.
License: MIT License
when i import it into unity 2017.3 i have errors:
Feature `null propagating operator' cannot be used because it is not part of the C# 4.0 language specification
Rebuild All fails because DBConnector needs to be a dependency of Login so it gets built first.
First, i really appreciated for you sharing these boilerplater. After following the notes, and starting the Dark Rift 2 Pro server, i am getting the following when starting Login scene on Unity 2018.1.4 :
[Exception] NullReferenceException: Object reference not set to an instance of an object
LoginManager.Awake() Assets/Scripts/Login/LoginManager.cs:28
26: private void Awake()
27: {
-->28: GameControl.Client.MessageReceived += OnDataHandler;
29: }
And my console being spammed by these error :
[Exception] NullReferenceException: Object reference not set to an instance of an object
Login.Update() Assets/Scripts/Login/Login.cs:49
47: private void Update()
48: {
-->49: var condition = GameControl.Client.Connected
50: && UsernameInput.text.Length >= 2 && PasswordInput.text.Length >= 2
51: && Rsa.Key != null;
Is there any change getting the compelete Runling project files (Arts, sounds,etc) ?.
It seems that upon starting the launcher scene, the login scene changing itself into mainmenu without proper login, i have checked everywhere in awake or start function to properly checked it but it's still 'passthrough' itself into mainmenu scene :
if (LoginManager.IsLoggedIn)
{
gameObject.SetActive(false);
}
else
{
SceneManager.LoadScene("Login");
}
My console is spammed with the following :
Player not logged in!
FriendManager.OnDataHandler() Assets/Scripts/Friends/FriendManager.cs:360
DarkRift.Client.Unity.<Client_MessageReceived>c__AnonStorey2.<>m__0() Assets/DarkRift/Plugins/Client/UnityClient.cs:305
ActionDispatcherTask.Execute()
Dispatcher.ExecuteDispatcherTasks()
UnityClient.Update() Assets/DarkRift/Plugins/Client/UnityClient.cs:214
I am having trouble pulling data from the database using this method. Everything works but I cannot figure out how to return the data from that specific interface.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.