Debian Linux dedicated server, some 3rd party models don't have collision boxes
4 replies, posted
Hi there,
I set up a linux dedicated server for gmod 10 a few days ago. It works fine, but some addons which work perfect at a windows server, don't.
For example I can't even spawn some phoenix-storm models, some of them work perfect, and some of them don't have a collision box. If I can walk through these models, I get errors like these in the server console:
[code][addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/XQM/CoasterTrack/slope_45_down_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/xqm/coastertrack/slope_45_down_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/XQM/Rails/trackball_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/xqm/rails/trackball_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/XQM/Rails/trackball_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/xqm/rails/trackball_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/XQM/Rails/gumball_1.mdl
[addons/Dynamic_Gibs/lua/autorun/server/sv_dynamic_gibs.lua:220] Model missing: models/xqm/rails/gumball_1.mdl
[/code]
But these models do exist in the addons/phoenix-storms/models/XQM/ ... folder.
I tried copying the content of all the model folders to the model folder at /orangebox/garrysmod/models, but that did not work.
Also copying the generated spawnicons from my PC's directory to the server's did not work.
I also made a screenshot of my problem here: [url]http://gameserver.2x.to/bug.png[/url]
I would be really thankful if you could tell me a solution for this! (If there is one ...) Thank you in advance for your help!
pretty sure you can't have anything in the model path capitilized
^ He is correct. In your addons/phoenix-storms/models/XQM/ - How do they print 'Rails'? (Eg. Rails, rails)
Capital letters could be a reason why models won't get loaded. But in fact paths and filenames are correct as you can see here:
[code]ks309292:~/orangebox/garrysmod/addons$ find . -name "trackball_1.mdl"
./phoenix-storms/models/XQM/Rails/trackball_1.mdl[/code]
I'll try to write a script to lower all these filenames. I will tell you if that's the solution.
After about 1 hour of work i managed to copy all files and directories from my newly created addons2 folder to the original addons folder with all letters in lowercase.
I wrote the following script for doing that:
[code]#!/bin/bash
IFS="
"
for SRC in `find . | grep -v .svn`
do
DST=`echo $SRC| awk '{print tolower($0)}'`
mkdir -p "/home/gmod/orangebox/garrysmod/addons$(dirname ${DST#?})"
cp -f -u "${SRC}" "/home/gmod/orangebox/garrysmod/addons${DST#?}"
done[/code]
For using it, just create a folder in your orangebox/garrysmod folder, where the original addons folder also exists and [b]change paths to your addons directory[/b]!
Please keep in mind that you use this script at your own risk and errors may occure and it could even crash your server!!! It's just a quick and dirty written script so be careful!
At least everything seems to work now. Thank you for your help and good luck!
Sorry, you need to Log In to post a reply to this thread.