• DarkRP Help
    21 replies, posted
I'm trying to make it so the fall damage on the server is set to 0, but I don't know how? I host on xenonservers.com
Put sv_falldamage 0 in your server.cfg.
It didnt work. I restarted the server too.
Try mp_falldamage 0. Also make sure that you have server.cfg in your autoexec.cfg.
How do you do that? I dont know how to move it. Do I just copy everything out of server.cfg and paste it into autoexec.cfg?
No. Literally put the word server.cfg in your autoexec.cfg.
So, just like this? [url]http://puu.sh/7uCpk.jpg[/url]
Yes.
Didnt work. Heres some pictures of the server.cfg. [url]http://puu.sh/7uFKJ.jpg[/url] [url]http://puu.sh/7uFMx.jpg[/url]
Try putting sv_falldamage 0 back in there.
Nothing. :/ [url]http://puu.sh/7uIFz.jpg[/url]
Huh, something in the gamemode must be overriding the default convar. Try this. [code]function GetFallDamage() return 0 end hook.Add( "GetFallDamage", "NoFallDamage", GetFallDamage )[/code] [editline]14th March 2014[/editline] Put in lua/autorun/server.
Change your host from XenonServers :>
[QUOTE=Positive;44235302]Change your host from XenonServers :>[/QUOTE] that does absolutely nothing Code_gs is right. the gamemode overrides normal convars with its own scaled version (varying amounts of damage depending on fall distance)
Lol nice rcon password
[QUOTE=code_gs;44230616]No. Literally put the word server.cfg in your autoexec.cfg.[/QUOTE] What?
[QUOTE=Bo98;44253268]What?[/QUOTE] The server.cfg doesn't execute automatically, so you have to put it in the autoexec so it can execute on server start.
Unless something has changed in the past few months, that was never the case for me. Anyway, it would have to be "exec server.cfg".
[QUOTE=Bo98;44255843]Unless something has changed in the past few months, that was never the case for me. Anyway, it would have to be "exec server.cfg".[/QUOTE] Oops, yeah, you're right. [editline]16th March 2014[/editline] But I'm almost certain it doesn't exec without it being in autoexec.
I'll set up a server tonight and check. I thought server.cfg was executed on startup and autoexec was on every map change (inc. startup).
DarkRP has a setting, assuming you have the latest DarkRP, check the DarkRPModification addon [code]-- realisticfalldamage - Enable/Disable dynamic fall damage. Setting mp_falldamage to 1 will over-ride this. GM.Config.realisticfalldamage = true[/code] Edit: I realized after posting this I think you may be talking about any type of falldamage, but that variable messes around with falldamage so it still might be worth looking into
[QUOTE=Bo98;44256367]I'll set up a server tonight and check. I thought server.cfg was executed on startup and autoexec was on every map change (inc. startup).[/QUOTE] You're correct about this. Although some servers has been having issues with executing the server.cfg, which can be resolved by adding [B]exec server.cfg[/B] to the autoexec.cfg.
Sorry, you need to Log In to post a reply to this thread.