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

Wilczek 12-14-2014 08:08

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by Dr!fter (Post 2234836)
Updated the gamedata in the zip in the first post.

It works fine on Windows, thanks!

TUSK3N1337 12-15-2014 03:19

Re: [CS:GO] A2S_Rules Hax
 
What does this plugin actually do? Is it usefull to have on public servers and if so why?

Dr!fter 12-15-2014 10:10

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by Xaky (Post 2234947)
Not working for me on linux

Fixed it again, I don't know how to add :P.

Quote:

Originally Posted by TUSK3N1337 (Post 2235494)
What does this plugin actually do? Is it usefull to have on public servers and if so why?

It allows third party sites(gametracker)/programs(hlsw) to query your gameserver for a full list of cvars. Every game but csgo allows query's and csgo used to until they patched it one day (csgo has a kv file with cvars you want to be queryable). This basically undoes what valve added. It being useful is for you to decide.

Bad Cold Man 01-05-2015 11:56

Re: [CS:GO] A2S_Rules Hax
 
Thank you! Works on windows.

Bad Cold Man 01-09-2015 09:55

Re: [CS:GO] A2S_Rules Hax
 
Update:

Not works on linux, after today's update CSGO 1/8/2015 :(

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

Kittie 01-11-2015 09:15

Re: [CS:GO] A2S_Rules Hax
 
Dr!fter, could you please tell us how you calculate the offset for function address?
It changes from one valve update to another, so this thread will be endless with posts "doesn't work, help!"

t1empO 01-27-2015 18:42

Re: [CS:GO] A2S_Rules Hax
 
SteamWorks surely?

Dr!fter 01-28-2015 17:20

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by Bad Cold Man (Post 2246881)
Update:

Not works on linux, after today's update CSGO 1/8/2015 :(

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

I updated the gamedata in the zip again.

Quote:

Originally Posted by Kittie (Post 2247776)
Dr!fter, could you please tell us how you calculate the offset for function address?
It changes from one valve update to another, so this thread will be endless with posts "doesn't work, help!"

Its not that easy to do and is very hard to explain. People that know how to do it can probably figure it out easily from the gamedata.

bebe9b 02-14-2015 03:52

Re: [CS:GO] A2S_Rules Hax
 
Salut,

Pls fis error:
[SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket

L 02/14/2015 - 07:57:08: [SM] Displaying call stack trace for plugin "ruleshax.smx":

L 02/14/2015 - 07:57:08: [SM] [0] Line 36, G:\New folder (8)\addons\sourcemod\scripting\ruleshax.sp::O nPluginStart()


Multumesc,

Wilczek 02-14-2015 06:58

Re: [CS:GO] A2S_Rules Hax
 
Update to the latest version.

bebe9b 02-14-2015 12:54

Re: [CS:GO] A2S_Rules Hax
 
No work latest version

gamemann 02-24-2015 17:23

Re: [CS:GO] A2S_Rules Hax
 
Hello, is there anyway to get an updated gamedata for Linux?

Code:

L 02/24/2015 - 23:21:52: [SM] Native "SetFailState" reported: Failed to get valid patch value for NET_SendPacket
L 02/24/2015 - 23:21:52: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 02/24/2015 - 23:21:52: [SM]  [0]  Line 36, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Thanks.

bebe9b 03-07-2015 03:44

Re: [CS:GO] A2S_Rules Hax
 
Salut ,

Edit : addons/sourcemod/gamedata/ruleshax.games.txt

"NET_SendPacket_Offset"
{
"windows" "89"
"linux" "2083
}

change

"NET_SendPacket_Offset"
{
"windows" "89"
"linux" "2083"
}

works linux

:)

RedSword 03-10-2015 03:27

Re: [CS:GO] A2S_Rules Hax
 
Hey,

If a CSGO server has this plugin; will the server be able to have its plugins version ConVar tracked by AM's tracker ? Because as you may know CSGO plugins aren't tracked anymore by AM's tracker :
Quote:

Originally Posted by http://www.sourcemod.net/stats.php?mod_id=0&addon_id=285
Note: Counter-Strike: Global Offensive servers are no longer able to be queried for inclusion in these statistics due to a breaking engine change

Thank you,

Red

SM9 03-10-2015 09:02

Re: [CS:GO] A2S_Rules Hax
 
