Raised This Month: $51 Target: $400
 12% 

[L4D2] Collision Hook


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
7270
Plugin Version:
0.1
Plugin Category:
Technical/Development
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Collision hook forward
    Old 08-26-2020 , 02:03   [L4D2] Collision Hook
    Reply With Quote #1

    Description
    Provides forward for collision control

    PHP Code:
    forward EFilterResult OnPassServerEntityFilter (int leftint right
    Use example
    PHP Code:
    #pragma semicolon 1
    #pragma newdecls required

    #include <sourcemod>
    #include <sdktools>

    enum EFilterResult
    {
        
    PASS_IGNORE = -1,
        
    PASS_ALLOW 0,
        
    PASS_BLOCK 1
    };

    public 
    EFilterResult OnPassServerEntityFilter (int leftint right)
    {
        return 
    PASS_ALLOW;

    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_pass_filter.sp - 310 views - 5.5 KB)
    File Type: txt l4d2_pass_filter.txt (837 Bytes, 240 views)
    __________________
    cry

    Last edited by BHaType; 09-24-2021 at 04:50.
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-27-2020 , 09:33   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #2

    I only install l4d2_collision_hook.smx and l4d2_collision.txt
    start server -> then crash every time(no any error log)

    But I have some accelerator crash id
    https://crash.limetech.org/
    PHP Code:
    [CRASHAccelerator uploaded crash dumpCrash IDJWDT-XPQH-G2CA
    [CRASHAccelerator uploaded crash dumpCrash IDGNAT-YBNF-UYGS
    [CRASHAccelerator uploaded crash dumpCrash IDEAYP-2JWJ-63JL
    [CRASHAccelerator uploaded crash dumpCrash IDYPQ5-YH6L-LX6Y
    [CRASHAccelerator uploaded crash dumpCrash IDH7JB-VKNT-WY6B 
    sm version
    PHP Code:
     SourceMod Version Information:
        
    SourceMod Version1.10.0.6492
        SourcePawn Engine
    1.10.0.6492jit-x86 (build 1.10.0.6492)
        
    SourcePawn APIv1 5v2 12
        Compiled on
    Jul 24 2020 20:10:15
        Built from
    https://github.com/alliedmodders/sourcemod/commit/250886fe
        
    Build ID6492:250886fe
        http
    ://www.sourcemod.net/ 
    sm exts list
    PHP Code:
    [SMDisplaying 15 extensions:
    [
    01Automatic Updater (1.10.0.6492): Updates SourceMod gamedata files
    [02Webternet (1.10.0.6492): Extension for interacting with URLs
    [03Accelerator (2.5.0): SRCDS Crash Handler
    [04Equinox DoS Protect (1.0): Bite me alien boi
    [05Top Menus (1.10.0.6492): Creates sorted nested menus
    [06SDK Tools (1.10.0.6492): Source SDK Tools
    [07BinTools (1.10.0.6492): Low-level C/C++ Calling API
    [08SDK Hooks (1.10.0.6492): Source SDK Hooks
    [09GameRules Tools (1.0): GameRules Tools
    [10Client Preferences (1.10.0.6492): Saves client preference settings
    [11SQLite (1.10.0.6492): SQLite Driver
    [12DHooks (2.2.0-detours14a): Dynamic Hooks
    [13GeoIP (1.10.0.6492): Geographical IP information
    [14GeoIPCity (1.1.2): Geographical IP information
    [15Regex (1.10.0.6492): Provides regex natives for plugins 
    __________________

    Last edited by HarryPotter; 08-27-2020 at 09:35.
    HarryPotter is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 08-27-2020 , 17:37   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #3

    Updated

    - Removed Gamedata
    - Removed dhooks
    - Require Source Scramble
    - Possibly fixed crash
    __________________
    cry

    Last edited by BHaType; 08-27-2020 at 23:28.
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-28-2020 , 11:58   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #4

    crash
    PHP Code:
    L 08/28/2020 23:57:05: [SMException reported: Array index out-of-bounds (index 256limit 256)
    L 08/28/2020 23:57:05: [SMBlamingl4d2_collision_hook.smx
    L 08
    /28/2020 23:57:05: [SMCall stack trace:
    L 08/28/2020 23:57:05: [SM]   [1Line 186l4d2_collision_hook.sp::ReadUnicode
    L 08
    /28/2020 23:57:05: [SM]   [2Line 167l4d2_collision_hook.sp::EnumerateModules
    L 08
    /28/2020 23:57:05: [SM]   [3Line 152l4d2_collision_hook.sp::Init
    L 08
    /28/2020 23:57:05: [SM]   [4Line 36l4d2_collision_hook.sp::OnPluginStart
    L 08
    /28/2020 23:57:05: [SMUnable to load plugin "l4d2_collision_hook.smx"Error detected in plugin 
    __________________

    Last edited by HarryPotter; 08-28-2020 at 12:01.
    HarryPotter is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 08-28-2020 , 18:02   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #5

    Updated
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-29-2020 , 05:10   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #6

    crash when launching server
    __________________

    Last edited by HarryPotter; 08-29-2020 at 05:10.
    HarryPotter is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 08-29-2020 , 06:01   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #7

    Quote:
    Originally Posted by fbef0102 View Post
    crash when launching server
    I do not know why this happens I have everything working maybe you have a duplicate plugin or something

    Spoiler
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-29-2020 , 06:14   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #8

    does anyone else here have same issue or just me?
    sm 1.10
    __________________

    Last edited by HarryPotter; 08-29-2020 at 06:14.
    HarryPotter is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 08-30-2020 , 07:21   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #9

    Quote:
    Originally Posted by fbef0102 View Post
    [...]
    Why don't you try running this plugin only? If it still persists, something's wrong on your end.
    cravenge is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-30-2020 , 13:19   Re: [L4D2][WIN] Collision Hook
    Reply With Quote #10

    Quote:
    Originally Posted by cravenge View Post
    Why don't you try running this plugin only?
    Because I HAVE TRIED IT ALREADY!

    Spoiler
    __________________

    Last edited by HarryPotter; 08-30-2020 at 13:19.
    HarryPotter is offline
    Reply



    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 15:24.


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