Page 1 of 1

Huge server crashing bug.

Posted: Sun Mar 05, 2006 10:15 pm
by DooMer
It turns out that some maps can be voted even if the server doesn't have it. Absolut tried voting drachs map, and the vote went through despite the fact that it isn't even on the server. It even shows up in the vote list for him. I opened up drachs pk4 and noticed that he had a .def and addon.conf. Could this be a problem with having both, or maybe its just the addon.conf thats really screwing things up. I'm going to test it more today, but absolut said he saw cobalt and ghostport in the map list even though they aren't on the server.

It's not the mappers fault. It doesn't really matter how mappers build their maps, because it seems to me that anybody can build a .pk4 with whatever configuration that is causing this and go ahead and take down servers.

Posted: Sun Mar 05, 2006 10:20 pm
by DooMer
I'd recommend 1.1 server admins turn map voting off until it's fixed, btw.

Posted: Sun Mar 05, 2006 10:34 pm
by DooMer
I just repacked it removing the .def and it did the same thing. I guess it is the addon.conf causing this problem.

Posted: Sun Mar 05, 2006 10:42 pm
by Absolut
Also, i'm going to take out those three maps that I did see and DooMer didn't from my baseq4 folder, I don't want to accidentally crash any servers by mistake. I'll leave them out till this gets fixed anyway.

Posted: Mon Mar 06, 2006 1:00 am
by 4days
is there a var to control that?
if you hit escape instead of going to console then you see a chat window - maybe console output can be limited to chat/echoes and ignore debug/error messages.

Posted: Mon Mar 06, 2006 1:05 am
by Oeloe
4days wrote:is there a var to control that?
com_uniqueWarnings makes the console print identical warnings only the first time. The problem is that thare are huge amounts of unique warnings/errors. :icon29:

Posted: Mon Mar 06, 2006 4:26 am
by {uZa}FreakOfNature
I verified this problem btw. If a user has a map that the server doesn't and that person calls a vote to that map, it'll crash the server. :(

Posted: Mon Mar 06, 2006 5:43 am
by Bueller
Version 1.0.5 requires clients to have all maps that servers have

Now

Version 1.1 requires servers to have all maps that clients have

Version 1.05 AutoDownload broken

Now

Version 1.1 AutoDownload fixed and AutoUpload broken

Ironic? :-)

Posted: Mon Mar 06, 2006 5:19 pm
by kleeks
yeah we had a server go down the other night because of an odd mapvote.

i assume the gui still only shows maps in the servers q4base - or is the gui showing clientside maps also ?

If the vote is called from console, and the server does not have it - surely it should just resort to the next map in cycle ?

Posted: Mon Mar 06, 2006 11:04 pm
by DooMer
the gui shows all client side maps that have an addon.conf.

If the vote is called for a map the server doesn't have, it should return an error saying that the server doesn't have the specified map. The vote shouldn't go through in the first place.

Posted: Mon Mar 06, 2006 11:54 pm
by {uZa}FreakOfNature
Agreed. Has anyone posted a bug report about this?

Posted: Tue Mar 07, 2006 12:02 am
by DooMer
I posted it in the esr bug thread. Raven probably already saw this thread anyhow.

Posted: Tue Mar 07, 2006 9:03 pm
by rgoer
I passed this along to david

Posted: Wed Mar 29, 2006 2:59 am
by DooMer
Maps that the client has and the server doesn't still show up in the vote list. At least they don't pass when somebody tries to vote them.