Raised This Month: $51 Target: $400
 12% 

[ANY] Slope Boost Fix


Post New Thread Reply   
 
Thread Tools Display Modes
JohnGT
BANNED
Join Date: Aug 2015
Location: Usa
Old 08-02-2015 , 14:16   Re: [ANY] Slope Boost Fix
Reply With Quote #11

When i try to load the plugin , i end up with "[SM] Plugin slopefix.smx failed to load: Native "ConVar.FloatValue.get" was not found.".
http://i.imgur.com/q6CLc0T.png

Any solution for that?
JohnGT is offline
Send a message via ICQ to JohnGT Send a message via AIM to JohnGT Send a message via Yahoo to JohnGT Send a message via Skype™ to JohnGT
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-02-2015 , 14:34   Re: [ANY] Slope Boost Fix
Reply With Quote #12

Quote:
Originally Posted by JohnGT View Post
When i try to load the plugin , i end up with "[SM] Plugin slopefix.smx failed to load: Native "ConVar.FloatValue.get" was not found.".
http://i.imgur.com/q6CLc0T.png

Any solution for that?
Update your SourceMod to >1.7
__________________
retired
shavit is offline
JohnGT
BANNED
Join Date: Aug 2015
Location: Usa
Old 08-02-2015 , 14:45   Re: [ANY] Slope Boost Fix
Reply With Quote #13

Quote:
Originally Posted by shavit View Post
Update your SourceMod to >1.7
Oh. Thanks alot man ! <3
JohnGT is offline
Send a message via ICQ to JohnGT Send a message via AIM to JohnGT Send a message via Yahoo to JohnGT Send a message via Skype™ to JohnGT
Charles_
Junior Member
Join Date: Jul 2015
Location: Connecticut, USA
Old 11-30-2015 , 05:04   Re: [ANY] Slope Boost Fix
Reply With Quote #14

Thanks! It works great!
Charles_ is offline
BReeZ
AlliedModders Donor
Join Date: Feb 2013
Location: Denmark
Old 10-10-2016 , 19:18   Re: [ANY] Slope Boost Fix
Reply With Quote #15

This plugin causes players to get stuck in the ground after being pushed forward (triggerpush). I use Linux and the 1.2 version. Latest stable build of SourceMod.
BReeZ is offline
iNickel
Member
Join Date: Mar 2014
Location: Here.
Old 11-17-2016 , 17:26   Re: [ANY] Slope Boost Fix
Reply With Quote #16

Is there any way to modify this plugin so it disables slope boosts completely? (the exact opposite of this plugin)
iNickel is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 11-12-2017 , 07:22   Re: [ANY] Slope Boost Fix
Reply With Quote #17

PHP Code:
vLast[2] -= (FindConVar("sv_gravity").FloatValue GetTickInterval() * 0.5); 
Shouldn't this be:

PHP Code:
vLast[2] -= (GetEntityGravity(client) * GetTickInterval() * 0.5); 
Also have some other issues. Don't get why you don't want to apply the fix when going up the slope? Also way you apply basevel doesn't seem to be right. Shouldn't FL_BASEVELOCITY flag be removed after its applied so the basevel doesn't double up and get applied twice?
hmmmmm is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 06-11-2018 , 01:22   Re: [ANY] Slope Boost Fix
Reply With Quote #18

There's a nice fix done in Momentum Mod. You can find the fix here: https://github.com/momentum-mod/game...ment.cpp#L1101

I did pretty much the same thing in SourcePawn by hooking CGameMovement::SetGroundEntity virtual function pre-call and changing mv->m_vecVelocity with ClipVelocity, but I need help on the code - if I did everything right as I don't have much experience with SourceMod or assembler.

Last edited by lazarev; 06-11-2018 at 01:22.
lazarev is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 06-11-2018 , 07:48   Re: [ANY] Slope Boost Fix
Reply With Quote #19

If you show your code I'm sure lots of people would be happy to help.
hmmmmm is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 06-11-2018 , 09:24   Re: [ANY] Slope Boost Fix
Reply With Quote #20

Nice release <3
mug1wara is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:59.


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