GMod Bugs Fixing

Another day of bug fixin’.

Today I fixed an issue people were having with the ‘increased_maxplayers’ custom server tag. It automatically adds this tag to your server if you have maxplayers set higher than the default maxplayers. Which is a problem in GMod because the default maxplayers is 1. This tag is obviously there to try to discourage people running 32 player TF2 servers, so predictably there are already server plugins that remove that tag every frame. Kinda seems like they should have just forced maxplayers to <= 24 on TF2 servers. Server admins are obviously going to spazz out over every little thing anyway (just look at the HLDS mailing list for evidence of that).

So here are the main issues people are bitching at me about right now.

Jeep/Jalopy Crash

This seems to have been fixed in the last update. I really don’t know why. The new Jalopy is derived from the old Jeep code. In the previous update I had it set up so the Jeep spawned from that old code. Now the jeep uses the exact same code as the Jalopy. So I’m guessing the problem was something in the old Jeep code that is being overridden by the new Jalopy code. I dunno anyway, just thank god it’s over.

Reliable Snaphsot Overflow

The spelling is correct. This happens when a lot of entities are in the player’s PVS. It tries to send a reliable snapshot to the player but overflows (assumably because the buffer it’s writing to isn’t big enough). This is a problem because in GMod people tend to make a lot of new entities. I’m 95% sure this is an engine problem. The code that changes this is in the engine (which I don’t edit or ship with GMod).

Content mounting choices not saving

Fixed this. I fucked up when building the depot to go on Steam. I didn’t mark the config file as editable by the user. I’m not gonna bother explaining exactly why I overlooked this, but rest assured that it is a 100% satisfactory excuse.

HL2 content not mounting

This is my fault. The routined that did this had turned into a bit of a mess. I cleaned that all up and now it’s working.

EP2 Maps – Alyx can’t act

This happens because we’re using the old HL2 model, not the Alyx model. I could kind of fix this by mounting EP2 with priority over HL2. But that’d cause problems online, with people with EP2 not having the same Alyx model as people without it. And which version would servers use? The only other solution would be to ship the Alyx model from EP2 with it. But I dunno how cool that would be with Valve, plus would it break HL2, plus is it even worth it?