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.

armagod

Members
  • Content count

    102
  • Joined

  • Last visited

Community Reputation

10 Good

About armagod

  • Rank
    Advanced Member
  1. redo the tut you must of missed something
  2. case Find_Own_CaseNumber { [] spawn life_fnc_huntingKit; };
  3. how would i make it so only gang leader can deposit and withdraw
  4. Why not post fix here intead of Via PM and Teamspeak to help the community
  5. try F12
  6. guess theres no fix
  7. i keep getting 14:06:19 Error in expression <licenses,_stats,_playtime_update,[_this select 11] call DB_fnc_bool,_uid];}; cas> 14:06:19 Error position: <select 11] call DB_fnc_bool,_uid];}; cas> 14:06:19 Error Zero divisor 14:06:19 File \life_server\Functions\MySQL\fn_updateRequest.sqf [DB_fnc_updateRequest], line 59 my updaterequest /* 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","_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; _debit = [_this,11,false,[true]] call BIS_fnc_param; //Get to those error checks. if ((_uid isEqualTo "") || (_name isEqualTo "")) exitWith {}; //Parse and setup some data. _name = [_name] call DB_fnc_mresString; _gear = [_gear] call DB_fnc_mresArray; _stats = [_stats] call DB_fnc_mresArray; _cash = [_cash] call DB_fnc_numberSafe; _bank = [_bank] call DB_fnc_numberSafe; _position = if (_side isEqualTo civilian) then {[_position] call DB_fnc_mresArray} else {[]}; //Does something license related but I can't remember I only know it's important? for "_i" from 0 to count(_licenses)-1 do { _bool = [(_licenses select _i) select 1] call DB_fnc_bool; _licenses set[_i,[(_licenses select _i) select 0,_bool]]; }; _licenses = [_licenses] call DB_fnc_mresArray; //PLAYTIME _playtime = [_uid] call TON_fnc_getPlayTime; _playtime_update = []; { if ((_x select 0) isEqualTo _uid) exitWith { _playtime_update pushBack [_x select 1]; }; } forEach TON_fnc_playtime_values_request; _playtime_update = (_playtime_update select 0) select 0; switch (_side) do { case west: {_playtime_update set[0,_playtime];}; case civilian: {_playtime_update set[2,_playtime];}; case independent: {_playtime_update set[1,_playtime];}; }; _playtime_update = [_playtime_update] call DB_fnc_mresArray; 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,[_this select 11] 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,[_this select 11] 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,[_this select 11] call DB_fnc_bool,_uid];}; }; _queryResult = [_query,1] call DB_fnc_asyncCall; also EXTDB [14:10:43:769945 +01:00] [Thread 6404] extDB3: SQL: Error MariaDBQueryException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid='76561198084588168'' at line 1 [14:10:43:770020 +01:00] [Thread 6404] extDB3: SQL: Error MariaDBQueryException: Input: UPDATE players SET name='SUPT Hunter', cash='0', bankacc='900000', civ_licenses='"[[`license_civ_driver`,0],[`license_civ_boat`,0],[`license_civ_pilot`,0],[`license_civ_trucking`,0],[`license_civ_gun`,0],[`license_civ_dive`,0],[`license_civ_bountyH`,0],[`license_civ_home`,0],[`license_civ_oil`,0],[`license_civ_diamond`,0],[`license_civ_salt`,0],[`license_civ_sand`,0],[`license_civ_iron`,0],[`license_civ_copper`,0],[`license_civ_cement`,0],[`license_civ_medmarijuana`,0],[`license_civ_cocaine`,0],[`license_civ_heroin`,0],[`license_civ_marijuana`,0],[`license_civ_rebel`,0],[`license_civ_uranium`,0]]"', civ_gear='"[`U_C_Poloshirt_burgundy`,``,``,``,``,[`ItemMap`,`ItemCompass`,`ItemWatch`,`NVGoggles`],``,``,[],[],[],[],[],[],[``,``,``,``],[``,``,``,``],[]]"', arrested='0', civ_stats='"[100,100,0]"', civ_alive='1', civ_position='"[3699.66,13115.4,1.48681]"', playtime='"[2441,0,1]"', debit='0', WHERE pid='76561198084588168'
  8. works perfect 5.0 thanks
  9. BEserver.cfg
  10. no mu Offroad costs 9500 and insurance costs 0
  11. @ThaSillas it works for 5.0 so shud work for 4.4
  12. @- HardyBoy | csgolabz.com the title explains it "add Sell all button" it add a SELL ALL BUTTON to markets and traders
  13. got it all working except 1 problem... the price for insurance id $0 what could be wrong. there is no Errors in RPT and have re done tut 9 times now
  14. if (life_westbankcount <= 1) then { BANK = 200000; // Change this value to change the starting money life_westbankcount = life_westbankcount + 1; }; this is not needed if run on a fresh install as it resets the money every time a cop reconnects.. i added everything except this and works fine