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
|
|
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 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:
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 #325570]
|
Mon, 23 September 2013 21:08 
|
|
Kriplo |
 |
Messages:256
Registered:February 2008 Location: Zagreb - Croatia |
|
|
Thanks, but I'm not 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 
Report message to a moderator
|
Master Sergeant
|
|
|
|
|
|
| Re: Map Editor crash[message #325578]
|
Mon, 23 September 2013 23:47 
|
|
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 
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 #325603]
|
Tue, 24 September 2013 15:30 
|
|
Zombiehunter |
  |
Messages:182
Registered:March 2011 Location: Franconia, Germany |
|
|
DepressivesBrotDon'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.
KriploIn 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.
KriploLoad 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 
silversurferThe 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Jun 17 13:01:48 GMT+3 2026
Total time taken to generate the page: 0.70257 seconds
|