Home » PLAYER'S HQ 1.13 » v1.13 General Gameplay Talk » Map Editor crash
Map Editor crash[message #325392] Thu, 19 September 2013 03:52 Go to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Hi folks,

as I was recently editing maps for BigMaps an Error occured, that I have never encountered before. Suddenly a status window popped up saying:

Quote:

DEBUG: Schedule data has just been corrupted. Don't save, don't quit, get Kris! If he's not here, save the map using a temp filename and document everything you just did, especially your last action!


Unfortunately, Kris was not here Wink so I stupidly ignored the message and for a brief moment everything seemed fine. But now when I try to load two of the maps I've made, the Editor crashes and I get this Error message:
http://i1017.photobucket.com/albums/af297/Zombiehunter986/Jagged%20Alliance/RuntimeError.png

It reads:

Runtime Error -- Press to Exit
Assertion Failure [Line 524 in file Map Information.cpp]. Attempting to do a debug save as
SaveGame247.sav (this may fail)

[color:#FF0000]Map is less than minimum supported version.[/color]

Additional Info:
[color:#FF0000]Version Info: Summary: 1.15, Map: 5.00 / 00[/color]

I have no Idea how this had happened, most of the other maps read:
[color:#FF6600]Version Info: Summary: 1.15, Map: 7.00 / 29[/color]
And they work just fine so I am guessing it has something to do with that ominous numbers 5.00 / 00

As stated earlier only two maps are affected, luckily, but one of those maps was already pretty much done, which means I am losing at least 2-3 days of work.
If anyone could show me a solution to get those maps back up and running, this would be much appreciated

Thanks in Advance
-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325400] Thu, 19 September 2013 11:54 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3641
Registered:July 2009
There are two basic assumptions to check:
1) Your Editor is OK but your Mapfile truly is corrupted
2) Your File is OK but your Editor derped.
Can't tell which without seeing the file.

Report message to a moderator

Captain

Re: Map Editor crash[message #325419] Thu, 19 September 2013 16:32 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Actually it would make no sense, that the whole Editor is corrupted, but on the other hand it also makes no sense that those maps are corrupted.
Anyways here is the link to the Skydrive, containing those maps

Skydrive

Regards
-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325424] Thu, 19 September 2013 18:24 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Zombiehunter
Actually it would make no sense, that the whole Editor is corrupted, but on the other hand it also makes no sense that those maps are corrupted.
Anyways here is the link to the Skydrive, containing those maps

Skydrive

Regards
-Zombie


Which version of map editor you use (show on loading screen)?
Try to load your map but crash as I don't have tilesetid=78,
so I will need those files, are you working on some project from where I could downloaded all request files?

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325425] Thu, 19 September 2013 18:30 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Mapeditor Version 1.13.5520 (Development Build) (Build 12.08.24)

Aka the AIMNAS XMAS Big Maps release

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325426] Thu, 19 September 2013 18:39 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Whoa!
So you guys actually creating big maps version :clap:
damn I was too long off scene Sad

Hm, do you know link for AIMNAS files as from http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/305818/Installing_AIMNAS_All_you_need.html#Post305818

not working or I'm doing something wrong

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325427] Thu, 19 September 2013 18:42 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3641
Registered:July 2009
Just take the SCI from my sig, I believe that's the version ZH is using for his work.

Report message to a moderator

Captain

Re: Map Editor crash[message #325428] Thu, 19 September 2013 18:47 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Should I download "Unstable 1.13 SCI" or rather "AIMNAS BigMaps Beta SCI"?

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325429] Thu, 19 September 2013 18:49 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3641
Registered:July 2009
AIM, you need the tileset data.

Report message to a moderator

Captain

Re: Map Editor crash[message #325432] Thu, 19 September 2013 19:07 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Kriplo
Whoa!
So you guys actually creating big maps version :clap:
damn I was too long off scene Sad


Yep, regarding the maps themselves I am making good progress, that's why it's so vital to find out what's wrong with this issue.

Like I said before, Luckily only 2 maps were affected, but if at some point all my mapwork gets fried (okay then I'd still have some backup files), this would be a major setback to the whole project.

Not to mention, 2 shredded maps mean something between 2-4 days of work for nothing

-Zombie

[Updated on: Thu, 19 September 2013 19:10] by Moderator

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325434] Thu, 19 September 2013 19:21 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
downloading AIMNAS project...

in mean time try to force load your both files, but they crash as header seems corrupted too, it shows your version 5.00/25 map size 160x160 which is probably not true.
I need one of your maps which are work, so please upload latest one which is fine to observe compare their header with those two.

Also could you describe what you do after "Calling for Chris" pop up, did you save map or just shut editor?

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325436] Thu, 19 September 2013 19:34 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Map F14 added, this is the last stable one I made.
Skydrive

