Jump to content
Sign in to follow this  
Imperial

Arma 3 SQF Converter/Encrypter/Tools

Recommended Posts

Enjoy! lmao.gif

Converter:
So, the converter can do numerous things such as deobfuscate minifyed code by adding line breaks and spacings to your SQF which basically cleans up code and makes it look more organized, also can convert GUI Editors Class format to SQF, and and other cool stuff

Encrypter:
The encrypter can do things like SquareRoot String which converts the code into unicode numbers then obfuscates it using SquareRoot and converts it back to a string and other stuff

The list goes on on what you can do, I can't be bothered listing all of it here :P

Website: http://sqf.io/
Encrypter: http://crypt.sqf.io/
Converter: http://convert.sqf.io/
Images: http://imgur.com/a/0e4lB

To use the Encrypter just paste your SQF code on the left and convert it to what ever you want or just leave it if you want then format it on the right.
Same thing with the Converter. (Input on left, output on right)

Other Tools;
SQM to SQF:
https://github.com/SilentSpike/ARMA-SilentMapConverter
SQF to BIEDI:
https://github.com/JayWood/sqf_to_beidi

*I don't own these tools.*

CREDITS:
Jaywood
SilentSpike
Speedy

PS: If you have any more tools you want me to add to this thread just comment it, but I need to have permissions to post.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By randall421
      The loot spawning on my server will respawn or cycle right infrnt of you if you move more than 5m away or if someone else near you moves 5ft away. I check player_spawncheck.sqf and it looks fine. 
      player_spawncheck.sqf 
      //player_spawncheck.sqf private ["_isWreck","_maxControlledZombies","_looted","_zombied","_doNothing","_spawnZedRadius","_serverTime","_age","_nearbyBuildings","_position","_speed","_radius","_maxlocalspawned","_maxWeaponHolders","_currentWeaponHolders","_maxtoCreate","_inVehicle","_isAir","_isLand","_isSea","_Controlledzeddivided","_totalcrew","_nearby","_type","_config","_canSpawn","_dis","_checkLoot","_islocal","_bPos","_zombiesNum"]; _age = -1; //_nearbyBuildings = []; _position = [player] call fnc_getPos; _speed = speed (vehicle player); _radius = 200; //150*0.707; Pointless Processing (106.5) _spawnZedRadius = 20; /* //Tick Time PVDZ_getTickTime = player; publicVariableServer "PVDZ_getTickTime"; */ //Total Counts _maxlocalspawned = round(dayz_spawnZombies); _maxControlledZombies = round(dayz_maxLocalZombies); _maxWeaponHolders = round(dayz_maxMaxWeaponHolders); _currentWeaponHolders = round(dayz_currentWeaponHolders); //Limits (Land,Sea,Air) _inVehicle = (vehicle player != player); /* _isAir = vehicle player iskindof "Air"; _isLand = vehicle player iskindof "Land"; _isSea = vehicle player iskindof "Sea"; if (_isLand) then { } else { }; if (_isAir) then { } else { }; if (_isSea) then { } else { }; */ _doNothing = false; if (_inVehicle) then { _Controlledzeddivided = 0; //exit if too fast if (_speed > 25) exitwith {_doNothing = true;}; //Crew can spawn zeds. _totalcrew = count (crew (vehicle player)); if (_totalcrew > 1) then { _Controlledzeddivided = 2; //Dont allow driver to spawn if we have other crew members. if (player == driver (vehicle player)) exitwith {_doNothing = true;}; } else { _Controlledzeddivided = 4; }; if (_Controlledzeddivided > 0) then { _maxControlledZombies = round(_maxControlledZombies / _Controlledzeddivided); r_player_divideinvehicle = _Controlledzeddivided; }; }; if (_doNothing) exitwith {}; /*if ("ItemMap_Debug" in items player) then { deleteMarkerLocal "MaxZeds"; deleteMarkerLocal "Counter"; deleteMarkerLocal "Loot30"; deleteMarkerLocal "Loot120"; deleteMarkerLocal "Agro80"; _markerstr = createMarkerLocal ["MaxZeds", _position]; _markerstr setMarkerColorLocal "ColorYellow"; _markerstr setMarkerShapeLocal "ELLIPSE"; _markerstr setMarkerBrushLocal "Border"; _markerstr setMarkerSizeLocal [_radius, _radius]; _markerstr1 = createMarkerLocal ["Counter", _position]; _markerstr1 setMarkerColorLocal "ColorRed"; _markerstr1 setMarkerShapeLocal "ELLIPSE"; _markerstr1 setMarkerBrushLocal "Border"; _markerstr1 setMarkerSizeLocal [_radius+100, _radius+100]; _markerstr2 = createMarkerLocal ["Agro80", _position]; _markerstr2 setMarkerColorLocal "ColorRed"; _markerstr2 setMarkerShapeLocal "ELLIPSE"; _markerstr2 setMarkerBrushLocal "Border"; _markerstr2 setMarkerSizeLocal [80, 80]; _markerstr2 = createMarkerLocal ["Loot30", _position]; _markerstr2 setMarkerColorLocal "ColorRed"; _markerstr2 setMarkerShapeLocal "ELLIPSE"; _markerstr2 setMarkerBrushLocal "Border"; _markerstr2 setMarkerSizeLocal [30, 30]; _markerstr3 = createMarkerLocal ["Loot120", _position]; _markerstr3 setMarkerColorLocal "ColorBlue"; _markerstr3 setMarkerShapeLocal "ELLIPSE"; _markerstr3 setMarkerBrushLocal "Border"; _markerstr3 setMarkerSizeLocal [120, 120]; diag_log ("LocalZombies: " +str(dayz_spawnZombies) + "/" +str(dayz_maxLocalZombies)); //Logging diag_log (format["%1 Local.Agents: %2/%3, NearBy.Agents: %8/%9, Global.Agents: %6/%7, W.holders: %10/%11, (radius:%4m %5fps).","SpawnCheck", _maxlocalspawned, _maxControlledZombies, _radius, round diag_fpsmin,dayz_currentGlobalZombies, dayz_maxGlobalZeds, dayz_CurrentNearByZombies, dayz_maxNearByZombies, _currentWeaponHolders,_maxWeaponHolders]); };*/ // nearObjects is faster than nearestObjects when sorting by distance isn't needed // "Building" includes House and all of its child classes (Crashsite, IC_Fireplace1, IC_Tent, etc.) _nearby = _position nearObjects ["Building",_radius]; _maxlocalspawned = _maxlocalspawned max floor(_maxControlledZombies*.8); if (_maxlocalspawned > 0) then { _spawnZedRadius = _spawnZedRadius * 3; }; //Spawn Zeds & loot in buildings { _type = typeOf _x; _config = missionConfigFile >> "CfgLoot" >> "Buildings" >> _type; _canSpawn = isClass (_config); if (_canSpawn) then { _dis = _x distance player; _checkLoot = (count (getArray (_config >> "lootPos"))) > 0; _islocal = _x getVariable ["", false]; // object created locally via TownGenerator. //Make sure wrecks always spawn Zeds _isWreck = _x isKindOf "CrashSite"; //Loot if (getNumber(_config >> "lootChance") > 0) then { if (_currentWeaponHolders < _maxWeaponHolders) then { //Basic loot check if ((_dis < 125) and (_dis > 30) and !_inVehicle and _checkLoot) then { _serverTime = serverTime; _looted = (_x getVariable ["looted",_serverTime]); _age = _serverTime - _looted; //Building refresh rate if (_age == 0 or (_age > getNumber(_config >> "lootRefreshTimer"))) then { _x setVariable ["looted",_serverTime,!_islocal]; _x call building_spawnLoot; if (!(_x in dayz_buildingBubbleMonitor)) then { dayz_buildingBubbleMonitor set [count dayz_buildingBubbleMonitor, _x]; }; //diag_log [ diag_tickTime, "new loot at",_x,"age:", _age, "serverTime:", _serverTime]; }/* else { diag_log [ diag_tickTime, "won't spawn loot at",_x,"age:", _age, "serverTime:", _serverTime]; }*/; }; }; }; //Zeds if (getNumber(_config >> "zombieChance") > 0) then { if (_dis > _spawnZedRadius) then { _serverTime = serverTime; _zombied = (_x getVariable ["zombieSpawn",_serverTime]); _age = _serverTime - _zombied; if ((_age == 0) or (_age > 300)) then { if (!_isWreck) then { if ((dayz_spawnZombies < _maxControlledZombies) and (dayz_CurrentNearByZombies < dayz_maxNearByZombies) and (dayz_currentGlobalZombies < dayz_maxGlobalZeds)) then { _bPos = getPosATL _x; _zombiesNum = count (_bPos nearEntities ["zZombie_Base",(((sizeOf _type) * 2) + 10)]); if (_zombiesNum == 0) then { _x setVariable ["zombieSpawn",_serverTime,!_islocal]; if (!(_x in dayz_buildingBubbleMonitor)) then { //add active zed to var dayz_buildingBubbleMonitor set [count dayz_buildingBubbleMonitor, _x]; }; //start spawn [_x] call building_spawnZombies; }; //diag_log (format["%1 building. %2", __FILE__, _x]); }; } else { _bPos = getPosATL _x; _zombiesNum = count (_bPos nearEntities ["zZombie_Base",(((sizeOf _type) * 2) + 30)]); //Should be a wreck if (_zombiesNum == 0) then { [_x,_isWreck] call building_spawnZombies; }; }; }; }; }; }; } forEach _nearby; At first I thought it was a respawn timer issue or something like that but if you don't move the loot will stay, you have to back away from it or someone else has to get within range and its not like you have to run away for this to happen, you can just back up a few steps and watch the loot change right infront of you. I have been playing around with it just trying to see if i can figure it out but if anyone knows what i should do or can at least point me in the right direction it would be a huge help.
       
      Thanks
    • By chargedlight1
      Dear reader,

      I have a question for anyone who is intereseted in helping me with an idea.

      The big idea is to build a "black market" where players can trade their stuff with eatother. 
      i have been thinking of several methods that could be a solution because there are alot of problems in the idea.

      The first problem i encounterd is that: How do i update the players inventory ? 
      i have come up with these 2 solutions:
      While restarting insert a cached array after that. restart the server.
      API method to the server? Which i dont know how to setup if anyone can provive me a link would be great.

      The second problem:
      What if the server doesn't have coin based economy?
      A: Does the player has to have the gold bars inside their safe? 

      ... will continue to write but can't right now. you get the big picture.

      Can someone help me a little bit here? if it is even possible?

      - Chargedlight1

       
    • By Demellion
      Hi there, anyone can give an advice how to convert mission.sqm from pre-3DEN format to a newer (you can compare diffreneces from 0.3.7 and 0.3.8 builds of Epoch).
      Older:
      ... class Mission { class Intel{}; class Groups{}; class Vehicles{}; class Markers{}; }; ... Newer:
      class Mission { class Entities { Item0 { type = "Group"; ... }; Item2 { type = "Vehicle"; ... }; Item2 { type = "Marker"; ... }; }; };  
    • By TAF rocka
      i created a building on the server and used base management to export it no problems. My problem is because this does not come with a beidi file i couldnt drag it in to the editor, so hunted for a sqf. to beidi converter, found one still doesnt work as the converter requires veh numbers as seen in standard sqf. that im used to this doesnt contain these veh numbers
      so instead of this:
      _vehicle_23 = objNull;
      if (true) then
      {
        _this = createVehicle ["MAP_nav_pier_c_t20", [11770.883, 2644.2349, -4.3661213], [], 0, "CAN_COLLIDE"];
        _vehicle_23 = _this;
        _this setDir -102.39177;
        _this setPos [11770.883, 2644.2349, -4.3661213];
      };
      i have this:
         ["MetalFloor_DZ",[4.6521,-3.0332,-0.283356],16.5208],
         ["MetalFloor_DZ",[4.65332,-3.03564,3.08607],16.5208],
         ["MetalFloor_DZ",[-1.90784,-6.59326,-0.283096],16.5208],
         ["MetalFloor_DZ",[-1.90991,-6.59668,3.08607],16.5208],
         ["CinderWallHalf_DZ",[-7.9978,0.726563,-0.533936],106.516],
      How do i get this into the editor? would i have to manually create the veh numbers then convert to beidi? any help would be greatly appreciated, thanks
       
    • By ekroemer
      Hi all,
       
      I fail to find a sqf command that will fetch me the capacity of a magazine, something like
      _classname = "100Rnd_762x51_M240"; _maxRnd = GetAmmoCapacity(_classname); with a result of 100 in the _maxRnd variable.
      Surely there must be a way to do this without resorting to string analysis.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...