Jump to content

Pancake123

Member
  • Posts

    34
  • Joined

  • Last visited

Posts posted by Pancake123

  1. On 12/20/2022 at 2:59 AM, SBV3 said:

    This is not to do with skript this is the console rendering all of your addons. Maybe some of them are outdated

    How do I check if the plugins are outdated and how would I update them?

  2. I have no idea why. It just started doing it a while ago. Heres what console did. I think it might be something with skript but idk.

     

     

    [21:41:14 ERROR]: 	Stack:
    [21:41:14 ERROR]: 		Skript.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:158)
    [21:41:14 ERROR]: 		Skript.jar//ch.njol.skript.conditions.base.PropertyCondition.check(PropertyCondition.java:133)
    [21:41:14 ERROR]: 		Skript.jar//ch.njol.skript.sections.SecWhile.walk(SecWhile.java:72)
    [21:41:14 ERROR]: 		Skript.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    [21:41:14 ERROR]: 		Skript.jar//ch.njol.skript.effects.Delay$1.run(Delay.java:109)
    [21:41:14 ERROR]: 		app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
    [21:41:14 ERROR]: 		app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
    [21:41:14 ERROR]: 		app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567)
    [21:41:14 ERROR]: 		app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490)
    [21:41:14 ERROR]: 		app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483)
    [21:41:14 ERROR]: 		app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282)
    [21:41:14 ERROR]: 		app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
    [21:41:14 ERROR]: 		app//net.minecraft.server.MinecraftServer$$Lambda$3654/0x00000008013d08d0.run(Unknown Source)
    [21:41:14 ERROR]: 		java.base@17.0.1/java.lang.Thread.run(Thread.java:833)
    [21:41:14 ERROR]: ------------------------------
    [21:41:14 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    [21:41:14 ERROR]: ------------------------------
    [21:41:19 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-411 (MC: 1.17.1) ---
    [21:41:19 ERROR]: The server has not responded for 25 seconds! Creating thread dump
    [21:41:19 ERROR]: ------------------------------
    [21:41:19 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    [21:41:19 ERROR]: ------------------------------
    [21:41:19 ERROR]: Current Thread: Server thread
    [21:41:19 ERROR]: 	PID: 20 | Suspended: false | Native: false | State: RUNNABLE
    [21:41:19 ERROR]: 	Stack:
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.expressions.base.EventValueExpression.get(EventValueExpression.java:85)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.expressions.ExprEntity.get(ExprEntity.java:112)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.expressions.ExprEntity.get(ExprEntity.java:47)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:158)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.conditions.base.PropertyCondition.check(PropertyCondition.java:133)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.sections.SecWhile.walk(SecWhile.java:72)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    [21:41:19 ERROR]: 		Skript.jar//ch.njol.skript.effects.Delay$1.run(Delay.java:109)
    [21:41:19 ERROR]: 		app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
    [21:41:19 ERROR]: 		app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
    [21:41:19 ERROR]: 		app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567)
    [21:41:19 ERROR]: 		app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490)
    [21:41:19 ERROR]: 		app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483)
    [21:41:19 ERROR]: 		app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282)
    [21:41:19 ERROR]: 		app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
    [21:41:19 ERROR]: 		app//net.minecraft.server.MinecraftServer$$Lambda$3654/0x00000008013d08d0.run(Unknown Source)
    [21:41:19 ERROR]: 		java.base@17.0.1/java.lang.Thread.run(Thread.java:833)
    [21:41:19 ERROR]: ------------------------------
    [21:41:19 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    [21:41:19 ERROR]: ------------------------------
    [21:41:24 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-411 (MC: 1.17.1) ---
    [21:41:24 ERROR]: The server has not responded for 30 seconds! Creating thread dump
    [21:41:24 ERROR]: ------------------------------
    [21:41:24 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    [21:41:24 ERROR]: ------------------------------
    [21:41:24 ERROR]: Current Thread: Server thread
    [21:41:24 ERROR]: 	PID: 20 | Suspended: false | Native: false | State: RUNNABLE
    [21:41:24 ERROR]: 	Stack:
    [21:41:24 ERROR]: 		Skript.jar//ch.njol.skript.conditions.CondHasMetadata$$Lambda$7209/0x00000008021be0e0.check(Unknown Source)
    [21:41:24 ERROR]: 		Skript.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:170)
    [21:41:24 ERROR]: 		Skript.jar//ch.njol.skript.lang.VariableString.check(VariableString.java:611)
    [21:41:24 ERROR]: 		Skript.jar//ch.njol.skript.conditions.CondHasMetadata.lambda$check$0(CondHasMetadata.java:65)
  3. 33 minutes ago, ES63 said:
    #if you want a victim to be a certain mob do
    
    if victim is (mob):

     

    How does that have anything to do with what I said. I said why what you said wouldn't work. I'm pretty sure that does nothing more than the command you said to use. 

     

  4. 19 hours ago, ES63 said:
    execute console command "effect give @e[type=(mob of your choice)] (effect) (time) (power)"

     

    that just wont work. That will make every mob with that type have the effect. Using %victim% wont work and @ename= wont work either because the name of the mob im using is 2 words.

  5. 21 hours ago, ES63 said:

    If it says you cant change the walkspeed of an entity besides a player, then you cant.

    Unless you give them the speed effect using something like

    execute console command "effect give %player% (effect) (time) (power)"

     

    I never said you cant change the walk speed of an entity besides a player. It says that no where. You cant do it with the walkspeed effect. I assume there is another way besides just giving them a potion effect. Im wondering what that way is.

  6. I don't have any addons. I have tried looking it up. I am having trouble changing the walk speed of a non-player. I want to increase the walk speed of a zombie but it does not work. After googling I learned that walk speed is only applicable to players. How would I change the movement speed of a non-player entity?

  7. my code is:

     

    command /sethealth:
        permission: group.op
        trigger:
            set player's max health to 10
    on damage:
        if victim is a player:
            wait 1 ticks
            set {health2.%victim%} to victim's health
            wait 1 ticks
            set max health of victim to {health2.%victim%}

    command /healthtest:
        trigger:
            send "Your 2nd health is %{health2.%player%}%"

    The first command just brings my max health back to 10 (un tested because my max health so far stays at 10) The seconds part sets health2 to my health (which works) then sets my max health to health2 (which wont work) The second command checks if setting health2 to my current health works (which it does) The question is why will it not set my max health set to health2. I have tried using parsed as a number. I have no skript addons and I dont have any errors in console or when reloading.

  8. 19 hours ago, enalecks said:

    It says 'Error: Player not found.'

    what do you want this to do? Im pretty sure its detecting when an entity spawns  which means there would be no player. If its supposed to do it on player spawn do on respawn: instead of on spawn

  9. I made an armor skript so when people attack you it spawns a bat. It should only happen when wearing a leather piece of armor named something but happens with any piece of armor. Here is some test code with the same issue. Please help. It gives no errors. I just realized when they are wearing named that thing, it doesn't work. I don't know why its doing it in reverse.

     

    on damage:
        if victim is wearing netherite helmet named "&3Test":
            damage attacker by 2

  10. 20 hours ago, Dannydino6 said:

    maybe try
     

    if name of event-itemtype contains "&aGlue":

     

    I haven't fully tested that but that most likely works but probably not for the reason you think. I did some testing and for some reason the &o&a made it not work. I didn't think that was an issue because it changes nothing and it works for other code. For some reason for on consume it doesn't. I did get it to work however so that nice.

  11. On 11/18/2022 at 9:18 PM, Checkmate128 said:

    I want to do debugging and see which section is not working. Use this code:

    on consume of honey bottle:
        broadcast "item type check passed"
        if name of event-item is "&o&aGlue Bottle":
            broadcast "item name check passed"
            effect player with nausea

    Let me know what is outputted into chat when you apply my provided skript and drink the appropriately named honey bottle.

    It gave me item type check passed. It did not do the other thing

     

  12. 19 hours ago, Checkmate128 said:

    I'm pretty sure it is supposed to be "event-item" and not "item-event"

    Nvm it doesn't give any errors anymore but it doesn't work, the rest of the code works if I remove the if thing but now it works for all honey bottle.

     

     

  13. I have two things im working on and both have the same issue "Skript cant compare "thing" to "thing". I don't understand why this happens. I use almost the same code for other things and it works but for these it doesn't. There's isn't enough info on google so please help. How do I solve this

    The code if you want it:

    on consume of honey bottle:
        name of item-event is "&o&aGlue Bottle":
            effect player with nausea 

    The other code:

    on damage:
        attacker is a zombie named "&4Damaging Zombie":
            damage victim by 4

  14. I tried both of those things and neither worked. Gave me the same error. I found alot of issues like this online but none of those solutions work in this context or at least I cant figure that out. I have tried so many variations of the code but it gives the same error or just that it isn't real code.

  15. on damage:
        if attacker is a zombie named "&4Damaging Zombie":
            increase damage by 4

        this is my code. I have had this issue before and it randomly was fixed. I have looked it up and all of the solutions are in a diffrent context so I cant figure out how to get this to work. It keeps saying "Cant compare entity with 'a zombie named "&4Damaging Zombie"'

×
×
  • Create New...