Mission Commander beta release
-
Found the brigade ‘beetle’ ,… it is not quite the bug , and I’m really not sure is it system, os, dependant. I’m on win8.1x64.
It is the run as admin thing. I know it sounds kind of strange but it is how it is. If I run MC as admin , adding brigades where and how I want, if ran normal… well then it spew’s out ‘You can’t add brigade to a TE’ message.
… Recently, few months ago , Microsoft did some security hardening on their OS’s , so it may be related how in sync MC with those new settings is.
Eg. Month ago I’ve noticed that if I dont run BMS as admin I can’t change theatre, the reg key isn’t updated.
…The other thing is removing Need repairs flag in MC, ala, when … repairing objectives… What I think this is incorrect. Those flags shouldnt be removed from objectives if they’re set.
As explained in posts above , this flag only allows objective to be repaired , the repair itself isn’t happening if the damage status isn’t less then <51 … that is half operational (In F4.0 1.08 ).Another request(s), please,
-
GUI window for flag-ing objectives / units as a select group … something like right-click and change owner in objective list.
I know I can do it via csv export/edit/import … but this is life saver -
ability to show control/owner in map view (as in tacedit) -not really essential
Oh pak map creation is working fine, tested in balkans, it spews warning message but it works (without editing strategy.scf) , just building/saving new map
Regards and thanks.
WF -
-
Doh. ran into trouble.
Cant tell what’s really wrong - something in Brigade - Division , but this is popping out.
After I’ve crossed max vehicles count 14500+ , or is there min/max? , … on susbequent save/load some units had ‘double Id’ , deleting them and whole bunch of vehicles down to 13700 .
Then on few divisions this started to show up , all of them have brigade(s) ,… most divisions are unaffected.
… I cant change division number of any brigade in those affected , but on sub-units I can.
And those divisions are not showing correct/all units , like they had been cut or something.
************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at MissionCommander.fclsMain.GetBatFullName(Int32 BatNr) at MissionCommander.fclsDivision.FillElments() at MissionCommander.fclsDivision.fclsDivision_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Cheers
-
Looks like you messed up your mission
Is there a max? Pretty sure there is, but 14500 is not even close. I got close to 34000 in my campaign.
“Double Id” message… why do you start to delete a bunch of units? MC just fixed those IDs for you.All I can say… slow down. One step at the time.
gr Falcas
Doh. ran into trouble.
Cant tell what’s really wrong - something in Brigade - Division , but this is popping out.
After I’ve crossed max vehicles count 14500+ , or is there min/max? , … on susbequent save/load some units had ‘double Id’ , deleting them and whole bunch of vehicles down to 13700 .
Then on few divisions this started to show up , all of them have brigade(s) ,… most divisions are unaffected.
… I cant change division number of any brigade in those affected , but on sub-units I can.
And those divisions are not showing correct/all units , like they had been cut or something.
Cheers -
Huh… identified and cured the cam file … backup was 2 day old , many changes.
Ok, here’s what happened.There is some problem with brigade management , adding, deleting battalions from brigade ,etc.
What I did , because of that double ID error unit=objective , which I, wrongly?, identified as max unit (vehicle) count (14500+) I was deleting surplus units from brigades.
But I was deleting units directly from map , right click , battalion , delete battalion… well , that caused this error.
Obviously, MC didn’t update brigade and those units which I deleted made a hole in affected brigades … that what seemed ‘CUT’ in division overview, mentioned in post before
What was preferably had to be done , is remove those units from inside brigade window , and then delete them completely.
After I fixed all mess , deleting brigades, giving units parent so they stayed in division without brigade … lots’o’clicking… , then, after reload of save one unit appeared which should be deleted but wasnt, and was still linked to previous brigade … so , … it must be something wrong with updating dim(field, list) especially with brigades.
I’ve done all detecting work with tacedit , who can identify this error (parent child brigade error) , and done all work in MC ,… deleting brigades.
IMHO, what you should try to correct is brigade management, not only that MC couldn’t identify this error, it can’t repair it either, you cant manually change unit parent, but you can assign to another brigade so should fix by overwriting parent number… well, I didn’t , decided delete was better way.
But error still remains even if you remove all units, empty brigade and move another into , because you cant edit units places directly 1-5 , MC is filling them in order, but if some is bugged , and not showing you can’t do much … only way is deleting erroneous brigade.
IMHO , it would be better that brigade management was similar to tacedit, manually selecting 1-5 box , and selecting unit for that place , or removing it… but still if unit is ‘invisible’ (what happened here)
we should be able to manually zeroize units box , so forcing brigade to empty (f4) link of wrong unit.Hope you see this for new version.
Regards.
WFp.s. Example, we have 5 battalions in a brigade, 101-105 , I decide to delete 105 and 103 from map, … -> bug . brigade isnt updated correctly and makes a ‘hole’ in those positions 3 and 5. … error -> divison breaks also , and can’t display order from the first hole which encounter., which is 103 …
So you see in a picture above , listed brigade and 4th unit box , then the rest is bugged…p.s2/heehee. I’m slow, okay . but in hurry to finish this project… have to repair road/tiles , l2 mea thr bin … yet… so… seems busy
actually , tried yesterday, Monster’s tool … dear God,… placing road tile by tile … even pathmaker was the same… but, what can you do…
I was expecting some preview map and drawing yellow line across … tada… but, naaah… this is more painful
But, then, you have to choose editing bin or l2 or both , because tile’s repeating themselves , so is the road on laces you don’t want.
I’ve tested only a ‘dot’ of road in center on tile … so it works .yeeehaaa. Let there be roads and no inaccessible objectives(which is kinda disappointing from the engine… eg, okay wheeled more - less, but, foot an tracked need roads to move? … not true , I know I know , it is not ‘the road’ its is a path for the road itself , but still, in a T90 I can drive over your house … yeah, limits… , figures… BUT!, it has also one nice point, and that is that in this way reminds kinda of chess, you know , tactics in a limited movement, for ground war of course, my '16 couldn’t care less for the road )
-
Update:
Brigade creation isn’t careful with F4id skip , so it is responsible for duplicate id error , eventually leading to auto-repair of id which eventually breaks brigade-unit link, leading to orphans.
Auto id repair repairs the unit/brigade id but not units/brigade stored id’s of parent/child.So, it definitely auto-destroys itself in a loop
Hope that after all the book writing something was helpful in the end. Tricky that one, but not so tricky.
Cheers :uham::drink::blowpar:
p.s. + little extra , this is new , while in tacedit is ok , MC throws this error while displaying all units
************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at MissionCommander.fclsMain.FillUnits() at MissionCommander.fclsMain.SetSelect(String strName) at MissionCommander.fclsMain.tabMain_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.TabControl.WmSelChange() at System.Windows.Forms.TabControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ps2. Okay, identified above error , it is when brigade is empty, contains no battalion. Then it throws this error when tries to display in units list window.
When I add any battalion inside, it is OK. -
hi falcas, this stopped working, gives unhandled exception unable to load DLL “LszzNative.dll”
-
nvmrmnd this is the fix-, if you’ve never actually run your copy of falcon 4.0, or falcon AAF or gold, or whatever retail version is your version, steam or w/e, you won’t have the DLL files for mission commander to work.
go in, change a few audio settings in the vanilla retail version and you should create all those file association pathways, anyways it fixed it for me.
-
Update:
Brigade creation isn’t careful with F4id skip , so it is responsible for duplicate id error , eventually leading to auto-repair of id which eventually breaks brigade-unit link, leading to orphans.
Auto id repair repairs the unit/brigade id but not units/brigade stored id’s of parent/child.So, it definitely auto-destroys itself in a loop
Hope that after all the book writing something was helpful in the end. Tricky that one, but not so tricky.
Cheers :uham::drink::blowpar:
p.s. + little extra , this is new , while in tacedit is ok , MC throws this error while displaying all units
************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at MissionCommander.fclsMain.FillUnits() at MissionCommander.fclsMain.SetSelect(String strName) at MissionCommander.fclsMain.tabMain_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.TabControl.WmSelChange() at System.Windows.Forms.TabControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ps2. Okay, identified above error , it is when brigade is empty, contains no battalion. Then it throws this error when tries to display in units list window.
When I add any battalion inside, it is OK.Hey FW,
I really wonder what you are doing.
Deleting a battalion, even when going through the Map is working fine. Brigades get updated as needed.
So unable to replicate at all.Also what you wrote about admin and te_new… Doesn’t make sense at all. MC just reads filename of the mission you open.
You are running into a lot of issues which can not be replicated.For the question if MC will get manual input like TacEdit. Very unlikely as this is what makes TacEdit a horror.
Gr Falcas
-
Hey Falcas,
Well, darn
… update,… just for the fun of it I’ve tried once again running without runasadmin . and you know what…it worked??!.WTF., I’ve removed run as admin (compatibility options) , … random creating brigade … and it did work
I’m even more puzzled then youNow even changing theater works in BMS without need of admin rights., updating reg entry ‘curTheater’ , which wasn’t the case previously , I’ve even debugged whole process with ProcessMonitor, so it was all ‘access denied’ when ‘write/all access’ on that key entry if BMS wasn’t ran as admin.
But , really, believe me or not , I know what I saw, now what was the reason…,. Think something’s weird with my system.
Or could be some updates resolved , or even fresh restart, solved the issues.Win8 has one nasty feature ‘quick boot’ , when shutdown then power on , it really doesn’t do a full boot process, it merely load only user data on boot, system images are load from temporary hibernate file , so it doesn’t really do a full ‘reset’ , then only user portion. Only restart does the full reset job. Could be that something wasn’t reset right.
Ow… fck it!!.No,no, I don’t want to return to manually tacedit style , I’ve meant as an option, not grayed box, just to change parent number of unit, because if gone through this hell , you would see.
But try to do this!,
Add brigade somewhere , objective/empty road space, eg. load korea mech brogade, save then reload , it should warn about duplicate id , okay, MC does its auto-repair.
… then save , reload again.
The duplicate id is fixed , but, the f4id parent/child link between brigade and SOME unit(s) should be seriously broken by now. (because the auto-fix didn’t update stored child/parent links)
The brigade itself will not allow further editing. (exception)
Note invisible unit(s) in its inventory, try adding another battalion into that brigade you will see it added it to a next available number, counting the orphan units that are invisible in brigade.
That bug? actually is responsible for most headache… You cant edit brigade, returns exception.All that is happening when you run into f4id space range when not big enough to hold 4-5 units in the row. So it must skip some id’s to get to the first empty one, but then that happens.
And it did happen alot to me , figured it later when cam file got porked real good. , still damage was reversible.
Create new empty brigade (well then that another bug happened, units display list throws exception when encounters an empty brigade, but from map it all works) , save … reload , fix double id if needed,
save … reload again - eventual double id’s fixed, … then move your units one by one to a new brigade, from unit window(s), delete old brigade which hold orphans to those units.
All works in the end.
So there’s the headache.
I got to clean whole bunch of stuff that way.Another approach to repair that is NOT create a new empty brigade (avoids that empty brigade display problem) , but, put units in divisions if they are not already , and gave units a parent flag so they are parents in division , then just delete brigade , save …reload.
Please try that, so I know is it repeatable on your end.
Cheers.
-
I know it is very hard to do when you are working on something, but have a little patience so I can look into the code
See PM.
Gr Falcas
-
Aaah!!, nooo!!, my friend… I’m not hurrying you , by all means, take all your time in the world. Firsts thing first. Life comes first.
I’m just a bit ‘excited’ when debugging something, when trying to find the reason whats behind the error.
Please don’t get me wrong, I’m a patient, maybe that just doesn’t sounds like. I just like to put all the things ‘on the table’, 'cause , believe me or not , I am visiting famous Alzheimer club a little too much hehe
**uck the campaign and all ,it comes the second,third.I know we’re all a bit childish in the heart , or we wouldn’t have heart for this anyway
Dear friend, forgive me if I sounded rude, it wasn’t my intention.
Cheers Falcas,
WF -
Aaah!!, nooo!!, my friend… I’m not hurrying you , by all means, take all your time in the world. Firsts thing first. Life comes first.
I’m just a bit ‘excited’ when debugging something, when trying to find the reason whats behind the error.
Please don’t get me wrong, I’m a patient, maybe that just doesn’t sounds like. I just like to put all the things ‘on the table’, 'cause , believe me or not , I am visiting famous Alzheimer club a little too much hehe
**uck the campaign and all ,it comes the second/third. First is the family. I know we’re all a bit childish in the heart , or we wouldn’t have heart for this anyway
Dear friend, forgive me if I sounded rude, it wasn’t my intention.
Cheers Falcas,
WFDon’t worry I didn’t take it like that. And I know exactly how it feels when you work on something and you can’t continue as you run into a wall
gr Falcas
-
Say, wouldn’t you know maybe how to manually (instantly) control offensive/defensive stance of the team, by TRI? or something…
#change_priotities seems doesn’t do much , and on may places referred redundantI know there is a way to set this in MC , teams-actions tab, but that doesn’t work so well, … it comes off very quickly, initiative?, because ‘playground’ overall situation isn’t favorable at the moment.
Vu2 is very dynamic and so inert (like atmosphere) , so you must think in a big… huge picture , not just in small increments. Changes happen slowly not instant. Well, ingenious. , reminds on real strategy examples.
I’m thinking that some of the ‘sliders’ can be set in falcon4.aii file , there are ATM/GTM entries for control of ‘thinking’ time , is this still used?
Because there are entries that seems are not used (hardcoded) eg. pilot name index … is now used in cam file and even can be set in MC on squadron page.Thnx
WF -
Got a problem with flight screen. The window is streched out all over the screen but the lower part is not showing (cancel and apply buttons), and i can’t resize the window.
My screen resolution 1920X1080
MC ver. 0.5.4.282 -
Got a problem with flight screen. The window is streched out all over the screen but the lower part is not showing (cancel and apply buttons), and i can’t resize the window.
My screen resolution 1920X1080
MC ver. 0.5.4.282ok, i tried it with MC ver. 0.4.9.189 and it is fine . . .
-
there is a file in your MC directory ‘setup.ini’ , inside you’ll find these two lines: StartWidth=1680 ; StartHeight=1032 ; (not with these values, numbers)
Adjust to your monitor pixel offset , if first monitor and/or single it will probably be 0 ; 0 ;
Then adjust window as normal.
…or you could probably delete that file and MC will create new setupRegards
-
there is a file in your MC directory ‘setup.ini’ , inside you’ll find these two lines: StartWidth=1680 ; StartHeight=1032 ; (not with these values, numbers)
Adjust to your monitor pixel offset , if first monitor and/or single it will probably be 0 ; 0 ;
Then adjust window as normal.
…or you could probably delete that file and MC will create new setupRegards
Did all what u suggested, even took the values from the old version . . . not working.
The problem is only on the flights windows . . . can not resize the windows (no double edged arrows at the borders). -
Ahh, flight windows!! , no you can’t resize them. or, I don’t know how.
Here’s all OK with them , they should be correct out of the box.Hmmm, what OS do you use , Win10? , and do you use that slider for enlarging in control panel\display … here’s what I mean on Win8.
If so , return that slider to normal/recommended and see if that caused window glitch.
-
I use Win7 Ultimate 64Bit. I don’t have this option.
And as i said in oldest version of MC, all is o.k. -
I use win7 ultimate 64bit. I don’t have this option.
And like i said, in an older version of MC, all is ok.sorry for the double post.