SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Reply
 
Thread Tools Search this Thread
Old 06-07-2017   #1
OrageSpark
Random Furry Trash
 
OrageSpark's Avatar
Default [TUTORIAL] How to host a server ?

ORAGESPARK'S TUTORIALS

1° How to host a server ?


Hi fellow mobians ! Today, I'm gonna teach you how to host a server on SRB2 (Windows).




Before we start, I want to point out that I'm French. I might make some grammar mistakes, sorry about this !

Baguette Power \o/



"Curses ! Why won't it work already ?"

First, you need to have your port forwarded.
To do that, you must type your IPv4 address in your browser's search bar (it works on anything : Firefox, Chrome, Opera, Safari... even Internet Explorer !).
To find your IPv4, you need to open the "cmd", also known as the command prompt. In order to find it, you'll need to type "cmd" in the Windows search bar (if you're using Vista, 7, 8, 8.1 or 10), or to open the "Run..." command by holding both Windows and R keys, and to type "cmd" in the bar (if you're using XP).

Once you've opened the cmd, type "ipconfig" and hit that Enter key.



You'll suddenly see a lot of informations. No worries, you won't need them all.



Now look for your IPv4 address. Once you've found it, type it in your search bar and press the Enter key. It should take you to your operator's web page from which you'll be able to setup stuff such as changing your IPv4 or, of course, forwarding your ports.
Of course, the page is not the same for everyone depending on which is your operator, but what you can do in it is mostly the same for you all.

You should see something that looks like this :



For everyone, the ID should be "admin" (or "administrator"), but the password might not be "admin", unlike what you can probably hear when you watch a tutorial on YouTube. For example, I had to type my box's password to access to the page. But if you can change your password later, I would recommend you to do so.

Now, I will add two additionnal steps that you probably won't find in any video. These are very helpful : I've actually had some issues and I had to change two things so I could host a server that is joinable for everyone.

1. Check if your IPv4 address is in your DHCP's range.

Yeah, that might sound weird, but it's actually pretty easy. Have a look :



In this case, my IPv4 was in the DHCP's range, which is 192.168.1.10 - 192.168.1.150.
If your IPv4 is in the DHCP's range, it means that if you host a server, it will only be accessible from your internal network, and we'll need to set the IPv4 to another address so the server can be accessible from anywhere... unless you're just going to host a LAN game, but this is not what we're looking for.
I had to set my IPv4 at 192.168.1.151.

If your IPv4 is already out of the DHCP's range, you're good. If not, you will have to set it to a different address.

2. Check if you have a static IPv4.

There are two types of IPv4 : static ones and dynamic ones. While static ones don't change, dynamic ones will change every time you launch your PC. It means that if you forward a port on a specific address, if you're using a dynamic IPv4, you'll have to forward your ports on a new address every time you'll want to host a server... and you don't want to do that.

If you have a dynamic IPv4, you'll have to delete it and then to set a static one. The procedure might change depending on your operator, but it shouldn't be too hard.

Very important !
Restart your PC if you've changed your IPv4, or else it won't work.

Now that you've done this, move on the "NAT/PAT" section (it's usually called that way). This is where serious stuff begins : we are going to forward our ports (finally !).



Here's what to do :

1. Create a new "rule".
2. Give it a name of your choice.
3. Create port forward entries : "5029" and "5029 - 5029"
4. Choose the UDP protocol
5. Choose your PC in the devices list
6. Create !

That's it !


Now, launch a multiplayer game on SRB2. Put it in the Casual Room if you're just going to test it. To make sure it's accessible, go on the Master Server's page and check if :

1. Your server is visible
2. You see its ping and gametype
3. When you click on "Query", the server responds and gives informations about the level you're currently playing in

If you see those three things, congrats :

You have succesfully hosted a server !


Here's your reward : a cute Felicia gif ! Don't thank me !

__________________
https://discord.gg/UAhJJrg

Last edited by OrageSpark; 06-08-2017 at 04:50 AM.
OrageSpark is offline   Reply With Quote
Old 06-07-2017   #2
Jazzz
Catgirl Enthusiast
 
Jazzz's Avatar
Default

Nice tutorial man. Everything is well explained, it will sure help people to host their server, since opening the ports is a recurrent FAQ on new players.
I'll point out that some routers don't have the "NAT/PAT" section, just "Port Fowarding", like mine:

Keep up the good work!
I loved the reward also.
Jazzz is offline   Reply With Quote
Old 06-07-2017   #3
OrageSpark
Random Furry Trash
 
OrageSpark's Avatar
Default

Thanks !

Hehehe
__________________
https://discord.gg/UAhJJrg
OrageSpark is offline   Reply With Quote
Old 06-10-2017   #4
Boo
Spoonman Heaven
 
Boo's Avatar
Default

Very good instructions, i recommend this to newcomers!
__________________
Some things just aren't for everyone and dreaming isn't prevented. Such perception is adverse.
Boo is offline   Reply With Quote
Old 06-10-2017   #5
OrageSpark
Random Furry Trash
 
OrageSpark's Avatar
Default

Thanks a lot !
__________________
https://discord.gg/UAhJJrg
OrageSpark is offline   Reply With Quote
Old 06-14-2017   #6
LoLface299
Wane
 
LoLface299's Avatar
Default

