JoeMax BS2 Server
From FSG Wiki
Contents |
Download
- VB6 Library installer, if you dont have them.
- BS2 Server 0.4, the latest stable version.
Bugs
- Having different windows size dont work well, best to keep 420x420.
- Backspace dont work when in write mode.
- By default the KEYCODE are not correct, so when you type an "n" it draw "xn" because "x" and "n" have the same keycode.
What's working
For now, there is not lots of functions available, but the main one are. So here is what is working now:
- Almost all simple drawing tool work (FilledRect, Rect, All line, FilledCircle, Circle, Fill)
- The write tool also work.
- If you click the Border Icon, your change will be applied to the others sandbox.
- Speed too work like this.
Instructions
- First of all port 7777 must be forwarded on your router to let other poeple connect to your 7777 port.
- Secondly, you must run "network enbale.bat" in the BS2 folder, 1 time is enough.
- Once this is done, you need another IP to connect to.
- Once you got someone's ip to connect to, you both open Burning Sand 2 in a new sandbox.
- After this, the server start the BS2 server application, then connect each ip, 127.0.0.1 is your localhost ip, and the other box is the remote ip.
- Once connected, both "Connected" button will be disabled and you'll receive something like this in the server console windows:
- [Server] Burning Sand 2 Alpha 2
- [Client] Burning Sand 2 Alpha 2
- [Server] Burning Sand 2 Alpha 2
- These line indicated that both BS2 are connected, and once connected you should get a clearscreen
- So when both BS2 are connected, you can start drawing in you BS2 sandbox, and it will be sent to the other sandbox
- It is also compatible with almost any mod, so if you load a mod, the other BS2 should load the same mod, or you will get inexistant element drawing
- Have Fun !
Port Forwarding
When you are connected to internet at home, you probably pass through a router. This router protect you home network from the internet. A port is like a little door that lead to your home, each port number is a door. Your router block acces to those door, so if someone want to enter, your router will block it. Now here, we want to open the door #7777 (port 7777). So we must tell to the router to redirect everything it receive on port 7777 to the port 7777 on your computer. Because your lan network can be composed of more than one computer you must tell your router to redirect anything that is sent to your router on port 7777 on your computer. Your computer have a lan IP, normally it should be like 192.168.x.x this is your intranet IP. Your router have your real external IP, this is because the router handle all communication on internet, so this is his address you see from the internet, and then your router give you an internal IP adress for your home network.
I suggest taking a look a this great site www.portforward.com because it explain how port forwarding work, and have image detail of each router brand, because port forwarding is different on each router.
To give an idea of what you should add to your router for this to work here is a little example of whats on my router.
Security
Some people think that it is not secure to give your ip over the internet. If you got a router, then you most likely be safe, especially if you only forward needed port and dont use DMZ. DMZ is an option that let you redirect any traffic on any port onto your computer, this could be dangerous, but this is if you stay like this permanently. For temporary testing, its a good way to test if it should work. IP address can be obtained in many ways without asking to anyone. There are IP scanner application that scan a range of ip address for responding one, so even if you dont give your IP anywhere, you can be hacked anyway. So giving your address ip to someone you want to play over internet is not that dangerous as it sound. Of course if a hacker want to hack you then it would have got what he wanted anyway. And most of all, port 7777 dont give access to any vulnerability, it just give access to your Burning Sand 2.
Installation
- To install, if you dont have VB6 library installed, download them and install them first.
- If VB6 library installed, you just have to unzip the .zip somewhere (BS2 foler is best) then run the server from there.
