1. Click here to join our community discord server.

Door Locker help

Discussion in '[L4D2] Hidden Infected' started by ezio, Apr 24, 2018.

  1. ezio

    ezio New Member

    hi tnx for this awesome plugin need littile help i am using this plugin and its not working in c2m1_highway map and every first map off l4d2 game so plz ant 1 can help i really apricitate here is the source code
     

    Attached Files:

  2. Shaikh Nedab

    Shaikh Nedab Active Member

    there are no doors on every first map of each campaign that's y it doesn't works. but there is another plugin i dont remember the name which freezes players till all players done loading.
     
  3. ezio

    ezio New Member

    shakib salam bhai .! i am sadiq . i know there is no door so i added doors using srtipper and work fine but got some errors in log like this
    L 04/24/2018 - 17:47:39: [SM] Call stack trace:
    L 04/24/2018 - 17:47:39: [SM] [0] GetEntPropVector
    L 04/24/2018 - 17:47:39: [SM] [1] Line 866, l4d2_doorlock.sp::ReplaceSafeDoor
    L 04/24/2018 - 17:47:39: [SM] [2] Line 848, l4d2_doorlock.sp::DL_Event_DoorOpen
    L 04/24/2018 - 17:47:42: [SM] Exception reported: Property "m_vecOrigin" not found (entity 72/predicted_viewmodel)
    L 04/24/2018 - 17:47:42: [SM] Blaming: l4d2_doorlock.smx
    L 04/24/2018 - 17:47:42: [SM] Call stack trace:
    L 04/24/2018 - 17:47:42: [SM] [0] GetEntPropVector
    L 04/24/2018 - 17:47:42: [SM] [1] Line 866, l4d2_doorlock.sp::ReplaceSafeDoor
    L 04/24/2018 - 17:47:42: [SM] [2] Line 848, l4d2_doorlock.sp::DL_Event_DoorOpen
    L 04/24/2018 - 17:47:46: [SM] Exception reported: Property "m_vecOrigin" not found (entity 72/predicted_viewmodel)
    L 04/24/2018 - 17:47:46: [SM] Blaming: l4d2_doorlock.smx ) plz bhai help me to fix this is my steam id name ( _ezio1 ) add me there for quick reply tnx u bhai
     
  4. ezio

    ezio New Member

    public Plugin:myinfo =
    {
    name = "Door Locker",
    description = "Locks the saferoom door.",
    author = "LEGEND",
    version = "3.0",
    url = "http://mgftw.com"
    };
     
  5. Shaikh Nedab

    Shaikh Nedab Active Member

    Walaikum Assalam bhai pls share your steam profile link. and as for the scripting part only @Mute can help you.
     
  6. ezio

    ezio New Member

  7. Mute

    Mute Head Administrator Staff Member

    The file you uploaded didn't seem to include the modifications you made (it doesn't even go to line 866). If you could upload your modified file I can give it a look and see what's wrong.
     
  8. ezio

    ezio New Member

    ok tnx here is the file

    { L 04/25/2018 - 13:19:31: Info (map "c13m3_memorialbridge") (file "errors_20180425.log")
    L 04/25/2018 - 13:19:31: [SM] Exception reported: Invalid client index 0
    L 04/25/2018 - 13:19:31: [SM] Blaming: l4d2_doorlock.smx
    L 04/25/2018 - 13:19:31: [SM] Call stack trace:
    L 04/25/2018 - 13:19:31: [SM] [0] GetClientEyeAngles
    L 04/25/2018 - 13:19:31: [SM] [1] Line 884, l4d2_doorlock.sp::ReplaceSafeDoor
    L 04/25/2018 - 13:19:31: [SM] [2] Line 848, l4d2_doorlock.sp::DL_Event_DoorOpen
    L 04/25/2018 - 13:19:31: [SM] [4] AcceptEntityInput
    L 04/25/2018 - 13:19:31: [SM] [5] Line 636, Keyman.sp::ControlDoor
    L 04/25/2018 - 13:19:31: [SM] [6] Line 545, Keyman.sp::TimerDoorCountDown} this todays lof and i attched both files plz check this out tnx in advance .
     

    Attached Files:

  9. ezio

    ezio New Member

    am still waiting sir
     
  10. Mute

    Mute Head Administrator Staff Member

    Hi sorry been a bit busy, try the file I've attached, I haven't tested it but it should hopefully catch the errors.
     

    Attached Files:

  11. ezio

    ezio New Member

    hi sir added your version and got this in log .. take a look at this tnx .
    L 04/27/2018 - 21:29:41: [SM] Call stack trace:
    L 04/27/2018 - 21:29:41: [SM] [0] GetClientEyeAngles
    L 04/27/2018 - 21:29:41: [SM] [1] Line 892, l4d2_doorlock.sp::ReplaceSafeDoor
    L 04/27/2018 - 21:29:41: [SM] [2] Line 850, l4d2_doorlock.sp::DL_Event_DoorOpen
    L 04/27/2018 - 21:29:41: [SM] [4] AcceptEntityInput
    L 04/27/2018 - 21:29:41: [SM] [5] Line 636, Keyman.sp::ControlDoor
    L 04/27/2018 - 21:29:41: [SM] [6] Line 545, Keyman.sp::TimerDoorCountDown
    L 04/27/2018 - 21:29:56: [SM] Exception reported: Entity 43 (43) is invalid
    L 04/27/2018 - 21:29:56: [SM] Blaming: l4d2_doorlock.smx
    L 04/27/2018 - 21:29:56: [SM] Call stack trace:
    L 04/27/2018 - 21:29:56: [SM] [0] DispatchKeyValue
    L 04/27/2018 - 21:29:56: [SM] [1] Line 660, l4d2_doorlock.sp::UnlockTheDoor
    L 04/27/2018 - 21:29:56: [SM] [2] Line 381, l4d2_doorlock.sp::StartTimer
    L 04/27/2018 - 21:35:36: Error log file session closed.