Raised This Month: $ Target: $400
 0% 

Func_door fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Plugin ID:
1763
Plugin Version:
1.1
Plugin Category:
Technical/Development
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes a bug that causes death by crush type damages when noblock is enabled.
    Old 06-27-2010 , 00:02   Func_door fix
    Reply With Quote #1

    Description:
    This plugin fixes a bug caused by noblock. The bug can be produced by blocking a moving object when noblock is enabled. Even if the entity's block damage is 0, the blocking will result in HP loss.

    Requirements:
    SDKHooks (http://forums.alliedmods.net/showthread.php?t=106748)

    Useful for minigame servers

    V2.1
    -Removed prop_door_rotating from the list of entities

    V2.0
    -Rewritten the plugin because I lost the source code

    V1.1 - Reuploaded at 23:09 GMT+1:
    -Fixed a bug that caused fatal error

    V1.0:
    -Initial release

    Please message me if you have the source code for the old version because I have accidentally deleted it.
    Attached Files
    File Type: smx func_doorfix.smx (2.6 KB, 759 views)
    File Type: sp Get Plugin or Get Source (func_doorfix.sp - 909 views - 1,002 Bytes)

    Last edited by Zephyrus; 07-27-2011 at 11:19.
    Zephyrus is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 06-27-2010 , 00:23   Re: OrangeBox Fix #1
    Reply With Quote #2

    Excellent, good for my minigames server

    Edit:
    Warnings on compile:
    Code:
    //// obfix1.sp
    // C:\Users\Hayden\Documents\Server Stuff\sourcemod-1.3.3\addons\sourcemod\scrip
    ting\obfix1.sp(23) : warning 213: tag mismatch
    // C:\Users\Hayden\Documents\Server Stuff\sourcemod-1.3.3\addons\sourcemod\scrip
    ting\obfix1.sp(25) : warning 213: tag mismatch
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 06-27-2010 , 00:30   Re: OrangeBox Fix #1
    Reply With Quote #3

    fixed, thanks

    Edit: actually i wrote this plugin because mg_hellz_multigame_fix and mg_pauls_multigames_v2 were unplayable, minigame ftw ^^
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.
    Zephyrus is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 06-27-2010 , 11:44   Re: OrangeBox Fix #1
    Reply With Quote #4

    shiit, i found a bug

    Code:
    L 06/27/2010 - 17:40:28: [SM] Displaying call stack trace for plugin "obfix1.smx":
    L 06/27/2010 - 17:40:28: [SM]   [0]  Line 23, obfix1.sp::OnTakeDamage()
    L 06/27/2010 - 17:40:28: [SM] Native "GetEntPropFloat" reported: Property "m_flBlockDamage" not found (entity 43/env_laser)
    fix is coming, but the current version is working on dedicated servers too

    Edit: fixed
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.

    Last edited by Zephyrus; 06-27-2010 at 12:26.
    Zephyrus is offline
    mats
    Senior Member
    Join Date: Jan 2005
    Old 06-27-2010 , 14:06   Re: OrangeBox Fix #1
    Reply With Quote #5

    Have this on my server now but still people die in mg_hellz_multigame_fix start
    __________________
    mats is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 06-27-2010 , 16:11   Re: OrangeBox Fix #1
    Reply With Quote #6

    bah, i uploaded the wrong version, im so sorry :$ i need to sleeeep
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.
    Zephyrus is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 06-27-2010 , 16:27   Re: OrangeBox Fix #1
    Reply With Quote #7

    Invalid Attachments =D.
    __________________
    thetwistedpanda is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 06-27-2010 , 16:28   Re: OrangeBox Fix #1
    Reply With Quote #8

    i just reuploaded them 10 secs ago lol
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.
    Zephyrus is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 06-27-2010 , 16:29   Re: OrangeBox Fix #1
    Reply With Quote #9

    Apparently I was downloading them while you were uploading them haha.
    __________________
    thetwistedpanda is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 06-27-2010 , 16:35   Re: OrangeBox Fix #1
    Reply With Quote #10

    -removed-
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.

    Last edited by Zephyrus; 06-27-2010 at 16:40.
    Zephyrus 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 05:02.


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