Jump to content

jcarrest

Member
  • Content Count

    20
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by jcarrest


  1. I tested with this line since my system is 64 bits.

    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jamvm ./arma3server -netlog -config=basic.cfg

    Result:

    ./arma3server: error while loading shared libraries: libjvm.so: wrong ELF class: ELFCLASS64

    the path directions are good.

    I have tried with java version 6 and 7.

    Ubuntu 12.04

    .....

    :(


  2. when I create a group of enemies triggering a script in a box,

    create a group by player.

    if (isServer) exitWith {
    
    _minusculas = _this select 0;
    
    
    switch (typeName _minusculas) do {
         case "ARRAY": {_pos = _minusculas};                   //position
         case "OBJECT": {_pos = getposATL _minusculas};        //object
         case "STRING": {_pos = getMarkerPos _minusculas};     //marker
    };
    
    _pos = getMarkerPos _minusculas;
    pen = "Land_PenBlack_F" createVehicle (_pos);
    pen allowDamage false;
    _centro = (_pos);
    
    _random = (round(random 2) + 1);
    	for "_i" from 0 to _random do
    {
    _randompatrol = (round(random 200) + 200);
    _randomdistance = (round(random 150) + 200);
    _randomPos = [[[getPos pen,_randomdistance]],["water","out"]] call BIS_fnc_randomPos;
    _grp = createGroup east;
    _grp = [getMarkerPos "athira", EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfSquad")] call BIS_fnc_spawnGroup;
    [_grp, getPos pen, _randompatrol] call BIS_fnc_taskPatrol;
    
    
    Sleep 1;
    };

    I tested with:

    if (isServer)

    if (isDedicated)

    if (!isServer)

    if (!isDedicated)

    I do not know which is the correct for mi dedicated server...


  3. First thank you all for the help.

    I tried this:

    _Cscomunicaciones = format ["<t align='center'>...</t>"];
    GlobalHint = _Cscomunicaciones;
    publicVariable "GlobalHint";
    hintsilent parseText _Cscomunicaciones;
    
    waitUntil{!(isNull player)};
       "GlobalHint" addPublicVariableEventHandler {
           hintSilent parseText GlobalHint;
       };  
    
    _scomunicaciones = format ["<t align='center'>...</t>"];
    GlobalHint = _scomunicaciones;
    publicVariable "GlobalHint";
    hintsilent parseText _scomunicaciones;  
    
    waitUntil{!(isNull player)};
       "GlobalHint" addPublicVariableEventHandler {
           hintSilent parseText GlobalHint;
       };  

    Not if I understand correctly but does not work.

    If you guys could clarify, would you do me very happy...

    in a trigger works but when I try to do it from the flag only sees the text the player to select the mission.


  4. I have a serious problem with "HINT PARSETEXT".

    I can not be published to all players.

    Try activated from a flag, but only you can read it,

    the player who triggers the script.

    Any idea in order to complete my script?

    This is the script I'm creating:

    switch (secundario) do
    {
    
    case "false":
    {
    
    
    SMunits = [];
    secundario = true;
    sleep 5;
    _Cscomunicaciones = "<t align='center'><t size='2.2'>Mission Secundaria</t><br/><t size='1.5' color='#00B2EE'>COMPLETADA</t><br/>____________________<br/>Buen trabajo! <br/><br/>Torre Destruida</t>";
    
    
    _scomunicaciones = "<t align='center'><t size='2.0'>OBJ. SECUNDARIO</t><br/><t size='1.5' color='#00B2EE'>COMUNICACIONES</t><br/>____________________<br/>Tenemos que destruir la Torre de Comunicaciones para desestabilizar al enemigo.</t>";
    hint parsetext _scomunicaciones;
    _position = ["water","out"] call BIS_fnc_randomPos;
    
    sideObj = "Land_TTowerBig_1_F" createVehicle _position;
    sideObj allowDamage false;
    sideObj setdir random 360;
    _normal = surfaceNormal (position sideObj);
    sideObj setVectorUp _normal;
    SMunits = SMunits + [sideObj];
    	_random = (round(random 2) + 1);
    	for "_i" from 0 to _random do 
    	{
    	_randompatrol = (round(random 200) + 200);
    	_randomdistance = (round(random 150) + 200);
    	_randomPos = [[[getPos sideObj,_randomdistance]],["water","out"]] call BIS_fnc_randomPos;
    	_spawnGroup = [_randomPos, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfTeam")] call BIS_fnc_spawnGroup;
    	[_spawnGroup, getpos sideObj,_randompatrol] call BIS_fnc_taskPatrol;
    	SMunits = SMunits + (units _spawnGroup);
    	};
    
    	/*
    	{
    	_randompatrol = (round(random 200) + 200);
    	_randomdistance = (round(random 150) + 200);
    	_randomPos = [[[getPos sideObj,_randomdistance]],["water","out"]] call BIS_fnc_randomPos;
    	_spawnGroup = [_randomPos, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfTeam")] call BIS_fnc_spawnGroup;
    	[_spawnGroup, getpos sideObj,_randompatrol] call BIS_fnc_taskPatrol;
    	SMunits = SMunits + (units _spawnGroup);
    	};
    
    	_randomPos = [[[getPos sideObj, 50]],["water","out"]] call BIS_fnc_randomPos;
    	_spawnGroup = [_randomPos, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfTeam_AT")] call BIS_fnc_spawnGroup;
    	[_spawnGroup, getpos sideObj] call BIS_fnc_taskDefend;
    	SMunits = SMunits + (units _spawnGroup);
    	_randomPos = [[[getPos sideObj, 10]],["water","out"]] call BIS_fnc_randomPos;
    	_spawnGroup = [_randomPos, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "SpecOps" >> "OI_diverTeam_SDV")] call BIS_fnc_spawnGroup;
    	[_spawnGroup, getpos sideObj] call BIS_fnc_taskDefend;
    
    	SMunits = SMunits + (units _spawnGroup);
    		*/
    		"sideMarker" setmarkerpos (position sideobj);
    		"sideMarker" setmarkertext "Destruir Torre";
    		"sideMarker" setmarkercolor "ColorRed";
    
    		trgc_0 = createTrigger["EmptyDetector", getPos sideObj];
    		trgc_0 setTriggerArea[13,13,0,true];
    		trgc_0 setTriggerActivation["WEST","PRESENT",false];
    		trgc_0 setTriggerStatements["this"," sideobj allowDamage true ",""];
    
    		publicVariable "trgc_0";
    
    
    
    
    		waitUntil {!alive sideObj};
    		"sideMarker" setMarkerPos [0,0,0];
    		"sideMarker" setmarkertext "";
    		//"sideMarker" setmarkeralpha 0;
    
    
    		deleteVehicle trgc_0;
    		hint parsetext format _Cscomunicaciones;
    		secundario = "false";
    		publicvariable "secundario";
    		sleep 60;
    		{deletevehicle _x} foreach SMunits;
    		deleteVehicle trgc_0;
    		exit
    		};
    		Default {
    
    hint "Ya existe una misión secundaria asignada";};
    
    };
    };

    Thanks!!!!


  5. we have been unable to load the profile with wine.

    We want to turn the cursor and 3rd person view.

    Someone can guide us or write your boot line?

    This script is the one we use today:

    #!/bin/sh
    cd /home/Arma3P/ && nohup wine arma3server2.exe -ip=xx.xxx.xxx.xx -exThereads=1 -port=2406 "-profiles=/home/Arma3P/profiles" -name=rds -profile=/home/Arma3P/profiles -cfg=/profiles/Arma3.cfg -config=rds.cfg

    Thanks for the help!


  6. I mean:

    In the list of files appear 1 second, as "new" and then there are red but on the list but even that up on the left indicates the number of files that exist, correctly.

    total files:75 Ok:4

    New:71

    By not appear on the list does not synchronize the files.

    The repository is current, the same as the first post.

    Thanks helling3r

    I invite you to synchronize so you can see the problem.

    http://46.105.124.58/arma/Arma2NonOrig.7z


  7. Everything worked fine on my linux machine (and server) except for one detail that will not let me use it.

    The example is an island that has the server (dual). The folder is called "@ Duala" with its corresponding subfolder called "addons". Everything in "addons" is created fine but when the customer checks the mods, it detects the files as "new" but it disappears instantly.

    Clearly I need your help (sorry for my english)

    This is my configuration xml:

    <?xml version="1.0" standalone="yes"?>

    <DSInput xmlns="http://tempuri.org/DSInput.xsd">

    <InputFolders>

    <FolderPath>/home/arma2/@duala</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@duala/addons</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@panthera</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@panthera/addons</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@fallujah1_2</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@fallujah1_2/addons</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@sap</FolderPath>

    </InputFolders>

    <InputFolders>

    <FolderPath>/home/arma2/@sap/addons</FolderPath>

    </InputFolders>

    <BaseFolders>

    <FolderPath>/home/arma2</FolderPath>

    </BaseFolders>

    <Server>

    <AddonPwd />

    <AddonURL>http://46.105.124.58/arma/Arma2NonOrig.7z</AddonURL>

    <AddonUserName />

    <AutorunTS>false</AutorunTS>

    <GameIP>46.105.124.58</GameIP>

    <GamePort>2302</GamePort>

    <GamePwd />

    <HomePage>http://www.rincondesimulacion.com</HomePage>

    <Name>RDSislas</Name>

    <TSAnonimous>true</TSAnonimous>

    <TSChannel />

    <TSChannelPwd />

    <TSIp>46.105.124.58</TSIp>

    <TSNickname />

    <TSPort>9987</TSPort>

    <TSPwd />

    <TSUser />

    <Version />

    <Game>arma2oapc</Game>

    </Server>

    <Signing>

    <PublicKeysDirectory>c:\MyPublicKeysDir</PublicKeysDirectory>

    <PrivateKeyBaseAuthorityName>YomaIsCool</PrivateKeyBaseAuthorityName>

    <PrivateKeyPath>c:\MyPrivateKeys\MyKey.txt</PrivateKeyPath>

    <doSignFiles>false</doSignFiles>

    <doAutoGeneratePrivateKey>false</doAutoGeneratePrivateKey>

    <doDeleteOldSignFiles>false</doDeleteOldSignFiles>

    </Signing>

    <Repository>

    <doAutoCompare>false</doAutoCompare>

    <doAutoUpload>false</doAutoUpload>

    <doCloseApplicationAfterBuild>true</doCloseApplicationAfterBuild>

    <doDeleteOutputFolder>true</doDeleteOutputFolder>

    <doCompressFiles>true</doCompressFiles>

    <FTPHostName />

    <FTPUserName />

    <FTPPassword />

    <FTPEnableSSL>false</FTPEnableSSL>

    <FTPUseBinary>true</FTPUseBinary>

    <FTPUsePassive>true</FTPUsePassive>

    <FTPPort>21</FTPPort>

    <FTPDestinationFolder />

    <doShowFTPMessages>false</doShowFTPMessages>

    <doMailLogFile>false</doMailLogFile>

    <MailToAddress />

    <MailCCAddresses />

    <MailBCCAddresses />

    <MailSMTPServer />

    <MailSMTPUser />

    <MailSMTPPwd />

    <MailReplyToAddress />

    </Repository>

    </DSInput>

×