AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] A2S_Rules Hax (https://forums.alliedmods.net/showthread.php?t=236521)

Dr!fter 03-06-2014 20:26

[CS:GO] A2S_Rules Hax
 
1 Attachment(s)
This plugin patches the MTU warning you get when a query packet is longer than 1200 by changing it to 65000 which allows A2S queries to work (with all cvars).

Optional Extensions:
https://forums.alliedmods.net/showthread.php?t=229556

SteamWorks include required for compiling

If steamworks is installed the plugin will uses SteamWorks_SetRule to add rules (to bypass the kv file they added) If it is not installed it will try to patch out even more code by patching out the kv check. Using SteamWorks allows for the use of only 1 hack instead of 3.

Note: I dont know if this breaks anything. As far as I can tell it works fine.

Updated gamedata here
Credits:
KyleS - for co-writing the plugin with me and testing.
asherkin - for bits of info along with his original RulesFix plugin.

musashiwook 09-12-2014 07:11

Re: [CS:GO] A2S_Rules Hax
 
Hi, after last SM fix for CSGO update i've got this :

Code:

L 09/12/2014 - 12:52:08: [SM] Plugin encountered error 25: Call was aborted
L 09/12/2014 - 12:52:08: [SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket
L 09/12/2014 - 12:52:08: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 09/12/2014 - 12:52:08: [SM]  [0]  Line 36, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Meta version :

Code:

Metamod:Source version 1.10.3-dev
        Built from: https://github.com/alliedmodders/metamod-source/commit/679deca
        Build ID: 918:679deca
        Loaded As: Valve Server Plugin
        Compiled on: Jun 24 2014
        Plugin interface version: 15:14
        SourceHook version: 5:5
        http://www.metamodsource.net/

SM version :

Code:

SourceMod Version Information:
            SourceMod Version: 1.6.2-dev+4566
            SourcePawn Engine: SourcePawn 1.2, jit-x86 (build 1.6.2-dev+4566)
            SourcePawn API: v1 = 4, v2 = 6
            Compiled on: Sep 11 2014 17:43:35
            Built from: https://github.com/alliedmodders/sourcemod/commit/75d770b
            Build ID: 4566:75d770b
            http://www.sourcemod.net/


HSFighter 09-24-2014 17:29

Re: [CS:GO] A2S_Rules Hax
 
Same Issue here:

Code:

L 09/24/2014 - 23:25:00: [SM] Plugin encountered error 25: Call was aborted
L 09/24/2014 - 23:25:00: [SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket
L 09/24/2014 - 23:25:00: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 09/24/2014 - 23:25:00: [SM]  [0]  Line 36, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Code:

            SourceMod Version: 1.7.0-dev+4891
SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.0-dev+4891)
SourcePawn API: v1 = 4, v2 = 6
Compiled on: Sep 19 2014 15:31:01
Built from: https://github.com/alliedmodders/sourcemod/commit/9eb1b3e
Build ID: 4891:9eb1b3e
http://www.sourcemod.net/

Code:

Metamod:Source version 1.11.0-dev
Built from: https://github.com/alliedmodders/metamod-source/commit/2cc1a73
Build ID: 950:2cc1a73
Loaded As: Valve Server Plugin
Compiled on: Jun 12 2014
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/


wyrda 10-03-2014 04:55

Re: [CS:GO] A2S_Rules Hax
 
For linux server, after the update from 2/3 October this is the fix:
- NEED STEAMWORKS
- update ruleshax.games.txt:
Code:

"NET_SendPacket_Offset"
{
        "windows"        "85"
        "linux"                "1290"
}


Amroth 10-03-2014 13:37

Re: [CS:GO] A2S_Rules Hax
 
Work, thanks wyrda.

wyrda 10-16-2014 06:55

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by wyrda (Post 2206412)
For linux server, after the update from 2/3 October this is the fix:
- NEED STEAMWORKS
- update ruleshax.games.txt:
Code:

"NET_SendPacket_Offset"
{
        "windows"        "85"
        "linux"                "1290"
}



linux value: 1306

t1empO 11-30-2014 15:45

Re: [CS:GO] A2S_Rules Hax
 
L 11/30/2014 - 22:44:28: SourceMod error session started
L 11/30/2014 - 22:44:28: Info (map "de_dust") (file "errors_20141130.log")
L 11/30/2014 - 22:44:28: [SM] Plugin encountered error 25: Call was aborted
L 11/30/2014 - 22:44:28: [SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket
L 11/30/2014 - 22:44:28: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 11/30/2014 - 22:44:28: [SM] [0] Line 36, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

help

Wilczek 12-11-2014 07:50

Re: [CS:GO] A2S_Rules Hax
 
After today CSGO patch, plugin returns error:

Quote:

L 12/11/2014 - 13:48:34: SourceMod error session started
L 12/11/2014 - 13:48:34: Info (map "de_nuke") (file "errors_20141211.log")
L 12/11/2014 - 13:48:34: [SM] Native "LoadFromAddress" reported: Invalid address 0x55 is pointing to reserved memory.
L 12/11/2014 - 13:48:34: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 12/11/2014 - 13:48:34: [SM] [0] Line 32, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Dr!fter 12-13-2014 11:10

Re: [CS:GO] A2S_Rules Hax
 
Updated the gamedata in the zip in the first post.

Xaky 12-13-2014 15:18

Re: [CS:GO] A2S_Rules Hax
 
Not working for me on linux

Quote:

12/13/2014 - 20:32:01: [SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket
L 12/13/2014 - 20:32:01: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 12/13/2014 - 20:32:01: [SM] [0] Line 36, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()
L


All times are GMT -4. The time now is 13:49.

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