Raised This Month: $32 Target: $400
 8% 

Evil Admin: Beam


Post New Thread Reply   
 
Thread Tools Display Modes
violentcrimes
Senior Member
Join Date: Nov 2006
Old 12-09-2008 , 08:22   Re: Evil Admin: Beam
Reply With Quote #11

Anyway to remove the beam on death/end of the round?
__________________
violentcrimes is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 12-09-2008 , 11:16   Re: Evil Admin: Beam
Reply With Quote #12

Change lines 140 - 143.
PHP Code:
    if (!IsPlayerAlive(client))
    {
        return 
Plugin_Handled
    

to

PHP Code:
    if (!IsPlayerAlive(client))
    {
       
KillBeam(client)
        return 
Plugin_Handled
    

and recompile.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-22-2008 , 02:12   Re: Evil Admin: Beam
Reply With Quote #13

L 12/21/2008 - 145:53: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 12/21/2008 - 145:53: [SM] Native "ReplyToCommand" reported: Language phrase "No matching client" not found
L 12/21/2008 - 145:53: [SM] Displaying call stack trace for plugin "sm_evilbeam.smx":
L 12/21/2008 - 145:53: [SM] [0] Line 103, /home/groups/sourcemod/compiler/include/commandfilters.inc::ReplyToTargetError()
L 12/21/2008 - 145:53: [SM] [1] Line 90, /home/groups/alliedmodders/forums/files/2/4/5/7/3/33304.attach::Command_EvilBeam()
L 12/21/2008 - 15:05:11: Error log file session closed.

Im guessing it needs a check whether to see if the target is actually correct?
__________________

DontWannaName is offline
Smeghead81
Junior Member
Join Date: Oct 2008
Location: Illinois
Old 01-25-2009 , 18:22   Re: Evil Admin: Beam
Reply With Quote #14

I run a Zombie Panic! Server and I use this plugin on it. Well it constantly writes this to the sourcemod logs in errors:

L 01/25/2009 - 11:45:13: [SM] Native "TE_Send" reported: No TempEntity call is in progress
L 01/25/2009 - 11:45:13: [SM] Displaying call stack trace for plugin "sm_evilbeam.smx":
L 01/25/2009 - 11:45:13: [SM] [0] Line 210, /home/groups/sourcemod/compiler/include/sdktools_tempents.inc::TE_SendToAll()
L 01/25/2009 - 11:45:13: [SM] [1] Line 154, /home/groups/alliedmodders/forums/files/2/4/5/7/3/33304.attach::Timer_Beam()
L 01/25/2009 - 11:45:13: [SM] Native "TE_Send" reported: No TempEntity call is in progress
L 01/25/2009 - 11:45:13: [SM] Displaying call stack trace for plugin "sm_evilbeam.smx":
L 01/25/2009 - 11:45:13: [SM] [0] Line 210, /home/groups/sourcemod/compiler/include/sdktools_tempents.inc::TE_SendToAll()
L 01/25/2009 - 11:45:13: [SM] [1] Line 154, /home/groups/alliedmodders/forums/files/2/4/5/7/3/33304.attach::Timer_Beam()
L 01/25/2009 - 11:45:13: [SM] Native "TE_Send" reported: No TempEntity call is in progress
L 01/25/2009 - 11:45:13: [SM] Displaying call stack trace for plugin "sm_evilbeam.smx":
L 01/25/2009 - 11:45:13: [SM] [0] Line 210, /home/groups/sourcemod/compiler/include/sdktools_tempents.inc::TE_SendToAll()
L 01/25/2009 - 11:45:13: [SM] [1] Line 154, /home/groups/alliedmodders/forums/files/2/4/5/7/3/33304.attach::Timer_Beam()

Any idea how to get rid of it besides removing the plugin? I don't think that error being written every split second is very good for the efficiency of the server.
__________________
Smeghead81 is offline
Send a message via AIM to Smeghead81
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 01-25-2009 , 20:27   Re: Evil Admin: Beam
Reply With Quote #15

@DWN: No. I needed to add a phrases file. Done.

@Smeghead81: Try the version below for me. The TempEnt is set up if a team number is 2 or 3 (for most games). Don't know what the team numbers are in ZPS. In your case, the TE wasn't being set up because it didn't recognize the teams - hence the error.
This version sets a default if no team is specified. It worries me though as spectators are team 1
Attached Files
File Type: sp Get Plugin or Get Source (sm_evilbeam.sp - 682 views - 6.2 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Smeghead81
Junior Member
Join Date: Oct 2008
Location: Illinois
Old 01-26-2009 , 14:56   Re: Evil Admin: Beam
Reply With Quote #16

That seems to have gotten rid of the errors. Thanks man! Works great!
__________________
Smeghead81 is offline
Send a message via AIM to Smeghead81
End of Hope
Junior Member
Join Date: Jul 2009
Location: San Antonio, TX
Old 07-03-2009 , 03:02   Re: Evil Admin: Beam
Reply With Quote #17

Just tested, Works on HL2DM
End of Hope is offline
usla
Senior Member
Join Date: Jul 2009
Old 02-08-2010 , 05:54   Re: Evil Admin: Beam
Reply With Quote #18

add trail to admins only would be good
usla is offline
aRcTiC
SourceMod Donor
Join Date: Apr 2010
Old 04-17-2010 , 02:07   Re: Evil Admin: Beam
Reply With Quote #19

Is it possible to have a different color for every player using RGB?
aRcTiC is offline
Wizzieboy
Junior Member
Join Date: Jul 2010
Old 07-24-2010 , 02:23   Re: Evil Admin: Beam
Reply With Quote #20

Cant you make it more smooth now it are just choppy parts?
Wizzieboy 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 00:29.


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