Solved On Block Form.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BrownMee

Active Member
Apr 16, 2018
126
6
18
Why does on block form sometimes work. Sometimes it doesn't work?
Sometimes the event on block form 100% broken.

When I restarted the server there's like 50 50 percent that the on block form will work.
Any idea how to fix this issues?

code_language.skript:
on block form:
    broadcast "tes"

sometimes it broadcast sometimes it doesn't. unless I restarted the server.
Usage:
lava+water.
 
Why does on block form sometimes work. Sometimes it doesn't work?
Sometimes the event on block form 100% broken.

When I restarted the server there's like 50 50 percent that the on block form will work.
Any idea how to fix this issues?

code_language.skript:
on block form:
    broadcast "tes"

sometimes it broadcast sometimes it doesn't. unless I restarted the server.
Usage:
lava+water.
I just tried it, and had absolutely no problems.
Answer these questions, and please dont say "latest"

Which version and server software are you using?
Which version/author of skript are you using?
 
Bensku Skript
Version: Dev.36
Server Jar:
[14:13:35 INFO]: This server is running CraftBukkit version git-Spigot-642f6d2-5
7ab4cf (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
[14:13:35 INFO]: You are 3 version(s) behind
[doublepost=1531635287,1531635252][/doublepost]Sometimes it works. But sometimes when I restart the server the block form event dies
 
Bensku Skript
Version: Dev.36
Server Jar:
[14:13:35 INFO]: This server is running CraftBukkit version git-Spigot-642f6d2-5
7ab4cf (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
[14:13:35 INFO]: You are 3 version(s) behind
[doublepost=1531635287,1531635252][/doublepost]Sometimes it works. But sometimes when I restart the server the block form event dies
Do you mean if you reload the server? (/reload) Because reloading breaks skript, so that might be the cause
 
Do you mean if you reload the server? (/reload) Because reloading breaks skript, so that might be the cause
Nope. Fully restart. 50 50 the block form event will dies. Then I restart once more then it works.
 
I feel pretty stumped on this. I have tested it and it works perfectly fine.
Im starting to wonder if you have something else that is kind of cancelling the event/effect
 
I feel pretty stumped on this. I have tested it and it works perfectly fine.
Im starting to wonder if you have something else that is kind of cancelling the event/effect
Hmm.. It's okay if it's broken I simply restart server . THanks for the help xD.
[doublepost=1531997038,1531726850][/doublepost]
I feel pretty stumped on this. I have tested it and it works perfectly fine.
Im starting to wonder if you have something else that is kind of cancelling the event/effect
Shane! I found the bug. I find out there's a code that stop on block form from working!

When I have this code
code_language.skript:
on grow of tree:
    wait 4 ticks
    loop all blocks in radius 1 of event-location:
        if loop-block is 17 or 17:1 or 17:2 or 17:3 or 162 or 162:1:
            drop 1 351:14 named "&eMango" at event-location

On block form just doesn't work... I tested 6 times now and now confirmed that if on grow of tree event exist in my skript folder. On block form just won't going to work.
 
Hmm.. It's okay if it's broken I simply restart server . THanks for the help xD.
[doublepost=1531997038,1531726850][/doublepost]
Shane! I found the bug. I find out there's a code that stop on block form from working!

When I have this code
code_language.skript:
on grow of tree:
    wait 4 ticks
    loop all blocks in radius 1 of event-location:
        if loop-block is 17 or 17:1 or 17:2 or 17:3 or 162 or 162:1:
            drop 1 351:14 named "&eMango" at event-location

On block form just doesn't work... I tested 6 times now and now confirmed that if on grow of tree event exist in my skript folder. On block form just won't going to work.
I had no idea you were trying to do a tree. I was thinking like cobble stone in a cobble/lava generator. But I’m glad you figured it out :emoji_slight_smile:
 
I had no idea you were trying to do a tree. I was thinking like cobble stone in a cobble/lava generator. But I’m glad you figured it out :emoji_slight_smile:
Yes it was cobble. But doesn't work unless on grow of tree event was removed :/. Weird xD.
 
Status
Not open for further replies.