Hi.
This builds upon Bluntest's Moonlight (original post) and adds the ability for users to register an account right from the client. So its basically a mini-launcher.
Please read his original post to better understand how to work this thing & full credits to that project's creators & contributors
Swordie Discord:
How to set-up Swordie v176: here
Also, I basically hacked this together using YouTube and searching on Google, so please forgive the bad code and feel free to give me detailed instructions on how to improve this.
You will need Connector/Net for this to work:
Source:
Download (this was compiled to work with my server credentials, don't recommend you use this):
Screenshots:
How to use for your server credentials:
Register form features:
Alright have fun & hope it works for you lmao.
This builds upon Bluntest's Moonlight (original post) and adds the ability for users to register an account right from the client. So its basically a mini-launcher.
Please read his original post to better understand how to work this thing & full credits to that project's creators & contributors
Swordie Discord:
You must be registered to see links
How to set-up Swordie v176: here
Also, I basically hacked this together using YouTube and searching on Google, so please forgive the bad code and feel free to give me detailed instructions on how to improve this.
You will need Connector/Net for this to work:
You must be registered to see links
Source:
You must be registered to see links
You must be registered to see links
How to use for your server credentials:
- Clone repository
- In Client.cs, edit this line to match your server credentials:
- Change from Debug to Release.
- Build solution
- In Client.cs, edit this line to match your server credentials:
Code:
private MySqlConnection connection = new MySqlConnection("server=localhost;port=3306;username=root;password=;database=swordie");
- Change from Debug to Release.
- Build solution
Register form features:
- Will validate that all fields filled
- Will validate that username and password are at least 4 characters long
- Will validate that username is not already taken
- Return error message if any of the above are violated
Didn't bother validating email because who enters real emails anyway right?
- Will validate that username and password are at least 4 characters long
- Will validate that username is not already taken
- Return error message if any of the above are violated
Didn't bother validating email because who enters real emails anyway right?
Alright have fun & hope it works for you lmao.
Last edited: