Jump to content

Ilusionz

Independent Helper
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Ilusionz

  1. Got a Windows logo, split it in to 4 parts like so: Then I have a for loop that goes 6 times like this: for [{_i = 0}, {_i < 6}, {_i = _i + 1}] do { _metro1 ctrlShow true; uiSleep 0.2; _metro1 ctrlShow false; _metro2 ctrlShow true; uiSleep 0.2; _metro2 ctrlShow false; _metro3 ctrlShow true; uiSleep 0.2; _metro3 ctrlShow false; _metro4 ctrlShow true; uiSleep 0.2; _metro4 ctrlShow false; }; After the for loop is finished, I have all 4 images fade out using ctrlSetFade, then I have a final full image of the logo fade in at the same time (image below) and also immediately fade out.
  2. Tiny progress update! Added a lock screen -- It's not much at the moment, but I'm hoping to fill it with stuff soon. ArmA_3_2019_08.04_-_03_23_53.01_1.mp4
  3. Small update - Been tinkering with a few things like working time display, a loading screen & an actual texture for the phone. Again, none of this is final. Comp_1_1.mp4
  4. I've been working on a Metro-style design/overhaul for Altis Life's Y Menu. This video shows off the color customization available to players. Please remember this is a work in progress, so nothing is final (this is a bare-bones version). If you have any suggestions as to what would be good to put on the phone, feel free to let me know! Comp 1.mp4
  5. Also, I'll need to see your fn_requestReceived.sqf, fn_updatePartial.sqf and fn_updateRequest.sqf.
  6. Could you please log in as medic and post your client-side RPTs?
  7. Never had a problem with Zare personally. DDoS protection was on point when I had a server from them.
  8. In your server config. There's an array of virtual items (saved_items?) that you must add the debit card to. Although I'm sure I have already done that.
  9. If you found the solution, could you please elaborate on what the issue was? Was it my script?
  10. If you want a U.K. Based server - https://zare.com/dedicated-servers Every day of the week.
  11. I'll hopefully be getting back in to ArmA soon so I will be taking another look at these scripts and may possibly update them. Thanks to those who have been helping people with problems while I wasn't here.
  12. Yup, like I said every class name (not the string that appears in the menu) is in alphabetical order in the menu config. That's why it's probably a bit confusing.
  13. I've been busy working so I missed your original post. Could you please elaborate on what you 'fixed'? Just in case it is a problem with my original scripts? That would be helpful.
  14. Try this: if(FETCH_CONST(life_coplevel) > 1) then { player addUniform "U_B_CombatUniform_mcam"; player addVest "V_Rangemaster_belt"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "16Rnd_9x21_Mag"; player addMagazine "30Rnd_65x39_caseless_mag_Tracer"; player addMagazine "30Rnd_65x39_caseless_mag_Tracer"; player addMagazine "30Rnd_65x39_caseless_mag_Tracer"; player addMagazine "30Rnd_65x39_caseless_mag_Tracer"; player addMagazine "30Rnd_65x39_caseless_mag_Tracer"; player addWeapon "hgun_P07_snds_F"; player addWeapon "arifle_MXC_ACO_pointer_snds_F"; player addItem "ItemMap"; player assignItem "ItemMap"; player addItem "ItemCompass"; player assignItem "ItemCompass"; player addItem "ItemWatch"; player assignItem "ItemWatch"; player addItem "ItemGPS"; player assignItem "ItemGPS"; };
  15. Example: fn_copLoadout.sqf if(FETCH_CONST(life_coplevel) == 1) then { player addUniform "U_Rangemaster"; }; if(FETCH_CONST(life_coplevel) > 2) then { player addUniform "U_B_CombatUniform_mcam"; }; Here, cop level 1 will have the Range Master Uniform, and rank 2 will have the combat uniform. Don't use these loadouts as they're incomplete. They're just examples. fn_playerSkins.sqf case west: { if (uniform player isEqualTo "U_B_CombatUniform_mcam") then { _skinName = "textures\Uniforms\cop_uniform.paa"; if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then { if (FETCH_CONST(life_coplevel) >= 2) then { _skinName = ["textures\Uniforms\cop_uniform_",(FETCH_CONST(life_coplevel)),".paa"] joinString ""; }; }; player setObjectTextureGlobal [0, _skinName]; }; if (uniform player isEqualTo "U_Rangemaster") then { _skinName = "textures\Uniforms\pcso_uniform.paa"; player setObjectTextureGlobal [0, _skinName]; }; unitBackpack player setObjectTextureGlobal [0,""]; }; That's what I used when both the Rangemaster Uniform, and the Combat uniform were being used on the server.
  16. Check your battleye logs. It'll tell you. (Most likely scripts.log)
  17. Fixed. Please re-download the .rar file, and move the new fn_weaponShopBuySellDebit.sqf and fn_virt_buyDebit.sqf over to your server and over-write the old files. Apologies for any inconvenience. If anyone else is also having the same issue, please do the same (this is for 4.4r3 only). Also, if anyone is having issues with players respawning with no gear, or licenses, please check your fn_mresArray.sqf is updated with the following fix: (4.4r3 only) https://github.com/AsYetUntitled/Framework/commit/db66e545ef02faec2a2e9fd152eb5260b3deab8a Thanks again @Jason_000!
  18. Added compatibility for Altis Life 4.4r3. Virtual Item Compatibility will be coming in the future. Huge thanks to @CptGooch for helping out. Helped me avoid one hell of a headache.
  19. Mandatory update if you're using database saving: Fixed an issue where cop/medic debit cards weren't saving to the Database and were causing errors. Also fixes this: If you've already installed these scripts, please update the following files: (tutorial has also been updated) life_server\Functions\MySQL\fn_updateRequest.sqf /* File: fn_updateRequest.sqf Author: Bryan "Tonic" Boardwine Description: Updates ALL player information in the database. Information gets passed here from the client side file: core\session\fn_updateRequest.sqf */ private ["_uid","_side","_cash","_bank","_licenses","_gear","_stats","_name","_alive","_position","_query","_thread","_debitCiv","_debit"]; _uid = [_this,0,"",[""]] call BIS_fnc_param; _name = [_this,1,"",[""]] call BIS_fnc_param; _side = [_this,2,sideUnknown,[civilian]] call BIS_fnc_param; _cash = [_this,3,0,[0]] call BIS_fnc_param; _bank = [_this,4,5000,[0]] call BIS_fnc_param; _licenses = [_this,5,[],[[]]] call BIS_fnc_param; _gear = [_this,6,[],[[]]] call BIS_fnc_param; _stats = [_this,7,[100,100],[[]]] call BIS_fnc_param; _alive = [_this,9,false,[true]] call BIS_fnc_param; _position = [_this,10,[],[[]]] call BIS_fnc_param; _debitCiv = [_this,11,false,[true]] call BIS_fnc_param; _debit = [_this,8,false,[true]] call BIS_fnc_param; switch (_side) do { case west: {_query = format ["UPDATE players SET name='%1', cash='%2', bankacc='%3', cop_gear='%4', cop_licenses='%5', cop_stats='%6', playtime='%7', debit='%8' WHERE pid='%9'",_name,_cash,_bank,_gear,_licenses,_stats,_playtime_update,[_debit] call DB_fnc_bool,_uid];}; case civilian: {_query = format ["UPDATE players SET name='%1', cash='%2', bankacc='%3', civ_licenses='%4', civ_gear='%5', arrested='%6', civ_stats='%7', civ_alive='%8', civ_position='%9', playtime='%10', debit='%11' WHERE pid='%12'",_name,_cash,_bank,_licenses,_gear,[_this select 8] call DB_fnc_bool,_stats,[_alive] call DB_fnc_bool,_position,_playtime_update,[_debitCiv] call DB_fnc_bool,_uid];}; case independent: {_query = format ["UPDATE players SET name='%1', cash='%2', bankacc='%3', med_licenses='%4', med_gear='%5', med_stats='%6', playtime='%7', debit='%8' WHERE pid='%9'",_name,_cash,_bank,_licenses,_gear,_stats,_playtime_update,[_debit] call DB_fnc_bool,_uid];}; }; Altis_Life.Altis\core\session\fn_updateRequest.sqf #include "..\..\script_macros.hpp" /* File: fn_updateRequest.sqf Author: Tonic Description: Passes ALL player information to the server to save player data to the database. */ private ["_packet","_array","_flag","_alive","_position"]; _packet = [getPlayerUID player,(profileName),playerSide,CASH,BANK]; _array = []; _alive = alive player; _position = getPosATL player; _flag = switch (playerSide) do {case west: {"cop"}; case civilian: {"civ"}; case independent: {"med"};}; { _varName = LICENSE_VARNAME(configName _x,_flag); _array pushBack [_varName,LICENSE_VALUE(configName _x,_flag)]; } forEach (format ["getText(_x >> 'side') isEqualTo '%1'",_flag] configClasses (missionConfigFile >> "Licenses")); _packet pushBack _array; [] call life_fnc_saveGear; _packet pushBack life_gear; _array = []; _array pushBack life_hunger; _array pushBack life_thirst; _array pushBack (damage player); _packet pushBack _array; switch (playerSide) do { case civilian: { _packet pushBack life_is_arrested; _packet pushBack _alive; _packet pushBack _position; _packet pushBack life_has_debit; }; case west: { _packet pushBack life_has_debit; }; case independent: { _packet pushBack life_has_debit; }; }; if (life_HC_isActive) then { _packet remoteExecCall ["HC_fnc_updateRequest",HC_Life]; } else { _packet remoteExecCall ["DB_fnc_updateRequest",RSERV]; };
  20. Added compatibility for 4.x (I tested specifically on 4.4r3 so if you run in to any issues on other versions please message me) Please use this in your config_vItems.hpp: //THIS IS NOT A SHOP, IT IS JUST THE LIST OF ITEMS THE MARKET PULLS - IT IS IN ALPHABETICAL ORDER class ymarket { name = "STR_Shops_yMarket"; side = ""; license = ""; level[] = { "", "", -1, "" }; items[] = {"apple", "blastingcharge", "boltcutter", "cannabis", "catshark", "catshark_raw", "cement", "cocaine_processed", "cocaine_unprocessed", "coffee", "copper_refined", "copper_unrefined", "defibrillator", "defusekit", "diamond_cut", "diamond_uncut", "donuts", "fuelEmpty", "fuelFull", "glass", "goat", "goat_raw", "goldbar", "hen", "hen_raw", "heroin_processed", "heroin_unprocessed", "iron_refined", "iron_unrefined", "lockpick", "mackerel", "mackerel_raw", "marijuana", "mullet", "mullet_raw", "mushrooms", "oil_processed", "oil_unprocessed", "ornate", "ornate_raw", "peach", "pickaxe", "rabbit", "rabbit_raw", "redgull", "rock", "rooster", "rooster_raw", "salema", "salema_raw", "sand", "salt_refined", "salt_unrefined", "sheep", "sheep_raw", "spikeStrip", "storagebig", "storagesmall", "toolkit", "tbacon", "tuna", "tuna_raw", "turtle_soup", "turtle_raw", "waterBottle"}; };
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.