Page 1 of 1
Edit Mode in 1.06B
Posted: Mon Jul 23, 2007 1:01 am
by wiltaz
Has anyone compiled a scenario in the new version?
I had a working scenario and I worked on some changes this weekend. I compiled it following the normal steps I've done before but it fails. It just goes to the menu screen with no errors. When I exit out the MainLog in the Logs directory has no errors. The 3 log files that are normally generated in the script directory aren't being generated. Those are what I use to find issues normally. So if I have an error in my script I don't know what to fix. But with the log files not generating I'm not even sure the editor is running correctly. The problem may not be with my script and data files.
Posted: Tue Jul 24, 2007 2:17 am
by wiltaz
This is really getting crazy. I uninstalled the game completely. Reinstalled with 1.05 and copied in my mod and ran the editor. Got the script report, fixed my errors and the editor then loaded my scenario. I was able to play the scenario. Reran the patch. I got errors loading the save from 1.05. Couldn't start a new game from my scenario. Tried to recompile it with 1.06B. Now it generates the script report which it wasn't doing before and it says there are no errors in the script but when the editor gets to the map it says there are errors and I have to shut it down.
This is from the main log:
10:09:02 PM (Reporting) TMain, CreateForm OK
10:09:02 PM (Reporting) Application.Run Starting app...
10:09:06 PM (Reporting) Game Engine version: AACW 1.06b
10:09:09 PM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
10:09:10 PM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
10:09:10 PM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
10:09:10 PM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
10:09:10 PM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
I tried to go into editor mode using the script files that came from the default install and they don't work either. It's not just my scenario that worked in 1.05. Guess I go back a version just to be able to work on my mod.
Posted: Tue Jul 24, 2007 3:33 am
by Rafiki
1.06B has some oddities that have made me hold out on patching with it, while I've found 1.06 to be quite good. Have you tried using 1.06?
Posted: Tue Jul 24, 2007 10:58 am
by wiltaz
I plan on trying today after I reinstall to 1.05. I think I found a link to 1.06.
Posted: Tue Jul 24, 2007 1:30 pm
by wiltaz
1.06 works. So something in 1.06B kills the editor.
Posted: Thu Aug 09, 2007 9:55 am
by wiltaz
I see Pocus is back so I'm bumping this to the top.
In summary, scenarios that compile in 1.06 fail in 1.06B. I had no luck compiling a scenario no matter what I did under 1.06B. Had to go back to 1.06 just to work on my scenario.
Posted: Thu Aug 09, 2007 10:16 am
by Rafiki
1.06 is generally recommended for use anyway, since both 1.06a and 1.06b had some issues with bugs

Posted: Fri Aug 10, 2007 9:02 am
by Pocus
Yes, I got it too, this is cleaned for the soon to be released 1.06c quickfix.
Posted: Thu Aug 16, 2007 2:57 pm
by wiltaz
I made sure my scenario compiler correctly before installing 1.06d. Now my scenario doesn't compile just like under b. I get this several time at the end of the main log.
Is it looking for something that didn't have to be there under 1.06?
I noticed new variables for control & retreat were made available to modders. Is it related?
10:48:39 AM [Error ] TFrontEndDef.GetParam Erroneous index value when retrieving param on Front End 50007 MainBar Index : 1
Posted: Fri Aug 17, 2007 7:54 am
by Pocus
Strange, a frontend file has not been updated by the patch it seems. I confirm that the edit mode in 1.06 works for me.
check that the files \ACW\FrontEnd\MainBar@1600.fte and the others (1152 etc.) all have:
Param0 = 65 // Allowed Width for assets strings
Param1 = 91 // Layer for lanscape
I don't quite understand why you had not the update by patching by the way.
Posted: Sat Aug 18, 2007 11:36 am
by wiltaz
Thanks for pointing me in the right direction. With me having a mod directory so I don't mess up the original scenarios I had to copy the front end files over manually to overwrite the ones I had copied over a few versions back when I created the mod.