Page 12 of 22
Re: [Mods|0.12.24|US] MP Dedicated Server
Posted: Thu Mar 03, 2016 1:49 am
by roy7
Ah ha. Advanced logistics system was removed.
Re: [Mods|0.12.24|US] MP Dedicated Server
Posted: Thu Mar 03, 2016 2:04 am
by devilwarriors
roy7 wrote:Ah ha. Advanced logistics system was removed.
http://www.nooooooooooooooo.com/

Re: [Mods|0.12.24|US] MP Dedicated Server
Posted: Thu Mar 03, 2016 6:24 am
by NoPantsMcDance
roy7 wrote:Hmm the mods.zip link just loads the web site. What mod(s) changed? I can manually add them so I can connect to server.
Sorry about that. Using .rar files now and didn't change the link.
Re: [Mods|0.12.25|US] MP Dedicated Server
Posted: Fri Mar 04, 2016 11:18 am
by NoPantsMcDance
Updated to 0.12.25
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Sun Mar 06, 2016 9:13 am
by NoPantsMcDance
Updated to 0.12.26
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Sun Mar 06, 2016 6:09 pm
by devilwarriors
server crashed
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Sun Mar 06, 2016 6:11 pm
by roy7
Dave had said "new plane!" right when it desynced. I doubt it's related to the plane mod though since devil has been using it for hours. Who knows.
World is going great. We also just researched mk 4 large area mining drills, which are 17x17, so new outposts will be easier to set up.

Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Sun Mar 06, 2016 6:14 pm
by devilwarriors
Yeah I've been racing across the map with the new jet for at least 30 mins and with the gunship for like 5 hours so I doubt its related.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Sun Mar 06, 2016 6:51 pm
by NoPantsMcDance
why you always causing the server to hang lol. It's a pain in the ass to even figure out how to detect when it's hanged to restart.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 8:12 am
by devilwarriors
server went down for reboot and never came back.. was super slow before, even when I was alone which can't be caused by my internet.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 12:04 pm
by NoPantsMcDance
Idk what's causing it to not come back up. Terrible scripts are terrible I guess.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 5:32 pm
by roy7
NoPants, you might find this useful.
viewtopic.php?f=133&t=14626
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 8:35 pm
by tetryon
NoPantsMcDance wrote:why you always causing the server to hang lol. It's a pain in the ass to even figure out how to detect when it's hanged to restart.
Not elegant.. but there's no real good way...
# nmap -P0 -sU -p34196 107.172.11.210 | grep open
34196/udp open|filtered unknown
Unfortunately requires root.
When it's hung, is it consuming 99% CPU?
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 8:41 pm
by NoPantsMcDance
tetryon wrote:NoPantsMcDance wrote:why you always causing the server to hang lol. It's a pain in the ass to even figure out how to detect when it's hanged to restart.
Not elegant.. but there's no real good way...
# nmap -P0 -sU -p34196 107.172.11.210 | grep open
34196/udp open|filtered unknown
Unfortunately requires root.
When it's hung, is it consuming 99% CPU?
No, it just goes unresponsive and takes me killing the screen to get it to close.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 8:45 pm
by NoPantsMcDance
By the way if anyone wants you can add me on steam. Easier to just message me and I'll restart it instantly if I'm online. Also going to get a basic admin panel up today. Stop/stop/restart and a few other things not sure yet.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 8:47 pm
by tetryon
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 10:26 pm
by NoPantsMcDance
Ok maybe one of you fine people can help me out. So for a web panel I just wanted to have user www-data (apaches user because php uses this user to run commands on the server) to run the script. The script uses a SIGINT kill command to tell the server to stop. Well other users can't tell kill a different users process. Anyone have a solution without escalating www-data permissions to root. Haven't found a non secruity hole way to do this.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Mon Mar 07, 2016 10:42 pm
by daniel34
NoPantsMcDance wrote:Ok maybe one of you fine people can help me out. So for a web panel I just wanted to have user www-data (apaches user because php uses this user to run commands on the server) to run the script. The script uses a SIGINT kill command to tell the server to stop. Well other users can't tell kill a different users process. Anyone have a solution without escalating www-data permissions to root. Haven't found a non secruity hole way to do this.
You could run factorio under www-data (or apache/php under the factorio user) or you could use setuid:
http://stackoverflow.com/questions/2109 ... om-website
You don't need to make it belong to root as in the answer given, just the same user as factorio.
Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Tue Mar 08, 2016 5:12 am
by roy7
I put together a batch of mods we could try on the next world if you want, it'd be dytech based instead of bobs. It's a port of Dytech to v12 by Buggi, so not the latest Dytech, but should be pretty stable. Note that Dytech-War is legit hard and in solo I had my base overrun a number of times and only barely survived by using auto saves and laying down walls in the areas attacks were about to come from. So the chance of failure would be real. Could play without Dytech-Warfare, but maybe having a chance of losing would be more thrilling?

Re: [Mods|0.12.26|US] MP Dedicated Server
Posted: Tue Mar 08, 2016 7:59 am
by NoPantsMcDance
daniel34 wrote:NoPantsMcDance wrote:Ok maybe one of you fine people can help me out. So for a web panel I just wanted to have user www-data (apaches user because php uses this user to run commands on the server) to run the script. The script uses a SIGINT kill command to tell the server to stop. Well other users can't tell kill a different users process. Anyone have a solution without escalating www-data permissions to root. Haven't found a non secruity hole way to do this.
You could run factorio under www-data (or apache/php under the factorio user) or you could use setuid:
http://stackoverflow.com/questions/2109 ... om-website
You don't need to make it belong to root as in the answer given, just the same user as factorio.
Yeah I've tried this multiple times and still get the "operation not permitted" Pain in the ass.
EDIT: After some dicking around with SUDO It works (I think). SETUID doesn't seem to work properly with scripts anyways.
http://www.faqs.org/faqs/unix-faq/faq/p ... ion-7.html