2656
Help / Re: Buffer overflow / "unknown command connect" errors.
« on: April 06, 2014, 02:54:27 PM »
Were you recycling AiClients?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Very very cool. When slayer made me download it the GUI for the download hung on screen and I couldn't press quit or close the download GUI though.
==>function test::handleText(%a,%b){echo(%b);}
==>function test::ondone(%a,%b){echo("DONE:" SPC %b);}
==>tcpclient("pecon.us:80","/projects/repository/","","test");
^<repository:PeconMods>
^^<addon:Server_IPBanning>
^^^<channel:release>
^^^^<version:2.0.0>
^^^^<file:pecon.us/projects/storage/Server_IPBanning.zip>
^^^^<changelog:pecon.us/projects/storage/Server_IPBanning.log>
^^^^<restartRequired:2.0.0>
^^^</channel>
^^</addon>
^^<addon:Server_NationalFlags>
^^^<channel:fullrelease>
^^^^<version:1.0.0>
^^^^<file:pecon.us/projects/storage/nationalFlagsFull/Server_NationalFlags.zip>
^^^^<restartRequired:1.0.0>
^^^</channel>
^^^<channel:tinyrelease>
^^^^<version:1.0.0>
^^^^<file:pecon.us/projects/storage/nationalFlagsTiny/Server_NationalFlags.zip>
^^^^<restartRequired:1.0.0>
^^^</channel>
^^</addon>
DONE: 0Note the missing </repository> tag.http://pecon.us/projects/repository/
I'm not sure if I'm doing something wrong here, or would this work?
So now I have the new version on my hosting computer, and it worked when I ran blockland and got the update. Then I started my dedicated and it's still the old version?
Ok
Edit: It's still not working
Huh, so when I go the current version, the auto updater failed. Said it would try again later, and if I had issues to contact you via email. I can't download the auto updater in my browser either, I just can't connect to that URL. I guess I need another DL link?
This is interesting. I may incorporate this into my currently released mods.
Question: What do you mean by CLRF endings? Does this mean normal newline characters don't work? Or is this just referring to the log files?
Also, are channels restricted to specific things? Like, could we name two different channels for different versions of the mod even though they are both 'release'?
Sorry for so many questions, but I think you'll need to specify a lot more if you want modders to start using this.
Creating a Dedicated Server (for Windows)
First, make a copy of your Blockland shortcut. Then right click on the new copy of the shortcut and go to Properties. Click the Shortcut tab.
The target field will look something like this:Code: [Select]"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe"
To make this launch a dedicated server, add the -dedicated parameter to the end. It should now look like this:Code: [Select]You can now launch the server using that shortcut, but I recommend that you read below first."C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated
(Optional) If you wish to start a specific game mode, add the -gamemode Name_of_GameMode parameter to the end of the target. If you don't do this, the server will default to the standard/custom mode. (which allows you to set your own add-ons and customize everything)
(Optional, but recommended) Set your dedicated server to use its own directory. (if you don't do this, it will use your current BL directory) Add this parameter to the end of your shortcut's target: -profilePath "C:\path\to\server folder"
Setting Up Your Server
Before you perform these steps, you should start your server at least once and then close it - doing so will create the pref files for you to edit. Note, these steps should be performed while the server is closed.
To change server settings, open the file called "prefs.cs" in the "config/server" folder.
To change which add-ons are enabled, open the file called "ADD_ON_LIST.cs" in the "config/server" folder. A 1 next to an add-on indicates it is enabled while a -1 indicates it is disabled.
To install new add-ons, simply place them in the add-ons folder.
Shutting Down Your Server
This might seem trivial, but most people don't know how to do this properly.
To shut down your server, enter quit(); in the server console.