Nope they should be 360x360.

I am sorry I can't really remember, was very tired at that point, but I think I opened up another map to try another tileset, so basicly the corrupted map H13 was already saved at that point, aswell as the map E3 which was actually already finished in May '13.

-Zombie

PS: AFAIK 5.00 / 25 should/would be the JA2 v1.12 Vanilla map format, I think. At least I've seen this number combination when loading any vanilla maps.

[Updated on: Thu, 19 September 2013 19:40] by Moderator

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325437] Thu, 19 September 2013 19:44 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Got tilesets and file, will try to see what parts are damaged, hoping only header part is corrupted.
Will try do investigate today as from tomorrow I'm absent till monday.

Do you have some older version of H13 and E3?

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325438] Thu, 19 September 2013 19:47 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Kriplo
Got tilesets and file, will try to see what parts are damaged, hoping only header part is corrupted.
Will try do investigate today as from tomorrow I'm absent till monday.

Do you have some older version of H13 and E3?


Your help is much appreciated, I tell you that Smile

Unfortunately I dont have any older versions of those two Sad

-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325441] Thu, 19 September 2013 20:38 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
looking bad Sad

maps are saved in old format thus overwrite some of data.

Do you place items in map how many soldiers create, do you use room number (if create buildings), need some of that info to try expand file but can't promise anything.

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325442] Thu, 19 September 2013 21:06 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Actually I didnt place any soldiers or room numbers, I usually take the old maps, enlarge them to 360x360 and then start editing them beyond recognition. This might have been an issue on the H13 map
but the E3 map, had like no buildings or items, only a few soldiers (i guess). If you can't restore the H13 map, so be it, it was half-done at best. The E3 Map is way more important to me than the H13, cause it was already finished and it took me like forever to place Cliffs on that thing.

-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325444] Thu, 19 September 2013 21:58 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
When try to load E3 pass all evaluation before load then crash, from that point look like save map in old format, but according to size of file look like 360x360.
If editor somehow do rewrite then 20% of your map is already lost.

Do you maybe remember does editor ask you to rewrite file or you write from from summary information (F5 key)?

Will try next week if could done anything but can't promise any success.

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325451] Fri, 20 September 2013 02:01 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
At my branch https://ja2svn.dyndns.org/source/ja2/branches/Kriplo/mapfix.zip contains your E3.dat map.

Just try to open it and see if this was your work, I remove other stuff as seems file is incomplete and was not able to reconstruct but will try next week, also will see what can be done with other map.

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325550] Mon, 23 September 2013 11:21 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
You Sir, are a genius Very Happy

I don't know what you did, but it worked, Map E3 is working again and I am most grateful for that Smile

You didn't find out, by any chance, what may have caused this problem in the first place?

-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325570] Mon, 23 September 2013 21:08 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Thanks, but I'm not Embarrassed somehow fell responsible as years ago was fixing editor.

Glad to help and that map looks like your origin.
Today return from holiday and will try to better reconstruct your maps, so if you could wait and mod some other maps, maybe will succeed with other detail like soldiers, lights, items.

What cause problem couldn't reconstruct, it so weird, editor some how decide to save your map as vanilla but fortunately save other map details in new format. However didn't save all map details and header was corrupted so your file was shorter as you could see from reconstructed version.

Have no information if anybody else run in such problem, maybe bug is recent one or very old one which occurs under strange condition. You say that was occur after changing tileset so first will look there.
As currently fixing some other unrelated things, this problem will be on hold for some other time, till then please backup you map directory often Smile

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325571] Mon, 23 September 2013 21:18 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3641
Registered:July 2009
Don't worry too much about placements. I can tell you for a fact that the plan is to place all items on the AIM maps in one go when they are done. Dunno if zombie added soldiers though.

Report message to a moderator

Captain

