Skip to content

Commit

Permalink
Merge branch 'nobclip-boost-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
nikooo777 committed Oct 27, 2017
2 parents 9f6edd7 + 30b455d commit d7c1a38
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@

<h1>ckSurf 1.20</h1>
<h1>ckSurf 1.21</h1>
<p><strong>Remember to backup your database before updating to a beta version</strong></p><br />
<p><strong>Updating instructions from 1.17 -> 1.18: https://forums.alliedmods.net/showpost.php?p=2371063&postcount=841</strong><p>
<p><strong>Updating instructions from 1.18 -> 1.19: download the new skillgroups.cfg and replace the old one in addons/sourcemod/configs. </br>
<p><strong>Updating instructions from 1.19 -> 1.21: a lot of bug fixes, you might need to change skillgroups.cfg and related rank colors again https://github.com/nikooo777/ckSurf/pull/59</br>

If you want to keep your old titles then you'll have to manually copy over the old ones and make <b>SURE</b> that the colors are supported</strong><p>
<p><strong>This fork is probably the most updated version you'll find available, please note that it's compiled against sm-1.8 and only works on sm-1.8+</strong><p>
<p>The original developer(s) quit their work, the latest (Jonitaikaponi) has gone as far as deleting the repo. I (Nikooo777) will try to keep it going</p>
<p>As of today 27th of October 2017 the project is being developed by several other members, and I am accepting all working Pull Requests.</p>

<p>Alliedmods thread: https://forums.alliedmods.net/showthread.php?t=264498</p>
<p>This version of ckSurf has been modfied by: jonitaikaponi, nikooo777, connorjan, blackhawk74
zAfLu, Squallkins, marcowmadeira, 2called-chaos, 1DJ, Maxximou5, peace-maker.</p>
zAfLu, Squallkins, marcowmadeira, 2called-chaos, 1DJ, Maxximou5, peace-maker.</p>
<p>All contributors are also found here: https://github.com/nikooo777/ckSurf/graphs/contributors THANK YOU </p>
Binary file modified csgo/addons/sourcemod/plugins/ckSurf.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions csgo/addons/sourcemod/scripting/ckSurf.sp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#pragma semicolon 1

// Plugin info
#define PLUGIN_VERSION "1.20.3"
#define PLUGIN_VERSION "1.21.0"

// Database definitions
#define MYSQL 0
Expand Down Expand Up @@ -2202,4 +2202,4 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max
return APLRes_Success;
}

/*===== End of Natives ======*/
/*===== End of Natives ======*/
4 changes: 2 additions & 2 deletions csgo/addons/sourcemod/scripting/ckSurf/misc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ public void LimitSpeed(int client)
if (CurVelVec[2] == 0.0)
CurVelVec[2] = 1.0;

float currentspeed = SquareRoot(Pow(CurVelVec[0], 2.0) + Pow(CurVelVec[1], 2.0));
float currentspeed = SquareRoot(Pow(CurVelVec[0], 2.0) + Pow(CurVelVec[1], 2.0) + Pow(CurVelVec[2], 2.0));

if (currentspeed > speedCap)
{
Expand Down Expand Up @@ -3123,4 +3123,4 @@ void SetEntityOpacity(int ent, int iAlpha)
SetEntityRenderMode(ent, RENDER_TRANSCOLOR);
Entity_SetRenderColor(ent, -1, -1, -1, iAlpha);
}
}
}

0 comments on commit d7c1a38

Please sign in to comment.