#(aken1012) Help
22 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
crackshot:
type: world
debug: false
events:
on crackshot player starts reloading weapon:
- if <crackshot.weapon[akm]> true:
- playsound <player> sound:ammo_pickup custom
- if a script isnt working, certainly dont put
debug: false. debugging is an important step into figuring out why things dont work
- the
truethere in the if line is completely not needed
- if its still not working
!debug
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
Filled tag <crackshot.weapon[AKM]> with 'i@stone_hoe[display = ╨Р╨Ъ╨Ь тЦл ┬л0┬╗; lore = li@╨Ъ╨░╨╗╨╕╨▒╤А: 7 62 ╨╝╨╝|╨Э╨░╤А╨╡╨╖╨╜╨╛╨╣ ╤Б╤В╨▓╨╛╨╗|╨Ь╨░╤Б╤Б╨░: 3,8 ╨║╨│|]'.
[[17:55:09] [Server thread/INFO]: ERROR in script 'crack shot' in queue 'CRACKSHOT_347_Tune Recruiting' while executing command 'IF' in file '\scripts\CrackShotCustomSounds.dsc' on line '6' with player 'Aken'!
[17:55:09] [Server thread/INFO]: Error Message: Invalid if comparison boolean 'i@stone_hoe[display=╨Р╨Ъ╨Ь тЦл ┬л0┬╗;lore=li@╨Ъ╨░╨╗╨╕╨▒╤А: 7 62 ╨╝╨╝|╨Э╨░╤А╨╡╨╖╨╜╨╛╨╣ ╤Б╤В╨▓╨╛╨╗|╨Ь╨░╤Б╤Б╨░: 3,8 ╨║╨│|]' - defaulting to false.
I have returned everything back and I have no errors in the console, I have enabled the debug
crackshot:
type: world
debug: true
events:
on crackshot player starts reloading weapon:
- if <crackshot.weapon[AKM]> true:
- playsound <player.location> sound:entity_armor_stand_break volume:1
- else:
- playsound <player.location> sound:entity_villager_no
I entered everything correctly, gave myself an AKM. But for some reason he does not see that it is a Kalashnikov assault rifle.
uh
... yeah, so, your debug will have content like that
follow the instructions above and we'll look at that, not your copypasta
ok
Content of Server Log Paste #121164: Denizen Debug Logs From A Minecraft Server... pasted 2024/03/20 06:06:17 UTC-07:00, Paste length: 2495 characters across 29 lines, Content: Java Version: 16.0.2Up-time: 13m
@errant vale cracked @amber crypt
Role applied.
Thread created: #1219997637130846259
Thread closed as invalid.
Thread was manually reopened by @rancid thistle.