ULX

Author Topic: Can i make Ulx?  (Read 8336 times)

0 Members and 3 Guests are viewing this topic.

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Can i make Ulx?
« 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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Can i make Ulx?
« Reply #1 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
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #2 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

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Can i make Ulx?
« Reply #3 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.

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #4 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....

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Can i make Ulx?
« Reply #5 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. ^^

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Can i make Ulx?
« Reply #6 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.
« Last Edit: December 29, 2007, 03:18:42 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #7 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

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #8 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"
}

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #9 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"
}

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Can i make Ulx?
« Reply #10 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #11 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
« Last Edit: December 30, 2007, 05:13:58 AM by louis »

Offline WildWill

  • Global Moderator
  • Full Member
  • ****
  • Posts: 100
  • Karma: 15
    • Beast_Building_Server
Re: Can i make Ulx?
« Reply #12 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.

Offline louis

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Can i make Ulx?
« Reply #13 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

?

Offline WildWill

  • Global Moderator
  • Full Member
  • ****
  • Posts: 100
  • Karma: 15
    • Beast_Building_Server
Re: Can i make Ulx?
« Reply #14 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.
« Last Edit: December 30, 2007, 02:04:59 PM by WildWill »