quiverteam / Engine

Modified Version of Source 2007
104 stars 29 forks source link

Can't use changelevel2 with other players in the server and the client is hosting #74

Open Demez opened 4 years ago

Demez commented 4 years ago

When you run changelevel2/hit a level transition, and SourceTV records a demo, you get put on the main menu with the console flooding with this error:

 Host_Error: SV_CreatePacketEntities: GetEntServerClass failed for ent 2.

This error is located in engine/sv_ents_write.cpp https://github.com/quiverteam/Engine/blob/upcoming/src/engine/sv_ents_write.cpp#L627

This issue only occurs when more than one player is on the server (except SourceTV when not recording a demo?). Synergy does not have this issue, and I recall getting this same error on Source 2013 MP.

When you do get sent to the main menu, the server is still running, and other people are able to play perfectly fine, but you are stuck on the main menu.

If you want to cause this issue easily, clone this with recursive and build: https://github.com/Demez/demez_hl2

Enter these commands into the console:

tv_enable 1;tv_autorecord 1

And start any map (like d2_coast_01), and cross a level transition.