AAD10 Pete
Member-
Content Count
124 -
Joined
-
Last visited
-
Medals
Everything posted by AAD10 Pete
-
How let people sit on a chair?
AAD10 Pete posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi guys What do I have to do to let people, from the beginning of a mission, sit on a chair. For example like the people in the briefing room in one of the first mission of the campaign who all are sitting on their chairs and listen to the commanders briefing. If I give the right animation to the people, they sit too high in the air and pull automatically away the chair-object... Any other possibilities to let people sit on a chair from the beginning of a mission? Thanks for your help -
Freeware tool to spell out written text
AAD10 Pete posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi guys Is there a free tool in the world of the internet to let a computer voice spell own written text? The computer voice should sound as human as possible... I'm looking for an easy way to underlay my missions with spoken text messages without involving more people in the mission making process. Thanks for your help -
The same here. I though about writing a mysql persistent database connection with Java for the upcoming Arma3. But, because the Java future in Arma3 is unsure, I use my sparetime to develop other things in sqf for Arma3 right now.
-
ArmA, view distance and the curvature of Earth
AAD10 Pete replied to dragon01's topic in ARMA 3 - GENERAL
curvature of Earth? The last thing A3 developpers should invest their time for... -
What weapons/vehicles would you like to see in ArmA 3?
AAD10 Pete replied to archaon98's topic in ARMA 3 - GENERAL
Pistol: P 226 Assault rifle: SIG 550, SIG 551 and HK 416 -
:):):)
-
I would appreciate an official statement from BIS to this topic too. thx.
-
Change weapon of PlayerX only on server; How broadcast PlayerX to client?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ah, ok. thx for the information. So I have to catch the values and execute addWeapon on the client system. -
Change weapon of PlayerX only on server; How broadcast PlayerX to client?
AAD10 Pete posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi In my new mission it's necessary to change the weaponloadout of a specific player (for example Player1) with a script, that has to be executed only on the server. Example: If I execute {Player1 addWeapon "M9";} on the server, the specific client of Player1 doesn't get the new weaponload. (Because Player1 is only changed on the server so far) BUT: If I broadcast the Player1 object with {publicVariable "Player1";} or with {publicVariableClient "Player1";} the specific client of Player1 doesn't receive the new weapondatas. Question: How can I broadcast changed Player1 datas (on the server) from the server to all/specific client? Thx for your help. -
Change weapon of PlayerX only on server; How broadcast PlayerX to client?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
But -- if (player == player1) then {} -- has to be executed seperatedly on the client system. I would appreciate a solution that executes only code on the server system. publicVariable "Player1"; executed on the server doesn't fullfil the job? -
use dialog/controls: change text or picture of control dynamically?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
@Deadfast Now it works. Thx a lot! -
use dialog/controls: change text or picture of control dynamically?
AAD10 Pete posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi all In my new mission I would like to present a text or picture on the screen. Therefor I made a dialog class and a control subclass in a *.hpp file included to the description.ext. So far all works fine. I can show the text with cutRsc "SomeTextDialogWithSubClass" or with createDialog "SomeTextDialogWithSubClass". The same for the picture. BUT: If I present the text with cutRsc, I am not able to change the text dynamically anymore with ctrlSetText. If I present the text with createDialog, I enter the dialog-mode with getting the normal mouse pointer etc. Question: How can I present a text from a dialog class with a text-control subclass with the possibility to change the text dynamically but without entering the "normal mouse pointer mode"? BTW: For the dialog class I use the idd=100; for the idc of the control subclass I use idc=101. Both IDs are unique. Thanks for your help in advance. -
use dialog/controls: change text or picture of control dynamically?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
thx for your advice. But it doesn't bring the solution. If I publish the text with cutRsc then I cannot change the text with ctrlSetText anymore. If I publish the text with the createDialog, the function ctrlSetText works fine, but then I am in the Dialog-Mode... -
use dialog/controls: change text or picture of control dynamically?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Help would really be appreciated -
ArmA2 Persistent Database Scripts - WIP
AAD10 Pete replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The Version from 7.9.12 brings some important changes. Thanks and keep up the amazing work! -
ArmA2 Persistent Database Scripts - WIP
AAD10 Pete replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
anyway, would be great to use Arma2Net and the persDB on Arma3! Or I have to write my own Database system on java... keep up the good work! -
ArmA2 Persistent Database Scripts - WIP
AAD10 Pete replied to [kh]jman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How good are the chances (in your opinion) that the persistent database script will run on Arma3 too? -
publicVariable problem with Beta-Patches?
AAD10 Pete posted a topic in ARMA 2 & OA - BETA PATCH TESTING
Since I run Arma2 version 1.60 with one of the latest betapatches I have always the same problem with using publicVariable in script code. The error note is: "error missing ;" But if I look into the script, I wrote: publicVariable "SomeArrayName"; I cant find any script code mistake. While initializing the mission all publicVariables "SomeName"; work fine. But later I get always the above mentioned error message if I use the command publicVariable later on. Strange. Thanks for any help in advance. -
publicVariable problem with Beta-Patches?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA - BETA PATCH TESTING
After same hours more triggering around I am not sure anymore if the program with or without the beta patch is the problem. Or the CBA or the Arma2Net folder... Each time when I think I found the problem, its different again. Right now I am not able to reproduce the error directly with a small example mission. Meanwhile I guess that I have done a mistake somewhere in my new (huge) mission with a lot of scripts and code lines. The error "error missing ;" after using publicVariable could be only the logical following of an error caused before. Anyway, at the weekend I will split up my mission code into several modules and will try to encapsulate the error. Sorry for the possible "false alarm". I will keep you up to date as soon as I am sure why the publicVariable error occures during executing my mission file. -
publicVariable problem with Beta-Patches?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA - BETA PATCH TESTING
My fault. I wrote it the wrong way to this forum. It should be "pubArrDBCommPlayerStrings" not "pubShowPersDBSystemHints ". Now its written correctly in the above post. I will figure it out with "diag_log". -
publicVariable problem with Beta-Patches?
AAD10 Pete replied to AAD10 Pete's topic in ARMA 2 & OA - BETA PATCH TESTING
I guess I found out the problem. Obviously it has nothing to do with the beta patches. I have this problem with the vanilla version 1.60 too. Each time if I have in a sqf file the code: SomeArrayName set [someArrayIndex, _SomeValue]; and if I use later on in the same sqf file the code: publicVariable "SomeArrayName"; I get the above mentioned error. If I use the publicVariable function in an another sqf file, all works fine again... ---------- Post added at 07:48 PM ---------- Previous post was at 07:46 PM ---------- One of the file with the problem: ***************************************************** //StartConnectionPlayerWithServer.sqf _ActPlayer = _this select 0; //Default _ActPlayerIndexTemp = 9999; //Read out DB communication string of this player _ActPlayerIndexTemp = [_ActPlayer]call fncReadOutPlayerIndexThisPlayer; if(_ActPlayerIndexTemp != 9999) then { //Say string to overall connect player with the database and exchange data if record already exists _AddNewStrToExecute = format["%1", (conDBcStrConnectPlayerWithDB + pubDBSeparateMainSign)]; _ArrDBCommPlayerStringsTemp = format["%1",format["%1",pubArrDBCommPlayerStrings select (_ActPlayerIndexTemp-1)] + _AddNewStrToExecute]; pubArrDBCommPlayerStrings set [(_ActPlayerIndexTemp-1), _ArrDBCommPlayerStringsTemp]; //Hint player get startconnection with DB if(pubShowPersDBSystemHints == 1) then {hint "Player get startconnection with DB ";}; publicVariable "pubArrDBCommPlayerStrings"; //<------------------------------------------------- Here occures the problem }; //Terminate this script if(true)exitWith{}; ***************************************************** Second file with the problem: ***************************************************** //HandleDBCommunicationStringOfEachPlayer.sqf _i = 1; _ii = 1; while {_i == 1 AND _ii <= pubMaxAnzHumanPlayers} do { _ActPlayerIndex = _ii; _ActDBCommPlayerString = format["%1",pubArrDBCommPlayerStrings select (_ii-1)]; while {_ActDBCommPlayerString != ""} do { //Readout first string fragment of the DB communicatio string of this player _StrFragmentTemp = [_ActDBCommPlayerString, pubDBSeparateMainSign] call CBA_fnc_split; _AnzFragmThisArr = count _StrFragmentTemp; _StrFirstFragmentTemp = (_StrFragmentTemp select 0); //******************************************************************************* //Process the first string fragment _d=[_StrFirstFragmentTemp, _ActPlayerIndex]execVM "database\functions\general\ProcessThisDBStrFragmOfPlayer.sqf"; waitUntil {scriptDone _d}; //******************************************************************************* //Put fragment together with all rest arrays _StrRestFragmentTemp = ""; for [{_iii=1}, {_iii<_AnzFragmThisArr}, {_iii=_iii+1}] do //Don't start with the index 0 { _StrRestFragmentTemp = _StrRestFragmentTemp + format["%1",(_StrFragmentTemp select _iii)]; }; //Put the rest of the old DB communication string back to the array of this player _ActDBCommPlayerString = _StrRestFragmentTemp; }; pubArrDBCommPlayerStrings set [(_ii-1), _ActDBCommPlayerString]; _ii = _ii + 1; if(_ii >= pubMaxAnzHumanPlayersPosThisMis) then {_i = 0;}; }; publicVariable "pubArrDBCommPlayerStrings"; //<----------------------------------------------------- Here occures the problem //Terminate this script if(true)exitWith{}; ***************************************************** -
Sorry for the delayed answer. Thats it! My Win7 blocked the DLL because the file is coming from a foreign computer. I had to unblock the DLL manually under "properties". Now the DLL works fine. thx
-
I will try to figure that out. But I am not really familiar with C# compiling. Thx for your help anyway
-
Still the same error. Logfile; So far so good: "06/27/2012 18:54:49 Log: Unmanaged side loaded 06/27/2012 18:54:50 Info Successfully loaded into process arma2oa 06/27/2012 18:54:50 Info Arma2NET 1.11.1.0 initializing on CLR 4.0.30319.269 06/27/2012 18:54:50 Info Sandboxing is disabled 06/27/2012 18:54:50 Info Rebuilding addin store 06/27/2012 18:54:50 Info Finding addins 06/27/2012 18:54:50 Info Found addins: Arma2NETMySQL, Activate, IsFunction, Deactivate, _Empty, VersionOfAddIn, CompareVersion, ClrVersion, Version, Functions, CommandLine, DateTime, Dict, Str 06/27/2012 18:54:50 Info Activating base addins 06/27/2012 18:54:50 Info Activated Activate from BaseFunctionsPlugin.Activate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated IsFunction from BaseFunctionsPlugin.IsFunction, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated Deactivate from BaseFunctionsPlugin.Deactivate, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated _Empty from BaseFunctionsPlugin._Empty, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated VersionOfAddIn from BaseFunctionsPlugin.VersionOfAddIn, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated CompareVersion from BaseFunctionsPlugin.CompareVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated ClrVersion from BaseFunctionsPlugin.ClrVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated Version from BaseFunctionsPlugin.Arma2NetVersion, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Activated Functions from BaseFunctionsPlugin.Functions, BaseFunctionsPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 06/27/2012 18:54:50 Info Arma2NET initialized 06/27/2012 18:54:51 Info Activated Arma2NETMySQL from Arma2NETMySQLPlugin.Arma2NETMySQLPlugin, Arma2NETMySQLPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (Sandboxed: False)" Then the old error: "06/27/2012 18:54:52 Error Caught exception System.IO.FileLoadException: Die Datei oder Assembly "file:///C:\Program Files\Bohemia Interactive\ArmA 2\@Arma2NET\AddIns\UtilitiesPlugin\UtilitiesPlugin.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515) Dateiname: "file:///C:\Program Files\Bohemia Interactive\ArmA 2\@Arma2NET\AddIns\UtilitiesPlugin\UtilitiesPlugin.dll" ---> System.NotSupportedException: Es wurde versucht, eine Assembly von einer Netzwerkadresse zu laden, was in früheren Versionen von .NET Framework zum Ausführen der Assembly als Sandkastenassembly geführt hätte. In dieser Version von .NET Framework wird die CAS-Richtlinie standardmäßig nicht aktiviert, dieser Ladevorgang kann daher gefährlich sein. Wenn Sie nicht beabsichtigen, durch diesen Ladevorgang eine Sandkastenassembly zu erstellen, aktivieren Sie den loadFromRemoteSources-Schalter. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=155569". bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) bei System.Reflection.Assembly.LoadFrom(String assemblyFile) bei System.AddIn.Hosting.ActivationWorker.Activate() bei System.AddIn.Hosting.AddInActivator.ActivateInAppDomain[T](AddInToken pipeline, AppDomain domain, AddInControllerImpl controller, Boolean weOwn) bei System.AddIn.Hosting.AddInActivator.Activate[T](AddInToken token, AppDomain target) bei System.AddIn.Hosting.AddInToken.Activate[T](AppDomain target) bei Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(AddInToken token, Boolean disableSandboxing) bei Arma2Net.Managed.AddIns.AddInManager.ActivateAddIn(String addInName, Boolean disableSandboxing) bei Arma2Net.Managed.AddIns.AddInManager.InvokeAddIn(String addInName, String addInArgs, Int32 maxResultSize) bei Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)"