1. Post #1
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    Hi i just got a new html Background for gmod and it works fine on my friend server but when i try o use it it doesnt work

    any help?

    the sevrer.cfg is as follows

    // server name
    hostname "TA1P [1] Roleplay [WIRE|PCMOD2]"
    sv_loadingurl "************" (blanked so no one can steal the code)
    sv_allowdownload 1

    // rcon passsword
    rcon_password ************

    // Server password
    sv_password ""

    // bandwidth rates/settings
    sv_minrate 0
    sv_maxrate 0
    decalfrequency 10
    sv_maxupdaterate 33
    sv_minupdaterate 10

    // server logging
    log off
    sv_logbans 0
    sv_logecho 1
    sv_logfile 1
    sv_log_onefile 0
    net_maxfilesize 64
    sv_alltalk 0
    mp_timelimit 0
    mp_flashlight 0
    sbox_noclip 0
    sbox_plpldamage 0
    sbox_maxeffects 0
    sbox_maxthrusters 0
    sbox_maxemitters 0
    sbox_maxturrets 0
    sbox_maxprops 50
    sbox_maxhoverballs 0
    sbox_maxvehicles 0
    sbox_maxlamps 0
    sbox_maxwheels 0
    sbox_maxragdolls 0
    sbox_maxbuttons 3
    sbox_maxballoons 0
    sbox_maxdynamite 0
    sbox_maxspawners 0
    sbox_godmode 0

    thanks
    Reply With Quote Edit / Delete United Kingdom Show Events

  2. Post #2
    Gold Member
    .\\Shadow}'s Avatar
    November 2009
    886 Posts
    We can't help if we can't see the loading page. hurr.
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 2Agree Agree x 2Disagree Disagree x 1 (list)

  3. Post #3
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    Have you tried reloading the map after starting the server? If not I have a really simple script that does it automatically.

    hook.Add( "Think", "I_hate_flatgrass", function()
    	if game.GetMap() == "gm_flatgrass" then
    		game.ConsoleCommand("changelevel gm_construct\n")
    	end
    end
    )
    (Save it in the servers lua/autorun directory, doesn't matter what name it has)

    Simply set your servers default map to gm_flatgrass (or a map you dont use, be sure to change the code to correspond to it) and where it says gm_construct change that to the default map you actually want.
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 1Disagree Disagree x 1 (list)

  4. Post #4
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    Thanks ill give them a try and im not displaying the Url becuase yoiu can copy the code. i definitly works, my friend tryed it on his server.
    Reply With Quote Edit / Delete United Kingdom Show Events

  5. Post #5
    Gold Member
    .\\Shadow}'s Avatar
    November 2009
    886 Posts
    Have you tried reloading the map after starting the server? If not I have a really simple script that does it automatically.

    hook.Add( "Think", "I_hate_flatgrass", function()
    	if game.GetMap() == "gm_flatgrass" then
    		game.ConsoleCommand("changelevel gm_construct\n")
    	end
    end
    )
    (Save it in the servers lua/autorun directory, doesn't matter what name it has)

    Simply set your servers default map to gm_flatgrass (or a map you dont use, be sure to change the code to correspond to it) and where it says gm_construct change that to the default map you actually want.
    For loading url to reload, the server.cfg file has to be reloaded and the map changed, or the server has to be restarted. If the server is restarted, what's the point of your script... ?
    Reply With Quote Edit / Delete United States Show Events

  6. Post #6
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    I have restarted the sevrer etc but its not working lol for some reason the server wont display it
    Reply With Quote Edit / Delete United Kingdom Show Events

  7. Post #7
    TornadoChas3r's Avatar
    March 2009
    227 Posts
    Add the sv_loadingurl "http://yoursite.com" into your autoexec.cfg

    If you don't have an autoexec.cfg just make one and save it in your cfg folder (where the server.cfg is located).
    Reply With Quote Edit / Delete United States Show Events

  8. Post #8
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    Ill give it a go Thanks

    Edited:

    Add the sv_loadingurl "http://yoursite.com" into your autoexec.cfg

    If you don't have an autoexec.cfg just make one and save it in your cfg folder (where the server.cfg is located).
    Did not work :/ i tried making a new file autoexec.cfg (i copied serve.cfg but changed name and the stuff inide it) and then added sv_loadingurl "MY LINK IN HERE) and it did not work
    :/
    Reply With Quote Edit / Delete United Kingdom Show Events

  9. Post #9
    Touhou Enthusiast
    Shenesis's Avatar
    January 2011
    326 Posts
    I had this problem too when I owned a server, if your link starts by http://, then remove it. So your link would look like www.<link>.com
    Reply With Quote Edit / Delete France Show Events

  10. Post #10
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    Ill give it a go thank you

    Edited:

    I had this problem too when I owned a server, if your link starts by http://, then remove it. So your link would look like www.<link>.com
    I just tried it and it didnt work. i am using the same sevrer.cfg as my friends but diffrent servers and hosts and it worked for him :/ thanks anyway
    Reply With Quote Edit / Delete United Kingdom Show Events

  11. Post #11
    TornadoChas3r's Avatar
    March 2009
    227 Posts
    Don't move all the cvars from your server.cfg into your autoexec. (don't copy the server.cfg and change the name)

    Try adding only the sv_loadingurl "http://yoursite.com/" into the autoexec
    Reply With Quote Edit / Delete United States Show Events

  12. Post #12
    xXkmandersonXx's Avatar
    May 2010
    108 Posts
    I did :/. i justy made the new file (i copied server.cfg then rmeoved evrything in it and renamed it) then i put

    sv_loadingurl " ---MY LINK---"
    Reply With Quote Edit / Delete United Kingdom Show Events Dumb Dumb x 1 (list)

  13. Post #13
    Gold Member
    Cyberuben's Avatar
    April 2009
    2,061 Posts
    Just give your damn link. I think you have something done wrong with the page.
    Reply With Quote Edit / Delete Netherlands Show Events

  14. Post #14
    hellsgate700's Avatar
    May 2007
    87 Posts
    Go to your server console. Type: sv_loadingurl loadingurl.com/garrysmod/loading.php (or whatever the url is.) Then type map gm_construct (or whatever map you want.) Then join your server.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  15. Post #15
    Gold Member

    October 2010
    457 Posts
    Ill give it a go thank you

    Edited:



    I just tried it and it didnt work. i am using the same sevrer.cfg as my friends but diffrent servers and hosts and it worked for him :/ thanks anyway
    PM me the link and i'll see if theres anything wrong. if that fails. Try booting the server using +sv_loadingurl URLHEREWITHNOQUOTES
    just drop a support ticket to your hoster if it doesn't work, but first send me the loadingurl incase theres anything wrong

    And if I wanted to steal it i'd simply join your server and type sv_loadingurl and it'd tell me it
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  16. Post #16
    Gold Member
    Adzter's Avatar
    September 2009
    1,950 Posts
    Looking at the link under your avatar to a site made with Wix may be the problem, if of course the loading url is made with wix
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  17. Post #17

    January 2012
    1 Posts
    Where is Autoexec.cfg im lost

    (User was banned for this post ("Dumb bump" - Ninja101))
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  18. Post #18
    Me <3 You Long Time!

    February 2011
    99 Posts
    I think this feature is broken in the latest version of Garry's Mod mine & hundreds of other servers just display a plain white background.
    Reply With Quote Edit / Delete Windows 7 Germany Show Events

  19. Post #19
    Gold Member

    March 2012
    1,732 Posts
    I think this feature is broken in the latest version of Garry's Mod mine & hundreds of other servers just display a plain white background.
    Yeah, except this thread was created over a year ago (ie. before the HTML panels broke).
    Reply With Quote Edit / Delete Mac United Kingdom Show Events