Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4320705 - 12/17/16 02:34 PM Latest Patch, broke CGICAP script (MIST) ?  
Joined: Sep 2014
Posts: 797
leaf_on_the_wind Offline
Member
leaf_on_the_wind  Offline
Member

Joined: Sep 2014
Posts: 797
Hi Folks,
Does anyone else use the CGICAP script, it has worked great for me for last few months
But since yesterday I keep getting error pop-ups everytime a new group is spawned


https://github.com/lukrop/GCICAP
https://github.com/mrSkortch/MissionScriptingTools



Ferengi Rule of acquisition #1 Once you have their money ... never give it back.

Inline advert (2nd and 3rd post)

#4320930 - 12/18/16 12:51 PM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Oct 1999
Posts: 522
Stonehouse Offline
Member
Stonehouse  Offline
Member

Joined: Oct 1999
Posts: 522
Sydney,NSW,Australia
Any errors in dcs.log? Or can you provide a screen shot of the error pop up you are seeing? I've seen quite a few posts about trigger zone related issues after the last patch so it wouldn't surprise me if that was related to your issue. Assuming that the mission you are using was working pre-patch then it may be a case of wait for the hot fix/next patch.

#4320935 - 12/18/16 01:13 PM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Sep 2014
Posts: 797
leaf_on_the_wind Offline
Member
leaf_on_the_wind  Offline
Member

Joined: Sep 2014
Posts: 797
Hi Stonehouse, thanks for replying, yes the mission worked great until new patch
Now every time a new air unit is spawned it get an error message pop-up

I reverted my install to last weeks version and it works again


Sent you a PM with the logfile

Last edited by leaf_on_the_wind; 12/18/16 01:19 PM.


Ferengi Rule of acquisition #1 Once you have their money ... never give it back.

#4321090 - 12/18/16 10:54 PM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Oct 1999
Posts: 522
Stonehouse Offline
Member
Stonehouse  Offline
Member

Joined: Oct 1999
Posts: 522
Sydney,NSW,Australia
Yeah appears to be line 1513 that fails, it's trying to get the details of the template aircraft but even though line 1507 seems to work ok as you don't get the error from 1509 in the log something has changed so that when the code tries to get the group for the template aircraft and then use it to get the name which is then passed to the mist function to get the template aircraft details like skin etc the getName part fails. So I think the getGroup is not returning anything. Possibly the update altered how getGroup works with late activation units (which is what the template aircraft is).

I notice that you seem to be using the beta, is it possible for you to try it on the latest release version? If so give it a go and advise what happens.

function gcicap.spawnFighterGroup(side, name, size, airbase, spawn_mode, task, zone, cold)
1506 local template_unit_name = gcicap[task].template_prefix..side..math.random(1, gcicap.template_count)
1507 local template_unit = Unit.getByName(template_unit_name)
1508 if not template_unit then
1509 gcicap.log:error("Can't find template unit $1. This should never happen.\
1510 Somehow the template unit got deleted.", template_unit_name)
1511 return nil
1512 end
1513 local template_group = mist.getGroupData(template_unit:getGroup():getName())
1514 local template_unit_data = template_group.units[1]
1515 local airbase_pos = airbase:getPoint()
1516 local group_data = {}
1517 local unit_data = {}
1518 local onboard_num = template_unit_data.onboard_num - 1


<edit>
I'm seeing other people report problems with getGroup so looks like you are waiting for a hotfix.

Last edited by Stonehouse; 12/18/16 11:12 PM.
#4334944 - 02/06/17 07:35 AM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Sep 2014
Posts: 797
leaf_on_the_wind Offline
Member
leaf_on_the_wind  Offline
Member

Joined: Sep 2014
Posts: 797
Hi Stone house, iS this wokring ok on 1.5.6 ?



Ferengi Rule of acquisition #1 Once you have their money ... never give it back.

#4334948 - 02/06/17 08:03 AM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Oct 1999
Posts: 522
Stonehouse Offline
Member
Stonehouse  Offline
Member

Joined: Oct 1999
Posts: 522
Sydney,NSW,Australia
Not 100% sure - haven't had a lot of time for DCS of late. Someone noticed that non numeric tail numbers cause a problem - which was introduced for MC2000 and Spitfire - and I suggested they get lukrop (current code developer) to do a code fix. I thought I saw reports from Pikey that it was ok under 1.5.6 but could be mistaken. I don't know of any reasons for it not to and ED fixed their group function so give it a go if you've time.

#4334956 - 02/06/17 09:33 AM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Oct 1999
Posts: 522
Stonehouse Offline
Member
Stonehouse  Offline
Member

Joined: Oct 1999
Posts: 522
Sydney,NSW,Australia

#4334965 - 02/06/17 10:13 AM Re: Latest Patch, broke CGICAP script (MIST) ? [Re: leaf_on_the_wind]  
Joined: Sep 2014
Posts: 797
leaf_on_the_wind Offline
Member
leaf_on_the_wind  Offline
Member

Joined: Sep 2014
Posts: 797
Thanks stone house, I will get a 1.5.6 install set-up in parallel with 1.5.5

I tried slmod (for server auto kick noobs who teamkill yesterday)

MIST + GCICAP + slmod = server pooped itself after about 1 hour frown

Tried it a few times , but she wouldnt stay up long

Last edited by leaf_on_the_wind; 02/06/17 10:13 AM.


Ferengi Rule of acquisition #1 Once you have their money ... never give it back.


Moderated by  Force10, RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
CD WOFF
by Britisheh. 03/28/24 08:05 PM
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0