Skip to content

Function not detected on skript load? #5074

@YPMXQQ

Description

@YPMXQQ

Skript/Server Version

[08:43:21 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[08:43:21 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[08:43:21 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[08:43:21 INFO]: [Skript] Server Version: git-Paper-81 (MC: 1.19)
[08:43:21 INFO]: [Skript] Skript Version: 2.6.3
[08:43:21 INFO]: [Skript] Installed Skript Addons:
[08:43:21 INFO]: [Skript]  - Skellett v2.0.7 (https://forums.skunity.com/resources/skellett.24/)
[08:43:21 INFO]: [Skript]  - SkWaze v3.0.7
[08:43:21 INFO]: [Skript]  - skRayFall v1.9.28 (https://sk.rayfall.net/)
[08:43:21 INFO]: [Skript]  - SkQuery v4.1.7
[08:43:21 INFO]: [Skript]  - SkBee v1.17.3 (https://github.com/ShaneBeee/SkBee)
[08:43:21 INFO]: [Skript]  - WolvSK v1.7.2
[08:43:21 INFO]: [Skript]  - SkStuff v1.6.4.1
[08:43:21 INFO]: [Skript] Installed dependencies: None
>

Bug Description

When I created some functions they are simply not working, when I reloaded the skript it usually said there is no issue if I pasted the functions in the script where I used them, but if I pasted them in other skript it said that the funcion does not exist.
But even if I posted them in one same skript, nothing happend and this shows in console : [08:31:52 INFO]: [Skript] Couldn't resolve call for 'dyeLeathSetBlue'. Be careful when using functions in 'script load' events!

I tried to rename the skript to anni.sk so it will load as first, I tried to google this issue and saw smthg about this might fixing it, but unfortunetly not working

Expected Behavior

Equip player with full basic starting set, + colored leather by team color
/ the test function is just test where it would send test message, which is also not working

Steps to Reproduce

Almost every time, once I tried to rename the script to anni_API.sk so it will load as first skript then it worked, then I added lore to items in the function, restarted skript and the issue started again.

Errors or Screenshots

[08:31:52 INFO]: [Skript] Couldn't resolve call for 'startingSet'. Be careful when using functions in 'script load' events!
[08:31:52 INFO]: [Skript] Couldn't resolve call for 'dyeLeathSetBlue'. Be careful when using functions in 'script load' events!
[08:32:03 INFO]: [akali: Killed akali]
[08:32:04 INFO]: [Skript] Couldn't resolve call for 'startingSet'. Be careful when using functions in 'script load' events!
[08:32:04 INFO]: [Skript] Couldn't resolve call for 'dyeLeathSetBlue'. Be careful when using functions in 'script load' events!
[08:33:18 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:33:19 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:33:19 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:35:03 INFO]: [Skript] Loaded 29 scripts with a total of 102 triggers and 17 commands in 3.73 seconds
[08:36:29 INFO]: [Kingdoms] akali has joined kingdoms!
[08:37:03 INFO]: [Kingdoms] Phase 2 has started
[08:37:03 INFO]: [Kingdoms] Protect your own nexus! Nexus can now be damaged!
[08:37:08 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:37:09 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:37:09 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:37:10 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:37:10 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:37:11 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:38:38 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:38:39 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:38:51 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:38:52 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!
[08:39:17 INFO]: [Skript] Couldn't resolve call for 'test'. Be careful when using functions in 'script load' events!

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

Labels

bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.functionsRelated to functionspriority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions