Page 1 of 1
Bunny Hop Script Help
Posted: December 16th, 2013, 2:39 pm
by Shikari
Hello, i am opening a CodJumper server soon, yet i cannot find a way to enable the 'jump_slowdownenable 0' Dvar without enabling cheats on my server, ive taken a look at scripting but it confuses me. Could anybody help me out or possibly write the script for me?
Thanks
Shikari/Luke
Re: Bunny Hop Script Help
Posted: December 21st, 2013, 9:06 pm
by Drofder2004
If the server is dedicated, you should be able to do this via either rcon or config
Re: Bunny Hop Script Help
Posted: December 21st, 2013, 10:42 pm
by Shikari
Yes, the server is dedicated. When i try to enable either through rcon or config i look into the logs and it says that the Dvars are cheat protected.
Re: Bunny Hop Script Help
Posted: December 22nd, 2013, 4:53 pm
by Drofder2004
It has been a while since I have done anything server based.
The easiest way to change a cheat protected variable is to enable it in the mod itself.
If you are using the up-to-date CJ mod, open the IWD file in winrar.
Extract the file "addon.gsc" from inside the addons folder.
Add the following line inside the "init" function.
Code: Select all
setDvar("jump_slowdownenable", 0); /* Enable Bunny Hop */
Should look something like this:
Code: Select all
init()
{
/* You may use this file to add your custom *
* scripts without requiring a stock file hack. *
* Thread your functions inside 'init()' and *
* place your custom functions below. */
setDvar("jump_slowdownenable", 0); /* Enable Bunny Hop */
}
Drag and drop the newly saved file back into the IWD (into the correct folder) and save.
Upload that file to your server and restart.
Re: Bunny Hop Script Help
Posted: December 28th, 2013, 2:05 pm
by Shikari
I am using an edited version of the latest codjumper mod, i added the addons folder and everything in the mod seems like it is how it should be yet the Slowdown is still not disabled.
Re: Bunny Hop Script Help
Posted: December 28th, 2013, 6:15 pm
by Drofder2004
I assume by "edited" version, you mean you have added some stuff to the IWD?
Can you post the file and I will take a look.
Re: Bunny Hop Script Help
Posted: December 28th, 2013, 11:48 pm
by Shikari
I added some scripts from our Promod server as you can see, The dvars get set but as soon as the map changes a couple times the Dvars get set back to default.
I have uploaded the files to mediafire at this link as i was having problems with the uploading on here. -
https://www.mediafire.com/?y5buc5mfnvzif9g
Re: Bunny Hop Script Help
Posted: December 29th, 2013, 1:13 am
by Drofder2004
Your mod.ff is from
CoDJumper 3.11
The addons file was added in
CoDJumper 3.12
http://codjumper.com/files/mods/codjumperv3_12b.zip
Update and your problem should be solved.
(Also, for note - your scripts IWD may be saved incorrectly; I was unable to open it using pakscape [
which I recommend for PK3/IWD files])
Further note:
Do not use the addons file to change DVARs that already exist within the mod, use your config file (cj_showdamage 0)
Re: Bunny Hop Script Help
Posted: December 29th, 2013, 5:49 am
by Shikari
Thanks a ton Drof, I replaced the mod.ff and it works like a charm. While im here would you have any idea on how to disable player collision?
Thanks
Re: Bunny Hop Script Help
Posted: December 29th, 2013, 2:04 pm
by F |Madness| U
Shikari wrote:Thanks a ton Drof, I replaced the mod.ff and it works like a charm. While im here would you have any idea on how to disable player collision?
Thanks
That can only be disabled by using the edited version of the iw3mp.exe. Furthermore, it can only be run on linux servers. If you are using a linux server and want to have no player collision though, google CoD4 1.7a patch or CoD4 Ninja patch (something along those lines should allow you to easily find it).