Ambrosia Garden Archive
    • Exception of Class NilObjectException..


      While working on a plugin for POG I ran across the following error:

      "An exception of class NilObjectException was not handled. The application must shutdown."

      Coldstone then promptly quit. If I restarted Coldstone and attempted to do what I did before, it would continue giving this error.

      Here is what I have and what I'm doing:

      System: Powermac 9600/233 w/ 104megs allocated to POG, running OS 8.6 w/ carbonlib.
      Coldstone: Demo

      Recreation of error:
      I was creating a new event of type "Change Map Cell." I wished to add a dock to an existing map within POG and had found the coordinates (112,63) on the map I wished to place it on through the debug (-d) feature while walking around my plugin. I input the cell coordinates, checked the "Change Cell picture to:" box, and clicked on select. Found the dock I wanted and selected it, which put me back to the main "Change Map Cell" page. I clicked "Ok" at the bottom and that error message popped up and quit out Coldstone. Everytime I attempt to change a map cell it is doing this.

      Any ideas?

      Thanks

      ------------------
      Shoot 'em with everything you've got. If anything still lives, shoot 'em again.

    • Has anyone else experienced this same problem? Or does the change map cell feature
      work perfectly fine for everyone else within a POG plug-in(not a new game)?

      For those that have no problems with this feature, could you post and let me know what
      set-up you are running(OS, memory, demo vs. registered version of Coldstone)? Perhaps
      by looking at what works and what doesn't, it can help track the problem down. This is
      really frustrating.

      I'd really like to find a resolution to this problem. I'm planning on using Coldstone
      primarily to author plug-ins for POG. If I can't edit the physical world(ie, utilizing
      the change map cell event) then Coldstone really isn't worth having.

      Thanks.

      ------------------
      Shoot 'em with everything you've got. If anything still lives, shoot 'em again.

    • A little more testing on my part revealed the following:

      If I select a custom made picture file(one dropped into the pictures directory of my
      plugin folder) then Coldstone accepts the changing of the map cell in the event without
      crashing. If I select one of the preset pictures(ie, a picture from forest_objects for example) then crashola. It does not matter which preset picture I select; they all crash.
      Only a picture file from the pictures directory seems to work.

      And even after I select a picture from the pictures directory and check the "change cell
      picture" box, and utilize the plugin load call, the map in POG does not seem to be altered
      in any way. Ie, the cell picture does not get changed.

      Is this working as it is supposed to?

      ------------------
      Shoot 'em with everything you've got. If anything still lives, shoot 'em again.

    • I Have been having the same problem with certain animations. I try to open it, and the program crashes. Is this going too be fixed in 1.0.1?

      ------------------
      I think the surest sign of intelligent life in the universe is that none of it has tried to contact us.

    • Quote

      Originally posted by BryceCubed:
      **I Have been having the same problem with certain animations. I try to open it, and the program crashes. Is this going too be fixed in 1.0.1?

      **

      Mr. BryceCubed,

      I have been told that it has been. But since I am not a part of the beta team I can't personally verify it. I do believe it has been though.

      ------------------
      "Usenet is like a herd of performing elephants with diarrhea --
      massive, difficult to redirect, awe-inspiring, entertaining, and a
      source of mind-boggling amounts of excrement when you least expect
      it." -- Gene Spafford, 1992

    • Quote

      Originally posted by BryceCubed:
      I Have been having the same problem with certain animations. I try to open it, and the program crashes.

      I've noticed that some animations have the wrong directary name (.pct extention instead of .png). So far I've only found this problem in some of the torch animations.

      Quote

      Originally posted by Stark Bledfast:
      I was creating a new event of type "Change Map Cell." I wished to add a dock to an existing map within POG and had found the coordinates (112,63) on the map I wished to place it on through the debug (-d) feature while walking around my plugin. I input the cell coordinates, checked the "Change Cell picture to:" box, and clicked on select. Found the dock I wanted and selected it, which put me back to the main "Change Map Cell" page. I clicked "Ok" at the bottom and that error message popped up and quit out Coldstone. Everytime I attempt to change a map cell it is doing this.

      I believe it is "Stamp Control" that you want to add an object. "Change Map Cell" is for the ground tiles. It may have crashed because the oblect's size is so radically diferent from the map tile size.

      ------------------

    • Quote

      Originally posted by Stark Bledfast:
      **While working on a plugin for POG I ran across the following error:

      "An exception of class NilObjectException was not handled. The application must shutdown."

      Coldstone then promptly quit. If I restarted Coldstone and attempted to do what I did before, it would continue giving this error.

      Here is what I have and what I'm doing:

      System: Powermac 9600/233 w/ 104megs allocated to POG, running OS 8.6 w/ carbonlib.
      Coldstone: Demo

      Recreation of error:
      I was creating a new event of type "Change Map Cell." I wished to add a dock to an existing map within POG and had found the coordinates (112,63) on the map I wished to place it on through the debug (-d) feature while walking around my plugin. I input the cell coordinates, checked the "Change Cell picture to:" box, and clicked on select. Found the dock I wanted and selected it, which put me back to the main "Change Map Cell" page. I clicked "Ok" at the bottom and that error message popped up and quit out Coldstone. Everytime I attempt to change a map cell it is doing this.

      Any ideas?

      Thanks

      **

      Rambler is correct. You should be using the Stamp Control action, not the Change Map Cell action. Bad Stark. šŸ™‚
      As for whether or not this is fixed, I'll have to check. But if it isn't, I'll ask Dee to put in an informative error message.

      ------------------
      The greatest of harm can result from the best of intentions Ā— Wizard's Second Rule, Stone of Tears.
      Ā— Cafall

    • Quote

      Originally posted by Cafall:
      Rambler is correct. You should be using the Stamp Control action, not the Change Map Cell action. Bad Stark.:)
      As for whether or not this is fixed, I'll have to check. But if it isn't, I'll ask Dee to put in an informative error message.

      Bah. That post was back in January and I had just started using CGE. Cut me a little slack. šŸ™‚

      Anyhow while it is true that the above action is indeed not correct, that one should use stamp control as opposed to change map cell, the point is that CGE handles these things very poorly. It simply crashes, and anything that was changed and not saved prior to the crash is lost.

      This item I have had no problem with since I made the discovery that one should use stamp control(around a week or so after I found CGE crashing on me, heh). However I still have crashes with the same error message if I have the map editor up, call up the tile toolbar(where you select what tile to use), and double click on a pre-made tile(one that came with CGE). If I double click one of those tiles then CGE crashes. And when you are in a hurry and are switching back and forth between editors, it is very easy to double click by mistake, causing all map changes to be lost. And this is very frustrating. Enough so that I won't do any map development until this is fixed.

      /me sighs.

      But again, I have been assured that this is fixed in the update. I look forward to getting it.

      ------------------
      "Usenet is like a herd of performing elephants with diarrhea --
      massive, difficult to redirect, awe-inspiring, entertaining, and a
      source of mind-boggling amounts of excrement when you least expect
      it." -- Gene Spafford, 1992

    • Quote

      Originally posted by Stark Bledfast:
      Bah. That post was back in January and I had just started using CGE. Cut me a little slack. šŸ™‚

      Oops. šŸ™‚

      Quote

      **Anyhow while it is true that the above action is indeed not correct, that one should use stamp control as opposed to change map cell, the point is that CGE handles these things very poorly. It simply crashes, and anything that was changed and not saved prior to the crash is lost.

      This item I have had no problem with since I made the discovery that one should use stamp control(around a week or so after I found CGE crashing on me, heh). However I still have crashes with the same error message if I have the map editor up, call up the tile toolbar(where you select what tile to use), and double click on a pre-made tile(one that came with CGE). If I double click one of those tiles then CGE crashes. And when you are in a hurry and are switching back and forth between editors, it is very easy to double click by mistake, causing all map changes to be lost. And this is very frustrating. Enough so that I won't do any map development until this is fixed.**

      That doesn't happen with me. But then, I use OS X. Darn that map preview bug!

      Quote

      But again, I have been assured that this is fixed in the update. I look forward to getting it.

      Bug reports have been picking up on the mailing list. Someone sent in an absolute monstrosity yesterday, and I'm pointing out all the annoying little things that nobody notices. Posted Image

      ------------------
      The greatest of harm can result from the best of intentions Ā— Wizard's Second Rule, Stone of Tears.
      Ā— Cafall

    • Quote

      Originally posted by Cafall:
      Bug reports have been picking up on the mailing list. Someone sent in an absolute monstrosity yesterday, and I'm pointing out all the annoying little things that nobody notices.

      That figures. Too bad all the bug reports weren't found and reported months ago so that the update could have been released by now...

      I'm glad they have been found so they can be squashed, but this also means longer to wait for the update. :frown:

      ------------------
      "Usenet is like a herd of performing elephants with diarrhea --
      massive, difficult to redirect, awe-inspiring, entertaining, and a
      source of mind-boggling amounts of excrement when you least expect
      it." -- Gene Spafford, 1992