#(Tema159) Invalid event
88 messages · Page 1 of 1 (latest)
(Tema159) Invalid event
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
yes, post full script. i'll also add that event lines do NOT accept tags in them, in case that's what you're trying to do
will reiterate also;
special_data:[hit].block_material> will never be valid
of course as mentioned, paste the script and debug where possible
The problem with this script has already been created, and I would like to bring this script back to normal. This script allows you to add a full-fledged ball to the game.
Please paste it
!paste
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Content of Denizen Script Paste #109655: Physics ball... pasted 2023/05/10 00:30:39 UTC-07:00, Paste length: 19372 characters across 437 lines, Content: ballarmorstand: type: entity
help?
Did you mean to search for common mistakes - don't type raw object notation?
View the guide page 'Common Mistakes - Don't Type Raw Object Notation' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-type-raw-object-notation
You've got some weird spacing going on, not sure how denizen will like that. Example being line 148.
I'm not sure how valid Line 6 is, I'd have to wait for a helper to give input.
This is not my script, I just want to get the script up and running for the server.
Then who's script is it?
Generally, it is a script of one server. Here is their video: https://www.youtube.com/shorts/LRnzuep6qhI
But someone somehow managed to take this script, only with errors. The script with this problem has already been left, only the problem was not analyzed due to the fact that the creator of the ticket had a hacked client. For the sake of this ball, I began to be interested in the mechanics of this plugin in order to fix all the shortcomings of the script. By writing the query "ball" in the search - you can find this ticket (there is also a video attached there)
Ссылка на сервер - https://taplink.cc/denophine.jar
- Этим видео мы не хотели никого обидеть или оскорбить
have you asked either the original developer or the following developer to resolve the issue?
oh wow
this script actually uses decent looking physics?
The original developer would have simply ignored me because this is a script they wrote exclusively for their server.
how did you obtain it otherwise?
or were they willing to share it without support?
The script was attached to the ticket of a person with the nickname "UkraineDream". To be honest, I don't know where the person got this script.
i'll run you through a number of changes you can make to the script, but you're likely going to need to make an extensive effort to learn enough Denizen to correct the rest of it
ctrl+f these lines i suggest and replace them with the suggestions i make:
thanks levelsbot
replace: - if <player.item_in_hand.material> == m@feather:
with: - if <player.item_in_hand> matches feather:
repalce: - if <player.has_flag[balled].not> && <context.entity.location.below[0.05].material> != m@air && <server.has_flag[oneplayer].not>: - flag <player> balled
with: - if !<player.has_flag[balled]> && <context.entity.location.below[0.05]> !matches air && !<server.has_flag[oneplayer]>: - flag <player> balled
all of these prefixed with m@:, just remove m@
Oh, thanks a lot for your help. The plugin sends errors about the wrong position of the object
these changes will reduce the number of unrelated errors to your problem to make it easier to debug and resolve the actual problems
in a metaphorical example, it's like you spilled salt in your pile of pepper, and separating the salt and pepper is a difficult and meaningless task
replace if <[ball].location.above[0.1].material> == m@air
with: if <[ball].location.above[0.1]> !matches air
its also strange you have tags like armor_pose_map with so many other weird errors, that's not exactly old i dont think
Are you sure that's right? doesn't that flip the condition?
heck, you're right on that one, my bad
replace if <[ball].location.above[0.1].material> == m@air
with: if <[ball].location.above[0.1]> matches air
im hoping i can find time to debug this script later tonight, because it looks really cool and id like to see it work well
ill have more modifications for you later if i find time
try debugging this script specifically and others can help in the meantime:
!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!
I still have a night ahead, so you still have a lot of time
We are not here to write scripts for you; that's on you.
As others have mentioned already, we can help you with specific questions, but you are going to have to make an effort in to learning Denizen. A good place to start would be the Denizen guide.
!guide
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
[10:21:58 INFO]: ERROR in script 'updateball' in queue 'UPDATEBALL_92_StartedPatrick' while executing command 'PLAYEFFECT' in file '\scripts\ball.dsc' on line '379'!
Error Message: Tag <[hit].block_material> is invalid! ... Enable debug on the script for more information.
[10:21:58 INFO]: Additional Error Info: Unfilled or unrecognized sub-tag(s) 'block_material' for tag <[hit].block_material>!
[10:21:58 INFO]: Additional Error Info: The returned value from initial tag fragment '[hit]' was: 'l@3422,162,-732,-90,0,XmineRP'.
[10:21:58 INFO]: Additional Error Info: Woah! An exception has been called with this command!
[10:21:58 INFO]: Additional Error Info: Internal exception was thrown!```
How to fix this event?
Posting console snipping is not helpful. If you want help us help you, then post a debug, or your latest.log file.
!help debug logs
help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)
logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity
command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs
!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!
!logs
Please post your full latest log file.
Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).
How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.
Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.
@lime arch
(you can use the !info command to pull these up)
When I turn on debugging - the console is completely clogged with messages
It does not matter if there is 1, or 1000 error messages in there; we ask you to provide a debug so we have a better understanding of your server, your console output, which has been color coded making it easier to read.
@lime arch
Having said that, as others and myself have pointed out, you'll be asked to learn the basics of Denizen, so you can learn to code, and debug these errors yourself.
You can always make a thread if you are stuck on something, and need help/assistance; we are happy to help you, but do understand that we are in a helping capacity, and that if you'd rather outsource your troubleshooting because you'd rather not learn Denizen, you could consider hiring someone via #1023545298640982056
Content of Server Log Paste #109684: Log... pasted 2023/05/11 02:22:48 UTC-07:00, Paste length: 58039 characters across 519 lines, Content: WARNING: Using incubator modules: jdk.incubator.vectorStarting org.bukkit.craftbukkit.Main
@hot moss cracked 693170449689083955
Role applied.
Thread created: #1106158058012418138
Thread closed as invalid.
Thread was manually reopened by @turbid jungle.
@ashen stirrup ?
accidentally sent