#functions with same argument dont work

1 messages · Page 1 of 1 (latest)

formal pumice
#

(I'm using last version of skript skbee and poask)

stable obsidian
#

have you reloaded all scripts

formal pumice
mild crag
#

read error too

formal pumice
split ferry
#

If you renamed the file it still could have the original file "saved" or wtv, if /sk reload all doesn't work then I'm not quite sure

tired panther
# formal pumice Alr done all of this

You're running into the same issue as I did before. Try going into the skbee config file and disabling some stuff like scoreboard, that's what fixed it for me, you might need to experiment a little more

supple cairn
frigid furnace
#

all i had to do is just restart and it fixed

formal pumice
pliant crypt
# formal pumice I will

u cant make 2 exactly same named functions in skript (even if theyre in different skripts)

#

and ur defining one 2 times (at line 55 and 66)

supple cairn
#

yeah this isnt a bug... you literally defined it twice

split ferry
supple cairn
#

correct

formal pumice
#

guys

#

im not dumb

#

i have not declared it 2 times

#

it keeps giving me errors

#

be4 it worked

#

now i have changed host, i have reloaded the skript for the second time after i've changed a text

#

and started do like that

#

and the function exist

#

tf i cant use same args

formal pumice
#

functions with same argument dont work

supple cairn
#

@formal pumice send_code send sk info too

formal pumice
#

here

supple cairn
#

and the code?

formal pumice
#

its more files code

supple cairn
#

are you sure the functions dont already exist in displays.sk?

formal pumice
#

checked it 100 times

formal pumice
#

like how to fix it

supple cairn
#

that doesnt matter

#

please tell me you havent used /reload or a plugin like plugmanx

formal pumice
#

[15:07:13 INFO]: [Skript] Loaded 5286 aliases in 155ms

[15:07:13 INFO]: Line 4: (misc.sk)

[15:07:13 INFO]: Function 'onlineLoop' with the same argument types already exists in script 'displays.sk'.

[15:07:13 INFO]: Line: function onlineLoop(p : player):

[15:07:13 INFO]:

[15:07:13 INFO]: Line 16: (misc.sk)

[15:07:13 INFO]: Function 'updateScoreboard' with the same argument types already exists in script 'displays.sk'.

[15:07:13 INFO]: Line: function updateScoreboard(p : player):

[15:07:13 INFO]:

[15:07:13 INFO]: Line 33: (misc.sk)

[15:07:13 INFO]: Function 'format' with the same argument types already exists in script 'displays.sk'.

[15:07:13 INFO]: Line: function format(n: number) :: text:

[15:07:13 INFO]:

[15:07:13 INFO]: Line 43: (misc.sk)

[15:07:13 INFO]: Function 'setVariables' with the same argument types already exists in script 'displays.sk'.

[15:07:13 INFO]: Line: function setVariables(p : player):

[15:07:13 INFO]:

[15:07:13 INFO]: Line 7: (displays.sk)

[15:07:13 INFO]: The function 'incomePerSecDisplay(object)' does not exist.

[15:07:13 INFO]: Line: incomePerSecDisplay({_p})

[15:07:13 INFO]:

[15:07:14 INFO]: Line 13: (plot.sk)

[15:07:14 INFO]: The function 'incomePerSecDisplay(object)' does not exist.

[15:07:14 INFO]: Line: incomePerSecDisplay({_p})

[15:07:14 INFO]:

[15:07:14 INFO]: Line 23: (plot.sk)

[15:07:14 INFO]: The function 'incomePerSecDisplay(object)' does not exist.

[15:07:14 INFO]: Line: incomePerSecDisplay({_p})

[15:07:14 INFO]:

[15:07:15 INFO]: Line 26: (prestige.sk)

[15:07:15 INFO]: The function 'incomePerSecDisplay(object)' does not exist.

[15:07:15 INFO]: Line: incomePerSecDisplay({_p})

[15:07:15 INFO]:

[15:07:15 INFO]: Line 20: (main.sk)

[15:07:15 INFO]: The function 'loadGlobalDisplays()' does not exist.

[15:07:15 INFO]: Line: loadGlobalDisplays()

[15:07:15 INFO]:

[15:07:16 INFO]: Encountered 9 errors while reloading the config, aliases and all scripts! (2559ms)

formal pumice
supple cairn
#

thats fine

formal pumice
#

and see ^^^ it is not just in display

#

it triggers all functions with same arguments

#

the code used to work since i've moved it to an another platform

#

same vers and all

#

i started server, it worked all fine, then i've changed a letter, reloaded it and poof

#

im a fucking count

#

man sorry

#

im dumb