Show Posts

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.


Messages - Greek2me

Pages: 1 ... 173 174 175 176 177 [178] 179 180 181 182 183 ... 570
2656
Help / Re: Buffer overflow / "unknown command connect" errors.
« on: April 06, 2014, 02:54:27 PM »
Were you recycling AiClients?

2657
Help / Re: I Switched To Linux
« on: April 06, 2014, 02:53:00 PM »
I'm pretty sure that you can download the Windows 8 file to a flash drive and then use your Windows product key. (It should be on the bottom of your computer)

2658
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 06, 2014, 01:24:00 AM »
I changed this line in your version file:
Code: [Select]
repository	pecon.us/projects/repository
to this:
Code: [Select]
repository	pecon.us/projects/repository/

It worked instantly.

2659
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 06, 2014, 01:19:18 AM »
Ok, that fixed the problem with your repository file being cut off. I'm downloading your IPBanning file and looking into the problem now.

2660
Modification Help / Determine line ending style/proper Content-Length
« on: April 06, 2014, 01:15:32 AM »
When downloading plaintext using a TCPObject, the lines are received one at a time, causing any line endings that were there to be removed by Blockland. However, the Content-Length given by the server includes the line endings. This makes it difficult to determine where the end of the file is. For example, if the line endings are LF (\n), and I concatenate the lines with CRLF (\r\n), then the file is cut off early because \r\n is two bytes rather than one for \n.

Does anyone have ideas on how to work around this?

2661
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 06, 2014, 01:02:32 AM »
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.

Did everything get installed though? It's a bit of a hacky migration coming from slayer.

2662
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 06, 2014, 01:01:47 AM »

Some FTP clients (like FileZilla) change line endings back to \n when they're in the default ASCII mode. Make sure that the filesize is the same on your local computer and on the webserver.

This is what happened when I tested it:
Code: [Select]
==>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: 0
Note the missing </repository> tag.



I should see if it's possible for the updater to automatically detect \n endings and compensate for them..

2663
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 06, 2014, 12:42:29 AM »
http://pecon.us/projects/repository/

I'm not sure if I'm doing something wrong here, or would this work?

Yep, that should work! Somehow the text doesn't show up in Firefox, though.

My repository is simply a text file without the .txt extension. I'm guessing yours is the same?

edit: Just tested it for you. It works, but it looks like you aren't using the correct line endings. This causes the file to be cut off before it's completely downloaded. If you're using Notepad++, go to "Edit -> EOL Conversion -> Windows Format".

2664
Modification Help / Re: Player Walkspeed
« on: April 05, 2014, 10:35:26 PM »
Walking speed is defined client-sidedly and is a percentage of the player's forward speed.

2665
Modification Help / Re: Slayer | 3.8 Release Candidate available
« on: April 05, 2014, 10:32:44 PM »
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?

Is your dedicated server on a different Blockland installation? You need to update that, too.

2666
Help / Re: Authentication: Validating Key [Help!]
« on: April 05, 2014, 10:28:32 PM »
bump. This guy's been having trouble for a while.

2667
Modification Help / Re: Slayer | 3.8 Release Candidate available
« on: April 05, 2014, 09:47:36 PM »
Ok

Edit: It's still not working

Strange, it's working for me. Here's the file. https://bitbucket.org/Greek2me/slayer/downloads/Support_Updater.zip

2668
Modification Help / Re: Slayer | 3.8 Release Candidate available
« on: April 05, 2014, 09:05:55 PM »
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?

It's working now. 000webhost is somewhat sketchy.

2669
Modification Help / Re: Support_Updater | Simple Add-On Updating
« on: April 05, 2014, 09:02:27 PM »
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.

CRLF line endings are \r\n (Windows style), rather than \n (Unix style). This is required because \r\n is the HTTP standard, and just using \n will probably give strange results.

You can name channels whatever you want.

I'll create a more formal documentation later.

2670
Help / Re: Dedicated Server Tutorial
« on: April 05, 2014, 08:59:42 PM »
Quote from: Greek2me's Dedicated Server Guide
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]
"C:\Program Files (x86)\Blockland\BlocklandLauncher.exe" -dedicated
You can now launch the server using that shortcut, but I recommend that you read below first.

(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.

Pages: 1 ... 173 174 175 176 177 [178] 179 180 181 182 183 ... 570