Coder Social home page Coder Social logo

mc-erl's People

Contributors

clonejo avatar gfv avatar ggbbnn avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mc-erl's Issues

configuration system

I'm working on erlconf, a configuration library allowing nested key value store and notifies processes of updates.

Invalid block IDs

Building blocks with nonexistent block IDs results in all clients crashing when loading the respective chunk or block update.

Online list not being send

On login nor when somebody else logs in our out nothing is sent for the online list.
wiki.vg/Protocol#Player_List_Item_.280xC9.29

Submitted this as first on purpose :) (it's nice to see who's online)

send update time packets

the server already manages ticks, the player_logic processes just have to send them to the client

Signs

It's currently not possible to place any signs, they don't appear for other players and disappear when reconnecting.

Generating block metadata when placing

Many blocks like stairs, levers, ladders, chests, etc. require the server to store their direction as metadata. The direction is usually derived from the direction the player looks.

Mnesia

Introduce Mnesia and use its tables instead of current ets.

ets has to be replaced in:

  • mc_erl_entities: players
  • mc_erl_entities: entities
  • mc_erl_chunk_manager: chunks

Item entities

things to do: add a function for adding an item to the player's inventory, enable item pickup

Inventory

fully implemented inventory handling

done:

  • saving the inventory on the server side
  • player places a block
  • move items (w/o shift)

todo:

  • use shift while moving items

Invalid Strings are Passed to Clients

Strings with a length > 119, or with a character not accepted by vanilla Minecraft, will be passed along to each connected client in chat update (0x03) packets. This will crash any connected vanilla client when a malicious client sends a loaded string.

Building limitations

It is currently possible to dig blocks miles away from the player and to build blocks onto air.

Example
This structure was built from the spawn point but is actually at 1000/1000.

Sending negative string lengths

The client doesn't get disconnected immediately, but any packets sent are just ignored by the server. Eventually the connection times out.

Invisible entities

Entities that were static since the player has joined are not displayed.

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.