Skip to content
Success

Changes

Summary

  1. Improve how custom items work as ingredients in custom recipes (commit: 28e584e) (details)
  2. Fix silly mistake in Create command (commit: 853c34d) (details)
  3. Prevent logical errors in IF command, fixes #515 (commit: 597b534) (details)
  4. Prevent accidental tag alternatives (commit: bb92bf0) (details)
  5. Prevent lists misreading the tag-alt escaping (commit: 7571417) (details)
  6. Improve debugging (Exceptions...) (commit: 668ee64) (details)
  7. Record exceptions (commit: 29f4bc1) (details)
  8. Add <entity.velocity> and <location.vector_length> (commit: d77f552) (details)
  9. Fix 'matches integer' comparable (commit: 1251c4a) (details)
  10. Minimize element.substring errors + fix math (commit: b4ccaae) (details)
  11. Add to the command registry (commit: 1c8c73d) (details)
Commit 28e584e12cd9f2c1ed526981c1e0a4063d58afe5 by craftalotonline
Improve how custom items work as ingredients in custom recipes
(commit: 28e584e)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/ItemScriptContainer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/ItemScriptHelper.java (diff)
Commit 853c34d373984a6624a53915698ec89bdd980bc7 by morphanone
Fix silly mistake in Create command
(commit: 853c34d)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/npc/CreateCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/world/CreateWorldCommand.java (diff)
Commit 597b5349f519a333c1c99507acd83b50493b586f by mcmonkey4eva
Prevent logical errors in IF command, fixes #515

- a double compared to not-a-double should not pass (Always fail that)
[for #515 ]
... idea for future: Certain doubles could return true (EG, 1 or higher
passes, below 1 fails?)
- also prevent list arguments like "li@3||2" from becoming "li@3OR2" by
only changing bridges and comparisonoperators when actually needed.
[Related to #519 ]
(commit: 597b534)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/Comparable.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/IfCommand.java (diff)
Commit bb92bf063e5f6a79fd596943e7260b6db9bdcc22 by mcmonkey4eva
Prevent accidental tag alternatives

if you flag global 'potato' to 'li@3||x', then use
'<<global.flag[potato]>>', it would show 'x' because '||' looks like an
alternative.
This will prevent that issue and make that tag return 'li@3||x' as it
should.
[For #519 ]
(commit: bb92bf0)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/TagManager.java (diff)
Commit 75714173a99025616bc92785eb6ea49e9d9d47b3 by mcmonkey4eva
Prevent lists misreading the tag-alt escaping

From the previous commit, <<global.flag[potato]>.get[3]> wouldn't work
because dList didn't know about the escape symbol. This corrects that.

... I'd like to take a moment to thank the creators of ASCII for
providing all these useful control symbols.
(commit: 7571417)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dList.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/TagManager.java (diff)
Commit 668ee64f9665e01e6ecafcd179b1c5038215f619 by mcmonkey4eva
Improve debugging (Exceptions...)

- 'Filled tag x with y' will now watch out for tag escape symbols and
display them correctly.
- add dB.log(DebugElement) to replicate the echoDebug's similar
functionality
- change all 'exception.printStackTraces' to call a dB function that
manages it correctly and singularly.
(commit: 668ee64)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dEntity.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/ScriptRepo.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/Denizen.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/requirements/RequirementChecker.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/npc/PauseCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/triggers/core/ChatTrigger.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/debugging/dB.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/InventoryScriptContainer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/events/EventManager.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/debugging/DebugSubmit.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/YamlCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/requirements/RequirementRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandExecuter.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/TagManager.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/NoteCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/ZapCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/PropertyParser.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/queues/ScriptEngine.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/InteractScriptHelper.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/IfCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/Utilities.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/ScriptRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/listeners/AbstractListenerType.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/ForEachCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/ItemScriptContainer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/ScriptBuilder.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/player/ListenCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/listeners/ListenerRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/ScriptHelper.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dList.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/triggers/TriggerRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/midi/MidiUtil.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/EntityScriptContainer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/ObjectFetcher.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/RepeatCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/RuntimeCompiler.java (diff)
Commit 29f4bc1b41bb2ef548f795a0bb63b2f9d46af20a by mcmonkey4eva
Record exceptions

Exceptions will now be included in 'denizen debug -r' logs.
(commit: 29f4bc1)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/debugging/dB.java (diff)
Commit d77f55232b7b0357bfabd61e737746c855d72fd5 by mcmonkey4eva
Add <entity.velocity> and <location.vector_length>

- <entity.velocity> for the movement velocity of entities. Not so great
with players.
- <location.vector_length> for more location/vector mathematics.
(commit: d77f552)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dEntity.java (diff)
Commit 1251c4a3c190811a7bb8519ffff8a684775d783a by mcmonkey4eva
Fix 'matches integer' comparable

Integers and doubles are different: Keep them separate (Until
mathematical comparison)!
Before this fix, 'if 3 matches integer' would fail because it reads '3'
as '3.0'
(commit: 1251c4a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/Comparable.java (diff)
Commit b4ccaaef7af488ee9ccc15c28b9dcbfd4d1763e0 by mcmonkey4eva
Minimize element.substring errors + fix math

This will prevent stacktraces / failure to run if substrings are used
with really *really* wrong input indexes. (There are situations where it
can happen out of the scripters control, can't blame them)
It also corrects the counting of the end index (the character at
endIndex is not included in Java)... it should be in dScript. This way
substring[1,1] returns one letter rather than nothing at all. This is
generally what people logically expect to occur, though there may be
trouble with 'endIndex - startIndex' not being equal to the returned
length... anyone who gets that far in a calculation can figure out to
add 1.
(commit: b4ccaae)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
Commit 1c8c73d9526c8b116eafb76307e38e30ff3376c7 by mcmonkey4eva
Add to the command registry

Just some more information for the commandRegistry, we really need to
get more documentation set up!
(commit: 1c8c73d)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)