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

[L4D/L4D2]Enhanced Throwables (1.3 - 21/7/2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Pyc
Senior Member
Join Date: Jan 2014
Old 06-19-2016 , 07:12   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #21

with "pipe bomb shove" plugin pipes doesn't lightning https://forums.alliedmods.net/showthread.php?p=1733534
Pyc is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-27-2016 , 16:32   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #22

Quote:
Originally Posted by Pyc View Post
with "pipe bomb shove" plugin pipes doesn't lightning https://forums.alliedmods.net/showthread.php?p=1733534
I have never used the plugin so i cant tell you why it don't work, but if the pipebomb you shove in the zombies mouth dont emit sounds then it wont work.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Pyc
Senior Member
Join Date: Jan 2014
Old 07-04-2016 , 19:37   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #23

this plugin have sounds
Pyc is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 09-22-2016 , 15:45   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #24

This always shows in log of dedicated server.
PHP Code:
ERRORTried to SetParentAttachment for entity light_dynamic (light_dynamic), but it has no attachment named survivor_light
-edit-
OKAY.
__________________
Kill all the son of a bitches, that's my official instructions.
L4Dε Modified Talker

Last edited by bazrael; 10-28-2016 at 15:41. Reason: Reply
bazrael is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 10-08-2016 , 23:48   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #25

Quote:
Originally Posted by bazrael View Post
This always shows in log of dedicated server.
PHP Code:
ERRORTried to SetParentAttachment for entity light_dynamic (light_dynamic), but it has no attachment named survivor_light
Source engine error.

nothing i can really do and it does not effect gameplay
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 02-20-2017 , 05:41   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #26

Another idea you might add if you like: could you add a cvar to change the frequency of pipebomb's red flash? Current flash is pretty fast so I hope to reduce its frequency and make it better flash light than original flashlight in pitch-dark environment. Of course molotov is the best torch so my friends and I really like your practical plugin.
bazrael is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 02-20-2017 , 08:29   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #27

Quote:
Originally Posted by bazrael View Post
Another idea you might add if you like: could you add a cvar to change the frequency of pipebomb's red flash? Current flash is pretty fast so I hope to reduce its frequency and make it better flash light than original flashlight in pitch-dark environment. Of course molotov is the best torch so my friends and I really like your practical plugin.
maybe ill get around to it, i timed it to the flash sprite on the pipebomb down to the millisecond but i could do is make a flash speed multiplier
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 07-17-2017 , 11:21   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #28

I saw this in my Error Log:
Code:
L 07/17/2017 - 20:38:18: SourceMod error session started
L 07/17/2017 - 20:38:18: Info (map "dttg005") (file "errors_20170717.log")
L 07/17/2017 - 20:38:18: [SM] Native "GetEntPropString" reported: Entity 4 (4) is invalid
L 07/17/2017 - 20:38:18: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 07/17/2017 - 20:38:18: [SM]   [0]  Line 715, D:\Game Offlice\L4D2 v2100 GaNi\left4dead2\addons\sourcemod\scripting\include\entity.inc::GetEntityClassname()
L 07/17/2017 - 20:38:18: [SM]   [1]  Line 119, Enhanced_Throwables.sp::HandheldSoundHook()
L 07/17/2017 - 20:38:18: [SM] Native "GetEntPropString" reported: Entity 8 (8) is invalid
L 07/17/2017 - 20:38:18: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 07/17/2017 - 20:38:18: [SM]   [0]  Line 715, D:\Game Offlice\L4D2 v2100 GaNi\left4dead2\addons\sourcemod\scripting\include\entity.inc::GetEntityClassname()
L 07/17/2017 - 20:38:18: [SM]   [1]  Line 119, Enhanced_Throwables.sp::HandheldSoundHook()
Help
P/s: I download the 1.2 version
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese

Last edited by Newbie_Sexy; 07-17-2017 at 11:22. Reason: more detail
Newbie_Sexy is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-17-2017 , 13:33   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #29

Quote:
Originally Posted by Newbie_Sexy View Post
I saw this in my Error Log:
Code:
L 07/17/2017 - 20:38:18: SourceMod error session started
L 07/17/2017 - 20:38:18: Info (map "dttg005") (file "errors_20170717.log")
L 07/17/2017 - 20:38:18: [SM] Native "GetEntPropString" reported: Entity 4 (4) is invalid
L 07/17/2017 - 20:38:18: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 07/17/2017 - 20:38:18: [SM]   [0]  Line 715, D:\Game Offlice\L4D2 v2100 GaNi\left4dead2\addons\sourcemod\scripting\include\entity.inc::GetEntityClassname()
L 07/17/2017 - 20:38:18: [SM]   [1]  Line 119, Enhanced_Throwables.sp::HandheldSoundHook()
L 07/17/2017 - 20:38:18: [SM] Native "GetEntPropString" reported: Entity 8 (8) is invalid
L 07/17/2017 - 20:38:18: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 07/17/2017 - 20:38:18: [SM]   [0]  Line 715, D:\Game Offlice\L4D2 v2100 GaNi\left4dead2\addons\sourcemod\scripting\include\entity.inc::GetEntityClassname()
L 07/17/2017 - 20:38:18: [SM]   [1]  Line 119, Enhanced_Throwables.sp::HandheldSoundHook()
Help
P/s: I download the 1.2 version
That error should not happen unless your sourcemod is broken af and/or your running nosteam don't ask for help here(i assume you are with this L4D2 v2100 GaNi) however i could be wrong.

PHP Code:
public Action:HandheldSoundHook(iClients[64], &iNumClientsString:sSampleFile[PLATFORM_MAX_PATH], &iEntity, &iChannel, &Float:fVolume, &fLevel, &iPitch, &iFlags)
{
    if(!
g_bHandheldThrowLightEnabled)
        return 
Plugin_Continue;
    
    static 
iAlreadyThrownEntityRef[2048+1] = {INVALID_ENT_REFERENCE, ...};
    if(
IsValidEntRef(iAlreadyThrownEntityRef[iEntity]))
        return 
Plugin_Continue;
    
    
iAlreadyThrownEntityRef[iEntity] = EntIndexToEntRef(iEntity);
    
    if(!
IsValidEntity(iEntity))// LINE 114 HERE if something got past this then there could be an issue with sourcemod(highly likely the person is running nosteam)
        
return Plugin_Continue;
    
    static 
String:sClassname[32];
    
    
GetEntityClassname(iEntitysClassnamesizeof(sClassname));//LINE 119 HERE
    
if(!StrEqual(sClassname"pipe_bomb_projectile") && !StrEqual(sClassname"molotov_projectile"))
        return 
Plugin_Continue;
    
    switch(
sClassname[0])
    {
        case 
'p':
        {
            if(!
StrEqual(sSampleFilePIPEBOMB_SOUND))
                return 
Plugin_Continue;
            
            new 
iLight CreateLight(iEntityEnumHandheld_Pipebomb);
            if(
iLight == -|| !IsValidEntity(iLight))
                return 
Plugin_Continue;
            
            
decl Float:fPos[3];
            
EntityGetPosition(iEntityfPos);
            
TeleportEntity(iEntityfPosNULL_VECTORNULL_VECTOR);
            
EntitySetParent(iLightiEntity);
        }
        case 
'm':
        {
            if(!
StrEqual(sSampleFileMOLOTOV_SOUND))
                return 
Plugin_Continue;
            
            new 
iLight CreateLight(iEntityEnumHandheld_Molotov);
            if(
iLight == -|| !IsValidEntity(iLight))
                return 
Plugin_Continue;
            
            
decl Float:fPos[3];
            
EntityGetPosition(iEntityfPos);
            
TeleportEntity(iEntityfPosNULL_VECTORNULL_VECTOR);
            
EntitySetParent(iLightiEntity);
        }
    }
    
    return 
Plugin_Continue;

The function should return unless this if(!IsValidEntity(iEntity)) is broken in sourcemod.
Anyone with more knowledge could confirm this about sourcemod.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 07-17-2017 at 13:38.
Lux is offline
PepeZukas
Member
Join Date: Oct 2015
Location: Banana Republic
Old 09-15-2017 , 19:46   Re: [L4D/L4D2]Enhanced Throwables (1.2 - 18/6/2016)
Reply With Quote #30

L 09/15/2017 - 20:45:52: [SM] Exception reported: Array index is out of bounds
L 09/15/2017 - 20:45:52: [SM] Blaming: Enhanced_Throwables.smx
L 09/15/2017 - 20:45:52: [SM] Call stack trace:
L 09/15/2017 - 20:45:52: [SM] [1] Line 109, /home/forums/content/files/2/5/7/8/4/1/163732.attach::HandheldSoundHook
L 09/15/2017 - 20:45:52: [SM] [3] EmitSound
L 09/15/2017 - 20:45:52: [SM] [4] Line 431, C:\L4D2\left4dead2\addons\sourcemod\scripting \include\sdktools_sound.inc::EmitSoundToAll
L 09/15/2017 - 20:45:52: [SM] [5] Line 3859, C:\L4D2\left4dead2\addons\sourcemod\scripting \l4d2_storm.sp:laySoundWind
L 09/15/2017 - 20:45:52: [SM] [6] Line 2621, C:\L4D2\left4dead2\addons\sourcemod\scripting \l4d2_storm.sp::LoadStorm
L 09/15/2017 - 20:45:52: [SM] [7] Line 719, C:\L4D2\left4dead2\addons\sourcemod\scripting \l4d2_storm.sp::Event_PlayerSpawn
PepeZukas 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 20:29.


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