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

[L4D & L4D2] Smoker's Lightning


Post New Thread Reply   
 
Thread Tools Display Modes
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 10-04-2012 , 23:16   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #21

Cool plugin!

You have conflicting calls (AcceptEntityInput(particle, "Kill"); RemoveEdict(particle);). The former removes the entity at a safe time, where as the latter removes it immediately.

Instead of doing something like
PHP Code:
bool:IsPlayerIncapped(client)
{
    if (
GetEntProp(clientProp_Send"m_isIncapacitated"1)) return true;
     return 
false;

You can do something like
PHP Code:
bool:IsPlayerIncapped(client)
{
     return 
GetEntProp(clientProp_Send"m_isIncapacitated"1);

but that's nothing really :p
KyleS is offline
zak36killo45
Junior Member
Join Date: Oct 2014
Location: Peru - Lima
Old 11-06-2014 , 14:22   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #22

A plugin for the tank to be generated with the use of large finds weapons (machine guns , shotguns ... ) But the use of the guns make the spawning tank will normally
zak36killo45 is offline
P00kster
Member
Join Date: Aug 2015
Old 08-09-2015 , 15:26   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #23

Plugin now compiles with lots of warnings with a newer version of Sourcemod:

Quote:
SourcePawn Compiler 1.6.4-dev+4624
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

l4d_smokerlightning.sp(84) : warning 204: symbol is assigned a value that is never used: "attacker"
l4d_smokerlightning.sp(83) : warning 204: symbol is assigned a value that is never used: "victim"
l4d_smokerlightning.sp(91) : warning 213: tag mismatch
l4d_smokerlightning.sp(115) : warning 213: tag mismatch
l4d_smokerlightning.sp(206) : warning 213: tag mismatch
l4d_smokerlightning.sp(207) : warning 213: tag mismatch
l4d_smokerlightning.sp(210) : warning 213: tag mismatch
l4d_smokerlightning.sp(210) : warning 213: tag mismatch
l4d_smokerlightning.sp(259) : warning 204: symbol is assigned a value that is never used: "GameMode"
l4d_smokerlightning.sp(259 -- 40 : warning 203: symbol is never used: "ResetAllPlayerState"
l4d_smokerlightning.sp(259 -- 40 : warning 203: symbol is never used: "ResetPlayerState"
Header size: 3688 bytes
Code size: 11708 bytes
Data size: 21284 bytes
Stack/heap size: 16384 bytes; Total requirements: 53064 bytes

11 Warnings.
P00kster is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 03-24-2019 , 16:04   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #24

someone could fix the errors of this plugin
BlackSabbarh is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 03-25-2019 , 09:15   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #25

Quote:
Originally Posted by BlackSabbarh View Post
someone could fix the errors of this plugin
show me your mistakes?
Alexmy is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 03-25-2019 , 14:58   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #26

is compiled but with a lot of errors in sourcemod 1.9




//// l4d_smokerlightning.sp
//
// l4d_smokerlightning.sp(37) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(3 : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(39) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(40) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(42) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(43) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// l4d_smokerlightning.sp(84) : warning 204: symbol is assigned a value that is never used: "attacker"
// l4d_smokerlightning.sp(83) : warning 204: symbol is assigned a value that is never used: "victim"
// l4d_smokerlightning.sp(91) : warning 213: tag mismatch
// l4d_smokerlightning.sp(115) : warning 213: tag mismatch
// l4d_smokerlightning.sp(206) : warning 213: tag mismatch
// l4d_smokerlightning.sp(207) : warning 213: tag mismatch
// l4d_smokerlightning.sp(210) : warning 213: tag mismatch
// l4d_smokerlightning.sp(210) : warning 213: tag mismatch
// l4d_smokerlightning.sp(259) : warning 204: symbol is assigned a value that is never used: "GameMode"
// l4d_smokerlightning.sp(234) : warning 203: symbol is never used: "ResetAllPlayerState"
// l4d_smokerlightning.sp(23 : warning 203: symbol is never used: "ResetPlayerState"
// Code size: 13244 bytes
// Data size: 22484 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 52112 bytes
//
// 17 Warnings.
//
// Compilation Time: 2,03 sec
BlackSabbarh is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 03-25-2019 , 17:46   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #27

Those are just warnings. If there were actual errors the plugin wouldn’t compile at all.
__________________
Psyk0tik is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 04-07-2019 , 09:33   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #28

Cleared from warnings.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_smokerlightning.sp - 462 views - 9.9 KB)

Last edited by Alexmy; 04-07-2019 at 09:38.
Alexmy is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 04-10-2019 , 05:05   Re: [L4D & L4D2] Smoker's Lightning
Reply With Quote #29

Thank you Alexmy
BlackSabbarh 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 10:22.


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