Slowly working thru my checklist. Haven’t actually gotten to the stage where I can log into the beta server and crash it by trying to look at a spawn list yet.
Actually, I derailed myself minutely by deciding that the server should bootstrap the toet_headers table with basic template headers if it is empty when the server starts up (that solves startup failure #4) and that it should tolerate an empty toet_vehicles table too (startup failure #5), which allowed me to nix another TODO item – the templates are now re-read once a minute, and any increases in vehicles are immediately applied.
It used to trickle vehicles over a period of an hour or so when they were introduced or increased, which I thought gave the introduction of vehicles a little more “role play”. But frankly, it just seemed to annoy people so – for now, new vehicles get added immediately.
Ok – new version has finished copying over to the beta cluster. Time for Test#9.
I’ll journal my progress here until my next post…
Test#9: Typo in SQL query.
Test #10: Map/Mission server barfing loading the weapon lists.
Test #11: Map/mission server was loading stuff in a crazy order.
Test #12: Cell host died. No core, no log message, running with debugger.
Test #13: Cell host was loading WEAPONs 3x. New object-oriented weapon loading code did not like this.
Test #14: Missed one, cell host was loading WEAPONs 4x.
Test #15: Able to log into server, no spawn lists (correct – no brigades have
templates and no templates have vehicles)
Test #16: Assigned templates to brigades, no spawn lists (correct – no templates have vehicles)
Test #17: Assigned levels of “50” to some vehicles. Spawn lists appeared.
Test #18: Modify rifleman count to 400, see if spawn list updates. FAILED.
ARE YOU PAYING ATTENTION?
Test #19: Modify rifleman of the French template. Voila!
Test #20: Spawn British Light Mortarman. Success!
Test #21: Despawn. Success!
Test #22: Spawn French Rifleman. Success!
Test #23: Despawn. FAILED. Waiting for mission results followed by CTHL. Not entirely surprising.
And that’s where I head home, download the betas and maybe get one or two more tests done. It takes between 3-5 minutes to start the client on my machine at work and I was up until 5am this morning ;)
You’d be expecting me to have tested whether or not my vehicle reservation changed the spawn lists, but I know that code is still partially #ifdef’d so no need to poke it with a stick yet.