GithubHelp home page GithubHelp logo

Comments (10)

ShadowKlassic avatar ShadowKlassic commented on July 28, 2024

I dont like having to kick players and having them rejoin just for the loops to continue working.

from skript.

sovdeeth avatar sovdeeth commented on July 28, 2024

Can't replicate on 2.8.2 with the following code.
It's likely something to do with your specific code or addons.

on command "test":
    while true is true:
        broadcast "test"
        wait 1 tick

from skript.

ShadowKlassic avatar ShadowKlassic commented on July 28, 2024

I've just added and updated all my addons. Its still happening to me. my server is on paper 1.19.3

[13:09:14 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[13:09:14 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[13:09:14 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[13:09:14 INFO]: [Skript] Server Version: git-Paper-404 (MC: 1.19.3)
[13:09:14 INFO]: [Skript] Skript Version: 2.8.2 (skriptlang-github)
[13:09:14 INFO]: [Skript] Installed Skript Addons:
[13:09:14 INFO]: [Skript] - skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders)
[13:09:14 INFO]: [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[13:09:14 INFO]: [Skript] - SkQuery v4.1.10
[13:09:14 INFO]: [Skript] - SkBee v3.3.0 (https://github.com/ShaneBeee/SkBee)
[13:09:14 INFO]: [Skript] Installed dependencies:
[13:09:14 INFO]: [Skript] - Vault v1.7.3-b131
[13:09:14 INFO]: [Skript] - WorldGuard v7.0.8+33cdb4a

from skript.

sovdeeth avatar sovdeeth commented on July 28, 2024

Please provide a minimum reproducible example that we can recreate the issue with, without addons. We can't do much if all we're going off is guesswork and we're unable to replicate it.

from skript.

ShadowKlassic avatar ShadowKlassic commented on July 28, 2024

https://paste.gg/p/anonymous/acfd6d92eefd4b2dad0b772696678d8f

from skript.

sovdeeth avatar sovdeeth commented on July 28, 2024

Since the code you sent relies on variables and functions you didn't provide, it can't be tested by others. A minimum reproducible example is the smallest bit of code that you can write that still causes the same effect. If you keep having this issue, please narrow it down to the bare minimum cause and show us that, please.

Since I can't test with your code, here's the code I did test with and could not replicate the issue with:

on join:
    while player is online:
        broadcast "%player% is online"
        wait 5 ticks

image

from skript.

ShadowKlassic avatar ShadowKlassic commented on July 28, 2024

Ok I found how you can recreate it. Heres a part of my code. This is the ONLY part of my code that does this(as in doesn't continue after reloading)

https://paste.gg/p/anonymous/d5ab79e4753e409f999c07522f7aa775

from skript.

sovdeeth avatar sovdeeth commented on July 28, 2024

Ok I found how you can recreate it. Heres a part of my code. This is the ONLY part of my code that does this(as in doesn't continue after reloading)

https://paste.gg/p/anonymous/d5ab79e4753e409f999c07522f7aa775

I think you sent the wrong link. That's the same code with the same reliance on global variables you have set, and same functions you wrote, that we can't duplicate.

from skript.

ShadowKlassic avatar ShadowKlassic commented on July 28, 2024

If you take out the functions and global variables. It still does it

from skript.

sovdeeth avatar sovdeeth commented on July 28, 2024

If you take out the functions and global variables. It still does it

As I said above, please take out everything you can that doesn't affect it, and only send us the minimum needed to replicate it. I'll try to replicate with that.

from skript.

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.