AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Movement Unlocker (https://forums.alliedmods.net/showthread.php?t=255298)

Peace-Maker 01-12-2015 21:47

[CS:GO] Movement Unlocker
 
3 Attachment(s)
CS:GO Movement Unlocker
Removes max speed limitation from players on the ground. Feels like CS:S.

Movement in CS:GO differs from CS:S in that players stopped immediatly when touching the ground instead of sliding with their current velocity. This is annoying for surfing and bunny hopping.

While trying to find a proper fix for the weapon knock back in Zombie:Reloaded, gamemann and I finally found a way which feels like the knock back in CS:S.

There are lots of changes to the movement handling in CS:GO. One of them is actually obeying the maxspeed settings. That line is actually after the Accelerate call. This plugin removes that code.

Installation
  1. Get the plugin and upload the .smx to your sourcemod plugins folder.
  2. Upload the csgo_movement_unlocker.games.txt into your gamedata folder.

Maxximou5 01-13-2015 00:07

Re: [CS:GO] Movement Unlocker
 
I'm going to try this out on my ScoutzKnivez servers, it should be interesting to see the results.

Thanks for plugin.

Franc1sco 01-13-2015 02:53

Re: [CS:GO] Movement Unlocker
 
Finally! I will test this asap :)

EDIT: works like a charm, nice job

rhelgeby 01-13-2015 05:10

Re: [CS:GO] Movement Unlocker
 
Excellent work! :up:

Zephyrus 01-13-2015 07:17

Re: [CS:GO] Movement Unlocker
 
this should fix knockback as well right?

edit: yup, knockback works perfectly, thanks. a lot better fix than the old one

TheWho 01-13-2015 09:09

Re: [CS:GO] Movement Unlocker
 
Well done!
Didn't
PHP Code:

SetEntPropFloat(clientProp_Send"m_flStamina"0.0

in player_jump event worked?

I hope that your next goal is to solve the annoying bhop stop animation in csgo aswell :P

Zsozso 01-13-2015 10:16

Re: [CS:GO] Movement Unlocker
 
L 01/13/2015 - 16:15:54: [SM] Plugin encountered error 25: Call was aborted
L 01/13/2015 - 16:15:54: [SM] Native "SetFailState" reported: Can't find WalkMoveMaxSpeed address.
L 01/13/2015 - 16:15:54: [SM] Displaying call stack trace for plugin "csgo_movement_unlocker.smx":
L 01/13/2015 - 16:15:54: [SM] [0] Line 32, /home/forums/content/files/4/1/4/1/8/141520.attach::OnPluginStart()
[SM] Loaded plugin csgo_movement_unlocker.smx successfully.

Zsozso 01-13-2015 10:18

Re: [CS:GO] Movement Unlocker
 
Can't load your plugin :(

Peace-Maker 01-13-2015 12:37

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Zsozso (Post 2248653)
L 01/13/2015 - 16:15:54: [SM] Plugin encountered error 25: Call was aborted
L 01/13/2015 - 16:15:54: [SM] Native "SetFailState" reported: Can't find WalkMoveMaxSpeed address.
L 01/13/2015 - 16:15:54: [SM] Displaying call stack trace for plugin "csgo_movement_unlocker.smx":
L 01/13/2015 - 16:15:54: [SM] [0] Line 32, /home/forums/content/files/4/1/4/1/8/141520.attach::OnPluginStart()
[SM] Loaded plugin csgo_movement_unlocker.smx successfully.

Make sure you added the gamedata as well. Which platform? gamemann tested on linux and windows.

Zsozso 01-13-2015 13:30

Re: [CS:GO] Movement Unlocker
 
yes added gamedata.
(addons/sourcemod/gamedata/)

CSGO Linux server.

[01] SourceMod (1.7.0-dev+5092) by AlliedModders LLC
[02] CS Tools (1.7.0-dev+5092) by AlliedModders LLC
[03] SDK Tools (1.7.0-dev+5092) by AlliedModders LLC
[04] SDK Hooks (1.7.0-dev+5092) by AlliedModders LLC

Zsozso 01-13-2015 15:01

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Zsozso (Post 2248735)
yes added gamedata.
(addons/sourcemod/gamedata/)

CSGO Linux server.

[01] SourceMod (1.7.0-dev+5092) by AlliedModders LLC
[02] CS Tools (1.7.0-dev+5092) by AlliedModders LLC
[03] SDK Tools (1.7.0-dev+5092) by AlliedModders LLC
[04] SDK Hooks (1.7.0-dev+5092) by AlliedModders LLC

update sourcemod and now work :)

