• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to create Standalone Game Launcher

Skilled Illusionist
Joined
Jun 19, 2014
Messages
315
Reaction score
71
part 1


part 2


Hello Folks,

Today I will be showing you how to create your own custom launcher for your own server. This is super easy.
We will be using C# in Windows Forms.(I am using Visual Studio 2013)

(If you don't understand what a launcher is, I will attach my personal one)

Why should I make a custom launcher for my server?

Custom launchers are a nice addition to your server, and If you do it right, It will look professional.

Advantages

-Good way to advertise server, only your server will be seen
-Easy to make, yet still looks good

Disadvantages

-Players need to download your tool to launch your server
-Some people might stay away from it thinking it's a virus..


What you need:

-Any version of Visual Studio that supports C# and Forms together
-3 minutes
-A server IP and Port

Step 1.

Launch Visual Studio, and create a new project. Name it whatever you like, such as 'RolePlay Launcher' or 'rLaunch' Then select the C# language (Visual C#) and choose Windows Forms Application.

Step 2.

Make your window the custom size, color etc you want. The better you make it, the better it will look

Make sure to add a button, and Rename it 'Play!' or 'Launch'

Step 3.

Double click the window(In the application you're making) and you will see the code. Find:
Code:
private void button1_Click(object sender, EventArgs e)

And change the whole Codeblock to this:

Code:
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("samp://[IP]:[PORT]");
}

In my case, it would be:

Code:
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("samp://75.127.13.245:7780");
}

This will tell the application to Open your specified IP, and launch the .

Then pres F5 to compile your code, and it should come up without errors.

Step 4.(Optional)

If you have a website for your server make a 'Web Browser' Tool from the Toolbox window, and change the URL to your website link in 'Properties'.

Step 5.(Optional)

Upload to your website and let your users use it!

Once again, if you have a website, Upload your program to it, so your users can download it!



Hope I could help, thanks for reading!
 
Last edited:
Newbie Spellweaver
Joined
Nov 26, 2014
Messages
15
Reaction score
1
nice tut Can you tell me more about how to make serverlist?
 
Initiate Mage
Joined
Aug 26, 2021
Messages
3
Reaction score
1

hello my friend, this launcher can emulate steamemu to launch the client?