Jump to content

bullkanox

Member
  • Content Count

    19
  • Joined

  • Last visited

  • Medals

Community Reputation

5 Neutral

About bullkanox

  • Rank
    Private First Class

Contact Methods

  • Steam url id
    Savage

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, it's good to know that it was helpful, the script that I wrote to you. if it is something difficult for you, think how complicated it is for me not to know English ...! and try to explain you! =) I am also a newbie with the codes (script), but I try. I'm from Argentina and I'm using the Google translator.
  2. Bayer try this: 1- Create initPlayerLocal.sqf on root folder of you mission and paste this code inside the initPlayerLocal.sqf _player = player; _player_id = getPlayerUID player; _player_name = profileName; // INIDBI2 /////////////////////////////////////////////////////// _inidbi2 = ["new", _player_id] call OO_INIDBI; _check_db = "exists" call _inidbi2; systemChat format ["DataBase exists: ---%1---", _check_db]; if (_check_db) then { _load_profile = execVM "Load_Profile.sqf"; } else { _save_profile = execVM "Save_Profile.sqf"; }; 2- Create save_profile.sqf on root folder of you mission and paste this code inside the save_profile.sqf _player = player; _player_id = getPlayerUID player; _player_name = profileName; // INIDBI2 /////////////////////////////////////////////////////// _inidbi2 = ["new", _player_id] call OO_INIDBI; // Save Profile ////////////////////////////////////////////////// _write_loc = ["write", [_player_name, "location", position _player]] call _inidbi2; systemChat "Saved Profile"; 3- Create load_profile.sqf on root folder of you mission and paste this code inside the load_profile.sqf _player = player; _player_id = getPlayerUID player; _player_name = profileName; // INIDBI2 /////////////////////////////////////////////////////// _inidbi2 = ["new", _player_id] call OO_INIDBI; // Load Profile Player /////////////////////////////////////////// _read_loc = ["read", [_player_name, "location"]] call _inidbi2; _player setPos _read_loc; systemChat "Loaded Profile";
  3. oh sorry, I wrote the code wrong. At this moment I am not at home, when I arrive I write you a test code.
  4. Try this: _my_database = ["new", _player_id] call OO_INIDBI; // Call database _check_my_database = "exists" call _db; // Check if database exists, if exists return TRUE, if not the result is FALSE systemChat format ["DataBase exists: ---%1---", _check_db]; //Debug
  5. hello code34, I just added the link of Github in the description of the mod in workshop, I await your comment. Thank you
  6. I forgot to mention that I took the audacity to upload the mod (INIDBI2) to the workshop, with the two .dll (32 & 64 bits) inside the root folder, in the description I mention the link to the original post. If it is inappropriate or offensive that I did this, I eliminate it from the workshop. regards INIDBI2 Workshop
  7. Hi, only save and load profile (health, oxygen, loadout, direction and location), you can restart, change the name of the mission, but the database will always be the same, remember that the data is saved on the server, not on the client. I'm working on a new script update, my idea is that you can store vehicles, equipment boxes, objects, etc. Thanks for your question
  8. Hi, im create this script. InitPlayerLocal.sqf ------------ Auto init / Intro Black Screen / Check Database / Wait Time For Charges / Create Profile (if no exists) / Load Profile (if exists) / Autosave Profile for 5 Minutes (Optional) Save_Profile.sqf----------------- Check Database / Save Profile / Save: Location+Direction+Oxygen+Health+Inventory Load_Profile.sqf----------------- Check Database / Load Profile / Load: Location+Direction+Oxygen+Health+Inventory Im job for more options and updates, example Save/Load: Vehicles, Ranking, etc... InitPlayerLocal.sqf ////////////////////////////////////////////////////////////////// // Function file for: Arma 3 // Created by: Savage // Clan: CalaverasCMP // Web : www.CalaverasCMP.com ////////////////////////////////////////////////////////////////// // Auto init ///////////////////////////////////////////////////// sleep 0.001; // Wait time. titleCut ["", "BLACK FADED", 999]; // Start black screen intro _player = _this select 0; // _player = player; // You _player_id = getPlayerUID player; // Number of Steam ID _player_name = profileName; // Name of player _db = ["new", _player_id] call OO_INIDBI; // Call database _check_db = "exists" call _db; // Check if database exists, if exists return TRUE, if not the result is FALSE // systemChat format ["DataBase exists: ---%1---", _check_db]; //Debug sleep .001; // Wait time if (_check_db) then { // If _check_db is TRUE load this _load_profile = execVM "Load_Profile.sqf"; // Execute SQF sleep .001; // Wait Time titleText ["Loading Your Profile...\n\nPlease Wait!","PLAIN", 5]; // Show text on center screen titleFadeOut 2; sleep 10; // Wait time } else { // If _check_db is FALSE load this _save_profile = execVM "Save_Profile.sqf"; // Execute SQF sleep .001; // Wait time titleText ["Creating your profile...\n\nPlease wait!","PLAIN", 5]; // Show text on center screen titleFadeOut 2; sleep 10; // Wait time }; sleep .001; // Wait time "dynamicBlur" ppEffectEnable true; "dynamicBlur" ppEffectAdjust [6]; "dynamicBlur" ppEffectCommit 0; "dynamicBlur" ppEffectAdjust [0.0]; "dynamicBlur" ppEffectCommit 5; titleCut ["", "BLACK IN", 5]; // Close black screen sleep 2; // Wait time // Auto Save Profile ///////////////////////////////////////////// []spawn { while {true} do { sleep 300; // wait time (300 Seconds = 5 Minutes). _auto_save_profile = execVM "Save_Profile.sqf"; // Execute SQF systemChat "Profile Save"; // Show message on system chat }; }; ////////////////////////////////////////////////////////////////// Save_Profile.sqf ////////////////////////////////////////////////////////////////// // Function file for: Arma 3 // Created by: Savage // Clan: CalaverasCMP // Web : www.CalaverasCMP.com ////////////////////////////////////////////////////////////////// // Save Profile ////////////////////////////////////////////////// // _player = _this select 1; _player = player; // You _player_id = getPlayerUID player; // Number of Steam ID _player_name = profileName; // Name of player _db = ["new", _player_id] call OO_INIDBI; // Call database _check_db = "exists" call _db; // Check if database exists, if exists return TRUE, if not the result is FALSE // systemChat format ["DataBase exists: ---%1---", _check_db]; //Debug sleep .002; // Wait time //============ Save Stats //PLAYER _write_db = ["write", [_player_name, "location", position _player]] call _db; _write_db = ["write", [_player_name, "direction", getDir _player]] call _db; _write_db = ["write", [_player_name, "oxygen", getOxygenRemaining _player]] call _db; _write_db = ["write", [_player_name, "health", damage _player]] call _db; //INVENTORY _write_db = ["write", [_player_name, "getUnitLoadout", getUnitLoadout _player]] call _db; sleep .002;// Wait Time systemChat "Save Profile Complete"; // Show System Chat Load_Profile.sqf ////////////////////////////////////////////////////////////////// // Function file for: Arma 3 // Created by: Savage // Clan: CalaverasCMP // Web : www.CalaverasCMP.com ////////////////////////////////////////////////////////////////// // Load Profile ////////////////////////////////////////////////// // _player = _this select 1; _player = player; // You _player_id = getPlayerUID player; // Number of Steam ID _player_name = profileName; // Name of player _db = ["new", _player_id] call OO_INIDBI; // Call database _check_db = "exists" call _db; // Check if database exists, if exists return TRUE, if not the result is FALSE // systemChat format ["DataBase exists: ---%1---", _check_db]; //Debug sleep .002; // Wait time //============ Load Stats // PLAYER _read_db = ["read", [_player_name, "location"]] call _db; _player setPos _read_db; sleep .001; _read_db = ["read", [_player_name, "direction"]] call _db; _player setDir _read_db; sleep .001; _read_db = ["read", [_player_name, "health"]] call _db; _player setDamage _read_db; sleep .001; _read_db = ["read", [_player_name, "oxygen"]] call _db; _player setOxygenRemaining _read_db; sleep .001; // INVENTORY _read_db = ["read", [_player_name, "getUnitLoadout"]] call _db; _player setUnitLoadout _read_db; sleep .001; systemChat "Load Profile Complete"; Thanks for this mod......[Code34]...........!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  9. is solved? ? Enviado desde mi SM-G935F mediante Tapatalk
  10. In the trigger on activation condition put blu_f and put sound script on activation, only blu_f detect the sound. Enviado desde mi SM-G935F mediante Tapatalk
  11. Search on arma 3 wiki say3d and playsound3d Enviado desde mi SM-G935F mediante Tapatalk
  12. bullkanox

    IF STATEMENT HELP

    _asd = selectRandom [1,2]; if (_asd == 1) then { hint "Result 1"; } else {}; if (_asd == 2) then { hint "Result 2"; } else {};
  13. Thanks Pierremgi for your support. I continue trying to solve how I could get to solve my idea and I get to do the following code and I work! [Google translate =)] _fnc_grupo = [[p1, p2], [stash_1, stash_2]]; _fnc_buscar_player = (_fnc_grupo select 0) find player; // search 1° group array / result: p1 (work) _fnc_buscar_gabinete = (_fnc_grupo select 1) select _fnc_buscar_player; // search 2° group / Result: Stash_1 (work) if (dinero < 100) then { hint "No tienes el dinero suficiente para comprar esto!" } else { dinero = dinero - 100; _fnc_buscar_gabinete addWeaponCargoGlobal ["rhs_weap_m4a1_blockII_bk", 1]; _fnc_buscar_gabinete addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag", 1]; hintSilent parseText format["<t color='#00FF3C'>Gracias por tu compra</t>"]; };
  14. Hi, i need to know if i can detect what player is executing the script, and then depending of the name of the player send it to the box. thanks for support!!! _fnc_group = [["player_1", box_1], ["player_2", box_2]]; _fnc_select = (_fnc_group select 0) select 1; if (cash< 100) then { hint "no money to buy this!" } else { cash = cash - 100; _fnc_select addWeaponCargoGlobal ["rhs_weap_m4a1_blockII_bk", 1]; _fnc_select addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag", 1]; hintSilent parseText format["<t color='#00FF3C'>thanks for for you buy</t>"]; };
  15. There is the possibility of designating an object a radio and listen to live radio conversations between several players without the need to lug around a radio in the inventory? Example: a diagram of how serious the idea, a radio inside an object which reproduces conversations air live ... Radio + Object = Listen on air = player_1, player_2, player_3, etc appreciate the help!!!
×