Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] SM Respawn command


Post New Thread Reply   
 
Thread Tools Display Modes
realdreams
Senior Member
Join Date: Feb 2010
Old 05-12-2011 , 23:49   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #211

Code:
L 05/12/2011 - 23:35:42: SourceMod error session started
L 05/12/2011 - 23:35:42: Info (map "l4d_helms_deep_serious") (file "errors_20110512.log")
L 05/12/2011 - 23:35:42: [SM] Plugin encountered error 25: Call was aborted
L 05/12/2011 - 23:35:42: [SM] Native "SetFailState" reported: L4D_SM_Respawn: RoundRespawn Signature broken
L 05/12/2011 - 23:35:42: [SM] Displaying call stack trace for plugin "l4d_sm_respawn.smx":
L 05/12/2011 - 23:35:42: [SM]   [0]  Line 58, /home/groups/alliedmodders/forums/files/6/4/7/0/1/71132.attach::OnPluginStart()
L 05/12/2011 - 23:48:49: [SM] Plugin encountered error 25: Call was aborted
L 05/12/2011 - 23:48:49: [SM] Native "SetFailState" reported: L4D_SM_Respawn: RoundRespawn Signature broken
L 05/12/2011 - 23:48:49: [SM] Displaying call stack trace for plugin "l4d_sm_respawn.smx":
L 05/12/2011 - 23:48:49: [SM]   [0]  Line 58, /home/groups/alliedmodders/forums/files/6/4/7/0/1/71132.attach::OnPluginStart()
L 05/12/2011 - 23:49:33: [SM] Plugin encountered error 25: Call was aborted
L 05/12/2011 - 23:49:33: [SM] Native "SetFailState" reported: L4D_SM_Respawn: RoundRespawn Signature broken
L 05/12/2011 - 23:49:33: [SM] Displaying call stack trace for plugin "l4d_sm_respawn.smx":
L 05/12/2011 - 23:49:33: [SM]   [0]  Line 58, /home/groups/alliedmodders/forums/files/6/4/7/0/1/71132.attach::OnPluginStart()
Broken? Cannot load this plugin
realdreams is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 05-13-2011 , 04:09   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #212

That's Linux? Linux signatures don't break. Did you even install the gamedata file
AtomicStryker is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 05-13-2011 , 06:43   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #213

Quote:
Originally Posted by AtomicStryker View Post
That's Linux? Linux signatures don't break. Did you even install the gamedata file
Yeah. Ubuntu 9.1 I didnt have gamedata at first, then uploaded gamedate, unload, load still get this error

nvm Im sorry. Just restarted server and it worked. Why unload/load, refresh or reload after installing gamedata doesn't reload gamedata...

Last edited by realdreams; 05-13-2011 at 06:47.
realdreams is offline
dcx2
Senior Member
Join Date: Sep 2011
Old 09-25-2011 , 17:30   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #214

Thanks for the plugin! I use this in versuscoop when we kill the survivors too quickly. It beats switching teams and spawning a defib, and it can bring people back from a death-charge too.

However, we don't like the free health kit. I can easily comment out that line and recompile, but it might be nice if there was a cvar to toggle the free items.
dcx2 is offline
Dean Winchester
Junior Member
Join Date: Oct 2010
Old 10-06-2011 , 11:50   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #215

Hello all

This plugins will be better use remove body dead and keep the end score of the player respawn if possible ?

And i see maybe this bug add many "bot" name in game ?
Dean Winchester is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 11-03-2011 , 09:06   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #216

adminmenu_custom.txt
PHP Code:
"Commands"
{
    
"PlayerCommands"
    
{
        
        
"Respawn Survivor"
        
{
            
"cmd"        "sm_respawn #1"
            "admin"        "sm_kick"
            "execute"    "player"
            "1"
            
{
                
"type"        "player"
                "method"    "name"
                "title"        "Player:"
            
}
        }
    }

It works fine in console but it wont appear in the menu, witch is annoying since the console seems to disappear for me after mapchange.

Lol @my fail forgott the txt file. . .

Last edited by checkster; 11-04-2011 at 22:20.
checkster is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-17-2011 , 21:36   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #217

Might I suggest replacing
Code:
SDKCall(hState_Transition, player_id, 8);
SDKCall(hBecomeGhost, player_id, 1);
SDKCall(hState_Transition, player_id, 6);
SDKCall(hBecomeGhost, player_id, 1);
with this
Code:
SDKCall(hState_Transition, player_id, 6);
SDKCall(hBecomeGhost, player_id, 1);
The first 2 calls are not needed. It also will crash the server when the person its used on leaves the server. At least it does on my windows server.
Machine is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-18-2011 , 05:37   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #218

How is leaving inbetween that even possible. Crashing?
AtomicStryker is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-18-2011 , 10:26   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #219

I dunno, I should mention I did use it on coop. I was on infected team, used respawn on myself, everything seemed ok as I respawned without a problem. It wasn't until I left the server that I noticed the server instantly crashed after a weird error message, which led me to investigate. After a little testing, I noticed the server always crashed with your original code, but did not crash when I removed those 2 lines while still respawning.

When I get home for work, I'm going to confirm whether or not it does it on in other game modes.

Last edited by Machine; 12-18-2011 at 10:31.
Machine is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-18-2011 , 14:25   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #220

Why would something that by your description gets overwritten by the latter 2 lines (i dont know what the first 2 are for, i presume he mimicked a valve function) cause a crash, and not while doing it, but opon leaving the server? I've seen outlandish stuff with Source but this is a bit much.
AtomicStryker 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 02:43.


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