Welcome to Altis Life RPG

Register now to gain access to all of our features.
Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.


Note that you can now sign-in with your Steam account.


This message will be removed once you have signed in.

  • Announcements

    • Rozo

      Donations   09/18/2016

      Hello,
        We've added a donation block on the right side. All of those donation goes directly to the developer of Altis Life mod ( currently BoGuu ). None of that money is used to maintain the forum. In the future we might add a donation button to support the forum, but for now we want to encourage the developer because they went through a lot. To discuss this topic - Here
    • Shakir Darwish

      IS YOUR SERVER BROKEN SINCE 1.64 UPDATE?   09/22/2016

      If your server is broken since 1.64 go check this link thanks. https://github.com/AsYetUntitled/Framework/issues/104
    • Rozo

      Sad Day   01/04/2017

      Good evening community of Altis Life RPG, Today was a sad day. We learned the hard way that one of the helper was using his status and visibility on the forum to do things i wouldn't imagine.  We were warned about this user in the beginning, we talked about his behavior and he said that they were things of the past. We were fooled.
      Unfortunately, he fooled other community members by selling stolen content and impersonating his role as a developer in another community. Here's a remember of one of the rules on our forum, No selling scripts, snippets, or services.   So if anyone come across someone who's selling his services, scripts or whatever, Report them. Especially if it's coming from an Helper, Mod, Admin. No one in the staff should ask for money, we already mention this when we reopened the forum and that rule is here to stay.

      We can't be sorry enough for what happen here, for any harm it as caused among other communities, for money that shouldn't been spent and we truly hope this doesn't happen again.

      As for the user in question, he is now banned from our forum and discord and we wish to never cross his path again.
        If there's anything we can do hit us on Discord or send a message to an admin.
      Thanks, Rozo.

HappyDuckie

Members
  • Content count

    90
  • Joined

  • Last visited

Community Reputation

15 Good

About HappyDuckie

  • Rank
    Advanced Member

Recent Profile Visitors

