VariableTriggers

Forum > User Help Docs by Users

Questions with @SETBLOCK and playerheads and area triggers

  • 2 posts
    #1 Sep 25, 2013 at 06:50 UTC - 0 likes

    I'm trying to get Area triggers to function as doors and to update a player head to the player looking at said heads skin but it is offically crashing my client when I walk up to it with the errors

    "Script Error: Trigger: The_World_headloc_Enter Script: Trigger Line 1 - @SETBLOCK wrong number of arguments. Ignoring line and continuing."
    
    [WARNING] Failed to handle packet for s32ialx/<ipaddress>: net.minecraft.server.v1_6_R3.ReportedException: Colliding entity with tile
    net.minecraft.server.v1_6_R3.ReportedException: Colliding entity with tile
            at net.minecraft.server.v1_6_R3.Entity.move(Entity.java:683)
            at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:373)
            at net.minecraft.server.v1_6_R3.Packet10Flying.handle(SourceFile:136)
            at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
            at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
            at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
            at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
            at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
            at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
            at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
            at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
            at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
    Caused by: java.lang.NullPointerException
            at net.minecraft.server.v1_6_R3.Entity.D(Entity.java:734)
            at net.minecraft.server.v1_6_R3.Entity.move(Entity.java:677)
            ... 11 more
    
      1037,63,-46,1042,67,-43:
        Name: headloc
        Enter:
          CoolDown: 0
          Script:
          - '@SETBLOCK 397:1 player:<playername> 1037,65,-44'
        Exit:
          CoolDown: 0
          Script:
          - '@SETBLOCK 397:1 1037,65,-44'
    

    also the door script doesn't seem to work either

      104,62,392,106,62,399:
        Name: cg1
        Enter:
          CoolDown: 0
          Script:
          - '@TOGGLEBLOCK 101:0 105,64,396'
          - '@TOGGLEBLOCK 101:0 104,64,396'
          - '@TOGGLEBLOCK 101:0 106,64,396'
          - '@TOGGLEBLOCK 101:0 105,65,396'
          - '@TOGGLEBLOCK 101:0 106,65,396'
          - '@TOGGLEBLOCK 101:0 104,65,396'
          - '@TOGGLEBLOCK 101:0 104,63,396'
          - '@TOGGLEBLOCK 101:0 105,63,396'
          - '@TOGGLEBLOCK 101:0 106,63,396'
        Exit:
          CoolDown: 0
          Script: []
    

    Yep the crash is for sure caused by Variable Triggers I was unable to reconnect at all.. just me so I deleted my player.dat file and restarted from spawn and everything was fine then I went back to the area trigger location and constant crashes again "Internal Server Error"

    Last edited Sep 26, 2013 by s32ialx

    BFAK:s32ialx,90585775,962e20596a3c305e68675a1eb3338bc1f1152463796e873b573afec4188021bc

    #2 Sep 25, 2013 at 23:07 UTC - 0 likes

    OK so java hung on my VPS and when i restarted the whole vps because even though craftbukkit.jar was stopped... it wouldn't start saying it was still in use but also wouldn't stop saying it wasn't running... so I rebooted my whole vps... no more issues with the script causing a crash. but it still does not work sooo anyone have any tips for these two functions?

  • 2 posts

You must login to post a comment. Don't have an account? Register to get one!