Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] SM Respawn command


Post New Thread Reply   
 
Thread Tools Display Modes
ivailosp
Senior Member
Join Date: Feb 2009
Old 12-31-2009 , 05:41   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #121

here is working version for linux and windows witch allow si to be respawn
Attached Files
File Type: sp Get Plugin or Get Source (l4d_sm_respawn.sp - 530 views - 4.0 KB)
File Type: txt l4drespawn.txt (972 Bytes, 288 views)
ivailosp is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-31-2009 , 06:12   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #122

Thank you, i've worked that into version 1.8 which is also KAC compatible now.

[ if you have root cheating enabled that is ]
AtomicStryker is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 12-31-2009 , 06:44   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #123

Quote:
Originally Posted by AtomicStryker View Post
[ if you have root cheating enabled that is ]
Sorry but how does one go about doing this? I am using KAC 1.2.3 Beta

EDIT: NM I am an idiot, almost positive my root access has cheating enabled but it's still not spawning the medkit and gun. I take KAC off and it works fine. It's not a big deal if this can't be fixed still way better then not having the ability to do this.

Last edited by SkaP; 12-31-2009 at 07:08.
SkaP is offline
marcovit
Member
Join Date: Jan 2010
Old 01-01-2010 , 11:41   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #124

I am getting this error, it worked on my l4d server (localhost) but it isnt working for l4d2.. (same localhost lol)

L 01/01/2010 - 177:26: [SM] Native "GetClientTeam" reported: Client index -1 is invalid
L 01/01/2010 - 177:26: [SM] Displaying call stack trace for plugin "l4d_sm_respawn.smx":
L 01/01/2010 - 177:26: [SM] [0] Line 68, /home/groups/alliedmodders/forums/files/5/2/2/3/3/44843.attach::Command_Respawn()
[SM] You cannot target this player.

I puted the .smx in plugins and the .txt file in gamedata..
Am useing the admin custom menu thingy, if i do it trough console i get the same error. (sm_respawn name)

Last edited by marcovit; 01-01-2010 at 11:45.
marcovit is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-01-2010 , 14:28   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #125

Were you trying to respawn yourself? Sourcemod doesnt work (or supports) completely when in local mode.

Try using the chat, like "!respawn marco"
AtomicStryker is offline
marcovit
Member
Join Date: Jan 2010
Old 01-01-2010 , 14:36   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #126

All mods i have work, i founded out that sourcemod itself can't find the players in localhost like giving a weapon/item to someone, it says the same error with diffrent kinds of mods.

Even commands from sourcemod like sm_burn doesnt work.

Hopefully it is fixed in the release of sourcemod 1.3 final

Trying dedicated server now..

edit:

Its a localhost problem yea.. now i must open those stupid ports -_-

Last edited by marcovit; 01-01-2010 at 14:46.
marcovit is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-01-2010 , 18:39   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #127

If you can localhost, the ports have to be open already. You just need to set the dedi server to use those
AtomicStryker is offline
marcovit
Member
Join Date: Jan 2010
Old 01-02-2010 , 06:20   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #128

Am behind 2 routers and i tought they could connect to me trough steam, not using any ports

shame on me
marcovit is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 01-03-2010 , 02:43   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #129

Ok nm the plugin works as intended now except it won't spawn bots with kits and a gun. If it's a player it will spawn them with a Uzi and Kit but bots just get a pistol. Only way I could see this being a problem is if someone jumps out a window and disconnects before you can respawn them.
SkaP is offline
marcovit
Member
Join Date: Jan 2010
Old 01-04-2010 , 07:42   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #130

Give them a weapon?
They dont jump that often
marcovit 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:13.


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