Okay, I'm going to try to be as clear as possible.
In the first frame, a level is loaded ("level_load(NULL)"). I can play offline, entities get created all over the place, and I enjoy myself.
Then I go back to the main menu (the level still visible in the background), load up the serverlist, and join a game.
In an instant, the level disappears, the skybox disappears, and I get this error:
Malfunction W1517
on_client_event - no level!
Even shorter summary:1. NULL level is loaded.
2. Create entities and interact with them to verify that
there is a level.
3. Connect to online game.
4. Error because there is apparently no level when I try to create entities.
Optional steps:
5. Read the manual -- "After switching from normal to client mode with a loaded level, the level must be loaded anew." (session_connect)
6. Conclude that the manual's description is enforced by session_connect clearing out the level.
7. Work around the error by loading a NULL level again when a connection is made, and when a connection is lost (which was otherwise also causing the same problem).
Jibb