Author Topic: Command Line Args  (Read 871 times)

I assume the way that Badspot does the 'Join server' section of the website is by having some sort of cmd line args that blockland can take, probably specifying a port and such. Does anyone know specifically what these args are, and how I could use them out of the context of the web launcher?

Correct me if this is not the way he does it.

upon further inspection

Code: [Select]
<div class="joinButton">
<a class="joinButton" id="joinButton" onclick="clickJoinButton('blockland://join-74.52.20.186_28100');" href="#"/>
</div>

blockland://join-IP_PORT


probably a browser command like steam:

Yes, it's like FTP:// and HTTP://. Just sends that data to the game and it opens that server ingame.

Code: [Select]
blockland://join-IPCODE_PORT
blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.
« Last Edit: August 13, 2011, 11:53:08 AM by MegaScientifical »

Yes, it's like FTP:// and HTTP://. Just sends that data to the game and it opens that server ingame.

Code: [Select]
blockland://join-IPCODE_PORT
blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.
sadly that doesn't work on the forums for whatever reason, it redirects to that blockland.com thing

blockland://join-74.52.20.186_28100 <-- Join's Badspot's Block Party.

Lol, I believe the forums are automatically adding http:// to the start thinking I'm giving a trap url. So ya, won't work.

He's looking for the command line args, not the URL.

I'm not sure how the - and _ are handled during the part where it goes from URL -> Command line, but I think just putting join-74.52.20.186_28100 where you'd normally put something like -editor or -trace would work. I'll test this.

Edit: Nope, entire URL in the command line.

Example:
"C:\Blockland\Blockland.exe" blockland://join-74.52.20.186_28100/
« Last Edit: August 14, 2011, 02:05:21 AM by Chrono »

chrono, the context of the OP implied he wanted to know how it worked and wanted to know if it was or wasnt command line

chrono, the context of the OP implied he wanted to know how it worked and wanted to know if it was or wasnt command line

I assume the way that Badspot does the 'Join server' section of the website is by having some sort of cmd line args that blockland can take, probably specifying a port and such. Does anyone know specifically what these args are, and how I could use them out of the context of the web launcher?
Bold: Looking for command line args.
Underline: How to use the OUTSIDE of a browser

I assume the way that Badspot does the 'Join server' section of the website is by having some sort of cmd line args that blockland can take, probably specifying a port and such. Does anyone know specifically what these args are, and how I could use them out of the context of the web launcher?

Correct me if this is not the way he does it.