Re: Map Editor crash[message #325578] Mon, 23 September 2013 23:47 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
@DepressivesBrot
That's good to hear, because now find out that all data after map schedules is lost during schedules error. Unfortunately also all data after world details was saved as vanilla which means had bad placement, so map edge points should be regenerated as well as soldiers, items doors etc... because placement is saved in UINT16 thus original location is lost during that truncation.

@Zombiehunter
In my branch https://ja2svn.dyndns.org/source/ja2/branches/Kriplo/mapfix.zip add restored H13 map, also only worldmap details, please recheck map entry points for both maps as those data are lost.
To fix this nasty bug in editor will need more data, so if you run on them again please write details. Planned to compile new editor from trunk maybe don't have that bug as was reconstructing your maps with latest source, but as throws some exception seems less reliable then this you are using now, also some of AIMNAS don't want to load and crash on exit Sad

Load couple of AIMNAS maps, they truly look great, very impressive job with such crapy editor and unfinished BMP support, hope one day will return to BMP and find time to solve some of BMP problems as see they are still on list from 2009.
You have my respect!

Report message to a moderator

Master Sergeant
Re: Map Editor crash[message #325592] Tue, 24 September 2013 12:36 Go to previous messageGo to next message
silversurfer

 
Messages:2787
Registered:May 2009
You should be aware of a bug that was also reported in the bug reporting thread.
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/322523/Re_BUGZILLA_report_all_bugs_he.html#Post322523

The current editor fails to save default attachments for some weapons that are placed in soldiers hands. For example I gave a soldier an AICW which has an AICW launcher as default attachment. I could see that the attachment was assigned but when the map is saved the attachment is gone. Somewhere in between it is lost somehow.
The item with attachment is added in Editor\EditorMercs.cpp function AddNewItemToSelectedMercsInventory( BOOLEAN fCreate ).
CreateItem( gusMercsNewItemIndex, 100, &gpSelected->pDetailedPlacement->Inv[ gbMercSlotTypes[ gbCurrSelect ] ] );

The Soldier and his equipment is save in TileEngine\worlddef.cpp function SaveSoldiersToMap(hfile, dMajorMapVersion, ubMinorMapVersion) but its missing the attachment.

Haven't been able to fix that one so far. Sad

When you place the item on the ground the attachment is there.

Report message to a moderator

Lieutenant
Re: Map Editor crash[message #325603] Tue, 24 September 2013 15:30 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
DepressivesBrot
Don't worry too much about placements. I can tell you for a fact that the plan is to place all items on the AIM maps in one go when they are done. Dunno if zombie added soldiers though.


It depends on the map, sometimes, I used the old 160x160 maps, enlarged them to 360x360 and started editing the s**t out of it. In these cases there are the Soldiers left over from the Vanilla map, except for Cambria Hospital, where I have placed the necessary NPCs to have this facility up and running, I must say I haven't placed anything as of now.

Kriplo
In my branch https://ja2svn.dyndns.org/source/ja2/branches/Kriplo/mapfix.zip add restored H13 map, also only worldmap details, please recheck map entry points for both maps as those data are lost.
To fix this nasty bug in editor will need more data, so if you run on them again please write details. Planned to compile new editor from trunk maybe don't have that bug as was reconstructing your maps with latest source, but as throws some exception seems less reliable then this you are using now, also some of AIMNAS don't want to load and crash on exit


I will look into it, if I am lucky this bug will never occur again, if it does, I will still have enough backup data to go back on again. No matter what, I will keep you informed on the progress.

Kriplo
Load couple of AIMNAS maps, they truly look great, very impressive job with such crapy editor and unfinished BMP support, hope one day will return to BMP and find time to solve some of BMP problems as see they are still on list from 2009.
You have my respect!


You have to pay that respect mainly to smeagol, he made the maps which are included in the current AIMNAS BigMaps release, I am merely filling in for him, until he might have the time to continue his work Wink

silversurfer
The current editor fails to save default attachments for some weapons that are placed in soldiers hands. For example I gave a soldier an AICW which has an AICW launcher as default attachment. I could see that the attachment was assigned but when the map is saved the attachment is gone. Somewhere in between it is lost somehow.
The item with attachment is added in Editor\EditorMercs.cpp function AddNewItemToSelectedMercsInventory( BOOLEAN fCreate ).


When you mentioned this, I remembered, before the whole error report and crash event occured, the editor gave me another error message, stating that I can't use some attachments on the SVD Dragunov, on closer inspection, I found out that some of the originally placed Soldiers were equipped with the SVD, after I deleted those Soldiers, the error message didn't occur again.

I don't know, but maybe this error message and the total map crash, I've experienced, are maybe somehow connected.

-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325611] Tue, 24 September 2013 16:32 Go to previous messageGo to next message
silversurfer

 
Messages:2787
Registered:May 2009
Zombiehunter

When you mentioned this, I remembered, before the whole error report and crash event occured, the editor gave me another error message, stating that I can't use some attachments on the SVD Dragunov, on closer inspection, I found out that some of the originally placed Soldiers were equipped with the SVD, after I deleted those Soldiers, the error message didn't occur again.


I think that this is a different problem. In the past the SVD could take a 10x scope which is now incompatible in the current GameDir. When the editor loads a map which contains incompatible attachments it throws an error message.

Report message to a moderator

Lieutenant
Re: Map Editor crash[message #325613] Tue, 24 September 2013 16:37 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3641
Registered:July 2009
The SVD never legitimately took the 10x, that's why stealing the cheaty version from the preplaced and guaranteed enemies was a very rewarding thing to do.

Report message to a moderator

Captain

Re: Map Editor crash[message #325637] Tue, 24 September 2013 19:47 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Yeah the 10x Scope was the said attachment which was mentioned in said error message, I just thought that error and the bug I've encountered might be connected, cause right after I had the SVD error, the whole "Get Kris ASAP" bug thing occured. But perhaps that was just a coincidence.

-Zombie

PS: The H13 fix, works just perfectly. Big thanks to you again, Kriplo

[Updated on: Tue, 24 September 2013 19:54] by Moderator

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325644] Tue, 24 September 2013 20:13 Go to previous messageGo to next message
Flugente

 
Messages:3499
Registered:April 2009
Location: Germany
Well, this seems to be the second time the old 10x scopes on SVDs produce hideous crashes (the other one being the old issue with disappearing sector inventories in weapon stash sectors). It's probably best to delete them whenever possible I guess... also, keep in mind there are similar things like this in other maps (for example, Meduna airport has a RPK-74 with both bipod and Talon, that might be bad too).

I'm curious: Could that whole map-eating business have been avoided if you had set the SVD to accept the 10x scope? In that case you could go safe and use a special 'mapping' set of xmls that allows all vanilla items to accept any vanilla attachment, and avoid this headache...

Report message to a moderator

Captain

Re: Map Editor crash[message #325706] Thu, 26 September 2013 05:04 Go to previous messageGo to next message
Zombiehunter is currently offline Zombiehunter

 
Messages:182
Registered:March 2011
Location: Franconia, Germany
Flugente
I'm curious: Could that whole map-eating business have been avoided if you had set the SVD to accept the 10x scope? In that case you could go safe and use a special 'mapping' set of xmls that allows all vanilla items to accept any vanilla attachment, and avoid this headache...


Might be possible, but to be honest, making an extra mapping xml set sounds like a lot of work for this really rare occurence. After all, I got my backups, so if something goes wrong again, I can go back on that.

-Zombie

Report message to a moderator

Staff Sergeant
Re: Map Editor crash[message #325713] Thu, 26 September 2013 09:04 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2476
Registered:October 2005
Location: Australia
We've had our fair share of x10 Scope warnings come up on maps in Vengeance in the past, but they've never 'eaten' or damaged maps, just added those annoying messages. So I doubt it would be causing the sort of headaches you've been hit with, but might be worth keeping an eye out for, in the future.

Glad to hear your E3 map is working again, though.

Report message to a moderator

Lieutenant

Re: Map Editor crash[message #326831] Sat, 19 October 2013 19:50 Go to previous message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
silversurfer
You should be aware of a bug that was also reported in the bug reporting thread.
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/322523/Re_BUGZILLA_report_all_bugs_he.html#Post322523

The current editor fails to save default attachments for some weapons that are placed in soldiers hands. For example I gave a soldier an AICW which has an AICW launcher as default attachment. I could see that the attachment was assigned but when the map is saved the attachment is gone. Somewhere in between it is lost somehow.
The item with attachment is added in Editor\EditorMercs.cpp function AddNewItemToSelectedMercsInventory( BOOLEAN fCreate ).
CreateItem( gusMercsNewItemIndex, 100, &gpSelected->pDetailedPlacement->Inv[ gbMercSlotTypes[ gbCurrSelect ] ] );

The Soldier and his equipment is save in TileEngine\worlddef.cpp function SaveSoldiersToMap(hfile, dMajorMapVersion, ubMinorMapVersion) but its missing the attachment.

Haven't been able to fix that one so far. Sad

When you place the item on the ground the attachment is there.


Actually this is not bug, you probably save map as Vanilla (v1.12) which doesn't support NAS as items and soldiers are saved in old format so you lost attachments Surprised

In next map editor fixes plan to put Vanilla switch off so it will only be on manually or if you load old map, also if save as Vanilla all new items will be removed and neweset attachments too regard if place to the ground or add to some character.
So maps should always be save in newest format to support all of the lastest features.

Report message to a moderator

Master Sergeant
Previous Topic: creating remote detonators?
Next Topic: Move windowed JA2 window?
Goto Forum:
  


Current Time: Wed Jun 17 13:01:48 GMT+3 2026

Total time taken to generate the page: 0.70257 seconds