Re: [L4D2] Proper Changelevel [Left 4 Fix] [1/11/2019]
very long card change
|
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
update 1.2.1
Added optional arg to changelevel native for score reset, requested by sir This change to the native is backcompat so already compiled binaries will function as default clearing scores on change. |
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
hi, Lux!
Your previous github samples contains "scripted_mode_shutdown" code when "CDirector::OnChangeChapterVote" fail. Code:
if (!L4D2_ChangeLevel(sMap)) |
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Nope, that's only in the mission manager fork incase someone don't install the alt level changing method.
|
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Is there some significant difference between shutdown scripts method and "CDirector::OnChangeChapterVote" ?
|
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Yes that's why this plugin exists, don't really remember fully think MapScript something like that and does nothing to global table.
Why are you interested in the old ShutDownScriptedMode();? |
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
I think adding to my MapChanger, so I instering in most simple method.
|
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Also, I curious about this part:
Quote:
In such case, can I guess the problem can persists in L4D1, maybe some identification markers can prove that? -- P.S. On my other addons server, it's often I faced with problem when I can't change map using ForceChangeLevel(). I see loading window of the next campaign, and after loading finishes, I see not map of this campaign but the map of other compaign set by default on server. So, I also curious, is there better method, maybe "CDirector::OnChangeChapterVote" or I should try ServerCommand("changelevel %s", sMap), dunno is ForceChangeLevel() just an alias to changelevel... maybe you know. |
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
not really sure about l4d1, it has no vscript engine why ShutDownScriptedMode() is pointless, it's still kinda pointless in l4d2 since it don't do everything the alt method of changing level does.
You can try calling that "CDirector::OnChangeChapterVote()"in l4d1 see if it fixes the issue. And ServerCommand("changelevel %s", sMap) is just the same as ForceChangeLevel() calls changelevel cmd, like every other level changing method including mine, it is called one way or another. As for the other issues with the game, the talker system leaks, filling up some table or something with lots of concepts i think, after a while it can take whole game frames to process a response, this is persistent across levels i have unable to understand how to fix the problem. EDIT: This is why alot of l4d actions don't happen when forcing a map change without voting, e.g. intro sequence don't play these seem to be legacy cmds from counter strike maybe |
Re: [L4D2] Proper Changelevel [Left 4 Fix] [17/11/2019]
Thank you for explanation. I will try.
|
| All times are GMT -4. The time now is 22:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.