but the problem knockback too high :( how to change?

iEx5 01-13-2015 15:50

Re: [CS:GO] Movement Unlocker
 
so trigger_push must work correctly now?
If it's true my plugin must be removed;3

soja92 01-13-2015 16:54

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Zsozso (Post 2248778)
update sourcemod and now work :)

but the problem knockback too high :( how to change?

You should be able to change knockback in the normal zr configs.

Zsozso 01-13-2015 17:04

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by soja92 (Post 2248823)
You should be able to change knockback in the normal zr configs.

/zr/weapons.txt ?

samsah 01-14-2015 02:15

Re: [CS:GO] Movement Unlocker
 
Really nice!

Jargon 01-14-2015 05:19

Re: [CS:GO] Movement Unlocker
 
Has anyone else noticed that bhopping is now really easy when using this plugin? It seems to have removed jump stamina/maybe revealed why Valve made those annoying changes in the first place.

JoB2C 01-14-2015 12:52

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Jargon (Post 2248967)
Has anyone else noticed that bhopping is now really easy when using this plugin? It seems to have removed jump stamina/maybe revealed why Valve made those annoying changes in the first place.

The speed is not instantly reset when landing with this plugin, then it's pretty obvious that bunny hopping will be easier.

Landing stamina slows down your movement when landing. Even with that feature disabled, your velocity is capped to the max run speed just after landing (in case you do not do a perfect bhop). This is what this plugin removes.

Quote:

Movement in CS:GO differs from CS:S in that players stopped immediatly when touching the ground instead of sliding with their current velocity.

Chesterfield 01-14-2015 12:52

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Jargon (Post 2248967)
Has anyone else noticed that bhopping is now really easy when using this plugin? It seems to have removed jump stamina/maybe revealed why Valve made those annoying changes in the first place.

True, this is a problem sometimes since everyone starts to bhopping

Peace-Maker 01-14-2015 17:31

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Jargon (Post 2248967)
Has anyone else noticed that bhopping is now really easy when using this plugin? It seems to have removed jump stamina/maybe revealed why Valve made those annoying changes in the first place.

You don't have any other plugins running that raise m_flMaxSpeed on the players, right? And have sv_enablebunnyhopping set to 0?

PreventBunnyJumping, which is called in CheckJumpButton, looks something along this lines
PHP Code:

CCSGameMovement::PreventBunnyJumping()
{
  
float maxbhopspeed 1.1 this->player->m_flMaxSpeed;
  if(
maxbhopspeed 0.0)
  {
    
float wishspeed VectorLength(this->m_vecVelocity);
    if(
maxbhopspeed wishspeed)
    {
      
VectorScale (this->m_vecVelocitymaxbhopspeed/wishspeedthis->m_vecVelocity);
    }
  }


This is nearly the exact same code this plugin removes, except for that 1.1 factor, so it should do its job.

Sithranduil 01-14-2015 19:20

Re: [CS:GO] Movement Unlocker
 
Nice work :) !

Jargon 01-14-2015 21:57

Re: [CS:GO] Movement Unlocker
 
Because I installed this from the Z:R forum section I didn't realise that making bunnyhopping easier was an intended consequence of this, is there something that can be changed in this or a setting added to enable knockback without the bhop boost?

aexi0n 01-14-2015 22:18

Re: [CS:GO] Movement Unlocker
 
Hey, I've tried installing this on my own server, and I'm getting this error:

L 01/14/2015 - 22:18:00: [SM] Plugin encountered error 25: Call was aborted
L 01/14/2015 - 22:18:00: [SM] Native "SetFailState" reported: Can't find WalkMoveMaxSpeed address.
L 01/14/2015 - 22:18:00: [SM] Displaying call stack trace for plugin "csgo_movement_unlocker.smx":
L 01/14/2015 - 22:18:00: [SM] [0] Line 32, C:\Users\Aexion\Desktop\sourcemod\scripting\c sgo_movement_unlocker.sp::OnPluginStart()

Any suggestions?

Jargon 01-14-2015 22:24

Re: [CS:GO] Movement Unlocker
 
CS:GO was just updated so the gamedata may require an update, though it's currently fine on my Linux server.

aexi0n 01-14-2015 22:30

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Jargon (Post 2249302)
CS:GO was just updated so the gamedata may require an update, though it's currently fine on my Linux server.

Attempting to connect to the server in your signature now, hopefully that is the one w/ the plugin. Really want to see what Bhop is like with the plugin. Also, this error occured before tonights update, and is still occuring. I'm currently on version SourceMod Version: 1.6.3
Would upgrading to unstable version 1.7 fix my problem?

Jargon 01-15-2015 01:18

Re: [CS:GO] Movement Unlocker
 
I'm currently running the 1.6.4-dev branch snapshot (1.6.4-dev+4609), you may just want something a little more updated but not as bleeding edge as 1.7.

m_bNightstalker 01-15-2015 19:44

Re: [CS:GO] Movement Unlocker
 
Impressive

Lord_Rofl 01-16-2015 10:41

Re: [CS:GO] Movement Unlocker
 
Sometimes Zombies have zero knockback. Anyone else?

PresidentEvil 02-08-2015 17:05

Re: [CS:GO] Movement Unlocker
 
works well

only issue is at round start, during the freeze time, players can move and are not frozen

Chesterfield 02-08-2015 17:39

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Jargon (Post 2249297)
Because I installed this from the Z:R forum section I didn't realise that making bunnyhopping easier was an intended consequence of this, is there something that can be changed in this or a setting added to enable knockback without the bhop boost?

bump

Azerja12 02-22-2015 11:29

Re: [CS:GO] Movement Unlocker
 
Really love the plugin. The only thing that worries me and i want changed or made a cvar about is the boost you get when you jump. If you could fix that. I would be so happy :)

