Coder Social home page Coder Social logo

[IMPROVEMENT] Network variable about zulfbungee HOT 13 OPEN

zulfen avatar zulfen commented on June 15, 2024
[IMPROVEMENT] Network variable

from zulfbungee.

Comments (13)

MaitreFranck avatar MaitreFranck commented on June 15, 2024 1

Based on my experience, using network/global variables isn't the best way to store players data on long term. If you want to store things like ranks, coins, ect you might be fine with databases like MongoDB or MySQL, with their related addons (I personnaly use MongoSK and it works fine). It can be a good solution for your speed issues.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

I tried changing the "packet-response-time" value to a lower number but it still works so slow.

from zulfbungee.

Zulfen avatar Zulfen commented on June 15, 2024

Yeah, unfortunately due to limitations with Skript it makes it a bit hard to have decent performance with this addon. My code also has probably something to do with it though.

There might be a way around it using the new section stuff that has been added to Skript that supports running the syntax in async, but gotta figure out how to code that!

Until then, have you tried using /zulfbungee ping and setting the response time to something slightly higher than that? For example, I have mine set to 50 as my ping is around 46ms, and it works okay.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Yeah, unfortunately due to limitations with Skript it makes it a bit hard to have decent performance with this addon. My code also has probably something to do with it though.

There might be a way around it using the new section stuff that has been added to Skript that supports running the syntax in async, but gotta figure out how to code that!

Until then, have you tried using /zulfbungee ping and setting the response time to something slightly higher than that? For example, I have mine set to 50 as my ping is around 46ms, and it works okay.

Ok, I just tested the /zulfbungee ping and changed the config to the value I have in the ping but it still doesn't work, the network variables are still slow..

In short, it does not matter, I will do it with time that you find a solution to solve this problem.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Good evening, do you know if this will be changed in the next few days?

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Hello, is the variable loading time on the H2 the same as MySQL with your plugin?

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

I noticed after closing the issue, that it works perfectly in localhost but not on a vps (Pterodactyl or pufferpanel), I'm sorry for closing the issue.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Do you think the global variables will be corrected regarding this problem as soon as possible?

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Hi, sorry to ask you this question but it is to know if the network variables will be fixed on the vps including PufferPanel.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Hello, I tested the variable networks on the "Release v0.9.8-pre1" and it is still slow.

I think you haven't fixed or changed this problem yet but I prefer to test when you changed a few things on the network variables to see if that fixes it.

Thank you for your understanding !

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Hello, do you think the problem will be fixed in the next few weeks?

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

I also noticed that if we check and modify several network variables it lowers the tps to around 13/20 tps.

from zulfbungee.

Lennord avatar Lennord commented on June 15, 2024

Good evening @Zulfen,

When I put in the configuration of the Proxy and spigot on "socket", it causes a latency of the network variables but when I put "pluginmessage", the network variables work very quickly but the problem is that I only want to put socket because with pluginmessage it must have a player connected for the network variables to work while I don't want.

Cordially Mr.Lennord.

INFO:
Zulfbungee version: ALPHA-0.9.8

from zulfbungee.

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.