Author Topic: Tutorial - How to make a Dedicated Server (Batch File)  (Read 15298 times)

Oh, I missed that.


This is somewhat irrelevant, but wouldn't a dedicated server use less processing power/memory than a full Blockland client running?
However, running a client as a server is most efficient.

(continuing cause i feel like it and you didn't really decide to help him out.)

That's if you go into Blockland's pref files or use console to set the max players to 99.

The real definition is a server that doesn't require the host to stay connected to the server. So you could leave and the server won't shut down.

Yeah but new users wont know how to edit the pref, let alone opening the pref file. By default standard server lets you do 32 and dedicated lets you host 99 players, so I guess I am not entirely wrong. And the other part you said only works if the person is running the server on a seperate computer, I didnt add that so it wont cause confusion

However, running a client as a server is most efficient.
why's that?

:o

However, running a client as a server is most efficient.

I cant say anything about that one, I have never used that.

why's that?

:o
Attend to the diagram of letters
B = memory needed to load the engine
E = Everything else that needs to load

Not precisely proportional

Client (9)
BBB
EEEEEE

Server (4)
BBB
E

Client-server (10)
BBB
EEEEEEE

If someone wanted to host a dedicated server why didn't they just install the shortcuts when they installed the game? Why use a batch file anyway?


Connecting to The Dedicated Server
A common mistake that people make when trying to join their dedicated server is that they hit the "Query Internet" button when selecting "Join a game". Most of the time when you do this you will encounter an error. You need to hit "Query LAN" and join the server there.

When I hit "Query LAN" my server is not there, I have to use "Connect To IP" and use the IP 127.0.0.1:28000. I haven't seen anyone else with this issue.

Connecting to The Dedicated Server
A common mistake that people make when trying to join their dedicated server is that they hit the "Query Internet" button when selecting "Join a game". Most of the time when you do this you will encounter an error. You need to hit "Query LAN" and join the server there.

That's not a "mistake," that just means that the server is not available online.

I'd make a python script to work for macs and linux's (using wine) and windows
but im so lazy right now :(

If someone wanted to host a dedicated server why didn't they just install the shortcuts when they installed the game? Why use a batch file anyway?


When I hit "Query LAN" my server is not there, I have to use "Connect To IP" and use the IP 127.0.0.1:28000. I haven't seen anyone else with this issue.

Its just another method to make a dedicated server for people who do not want to re-install the game...I am pretty sure I covered this already.

That's not a "mistake," that just means that the server is not available online.

Your suppose to press "Query LAN" and join by there, my server still comes up when I hit query internet except I get an error saying "Server could not verify BL ID.
« Last Edit: March 31, 2012, 05:09:22 PM by Altiris »

Server requests the master server for BLID 999's IP address, BLID 999 is connecting with a LAN address, and that's a mismatch so of course it can't verify you.

You could have told me why this is incorrect instead of just stating that its incorrect to make
me look stupid.
Ugh, Incorrect big time.

as an alternative you can do what I did and make a shortcut with the following target:
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated -map SPAAAAAAACE

I found this useful because for some reason .bat files give me weird permission requests sometimes, and I don't think they will be able to run at all if you are on a school computer with those kinds of restrictions.  A shortcut should still do the trick, however.

Thank you.

Also, this is an online server, right?  Not just LAN?

Thank you.

Also, this is an online server, right?  Not just LAN?

Yeah, it works for both online and LAN.