Skip to content

Commit

Permalink
0.5.2 increment.
Browse files Browse the repository at this point in the history
  • Loading branch information
splewis committed Jul 19, 2014
1 parent f49dc40 commit bb14e6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
0.5.2
- correct bug where spawn clustering were not being paired together correctly
- add cvar `sm_multi1v1_guns_menu_first_connect` for displaying the guns menu if a players' clientprefs cookies aren't set

0.5.1:
- correct a error in the waiting queue (used when the arenas were all full) where players were never dropped from the queue on disconnect
- experimental smart-player-reports support

0.5.0:
- maps can have multiple spawns per arena per player now. Most old maps should continue to function normally, but you should test them
Expand Down
21 changes: 1 addition & 20 deletions csgo/addons/sourcemod/scripting/multi1v1.sp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define PLUGIN_VERSION "0.5.1"
#define PLUGIN_VERSION "0.5.2"
#define UPDATE_URL "https://dl.dropboxusercontent.com/u/76035852/multi1v1-v0.5.x/csgo-multi-1v1.txt"
#pragma semicolon 1

Expand Down Expand Up @@ -818,22 +818,3 @@ public UpdateArena(arena) {
}
}
}

public any:ReportWeight(client, victim) {
new weight = 0;
#define WEIGHT(%1) if (%1) weight++

WEIGHT(g_ratings[client] > 1700.0);
WEIGHT(g_ratings[client] > 1800.0);
WEIGHT(g_ratings[client] > 1900.0);
WEIGHT(g_ratings[victim] > 1750.0);
WEIGHT(g_ratings[victim] > 2000.0);
WEIGHT(g_Rankings[victim] <= 2);
WEIGHT(g_roundsPlayed[victim] < 500);
WEIGHT(g_roundsPlayed[client] > 1000);
WEIGHT(g_roundsPlayed[client] > 3000);
WEIGHT(g_roundsPlayed[client] > 5000);
WEIGHT(g_roundsPlayed[client] > 5000);

return weight;
}

0 comments on commit bb14e6b

Please sign in to comment.