Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

large_smoke particle generates error on Paper/Spigot 1.20.6 #6635

Closed
1 task done
SlimeDog opened this issue May 1, 2024 · 16 comments
Closed
1 task done

large_smoke particle generates error on Paper/Spigot 1.20.6 #6635

SlimeDog opened this issue May 1, 2024 · 16 comments
Assignees
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

Comments

@SlimeDog
Copy link

SlimeDog commented May 1, 2024

Skript/Server Version

>skript info
[16:00:09] [Server thread/INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[16:00:09] [Server thread/INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[16:00:09] [Server thread/INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[16:00:09] [Server thread/INFO]: [Skript] Server Version: 4137-Spigot-e2c1eee-666f091 (MC: 1.20.6)
[16:00:09] [Server thread/INFO]: [Skript] Skript Version: 2.8.5 (skriptlang-github)
[16:00:09] [Server thread/INFO]: [Skript] Installed Skript Addons: None
[16:00:09] [Server thread/INFO]: [Skript] Installed dependencies: 
[16:00:09] [Server thread/INFO]: [Skript]  - Vault v1.7.3-b131
[16:00:09] [Server thread/INFO]: [Skript]  - WorldGuard v7.0.10-SNAPSHOT+2263-c65dd83

Bug Description

The following constructs fail to parse on Paper/Spigot 1.20.5 or 1.20.6

player's balance
money of {_player}
set {_PARTICLE} to large smoke

UPDATE: The economy constructs work correctly when Essentials is installed as the economy provider.

Expected Behavior

Those constructs used to parse correctly, prior to Paper/Spigot 1.20.5

Steps to Reproduce

  • Update to Paper or Spigot 1.20.6
  • Run Skript 2.8.4 or 2.8.5
  • Start server
  • Read logs

Errors or Screenshots

[15:51:15] [Server thread/INFO]: [Skript] Loaded 10 variables in 0.0 seconds
[15:51:16] [Server thread/INFO]: [Skript] Line 17: (feed-me.sk)
[15:51:16] [Server thread/INFO]:     Can't understand this expression: 'the player's balance'
[15:51:16] [Server thread/INFO]:     Line: set {_balance} to the player's balance
[15:51:16] [Server thread/INFO]:
[15:51:16] [Server thread/INFO]: [Skript] Line 51: (feed-me.sk)
[15:51:16] [Server thread/INFO]:     Can't understand this condition/effect: remove {_cost} from the player's balance
[15:51:16] [Server thread/INFO]:     Line: remove {_cost} from the player's balance
[15:51:16] [Server thread/INFO]:
[15:51:16] [Server thread/INFO]: [Skript] Line 100: (grant-world-access.sk)
[15:51:16] [Server thread/INFO]:     Can't understand this expression: 'money of {_player}'
[15:51:16] [Server thread/INFO]:     Line: set {_BALANCE} to money of {_player}
[15:51:16] [Server thread/INFO]:
[15:51:16] [Server thread/INFO]: [Skript] Line 112: (grant-world-access.sk)
[15:51:16] [Server thread/INFO]:     Can't understand this condition/effect: subtract {_cost} from money of {_player}
[15:51:16] [Server thread/INFO]:     Line: subtract {_cost} from money of {_player}
[15:51:16] [Server thread/INFO]:
[15:51:17] [Server thread/INFO]: [Skript] Line 286: (test.sk)
[15:51:17] [Server thread/INFO]:     Can't understand this expression: 'large smoke'
[15:51:17] [Server thread/INFO]:     Line: set {_PARTICLE} to large smoke
[15:51:17] [Server thread/INFO]:
[15:51:17] [Server thread/INFO]: [Skript] Line 318: (test.sk)
[15:51:17] [Server thread/INFO]:     Can't understand this expression: 'money of {_player}'
[15:51:17] [Server thread/INFO]:     Line: set {_VALUE} to money of {_player}
[15:51:17] [Server thread/INFO]:
[15:51:17] [Server thread/INFO]: [Skript] Line 22: (on-join.sk)
[15:51:17] [Server thread/INFO]:     Can't understand this condition/effect: set player's balance to 1000
[15:51:17] [Server thread/INFO]:     Line: set player's balance to 1000

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@APickledWalrus
Copy link
Member

APickledWalrus commented May 1, 2024

Is vault/your economy provider working correctly on those versions? Some particles were removed so it may be that large smoke is one of them.

@APickledWalrus APickledWalrus added the investigating The core developers are currently investigating this issue. Usually used for complex cases. label May 1, 2024
@SlimeDog
Copy link
Author

SlimeDog commented May 1, 2024

According to my logs, Vault is working correctly.

grep -i Vault logs/latest.log
[15:50:24] [Server thread/INFO]: [Vault] Loading server plugin Vault v1.7.3-b131
[15:50:33] [Server thread/INFO]: [Vault] Enabling Vault v1.7.3-b131
[15:50:34] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[15:50:34] [Server thread/INFO]: [Vault] Enabled Version 1.7.3-b131
[15:50:34] [Server thread/INFO]: [LuckPerms] Registered Vault permission & chat hook.
[15:50:34] [Server thread/INFO]: WEPIF: Vault detected! Using Vault for permissions
[15:50:47] [Server thread/INFO]: [Citizens] Loaded economy handling via Vault.
[15:51:09] [Server thread/INFO]: [Disease] Vault plugin Found
[15:51:09] [Server thread/INFO]: [Disease] Vault Enabled
[15:51:09] [Server thread/INFO]: [Sentinel] Vault linked! Group targets will work.
[15:51:12] [Server thread/INFO]: [CommandSigns] Plugin vault detected
[15:51:12] [Server thread/INFO]: [CommandSigns] No vault economy hooked.
[15:51:18] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[15:51:29] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]

I find no evidence in various places that large_smoke has been removed. Please cite any information to the contrary.

@APickledWalrus
Copy link
Member

APickledWalrus commented May 2, 2024

Thanks for the logs. There were many internal changes with 1.20.5/1.20.6 so these may have been something missed on our end. I'll look into it this week and get back to you 🙂

@SlimeDog
Copy link
Author

SlimeDog commented May 2, 2024

/particle minecraft:large_smoke is recognized on Spigot and Paper 1.20.6.

@APickledWalrus
Copy link
Member

Yep I confirmed it's still present in the particle entries. Some particles were removed so it could be something going wrong in the particle system.

@ShaneBeee
Copy link
Contributor

could you please provide the output of the command /vault-info
(this will detail which eco plugin you're using)

I tested on my end:

> vault-info
[22:36:18 INFO]: [Vault] Vault v1.7.3-b131 Information
[22:36:18 INFO]: [Vault] Economy: BeeConomy [BeeConomy]
[22:36:18 INFO]: [Vault] Permission: SuperPerms [SuperPerms]
[22:36:18 INFO]: [Vault] Chat: None [null]
Screenshot 2024-05-01 at 10 36 55 PM

I cannot replicate said issue.

@SlimeDog
Copy link
Author

SlimeDog commented May 2, 2024

>vault-info
[22:48:33] [Server thread/INFO]: [Vault] Vault v1.7.3-b131 Information
[22:48:33] [Server thread/INFO]: [Vault] Economy: None [null]
[22:48:33] [Server thread/INFO]: [Vault] Permission: LuckPerms [LuckPerms, SuperPerms]
[22:48:33] [Server thread/INFO]: [Vault] Chat: LuckPerms [LuckPerms]

My economy plugins is Essentials, but Essentials is still broken on MC 1.20.5. I loaded EssentialsX build 81 to test, and that resolved the balance issues. I should have caught that.

So only the large_smoke particle issue remains.

@Fusezion
Copy link
Contributor

Fusezion commented May 2, 2024

Don't think I read it right on discord but

[22:48:33] [Server thread/INFO]: [Vault] Economy: None [null]

that syntax won't work if skript has nothing to work with

@SlimeDog
Copy link
Author

SlimeDog commented May 2, 2024

Don't think I read it right on discord but

[22:48:33] [Server thread/INFO]: [Vault] Economy: None [null]

that syntax won't work if skript has nothing to work with

As noted in my previous comment ... mea culpa. When I loaded Essentials (although broken), it worked enough to satisfy Vault and the Skript economy commands.

@SlimeDog SlimeDog changed the title Parsing errors on Paper/Spigot 1.20.6 large_smoke particle generates error on Paper/Spigot 1.20.6 May 2, 2024
@SlimeDog
Copy link
Author

SlimeDog commented May 9, 2024

Error is still present in Skript 2.9.0-beta1

@sovdeeth
Copy link
Member

sovdeeth commented May 9, 2024

Error is still present in Skript 2.9.0-beta1

yeah the beta doesn't have any additional bug fixes compared to 2.8.5
at least none related to 1.20.5+

@APickledWalrus APickledWalrus added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation). and removed investigating The core developers are currently investigating this issue. Usually used for complex cases. labels May 17, 2024
@APickledWalrus APickledWalrus self-assigned this May 17, 2024
@APickledWalrus
Copy link
Member

I've completed my investigation and begun work on a fix. There were just a lot of changes to the Particle Enum that were not addressed in the initial 1.20.5 support PR. I'll have a PR open soon.

@APickledWalrus APickledWalrus added the PR available Issues which have a yet-to-be merged PR resolving it label May 23, 2024
@APickledWalrus
Copy link
Member

I've opened PR #6716 which should resolve this issue. It is based on 2.8.5 (really, the upcoming 2.8.6 which just includes a few other fixes)

If you test it, let me know if you have any issues. You can download the artifact from here: https://github.com/SkriptLang/Skript/actions/runs/9212689747 (direct link: https://github.com/SkriptLang/Skript/actions/runs/9212689747/artifacts/1532145115)

@SlimeDog
Copy link
Author

I'm running Skript 2.9.0-beta1. I am not included to go back, unless you advise.

@APickledWalrus
Copy link
Member

I might be able to make a version that is based on 2.9. I'll update here when I am able to.

@sovdeeth sovdeeth added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label May 29, 2024
@APickledWalrus APickledWalrus added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. labels May 30, 2024
@APickledWalrus
Copy link
Member

This should be fixed in 2.8.6. It will be included in the dev/feature (2.9.0) builds soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: medium Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Projects
None yet
Development

No branches or pull requests

5 participants