-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
2.7: Some functions not loaded on startup #5779
Comments
im assuming Achievements.sk is using the missing functions. what script are they a part of? !API.sk? could you send the script containing the functions? also, what other scripts make use of the functions but load correctly? |
!API.sk just has some WorldGuard things inside. The function "Reward" is in the file Geldsystem.sk. "ItemPayout" is in Essentials.sk. Function "Reward" is used in: Essentials.sk, Zirkus.sk and Achievement.sk. Oh and "Achievement.sk" successfully uses "Reward()" and "ItemPayout()" in Achievement.sk. The trouble starts just at line 882. Geldsystem.sk: https://pastebin.com/t2N7GkDu |
thanks for all the information! could you send the achievement.sk script as well? |
Can i send you that privately? |
Based on the information in that script (it was emailed to me), it looks like the problematic calls are located in a custom effect created using skript-reflect. Looking at the source code, it seems like it may end up loading the code too early (the addon has not yet been adapted for 2.7). Are there other cases where it is working in a custom syntax? |
Oh i didn't realize that. Thanks for pointing that out. |
The related issue for skript reflect is marked as completed, so I'll assume this is fixed. Either way, it's not a Skript issue so this wouldn't be the place for the ticket. |
Skript/Server Version
Bug Description
Some of my functions are not getting loaded when i startup the server. The same error occurs with /sk reload all.
More infos to this problem: The same functions that are not recognized later down the script are being used above, but dont throw an error. Can a (too) big skript file cause this? Anyways, this is new and didn't happen in 2.6.
Expected Behavior
Steps to Reproduce
Errors or Screenshots
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: