ShadowHatesYou
-
Content Count
12 -
Joined
-
Last visited
-
Medals
Posts posted by ShadowHatesYou
-
-
For debugging purposes I started using "./server -ip 208.71.118.187 -config=server.cfg -cpuCount=12". The problem was case sensitivity, despite the error log telling me it was looking in MPMissions and not mpmissions, as well as looking for co30_domination_2_54a2_west_oa.takistan.pbo instead of co30_Domination_2_54A2_West_OA.Takistan.pbo like it said.
edit: Last 1000 lines of strace:
http://squatthis.net/strace.txt
You can see how this doesn't match up with the errors generated.
-
I'm running in to this problem using the linux dedicated server:
13:11:17 Dedicated host created.13:11:18 BattlEye Server: Initialized (v1.113)
13:11:18 Host identity created.
ArmA 2 OA Console version 1.57 : port 2302 - Sockets
13:11:33 ShadowHatesYou uses modified data file - Arma 2: British Armed Forces (Lite);Arma 2: Private Military Company (Lite);arm
13:11:33 Player ShadowHatesYou connecting.
13:11:34 Player ShadowHatesYou connected (id=4986502).
13:11:42 Admin ShadowHatesYou logged in.
Cannot open file 'MPMissions\co30_Domination_2_54A2_West_OA.Takistan.pbo'
111/00/28, 13:11:45 Critical:Destroying running thread!
WATCHDOG (29980): [Fri Jan 28 13:11:45 UTC 2011] Server died, waiting to restart...
So, I login and no mission is loaded. I login as admin, and then do #missions, and the dedi crashes. Any ideas about this? The only thing that stands out to me is that the wrong slash is used.
isn't a valid path in linux, where asMPMissions\co30_Domination_2_54A2_West_OA.Takistan.pbo
is a valid path. \ is used for escaping, / is used for directories. The file *does* exist, it *does* have the proper permissions, and I've even 777ed it.MPMissions/co30_Domination_2_54A2_West_OA.Takistan.pboedit: Finally managed to get strace to give me meaningful output by attaching after the server initialized (via strace -f -p <PID)>
[pid 5418] open("mpmissions/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 155[pid 5418] getdents(155, /* 1 entries */, 32768) = 168
[pid 5418] stat64("mpmissions/.", {st_mode=S_IFDIR|0755, st_size=117, ...}) = 0
[pid 5418] stat64("mpmissions/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 5418] stat64("mpmissions/co30_Domination_2_54A2_West_OA.Takistan.pbo", {st_mode=S_IFREG|0644, st_size=2531113, ...}) = 0
[pid 5418] stat64("mpmissions/co30_Domination_2_54A2_West_OA.Takistan.pbo", {st_mode=S_IFREG|0644, st_size=2531113, ...}) = 0
I've symlinked mpmissions to MPMissions, and it's still crashing. Later on in the strace, there's this:
[pid 5419] open("/home/shadow/arma/arma2oa/mpmissions/co30_domination_2_54a2_west_oa.takistan.pbo", O_RDONLY <unfinished ...>What the hell? I make another symlink, and now everything works. FIX YOUR ERROR OUTPUT!
-
From the benchmarks on my own server, that's not enough. Each client takes between ~500kB/s and 900kB/s, depending on what's going on, and even on a GigE line with 16 cores to work with I'm still trying to find the settings that make AI non-jumpy. I'm a system administrator by trade and Bohemia may have made a great game, but IMO their dedicated server is shitty(in it's current state). It's a PITA to configure, the errors it outputs are meaningless without more information, AI is single threaded, ./arma2oaserver restart results in 2 (or more) running server proccesses at the same time, etc etc. If you want to give it a shot though, http://community.bistudio.com/wiki/ArmA:_Dedicated_Server
PS: I also find it ridiculous that their server doesn't have the logic to realize when a client(IE, hacker) is spawning bombs out of thin air across the whole map without there being an aircraft there to drop them. Not the place for this gripe, but since I'm bitching I might as well get that in there.
-
I saw that too, but it's just the forum messing it up. I'll fiddle more when I have the time.
-
Awesome. Finally got the arma2:oa files copied over. I tried launching after using the install script, and then configing the server with no luck. After reading through the (non helpful) error log that was complaining, I straced it and it turns out the install script didn't fully convert ./Expansion to ./expansion - ./expansion was created, but addons was still known as ./Expansion/Addons. Fixed that, and now it's launching and I'm tinkering with the configs. Shouldn't be too long now.
EDIT: Found another problem with the install script - it renamed MPMissions to mpmissions, even though the server hasn't been patched for the lowercase name. Damn you, POSIX!
3:37:14 Player ShadowHatesYou connected (id=4986502).
Cannot open file 'MPMissions\co30_Domination_2_28A2_West_AI_OA.Takistan.pbo'
EDIT 2:
Dealing with this now...
Config : some input after EndOfFile.
Bohemia: Why are your errors so meaningless? Atleast tell me the file that's causing trouble!
Edit 3:
Found the problem, no thanks to Bohemia's config parsing/error reporting. Server seems to be up and running, just trying to get Domination 2.54 going now
Edit 4:
Still stuck trying to get the map to actually load. It refuses to show up, and then when I login as admin and #missions the game crashes like so:
7:05:26 Player ShadowHatesYou connecting.
7:05:27 Player ShadowHatesYou connected (id=4986502).
7:05:35 Admin ShadowHatesYou logged in.
Cannot open file 'MPMissions\co30_Domination_2_54A2_West_OA.Takistan.pbo'
111/00/26, 7:05:39 Critical:Destroying running thread!
WATCHDOG (7151): [Wed Jan 26 07:05:39 UTC 2011] Server died, waiting to restart...
WATCHDOG (7151): [Wed Jan 26 07:05:44 UTC 2011] Starting server (port 2302)...
Of course, it should be fine:
shadow@tourian:~/arma/arma2oa> ls -hl MPMissions
total 4.4M
-rw-r--r-- 1 shadow shadow 2.5M Aug 26 22:35 co30_Domination_2_54A2_West_OA.Takistan.pbo
drwxr-xr-x 20 shadow shadow 4.0K Jan 26 05:50 co40_Domination.Takistan
drwxr-xr-x 2 shadow shadow 4.0K Jan 26 05:50 dom_maker
-rw-r--r-- 1 shadow shadow 2.0M Jun 6 2010 DTG.pdf
server.cfg Missions class:
class Missions
{
class COOP_Domination {
template="co30_Domination_2_54A2_West_OA.Takistan";
difficulty="veteran";
};
};
-
Possibly less. Ping squatthis.net
-
It's on a gige line in Toronto with excellent peering to both the US and EU, <100ms(transit dependent) RTT. Asia's hit or miss depending on the country.
-
Exactly. When I saw Arma2 on youtube awhile ago(about a year and a half?) and saw the massive battles that could be had I thought "hmm, multiplayer would kick ass!", but the game was heavily CPU bound and my main machine was a laptop, then I was tied up with work. I totally forgot about ArmA2 until the christmas steam sale, and then went "OH YEAH!". Now that I've got a Q9450 @ 3.66 and 275GTX, how could I pass the game up? I'm *so* glad I purchased it. Single player isn't much fun to me right now, but after a couple weeks of playing multiplayer IMO it's definitely worth the CPU time.
PS: This server is owned, not rented, so hopefully this works and we'll have a giant server to play on for a long time :)
-
You should never run a non-system daemon as root, and never run *any* daemon as root that doesn't do proper privilege dropping to the least-privileged user(generally "nobody"). If the application is compromised(IE, buffer overflow) you just handed over root access to the attacker. Normally, he/she'd have to do a privilege escalation from nobody to root with another exploit/misconfiguration(IE, a setuid program that lets you bang out a fork(!/bin/bash). If setuid, nmap --interactive is an example)
-
Yeah, from what I've been reading there's threading issues, but they've been improving. The box is a beast for the proper work loads(mysql/postgres/apache/lighty/MPI) but it requires parallelism and like I said, parallelism is hard. If it doesn't work out I'll be very sad though :(
Bohemia: More threading! Go multi-process if you need to and use domain sockets for IPC or something :D
-
I started playing milsim with the HL1 mod "Hostile Intent" years ago, and since then I've played The CoDs, MoHs, HL2:Insurgency, OFP: DR(Piece of crap), Battlefields, etc etc. Let me just say, Bohemia did Arma2:OA really well. It's the best sim I've played. It's got it's drawbacks, like having 9001 keys to bind, and lag on under-specced servers due to AI scripting and the like but because of this I'm throwing up a dedi on my server.
I'm going to try to do 128 slots on a 16 core(2.3ghz) opteron/32 GB DDR2/multihomed gige box. The files are rsyncing right now and we'll see how this works out. I've seen threads related to issues running a server w/ the steam version and Gentoo installs, but I should be able to work around it.
Hopefully when it goes up performance is acceptable. I hope it scales to 128 players on my hardware and we can all have some massive skirmishes, but if not I can always just run more than 1 server instance on the same box. In preemptive support of Bohemia, parallelism is hard when programming and most games don't offer *any* support beyond 2-4 cores.
We'll see!
:pistols: :681:
128+ slots?
in ARMA 2 & OA - Servers & Administration
Posted
Server's finally up. The error output was making me think it was accepting case-sensitivity, when in reality it wasn't. Filenames must be all lowercase, no matter the server's output.
*starts removing symlinks*