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

[DoD:S] Instant Respawn 1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Andersso
Member
Join Date: Nov 2009
Location: E8 2A 2A 2A 2A
Plugin ID:
1698
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    26 
    Plugin Description:
    Instantly respawn players after death.
    Old 05-30-2010 , 17:15   [DoD:S] Instant Respawn 1.4
    Reply With Quote #1

    Instant Respawn
    Makes you respawn instantly after you have died!
    Installation:
    • Copy instant_respawn.smx to addons/sourcemod/plugins
    • Copy plugin.instantrespawn.txt to addons/sourcemod/gamedata
    Notes:
    • Use the DoD Hooks version if you have it installed, otherwise it may not work. (SMX compiled against SM 1.3, requires dodhooks.inc to compile (Included))
    • The plugin creates an auto exec config located in cfg/instantrespawn_config/instant_respawn.cfg
    ConVars:
    sm_instantrespawn_enabled <1/0>
    - Enable/Disable Instant Respawn (default: 1)


    sm_instantrespawn_delay <0.1 - 4.0>
    - Instant Respawn Delay (default: 0.1)


    sm_instantrespawn_selectclass <1/0>
    - Enable/Disable Instant Respawn after you have selected class. (default: 1)

    sm_instantrespawn_maxplayers <1 - ∞>
    - Disable Instant Respawn if the client count exceed this value. (0 = Disabled) (default: 14)
    Changelog:
    1.0.0: Initial Release

    1.1.0
    : Fixed crach when a player changes team

    1.1.1
    : Fixed linux signature

    1.2.0
    : Added ConVar: sm_instantrespawn_selectclass - Enable/Disable Instant Respawn after you have selected class

    1.2.1
    : Changed crach fix method

    1.3.0
    :
    • Cleaned up code
    • Added ConVar: sm_instantrespawn_enabled - Enable/Disable Instant Respawn
    • Added AutoExec File
    • Set sm_instantrespawn_delay max value to 4.0
    1.3.1: Added DoD Hooks version

    1.3.2: Fixed an issue with the DoDHooks version

    1.3.3: Fixed minor bug (Thanks Afronanny)

    1.4.0: Added ConVar: sm_instantrespawn_maxplayers - Disable Instant Respawn if the client count exceed this value. (Thanks bulwinkl)

    1.4.0 (2011-4-17): Fixed signature.

    1.4.0 (2011-10-14): Fixed signature.

    Attached Files
    File Type: sp Get Plugin or Get Source (instant_respawn.sp - 3357 views - 3.5 KB)
    File Type: zip instant_respawn_dodhooks.zip (7.0 KB, 2301 views)
    File Type: txt plugin.instantrespawn.txt (301 Bytes, 1263 views)

    Last edited by DarthNinja; 01-27-2013 at 03:51. Reason: Updated gamedata (thanks to _Root)
    Andersso is offline
    Terrorkarotte
    Junior Member
    Join Date: Apr 2009
    Old 06-25-2010 , 05:12   Re: [DoD:S] Instant Respawn 1.0
    Reply With Quote #2

    It does not work:

    Code:
    L 06/25/2010 - 11:11:54: [SM] Plugin encountered error 25: Call was aborted
    L 06/25/2010 - 11:11:54: [SM] Native "SetFailState" reported: Fatal Error: Unable to find signature for "CDODPlayer::DODRespawn(void)"!
    L 06/25/2010 - 11:11:54: [SM] Displaying call stack trace for plugin "instant_respawn.smx":
    L 06/25/2010 - 11:11:54: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/6/4/2/4/4/68317.attach::OnPluginStart()
    Terrorkarotte is offline
    Andersso
    Member
    Join Date: Nov 2009
    Location: E8 2A 2A 2A 2A
    Old 06-29-2010 , 16:53   Re: [DoD:S] Instant Respawn 1.0
    Reply With Quote #3

    Are you sure that you installed plugin.instantrespawn.txt into your gamedata folder? The plugin will not work without it.
    Andersso is offline
    BenSib
    Senior Member
    Join Date: Aug 2008
    Old 06-30-2010 , 03:33   Re: [DoD:S] Instant Respawn 1.0
    Reply With Quote #4

    I cant find no "DODRespawn" in the offset list too...

    http://wiki.alliedmods.net/CDODPlaye...eat:_Source%29
    BenSib is offline
    Andersso
    Member
    Join Date: Nov 2009
    Location: E8 2A 2A 2A 2A
    Old 06-30-2010 , 06:18   Re: [DoD:S] Instant Respawn 1.0
    Reply With Quote #5

    DODRespawn is called with a signature function scan, not with a virtual offset.
    Andersso is offline
    BenSib
    Senior Member
    Join Date: Aug 2008
    Old 06-30-2010 , 13:11   Re: [DoD:S] Instant Respawn 1.2
    Reply With Quote #6

    You are right, there is a difference. works now, nice one

    Last edited by BenSib; 06-30-2010 at 13:24.
    BenSib is offline
    Terrorkarotte
    Junior Member
    Join Date: Apr 2009
    Old 07-01-2010 , 17:51   Re: [DoD:S] Instant Respawn 1.2
    Reply With Quote #7

    I had everything in place. I redownloaded and reuploaded the files and now it is working
    Thx for your work.

    PS: 20+ slots full and a small map with gg mod is insane now
    Terrorkarotte is offline
    cyberknast
    Junior Member
    Join Date: Jul 2010
    Old 09-30-2010 , 06:30   Re: [DoD:S] Instant Respawn 1.3
    Reply With Quote #8

    The plugin switches at server restart always returns to original setting.
    wrote it in the server.cfg:

    sm_instantrespawn_delay 4
    sm_instantrespawn_enabled 1
    sm_instantrespawn_selectclass 1

    After the server restarts I always have to enter the spawn times in HLSW new.


    Sry for my bad english

    Last edited by cyberknast; 09-30-2010 at 08:37.
    cyberknast is offline
    Andersso
    Member
    Join Date: Nov 2009
    Location: E8 2A 2A 2A 2A
    Old 10-02-2010 , 07:55   Re: [DoD:S] Instant Respawn 1.3
    Reply With Quote #9

    Hmm, strange. Does this happen only to this plugin?
    Andersso is offline
    cyberknast
    Junior Member
    Join Date: Jul 2010
    Old 10-02-2010 , 12:17   Re: [DoD:S] Instant Respawn 1.3
    Reply With Quote #10

    yes, only this
    cyberknast 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 09:08.


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