Page 1 of 1

Factorio Multiplayer Server List

Posted: Wed Nov 12, 2014 1:58 pm
by Bryde
[Edit 31-07-2015]
Webinterface for the server finder: http://www.ultimetum-aluance.com
Straight forward and easy to use. Insert your server and it'll stay in the list for 24 hours.
List is ordered by creation date (newest on top).

Also, a quick-join directly from the page via URI scheme is coming after I tested it

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 6:58 am
by cpy
Will you publish source code? I don't trust anyone with running .exe file.

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 7:18 am
by Bryde
[EDIT] Ditched the program, therefore no source necessary.

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 7:54 am
by Bryde
[EDIT] Ditched the program, therefore no source necessary.

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 9:34 am
by cpy
You know, 1 post users that link exe files are in suspicious category.

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 9:43 am
by Bryde
Can totally understand that. I would be suspicious as well.

When I started this I thought that maybe just doing a simple php script would be enough - and of course it would solve the problem. Deciding to create a small program to wrap it up was just because I believe it to be a little bit more convenient (and this seems to be the right decision for me after all).
When I have a little bit more time on my hands (work is really annoying today :roll: ) I'll try and include some kind of small chat, lobby and all that jazz and scripting up a little php page for people who just want to see server adresses without downloads and stuff shouldn't be too hard either

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 10:21 am
by Devcod
I would suggest to fix your C# Application first :)

Code: Select all

'I bet there is a better solution to this ...but well!
Yes, there is. For example: to check if string is correct IP Address you can use IPAddress.TryParse.
For port number you can use regular expressions. In PHP, as I can't test any C# right now, the if-else-statement would be:

Code: Select all

if(preg_match('~^\d{2,5}$~', $port) === 1) {
 // Here you need to make another check if port number is <= 65535,
 // Regular expression above return 1 if $port is only digits (0-9),
 // and has minimum length of 2 and maximum of 5
 echo 'Port OK!';
} else {
 echo 'Port not OK!';
}
When I'm home I can tell you more, maybe in C#, but if you have questions now I will still try to help.

PS. I can help you mostly with PHP, as it is language I know best.

Re: Factorio Multiplayer Server Finder Program

Posted: Thu Nov 13, 2014 10:48 am
by Bryde
Haha yea I have made some really rough decisions. I was making that stuff when I had spare time at work (so it's maybe 1-2 hours of work). I didn't lay too much of an eye on "does everything fit perfect" (like the ports) since I thought "getting it out first and see if people want something like that or not" is key. Investing hours for something that, in the end, no one will use wasn't really the cake I wanted to cut.

However, if interest is rising, I'd probably reorganize the whole thing anyway. At least get that DB Connector to it's own class and stuff instead of this "oh well just use the variables public LOL" thing. For now, it's working and I will try and add a few more small things - and if people end up really using it, I'll recycle some code and recreate the rest.

Re: Factorio Multiplayer Server Finder Program

Posted: Fri Nov 14, 2014 10:41 am
by Pascal
The idea is good and i will help you. There are some problems in your program and i will tell you something about security.

Send me a pm and give you the details

Re: Factorio Multiplayer Server Finder Program

Posted: Fri Nov 14, 2014 5:16 pm
by n9103
You mentioned making a webpage frontend for those that didn't want to download a program.
That's exactly what I was hoping to find when I came to the thread.
Hasn't been made :( but looks like it's an eventual planned step :)

Re: Factorio Multiplayer Server Finder Program

Posted: Sat Nov 15, 2014 5:15 pm
by Bryde
I have added a webinterface for people who don't want to use a program.
The website is http://www.ultimetum-aluance.com (dont ask :D)

Also, servers added will now last for 3 hours and thereafter delete from the list. So we always have a more or less fresh list.

Have fun!

Re: Factorio Multiplayer Server Finder Program

Posted: Sat Nov 15, 2014 6:42 pm
by n9103
The name/description field seems overly restricted on input, and gives no rejection message when it doesn't pass the restriction.
Also, seems to require cookies for some reason. For a simple listing page, that seems odd.

Re: Factorio Multiplayer Server Finder Program

Posted: Sun Nov 16, 2014 1:21 am
by Bryde
Hi there,
cookies are presumable because of either the php or javascript. I can't really understand why they would matter so much, cookies are pretty common on the internet. They might be from the template or (most probably) from the php session itself.
As for the restrictions: Servers can only contain letters and numbers, ip address must be a correct ip address and port must be a number between 1 and 65535. I have included some errorcodes for now so you can now see what field caused the problem!

Re: Factorio Multiplayer Server Finder Program

Posted: Sun Nov 16, 2014 3:16 am
by n9103
I tend to reject cookies out of hand unless I can see a good reason to allow them.
Too much tracking and data-mining going on for me to give cookies free reign anymore.
That being said, I'm usually easy going about granting session cookies.
Still seemed odd that a simple form would require cookies to submit.

My part about the restrictions was mostly about not being able to use anything other than alphanumerics. (I can understand avoiding situations that require sanitation though.)
But it's your page, so don't mind me much. :)

Oh, and thanks for getting this page up at all. Hopefully it gets servers more exposure.

Re: Factorio Multiplayer Server Finder Program

Posted: Wed Aug 12, 2015 12:50 pm
by Bisa
Bryde wrote:ip address must be a correct ip address
I'm using a domain name for my public server - any chance you can lift the restriction and/or release the source code so someone can take over maintenance? =)

Re: Factorio Multiplayer Server List

Posted: Mon Aug 17, 2015 12:41 pm
by slpwnd
Just a FYI. We intend to create something called Multiplayer Matching Server / Service for the 0.13. The intended feature list is not yet complete but it would basically be an in-app integrated server listing service. So the server would list itself with the matching server. There would be some possibility to specify who is allowed to join (for instance list of usernames). Then players could look up servers to connect to directly via a dialog in Factorio.

Re: Factorio Multiplayer Server List

Posted: Wed Aug 19, 2015 5:21 am
by Bisa
slpwnd wrote:Just a FYI. We intend to create something called Multiplayer Matching Server / Service for the 0.13.
ah, makes sense given the steam publication - looking forward to it =)

Re: Factorio Multiplayer Server List

Posted: Fri Nov 27, 2015 7:57 pm
by tetryon
You may want to exclude rfc1918 addresses.. saw a 192.168.1.1 listed ;p