Page 2 of 4 FirstFirst 1234 LastLast
Results 21 to 40 of 66

Thread: A New Area Writer is here!

  1. #21
    Join Date
    Dec 2009
    Posts
    308
    Blog Entries
    56
    Rep Power
    0

    Question lost in the process

    ok, i'm lost. (this is my first time trying to use the program.)

    i don't know how to translate my ideas so that they will work in the program.

    Problem 1) how do i set the room exits?
    problem 2) do i need to set triggers for the current in water rooms? if so, what triggers are appropriate?

    mobs and items

    i'm looking to write an area for lvls 8-15. how many mobs of what level are appropriate throughout the zone. what should the maximum number per room be?

    What are the values of items? (value0 value1 value2 value3 value4) are we talking about damage?

    how do i assign equipment to mobs?

    what i'm trying to do: i want to have a 'fish' mob that leaves no corpse, and carries no items, but drops the item 'fish' which is food, and can be wielded (for 1 blunt damage) or held off hand.

    working on my idea for the Brandywine River...

    also, how do i connect the zone to existing rooms, meaning how do i flag what rooms to which the connection should be...(zone exits)?

  2. #22

    Default

    Quote Originally Posted by Whistler View Post
    ok, i'm lost. (this is my first time trying to use the program.)

    i don't know how to translate my ideas so that they will work in the program.
    Holy crap! lots of questions. some of your questions will be easier to answer online. So look for me on the mud and we can talk there.

    Are you just testing the area editor Thor is working on? I ask because it's not ready yet to be used for area creation. If you're wanting to do an area please read the first section of this thread and we'll go from there.

  3. #23
    Join Date
    Dec 2009
    Posts
    308
    Blog Entries
    56
    Rep Power
    0

    Default

    yeah, downloaded thor's zip file...
    ok, will check link and talk to you in game

  4. #24

    Default

    Version 0.1.6 is here.

    http://kirbyprogramming.railsplaygro...iter-0.1.6.zip

    Also always, to use this:
    • Unzip the file
    • Run: java -jar TFC_Area_Writer.jar

    Changelog:
    Code:
    Version 0.1.6
    NEW FEATURES
        * Poke a mob and it gives details about itself.
        * You can now use the numeric keypad to move around in walk-through mode.
    BUGS
        * Walk-through doesn't scroll after it has too much data.
        * Area Object list didn't populate.
        * Trying to edit an object threw an exception.
        * Things like 3.mob did not work.

  5. #25

    Default

    It's kind of a small change, but I wanted to get it out there as I think it's important. The object values are now mapped so you don't have to know what value0, value1, value2, and value3 are for every object. It's not quite all finished. For some of the values you'll have to look up the spell number, etc...but I plan to fix that as well.

    New version is here:

    http://kirbyprogramming.railsplaygro...iter-0.1.7.zip

    As always, unzip the file then run: java -jar TFC_Area_Writer.jar

    Code:
    Version 0.1.7
    NEW FEATURES
        * Object values are now mapped for each object instead of simply displaying value0, value1, etc...
    BUGS
        * No bugs reported for this version

  6. #26

    Default

    I get this stack trace when pressing the 'New' button in the Edit Rooms window on Vista.


    Code:
    Exception occurred during event dispatching:
    java.lang.NullPointerException
            at tfcareawriter.DlgEditRoom.Load(DlgEditRoom.java:469)
            at tfcareawriter.DlgEditRooms.EditRoom(DlgEditRooms.java:180)
            at tfcareawriter.DlgEditRooms.btnNewRoomActionPerformed(DlgEditRooms.jav
    a:160)
            at tfcareawriter.DlgEditRooms.access$100(DlgEditRooms.java:22)
            at tfcareawriter.DlgEditRooms$2.actionPerformed(DlgEditRooms.java:74)
            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 Sour
    ce)
            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.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at tfcareawriter.DlgEditArea.btnEditRoomsActionPerformed(DlgEditArea.jav
    a:158)
            at tfcareawriter.DlgEditArea.access$300(DlgEditArea.java:13)
            at tfcareawriter.DlgEditArea$4.actionPerformed(DlgEditArea.java:75)
            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 Sour
    ce)
            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.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at tfcareawriter.MainView.btnEditAreaActionPerformed(MainView.java:151)
            at tfcareawriter.MainView.access$200(MainView.java:16)
            at tfcareawriter.MainView$3.actionPerformed(MainView.java:66)
            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 Sour
    ce)
            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.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)

  7. #27

    Default

    Thanks for posting this, Grimace. It's not fixed and will come out with the next version.

  8. #28

    Default

    New version released:

    http://kirbyprogramming.railsplaygro...iter-0.1.8.zip

    Code:
    NEW FEATURES
        * Confirmed area writer works in Windows 7
        * Info displayed about a door if you walk through a closed/locked door
    BUG FIXES
        * Trying to create rooms on a new area threw a null pointer exception
        * Lots of things threw exceptions when using an area with no resets
        * Direction buttons didn't change their text when editing room exits

  9. #29

    Default

    WARNING:
    This editor is still beta! I've had at least one report of it wiping out an area file. I'm still looking into bugs. Please back up your area files and save often!

    New version released:

    http://kirbyprogramming.railsplaygro...iter-0.1.9.zip

    Code:
    Version 0.1.9
    NEW FEATURES
        * Items on the ground now show in walk-through mode.
        * Mobs in walk-through mode now show their worn eq and inventory
        * You can now list shop items in walk-through mode.
    BUG FIXES

  10. #30

    Default

    I get the below exception after I created a mob, filled out all the info with test data and then saved the file. I did this in an existing area.

    <code>Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at tfcareawriter.Reset.toString(Reset.java:100)
    at tfcareawriter.Area.SaveGiveResets(Area.java:1263)
    at tfcareawriter.Area.SaveMobResets(Area.java:1215)
    at tfcareawriter.Area.SaveResets(Area.java:1185)
    at tfcareawriter.Area.Save(Area.java:1060)
    at tfcareawriter.MainView.btnSaveAreaActionPerformed( MainView.java:179)
    at tfcareawriter.MainView.access$300(MainView.java:16 )
    at tfcareawriter.MainView$4.actionPerformed(MainView. java:73)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.jav a:6263)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
    at java.awt.Component.processEvent(Component.java:602 8)
    at java.awt.Container.processEvent(Container.java:204 1)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475 )
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at tfcareawriter.Reset.toString(Reset.java:100)
    at tfcareawriter.Area.SaveGiveResets(Area.java:1263)
    at tfcareawriter.Area.SaveMobResets(Area.java:1215)
    at tfcareawriter.Area.SaveResets(Area.java:1185)
    at tfcareawriter.Area.Save(Area.java:1060)
    at tfcareawriter.MainView.btnSaveAreaActionPerformed( MainView.java:179)
    at tfcareawriter.MainView.access$300(MainView.java:16 )
    at tfcareawriter.MainView$4.actionPerformed(MainView. java:73)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.jav a:6263)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
    at java.awt.Component.processEvent(Component.java:602 8)
    at java.awt.Container.processEvent(Container.java:204 1)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475 )
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at tfcareawriter.Reset.toString(Reset.java:100)
    at tfcareawriter.Area.SaveGiveResets(Area.java:1263)
    at tfcareawriter.Area.SaveMobResets(Area.java:1215)
    at tfcareawriter.Area.SaveResets(Area.java:1185)
    at tfcareawriter.Area.Save(Area.java:1060)
    at tfcareawriter.MainView.btnSaveAreaActionPerformed( MainView.java:179)
    at tfcareawriter.MainView.access$300(MainView.java:16 )
    at tfcareawriter.MainView$4.actionPerformed(MainView. java:73)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.jav a:6263)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
    at java.awt.Component.processEvent(Component.java:602 8)
    at java.awt.Container.processEvent(Container.java:204 1)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475 )
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at tfcareawriter.Reset.toString(Reset.java:100)
    at tfcareawriter.Area.SaveGiveResets(Area.java:1263)
    at tfcareawriter.Area.SaveMobResets(Area.java:1215)
    at tfcareawriter.Area.SaveResets(Area.java:1185)
    at tfcareawriter.Area.Save(Area.java:1060)
    at tfcareawriter.MainView.btnSaveAreaActionPerformed( MainView.java:179)
    at tfcareawriter.MainView.access$300(MainView.java:16 )
    at tfcareawriter.MainView$4.actionPerformed(MainView. java:73)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.jav a:6263)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
    at java.awt.Component.processEvent(Component.java:602 8)
    at java.awt.Container.processEvent(Container.java:204 1)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4630)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2099)
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475 )
    at java.awt.Component.dispatchEvent(Component.java:44 60)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)</code>
    Last edited by Tokugawa; April 16th, 2010 at 07:58 PM.

  11. #31

    Default Ran into another exception

    I edited the mob fields one at a time, then would back out and try and save the file. I was trying to reproduce the exception on save error I saw earlier. When I got to the look description I ran out of memory.

    Code:
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    	at java.awt.image.Raster.createPackedRaster(Raster.java:458)
    	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    	at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:225)
    	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:252)
    	at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:108)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:82)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:93)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:87)
    	at sun.awt.X11.XComponentPeer.createVolatileImage(XComponentPeer.java:863)
    	at java.awt.Component.createVolatileImage(Component.java:3363)
    	at java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:4085)
    	at java.awt.Component$BltBufferStrategy.<init>(Component.java:4030)
    	at java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4283)
    	at java.awt.Component.createBufferStrategy(Component.java:3614)
    	at java.awt.Window.createBufferStrategy(Window.java:3012)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:846)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:797)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:730)
    	at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:506)
    	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:264)
    	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
    	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
    	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    	at java.awt.image.Raster.createPackedRaster(Raster.java:458)
    	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    	at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:225)
    	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:252)
    	at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:108)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:82)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:93)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:87)
    	at sun.awt.X11.XComponentPeer.createVolatileImage(XComponentPeer.java:863)
    	at java.awt.Component.createVolatileImage(Component.java:3363)
    	at java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:4085)
    	at java.awt.Component$BltBufferStrategy.<init>(Component.java:4030)
    	at java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4283)
    	at java.awt.Component.createBufferStrategy(Component.java:3614)
    	at java.awt.Window.createBufferStrategy(Window.java:3012)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:846)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:797)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:730)
    	at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:506)
    	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:264)
    	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
    	at javax.swing.JComponent.paint(JComponent.java:1015)
    	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    	at java.awt.Container.paint(Container.java:1780)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    	at java.awt.image.Raster.createPackedRaster(Raster.java:458)
    	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    	at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:225)
    	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:252)
    	at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:108)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:82)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:93)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:87)
    	at sun.awt.X11.XComponentPeer.createVolatileImage(XComponentPeer.java:863)
    	at java.awt.Component.createVolatileImage(Component.java:3363)
    	at java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:4085)
    	at java.awt.Component$BltBufferStrategy.<init>(Component.java:4030)
    	at java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4283)
    	at java.awt.Component.createBufferStrategy(Component.java:3614)
    	at java.awt.Window.createBufferStrategy(Window.java:3012)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:846)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:797)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:730)
    	at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:506)
    	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:264)
    	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
    	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
    	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    	at java.awt.image.Raster.createPackedRaster(Raster.java:458)
    	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    	at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:225)
    	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:252)
    	at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:108)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:82)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:93)
    	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:87)
    	at sun.awt.X11.XComponentPeer.createVolatileImage(XComponentPeer.java:863)
    	at java.awt.Component.createVolatileImage(Component.java:3363)
    	at java.awt.Component$BltBufferStrategy.createBackBuffers(Component.java:4085)
    	at java.awt.Component$BltBufferStrategy.<init>(Component.java:4030)
    	at java.awt.Component$BltSubRegionBufferStrategy.<init>(Component.java:4283)
    	at java.awt.Component.createBufferStrategy(Component.java:3614)
    	at java.awt.Window.createBufferStrategy(Window.java:3012)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:846)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:797)
    	at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:730)
    	at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:506)
    	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:264)
    	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
    	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
    	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
    	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap space

  12. #32

    Default

    Thanks Tokugawa!

    I reposted version 0.1.9 with the resets exception fixed, I hope. I'm not sure what to think about the GUI exception.

    Thor

  13. #33

    Default

    It's here!!! Version 1.0.0!!

    There is a new link:

    http://kirbyprogramming.railsplaygro...fc/install.jar

    The reason the link changed is because the area writer now has an installer!!!! I've only tested the installer in Windows 7, but it's supposed to work in XP and greater. It should also work in Linux. This will let you add start menu and desktop shortcuts.
    I've set the shortcuts to keep the console open for right now so you can see if you get any uncaught exceptions. I'll leave it this way until I get a logging system put in. Then the console window will go away.

    JRE 1.6 and above are required. In windows you can simply double click on the jar file and it will install. You can probably do the same thing in most of the Linux GUIs, but if not you can run it by:
    Code:
    java -jar install.jar
    in both operating systems.

    I believe I have all the features of Sirak's muditor converted now, but if I'm missing something please feel free to let me know.

    The plan at this point is to start adding improvements including things like:
    • Redesigned UI
    • Built-in spell checker
    • MDI (the ability to open more than one area file at a time)
    • File type association, so you can double click a .ARE file and have the area editor open with it
    • A place to edit to the raw .ARE file without having to use the GUI
    • Buildwalk in walk-through mode create "template" rooms as you walk around
    • Auto-update
    • and more...

    And of course, the obligatory changelog:
    Code:
    Version 1.0.0
    NEW FEATURES
        * There is now an installer!!
    BUG FIXES
        * Mob short descriptions didn't update in the list for new mobs until you edited them a second time

  14. #34

    Default

    WOOHOO! That's awesome. Thanks for all the hard work you have put into this.

    I look forward to the improvements. Those are some good ideas.

  15. #35

    Default

    Awesome work Thor! Guess what? It now is officially Mac friendly
    Lord of the Crimson Sun
    http://lycron.com

  16. #36

    Default

    Thanks everyone for testing this out.

    I'm glad it's finally working on Mac.

  17. #37

    Default

    The next phase of the area writer is here!

    http://kirbyprogramming.railsplaygro...fc/install.jar

    This is a drastic UI change with several bug fixes.

    This is version 1.0.1
    Code:
    NEW FEATURES
        * Tree view!
    BUG FIXES
        * Directions to NoWhere did not work properly
        * The delete button for object applies didn't work at all.
        * The key vnum for doors did not load right which caused a few problems
    A few tips:
    • To Delete a room highlight the room in the tree and press the delete button
    • To Edit things that aren't in the tree view, use the edit menu (I'll get everything in the tree view soon)
    • Anything edited in the tree few is saved to memory automatically, no more Ok/Cancel buttons. When you save, everything is written to disk.
    • You can now use cntrl-s to save!

    P.S. If you're using the editor on Linux, the positioning seems to be a bit off so it may not look right.

  18. #38

    Default

    Great work Thor, this is really coming along nicely. I do have a couple comments about it below.

    When I created a new zone, and added rooms and did not save before I quit the program, I was not prompted to save. Maybe it should just automatically save if the program notices that there is unsaved data present. The rooms, mobs and objects I created were lost because I did not save and then the program did not save before it closed.

    Also, can you have the editor remember where you previously loaded an area file from? That way you do not have to navigate to the same directory where the area file is located, every, single, time, you open it.

    Thanks!

  19. #39

    Default

    Thanks Tokugawa.

    There is now a confirmation dialog box to save an area, if one is loaded, in the next version.
    As far as remembering the location...I hope to do that soon, when I start saving settings.

  20. #40

    Default

    Version 1.0.2 is out:

    I'm still trying to fix some display issues in Linux.

    http://kirbyprogramming.railsplaygro...fc/install.jar

    Code:
    NEW FEATURES
        * Confirmation dialog about saving an area if you exit
        * Moved Shop editing to the new tree view
    BUG FIXES

Similar Threads

  1. Replies: 9
    Last Post: January 7th, 2009, 02:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •