Kuribo64
Views: 10,232,242 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
12-16-19 05:00 AM
Guest:

0 users reading Xane's Whitehole problems/errors | 1 bot

Main - Archived forums - SMG hacking tools development - Xane's Whitehole problems/errors New reply

Pages: 1 2
Xane123
Posted on 10-26-12 01:03 PM (rev. 3 of 10-26-12 10:30 PM) Link | #1078
EDIT: OK, new error:

Error while reading string
java.io.IOException: Error while reading string
at whitehole.fileio.MemoryFile.readString(MemoryFile.java:156)
at whitehole.smg.Bcsv.<init>(Bcsv.java:91)
at whitehole.smg.ZoneArchive.saveObjectList(ZoneArchive.java:164)
at whitehole.smg.ZoneArchive.saveObjects(ZoneArchive.java:129)
at whitehole.smg.ZoneArchive.save(ZoneArchive.java:94)
at whitehole.GalaxyEditorForm.btnSaveActionPerformed(GalaxyEditorForm.java:786)
at whitehole.GalaxyEditorForm.access$300(GalaxyEditorForm.java:39)
at whitehole.GalaxyEditorForm$4.actionPerformed(GalaxyEditorForm.java:317)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Here's what I did:

I opened Good Egg Galaxy, saved once, changed the starting planet to the planet named FlowerRoadPlanet, moved it so that the Octoombas were behind the platform on the planet, and when I saved, the errors started appearing. I don't know what's going on. I didn't move any objects except the planet, and I didn't change any zone/layers.

Here's a picture of what I see in the editor right now (what it should look like):


[image]
Also, restarting it and opening the galaxy makes this error appear, very similar to the Java error seen above. Not sure what "(Unknown Source)" means.

Error while reading string
java.io.IOException: Error while reading string
at whitehole.fileio.MemoryFile.readString(MemoryFile.java:156)
at whitehole.smg.Bcsv.<init>(Bcsv.java:91)
at whitehole.smg.ZoneArchive.addObjectsToList(ZoneArchive.java:141)
at whitehole.smg.ZoneArchive.loadObjects(ZoneArchive.java:122)
at whitehole.smg.ZoneArchive.loadZone(ZoneArchive.java:111)
at whitehole.smg.ZoneArchive.<init>(ZoneArchive.java:55)
at whitehole.smg.GalaxyArchive.openZone(GalaxyArchive.java:59)
at whitehole.GalaxyEditorForm.loadZone(GalaxyEditorForm.java:220)
at whitehole.GalaxyEditorForm.<init>(GalaxyEditorForm.java:63)
at whitehole.MainFrame.openGalaxy(MainFrame.java:271)
at whitehole.MainFrame.btnOpenGalaxyActionPerformed(MainFrame.java:284)
at whitehole.MainFrame.access$200(MainFrame.java:29)
at whitehole.MainFrame$3.actionPerformed(MainFrame.java:92)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Also, it says "doPrivileged" and stuff, so that's what made me think to use Administrator privileges. I'm using Administrator privileges to run Whitehole.

EDIT 2: Should I just try changing one object then testing it?

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-27-12 05:28 AM Link | #1089
You don't need admin privileges to run Whitehole. All you need is to make sure that your files aren't read-only.

Also, you should give me your galaxy's edited files, and especially the DiskGardenZone files (/StageData/DiskGardenZone.arc), so that I can investigate closer. It looks like some kind of corruption occured.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-27-12 07:38 PM Link | #1090
Well, I don't have the files that I had the first time errors occurred, but I have the most recent (just the planet movement causing corruption).

DiskGardenZone: http://kuribo64.net/get.php?id=19

Also, should I upload EggStarGalaxy.arc? <_<

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-27-12 07:45 PM (rev. 2 of 10-27-12 07:54 PM) Link | #1091
EggStarGalaxy.arc isn't needed.

Thanks for the files anyway. I think I managed to reproduce the issue, but having your files handy may help me confirm that it was the same issue.

Edit- the issue isn't related to DiskGardenZone. Sorry for not having told you earlier. I reproduced it and it happens in TwinFallLakeZone. But actually, given how it happens and why, it could happen anywhere.

If you want, I can give you technical details about this issue, but for now I'll say that saving works fine for every zone that isn't affected by this issue. Given the random character of this issue, a hotfix will be released very soon.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-27-12 09:59 PM Link | #1093
Posted by Mega-Mario
I reproduced it and it happens in TwinFallLakeZone.

Did you change something in that zone instead of DiskGardenZone?

