Jump to content

Autonomous CAP and GCI AI fighter script


SNAFU

Recommended Posts

I spoke with BIGNEWY about reporting this. There is a difficulty in that we don't get traction for two reasons. Firstly its the moving target scenario where ED are concentrated on getting to 2.5. Second its that we supply a reproduction that only involves an external script with behaviour ED doesn't anticipate as a core function of it's product.

 

I've written in another post, my actions personally is that I'm not pursuing a fix on this version, given the timing and time of year it happened and the larger picture. But I am watching.

 

In the meantime, reduce the CAP's. it works.

 

Any guidance on max numbers of A/C or numbers of CAP flights? Do a/c in GCI flights count against the aggregate numbers?

Link to comment
Share on other sites

  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

So i've not tested with those numbers or anywhere in between them and 8 AI aircraft total.

 

If you bring it down two at a time until it doesn't crash it might give you a ballpark number, although who knows how valid that is as a test. Given I have 8, the mission I checked had 18, try 12 first, if it doesnt crash try again. If it doesn't crash at the same place it doesn't mean it wont crash somewhere else, but, and it's a big but, if it's something to do with tasking multiples at one time, then the first RTB might have been the trigger and subsequently less aircraft will be tasked later by sheer randomisation.

 

I'm guessing a lot too, but I was speaking with a dev and he might be able to reproduce a function using MISAT that we can spam and test with)

 

(I've never had GCI actually work in GCI CAP for some reason!)

 

Any guidance on max numbers of A/C or numbers of CAP flights? Do a/c in GCI flights count against the aggregate numbers?

Edited by Pikey
+

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

OK tried 8v8 and got the same crash

00851.695 INFO EDCORE: # -------------- 20170111-170808 --------------

00851.702 INFO EDCORE:

00851.703 INFO EDCORE: # C0000005 ACCESS_VIOLATION at B7CED787 00:00000000

00851.708 INFO EDCORE: 00000000 00000000 0000:00000000

00851.718 INFO EDCORE: B7CED787 00FAEBD0 0000:00000000 ?isGroup@wControl@@QEBA_NXZ()+7

00851.721 INFO EDCORE: C14ED3D4 00FAEC10 0000:00000000 ?regLuaEnv@Scripting@@YAXPEAUlua_State@@_N@Z()+8B4

00851.723 INFO EDCORE: C3F47254 00FAEC50 0000:00000000 luaD_growstack()+7A4

00851.730 INFO EDCORE: C3F56FB5 00FAEDD0 0000:00000000 luaS_newlstr()+49C5

00851.732 INFO EDCORE: C3F47541 00FAEE00 0000:00000000 luaD_growstack()+A91

00851.734 INFO EDCORE: C3F4684F 00FAEF80 0000:00000000 lua_getinfo()+11AF

00851.741 INFO EDCORE: C3F4785E 00FAEFC0 0000:00000000 lua_yield()+9E

00851.742 INFO EDCORE: C3F5C8E3 00FAF010 0000:00000000 luaL_newstate()+20C3

00851.742 INFO EDCORE: C3F47254 00FAF050 0000:00000000 luaD_growstack()+7A4

00851.743 INFO EDCORE: C3F56FB5 00FAF1D0 0000:00000000 luaS_newlstr()+49C5

00851.743 INFO EDCORE: C3F47541 00FAF200 0000:00000000 luaD_growstack()+A91

00851.743 INFO EDCORE: C3F4684F 00FAF380 0000:00000000 lua_getinfo()+11AF

00851.744 INFO EDCORE: C3F4785E 00FAF3C0 0000:00000000 lua_yield()+9E

00851.744 INFO EDCORE: C3F42440 00FAF410 0000:00000000 lua_pcall()+60

00851.745 INFO EDCORE: C14FA8BD 00FAF440 0000:00000000 ?regLuaStaticObject@Scripting@@YAXPEAUlua_State@@@Z()+37D

00851.745 INFO EDCORE: C4EA642F 00FAF4C0 0000:00000000

00851.746 INFO EDCORE: C4EA6975 00FAF510 0000:00000000

00851.746 INFO EDCORE: FBA26CF8 00FAF580 0000:00000000

00851.746 INFO EDCORE: FBA2E4C1 00FAF5E0 0000:00000000

00851.747 INFO EDCORE: FBA1C354 00FAF610 0000:00000000

00851.747 INFO EDCORE: FBA1C2A4 00FAF640 0000:00000000

00851.748 INFO EDCORE: FB6F743F 00FAFCF0 0000:00000000

00851.749 INFO EDCORE: FBB32ABD 00FAFD30 0000:00000000

00851.751 INFO EDCORE: D08D8102 00FAFD60 0000:00000000 BaseThreadInitThunk()+22

00851.752 INFO EDCORE: D0C1C5B4 00FAFDB0 0000:00000000 RtlUserThreadStart()+34

00851.871 INFO EDCORE: Minidump created.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

I would like to see this in the ME.

 

1. You place a unit as "Late Activation"

2. Choose a trigger "Random Spawn"

3. Choose how many spawns.

 

This way folks would not have to worry about flags and such. Sure it would be simple but it would work.

Link to comment
Share on other sites

Crash seems pretty consistant, around the 15/20 minute mark.

 

This one didn't crash for me, I let it run to 30 minutes and it was still doing fine.

 

I have attached my mission. I can't figure out why it crashes from 15 to 30 minutes in. I reverted to MIST 73 from 74. I only have two CAPS and GCIs.

 

I am at a loss.

 

This mission did crash at around 30 minutes in. Gonna see if I can make it crash any faster.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

So, I got a couple of hours with one CAP and two 'dynamic' intercept flights per side. Crash happened just after I shot down the intercept flight dispatched to shoot me down.

 

Also have been trying the latest version of GCICAP, the one modified 7 months ago, it is not listed in the releases on Github, that only lists up to 1.0 rc5 which is one year and two days old now and was the version I had been using until yesterday.

 

I will try triggering the intercept flight and shooting it down to see if I can trigger the crash again or if that is a coincidence later today.

Link to comment
Share on other sites

GCICAP might safely crash the game on the surface, but it never used to with the same code. The conclusion is that DCS changed.

So, I got a couple of hours with one CAP and two 'dynamic' intercept flights per side. Crash happened just after I shot down the intercept flight dispatched to shoot me down.

 

Also have been trying the latest version of GCICAP, the one modified 7 months ago, it is not listed in the releases on Github, that only lists up to 1.0 rc5 which is one year and two days old now and was the version I had been using until yesterday.

 

I will try triggering the intercept flight and shooting it down to see if I can trigger the crash again or if that is a coincidence later today.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

It is looking like we're just going to have to accept that for now there isn't really anything we can do.

 

On a side note, if anyone has any interesting M2000C coop missions available please let me know. Without this script, finding it so difficult to even get motivated to make any kind of missions.

Link to comment
Share on other sites

Challenge accepted. only 2 mirages needed.

 

Waypoint centric strike mission, in the style of the Viggen. Be fuel conservative, make sure you are really good at CCRP at low level. You have to hit a target under the nose of an s300 and a Mig29 CAP and run like fk.

 

You wont open the misison and look it for too long, I'd like to hear how you get on. Enjoy sub 50m ingress... :)

 

It is looking like we're just going to have to accept that for now there isn't really anything we can do.

 

On a side note, if anyone has any interesting M2000C coop missions available please let me know. Without this script, finding it so difficult to even get motivated to make any kind of missions.

lightsout2.miz

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

GCICAP might safely crash the game on the surface, but it never used to with the same code. The conclusion is that DCS changed.

 

The good news is I was unable to recreate the crash on the tester build. The mission that crashed for me in 1.5.5 went for 1 hour and 40 minutes before I decided to stop the test. Just gonna have to wait for the next patch.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

Hey guys,

For me the script in version 1.5.5 doesn't crash, but it doesn't work. I have 2 CAP groups with 2 planes per group set at startup, but only 1 CAP group spawns and it immediately gets a RTB task. After it lands the 2 planes park and never despawn. After that NO new CAP groups or GCI groups are ever spawned. Haven't changed anything in my mission and it used to work as it should, so I guess ED changed something lately which broke the script.

Link to comment
Share on other sites

Well this is good news. 2.04 lasted out to cover live, thanks for considering the issue Grimes.

The good news is I was unable to recreate the crash on the tester build. The mission that crashed for me in 1.5.5 went for 1 hour and 40 minutes before I decided to stop the test. Just gonna have to wait for the next patch.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

Hi, I looked at two missions posted here just to confirm we were seeing the same issue, but I don't see any value in doing the same on this version, as if you have a configuration issue, fixing it only leaves you still int he broken state that everyone else is seeing.

If you have this on the next version then forward to the post and someone might check it for you.

Hey guys,

For me the script in version 1.5.5 doesn't crash, but it doesn't work. I have 2 CAP groups with 2 planes per group set at startup, but only 1 CAP group spawns and it immediately gets a RTB task. After it lands the 2 planes park and never despawn. After that NO new CAP groups or GCI groups are ever spawned. Haven't changed anything in my mission and it used to work as it should, so I guess ED changed something lately which broke the script.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Link to comment
Share on other sites

Challenge accepted. only 2 mirages needed.

 

Waypoint centric strike mission, in the style of the Viggen. Be fuel conservative, make sure you are really good at CCRP at low level. You have to hit a target under the nose of an s300 and a Mig29 CAP and run like fk.

 

You wont open the misison and look it for too long, I'd like to hear how you get on. Enjoy sub 50m ingress... smile.gif

We will accept the challenge of your challenge. :P Hoping to get a chance this week, will report back.

 

Cheers for posting it Pikey.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...