Bunny Hop Script Help

Talk about anything related with the servers

Moderator: Core Staff

Post Reply
Shikari
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: October 26th, 2013, 3:56 pm

Bunny Hop Script Help

Post by Shikari » December 16th, 2013, 2:39 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Bunny Hop Script Help

Post by Drofder2004 » December 21st, 2013, 9:06 pm

If the server is dedicated, you should be able to do this via either rcon or config
Image
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

Shikari
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: October 26th, 2013, 3:56 pm

Re: Bunny Hop Script Help

Post by Shikari » December 21st, 2013, 10:42 pm

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.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Bunny Hop Script Help

Post by Drofder2004 » December 22nd, 2013, 4:53 pm

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.
Image
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

Shikari
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: October 26th, 2013, 3:56 pm

Re: Bunny Hop Script Help

Post by Shikari » December 28th, 2013, 2:05 pm

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.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Bunny Hop Script Help

Post by Drofder2004 » December 28th, 2013, 6:15 pm

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.
Image
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

Shikari
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: October 26th, 2013, 3:56 pm

Re: Bunny Hop Script Help

Post by Shikari » December 28th, 2013, 11:48 pm

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

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Bunny Hop Script Help

Post by Drofder2004 » December 29th, 2013, 1:13 am

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)
Image
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

Shikari
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: October 26th, 2013, 3:56 pm

Re: Bunny Hop Script Help

Post by Shikari » December 29th, 2013, 5:49 am

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

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Bunny Hop Script Help

Post by F |Madness| U » December 29th, 2013, 2:04 pm

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).
-

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests