Jump to content


  • Content Count

  • Joined

  • Last visited

About Defent

  • Rank
    Ryð þú, röðla gramur.

Contact Methods

Profile Information

  • Gender
  • Location
  • Interests
    Interesting stuff.

Recent Profile Visitors

2244 profile views
  1. That's like the worst chat log I've ever seen. How can you possibly think that we would believe it's legit? It's not hard to copy and paste something from a teamspeak chat.. or even print screen it. Instead you post something like this which could be heavily doctored. Moron. 2/10 - Good try though.
  2. I'm totally gonna come, I have so many ideas and questions. Hope for a civilized chat. Maybe create different lobbies and have discussions about different things there! I hope you guys will guide me, I need help with some scripting <3 If and && confuse me so much!!!
  3. What if you have one bad admin that decides to fuck you over. Is it logged, can you see what's executed and when? If not he can pretty much fuck up the server and not even be the first person to suspected. Since the code is launched the way it is I also guess it bypasses most security settings. I would say that this would be a security flaw. Given if the circumstances I mentioned are as they are. Edit: I'm referring to the default epoch anti hack and not infistar. You can edit who has the power to run that script in the infistar anti hack. I am fairly sure you can't in the default one.
  4. RandomPrimary = { private ["_wpArray","_slct","_amArray"]; _wpArray = [ "AKM_Epoch", "MultiGun" ]; // select from the array _slct = _wpArray select floor(random(count _wpArray)); _amArray = getArray (configFile >> "cfgWeapons" >> _slct >> "magazines"); // add Weapon and ammo player addWeapon _slct; for "_i" from 0 to 4 do { player addMagazine (_amArray select 0); }; }; This works, I tested it in arma 3, just change the array of weapons to the arma 2 weapons. Then do _things = call RandomPrimary;
  5. RandomPrimary = { private ["_wpArray","_slct"]; _wpArray = [ "M16A2", "M16A4", "M4A1", "Sa58P_EP1", "Sa58V_EP1", "AKS_74_U", "AK_47_M", "AK_74", "FN_FAL", "Winchester1866", "MR43", "M1014", "Remington870_lamp", "LeeEnfield", "Saiga12K", "huntingrifle" ]; _slct = _wpArray select floor(random(count _wpArray)); [_slct] call AddAmmo; }; addAmmo = { private ["_addthings","_amArray"]; _addThings = _this select 0; _amArray = getArray (configFile >> "cfgWeapons" >> _addThings >> "magazines"); for "_i" from 0 to 4 do { player addMagazine (_amArray select 0); }; }; This randoms a weapon for you. After that you could do _stuff = call RandomPrimary; DefaultWeapons = ["ItemMap",_stuff]; This should circumvent the need for default magazines, ive not tested it though. Sorry for the edits, keep trying to fix it :)
  6. RandomPrimary = { private ["_wArray","_select","_amArray"]; _wArray = [ ["M16A2","30Rnd_556x45_Stanag"], ["M16A4","30Rnd_556x45_Stanag"], ["M4A1","30Rnd_556x45_Stanag"], ["Sa58P_EP1","30Rnd_762x39_SA58"], // listed twice? ["Sa58V_EP1","30Rnd_762x39_SA58"], ["AKS_74_U","30Rnd_545x39_AK"], ["AK_47_M","30Rnd_762x39_AK47"], ["AK_74","30Rnd_545x39_AK"], ["FN_FAL","20Rnd_762x51_FNFAL"], ["Winchester1866","15Rnd_W1866_Slug"], ["MR43","2Rnd_shotgun_74Slug"], ["M1014","8Rnd_B_Beneli_74Slug"], ["Remington870_lamp","8Rnd_B_Beneli_74Slug"], ["LeeEnfield","10x_303"], ["Saiga12K","8Rnd_B_Saiga12_74Slug"], ["huntingrifle","5x_22_LR_17_HMR"] ]: _select = _wArray select floor(random(count _wArray)); from "_i" from 0 to 4 do { player addMagazine (_select select 1); }; player addWeapon (_select select 0); }; You could also do this but then you'd not use the defaultweapon and magazine command
  7. Donnovan, you can easily speed up your script by not using arbitrary calculations to calculate something like for exmple _rMin = 10^8; The answer will always be 100000000 in this case. Also there is a command to check the power of (x), to make it more neat. https://community.bistudio.com/wiki/exp You've also wound up the calculations a lot. I don't see why you'd complicate it this much. _error = abs (_dist - _goal); Why are you checking the absolute value here? It only checks how far your sum is from 0. Negative 6 is 6 away from zero, but so is also positive 6. This becomes very unreliable when using distances etc imo since it's often relied on a set pos. -5040 is very different from +5040. I know that distance is always positive but it may mess up a bit. I'm not trying to be a dick here but this could cause some performance issues, is all im trying to say. https://community.bistudio.com/wiki/Math_Commands
  8. Get rid of scripts that are poorly written. Run maintenence SQL schedules. Remove empty, unlocked, damaged or non-key vehicles. And get rid of scripts that are just not useful. Say if you have like some super fancy intro script with fireworks and stuff. That will surley affect your server FPS.
  9. Well that pretty much makes the entire discussion and topic moot then. He can't prove what hes' saying is true nor can MGT. People still takes sides because shit storming is fun. In the end, who gives a shit. God damn..
  10. Could be a false positive ban. E-mail their "support" and ask. However it's probably easier to just buy a new key for like 5€ if thats the case.
  11. charge = type createVehicle _position; charge setPos position; uiSleep 1; deleteVehicle _charge; This part is all weird, unless you have previously defined charge somewhere or intentonally left out the _ part.
  12. That was not a problem with MySQL though. That was a problem in the connection between mysql and the gameserver. MySQL works perfectly fine. Patch had no problems with this but after the update to etc the problems started happening with slow database loading. This is possible in mysql too..
  13. They are updating Arma 2 though, they are aware of the RE issue and it's been set as a goal to fix for the last and final Arma 2 OA patch.
  • Create New...