Strange Comparison Method Violation in [1.4.1.8]
Posted: Sun Dec 03, 2017 8:23 pm
Hello. I've been using MapTool for a long time, but this one is a first for me;
In a particular campaign I've been working on I've begun running into the "Comparison method violates its general contract!" error that seemingly has a chance to begin once I use any macro I currently have that contains a foreach loop. (Most of them specifically pulling from the initiative list)
Once it happens once, usually as an error in the chatbox, it happens more and more frequently until I can no longer even click buttons in dialogue boxes without it popping up.
However, I've picked apart the code and found no specific bit causes it in fact, although when I say, reload a save to experiment again, it will occur in a (maybe) consistent set of spots, it will happen in new spots all of the way down until I just have a single function or whatever left before it doesn't seem to happen anymore.
I haven't tried messing around with foreach again elsewhere yet, but is this a known issue?
In a particular campaign I've been working on I've begun running into the "Comparison method violates its general contract!" error that seemingly has a chance to begin once I use any macro I currently have that contains a foreach loop. (Most of them specifically pulling from the initiative list)
Once it happens once, usually as an error in the chatbox, it happens more and more frequently until I can no longer even click buttons in dialogue boxes without it popping up.
However, I've picked apart the code and found no specific bit causes it in fact, although when I say, reload a save to experiment again, it will occur in a (maybe) consistent set of spots, it will happen in new spots all of the way down until I just have a single function or whatever left before it doesn't seem to happen anymore.
I haven't tried messing around with foreach again elsewhere yet, but is this a known issue?