|
Pages: [1]
|
 |
|
Author
|
Topic: A bug with copying (Read 3593 times)
|
|
krajzega
|
Found a reproducible bug in Rubicon - at least its easily reproducible on my system: - press SHIFT and mark a part of the level, from top row to bottom row. - press C Tada! ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 31 at rubicon.keyPressed(rubicon.java:495) at processing.core.PApplet.handleKeyEvent(PApplet.java:1698) at processing.core.PApplet.dequeueKeyEvents(PApplet.java:1674) at processing.core.PApplet.handleDisplay(PApplet.java:1366) at processing.core.PGraphics.requestDisplay(PGraphics.java:535) at processing.core.PApplet.run(PApplet.java:1152) at java.lang.Thread.run(Unknown Source) java.lang.ArrayIndexOutOfBoundsException: 31 at rubicon.keyPressed(rubicon.java:495) at processing.core.PApplet.handleKeyEvent(PApplet.java:1698) at processing.core.PApplet.dequeueKeyEvents(PApplet.java:1674) at processing.core.PApplet.handleDisplay(PApplet.java:1366) at processing.core.PGraphics.requestDisplay(PGraphics.java:535) at processing.core.PApplet.run(PApplet.java:1152) at java.lang.Thread.run(Unknown Source)
Looks like you are going one index to far when trying to copy?
|
|
|
|
|
Logged
|
|
|
|
|
Kevan
|
Thanks, I thought I'd tested all permutations of this, but must have missed that one. It's now fixed, and I added a red border to the pasted rectangle, while I was there.
|
|
|
|
|
Logged
|
|
|
|
|
sluutthefeared
|
Found another bug. If you make a selection beginning with the first column you can't copy the selected area.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Lazyone
|
I have noticed that when you copy some of the items are not copied and moved it will leave things that were to be copied over there
|
|
|
|
|
Logged
|
|
|
|
|
Kevan
|
I have no idea what that sentence is trying to say. Can you build an example?
|
|
|
|
|
Logged
|
|
|
|
|
Djonn
|
I think I know what Lazyone means, as I have this problem a lot. When copying/pasting inside a level (i.e. not starting from scratch, but still in the sandbox), when you paste over existing stuff the result is quite unpredictable, as some of the existing values are overwritten (as expected), whereas others are left unchanged. In the same way, when deleting, not everything is deleted.
|
|
|
|
|
Logged
|
|
|
|
|
Kevan
|
Oh, sorry, I was confusing myself by reading it as in-game copiers, rather than the copy-and-paste functionality, should have read the thread in context.
It looks like it's a problem with the blue-shaded "locked" squares, which are staying locked even in sandbox mode. I'll take a look into it later tonight when I've got a moment. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
Bucky
|
I ran into the same problem.
|
|
|
|
|
Logged
|
That is the most ingenious method of solving an impossible puzzle that I have ever seen.
|
|
|
|
Kevan
|
Fixed in v1.20.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |