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

[L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-04-2020 , 23:44   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.5) [01-Oct-2020]
Reply With Quote #21

I don't know why this error occurs, it works fine on another server

Code:
L 10/05/2020 - 11:26:10: [SM] Exception reported: Invalid hook callback specified for game event "gameinstructor_nodraw"
L 10/05/2020 - 11:26:10: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 11:26:10: [SM] Call stack trace:
L 10/05/2020 - 11:26:10: [SM]   [0] UnhookEvent
L 10/05/2020 - 11:26:10: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
ProjectSky is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-05-2020 , 00:03   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.5) [01-Oct-2020]
Reply With Quote #22

How often does the error occur? I don't know why this happens either since it's validated before unhooking that it was actually hooked. Dragokas reported this error a while back to me and I'm still none the wiser. Are you using Left4DHooks?

Code:
1.6 (05-Oct-2020)
    - Changes to hopefully fix unhook event errors.
__________________

Last edited by Silvers; 10-05-2020 at 00:08.
Silvers is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 10-05-2020 , 00:29   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #23

all error logs, yes, I'm using Left4DHooks
Code:
L 10/05/2020 - 10:47:44: Info (map "l4d2_deathcraft_01_town") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 10:47:44: [SM] Exception reported: Game event "gameinstructor_nodraw" has no active hook
L 10/05/2020 - 10:47:44: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 10:47:44: [SM] Call stack trace:
L 10/05/2020 - 10:47:44: [SM]   [0] UnhookEvent
L 10/05/2020 - 10:47:44: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
L 10/05/2020 - 10:47:48: Error log file session closed.
L 10/05/2020 - 10:54:43: SourceMod error session started
L 10/05/2020 - 10:54:43: Info (map "l4d2_daybreak01_hotel") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 10:54:43: [SM] Exception reported: Game event "gameinstructor_nodraw" has no active hook
L 10/05/2020 - 10:54:43: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 10:54:43: [SM] Call stack trace:
L 10/05/2020 - 10:54:43: [SM]   [0] UnhookEvent
L 10/05/2020 - 10:54:43: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
L 10/05/2020 - 10:54:46: Error log file session closed.
L 10/05/2020 - 10:59:20: SourceMod error session started
L 10/05/2020 - 10:59:20: Info (map "l4d2_daybreak02_coastline") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 10:59:20: [SM] Exception reported: Invalid hook callback specified for game event "gameinstructor_nodraw"
L 10/05/2020 - 10:59:20: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 10:59:20: [SM] Call stack trace:
L 10/05/2020 - 10:59:20: [SM]   [0] UnhookEvent
L 10/05/2020 - 10:59:20: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
L 10/05/2020 - 10:59:23: Error log file session closed.
L 10/05/2020 - 11:10:59: SourceMod error session started
L 10/05/2020 - 11:10:59: Info (map "l4d2_daybreak03_bridge") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 11:10:59: [SM] Exception reported: Invalid hook callback specified for game event "gameinstructor_nodraw"
L 10/05/2020 - 11:10:59: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 11:10:59: [SM] Call stack trace:
L 10/05/2020 - 11:10:59: [SM]   [0] UnhookEvent
L 10/05/2020 - 11:10:59: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
L 10/05/2020 - 11:11:03: Error log file session closed.
L 10/05/2020 - 11:14:33: SourceMod error session started
L 10/05/2020 - 11:14:33: Info (map "l4d2_daybreak04_cruise") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 11:14:33: [SM] Exception reported: Invalid hook callback specified for game event "gameinstructor_nodraw"
L 10/05/2020 - 11:14:33: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 11:14:33: [SM] Call stack trace:
L 10/05/2020 - 11:14:33: [SM]   [0] UnhookEvent
L 10/05/2020 - 11:14:33: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
L 10/05/2020 - 11:14:37: Error log file session closed.
L 10/05/2020 - 11:26:10: SourceMod error session started
L 10/05/2020 - 11:26:10: Info (map "l4d2_daybreak05_rescue") (file "/home/steam/serverfiles/l4d2/left4dead2/addons/sourcemod/logs/errors_20201005.log")
L 10/05/2020 - 11:26:10: [SM] Exception reported: Invalid hook callback specified for game event "gameinstructor_nodraw"
L 10/05/2020 - 11:26:10: [SM] Blaming: l4d_skip_intro.smx
L 10/05/2020 - 11:26:10: [SM] Call stack trace:
L 10/05/2020 - 11:26:10: [SM]   [0] UnhookEvent
L 10/05/2020 - 11:26:10: [SM]   [1] Line 246, /home/forums/content/files/8/5/7/7/8/180181.attach::OnMapEnd
ProjectSky is offline
fdxx
Member
Join Date: Oct 2020
Location: 0xdeadbeef
Old 10-08-2020 , 04:06   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #24

Thanks for sharing
fdxx is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 10-08-2020 , 13:36   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #25

For me, the server keeps restarting unless Left4Dhooks is used (Linux/SM 1.10). Just some heads up.

Is there a way to remove "transition blackouts" completely? I remember it being an issue = with Sir's cutscene skips done via Stripper too.

Also, Last Stand will result in black screen for everyone. It just won't go away.
KoMiKoZa is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-08-2020 , 16:06   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #26

Works for me normally on Last Stand (Linux / sm 1.10)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 10-08-2020 at 16:06.
Dragokas is offline
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 10-08-2020 , 17:21   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #27

Quote:
Originally Posted by Dragokas View Post
Works for me normally on Last Stand (Linux / sm 1.10)
👀

Welp, I'll be trying to figure out what's up. Any map but Last Stand is fine.
KoMiKoZa is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-08-2020 , 19:48   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.6) [05-Oct-2020]
Reply With Quote #28

Quote:
Originally Posted by KoMiKoZa View Post
For me, the server keeps restarting unless Left4Dhooks is used (Linux/SM 1.10). Just some heads up.

Is there a way to remove "transition blackouts" completely? I remember it being an issue = with Sir's cutscene skips done via Stripper too.

Also, Last Stand will result in black screen for everyone. It just won't go away.
I added the fade out on initial call to prevent seeing the camera warp into position and also many maps also have a fade in/out which this tries to cover also. You can remove yourself and recompile, it's not something I'll provide as an option because it looks bad without it.

As for restarts I've no idea. Also works fine here on Last Stand so don't know what would cause the black screen for everyone. Could use Stripper:Source to remove any logic entities that handle into cutscene to prevent that from triggering a fade if theres one, something you would have to look into.
__________________
Silvers is offline
Zheldorg
Junior Member
Join Date: Aug 2020
Old 01-16-2021 , 14:08   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.7) [10-Oct-2020]
Reply With Quote #29

There was a problem with skipping cutscenes in the final maps, the whole team is usually a small room during the scene
sourcemod-1.11.0-git6645, Tickrate 90
Zheldorg is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 01-17-2021 , 08:41   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.7) [10-Oct-2020]
Reply With Quote #30

Quote:
Originally Posted by Zheldorg View Post
There was a problem with skipping cutscenes in the final maps, the whole team is usually a small room during the scene
sourcemod-1.11.0-git6645, Tickrate 90
This doesn't touch anything else except the first maps of the campaigns unless said campaign was a standalone map.
cravenge 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 07:43.


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