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

[L4D2] Doorlock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 09-18-2019 , 12:49   [L4D2] Doorlock
Reply With Quote #1

Anyone can help me fix it ? . I asked topic but nobody answer

Quote:
L 09/17/2019 - 10:44:00: [SM] Exception reported: Invalid client index 0
L 09/17/2019 - 10:44:00: [SM] Blaming: l4d2_doorlock.smx
L 09/17/2019 - 10:44:00: [SM] Call stack trace:
L 09/17/2019 - 10:44:00: [SM] [0] GetClientEyeAngles
L 09/17/2019 - 10:44:00: [SM] [1] Line 884, l4d2_doorlock.sp::ReplaceSafeDoor
L 09/17/2019 - 10:44:00: [SM] [2] Line 848, l4d2_doorlock.sp:L_Event_DoorOpen
L 09/17/2019 - 10:44:00: [SM] [4] AcceptEntityInput
L 09/17/2019 - 10:44:00: [SM] [5] Line 478, l4d_doorlock.sp::OnPlayerUse
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_doorlock.sp - 104 views - 20.9 KB)
hoanganh81097 is offline
philipjfry
Junior Member
Join Date: Sep 2019
Location: Somewhere in europe
Old 09-18-2019 , 13:42   Re: [L4D2] Doorlock
Reply With Quote #2

this fixes it?
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_doorlock.sp - 118 views - 21.0 KB)
philipjfry is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-23-2019 , 12:20   Re: [L4D2] Doorlock
Reply With Quote #3

He fixed the "DL_Event_DoorOpen" snippet. So this error shouldn't occur anymore. Just try it.
__________________
Marttt is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 09-24-2019 , 11:30   Re: [L4D2] Doorlock
Reply With Quote #4

Quote:
Originally Posted by philipjfry View Post
this fixes it?
thank you ! but i have another error logs :

PHP Code:
L 09/23/2019 10:09:36: [SMException reportedEntity 1892 (1892is invalid
L 09
/23/2019 10:09:36: [SMBlamingl4d2_doorlock.smx
L 09
/23/2019 10:09:36: [SMCall stack trace:
L 09/23/2019 10:09:36: [SM]   [0GetEntPropString
L 09
/23/2019 10:09:36: [SM]   [1Line 866l4d2_doorlock.sp::ReplaceSafeDoor
L 09
/23/2019 10:09:36: [SM]   [2Line 850l4d2_doorlock.sp::DL_Event_DoorOpen 
hoanganh81097 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-24-2019 , 15:02   Re: [L4D2] Doorlock
Reply With Quote #5

Try this one.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_doorlock.sp - 129 views - 21.0 KB)
__________________
Marttt is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 10-02-2019 , 14:18   Re: [L4D2] Doorlock
Reply With Quote #6

Quote:
Originally Posted by Marttt View Post
Try this one.
its work. Ty so much
hoanganh81097 is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 10-08-2019 , 14:07   Re: [L4D2] Doorlock
Reply With Quote #7

Quote:
Originally Posted by Marttt View Post
Try this one.
Hi, after few days testing. I have an another error logs :

PHP Code:
L 10/08/2019 10:52:39: [SMException reportedProperty "m_vecOrigin" not found (entity 575/instanced_scripted_scene)
L 10/08/2019 10:52:39: [SMBlamingl4d2_doorlock.smx
L 10
/08/2019 10:52:39: [SMCall stack trace:
L 10/08/2019 10:52:39: [SM]   [0GetEntPropVector
L 10
/08/2019 10:52:39: [SM]   [1Line 871l4d2_doorlock.sp::ReplaceSafeDoor
L 10
/08/2019 10:52:39: [SM]   [2Line 850l4d2_doorlock.sp::DL_Event_DoorOpen
L 10
/08/2019 10:53:55Error log file session closed
Can u help me to fix it ?
hoanganh81097 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-08-2019 , 14:17   Re: [L4D2] Doorlock
Reply With Quote #8

Quote:
Originally Posted by hoanganh81097 View Post
Hi, after few days testing. I have an another error logs
This is because developers need to use "EntIndexToEntRef" and "EntRefToEntIndex" when storing and using an entity index later (not in the same frame) to validate the entity and that you're affecting the intended entity, otherwise expect them to change/delete and cause problems like the one reported.
__________________
Silvers 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 18:30.


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