Rubicon Forum
Welcome, Guest. Please login or register.
March 13, 2010, 09:59:07 PM

Login with username, password and session length
Search:     Advanced search
Forum users can use the crate icon (or [level] and [/level] tags) when writing a post, to make a direct link to a level.
4396 Posts in 211 Topics by 2414 Members
Latest Member: Cubeinman
* Home Help Search Login Register
+  Rubicon Forum
|-+  General
| |-+  Support (Moderator: Bucky)
| | |-+  A bug with copying
« previous next »
Pages: [1] Print
Author Topic: A bug with copying  (Read 3593 times)
krajzega
Operator
**
Posts: 11


View Profile
A bug with copying
« on: October 13, 2006, 10:59:47 PM »

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:

Code:
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
Administrator
Designer
*****
Posts: 84


View Profile WWW Email
Re: A bug with copying
« Reply #1 on: October 14, 2006, 10:13:54 AM »

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
Designer
***
Posts: 74


View Profile Email
Re: A bug with copying
« Reply #2 on: October 15, 2006, 09:57:00 PM »

Found another bug.
If you make a selection beginning with the first column you can't copy the selected area.
Logged
Kevan
Administrator
Designer
*****
Posts: 84


View Profile WWW Email
Re: A bug with copying
« Reply #3 on: October 15, 2006, 11:23:36 PM »

Fixed.
Logged
Lazyone
Engineer
****
Posts: 112


View Profile
Re: A bug with copying
« Reply #4 on: November 07, 2006, 08:04:32 AM »

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
Administrator
Designer
*****
Posts: 84


View Profile WWW Email
Re: A bug with copying
« Reply #5 on: November 07, 2006, 05:39:31 PM »

I have no idea what that sentence is trying to say. Can you build an example?
Logged
Djonn
Operator
**
Posts: 12


View Profile
Re: A bug with copying
« Reply #6 on: November 07, 2006, 06:21:23 PM »

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
Administrator
Designer
*****
Posts: 84


View Profile WWW Email
Re: A bug with copying
« Reply #7 on: November 07, 2006, 06:38:31 PM »

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
Moderator
Director
*****
Posts: 311


View Profile
Re: A bug with copying
« Reply #8 on: November 08, 2006, 04:57:58 AM »

I ran into the same problem.
Logged

That is the most ingenious method of solving an impossible puzzle that I have ever seen.
Kevan
Administrator
Designer
*****
Posts: 84


View Profile WWW Email
Re: A bug with copying
« Reply #9 on: November 08, 2006, 11:59:01 AM »

Fixed in v1.20.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Rubicon Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!