Raised This Month: $7 Target: $400
 1% 

[CS:GO] A2S_Rules Hax


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr!fter
The Salt Boss
Join Date: Mar 2007
Plugin ID:
4125
Plugin Version:
0.0.7
Plugin Category:
Technical/Development
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Patches MTU check for A2S_Rules query
    Old 03-06-2014 , 20:26   [CS:GO] A2S_Rules Hax
    Reply With Quote #1

    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.
    Attached Files
    File Type: zip ruleshax.zip (7.4 KB, 2891 views)

    Last edited by Dr!fter; 08-15-2016 at 17:00.
    Dr!fter is offline
    musashiwook
    Member
    Join Date: Feb 2011
    Old 09-12-2014 , 07:11   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #2

    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/
    __________________
    musashiwook is offline
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 09-24-2014 , 17:29   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #3

    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/
    __________________



    Sorry for my very bad english
    Greetings HSFighter
    HSFighter is offline
    Send a message via ICQ to HSFighter
    wyrda
    Member
    Join Date: Nov 2009
    Old 10-03-2014 , 04:55   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #4

    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"
    }
    __________________
    wyrda is offline
    Amroth
    Senior Member
    Join Date: Apr 2013
    Location: /root
    Old 10-03-2014 , 13:37   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #5

    Work, thanks wyrda.
    Amroth is offline
    wyrda
    Member
    Join Date: Nov 2009
    Old 10-16-2014 , 06:55   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #6

    Quote:
    Originally Posted by wyrda View Post
    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
    __________________
    wyrda is offline
    t1empO
    Senior Member
    Join Date: Sep 2014
    Location: Сан
    Old 11-30-2014 , 15:45   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #7

    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
    t1empO is offline
    Wilczek
    AlliedModders Donor
    Join Date: Oct 2012
    Location: Poland
    Old 12-11-2014 , 07:50   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #8

    After today CSGO patch, plugin returns error:

    Quote:
    L 12/11/2014 - 13:484: SourceMod error session started
    L 12/11/2014 - 13:484: Info (map "de_nuke") (file "errors_20141211.log")
    L 12/11/2014 - 13:484: [SM] Native "LoadFromAddress" reported: Invalid address 0x55 is pointing to reserved memory.
    L 12/11/2014 - 13:484: [SM] Displaying call stack trace for plugin "ruleshax.smx":
    L 12/11/2014 - 13:484: [SM] [0] Line 32, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()
    __________________
    Wilczek is offline
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 12-13-2014 , 11:10   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #9

    Updated the gamedata in the zip in the first post.
    Dr!fter is offline
    Xaky
    New Member
    Join Date: Aug 2013
    Old 12-13-2014 , 15:18   Re: [CS:GO] A2S_Rules Hax
    Reply With Quote #10

    Not working for me on linux

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

    Last edited by Xaky; 12-13-2014 at 15:19.
    Xaky is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:23.


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