Closed ryguy222 closed 11 years ago
Well as soon as I started reading your chat trigger script I instantly saw two things wrong: You spelled trigger wrong "click tirgger:" and you never actually enabled the click trigger. You only toggled the chat trigger, not the click one.
Also, the syntax for writing custom books has also been changed. Please see the handbook for the new updates: https://docs.google.com/document/d/1ed3VvdcPNJxhm-YfhGVG6pTWPrC8Oj3pYhAhqvqkPdg/edit#
Change those and see if it helps. :)
That wasn't in my actual script I just rewrote it quickly as demonstrative purposes, here is the actual script --> http://pastebin.com/nmc9MAZ7
On the script itself, do I need to use "on click" or "click trigger" or do either work?
Also I looked at the one small section the handbook talks about books and don't see anything different with my syntax. I also don't see anything about the scribe command.
Thanks for the quick reply.
Try this version:
It works fine now, but what did you change? As I'm having the same issue on my other scripts.
Open the two pages below in separate tabs and switch between them to see the difference.
Original: http://pastebin.com/raw.php?i=nmc9MAZ7 Modified: http://pastebin.com/raw.php?i=N44hRXvK
Basically I added: 1) - trigger name:proximity toggle:true 2) proximity trigger: entry: 3) Changed 'Quest' to: click trigger: script:
Use the new example as a template to build your new scripts.
If you are finished with questions, please click on the "Close" button bottom right to close this job.
mythan, thanks for you help. Closing this... please join #denizen-dev if you have additional questions. Thanks for the report!
I haven't used denizens since 0.6 so I'm sure there could be a problem in my script that is causing this, but I'm not getting any debug issues, and everything looks ok.
Here is my script --> http://pastebin.com/0350bwTM
It's just an NPC at the spawn welcoming players and giving them a book to take to another NPC. I don't care if it's proximity tigerred or click triggered at this point, but neither methods work, proximity nor click trigger.
Again no debug errors when I load the scripts in, and no startup errors. I saw that disabling permissions bukkit would be helpful but this is a server we are still building up, so it doesn't have ANY permissions other than OPS etc. (I also tried de-opping myself to see if that would work)
That said here's the errors I get with proximity --> http://pastebin.com/0350bwTM
Here is my click trigger script --> http://pastebin.com/4mrzjEPt
And here's the error I get with the click trigger --> http://pastebin.com/tndjHTUc
The big error I keep seeing is --> SEVERE Could not pass event NPCRightClickEvent to Denizen v0.8-prerelease
which usually means something is out of date. I updated Denizens to denizen-0.8.8-PRERELEASE (the one on Dev bukkit that was updated a few days ago) and still I get the same error.
I first was using a Craftbukkit dev build from last week, so I updated it to today's dev build #2744. Same error. Eventually I want the server to run with Spigot so I got the latest stable build of Spigot and still continue to have the same error. I'm guessing there's a problem in the plugin, or a problem on my script, as this occurs with all of my scripts.
Thanks!