Code Monkey home page Code Monkey logo

tiled's People

Contributors

thanatos-tshock avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

tiled's Issues

Drawbacks?

This probably should be on a "discussion" section, but there isn't one for this repo, so I'm posting my question here.

I'm intrigued by this plugin - it seems to be specially useful on resource-starved servers, which is my case. But then I'm wondering a few things, which stems from the fact that the README on the repo's root provides little information other than what it does and its benefits:

  • Should it be considered safe? The benefits are quite clear, but are there any trade-offs?
  • If it's safe, why hasn't it been submitted to TShock devs to be merged into the core proper?

Rubberbanding mobs, server time behind, with low performance CPUs

When using the Raspberry Pi 4B (4GB, 64-bit RPI OS, mono v6.12) overclocked at 2GHz, using Tiled plugin (1d provider) brought the memory usage down from ~1.5 GB to <1 GB on a large world. However, mobs were rubber banding and server time is consistently behind client time by 1 hour game time (measured with /time and gold clock gadget).

Without the Tiled plugin, mob movement was fine and server time was at most 15 minutes behind client time in the most CPU-intensive events like Frost Moon.

I am now also encountering the same problem with Tiled when using e2-micro VM (free tier) on Google Cloud Platform, having an always free terraria server for a small group of friends would be really nice. Switching to e2-small VM (which has 2x more compute than e2-micro) also fixed the rubberbanding and time lag issue.

Is there any reason why Tiled can decrease performance even though it should increase it?

Will this plugin improve server performance?

I am hosting my Terraria server on a Raspberry Pi 4B. Can you explain this plugin? How exactly will this tile affect my server? I saw that it takes less instructions than Heap in TShock, but what exactly does it affect when a player is in game?

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.