Jump to content
Sign in to follow this  
Radek_

WGL and Linux dedicated server (1.96)

Recommended Posts

The problem is: HOW PROPERLY SETUP WGL MOD ON LINUX DEDICATED SERVER?

I copied the wgl folder into server root, then ran the server with -mod=wgl option and this doesn't work. So i moved the files from wgl/bin folder to ofpserver root and it starts (even ofpwatch shows that wgl mod is loaded) but when i try to load any mission the server dies or comes back to selecting mission (i think it depens on the loaded mission requirements [wgl-die, noaddons-selection]).

Share this post


Link to post
Share on other sites

I think RN is the only server runing wgl on a linux box

it was a bitch and a half to set up

you need to kill the wgl/dta folder 1st off, then there is a the bin/resource.cpp file, that has to be deleted

the guys that made the exe for 4.1 did not do a very good job, very messy

then you need to update to 4.11

and then you need to make sure wgl/addons/sound.pbo is in there as well (ours went missing in the upload some how both times)

thos are the common failures

also any batch files you have NEED to be in ascII when uploaded to the server, other wise the server fails

i have made a proper wgl zip 4.11 on the

http://www.wglcti.com

website under the dloads

just wget it and unzip and then run the ./tolower to adjust files

should come in at your servers max speed since our web/game servers are the fastets availble

and also i do have a core file server set up on the roughnecks web server

http://www.roughnecks.org/1/

you can browse those and grab what you need, just make sure to use the ./tolower after extractions

Share this post


Link to post
Share on other sites

a key to a fast and crash free server is addon maintance

since this is a OFPR server you do NOT need the folowing folders on the server

dta

bin

addons

and any exe files

every thing is run out the the res folder, means less memory usage since less addons are loaded

also when running more then 1 mod folder, never ever have two or more of the same addons in them, you'll have to decide which mod folder is more important to keep intact

and also for the server running miscealeous addons and you have deleted the addons folder, you can use that addons folder totally empty and place your addons there so they auto load, its pretty neat and tidy that way

doing this ensures the server runs faster since there is less crap to sift thru

im sure benu will chip in some advice as well

he's sexy no matter how much i hate linux (took me a week to learn)

Share this post


Link to post
Share on other sites

ohh the reason for the resource.cpp file to be deleted is because of the removal of the dta folder which is no good since they fked that up, thats just high end skys that failed for about 50% of gamers

dont get me started with the TWL leagues set up too lol, their exe was terrible, missing files and had unfished crap in it

Share this post


Link to post
Share on other sites

Running wgl on linux is the same as with any other mod: copy it to the linux server, run tolower, copy any cpp files (if there are any) to the server root (btw: wgl does not have any cpp, finmod and ecp do have) and run the server with -mod"wgl". WGL works like a charm on my linux server.

Share this post


Link to post
Share on other sites

What could be a problem is if you installed a new wgl version on an old one, as the old one used cpp files and the new one uses bin files.

Also, you can't really run more than one mod with changed configs or dta folders. You should load wgl mod LAST to ensure it is working. Same goes for any addons.

Share this post


Link to post
Share on other sites
Quote[/b] ]I think RN is the only server runing wgl on a linux box

you're wrong.

Share this post


Link to post
Share on other sites
Quote[/b] ]I think RN is the only server runing wgl on a linux box

you're wrong.

re read how i worded it, im not wrong tounge_o.gif

Share this post


Link to post
Share on other sites
1) What could be a problem is if you installed a new wgl version on an old one

2) Also, you can't really run more than one mod with changed configs or dta folders. You should load wgl mod LAST to ensure it is working. Same goes for any addons.

1) this is true thats the fix i posted up top about the cpp file

2) WGL works fine with other mods, or maps that do not use any mods will be fine as well, there will be two side effects to running wgl on non wgl maps

A) tanks re-explode few seconds after they are hit and a non wgl player will just see it blow up and move again, it will kill players near it - very minor

B) and a wep script error on map start up that has no reported side effects other then the script is missing from the map info when the server asks for it because it it self is lookin for it

the oddest thing i saw was a ctitc league match between RN and nOObs, 1 RN was running WGL while every one and the server was on @ctitc only

a RN player opened a door and the whole east side Crashed to desk top at the same time

Share this post


Link to post
Share on other sites

Thanks for answers, i'll try to fix my problem today and i'm gonna write what will happen smile_o.gif

Share this post


Link to post
Share on other sites

BIG THX GUYS, IT WORKS FINE smile_o.gif I SIMPLY DELETED WGL/DTA.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×