Giter Site home page Giter Site logo

voxelmultiplayer's Introduction

VoxelMultiplayer

Some modifications on the MP-code of the Voxel Plugin for Unreal Engine: https://www.unrealengine.com/marketplace/en-US/product/voxel-plugin-pro

This code will not compile with the Marketplace version! Use this instead: https://github.com/Phyronnaz/VoxelPlugin

See guides channel on the plugin's discord to learn how you get access.

What it does:

  • Fix issue on simultaneous edits of value and material
  • Make Server recognise and remove broken Sockets
  • Send KeepAlive messages to clients on a regular basis (set KeepAlivePeriod in VoxelMultiplayerManager.h)
  • Make Clients close their Socket when they did not receive anything from the Server for KeepAlivePeriod*1.5
  • Add BlueprintNode "BindOnDisconnect" that allows to bind a delegate that get's called on the Client after it's Socket was closed
  • Add BlueprintNode "BindOnLoadRemoteSave" that allows to bind a delegate that get's called on ther Client after it received and loaded the world save from the Server

Fix for VoxelInvokers not working correctly on Server: (not included in this repo's code) In file "VoxelDefaultLODManager.cpp" replace the Line (232 at the time I wrote this)

InvokerSettings.bUseForLOD &= InvokerComponent->IsLocalInvoker();

by

InvokerSettings.bUseForLOD &= InvokerComponent->IsLocalInvoker() || InvokerComponent->GetOwnerRole() == ENetRole::ROLE_Authority;

This is an ongoing effort to improve the Plugin's multiplayer. If you encounter issues please share them and feel free to contribute!

Fix for VoxelSpawners not working correctly on dedicated Server should be pinned to on the Foliage channel on the Voxel Plugin discord.

voxelmultiplayer's People

Contributors

heinerlohmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.