Ulysses

General => Off-Topic => Topic started by: louis on December 29, 2007, 09:54:00 AM

Title: Can i make Ulx?
Post by: louis on December 29, 2007, 09:54:00 AM
evertime i restart my server i need to type in net_maxfilesize 55 because the map is larger than the download limit so evertime i restart my server can i make ulx say net_maxfilesize 55 into the server console for me like it does with Forcedownload

Thanks
Title: Re: Can i make Ulx?
Post by: JamminR on December 29, 2007, 12:27:16 PM
You could, but for items like that it would be easier not to.

Server.cfg is the file you need to download/edit.
All Source servers use that file, gmod or not.

Please, learn to use the server before using ULX.

http://garrysmod.com/wiki/?title=Dedicated_Server_Setup - decent start. Has several server.cfg listings and file to download for basic.
Google server.cfg as a secondary
Title: Re: Can i make Ulx?
Post by: louis on December 29, 2007, 01:39:41 PM
??? im allready running my server will ulx and its all running fine. p.s that did not answer my question
Title: Re: Can i make Ulx?
Post by: MrPresident on December 29, 2007, 02:07:01 PM
??? im allready running my server will ulx and its all running fine. p.s that did not answer my question

p.s. You didn't ask a question.
Title: Re: Can i make Ulx?
Post by: louis on December 29, 2007, 02:13:56 PM
evertime i restart my server i need to type in net_maxfilesize 55 because the map is larger than the download limit so evertime i restart my server can i make ulx say net_maxfilesize 55 into the server console for me like it does with Forcedownload

Thanks


you sure....
Title: Re: Can i make Ulx?
Post by: MrPresident on December 29, 2007, 02:40:59 PM
yeah, pretty sure a question has a question mark.

this thing.. ????????

add that line to your server.cfg file.
^^ That answers your run-on sentence. ^^
Title: Re: Can i make Ulx?
Post by: JamminR on December 29, 2007, 03:16:11 PM
Not only did I answer your question;
You could, but for items like that it would be easier not to.

Server.cfg is the file you need to download/edit.
All Source servers use that file, gmod or not.
<clip>


I gave more information that would probably answer many other questions you will ask that have nothing to do with ULX
http://garrysmod.com/wiki/?title=Dedicated_Server_Setup - decent start. Has several server.cfg listings and file to download for basic.
Google server.cfg as a secondary

You seem to have a bad habit of ignoring our answers.
Just look at your sv_messageurl thread as an example.
Title: Re: Can i make Ulx?
Post by: louis on December 29, 2007, 05:16:06 PM
Yes but zak makes it nice and simple you make a whole world out of it......

Thanks Zak
Title: Re: Can i make Ulx?
Post by: louis on December 29, 2007, 05:25:08 PM
so to just clear this post up.

garrysmod/CFG/Server_cfg

Code: [Select]
"ServerSettings"
{
"hostname" "My Server's Name!"
"sv_lan" "0"
"maxplayers" "8"
"sbox_allownpcs" "1"
"sbox_maxprops" "100"
"sbox_maxragdolls" "2"
"sbox_maxnpcs" "0"
"sbox_maxballoons" "10"
"sbox_maxeffects" "50"
"sbox_maxdynamite" "5"
"sbox_maxlamps" "5"
"sbox_maxthrusters" "20"
"sbox_maxwheels" "20"
"sbox_godmode" "0"
"sbox_plpldamage" "1"
"sbox_playergod" "0"
"sbox_noclip" "1"
"sbox_maxhoverballs" "20"
"sbox_maxvehicles" "3"
"sbox_maxbuttons" "20"
"sbox_maxsents" "20"
"sbox_maxemitters" "5"
"sbox_maxspawners" "3"
"sbox_maxturrets" "2"
"net_maxfilesize 55"
}
Title: Re: Can i make Ulx?
Post by: louis on December 29, 2007, 05:26:29 PM
or?

