wootguy / RockTheVote

Sven Co-op plugin
5 stars 1 forks source link

Nominate Crash #7

Open strapodown opened 1 year ago

strapodown commented 1 year ago

My server crash if two persons or more nominates a map and start a vote. CPU rise to 100% and after a seconds restarts automatically to default map.

R4to0 commented 1 year ago

Which OS your server use? Anything in the logs? Any crash dumps available in the server directory? Which plugins you're running among with RTV?

strapodown commented 1 year ago

Which OS your server use? Anything in the logs? Any crash dumps available in the server directory? Which plugins you're running among with RTV?

OS: Linux Ubuntu Server 20.04.6 AngelScript Log: https://pastebin.com/zNXu4yGD Crash Dumps: None, due that server in fact "don't crash" just goes to default map Start Parameters: "-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clientport} +map ${defaultmap} +servercfgfile ${servercfg} +maxplayers ${maxplayers} -dll addons/metamod/dlls/metamod.so -binary ./svends_i686 +localinfo mm_gamedll dlls/server.so" (I'm using Intel binary because amd binary give me errors in SemiClip plugin)

Plugins:

R4to0 commented 1 year ago

Ok, I did a clean install of my server and as soon as I tried to rtv after a nominate it did froze the server with 100% cpu usage however it didn't changed to the default map. This will be annoying to track down I think.

strapodown commented 1 year ago

Ok, I did a clean install of my server and as soon as I tried to rtv after a nominate it did froze the server with 100% cpu usage however it didn't changed to the default map. This will be annoying to track down I think.

ERRORS & FIXES:

[RTV] Insta crash just for start a RTV:
-Set "as_command rtv.iMaxMaps 8" on your server.cfg (i don't know why but it only works with 8 for me)
[RTV] Crash if one person nominate and start a RTV:

-Mapvote.cfg is case sensitive? (i think?) so don't use maps names with capital letters (or rename it to lower case) because it gonna crash your server no matter what.

How i know that?

[RTV] Map "BlackMesaEPF" should also be in mapvote.cfg if it's good enough to be in map cycle.
[RTV] Map "uboa_rampage_II" should also be in mapvote.cfg if it's good enough to be in map cycle.
[RTV] Crash if two person nominate and start a RTV:

-IDK, i'm figuring out. 

Also R4to0 i send you a discord friend request