Finally, a REAL tutorial! This should be useful for most people so they don't bug other people about it.....wait that'll happen anyways
LoLface299 is offline   Reply With Quote
Old 05-11-2018   #7
JaySpark9
 
JaySpark9's Avatar
Default

Well for me the server is visible, but ping and gametype is "?"
JaySpark9 is offline   Reply With Quote
Old 05-11-2018   #8
ItsKooper
Doesn't do much
 
ItsKooper's Avatar
Default

Quote:
Originally Posted by JaySpark9 View Post
Well for me the server is visible, but ping and gametype is "?"
This happens to me as well, even after port forwarding and doing everything mentioned in this tutorial. I guess it's a problem from my router.
ItsKooper is offline   Reply With Quote
Old 05-24-2018   #9
Panda.
Just a remapper.
 
Panda.'s Avatar
Default

I just followed the tutorial exactly, but still no luck, I can't visible my server, My router isn't that slow net but still have no idea Why it doesn't want to show up the port.





Even using my Default Gateway (192.168.0.1) or External IP (196.128.4.224) shows me that I must use my IPv4 address (192.168.0.100) so I used it but still nothing, Should I use both TCP/UDP protocols ?

Last edited by Panda.; 05-24-2018 at 02:19 AM.
Panda. is offline   Reply With Quote
Old 05-26-2018   #10
Sryder13
'That brit'
Judge
 
Sryder13's Avatar
Default

Based on the image, and you saying you're using your Gateway, I'd say the Destination IP address needs to be the computer you want to host from's IP address. Should be findable with ipconfig as IPv4 Address or something.
__________________
Quote:
<MonsterIestyn> try ctrl+f masturbation and get to the point
Sryder13 is offline   Reply With Quote
Old 05-26-2018   #11
Rapidgame7
Rookie modder
 
Rapidgame7's Avatar
Default

Quote:
Originally Posted by Sryder13 View Post
Based on the image, and you saying you're using your Gateway, I'd say the Destination IP address needs to be the computer you want to host from's IP address. Should be findable with ipconfig as IPv4 Address or something.
To add to this, "Destination IP" may also mean what IP must the traffic come from for the router to redirect it to your computer. In that case, routers usually let you leave the field blank, or if that's not possible, use 0.0.0.0 as a destination IP.


Might also want to add that NAT and Port Forwarding are not the same.

If you can't get it to work, you can also set your IP as a DMZ server. Careful though, that allows all traffic from all ports to the DMZ server (whatever IP you set it to).
__________________
Ever tried to start a project until you find out it's too complicated then you abandon it
Rapidgame7 is offline   Reply With Quote
Old 05-28-2018   #12
Panda.
Just a remapper.
 
Panda.'s Avatar
Default





I tried to do what you both told me to do, But still no luck.
I left the field blank which not able to set that, I used 0.0.0.0 which doesn't want to set that too, and I opened my DMZ but still no good. all my Destination IP wants to be is "192.168.0.1XX".

What my ipconfig shows me is that :

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . : VodafoneMobile.wifivodafonemobile.api
Link-local IPv6 Address . . . . . : fe80::c9ef:f6df:5d2:fa13%12
IPv4 Address. . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::2609:95ff:fe6b:ba8d%12
192.168.0.1
Panda. is offline   Reply With Quote
Old 06-04-2018   #13
doom
 
doom's Avatar
Default

If my server appears on the Master Server with information like Gametype and Map, does that mean I forwarded my port?
doom is offline   Reply With Quote
Old 06-04-2018   #14
MK.exe
The one and only!
 
MK.exe's Avatar
Default

Quote:
Originally Posted by doom View Post
If my server appears on the Master Server with information like Gametype and Map, does that mean I forwarded my port?
Yes, if it has question marks for the player count the port hasnt been forwarded. If you host regularly do keep an eye on the MS to see if your server is up. Some people have Dynamic IPs meaning they'll have to port forward again.
__________________
Considered Milestones:
Hit a 180° Rail shot
1st person to have a map in releases with Slopes
MK.exe is online now   Reply With Quote
Old 06-04-2018   #16
Meneum
Default

Help, what do I do if everytime I try to portforward I get an error saying:
"Invalid internal and external ports."
plz help D:
__________________
I'm a noob
(known as Edward on srb2)
Meneum is offline   Reply With Quote
Old 06-11-2018   #17
Panda.
Just a remapper.
 
Panda.'s Avatar
Default

Quote:
Originally Posted by doom View Post

Welp, It still no work; Because I get into that website already before you post it to me and still no work.
But in that case, Thanks for helping me!
Panda. is offline   Reply With Quote
Old 06-17-2018   #18
doom
 
doom's Avatar
Default

Have you tried hosting in Standard room?
doom is offline   Reply With Quote
Old 06-25-2018   #19
Panda.
Just a remapper.
 
Panda.'s Avatar
Default

Quote:
Originally Posted by doom View Post
Have you tried hosting in Standard room?

Of course I did, Standard and Casual I tried, But still doesn't work. If you wish you gonna help me on this you may but on discord please, if not then okay. Thanks.
Panda. is offline   Reply With Quote
Old 07-30-2018   #20
GastlyGibus™
Someone unimportant
 
GastlyGibus™'s Avatar
Default

Thanks for the tutorial, now if i ever wan't to try to play with my friends i will use it.
__________________
Good Morning
Good Evening
And
Good Night
Do you have any pineapple juice?
GastlyGibus™ is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.