Bunny Hop Script Help
Moderator: Core Staff
Bunny Hop Script Help
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
Thanks
Shikari/Luke
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Bunny Hop Script Help
If the server is dedicated, you should be able to do this via either rcon or config

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Bunny Hop Script Help
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.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Bunny Hop Script Help
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.
Should look something like this:
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.
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 */
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 */
}
Upload that file to your server and restart.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Bunny Hop Script Help
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.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Bunny Hop Script Help
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.
Can you post the file and I will take a look.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Bunny Hop Script Help
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
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
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Bunny Hop Script Help
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)
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)

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Bunny Hop Script Help
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
Thanks
-
- CJ G0D!
- Posts: 1575
- Joined: June 3rd, 2009, 9:02 pm
- Location: Cardiff University, UK
Re: Bunny Hop Script Help
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).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
-
Who is online
Users browsing this forum: No registered users and 1 guest