STRANGE ERROR RM2003
Posts
Pages:
1

I made a 250-tile tall map with a panorama. When I move up, either walking or with a pan command, after a certain point, this error window appears. I have no idea what it means, because neither that file nor that folder don't exist.
Assertion failures (I'm guessing RM2k3 is written in VC++) accompanied with filenames like this typically pop up when trying to read from a file that doesn't exist or trying to read from a location that doesn't exist from within a file that does. The fact that you don't get it until you move up past a certain point makes it a little trickier to troubleshoot though.
I am drawing this from more general experience rather than any particular expertise in RM (because I have none) so take this with a grain of salt but based on what you're saying it sounds to me like something's wrong with the project definition files/database/whatever you use to refer to outside resource files, which is causing RM to include default resources that don't exist within your project, which in turn is causing RM to try to stream data from an empty .pas file at a location based on the player's coordinates and you are underflowing the file bounds by moving up past that point causing it to spit out an assertion failure as the file pointer moves to an invalid location and RM attempts to read from it
tl;dr try putting everything into a new project
I am drawing this from more general experience rather than any particular expertise in RM (because I have none) so take this with a grain of salt but based on what you're saying it sounds to me like something's wrong with the project definition files/database/whatever you use to refer to outside resource files, which is causing RM to include default resources that don't exist within your project, which in turn is causing RM to try to stream data from an empty .pas file at a location based on the player's coordinates and you are underflowing the file bounds by moving up past that point causing it to spit out an assertion failure as the file pointer moves to an invalid location and RM attempts to read from it
tl;dr try putting everything into a new project
Straaaaange...
First, D:\ is my CD driver, so it doesn't make sense that RM2003 is looking for a file in it. Folder D:\ha doesn't exist... never did.
I created a similar map in another project, no error happened.
I erased almost all the tiles on the error map, leaving just the base. I tried it again, and the error happened, but very quickly this time... after moving about 3 tiles up.
Then I created an identical map, and the error is not happening anymore.
Let's see if it'll stay like this.
Thanks for the help!
First, D:\ is my CD driver, so it doesn't make sense that RM2003 is looking for a file in it. Folder D:\ha doesn't exist... never did.
I created a similar map in another project, no error happened.
I erased almost all the tiles on the error map, leaving just the base. I tried it again, and the error happened, but very quickly this time... after moving about 3 tiles up.
Then I created an identical map, and the error is not happening anymore.
Let's see if it'll stay like this.
Thanks for the help!
In a way you kind of hope an error like this repeats/is predictable. Non-repeatable bugs that may or may not pop up again at a later date are really killer.
What is your actual RTP path? I'm guessing it ends in "rpg2000\2003\RPG_RT\" and there might be an actual file in there called GR_Chipset.pas (passability?)? Even better, are you using a GR_Chipset on that map?
What seems simplest to me is that the program is keeping the path to a file it actually needs as a string, or mostly a string, and it's corrupting some of the first few bytes through buffer overflow.
What seems simplest to me is that the program is keeping the path to a file it actually needs as a string, or mostly a string, and it's corrupting some of the first few bytes through buffer overflow.
My RTP is C:\rpg2003\RTP
I searched for GR_Chipset.pas... file doesn't exist anywhere.
Straaaaaaaaaaange...
I searched for GR_Chipset.pas... file doesn't exist anywhere.
Straaaaaaaaaaange...
Might have been referencing something that didn't exist in the database anymore after lowering the numbers.
the GR_chipset.pas isn't a file in the rtp folder, it's a class inside the rpg_rt exe. The error was being caused by some kind of corrupted map file in the database. making a new, identical map fixed it because the new map wasn't corrupted.
I would wager the crash occured because rm2k(3) probably weren't designed with huge panorama maps in mind, and no other reason. but I would definitely suggest you make a backup of your project, just incase the error happens again, or more frequently, or causes a maptree error that's unrecoverable.
I would wager the crash occured because rm2k(3) probably weren't designed with huge panorama maps in mind, and no other reason. but I would definitely suggest you make a backup of your project, just incase the error happens again, or more frequently, or causes a maptree error that's unrecoverable.
post=131423
the GR_chipset.pas isn't a file in the rtp folder, it's a class inside the rpg_rt exe. The error was being caused by some kind of corrupted map file in the database. making a new, identical map fixed it because the new map wasn't corrupted.
I would wager the crash occured because rm2k(3) probably weren't designed with huge panorama maps in mind, and no other reason. but I would definitely suggest you make a backup of your project, just incase the error happens again, or more frequently, or causes a maptree error that's unrecoverable.
Thanks. It makes sense.
I make backups of my project every single day.
Pages:
1



