Also, good you saw the bug yourself. If you make a precompiled release with the bugix,I'll use it and then you'll see a cool galaxy that reuses planets from the game's built-in galaxies.

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-28-12 06:44 AM Link | #1094
Nope. It's just that no matter if you edit the galaxy or not, the bug happens in that zone. And actually it could happen anywhere. It has to do with the way BCSV files are saved.

I released a hotfix that fixes this issue. You can discover it in the downloads page.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-28-12 07:34 PM (rev. 5 of 10-29-12 06:52 PM) Link | #1100
Cool. Downloading. When releasing this hotfix, did you try editing Good Egg Galaxy again? If so, did you get those weird errors? I'll test this when I do more level editing; Can't wait to end up making a good galaxy! (well, it might just be one "scenario" for the sake of simplicity at first)

ERROR: It doesn't look like the others, but it must be something to do with the object arguments or something; I was changing objects' arguments thinking that might've been why the game crashed.

Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at whitehole.GalaxyEditorForm.propPanelPropertyChanged(GalaxyEditorForm.java:1104)
at whitehole.GalaxyEditorForm$2.propertyChanged(GalaxyEditorForm.java:211)
at whitehole.PropertyPanel$2.keyReleased(PropertyPanel.java:147)
at java.awt.Component.processKeyEvent(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
These errors are so annoying; I just want to make a working level for SMG like I do for Doom and did for Super Mario 64...

EDIT 1: Plus, when entering "-1" in the MessageID field, it says an error about "-" not being Integer or something. I can post this insane error too, if you'd like.
EDIT 2: Moved reply under your post.

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-29-12 06:45 PM Link | #1109
You probably entered an invalid hex value for one of the Obj_args.

Either that, or my code sucks more than I thought.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-29-12 06:52 PM Link | #1110
Posted by Mega-Mario
or my code sucks more than I thought.
Well, rendering is good, and moving objects needs work, but it's a good editor, with these bugs fixed.

Posted by Mega-Mario
You probably entered an invalid hex value for one of the Obj_args..
Sometimes, my computer doesn't select the textbox (this is caused by me moving the cursor up and to the right, I think, but that's not a bug in your program. What it does is, for example, instead of 00001388, it might leave in "00000000" while I type and add "00001388" onto it, forming "0000000000001388", which is not a valid argument.

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-29-12 07:04 PM Link | #1111
Oh yeah, invalid values aren't handled very gracefully. This'll get fixed in the next release I guess. The only effects aside from the exception messages is that the invalid value will not be taken into account and the last valid value will be used instead. No need for a hotfix this time.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-29-12 07:14 PM Link | #1112
Good. So, what's your plans for the mouse-wheel replacement for mice that don't have them?

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-29-12 07:40 PM Link | #1113
Keyboard-based camera control.

Or alternatively, fuck prehistoric mouses.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 10-29-12 08:38 PM (rev. 2 of 11-07-12 04:42 PM) Link | #1114
Posted by Mega-Mario
Or alternatively, fuck prehistoric mouses.
I think the mouse controls are still good (except I can't zoom), though. You should leave them in.

EDIT: Removed unnecessary space.

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 10-29-12 09:17 PM Link | #1116
Of course I'll leave them in. The keyboard controls will be an alternative.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 11-07-12 04:48 PM Link | #1185
Posted by Mega-Mario
Of course I'll leave them in.
That's good.
Should I start over in this galaxy and do a simple edit to see if the Wii crashes then?

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 11-07-12 05:06 PM Link | #1186
Yep. Start clean, and test after each little edit. This way you'll know more exactly what causes the crash.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Xane123
Posted on 11-07-12 05:55 PM Link | #1187
Should I just use Dolphin or use a real Wii? I've been using a real Wii with Riivolution, but it's takes a while updating the files and then starting the game. Do I only have to copy the file that is named after the zone I edit?

____________________
Doom II: The Monster Invasion | Doomworld | YouTube | Twitter

Posted by ray
I HATE IT, if you need to register to view soemthing :c THATS CRAP

Arisotura
Posted on 11-08-12 05:45 AM Link | #1190
Posted by Xane123
Do I only have to copy the file that is named after the zone I edit?

Yep.

You can use Dolphin, but I'd rather use a Wii for testing, as Dolphin is more lenient and sometimes will continue running your game fine when it'd have crashed on a Wii.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd
Pages: 1 2

Main - Archived forums - SMG hacking tools development - Xane's Whitehole problems/errors New reply

Page rendered in 0.049 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 233/233, time: 0.035 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.