• Announcements

    • Flosstradamus

      Official Discord   03/15/17

      https://discord.gg/FMkqWpF Click the link above and join our Official Discord!  Chat with developers and get quicker support!
    • Vishpala

      New XM8 Discord Bot   05/15/17

      Our new XM8 Discord Bot will send you notifications about events happening in-game, even if you are not online!  Read about it on the Devblog:  
    • Eichi

      Malden Support!   07/13/17

      The server files on the download page have been updated to ship with a Malden mission file! <3

Alexis

Member
  • Content count

    119
  • Joined

  • Last visited

Community Reputation

10 Neutral

About Alexis

  • Rank
    Capo
  1. /** * ExileServer_object_player_createBambi * * Exile Mod * www.exilemod.com * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_sessionID","_requestingPlayer","_spawnLocationMarkerName","_bambiPlayer","_accountData","_direction","_position","_spawnAreaPosition","_spawnAreaRadius","_clanID","_clanData","_clanGroup","_player","_devFriendlyMode","_devs","_parachuteNetID","_spawnType","_parachuteObject"]; _sessionID = _this select 0; _requestingPlayer = _this select 1; _spawnLocationMarkerName = _this select 2; _bambiPlayer = _this select 3; _accountData = _this select 4; _direction = random 360; if ((count ExileSpawnZoneMarkerPositions) isEqualTo 0) then { _position = call ExileClient_util_world_findCoastPosition; if ((toLower worldName) isEqualTo "namalsk") then { while {(_position distance2D [76.4239, 107.141, 0]) < 100} do { _position = call ExileClient_util_world_findCoastPosition; }; }; } else { _spawnAreaPosition = getMarkerPos _spawnLocationMarkerName; _spawnAreaRadius = getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "spawnZoneRadius"); _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle; while {surfaceIsWater _position} do { _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle; }; }; _name = name _requestingPlayer; _clanID = (_accountData select 3); if !((typeName _clanID) isEqualTo "SCALAR") then { _clanID = -1; _clanData = []; } else { _clanData = missionNamespace getVariable [format ["ExileServer_clan_%1",_clanID],[]]; if(isNull (_clanData select 5))then { _clanGroup = createGroup independent; _clanData set [5,_clanGroup]; _clanGroup setGroupIdGlobal [_clanData select 0]; missionNameSpace setVariable [format ["ExileServer_clan_%1",_clanID],_clanData]; } else { _clanGroup = (_clanData select 5); }; [_player] joinSilent _clanGroup; }; _bambiPlayer setPosATL [_position select 0,_position select 1,0]; _bambiPlayer disableAI "FSM"; _bambiPlayer disableAI "MOVE"; _bambiPlayer disableAI "AUTOTARGET"; _bambiPlayer disableAI "TARGET"; _bambiPlayer disableAI "CHECKVISIBLE"; _bambiPlayer setDir _direction; _bambiPlayer setName _name; _bambiPlayer setVariable ["ExileMoney", 0, true]; _bambiPlayer setVariable ["ExileScore", (_accountData select 0)]; _bambiPlayer setVariable ["ExileKills", (_accountData select 1)]; _bambiPlayer setVariable ["ExileDeaths", (_accountData select 2)]; _bambiPlayer setVariable ["ExileClanID", _clanID]; _bambiPlayer setVariable ["ExileClanData", _clanData]; _bambiPlayer setVariable ["ExileHunger", 100]; _bambiPlayer setVariable ["ExileThirst", 100]; _bambiPlayer setVariable ["ExileTemperature", 37]; _bambiPlayer setVariable ["ExileWetness", 0]; _bambiPlayer setVariable ["ExileAlcohol", 0]; _bambiPlayer setVariable ["ExileName", _name]; _bambiPlayer setVariable ["ExileOwnerUID", getPlayerUID _requestingPlayer]; _bambiPlayer setVariable ["ExileIsBambi", true]; _bambiPlayer setVariable ["ExileXM8IsOnline", false, true]; _bambiPlayer setVariable ["ExileLocker", (_accountData select 4), true]; _devFriendlyMode = getNumber (configFile >> "CfgSettings" >> "ServerSettings" >> "devFriendyMode"); if (_devFriendlyMode isEqualTo 1) then { _devs = getArray (configFile >> "CfgSettings" >> "ServerSettings" >> "devs"); { if ((getPlayerUID _requestingPlayer) isEqualTo (_x select 0))exitWith { if ((name _requestingPlayer) isEqualTo (_x select 1))then { _bambiPlayer setVariable ["ExileMoney", 500000, true]; _bambiPlayer setVariable ["ExileScore", 100000]; }; }; } forEach _devs; }; _parachuteNetID = ""; _iAmRetard = _sessionID call ExileServer_system_session_getPlayerObject; _ReallyThatTrue = _iAmRetard getVariable ["playerWantsHaloSpawn", 0]; if (_ReallyThatTrue isEqualTo 1) then { _position set [2, getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteDropHeight")]; if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "haloJump")) isEqualTo 1) then { _bambiPlayer addBackpackGlobal "B_Parachute"; _bambiPlayer setPosATL _position; _spawnType = 2; } else { _parachuteObject = createVehicle ["Steerable_Parachute_F", _position, [], 0, "CAN_COLLIDE"]; _parachuteObject setDir _direction; _parachuteObject setPosATL _position; _parachuteObject enableSimulationGlobal true; _parachuteNetID = netId _parachuteObject; _spawnType = 1; }; } else { _spawnType = 0; }; if((canTriggerDynamicSimulation _bambiPlayer) isEqualTo false) then { _bambiPlayer triggerDynamicSimulation true; }; _bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}]; _bambiPlayer call ExileServer_object_player_database_insert; _bambiPlayer call ExileServer_object_player_database_update; [ _sessionID, "createPlayerResponse", [ _bambiPlayer, _parachuteNetID, str (_accountData select 0), (_accountData select 1), (_accountData select 2), 100, 100, 0, (getNumber (configFile >> "CfgSettings" >> "BambiSettings" >> "protectionDuration")) * 60, _clanData, _spawnType ] ] call ExileServer_system_network_send_to; [_sessionID, _bambiPlayer] call ExileServer_system_session_update; true
  2. if I also very well ask, u give me xm8_x64? ^^)
  3. @Freakylein Mate, Land_Mil_WallBig_4m_F not counting on territory, not worked actions
  4. I did in ExileClient_object_item_construct, I had everything the client thought, without questions to the server
  5. Why do you get the number of boxes from DB, when you can just count them locally?
  6. I had the same problem, disabled the AntiTP problem was gone, all the players who died in the transport were displayed in the Anti Teleport logs
  7. Hello! I need an interpretive programmer who writes in the SQF, money is not a problem. Requirements. Knowledge of the server part of Arma 3 and the Exile Knowledge of the SQF language, and writing scripts of any complexity Knowledge English or Russian languages. Write your suggestions to email (a3atlaslife@gmail.com) or Steam http://steamcommunity.com/id/alexis_druzdov
  8. @Cloud22 This is normal? 22:34:34 Error in expression <"_cargoContainers"]; _vehicleID = _this select 0; _isVGing = _this select 1; _da> 22:34:34 Error position: <select 0; _isVGing = _this select 1; _da> 22:34:34 Error select: Type Number, expected Array,String,Config entry 22:34:34 File AtlasServer\code\ExileServer_object_vehicle_database_load.sqf, line 13
  9. I confirm the problem, loot does not appear in standard buildings, if I port the building with the editor 3DEN using Exile3DEN Plugin, then in such buildings loot appears.
  10. @Freakylein Why is it so difficult to follow the commas in the crafting recipes ?! WHY? example: class SmallShed: Exile_AbstractCraftingRecipe { name = "Small Shed"; pictureItem = "Land_Shed_Small_F_Kit"; returnedItems[] = { {1, "Land_Shed_Small_F_Kit"} }; requiresFire = 1; requiredInteractionModelGroup = "WorkBench"; components[] = { {2, "Exile_Item_MetalBoard"}, {2, "Exile_Item_JunkMetal"}, {2, "Exile_Item_MetalScrews"}, }; tools[] = { "Exile_Item_Screwdriver", }; category = "Buildings"; };