Skript

Skript

743k Downloads

A global function named '<function>' a;readu exists in script '<script name>'

NobleSkye opened this issue ยท 7 comments

commented

Skript/Server Version

2.9.4
also 2.9.3
havent tested any other versions

with skript gui but breaks without it

Bug Description

create a function it loads properly and then it on reload again says the function already exits in the function that created this

Expected Behavior

to reload without error and keep the same function name

Steps to Reproduce

create a function ie
function sayhello(p: player):
send "hello" to {_p}

command /hellworld:
trigger:
sayhello(player)

     /sk reload helloworld.sk

Errors or Screenshots

image
image
--2nd reload--
image
-- same code--
image

Other

No response

Agreement

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

image
used the code you sent but couldn't reproduce it
using Skript 2.9.4

commented

image

used the code you sent but couldn't reproduce it

using Skript 2.9.4

It happens no matter what code I write for some reason, if I don't make a big enough change, I can send the jar file & hash maybe see if it just is a bad file though I redownloaded many times

commented

please send the output of /sk info
The issue format requires it but you did not fill it out

commented

0246a9db68350279550e37587de34eb1
here is the has of the file
Skript-2.9.4.jar

commented

image
image

i didnt know that is what it was asking for - it should say to use /sk info to fill out that section - but thats just me

commented

Please check if you can reproduce without addons. Many of those are quite old and may cause issues.

it should say to use /sk info to fill out that section

image

commented

image
image
my bad, yeah must of been an addon. ill have to re look a which one does this, it was working before then suddenly stopped, ill look and try