Jump to content

jetfox

Member
  • Content Count

    100
  • Joined

  • Last visited

  • Medals

Posts posted by jetfox


  1. i would like to know the same thing. problem is, if i unpack the showcase,i cannot open it in the editor and the mission.sqm is also not readable...

    Unbinarize the mission then.

     

    as for drop pods:

     

    _item assignAsDriver _para;
    _item moveInDriver _para;
     
    _para setPos [(position _para) select 0, (position _para) select 1, 500];
    [_para, _item] spawn OPTRE_HEV_fnc_podLaunchAI;...
     
    or check the reddit, lots of things on there for helpful information.

  2. Error (RPT) - EPE manager release (0|0|0)

    This error pertains to the MpMissions folder. It's basically saying one of two things:

    1. Your file is corrupt and you need to download a fresh one from the official website and upload it to your MPMissions folder.

    2. Your missions folder does not contain the map you have selected in your config.cfg, you also need to upload it to MPMissions folder.

    btw we need the full log... use www.hastebin.com or something


  3. Its been forever man, I just pulled some of the code from like our year old mission that was part of the money

    ---------- Post added at 10:15 ---------- Previous post was at 10:08 ----------

    I could probably paste the mysql code here its easy to work with in my opinion I believe


  4. okay so im trying to make an variable called Cash save over restart and shit with inidb and this is what im trying to do

    [GetPlayerUID player,"RPP_Cash",Cash, "SCALAR"] call inidb_read; //this one is reading the Cash var but it wont read it and set it to what i had before the restart happend :(
    
    
    [GetPlayerUID player,"RPP_Cash", "Cash", Cash] call iniDB_write; //this is what i use for writing it to the db stuff, and this one works just fine

    So.. something like this?

    _player = getAssignedCuratorUnit _x;
    		if (_x == _player) then {} else {
    			_name = name _x;
    			_name_money = _name + "_money";
    			_pub_name_money = str (_name_money); 
    			_Profile = format["%1", getPlayerUID _x]; 
    			_name_UID = _name + "_" + _Profile;
    			_money = missionNamespace getVariable _pub_name_money;
    			_exist = _name_UID call iniDB_exists;
    			if (isNil {_money}) then {
    				if (_exist) then { _money = [_name_UID, _Profile, "Money", "SCALAR"] call iniDB_read;} else {
    					_money = 100;
    				};
    				[_name_UID, _Profile, "Name", _name] call iniDB_write;
    				[_name_UID, _Profile, "Money", _money] call iniDB_write;
    				_clientID = owner _x;
    				missionNamespace setVariable [_pub_name_money, _money];
    				_clientID publicVariableClient format ["%1", _pub_name_money];
    			} else {
    				if (_money > 999999) then {
    					_offence = "Money over 1 Million";
    					["Report", _Profile, "Name", _name] call iniDB_write;
    					["Report", _Profile, "Different_Money", _money] call iniDB_write;
    					["Report", _Profile, "Offence", _offence] call iniDB_write;
    				};
    				[_name_UID, _Profile, "Name", _name] call iniDB_write;
    				[_name_UID, _Profile, "Money", _money] call iniDB_write;
    				missionNamespace setVariable [_pub_name_money, _money];
    				_clientID = owner _x;
    				_clientID publicVariableClient format ["%1", _pub_name_money];
    				if (isNil {adminOnline}) then {adminOnline = false;};
    				if (isNil {admin1Online}) then {admin1Online = false;};
    				if (isNil {admin2Online}) then {admin2Online = false;};
    				if (adminOnline) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID publicVariableClient format ["%1", _pub_name_money];} else {adminOnline = false;};
    				if (admin1Online) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID1 publicVariableClient format ["%1", _pub_name_money];} else {adminOnline1 = false;};
    				if (admin2Online) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID2 publicVariableClient format ["%1", _pub_name_money];} else {adminOnline2 = false;};
    			};
    		};
    	}forEach playableUnits;
    };
    };

    Your much better off with mysql its alot easier to work with..

    or use our prebuilt system.. http://www.armaholic.com/page.php?id=27734 its not updated practically but yeah... it works see if you can detangle our mess of hell


  5. okay so im trying to make an variable called Cash save over restart and shit with inidb and this is what im trying to do

    [GetPlayerUID player,"RPP_Cash",Cash, "SCALAR"] call inidb_read; //this one is reading the Cash var but it wont read it and set it to what i had before the restart happend :(
    
    
    [GetPlayerUID player,"RPP_Cash", "Cash", Cash] call iniDB_write; //this is what i use for writing it to the db stuff, and this one works just fine

    So.. something like this?

    _player = getAssignedCuratorUnit _x;
    		if (_x == _player) then {} else {
    			_name = name _x;
    			_name_money = _name + "_money";
    			_pub_name_money = str (_name_money); 
    			_Profile = format["%1", getPlayerUID _x]; 
    			_name_UID = _name + "_" + _Profile;
    			_money = missionNamespace getVariable _pub_name_money;
    			_exist = _name_UID call iniDB_exists;
    			if (isNil {_money}) then {
    				if (_exist) then { _money = [_name_UID, _Profile, "Money", "SCALAR"] call iniDB_read;} else {
    					_money = 100;
    				};
    				[_name_UID, _Profile, "Name", _name] call iniDB_write;
    				[_name_UID, _Profile, "Money", _money] call iniDB_write;
    				_clientID = owner _x;
    				missionNamespace setVariable [_pub_name_money, _money];
    				_clientID publicVariableClient format ["%1", _pub_name_money];
    			} else {
    				if (_money > 999999) then {
    					_offence = "Money over 1 Million";
    					["Report", _Profile, "Name", _name] call iniDB_write;
    					["Report", _Profile, "Different_Money", _money] call iniDB_write;
    					["Report", _Profile, "Offence", _offence] call iniDB_write;
    				};
    				[_name_UID, _Profile, "Name", _name] call iniDB_write;
    				[_name_UID, _Profile, "Money", _money] call iniDB_write;
    				missionNamespace setVariable [_pub_name_money, _money];
    				_clientID = owner _x;
    				_clientID publicVariableClient format ["%1", _pub_name_money];
    				if (isNil {adminOnline}) then {adminOnline = false;};
    				if (isNil {admin1Online}) then {admin1Online = false;};
    				if (isNil {admin2Online}) then {admin2Online = false;};
    				if (adminOnline) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID publicVariableClient format ["%1", _pub_name_money];} else {adminOnline = false;};
    				if (admin1Online) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID1 publicVariableClient format ["%1", _pub_name_money];} else {adminOnline1 = false;};
    				if (admin2Online) then { missionNamespace setVariable [_pub_name_money, _money]; AdminID2 publicVariableClient format ["%1", _pub_name_money];} else {adminOnline2 = false;};
    			};
    		};
    	}forEach playableUnits;
    };
    };

    Your much better off with mysql its alot easier to work with..

    or use our prebuilt system.. http://www.armaholic.com/page.php?id=27734 its not updated practically but yeah... it works see if you can detangle our mess of hell


  6. if it works on local it works also on server. There is no difference between them on pdw side perhaps a problem with inidbi installation, you should shake your server side installation (always same thing , vc++ library are not install, not the good right permissions on dll, or directories etc)

    The only thing it can do is read the database of vehicles, Unable to write etc.. Its not a rights of files problem either as we use inidbi for our own zeus mission which works perfectly fine

    ---------- Post added at 14:16 ---------- Previous post was at 14:03 ----------

    PDW: requires INIDBI <-- if a client tries to initialize his load he gets that error also and i know the server is running with inidbi, does everyone have to run with inidbi?

×