Jump to content

[kh]jman

Member
  • Content Count

    886
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by [kh]jman

  1. [kh]jman

    Arma2NET

    How about if you defined an optional startup switch for server admins rather like: -arma2netrpt=E:\Server-Public
  2. [kh]jman

    Arma2NET

    HeliJunkie, with the greatest of respect and I'm glad for any advice offered, however I suggest that you make sure of your basic facts first. It does not really help matters. Thank you for the new dll Scott but I'm afraid it's still not returning anything. Could you write an output to the RPT when the dll is loaded by Arma2 rather like jayarmalib does? i.e 2012/05/05, 21:33:49 "JayArmA2Lib: ACTIVE"
  3. [kh]jman

    Arma2NET

    Ok I've tested on the dedicated with the new dll and the test mission. No file is written in c:\ at all and the server returns an empty string once again. My conclusion is that Arma2NET fails to load on Windows dedicated server. Here are the RPT logs: @Arma2NET loaded from Arma2 Root folder: ===================================================================== == E:\Programs\ArmA2-Private\Expansion\beta\arma2oaserver.exe == E:\Programs\ArmA2-Private\Expansion\beta\arma2oaserver.exe -arma2netdev -port=2502 -name=Server-Public -config=E:\Server-Public\Server-Public.cfg -cfg=E:\Server-Public\ArmA2-Public.cfg -profiles=E:\Server-Public -mod=expansion\beta;expansion\beta\expansion;E:\Programs\ArmA2\@CBA;E:\Programs\ArmA2\@CBA_A2;E:\Programs\ArmA2\@CBA_OA;@Arma2NET ===================================================================== Exe timestamp: 2012/04/26 16:34:46 Current time: 2012/05/05 13:31:05 Version 1.60.92329 2012/05/05, 13:31:05 ca\missions\MPScenarios\MP_Deathmatch.chernarus: string @str_mpdeathmatch_subname cannot be localized client-side - move to global stringtable 2012/05/05, 13:31:15 ca\missions\MPScenarios\MP_Deathmatch.chernarus: string @str_mpdeathmatch_subname cannot be localized client-side - move to global stringtable 2012/05/05, 13:31:32 [5340,154.937,0,"XEH: PreInit Started. v1.0.0.179. MISSINIT: missionName=Arma2NET_serverTest, worldName=utes, isMultiplayer=true, isServer=true, isDedicated=true"] 2012/05/05, 13:31:33 [5340,155.81,0,"XEH: PreInit Finished. CACHE DISABLED? (Disable caching with cba_disable_cache.pbo): SLX_XEH_RECOMPILE=false, CBA_COMPILE_RECOMPILE=false, CBA_FUNC_RECOMPILE=false"] 2012/05/05, 13:31:33 [5341,156.073,0,"XEH: PostInit Started"] 2012/05/05, 13:31:33 [5341,156.11,0,"CBA_VERSIONING: cba=1.0.0.180, cba_a2=1.0.0.8, cba_oa=1.0.0.6, "] 2012/05/05, 13:31:33 [5341,156.123,0,"XEH: PostInit Finished. State: _isClient=false, _isJip=false, _isDedClient=false, _isServer=true, _isDedServer=true, _playerCheckDone=true, _sp=false, _startInitDone=true, _postInitDone=true, _mpRespawn=false, _machineType=0, _sessionId=1, _level=0, _timeOut=false, _game=1, BIS_functions=L 1-1-A:1, group=L 1-1-A"] 2012/05/05, 13:31:40 Server: Object 3:2 not found (message 225) 2012/05/05, 13:31:40 ["SERVER _servertime: ","","STRING"] @Arma2NET loaded from expansion\beta (just incase!) ===================================================================== == E:\Programs\ArmA2-Private\Expansion\beta\arma2oaserver.exe == E:\Programs\ArmA2-Private\Expansion\beta\arma2oaserver.exe -arma2netdev -port=2502 -name=Server-Public -config=E:\Server-Public\Server-Public.cfg -cfg=E:\Server-Public\ArmA2-Public.cfg -profiles=E:\Server-Public -mod=expansion\beta;expansion\beta\expansion;E:\Programs\ArmA2\@CBA;E:\Programs\ArmA2\@CBA_A2;E:\Programs\ArmA2\@CBA_OA;expansion\beta\@Arma2NET ===================================================================== Exe timestamp: 2012/04/26 16:34:46 Current time: 2012/05/05 13:34:45 Version 1.60.92329 2012/05/05, 13:34:45 ca\missions\MPScenarios\MP_Deathmatch.chernarus: string @str_mpdeathmatch_subname cannot be localized client-side - move to global stringtable 2012/05/05, 13:35:01 ca\missions\MPScenarios\MP_Deathmatch.chernarus: string @str_mpdeathmatch_subname cannot be localized client-side - move to global stringtable 2012/05/05, 13:35:17 [2234,85.932,0,"XEH: PreInit Started. v1.0.0.179. MISSINIT: missionName=Arma2NET_serverTest, worldName=utes, isMultiplayer=true, isServer=true, isDedicated=true"] 2012/05/05, 13:35:17 [2234,86.864,0,"XEH: PreInit Finished. CACHE DISABLED? (Disable caching with cba_disable_cache.pbo): SLX_XEH_RECOMPILE=false, CBA_COMPILE_RECOMPILE=false, CBA_FUNC_RECOMPILE=false"] 2012/05/05, 13:35:18 [2235,87.044,0,"XEH: PostInit Started"] 2012/05/05, 13:35:18 [2235,87.085,0,"CBA_VERSIONING: cba=1.0.0.180, cba_a2=1.0.0.8, cba_oa=1.0.0.6, "] 2012/05/05, 13:35:18 [2235,87.099,0,"XEH: PostInit Finished. State: _isClient=false, _isJip=false, _isDedClient=false, _isServer=true, _isDedServer=true, _playerCheckDone=true, _sp=false, _startInitDone=true, _postInitDone=true, _mpRespawn=false, _machineType=0, _sessionId=1, _level=0, _timeOut=false, _game=1, BIS_functions=L 1-1-A:1, group=L 1-1-A"] 2012/05/05, 13:35:26 Server: Object 3:2 not found (message 225) 2012/05/05, 13:35:26 ["SERVER _servertime: ","","STRING"]
  4. [kh]jman

    Arma2NET

    Here's a test mission for all you peeps with a dedicated server. NOTE: This mission will only function as intended on a Windows dedicated server. On mine the server returns an empty string. It should return the time on the server. Make sure .NET Framework 4 Client Profile is installed on the server and it's running the latest arma2server beta 1. Install @Arma2NET on the server making sure you have the DateTimePlugin in it's addins folder and upload the mission. 2. No need to install @Arma2NET on client. In this example only the server calls callExtension. 3. Run the mission and the server time should be displayed in the hint box. 4. You can also check RPT on server for the servertime output and on the client where it gets PV'd from the server. Download here
  5. [kh]jman

    Arma2NET

    Many thx Scott.
  6. [kh]jman

    Arma2NET

    No callExtension is not broken on dedicated since as I've said jayarmalib works just fine on the serverside. If someone else could do a test with Arma2NET on dedicated making sure its the __SERVER__ thats doing the "Arma2Net.Unmanaged" callExtension call that would be most helpful.
  7. [kh]jman

    Arma2NET

    Our server is setup correctly. Like I said I have tried both. I believe the problem lies in the Arma2NET dlls somewhere when working off dedicated.
  8. [kh]jman

    Arma2NET

    I'll give it a go thx Scott. ---------- Post added at 11:06 ---------- Previous post was at 11:05 ---------- It's returning an empty string which indicates to me that Arma2NET is not loading on the dedicated. Any ideas? On my local non dedicated i've got @Arma2NET loaded from Arma2 root folder (which works) On the dedicated it's the same. Should I try moving it to expansions\beta ? Edit. Tried that. No go. .NET Framework 4 Client Profile is installed on the server. A serverside "Arma2Net.Unmanaged" callExtension call results in an empty string.
  9. [kh]jman

    Arma2NET

    Our server runs Windows server 2003 The closest directory path to your example on our server is: C:\Documents and Settings\Administrator\Local Settings\Application Data There is no "Arma2NET Logs" directory at that location or any other. Arma2server does not create or save any data to that "ArmA 2 OA" folder path since all server logs are stored at the paths specified in the server's startup switches. i.e in our server arma2oaserver.RPT, ArmA2-Public.cfg, Server-Public.cfg, Server-Public.log, mpStatistics.log are all stored in C:\Server-Public
  10. [kh]jman

    Arma2NET

    Yes. Version 1.60.92329 I'm running the callextension version of Jayarmalib just fine on the same server with no issues. Perhaps you could verify exactly where I would find the "Arma2NET Logs" folder on the dedicated server. I'm running my server config files outside of the game folder i.e: -port=2502 -name=Server-Public -config=C:\Server-Public\Server-Public.cfg -cfg=C:\Server-Public\ArmA2-Public.cfg -profiles=C:\Server-Public -mod=expansion\beta;expansion\beta\expansion;@Arma2NET ... etc
  11. [kh]jman

    Arma2NET

    Scott, I'm working with firefly on the Arma2NET conversion of Arma2MySQL. I can get Arma2NET working just fine with firefly's new Arma2NETMySQLPlugin when I do a local test i.e mission editor->preview but when I put Arma2NET on our dedicated server and call the plugin from a serverside script it does not work, I cannot even see the log files, it does not seem to output any log anywhere. Any ideas? This is the local log output, I put Arma2NET in dev mode on the local test and server test. 05/02/2012 14:15:34 Arma2Net.Managed.Bridge INFO 05/02/2012 14:15:34 Arma2Net.Managed.Bridge INFO Arma2NET 1.7.1.0 (Developer mode: True), CLR 4.0.30319.1 05/02/2012 14:15:34 Arma2Net.Managed.AddIns.AddInManager INFO Rebuilding addins 05/02/2012 14:15:34 Arma2Net.Managed.AddIns.AddInManager INFO Finding addins 05/02/2012 14:15:34 Arma2Net.Managed.AddIns.AddInManager INFO Activated DateTime from DateTimePlugin.DateTime, DateTimePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e (Sandboxed: False) 05/02/2012 14:15:34 Arma2Net.Managed.Bridge INFO Initialised 05/02/2012 14:15:54 Arma2Net.Managed.AddIns.AddInManager INFO Activated Arma2NETMySQL from Arma2NETMySQLPlugin.Arma2NETMySQLPlugin, Arma2NETMySQLPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (Sandboxed: False)
  12. Not anymore McSpeed... http://forums.bistudio.com/showthread.php?103871-CBA-Community-Base-Addons-for-A2-OA-and-CO&p=2135819&viewfull=1#post2135819
  13. [kh]jman

    Camo Nets

    Ok I have this working with ACE units all be it in a way that suits my needs so if anybody wants the code here it is. Place a camo net backpack down in the editor Place a player unit. Preview and pickup the camo net backpack Use the unit's action menu (middle mouse) to deploy/pack the camo net. 1. Add the following code to the init fields of the units that you want to handle camo nets. Parse the classname of the camonet that you want the unit to use via the addaction. this setVariable ["camonetDeployed", false, true]; this addAction ["Deploy Camo Net", "camonetsniper.sqf", ["Deploy","pook_camonet_small_west22"], 51, false, true, "", "!(_target getVariable 'camonetDeployed')"]; this addAction ["Pack Camo Net", "camonetsniper.sqf", ["Pack","pook_camonet_small_west22"], 51, false, true, "", "(_target getVariable 'camonetDeployed')"]; 2. camonetsniper.sqf: if (isDedicated) exitWith {}; _vehicle = _this select 0; _man= _this select 1; _option = (_this select 3) select 0; _net = (_this select 3) select 1; if (_man != player) exitWith {}; if (_option == "Deploy") exitWith { _thispack = unitBackpack _man; _result = [str(_thispack), "pook_camopack.p3d", 0] call CBA_fnc_find; // http://dev-heaven.net/docs/cba/files/strings/fnc_find-sqf.html if (_result != -1) then { sleep 1; _man playMove "aidlppnemstpsraswrfldnon0s"; _man_camonet = _net createVehicle [0,0,0]; _number = floor(random 100000); _man_camonet SetVehicleVarName str(_number); _man_camonet setDir (getDir _man); _man_camonet setPos [ getPos _man select 0, getPos _man select 1, 0]; _man setVariable ["camonetDeployed", true, true]; _man setVariable ["camonetName", (_man_camonet), true]; sleep 2; player sideChat "Camo net deployed"; } else { player sideChat "You are not carrying a camo net backpack"; }; }; if (_option == "Pack") exitWith { _man_camonet = _man getVariable "camonetName"; if (_man distance _man_camonet < 3) then { _man playMove "aidlpknlmstpslowwrfldnon_idlesteady02"; deleteVehicle _man_camonet; _man setVariable ["camonetDeployed", false, true]; _man setVariable ["camonetName", "", true]; sleep 2; player sideChat "Camo net packed"; } else { player sideChat "You're too far from the camo net. Move closer!"; }; }; Download demo mission. Obviously ACE and the camo net addon is required.
  14. [kh]jman

    Arma2MySQL

    We have not no.
  15. [kh]jman

    Arma2MySQL

    Yes correct.
  16. Something like the following should do it: init.sqf onPlayerDisconnected { [_id, _name, _uid] call compile preprocessfilelinenumbers "playerDisconnected.sqf" }; playerDisconnected.sqf _id = _this select 0; _pname = _this select 1; _puid = _this select 2; call saveOnQuit; saveOnQuit = { if (_pname != "__SERVER__") then { _player = objNull; { if (getPlayerUID _x == _puid) exitWith { _player = _x; }; } forEach playableUnits; if !(isNull _player) then { _thisweapons = str(weapons _player); _thismagazines = str(magazines _player); }; }; };
  17. [kh]jman

    ACE for OA 1.13

    Yeah but I don't think you can shoot a banana or touch it off ;)
  18. [kh]jman

    ACE for OA 1.13

    Banana PMSL!!!!! Why would ACE, that strieves for realism have a banana! I can't believe you even asked but it made my day. Thankyou. :)
  19. [kh]jman

    Arma2MySQL

    Sure. I'll pm you with some TS details.
  20. [kh]jman

    Arma2MySQL

    Fantastic Firefly I'll take a look at it over the weekend and integrate it into the PDB scripts. Removing the limitations of the named pipes will make things much more adaptable :)
  21. [kh]jman

    ACE for OA 1.13

    Clearly wrong then since it's locked and loaded! Could be related to: https://dev-heaven.net/issues/28865
  22. [kh]jman

    ACE for OA 1.13

    I believe they did zoom. Edit. Ok I've just done a test myself and for me, it has to be zoomed and in night mode (n) for the white cross hairs to appear and target. It is then locked however the top left missile icon never lights green but nevertheless if I fire the Javelin hits the target.
  23. [kh]jman

    ACE for OA 1.13

    Have there been any changes to the Javelin or any effects on it via the latest ArmA beta patch? I ask because a few of my members have suddenly reported to me that the Javelin will no longer lock a target in any mode.
  24. There appears to be a character limit on the say command which is quite low. If the text is too high it disconnects BERcon.
  25. [kh]jman

    CAA1 public release

    No. Kju finished work on it over 2 years ago. Link: https://dev-heaven.net/news/271
×