1. Primeval
  2. News
  3. Multiplayer Part 2

Multiplayer Part 2

This news covers updates 0.7.81.1 through 0.7.81.7.



Multiplayer
Networking code had to be custom written for sending and receiving data.

Players can only join a server if their game version matches the server's game version. You won't even see a server listed on the server list unless your game version matches their game version.

When creating a server you can now add a server description that is displayed next to the server in the server list.

When creating a server, an optional server welcome message is able to be entered. This message is displayed to all users that connect to the server.

When joining a server, if you are not on the server's map you will be switched to the server's map.

All players now connect to the US region and host servers through it. This way everyone can see everyone else's servers.

Dinosaur AI and players now have basic data synchronized across the network. (Position, rotation, size)

Dinosaur AI and players now have their animations synchronized across the network.

During a multiplayer game the first player to come within range of an AI dinosaur will activate it and it will be processed on their computer as if they were playing a single-player game. Processing will halt when the dinosaur goes out of range and then another player can start processing it when they come in range of it. This could potentially lighten the load of processing that the server needs to do, which could potentially allow more players to join a server.



User Interface
Switching maps is now disabled while in a multiplayer game.

Resetting a map is now disabled while in a multiplayer game.

The 'Singleplayer' main menu button becomes the 'Play' button when in a multiplayer game.

The 'Multiplayer' main menu button becomes the 'Server' button when in a multiplayer game.

The chat input field and chat log are now 75% of their previous width.

The mouse cursor will now show when the chat window pops up and will hide when the chat window disappears if no other user interface is open.

While typing in the chat input box you will no longer send commands to your dinosaur. (Walking, eating, roaring, etc.) Left-clicking to attack still works while typing in the chat input box because clicking on the screen takes focus away from the chat input box. (Unless you click on the chat input box)

Selecting an already selected server from the server list will now deselect it.


Dinosaurs
Terrestrial dinosaurs and aerial dinosaurs were mixed together in a spawn group and there could be a random amount of either of them, up to 400 in total. Now aerial dinosaurs have their own spawn group.

Up to 300 terrestrial dinosaurs can be spawned at once. (Down from 400)

Up to 25 amphibious dinosaurs can be spawned at once. (Same as before)

Up to 300 aquatic dinosaurs can be spawned at once. (Up from 200)

Up to 50 aerial dinosaurs can be spawned at once. (new)

Quetzalcoatlus now has five times more flesh.


Music
Will Dodson created a new music track for the prairie biome!



Fixes
Fixed player size not being correct for other players.

Fixed the new multiplayer UI not scaling properly with different screen resolutions.