View previous topic :: View next topic |
Author |
Message |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Fri Jun 30, 2006 10:03 am Post subject: OHR Error |
|
|
I got an error message while working with custom last night, but when I copied it down, I forgot to copy the email for where to mail it to, and besides, I think that these forums work well for this sort of thing. So I'm going to post it here. If this is a bad idea, let me know and I will not do so again for error messages. In any case, I was using Tirgoviste, on a Windows ME machine. Any ideas?
OHRRPGCE Editor: tirgoviste 20060315
Memory Info: 224448 76924 1894 32236
Executable: .exe
RPG file:
Game:C:\OHRRPGCE\.rpg
Path/File access error in line No line number in module CUSTOM at address 0C22:32B7
Hit any key to return to system
I was editing my RPG in customqb. I have often had errors when exiting out of customqb, but they never seemed to have any effect in the past. Those errors were shown in a window after the program closed (MS-DOS has performed an illegal something or other and will terminate now). This time, after exiting customqb (after choosing 'save and quit'), my computer came up with a blank screen and a cursor at the top-left corner. ALT-TAB and CTRL-ALT-DEL did nothing, so I shut the computer off (by turning off the power strip) and then turned it back on. When I try to run custom now, it merely brings up a screen that says "Run custom.exe again". When I run customqb now, it brings up a screen that says "run customqb.exe again", and then gives me the above error message. Interestingly, the game I was working on seems intact (I can play it with game.exe). However, there is an empty Working.Tmp folder sitting around.
I decided to try manually deleting the empty Working.Tmp folder (after backing up my RPG file) and then ran customqb again. It worked, and I redid everything that I did before, as well as I could remember. This included:
Imported a newly compiled script
Made a new walkabout graphic (Set 101)
Assigned my new walkabout graphic to NPC 25 in Map 00
Exited using the 'save and quit' command
This time customqb managed to tell me that:
String space corrupt in line No line number in module FLEXMENU at address 48D4:4D4B (it has this exact same message, address and all, four times)
Subscript out of range in line ... (the rest of this is the same as above, and this also is pointed out four times)
Nevertheless, this time the RPG was fine, and my changes persisted (I checked with custom and customqb). |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Fri Jun 30, 2006 10:25 am Post subject: |
|
|
That "string space corrupt" error suggest to me that you have just barely enough conventional memory to run CUSTOMQB, but that sometime during use (probably in the NPC editor) it runs out of memory and corrupts the stack (QB stack, not plotscript stack)
from a DOS prompt, type MEM and tell us what the "Largest Executable Program Size" is.
The long-term solution, of course, is to use CUSTOM not CUSTOMQB... but that solution won't be satisfactory until bug 174 finally dies. |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Fri Jun 30, 2006 10:37 am Post subject: |
|
|
That keypress-detection bug is pretty bad for me on custom, it makes drawing graphics or working on maps pretty much impossible. I'm not sure if this is related, but I've noticed that in the text box editor, holding down a button (like 'backspace', say) only calls once. Thus, the only way to delete a whole line is to press 'backspace' over and over again. It would be nice if this were not the case.
I will check the memory thing when I go home, but I probably won't be able to post on here again until next week sometime...
Anyways, thanks as always. Thank you also for clearing up that bug with choosing palettes in the map editor. I don't think that I remembered to thank you for that. |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
Back to top |
|
 |
Ysoft_Entertainment VB Programmer

Joined: 23 Sep 2003 Posts: 810 Location: Wherever There is a good game.
|
Posted: Fri Jun 30, 2006 5:49 pm Post subject: |
|
|
I believe TMC fixed that bug(text editor).
Edit: Nope, he didn't, my bad. _________________ Try my OHR exporter/importer.
OHRGFX
Striving to become better pixel artist then Fenrir Lunaris. Unfortunately the laziness gets in the way of my goals. |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Fri Jun 30, 2006 5:59 pm Post subject: |
|
|
Mike Caron wrote: | What OS are you running? |
Note to self: check to make sure questions are not already answered in original post
Anyway, you could try DOSBox, see if that runs it better. Dunno if it runs on ME, though. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat Jul 01, 2006 6:35 am Post subject: |
|
|
Ysoft_Entertainment wrote: | I believe TMC fixed that bug(text editor).
Edit: Nope, he didn't, my bad. |
I did... I just don't think I ever committed the fix. I can't remember exactly where the problem was. Must remember to check.
Bug 174 will die... when I take a break from playing games. Hopefully tomorrow. I've been stalling, checking the script interpreter problems. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Sun Jul 02, 2006 11:54 am Post subject: |
|
|
msw188 wrote: | T...I'm not sure if this is related, but I've noticed that in the text box editor, holding down a button (like 'backspace', say) only calls once. Thus, the only way to delete a whole line is to press 'backspace' over and over again. It would be nice if this were not the case. |
I cannot reproduce this. Holding down backspace in the text editor works fine for me. |
|
Back to top |
|
 |
Iblis Ghost Cat

Joined: 26 May 2003 Posts: 1233 Location: Your brain
|
Posted: Sun Jul 02, 2006 12:34 pm Post subject: |
|
|
Quote: | I'm not sure if this is related, but I've noticed that in the text box editor, holding down a button (like 'backspace', say) only calls once. Thus, the only way to delete a whole line is to press 'backspace' over and over again. |
I have this problem too, and while I hardly use textboxes these days, it's very annoying. _________________ Locked
OHR Piano |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Sun Jul 02, 2006 12:45 pm Post subject: |
|
|
James Paige wrote: | msw188 wrote: | T...I'm not sure if this is related, but I've noticed that in the text box editor, holding down a button (like 'backspace', say) only calls once. Thus, the only way to delete a whole line is to press 'backspace' over and over again. It would be nice if this were not the case. |
I cannot reproduce this. Holding down backspace in the text editor works fine for me. |
That's because you fixed it two minutes before you posted here <_< _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Jul 05, 2006 10:07 am Post subject: |
|
|
Mike Caron wrote: | That's because you fixed it two minutes before you posted here <_< |
That is really wierd. I know I fixed the bug with the missing dowait, but I have absolutely no clue how that symptom could have been caused by that bug.
Oh, well. The important part is that it is fixed :) |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Thu Jul 06, 2006 12:41 am Post subject: |
|
|
James Paige wrote: | Mike Caron wrote: | That's because you fixed it two minutes before you posted here <_< |
That is really wierd. I know I fixed the bug with the missing dowait, but I have absolutely no clue how that symptom could have been caused by that bug.
Oh, well. The important part is that it is fixed  |
It's because Simon had some key press functionality (keypress aging) in dowait. I moved it all to setkeys in the bug 174 fix, so either change would have gotten rid of the problem. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Thu Jul 06, 2006 9:18 am Post subject: |
|
|
Okay, I finally got around to doing as you(M. Paige) asked, and I can now inform you that my largest executable program size is 580 K. I also thought I'd mention that I apparently have NO upper or reserved memory, and that my DOS prompt doesn't seem to know how much extended (XMS) memory I have (it shows a question mark). Is this bad? Another seemingly bad thing: my largest free upper memory block is also zero.
I can't help but wonder whether or not this has to do with the fact that I cannot use notate.exe. The program opens fine, but as soon as I try to do anything that would change the screen (scrolling beyond the edge, clearing the screen, etc.) the things freezes and I have to close it from Windows. |
|
Back to top |
|
 |
|