Last csgo update has broke this again :( Anyone got a new gamedata

KyleS 03-10-2015 18:30

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by RedSword (Post 2272020)
Hey,

If a CSGO server has this plugin; will the server be able to have its plugins version ConVar tracked by AM's tracker ? Because as you may know CSGO plugins aren't tracked anymore by AM's tracker :

Thank you,

Red

Yes.

SM9 03-14-2015 19:50

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by xCoderx (Post 2272116)
Last csgo update has broke this again :( Anyone got a new gamedata?


pihmih 03-18-2015 08:00

Re: [CS:GO] A2S_Rules Hax
 
Need new gamedata.

RedSword 03-24-2015 19:29

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by KyleS (Post 2272346)
Yes.

Could the AM plugin tracker be updated to handle CSGO in a different way ? I understand that changing the MTU server-side solves the problem; but could the tracker do/handle bigger-MTU requests ?

EDIT :
Quote:

Originally Posted by https://developer.valvesoftware.com/wiki/Server_queries
CS:GO Rules reply is broken since update CSGO 1.32.3.0 (Feb 21, 2014). Before the update rules got truncated when exceeding MTU, after the update rules reply is not sent at all. You can also see a console message: [NET] Cannot send connectionless packet to xxx.xxx.xxx.xxx:xxxxx '0x45' exceeding MTU (2644)

Seems it is simply not sent :$

Dr!fter 03-25-2015 13:23

Re: [CS:GO] A2S_Rules Hax
 
Quote:

Originally Posted by RedSword (Post 2277695)
Could the AM plugin tracker be updated to handle CSGO in a different way ? I understand that changing the MTU server-side solves the problem; but could the tracker do/handle bigger-MTU requests ?

EDIT :

Seems it is simply not sent :$

Last time I tested it worked.

As for fixing AM's tracker it's not possible. The game simply drops the reply if it exceeds the size. So without patching the engine or only replying with a limited amount of cvars so it doesn't exceed the limit its not possible. You can do the second by default but it requires you to use the file they give you to specify which cvars should be sent. You also need to change the 2 cvars or else it won't reply at all. There is also a third method that I can't remember.

I will fix the game data soon

RedSword 03-25-2015 20:49

Re: [CS:GO] A2S_Rules Hax
 
Yeah I based myself on the wiki to say that. It is slightly wrong :/

I also found an old mail-archive proving you right :$.

Quote:

Originally Posted by https://www.mail-archive.com/[email protected]/msg08180.html
The spew comes up because the server can no longer send more than one packet in response to a single packet external request, and if the response is exceeding MTU size the server will not send anything at all instead of sending a partial truncated packet.

Sorry <.<

Dr!fter 03-28-2015 14:46

Re: [CS:GO] A2S_Rules Hax
 
Updated the gamedata in the zip for windows and linux.

Glemtnavn 05-06-2015 09:16

Re: [CS:GO] A2S_Rules Hax
 
Hi,

Can we get an update for the linux servers?

Thank you in advance :)

Therepower 06-05-2015 13:04

Re: [CS:GO] A2S_Rules Hax
 
hi,
could you post the new offsets for linux please it doesnt work atm

----
nvm. was a problem on my side :D

gamemann 12-09-2015 16:19

Re: [CS:GO] A2S_Rules Hax
 
Hello, is there any way we can get an updated gamedata? A CS:GO update was launched yesterday:
Code:

L 12/09/2015 - 15:03:46: [SM] Native "LoadFromAddress" reported: Invalid address 0x59 is pointing to reserved memory.
L 12/09/2015 - 15:03:46: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 12/09/2015 - 15:03:46: [SM]  [0]  Line 32, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Thanks.

bebe9b 12-09-2015 20:47

Re: [CS:GO] A2S_Rules Hax
 
Hello ,
Pls update plugin:
L 12/10/2015 - 03:46:14: [SM] Native "LoadFromAddress" reported: Invalid address 0x823 is pointing to reserved memory.
L 12/10/2015 - 03:46:14: [SM] Displaying call stack trace for plugin "ruleshax.smx":
L 12/10/2015 - 03:46:14: [SM] [0] Line 32, D:\extension\plugins\Compile-dir\ruleshax.sp::OnPluginStart()

Thx,

Morell 12-10-2015 13:12

Re: [CS:GO] A2S_Rules Hax
 
I have the same problem.

PresidentEvil 12-10-2015 22:04

Re: [CS:GO] A2S_Rules Hax
 
is this plugin still needed, valve has updated csgo alot now

Peace-Maker 12-11-2015 09:25

Re: [CS:GO] A2S_Rules Hax
 
1 Attachment(s)
Updated gamedata

PresidentEvil 12-17-2015 22:17

Re: [CS:GO] A2S_Rules Hax
 
is there a way to make it not show 1 less slot? my 64 slot servers always show up as x/63 when this plugin is loaded


All times are GMT -4. The time now is 09:15.

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