Nice work!

hekut146 03-03-2015 06:11

Re: [CS:GO] Movement Unlocker
 
Is there a fix speed classes zombies in cs:go Zombie:Reloaded?

Peace-Maker 03-03-2015 09:40

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Azerja12 (Post 2265280)
Really love the plugin. The only thing that worries me and i want changed or made a cvar about is the boost you get when you jump. If you could fix that. I would be so happy :)

Nice work!

This plugin doesn't add any boost at all. You should set sv_enablebunnyhopping to 0 to prevent people from bunnyhopping easily.

Quote:

Originally Posted by PresidentEvil (Post 2260176)
only issue is at round start, during the freeze time, players can move and are not frozen

Are you sure? I'd expect the freezing to change the movetype or add an entity flag instead of forcing m_flMaxSpeed to 0 in the game. That would be an interesting implementation in csgo :P

Quote:

Originally Posted by aexi0n (Post 2249301)
Hey, I've tried installing this on my own server, and I'm getting this error:

L 01/14/2015 - 22:18:00: [SM] Plugin encountered error 25: Call was aborted
L 01/14/2015 - 22:18:00: [SM] Native "SetFailState" reported: Can't find WalkMoveMaxSpeed address.
L 01/14/2015 - 22:18:00: [SM] Displaying call stack trace for plugin "csgo_movement_unlocker.smx":
L 01/14/2015 - 22:18:00: [SM] [0] Line 32, C:\Users\Aexion\Desktop\sourcemod\scripting\c sgo_movement_unlocker.sp::OnPluginStart()

Any suggestions?

Windows or linux? Do you still have issues?

Wahsu 03-04-2015 16:00

Re: [CS:GO] Movement Unlocker
 
This plugin is the best bhop plugin, but was it abner bhop that fixed an annoying water glitch where you are stuck to the ground jumping for a short while when falling into water puddles from great heights?

PresidentEvil 03-05-2015 19:50

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by PresidentEvil (Post 2260176)
works well

only issue is at round start, during the freeze time, players can move and are not frozen

nvm, ignore this

it was another plugin doing it

Zsozso 03-10-2015 13:07

Re: [CS:GO] Movement Unlocker
 
new update and not working csgo movement unlocker.

Why?

Zsozso 03-10-2015 14:12

Re: [CS:GO] Movement Unlocker
 
Today new csgo update and movement unlocker not work

Please fix

ofir753 03-16-2015 09:16

Re: [CS:GO] Movement Unlocker
 
The plugin doesnt work on my server a Linux server centOS no errors

Peace-Maker 03-21-2015 16:41

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by ofir753 (Post 2274449)
The plugin doesnt work on my server a Linux server centOS no errors

I've checked the linux server.so and the patch is still valid. What's not working?

Nolongerinthegame 04-05-2015 07:49

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Peace-Maker (Post 2269083)
This plugin doesn't add any boost at all. You should set sv_enablebunnyhopping to 0 to prevent people from bunnyhopping easily.


The value on my server is 0. COmpared to the old knockback fix, it is way easier to bunnyhop.

Azerja12 04-05-2015 19:09

Re: [CS:GO] Movement Unlocker
 
Quote:

Originally Posted by Peace-Maker (Post 2269083)
This plugin doesn't add any boost at all. You should set sv_enablebunnyhopping to 0 to prevent people from bunnyhopping easily.

It was abners bhop. Sorry :)


Your plugin works great!


All times are GMT -4. The time now is 22:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.