Git Product home page Git Product logo

Comments (3)

meag avatar meag commented on July 21, 2024

For reference: extra memory usage is 3680 bytes/entity, or about 2.8MB total, per port. There might be a small amount on top of that but the per-entity data is the bulk of it.
There is a //FIXME comment to get that number down, as some fields are only for markers/items/players respectively, but that's what it is at the moment.

The extra CPU usage would be when bots are enabled, as the bounding boxes around markers are increased, and items fire trigger events, even if they have been taken... again it's not much if it's a duel but you notice it in a 4v4 or higher. It might start to be enough to affect other ports on the same server, especially on a VPS.

I'd say leave bots support removed for the moment, or include but as a separate qwprogs-bots.so, that the admin could easily rename and use if they wanted to.

from server-linux.

liback avatar liback commented on July 21, 2024

I guess we could leave bots in and put an option to enable them in the install script (with default value off in case people install in non-interactive mode). The toggle would rename the qwprogs.so if an additional qwprogs-bots.so exists.

from server-linux.

liback avatar liback commented on July 21, 2024

I added included three qwprogs files:
qwprogs-bots-enabled.so/dll
qwprogs-bots-disabled.so/dll
qwprogs.so <-- same as qwprogs-bots-disabled.so/dll

I have an install script step to enable/disable in a branch but haven't merged it yet so for now people will have to do it manually.

from server-linux.

Related Issues (20)

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.