Teeworlds protocol

Teeworlds 0.6 and 0.7 protocol differences

Far from complete diff between 0.6 and 0.7 protocol versions


Chunk header

chunk header diff

0.7 removed laser damage tuning

The tuning entry laser_damage was removed in 0.7

0.7 removed sound global and also removed some sound world snap items

In 0.6 the sounds SOUND_PLAYER_JUMP (15), SOUND_HOOK_ATTACH_GROUND (21), SOUND_HOOK_ATTACH_PLAYER (22) and SOUND_HOOK_NOATTACH (23) were sent via the snap item event_sound_world.

In 0.7 this no longer happens. The sounds still exists but it is triggered from the client side for the owner of the tee. The client side game state gamecore detects when for example a hook is about to hit and then sets a flag which plays the sound in the gameclient. This does not happen for spectators. A spectator depends on m_TriggeredEvents from the obj_character snap item to play those sounds.

Also the snap item event_sound_global was rempved in 0.7. The relevant git commit is d2924b5.