opencj-dev / server-gsc

OpenCJ serverside GSC files
GNU Affero General Public License v3.0
3 stars 1 forks source link

Remove wallspeed cooldown #221

Open noobjumper opened 11 months ago

noobjumper commented 11 months ago

If possible, remove the cool down for wall speed

iznogod commented 11 months ago

Should already be removed.

Yocairo commented 11 months ago

@noobjumper know anyone who can test this without placebo? @iznogod which code did this again?

noobjumper commented 11 months ago

I can verify it (even from London 😉). Anyone should be able to pretty easily anyway

  1. Use wall speed to do a wall speed jump.
  2. Load and try again (maybe a few times).

Some of those attempts will fail to gain the extra wall speed. If you wait two seconds or so it will work again.

Note; it's possible spawn() for loading fixes this, but it can still happen without loading so would be nice to resolve it that way too.

iznogod commented 11 months ago

How would mod know that you're trying to re-activate wallspeed?

On a related note: some cod2 maps are already confirmed broken with spawn(), since it's precisely the same thing that allows some additional speed to be generated by loading

noobjumper commented 11 months ago

I don't think the mod needs to detect and apply anything. More so remove the related cool down entirely. Arguably we should remove the sprint cool down all together too, but that's another topic (maybe?)

Yocairo commented 11 months ago

Well, do we know what exactly is the wallspeed cooldown? As in, where is that being applied in asm/c code

iznogod commented 11 months ago

seems to be a combination of pm_time with pm_flags