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

[L4D1 & L4D2] Map changer with rating system


Post New Thread Reply   
 
Thread Tools Display Modes
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-03-2022 , 10:12   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #221

I have one more trouble:
I use l4d_native_vote_allow_return_lobby "1" but when I use native vote in-game for return to the lobby, the server just changes the map to the next one instead of returning to the lobby.

This is weird and I haven't seen any errors in the console or SM logs.

Last edited by Mika Misori; 12-03-2022 at 11:32.
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-03-2022 , 19:46   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #222

Correct ConVar l4d_mapchanger_finale_change_type appropriately.
I think value 3 should be good.

But, in general, yes, some walkaround should be applied.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 12-03-2022 at 19:48.
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-05-2022 , 10:30   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #223

Quote:
Originally Posted by Dragokas View Post
Correct ConVar l4d_mapchanger_finale_change_type appropriately.
I think value 3 should be good.

But, in general, yes, some walkaround should be applied.
l4d_mapchanger_finale_change_type 3 fixed the lobby return native vote, but now the map changes immediately after vehicle leaving, and I wanted the change map to be after the credits (for this i used l4d_mapchanger_finale_change_type "8").

Is it possible to make both the lobby return work and the map change after the credits? : )
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-05-2022 , 12:15   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #224

Yes, but I dunno, when I can have a time for attention of it.
I'll do a notice.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-05-2022 , 17:20   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #225

Quote:
Originally Posted by Dragokas View Post
try it now.

Updated.
SourceMode errors_20221206.log:
Spoiler
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-06-2022 , 02:51   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #226

Is it often repeated?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-06-2022 , 04:07   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #227

Quote:
Originally Posted by Dragokas View Post
Is it often repeated?
It seems that every time the server starts up.
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-08-2022 , 14:00   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #228

Mika Misori, you can temporarily try increase wait timeout by editing the file configs/core.cfg:
Set the value of key "SlowScriptTimeout" to "0"

Meanwhile, you can test performance to understand which part cause problems. To do it:
1) Remove MapChanger.smx
2) Compile and install this plugin.
3) Join server and enter command "sm_localizer_perf"
4) After some time, grab output from the server console (or from your console.log file) and put results here.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 12-10-2022 , 11:37   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #229

Dragokas got this error today

L 12/09/2022 - 20:07:06: SourceMod error session started
L 12/09/2022 - 20:07:06: Info (map "l4d2_tank_challenge_3") (file "C:\servers\kkiller\left4dead2\addons\sourcem od\logs\errors_20221209.log")
L 12/09/2022 - 20:07:06: [SM] Exception reported: Invalid key value handle be700a6a (error 1)
L 12/09/2022 - 20:07:06: [SM] Blaming: MapChanger.smx
L 12/09/2022 - 20:07:06: [SM] Call stack trace:
L 12/09/2022 - 20:07:06: [SM] [0] KeyValues.GetSectionName
L 12/09/2022 - 20:07:06: [SM] [1] Line 362, H:\_To_games\Left4Dead_2\My_mods\MapChanger\M apChanger\MapChanger_3.X\scripting\MapChanger .sp:recachePhrasesKV_Frame
L 12/09/2022 - 20:07:06: [SM] Exception reported: Invalid key value handle 7df007ba (error 1)
L 12/09/2022 - 20:07:06: [SM] Blaming: MapChanger.smx
L 12/09/2022 - 20:07:06: [SM] Call stack trace:
L 12/09/2022 - 20:07:06: [SM] [0] KeyValues.GetSectionName
L 12/09/2022 - 20:07:06: [SM] [1] Line 362, H:\_To_games\Left4Dead_2\My_mods\MapChanger\M apChanger\MapChanger_3.X\scripting\MapChanger .sp:recachePhrasesKV_Frame
Krufftys Killers is offline
maclarens
Senior Member
Join Date: Jul 2020
Location: Kz
Old 01-12-2023 , 11:29   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #230

please update to 1.11
fix flags..not working
fix vote rating..not working for l4d2
maclarens 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 11:31.


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