From 38d09bc1aae6ca727d1d419e41e64c1370cda835 Mon Sep 17 00:00:00 2001 From: morzlee Date: Tue, 2 Apr 2024 14:21:31 +0800 Subject: [PATCH] fix --- addons/sourcemod/plugins/extend/NekoFixes.smx | Bin 3226 -> 0 bytes .../sourcemod/scripting/extend/NekoFixes.sp | 35 ------------------ 2 files changed, 35 deletions(-) delete mode 100644 addons/sourcemod/plugins/extend/NekoFixes.smx delete mode 100644 addons/sourcemod/scripting/extend/NekoFixes.sp diff --git a/addons/sourcemod/plugins/extend/NekoFixes.smx b/addons/sourcemod/plugins/extend/NekoFixes.smx deleted file mode 100644 index d649b83496a93c242d544fbd93e626fecf53cf33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3226 zcmX|-dpy(s7so$tDJ@jAEu?b4W|Vs=aw!$^m5{s9YGatol2FXowYiu3leYh5*2Bc>vhE0RTWZ5BT|$ zVj=*r4Rod`0Eh_z0N4j`_X7Y7OmUFy5&&=#%mW}6pi6?O0OAEYh8F^r5_i?l>(BAu)?YVB-yqDNa~vLv3`FAoRGw(}z(6mg z_n*=mg+zk`)V(}>)V)#YpPPOv8s+;}QNG@OzYqUz`_mz50ruE`%%kUiXxC&$NJza_ZHn4q zn<9%{#TIxAl40G&1Bb=R@mEO}{AKY`01q$!cA{~lHSZ45!q>p19np)utzT-JKf9AY zE#`iiXl$RI)C+vv>3FDEExXXw;No%mZDPAF-G?}Q5J}W0x>)D#o8AZGXi!^wu@B(B zaqNCArW~QUAFBgTPR}4~6A}c+B# z5lkC`!85E6j3Y^P_8?0@6pB>>7a-qYRE!U}^OYv^6v5ynwhPV?qvpAj10f+P>?#eW z0Yu?aWiQ5!EKK<1L0*99bYS;F8t$@}AR$Dyu-4C^{n!UE4uqPAB=3ZT#ISu4R|1b~ zEkZ_KVND=9ome@7K?k-A298xjFii=~&#-;FdJSUPO|Ys0cD^^+ka~OoYYykg{=63; zG{3~Yf{ZY`J1+iz0{AmL$s;h%b0Ox=v-{3Q5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u`zkab0%NbgYU;UYQHa57$A99s6@>AVW%`e(;<=Xk@Tl6lF+#*&Dh+=Kq7-fU%u*_*=5;cHJ@hJ_kC zIC}!_)Ao=^!R^FX3u(scjV2Ehwe9+EG9ECals5u1XrMJV=*ZfMB>+`P@tJdhvZOi#bOb_Ra z8PaCPht1#J^XLeV%b!p>dt3)%O~Tx?{SYx?Z+bLzHVf z75mJ>kNylow;zgGO3hArOy`lNk6gvsd>zRM$+d$%nku|=kfk#hAhD{ZufdmJLX~7S zFk;?@3<*q!Fk)Evpl9EXGqx57*-~6VT&P$|&|v47$Q)N-Ri^16uyxNxmXct6;gi+S zdxlk%Q>0M|^lV-WMV)7=7`mN1Tc;nHHD?W9wbYm0wiPdYHL|^wFHRA??7_Qb=KQeb zykM+N;|*cH$8^)Z+>oPYl&Qf}5aNuxp7N2dakg26brw&=e|!*D!3WdUv&rudu?iSb zYpz#?BO^$!A4Yq32r0$grXhrmzEfEY)p&A% z%=f0S=g!HcBmuX*Tt)0td66%}zyM#)F}Nh{ht=zyZQ?M#Dgj@=)E@x%C|A93P&TAk zh7y!*c=NhK0dJL{i$I%Inx!8fR)%|kwU5;WrNmSChp)VH)nUTMI^LG4E) zYajO%Yujl#Y5uRg(!9x)DQ)?JCm@E9oBW}?tBTkit1zx6*Mx#(y`==JwkSk8Q_fS| zS!onijSB_}Ptt}_wHty2oyZA_C54|W|0Fhe+oQKGEP0kU%Q}IXqD6TSIl$LI*X3!j zX?A?a39m8bO!`EHq!sXu(3(&wKga<)$u3gZNs~_^p+_nWSmAXdbuXR2{8PbPapik) zRT?-^Cd_XX7MrKDrv`Oa!MAl -#include - -public Plugin myinfo = -{ - name = "Neko L4D2 DOS Fix", - author = "Neko Channel / LynchMus", - description = "Fix SB DOS", - version = "N1.0", - url = "https://himeneko.cn" -}; - -public void OnPluginStart() -{ - GameData hGameData = new GameData("NekoFixes"); - if (hGameData == null) - { - SetFailState("Failed to load atest gamedata."); - return; - } - - // NET_QueuePacket Detour (Fix SB DOS) 其他游戏请自行寻签名 - DynamicDetour hNET_QueuePacketDetour = DynamicDetour.FromConf(hGameData, "NET_QueuePacket"); - if (!hNET_QueuePacketDetour.Enable(Hook_Pre, NET_QueuePacket)) - SetFailState("Failed to setup detour for NET_QueuePacket"); -} - -public MRESReturn NET_QueuePacket(DHookReturn hReturn, DHookParam hParams) -{ - hReturn.Value = true; - return MRES_Supercede; -} \ No newline at end of file