Jump to content

GregRUS

Member
  • Content Count

    39
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by GregRUS

  1. GregRUS

    JayArma2Lib

    Seems its a great addon! But I cant make it work ;( I installed CBA, jayarma2lib and copied existing sqlite db to arma II folder. Then exec: _testhandler = ["mytest.sqlitedb"] call jayarma2lib_fnc_sqlOpen; [_testhandler, "create table testing(number,string);"] call jayaram2lib_fnc_sqlExec; [_testhandler, "insert into test values(1, 'foobar') "] call jayaram2lib_fnc_sqlExec; _rowArray = [_testhandler, "select * from test"] call jayaram2lib_fnc_sqlExecSelect; [_testhandler] call jayarma2lib_fnc_sqlClose; And nothing happens.. really looked for the answer on the inet for 2 hours.. Maybe I miss some DLL or smthg? All I need - is save/load some stringarrays from a file or sql db... Thank you.
  2. Hello! I know how to loadfile and compile it... but how to save variables to file? Like player ID's and weapon equipment attached to them?
  3. Thank you.. but what about linux? JayArma2Lib dll works with win only.
  4. Thank you very much!! It helped!
  5. Hello everyone! I have a problem in my script with "nearestobject" command; I used -showscripterrors and got: '...cts [getpos player, ["LandVehicle"], 5] |#|select 1);_vcl1 distance _vcl2 <=10 and...' Error Whole string in script file is: _player addaction["Attach Vehicle","attact.sqf",["attach", "var1", 2,"tow"],1,false,true,"",'_vcl1 = (nearestobjects [getpos player, ["LandVehicle"], 5] select 0);_vcl2 = (nearestobjects [getpos player, ["LandVehicle"], 5] select 1);_vcl1 distance _vcl2 <= 10 and (((typeof _vcl1 in towarray and !(typeof _vcl2 in towarray)) or !((typeof _vcl1 in towarray) and typeof _vcl2 in towarray))) and (player == vehicle player)']; Actually it works anyway but I dont want to leave any errors in my scripts. Hope the answer will be simple xD UPD: Of course there was no vehicles nearby. Also tried to put that string before: if (isnil (nearestobjects [getpos player, ["LandVehicle"], 5] select 1))exitwith {}; ... didnt helped ;(
  6. Hello guys! I wrote a small MP script for some vehicles that can attach/detach another landvehicles but there is a problem: How do I get a boolean of vehicle that have attached another vehicles already to avoid attach collapse? Thanks.
  7. Thank you.. but as I understood this is local variables.. and when I rejoin the server they will disappear... also newly connected users cant see this vars too...
  8. Where I can alternatively download this? URL and WEBSITE isn't working!!!
  9. Hello guys! Trying to make convoy script work.. but soldiers doesnt shoot at me.. What I should to add there? while {true} do { "if(alive player and isciv and player distance gun_truck <= 100)then{titleText [""Leave this area or you will be shot!"", ""plain down""]};" call broadcast; ... Already tried to add player addRating -999999.. but it still doesnt works for me :( Thanks.
  10. Hello. I'm trying to localize Chernarus Life mission and have a problems with that One of them is in the next "VIPtarget" string: player addaction [format [localize "STRS_escort_vip"], "noscript.sqf", "[VIPtarget] join (group player); player groupchat localize "STRS_escort_vip";",1,false,true,"","player distance VIPtarget < 5 and iscop"]; After that next player addaction string doesnt appears in game.. so I think problem is here. Even if I add // before "VIPtarget" string - same problem!?!? :confused: But when I replacing player groupchat localize "STRS_escort_vip"; with player groupchat "SOME TEXT"; - all works! Whats the problem?? P.S. Sorry for my poor english xD
  11. OMG!!! Thank you very much!!! It works for me!!!
  12. GregRUS

    Server stopped show up in lobby

    Same problems... no firewalls or routers.. 100Mbit connection.. and server's ping is 2500 in the list.. Any solutions?
  13. Sometimes (actually after 2 hours, sometimes after 20 mins) I've got "No signal" on my monitor when I play Arma II. I can hear sounds after that about 5-10 secs. Then my PC "freezes"... Only reset can help. Specs: MB: Gigabyte EP35-DS3R CPU: Intel Core 2 Duo E8400 @ 3.00GHz RAM: Kingston PC2-6400 2048x2 DDR2 400Mhz VIDEO: ATI Radeon HD3870 512Mb DDR4 Catalyst: 09.10 and earlier OS: Windows 7
  14. Thanks. I'll try to monitor. P.S. My Graphics Card with passive cooling.(
×