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

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


Post New Thread Reply   
 
Thread Tools Display Modes
hefiwhfcds2
Junior Member
Join Date: Jun 2022
Old 06-07-2022 , 20:43   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #51

does anyone seen this mis?
and i got twice animation mis in c14m1 in windows, the view of survivors will be frozen

Code:
L 06/07/2022 - 19:33:47: [SM] Exception reported: Memory leak
L 06/07/2022 - 19:33:47: [SM] Blaming: l4d_target_override.smx
L 06/07/2022 - 19:33:47: [SM] Call stack trace:
L 06/07/2022 - 19:33:47: [SM]   [0] ArrayList.ArrayList
L 06/07/2022 - 19:33:47: [SM]   [1] Line 1071, l4d_target_override.sp::ChooseVictim
L 06/07/2022 - 19:45:15: [SM] Exception reported: Native is not bound
L 06/07/2022 - 19:45:15: [SM] Blaming: l4d_skip_intro.smx
L 06/07/2022 - 19:45:15: [SM] Call stack trace:
L 06/07/2022 - 19:45:15: [SM]   [0] L4D_IsFirstMapInScenario
L 06/07/2022 - 19:45:15: [SM]   [1] Line 268, l4d_skip_intro.sp::Event_NoDraw
hefiwhfcds2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-07-2022 , 20:48   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #52

Quote:
Originally Posted by hefiwhfcds2 View Post
does anyone seen this mis?
and i got twice animation mis in c14m1 in windows, the view of survivors will be frozen

Code:
L 06/07/2022 - 19:33:47: [SM] Exception reported: Memory leak
L 06/07/2022 - 19:33:47: [SM] Blaming: l4d_target_override.smx
L 06/07/2022 - 19:33:47: [SM] Call stack trace:
L 06/07/2022 - 19:33:47: [SM]   [0] ArrayList.ArrayList
L 06/07/2022 - 19:33:47: [SM]   [1] Line 1071, l4d_target_override.sp::ChooseVictim
L 06/07/2022 - 19:45:15: [SM] Exception reported: Native is not bound
L 06/07/2022 - 19:45:15: [SM] Blaming: l4d_skip_intro.smx
L 06/07/2022 - 19:45:15: [SM] Call stack trace:
L 06/07/2022 - 19:45:15: [SM]   [0] L4D_IsFirstMapInScenario
L 06/07/2022 - 19:45:15: [SM]   [1] Line 268, l4d_skip_intro.sp::Event_NoDraw
The "Native is not bound" seems to be because left4dhooks was unloaded whilst skip intro was being used and had detected left4dhooks. With the memory leaks fixed I think this wouldn't happen.

Edit: Left4DHooks memory leak has been fixed. Thanks.
__________________

Last edited by Silvers; 06-07-2022 at 21:02.
Silvers is offline
Forgetest
Member
Join Date: Aug 2020
Old 07-14-2022 , 15:22   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #53

Some findings but probably not worth mentioning, as FollowTarget_Detour saves from crashes.
Some crash info regarding skip intro were discussed there, and I think I've managed to know why this plugin are crashing after some investigations.

I noticed that cameras are provided with enable/disable methods where handles the viewers, but the action "StartMovement" doesn't seem to respect it.
So in the plugin a camera could be requested to affect an invalid entity handle regardless of its state:
PHP Code:
SetVariantString("!self");
AcceptEntityInput(entity"StartMovement"); 
The following code should help rid of it:
PHP Code:
static int iOffs_m_bActive = -1;
if (
iOffs_m_bActive == -1) {
    
iOffs_m_bActive FindDataMapInfo(entity"m_iszScriptId") + 72;
}

if (
GetEntData(entityiOffs_m_bActive1)) {
    
SetVariantString("!self");
    
AcceptEntityInput(entity"StartMovement");

Unfortunately, I have no idea how to reproduce this bug consistently when came up with the change. In other words, not tested. It would be appreciated anybody could help.
Forgetest is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 09-16-2023 , 03:10   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #54

Some maps do not skip intro cutscenes
For example: https://www.gamemaps.com/details/23517
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-16-2023 , 18:30   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #55

Quote:
Originally Posted by kochiurun119 View Post
Some maps do not skip intro cutscenes
For example: https://www.gamemaps.com/details/23517
Even if the plugin was to stop the camera, you would still be stuck with the intro overlays/colors. Some maps like this one have too many specific things, suggest using Stripper:Source to remove instead. It's too time consuming to modify the plugin to support custom maps like this, or provide some sort of config to work from.

TLR: Use Stripper:Source. I'm not supporting intros like that.
__________________
Silvers is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 09-23-2023 , 09:26   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
Reply With Quote #56

Quote:
Originally Posted by Silvers View Post
Even if the plugin was to stop the camera, you would still be stuck with the intro overlays/colors. Some maps like this one have too many specific things, suggest using Stripper:Source to remove instead. It's too time consuming to modify the plugin to support custom maps like this, or provide some sort of config to work from.

TLR: Use Stripper:Source. I'm not supporting intros like that.
Tks sir for hard works
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
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 11:54.


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