Skip to content

Commit

Permalink
Merge pull request #487 from KZGlobalTeam/dev
Browse files Browse the repository at this point in the history
GOKZ v3.6.3
  • Loading branch information
zealain authored Feb 11, 2025
2 parents 4ce210a + a7dbb64 commit 5d97571
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
mv sm/addons/sourcemod/scripting/gokz-*.smx addons/sourcemod/plugins
- name: upload-full
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: GOKZ-v${{ env.GOKZ_VERSION }}
path: |
Expand All @@ -56,7 +56,7 @@ jobs:
!*.fgd
- name: upload-upgrade
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: GOKZ-v${{ env.GOKZ_VERSION }}-upgrade
path: |
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-mode-kztimer.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Plugin myinfo =

#define UPDATER_URL GOKZ_UPDATER_BASE_URL..."gokz-mode-kztimer.txt"

#define MODE_VERSION 2170
#define MODE_VERSION 2171
#define DUCK_SPEED_NORMAL 8.0
#define PRE_VELMOD_MAX 1.104 // Calculated 276/250
#define PERF_SPEED_CAP 380.0
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-mode-simplekz.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Plugin myinfo =

#define UPDATER_URL GOKZ_UPDATER_BASE_URL..."gokz-mode-simplekz.txt"

#define MODE_VERSION 210
#define MODE_VERSION 211
#define PS_MAX_REWARD_TURN_RATE 0.703125 // Degrees per tick (90 degrees per second)
#define PS_MAX_TURN_RATE_DECREMENT 0.015625 // Degrees per tick (2 degrees per second)
#define PS_SPEED_MAX 26.54321 // Units
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-mode-vanilla.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Plugin myinfo =

#define UPDATER_URL GOKZ_UPDATER_BASE_URL..."gokz-mode-vanilla.txt"

#define MODE_VERSION 170
#define MODE_VERSION 171

float gF_ModeCVarValues[MODECVAR_COUNT] =
{
Expand Down
4 changes: 3 additions & 1 deletion addons/sourcemod/scripting/gokz-saveloc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ enum struct Location {
GOKZ_SetTeleportCount(client, this.teleportCount);
GOKZ_SetUndoTeleportData(client, this.undoTeleportData, GOKZ_CHECKPOINT_VERSION);

int flagsMask = ~(FL_CLIENT | FL_FAKECLIENT | FL_GODMODE | FL_NOTARGET | FL_AIMTARGET);
SetEntityFlags(client, (this.flags & flagsMask) | (GetEntityFlags(client) & ~flagsMask));

SetEntPropEnt(client, Prop_Data, "m_hGroundEntity", this.groundEnt);
SetEntityFlags(client, this.flags);
TeleportEntity(client, this.position, this.angles, this.velocity);
SetEntPropFloat(client, Prop_Send, "m_flDuckAmount", this.duckAmount);
SetEntProp(client, Prop_Send, "m_bDucking", this.ducking);
Expand Down

0 comments on commit 5d97571

Please sign in to comment.