I have started a new Garry's Mod server. But...

PLEASE DO NOT BAN ME OR LOCK THIS THREAD UNTIL ANSWERED WITH BEST POSSIBLE FIX!

It’s name is DEFCON and there are a few problems. It’s an Ubuntu Desktop 11.04 (Final version.) OS re-purposed HP Pavilion p6204y Desktop computer. I converted it into what it is now and there are a few problems.

The server works fine and I can join it without fail, but the problems are:

  • Crashes at random times (meaning not all the time) when spawning a Jeep.

  • HL2 Ep2 doesn’t mount.

  • Only half of the Portal content is spawnable (versus my Windows 7 pc being able to spawn everything in that folder like the pc and cake and Weighted Cube)

If it hasn’t been clearly explained already, the server crashes easily. Luckily, yes, I DO have it setup to auto-restart. As far as an MOTD, that is still under-way. As is an administration team.

So can anyone help me? Maybe a link giving me the rght download for such content or a manual fix to it? Something?

My addons and the servers addons (the server has eveything I have):

(sniper rifles)
Adv Duplicator (SVN)
adv-turret
Anti-NoClip
aoc (server-only)
Buoyancy Tool
Combine NPC pack
Conna’s Tools pack
counter-strike
Cubesystems Energy Gates (SVN)
Cubesystems Supergate (SVN)
cxLabs_v2
day-of-defeat
de_school
default_sent_pack
derma
dipdrip (server-only)
DoorSTool
EasyPrecision
EntitySurface
Evolve Admin Tool (SVN)
Fin2
Freespace_Revolution
Garry’s Bombs 3
GDCW Weapons (SVN)
gm_atomic
gm_rainyconstruct
gm_RaveMaker
grapplehook
HAAX_Swep
Helicopter vehicle
hl2_ep2
HL2weaponitem
Hook
kermite (machine guns)
kermite (pistols)
kermite (shotguns)
kermite (smg)
keypad
L4D ArmoredVan
L4D2 Swep Pack
L4dsurvivorsandweapons
Laser STOOL 2
Light IgnoreZ Fix
lua (SVN)
McK SG A P (SVN)
moarCombinev1
NeoServer Extended (for/from a friend’s server)
No collide world
no_collide_multi
NPC Proficiency 2
Nuke Pack 4
particles
particles
Perfected Climb SWEP
phoenix-storms (SVN)
playsound
PlayX (SVN)
portal
PortalTurret
prop_shield
RP-Pack
SCars
SG E Pack (SVN)
SG GDO (SVN)
SG P Pt.1 (SVN)
SG P Pt.2 (SVN)
SG P Pt.3 (SVN)
SG P Pt.4 (SVN)
SGA M P (SVN)
SG-Mod (SVN)
Smart_Constraint
smart_welding
smartsnap
SoundEmitter
Spawn Points
Stacker
Stacker STool
swep_construction_kit
tf2
TOOL_stacker_adv
toybox
Tuningmod
Unbreakable
Usefull NPCs Files
VehicleUpgrade
Vuvuzela
weapon_auroracannon
WeightSTool
Wire (SVN)
Wire Extras (SVN)
wire model pack 1 (SVN)
Wire Models Pack (SVN)
Wiremod Extras (SVN) (server-only)
zeno_clash
zps (server-only)
And on both there are more default .txt files and other files that do not apply to this list.

REPLY ASAP PLEASE!!! Server launches on 5-10-11 at a time 6:00 PM or later depening on conditions of the evening.

How does hosting a server with Linux work? do you have to run something in wine? maybe it’s an emulation issue.

Linux should be okay running it. It could be the last update, who knows.

That is the longest list of addons I have ever seen. Remove them all then see if the problems still occur. So many of those addons are useless and just putting strain on the server.

There are a lot of redundant addons. PHX is packaged with Garry’s Mod, you have 3 stacker tools, 3 different constraint tools, no collide world can be done with Easy Precision, You really don’t need all of those weapon mods, etc

Also, what is with the two “particles” folders, the Hook folder, and the lua folder?

The Jeep, Jalopy, and thus SCars all have issues with Linux due to a coding issue.

Is PHX part of Default GMOD Now?

I didnt know that, -> Goes to take it out of his folder.

Yeah, I use Wine.--------------------------

But back to the point, none of this REALLY teels me HOW to fix the problems I am having. True, I can (and will) remove more addons; but what about the Jeep spawn bug? And the games that won’t mount though they are installed? I need a fix, please! Not a “maybe…”.

EDIT: I need a working version of GCFScape. I am using it through Wine to extract the needed files from the episode two content.gcf and portal content.gcf. Unfortunately…GCFScape isn’t opening the files…Ubuntu will act as if it is loading the files (opening them) but it ends up having no effect. What do I do?

Why would you use wine when you can run source servers on Linux?

Wine allows for Windows-only programs to run on Linux based OSs. I do use srcds. (Steam runs through Wine on the server.)

EDIT: As would GCFScape if it would decide to operate properly.

You can run srcds on Linux without wine, without emulation.

Also, don’t use Steam for servers, just use srcds by itself. See the website shown above.

I don’t use Steam to run the server. Steam is just for getting the games (legally). Steam is part of the Linux Dedicated Server Setup. http://wiki.garrysmod.com/?title=Linux_Dedicated_Server_Setup

Will anyone please help me? I REALLY need to know how to fix the server’s problems.

Too many addons can cause it to crash.
The jeep crashes Linux based servers, don’t spawn it.
Don’t use wine, it’s unstable and WILL indefinitely, with no fix, crash often.
As for mounting the extra content… I can’t help you there.
Follow through on my advice and it may fix itself.
Straight to the point enough? Good luck.

You’ve got far too many addons and you really shouldn’t be using Wine. There are official linux binaries for garry’s mod.

[lua]
local bad = { “Airboat”, “Jeep”, “Jalopy” }
hook.Add( “PlayerSpawnVehicle”, “NoVehicles”, function( ply, string, vn, tb )

return not table.HasValue( bad, vn )

end )
[/lua]

That will block the jeep, airboat and jalopy from spawning and crashing the server. Credits to Thermadlye

Stick it in ./garrysmod/lua/autorun/ on the server

I have 10 GB of addons. My best guess is to remove all the shitty ones like sweps and useless tools.

Name one. CentOS? I need to know.

[editline]27th May 2011[/editline]

Didn’t work.

EDIT

Moving to Windows 7 Home Premium 64-bit. LOCK THIS THREAD