120 profile views
  1. [Database] need to be altislife [altislife] IP = 127.0.0.1 Port = 3306 Username = altislife Password = 123 Database = altislife
  2. Author: HappyDuckie Difficulty: Easy Version: All What this script or peace of code do, is it block the option for civilian to chopshop a vehicle with a specify texture. So, you can put like donation texture in there too if you want. We only need to edit one file in the Altis_Life.Altis. So, located the file "core/shops/fn_chopShopSell.sqf" and either you just replace the hole document with this #include "..\..\script_macros.hpp" /* File: fn_chopShopSell.sqf Author: Bryan "Tonic" Boardwine Description: Sells the selected vehicle off. */ disableSerialization; private ["_control","_price","_vehicle","_nearVehicles","_price2","_chopable"]; _control = CONTROL(39400,39402); _price = _control lbValue (lbCurSel _control); _vehicle = _control lbData (lbCurSel _control); _vehicle = call compile format ["%1", _vehicle]; _chopable = LIFE_SETTINGS(getArray,"chopShop_vehicles"); _nearVehicles = nearestObjects [getMarkerPos life_chopShop,_chopable,25]; _vehicle = (_nearVehicles select _vehicle); _texture = getObjectTextures cursorObject; if ((str _texture find "\med.jpg" > -1) || (str _texture find "\cop.jpg" > -1) || (str _texture find "\cop1.jpg" > -1) || (str _texture find "\med1.jpg" > -1)) exitWith {hint"You can't chopshop that vehicle!";}; if (isNull _vehicle) exitWith {}; hint localize "STR_Shop_ChopShopSelling"; life_action_inUse = true; _price2 = CASH + _price; [0] call SOCK_fnc_updatePartial; if (life_HC_isActive) then { [player,_vehicle,_price,_price2] remoteExecCall ["HC_fnc_chopShopSell",HC_Life]; } else { [player,_vehicle,_price,_price2] remoteExecCall ["TON_fnc_chopShopSell",RSERV]; }; if (LIFE_SETTINGS(getNumber,"player_advancedLog") isEqualTo 1) then { if (LIFE_SETTINGS(getNumber,"battlEye_friendlyLogging") isEqualTo 1) then { advanced_log = format [localize "STR_DL_AL_choppedVehicle_BEF",_vehicle,[_price] call life_fnc_numberText,[CASH] call life_fnc_numberText]; } else { advanced_log = format [localize "STR_DL_AL_choppedVehicle",profileName,(getPlayerUID player),_vehicle,[_price] call life_fnc_numberText,[CASH] call life_fnc_numberText]; }; publicVariableServer "advanced_log"; }; closeDialog 0; If you had edit this file or you just want to put it in by yourself. Well here is the small code. Just place it under the variables so it's the first statement. _texture = getObjectTextures cursorObject; if ((str _texture find "\med.jpg" > -1) || (str _texture find "\cop.jpg" > -1) || (str _texture find "\cop1.jpg" > -1) || (str _texture find "\med1.jpg" > -1)) exitWith {hint"You can't chopshop that vehicle!";}; Edit the "\med.jpg" and so on to your textures name. So if it's textures\fancy.jpg or somewhere else it do not matter where in the mission folder your textures are located you simple just type the texture name and the extensions (.jpg/.png/.paa) If you want to add a new check just simple copy and paste "(str _texture find "\med.jpg" > -1)" and remember to do || between them. Thanks for testing it out @BlackScaryZ
  3. 20:24:55 "extDB2: Error with Database Connection"
  4. Could you get his RPT file? You can find that in the %appdata%, go one back in the directory and go under local and the Arma 3. In there you will see the clients RPT file. Could you give us the latest one Have you tried to reinstall his arma? Have you checked if he had the addons/file in his arma 3?
  5. Haha Glad that I do not go to school anymore. I remember that time you had phones with keyboard and you use to write messages under the table without looking #PrayForRodriguez
  6. fn_antidupe.sqf antidupe = 1; sleep 2; antidupe = 0; We use 1 global variable therefor we need to navigate into configuration.sqf and place "antidupe = 0;" under Backed Varibales. Where all the others life_ things are For we can call this function "fn_antidupe.sqf". We need to put it under functions.h. So therefor navigator and find that document in your server. Seach after "core\functions" and under there you will put "class antidupe {};". Remember we do not put "fn" or the file extension in here After that you can call this function everywhere in your script. Use this for exsample. In the top of your code if(antidupe == 1) exitWith {hint "Do not spam the function!";}; in the end of your code [] spawn life_fnc_antidupe;
  7. Ups I think I fucked something up here let med just rewrote the code.
  8. Well you could make a simple funtion So first off lets make a function. Called it "fn_antidupe.sqf". Place it in core\functions. In here we will create a simple sleep function that you can call in your scripts fn_antidupe.sqf antidupe = 1; sleep 2; antidupe = 0; We use 1 global variable therefor we need to navigate into configuration.sqf and place "antidupe = 0;" under Backed Varibales. Where all the others life_ things are For we can call this function "fn_antidupe.sqf". We need to put it under functions.h. So therefor navigator and find that document in your server. Seach after "core\functions" and under there you will put "class antidupe {};". Remember we do not put "fn" or the file extension in here After that you can call this function everywhere in your script. Use this for exsample. In the top of your code if(antidupe == 1) exitWith {}; antidupe = 1; in the end of your code if(antidupe == 1) then { antidupe = 0; };
  9. Why do you want a sleep funtion?
  10. Sadly I do not give out my scripts. Otherwise my server is not unique anymore. You should just use this one. A lot of people can use it. So you had properly fucked something up
  11. I must say I'm getting a headache reading your comments @silencedaxis with big letters on every single words. Please stop that. It could be a error you have in your fn_spawnPointCfg.sqf.
  12. I do not use this, I have my own one Just helping people in this forum. Just really weird that your database seems working fine and when you connect to query is getting log in your servers RPT. Well I do not know what you have done wrong but something is F..... up
  13. it's the right one, but there are no query. So when you connect to the server, the server should request to your database and get your infomation. But somehow it do not do that. Could you give me the extdb log. Should be in @extdb -> logs -> dato
  14. And you had tried to connect to your server in that RPT file. Becase there are no query in RPT file where a person and tried to connect to the database. Are you even sure the server is starting up? You got this error. 11:12:38 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted. a3_characters_f You could try to do what I tell you in my previously post