View previous topic :: View next topic |
Author |
Message |
BlastedEarth

Joined: 05 Oct 2009 Posts: 243
|
Posted: Tue Jan 19, 2010 6:46 pm Post subject: Now this is really bad... |
|
|
I can't link doors to other maps. When i try to, OHR closes without warning... At first everything was fine until something weird happened. I made a map with about four layers and everytime i save the game a new layer is formed and it fills itself with a tile that i don't need. It always happens when i save, i was annoyed but it turns out i need another layer and use that anyway, by filling it with blank tiles and using the tiles that i need. I saved and everything was back to normal until i tried linking doors. I've downloaded the nightly today, jan. 20, 2010 and it still closes everytime i choose a map for the door's exit. I've tried checking Bagne's shifter but it works fine... What could be wrong with my game? Can this be fixed? Thanks...
edit: tried other games too, like vikings of midgard which had large maps and animations and it works perfectly, oh i don't understand...
edit: saw these somewhere in the help forums:
Quote: | Ah, good spotting: attempting to fill an area of more than about 14000 tiles can overflow the stack. However, this definitely isn't to blame for the corruption. Another two map editor bugs found! |
- I use the paint bucket a lot in this game, could it be that?
Quote: | From what I've seen, it only happens when I'm editing big maps (Wrongside is 105 x 70 or something up in that range, and the Haunted House map in Chapter 3 is pretty big as well; it only happened once or twice on smaller maps), especially when I resize the map to fit more stuff and then do a bunch of map editing immediately afterward.
|
- And my maps are in this range as well... And i work just like this, patching the tiles first then adding doors later or resizing if it needs to...
If it helps I can send you the file so you can look at it...
also:
here's what appeared in the debug:
OHRRPGCE wip 20100115.3330 gfx_sdl+directx+fb/music_sdl FreeBASIC v0.20.0b (08-10-2008) -g -exx Win32
Runtime info: gfx_sdl, SDL 1.2.14 music_sdl
Editing game Zoned.rpg ( ) 01-20-2010 17:02:47
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.t05 (49x70) bad length or size; 16395 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.p05 (49x70) bad length or size; 4107 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.e05 (49x70) bad length or size; 4107 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.t05 (49x70) bad length or size; 16395 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.p05 (49x70) bad length or size; 4107 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.e05 (49x70) bad length or size; 4107 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.t05 (49x70) bad length or size; 16395 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.p05 (49x70) bad length or size; 4107 bytes
tilemap C:\OHRRPGCE_Original\working.tmp\\ohrrpgce.e05 (49x70) bad length or size; 4107 bytes
hmmmm:
One of the maps spawns some glitcy layers everytime ohr is started. That certain map was a copy of a large map that used to contain some npcs. I cut it to leave the place needed for the story and everything was well until i've made the "Lethe" map. The "Lethe" map, the latest made, i think is causing the corruption because has a layer that cannot be deleted. Well you can delete it but when you save the game it comes right back. When I delete the glitchy layers, the linking works but i can't find a way to delete the layer in the map that is causing the corruption... And the glitchy layers in the cut map also comes back when ohr is stared even if you saved without them. _________________ So many ideas, so little focus. Monk spirit please lend me your power!
 |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Wed Jan 20, 2010 7:43 am Post subject: |
|
|
I can reproduce this. I have filed '' . bug_title('813') . ''.
I'll let you know when we have figured it out. Thanks for spotting this! |
|
Back to top |
|
 |
BlastedEarth

Joined: 05 Oct 2009 Posts: 243
|
Posted: Wed Jan 20, 2010 9:19 am Post subject: |
|
|
hey, you're welcome and good luck...
one question, can we still continue the game file when this is resolved? i'm planning to draw enemies and attacks for the moment... _________________ So many ideas, so little focus. Monk spirit please lend me your power!
 |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Thu Jan 21, 2010 8:13 am Post subject: |
|
|
I fixed the crash in the door linker. If you download tonight's nightly build, it should work fine.
I suspect that the layer filled with unwanted tiles will not happen again, but if it does, definitely let me know. |
|
Back to top |
|
 |
BlastedEarth

Joined: 05 Oct 2009 Posts: 243
|
Posted: Thu Jan 21, 2010 8:32 am Post subject: |
|
|
Wow, you're a genius! Thank you very much :-D _________________ So many ideas, so little focus. Monk spirit please lend me your power!
 |
|
Back to top |
|
 |
|