Code: [Select]
"ServerSettings"
{
"hostname" "My Server's Name!"
"sv_lan" "0"
"maxplayers" "8"
"sbox_allownpcs" "1"
"sbox_maxprops" "100"
"sbox_maxragdolls" "2"
"sbox_maxnpcs" "0"
"sbox_maxballoons" "10"
"sbox_maxeffects" "50"
"sbox_maxdynamite" "5"
"sbox_maxlamps" "5"
"sbox_maxthrusters" "20"
"sbox_maxwheels" "20"
"sbox_godmode" "0"
"sbox_plpldamage" "1"
"sbox_playergod" "0"
"sbox_noclip" "1"
"sbox_maxhoverballs" "20"
"sbox_maxvehicles" "3"
"sbox_maxbuttons" "20"
"sbox_maxsents" "20"
"sbox_maxemitters" "5"
"sbox_maxspawners" "3"
"sbox_maxturrets" "2"
"net_maxfilesize" "55"
}
Title: Re: Can i make Ulx?
Post by: JamminR on December 29, 2007, 05:30:59 PM
server.cfg would be better than server_cfg.txt
I'm not sure why garry has both.
Title: Re: Can i make Ulx?
Post by: louis on December 30, 2007, 03:01:21 AM
Thank you, but it would still work in server_cfg? if so which one is correct?

EDIT: it still is not working i have to put it in manually, can someone leave me a detailed walkthrough
Title: Re: Can i make Ulx?
Post by: WildWill on December 30, 2007, 06:42:51 AM
I'm not sure if this is done automatically but in my startup command line I have in  exec server.cfg so each time the server is started that file is executed. Also, forget about the server_cfg, I'm not even really sure why that is there either but it's not the standard way servers are run. Use the server.cfg and add the line "net_maxfilesize" "55"  Also make sure that you are not using the sv_downloadurl in there as the two will conflict.

And just a heads up, you really shouldn't be sending the maps from your server as you are, the sv_downloadurl is a much better way of doing it but you'll need webhosting of some sort for that.
Title: Re: Can i make Ulx?
Post by: louis on December 30, 2007, 09:08:04 AM
Just to be super sure is this the location of the file

Server/garrysmod/addons/ulx/cfg/server.cfg

?
Title: Re: Can i make Ulx?
Post by: WildWill on December 30, 2007, 10:01:23 AM
That is correct.

EDIT: For all ye that may come across this post, I did not read the above post correctly. That is the wrong file to modify.
Title: Re: Can i make Ulx?
Post by: louis on December 30, 2007, 12:01:51 PM
then it comes up with connecting to master server
Title: Re: Can i make Ulx?
Post by: JamminR on December 30, 2007, 01:52:41 PM
That is correct.

NO.
Never edit config files of addons folders. They get overwritten during updates.

That, and we don't include server.cfg in our release. It is a standard Source server file.

Server.cfg, louis, if you'd research like so many here have asked you to instead of us doing the work for you, is located in gmod/cfg
Title: Re: Can i make Ulx?
Post by: WildWill on December 30, 2007, 02:02:34 PM
Oh crap, sorry, I see now what he typed. Should have been garrysmod/garrysmod/cfg/server.cfg. This is why I normally don't give help :(
Title: Re: Can i make Ulx?
Post by: JamminR on December 30, 2007, 02:07:15 PM
No worries will, thanks for trying. :)
Title: Re: Can i make Ulx?
Post by: louis on December 30, 2007, 03:27:42 PM
Well, now i am completley confused in what to do......
Title: Re: Can i make Ulx?
Post by: JamminR on December 30, 2007, 04:50:04 PM
Find your gmod/cfg/server.cfg
Nothing else.
Add the server variables you need to it, or change the ones already there.

If you're wanting your maps to download, though you can set up your server to send them, many users won't wait to get a 10megabyte plus map from a server.
Most actual game servers not using the downloadurl method are only set to send at 5 to 10kbps. Downloading lots of files at that speed sucks.
Increasing that speed ruins playability for other players though. (ie, causes lag)
sv_downloadurl allows people to download compressed maps, using bz2 compression, usually much faster and easier from a server webhost.
Just like sv_messageurl though, you'd need a public accessable web host.
Title: Re: Can i make Ulx?
Post by: atomicspark on January 03, 2008, 06:45:11 PM
-snip-

Stupid hidden second page... Question was already answered lol.

You may delete this. :)
Title: Re: Can i make Ulx?
Post by: JamminR on January 03, 2008, 08:05:31 PM
-snip-

Stupid hidden second page... Question was already answered lol.

You may delete this. :)

bah. what fun would that be. I'd rather point and laugh.