Skip to content

Commit

Permalink
Merge pull request #294 from ZerBytes/v1.x
Browse files Browse the repository at this point in the history
prepare for new release
  • Loading branch information
Groruk authored May 7, 2017
2 parents b31a050 + a4cc11e commit 331e14e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 17 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ Legend:
! = Fixed bug
? = Other stuff
```
(07/05/17): Version 1.6.1
01. ! Fixed an issue while XAJAX initialized
02. ! Fixed the 'dash intro text' not displaying custom HTML elements
03. ! Fixed 'change password' function
04. ! Fixed encoding issues with player names
05. ! Fixed aspect ratio of map image
06. ! Fixed editing groups/override pages
07. ! Fixed display error for 'edit mod' page
08. ! Fixed version numbering displaying 0
09. + Improved sizes and file types of images

(23/04/17): Version 1.6.0
01. ! Fixed some XSS exploits
02. + Improved password hashing / security
Expand Down Expand Up @@ -91,7 +102,7 @@ Legend:
06. - SourceMod 1.6.x and below are not supported
07. - Removed FamilySharing Ban Evasion Detection
08. - MariaDB not does not work anymore (Never was supported anyways)
09. ! Fixed Ban List lagging on MySQL 5.6+
09. ! Fixed Ban List lagging on MySQL 5.6+
10. ! Fixed Plugin Showing DataPack error
11. ! Fixed KickId in Webpanel not working when trying to use Steam3
12. ? Optimized and updated IpToCountry.csv
Expand All @@ -100,7 +111,7 @@ Legend:
-----------------------
01. * Changed licence to GNU GPL v3
02. * Added SourceBans Connection Debugger
03. * Added SourceComms Search Box
03. * Added SourceComms Search Box
04. + Re-made SourceBans Logo in Footer
05. ! Fixed getdemo.php spewing errors
06. ! Fixed Invalid Query in SB Plugin
Expand Down
2 changes: 1 addition & 1 deletion game/addons/sourcemod/scripting/sbpp_admcfg.sp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public Plugin myinfo =
name = "SourceBans++: Admin Config Loader",
author = "AlliedModders LLC, SourceBans++ Dev Team",
description = "Reads Admin Files",
version = "1.6.0",
version = "1.6.1",
url = "https://sbpp.sarabveer.me/"
};

Expand Down
2 changes: 1 addition & 1 deletion game/addons/sourcemod/scripting/sbpp_checker.sp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <sourcemod>

#define VERSION "1.6.0"
#define VERSION "1.6.1"
#define LISTBANS_USAGE "sm_listsbbans <#userid|name> - Lists a user's prior bans from Sourcebans"
#define INVALID_TARGET -1

Expand Down
14 changes: 7 additions & 7 deletions game/addons/sourcemod/scripting/sbpp_comms.sp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// Do not edit below this line //
//-----------------------------//

#define PLUGIN_VERSION "1.6.0"
#define PLUGIN_VERSION "1.6.1"
#define PREFIX "\x04[SourceComms++]\x01 "

#define MAX_TIME_MULTI 30 // maximum mass-target punishment length
Expand Down Expand Up @@ -1248,7 +1248,7 @@ public Query_AddBlockInsert(Handle:owner, Handle:hndl, const String:error[], any
iAdmin = -1;
}
}

new iTarget = GetClientOfUserId(ReadPackCell(data));
if (!iTarget) {
iTarget = -1;
Expand Down Expand Up @@ -1469,13 +1469,13 @@ public Query_UnBlockSelect(Handle:owner, Handle:hndl, const String:error[], any:
if (type == TYPE_UNSILENCE)
{
// check result for possible combination with temp and time punishments (temp was skipped in code above)

#if SOURCEMOD_V_MAJOR >= 1 && SOURCEMOD_V_MINOR >= 8
SetPackPosition(data, view_as<DataPackPos>(16));
#else
SetPackPosition(data, 16);
#endif

if (g_MuteType[target] > bNot)
{
WritePackCell(data, TYPE_UNMUTE);
Expand Down Expand Up @@ -3113,10 +3113,10 @@ public Native_SetClientMute(Handle hPlugin, int numParams)
ThrowNativeError(SP_ERROR_NATIVE, "Client %d is not in game", target);
return false;
}

bool muteState = bool:GetNativeCell(2);
int muteLength = GetNativeCell(3);

if (muteState && muteLength == 0)
{
ThrowNativeError(SP_ERROR_NATIVE, "Permanent mute is not allowed!");
Expand Down Expand Up @@ -3155,7 +3155,7 @@ public Native_SetClientMute(Handle hPlugin, int numParams)
}

return true;
}
}

public Native_SetClientGag(Handle:hPlugin, numParams)
{
Expand Down
4 changes: 2 additions & 2 deletions game/addons/sourcemod/scripting/sbpp_main.sp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include <adminmenu>
#tryinclude <updater>

#define SB_VERSION "1.6.0++"
#define SBR_VERSION "1.6.0"
#define SB_VERSION "1.6.1++"
#define SBR_VERSION "1.6.1"

#if defined _updater_included
#define UPDATE_URL "https://sbpp.github.io/updater/updatefile.txt"
Expand Down
6 changes: 3 additions & 3 deletions game/addons/sourcemod/scripting/sbpp_sleuth.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#undef REQUIRE_PLUGIN
#include <sourcebans>

#define PLUGIN_VERSION "1.6.0"
#define PLUGIN_VERSION "1.6.1"

#define LENGTH_ORIGINAL 1
#define LENGTH_CUSTOM 2
Expand Down Expand Up @@ -259,11 +259,11 @@ public LoadWhiteList()
BuildPath(Path_SM, path, PLATFORM_MAX_PATH, "configs/sourcesleuth_whitelist.cfg");

new Handle:fileHandle = OpenFile(path, "r");

if (fileHandle == INVALID_HANDLE)
{
LogError("Could not find the config file (addons/sourcemod/configs/sourcesleuth_whitelist.cfg)");

return;
}

Expand Down
2 changes: 1 addition & 1 deletion web/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.6.1",
"git": "493"
"git": "495"
}

0 comments on commit 331e14e

Please sign in to comment.