• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Voltseon's Multiplayer Solution

v21.1 Voltseon's Multiplayer Solution 1.0

This resource pertains to version 21.1 of Pokémon Essentials.
This is it, the full release!
This update merely acts as a larger patch for version 0.9 to Iron Defense out some of the Bug Buzzes. However some new features have been added alongside some optimizations.

Changelog:
  • Added support for game and version authentication by the server.
  • All data is further compressed with ‘zlib’ to ensure that packets aren’t too large.
  • Added ‘Online Variables’ which are essentially variables that are shared between all players in a cluster.
    • To set an online variable use: ‘VMS.set_variable(id, value)’.
    • To get an online variable use: ‘VMS.get_variable(id)’.
  • Made it so other events can walk and interact straight through other players.
    • This is made possible by making all other player events through whenever an event starts running/ the map interpreter starts running.
  • Made it so you’ll attempt to disconnect from a cluster when closing the game, rather than waiting for you to timeout.
  • Added a Message Configuration that houses all player shown messages.
  • Made it so you can use items in battles.
  • Server:
    • Provided a better method for ensuring all data is sent to and received by the server.
    • Changed the server terminal to have some colors in it.
    • Fixed a crash that would happen if the server disconnected you from a cluster.
    • Added a threading option to make clusters run asynchronously.
    • Added a tick rate option to limit the amount of data sent per second.
  • Added a tick rate option to the players side to limit the amount of data the player sends.
  • Added some configurable settings for smoothing the movement of players. This makes movement slightly less accurate but will make it seem more natural.
  • Made cull distance (how far away player has to be before they are invisible) a configurable option.
  • Added the option to only receive the newest data, with a configurable delay so you can get both fast and reliable data.
  • Players will now hold an ‘is_new’ attribute that simply returns whether the current version of the player is from a new packet. This is only relevant when HANDLE_MORE_PACKETS is set to ‘false’.
  • Both players will need to have able Pokémon to start a battle.
  • Added a method to teleport to other players.
  • Made players calculate their bush depth.
The documentation has also been updated, and again, if there are any issues or feedback feel free to let me know. To keep up to date on the progress and planned features check out the todo list.
Back
Top