Forum Jump :

Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2010-02-18 08:39        
     
Hi,

I keep getting an error using the Coop Essential Pack. Its about at the briefing when it first pops up.

cep_playerside |#|setfriend [_x, 1];
Error Type Any, expected side

That is the error and this is what I use in my init.sqf file to initialize it:

nul =[WEST, [EAST, Resistance], [Civilian], [1, 1], false] exec "coop_essential\cep_init.sqf";

I tried a few variations but it doesn't matter, still the same error.

Does anyone know how to fix it?



Thanks.


Author Message


Posts: 20630
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 43
In-game name: Foxhound

 
#2 Posted at 2010-02-18 16:28        
     
In this topic you find at the last few pages some more info about the CEP (at the beginning its about his first release which was called differently).
http://www.armaholic.com/forums.php?m=posts&p=8102#8102

Maybe you find some info there?
I checked the readme and I see no problem with what you posted above, so maybe another script is bugging?
Do you get that same error on just a blank mission with only a player present (and of course starting the script from the init?

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#3 Posted at 2010-02-19 00:37        
     
@fdnnet

you stumbled upon an error i've made in the readme. The script should be called with execVM and not with exec as it says in the readme. My apologies for that. So in the scriptcall, just write execVM instead of exec and then it should work.


Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2010-02-19 08:55        
     
Ah thanks, now it works. :)

I do sometimes notice that units are being created as I am in the area. And than like they spawn in places behind me or something like that or kinda like teleport almost. I see units disappearing before me sometimes and than other units are created or pop up behind or in front of me or near me.

No problem about the error. :) I like the coop essential pack the most. :)


Btw, is it possible to make an area go to sleep due to for example inactiveness for lets say 10min or whatever?

And another thing I wanted to make with it is a "Round Mission" with Dynamic Attack force. So basically lets say 10 zones all build up and nice as I want, able to go to sleep after for example 10min of inactive time (after it has been activated by for example a player). And use a Dynamic Attack Force which kinda do the same thing only attack instead of defend, so alike the Dynamic Ambush System as described in the manual. And also for them to to respawn if died and go from one objective when completed to the other. And add a trigger for example when an area has been cleared and is empty of enemy forces and than switch to object2 for example.
And if possible to combine it with UPS to have it patrol, if possible but not necessarily specifically. I know it would patrol on its on in any case.
And the idea with the "Round Mission" is, well tied together from objective to objective and with an end. But possible for the ai alone to finish it. I kinda want the computer/ai to do some work.
And also make kinda a Template Mission I can use for other things or missions.

Is that possible too with the coop essential pack or make it into it?



Thanks.


Author Message

Darkhorse  

I pown brains


Posts: 482
Rank:


Level: Member

Country: us
Location: Tennessee
Occupation:
Age:
In-game name:

 
#5 Posted at 2010-02-19 09:22        
     
Wasn't all of Myke's stuff pulled? If there is anywhere I can download the Coop Essential Pack could ya give me a link?



"Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et dulcissimum pro patria bibere. Ergo, bibamus pro salute patriae"


Walter, John & Jane. Traitors then and traitors now.

Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#6 Posted at 2010-02-19 11:14        
     
@Darkhorse
Look at this: http://www.armaholic.com/page.php?id=2010


@fdnnet
I'm sorry, i've switched from ArmA 1 to ArmA 2 so i don not continue developing or expanding the A-CEP. If i see someone having a problem to get it to work, i'll jump in and try to help. But since i'm working on several ArmA 2 projects, i just don't have the time to continue any work on this "old" scriptpack. I'm sorry for you that i can't tell you better news.


Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#7 Posted at 2010-02-20 06:55        
     
Ah ok, np.

Thanks for the help anyway.


Do you know anything else I could use that could do that or a way to make it?


Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#8 Posted at 2010-03-03 11:21        
     
I found another error I was hoping you could fix.

I can't access or use any ammo box or gear. I can press G on foot or in a car and see my own but even if I drop a weapon on the ground I can't pick it up again, I can't access the gear menu of a vehicle nor any bodies.

Its kinda a bummer :D.


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#9 Posted at 2010-03-06 17:01        
     
There is absolutely no code that could cause this issue. Probably a addon do cause it. The A-CEP is quite a long time "in the wild" so such a serious issue would have been reported shortly after release.

A-CEP does spawn AI, it controls them as far as it generates wayponts and keep them (hopefully) moving. It also controls unit caching. Thats basically all it does. Nowhere is any code that could be able to cause such behaviour as you describe it.

Start your ArmA without any addons (and i do mean absolutely no addons), remove all non A-CEP scripts you use and then see if the error still exists.

If it does (which i strongly doubt), please send me a copy of the mission (zip the working folder, don't even think of sending it pbo'ed). and i'll have a look into it.


Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#10 Posted at 2010-03-06 23:37        
     
Ok, I made a blank mission and as soon as I do use the initiation line for the CEP I can't access any gear or ammo box anymore.

Started arma blank, no addons nothing.

So how do I send it to you? Packed the folder in zip as you wanted.

The other error though could have been due, and probably, to I changed the min and max group size to 1 so I could predict exactly how much ai I would put down which is exactly what I wanted to do. But that aside.


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#11 Posted at 2010-03-06 23:40        
     
www.senduit.com


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 49
In-game name: Myke

 
#12 Posted at 2010-03-10 22:10        
     
Ok, can confirm the bug although i have no clue whats causing it. There is absolutely no code inside the A-CEP that interact either with player or other editorplaced objects like an ammobox. There is no hook-in at all and, to be honest, i'm absolutely clueless what goes wrong there.

I'm sorry, i wish i had a solution.


Author Message


Posts: 62
Rank:


Level: Member

Country: ai
Location:
Occupation:
Age:
In-game name:

 
#13 Posted at 2010-03-11 21:53        
     
Yes that is what surprised me too.

Thanks for checking.