Raised This Month: $ Target: $400
 0% 

[L4D2] Block Flashlight (1.2, 18/10-2011)


Post New Thread Reply   
 
Thread Tools Display Modes
marvel
BANNED
Join Date: Dec 2009
Old 09-18-2010 , 07:11   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #11

Quote:
Originally Posted by Fleepster99 View Post
Haha proved me right n1 on the update
lol
marvel is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 10-09-2010 , 03:49   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #12

PHP Code:
L 10/09/2010 13:24:31SourceMod error session started
L 10
/09/2010 13:24:31Info (map "c1m1_hotel") (file "errors_20101009.log")
L 10/09/2010 13:24:31: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:24:31: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:24:31: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:24:31: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:24:31: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:24:31: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:24:38: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:24:38: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:24:38: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:24:38: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:24:38: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:24:38: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:12: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:12: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:12: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:22: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:22: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:22: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:22: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:22: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:22: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:37: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:37: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:37: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:49: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:49: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:49: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:52: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:52: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:52: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:25:52: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:25:52: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx":
L 10/09/2010 13:25:52: [SM]   [0]  Line 109S:\BlockFlashlight.sp::OnEndTouch()
L 10/09/2010 13:26:05: [SMPlugin encountered error 15: Array index is out of bounds
L 10
/09/2010 13:26:05: [SMDisplaying call stack trace for plugin "BlockFlashlight.smx"
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 10-10-2010 , 05:41   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #13

Thanks, fixed.

Code:
Version 1.1.1 - 10-10-2010
~ Fixed out of bounds on OnEndTouch.
Mr. Zero is offline
ellis
Senior Member
Join Date: Apr 2010
Old 10-10-2010 , 08:14   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #14

finally, good plugin btw.
ellis is offline
ellis
Senior Member
Join Date: Apr 2010
Old 10-10-2010 , 08:39   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #15

ok i have a issue. first i can not make a self compile with the .sp file on my computer same with the web compiler.
But this is no Problem i use the attached .smx file

Last edited by ellis; 10-10-2010 at 11:48.
ellis is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 10-11-2010 , 06:17   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #16

If you want to compile it yourself you will need the SDKHooks include file.

The script assumes the SDKHooks include file is the in global include location.
Mr. Zero is offline
ellis
Senior Member
Join Date: Apr 2010
Old 10-11-2010 , 07:59   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #17

yes, i know this already. hmm seems to me that its a issue with the actually sdkhooks.inc the compiler give me this error:

Code:
error 100: function prototypes do not match

i used now a older sdkhooks.inc version and now it works.
ellis is offline
ghosthunterfool
Senior Member
Join Date: Mar 2010
Old 10-19-2010 , 05:31   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #18

can u have a option to enable this only for realism mode?
ghosthunterfool is offline
asto
Member
Join Date: Aug 2010
Old 10-23-2010 , 12:03   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #19

BUG:

1. When I have a melee weapon and I climbed on a ladder, the flashlight on main gun can't turn on.
Images:
http://www.image-share.com/ijpg-426-192.html
http://www.image-share.com/ijpg-426-193.html

BUT
When I have any pistol, and I climbed on a ladder, I can turn on my flashlight!
Images:
http://www.image-share.com/ijpg-426-194.html
http://www.image-share.com/ijpg-426-195.html

2. If a special infected got me, my flashlight will turn off (and I can't turn on after a special infected got me).
BUT
When I have any pistol, and a special infected got me, I can turn on my flashlight!

These bugs/errors are only if I have a melee weapon. So need a melee weapon fix.

Last edited by asto; 11-10-2010 at 10:16.
asto is offline
untalented893
Senior Member
Join Date: Oct 2009
Old 11-11-2010 , 16:34   Re: [L4D 1 & 2] Block Flashlight
Reply With Quote #20

Quote:
Originally Posted by asto View Post
BUG:

1. When I have a melee weapon and I climbed on a ladder, the flashlight on main gun can't turn on.
Images:
http://www.image-share.com/ijpg-426-192.html
http://www.image-share.com/ijpg-426-193.html

BUT
When I have any pistol, and I climbed on a ladder, I can turn on my flashlight!
Images:
http://www.image-share.com/ijpg-426-194.html
http://www.image-share.com/ijpg-426-195.html

2. If a special infected got me, my flashlight will turn off (and I can't turn on after a special infected got me).
BUT
When I have any pistol, and a special infected got me, I can turn on my flashlight!

These bugs/errors are only if I have a melee weapon. So need a melee weapon fix.
Same here
untalented893 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:32.


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