Jump to content

sarogahtyp

Member
  • Content Count

    2494
  • Joined

  • Last visited

  • Medals

Everything posted by sarogahtyp

  1. not strange, just how sqf code works. What strikes me is that you just throw one question after the other without learning bout the answers. That way you ll produce patched up scripts and missions full of slow code and full of bugs... Nice advice: Read the biki-entries for any command you use carefully. This is the way to learn sqf-scripting effective and it is the fastest way as well. https://community.bistudio.com/wiki/Category:Arma_3:_Scripting_Commands Anyways this is not tested but should work: private ["_dummy"]; private _CachesN = [ [ "Zeus_M_Unknown1_1", FIAWeaponCacheN1_1 ], [ "Zeus_M_Unknown1_2", FIAWeaponCacheN1_2 ], [ "Zeus_M_Unknown1_3", FIAWeaponCacheN1_3 ] ]; private _CachesS = [ [ "Zeus_M_Unknown2_1", FIAWeaponCacheS1_1 ], [ "Zeus_M_Unknown2_2", FIAWeaponCacheS1_2 ], [ "Zeus_M_Unknown2_3", FIAWeaponCacheS1_3 ] ]; _leftOverCacheN = selectRandom _CachesN; _leftOverCacheS = selectRandom _CachesS; _dummy = _CachesN deleteAt findIf { _leftOverCacheN isEqualTo _x }; _dummy = _CachesS deleteAt findIf { _leftOverCacheS isEqualTo _x }; _CachesN append _CachesS; { deleteMarker ( _x select 0 ); deleteVehicle ( _x select 1 ); } count _CachesN;
  2. sarogahtyp

    SO ARMAHOLIC IS GONE...

    He is. He just has a new girlfriend or maybe the woman of his life and went to her... Sad side of story is that he or a friend of him deleted the whole content because small parts of the community were not friendly enough and some other guys did not do (or not do) what he wanted them to. worst decision he/they could do if you ask me.., But read the full story here:
  3. sarogahtyp

    Ubuntu 16.04 Server Connection Issue

    my server config is set up to start a specific mission on server start. maybe you should use your own config for it. here you can check if your ports are reachable for udp request: https://check-host.net/check-udp
  4. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    New version (v 0.21) released: - hotfix of v 0.2 where objects got deleted only if 100 % deletion rate was chosen in addon options menu.
  5. sarogahtyp

    Ubuntu 16.04 Server Connection Issue

    Pm me your server ip
  6. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    v 0.2 is partially broken (when deleting fewer than 100 % then nothing gets deleted). working on hotfix. sorry for this!
  7. Those curly brackets above and below your deletion parts are nonsense. Idk if it causes this but it could.
  8. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    New version (v 0.2) released: - added all missing but possible terrain object types. Now you are able to choose out of 41 object types to delete. - changed addon options to better reflect possibilities. Its not possible to delete 83% of a type and it never was. - now you are able to view the original number of objects of a specific type on map. Just hover over the option name in the addon options menu.
  9. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    The script of this mod is deleting terrain objects right before you spawn and after that point the script is finished and does nothing anymore. Therefore it is not possible to get lower fps caused by this mod. Maybe you did your test together with other mods or scripts which are doin something in backgound. I recommend to test with cba and saroTweakMapFPS loaded only. And I recommend to test in Eden Editor without loading any mission just dropping one unit on map and starting. This way you ensure that nothing (arma related) else is influencing your fps while testing. You should also look for other tasks on your computer beside arma which could have impact on your cpu/gpu usage.
  10. sarogahtyp

    What type of error is this?

    Thats a syntax error of any script in your mission pointing out that this line has one opening bracket which has no closing bracket.
  11. sarogahtyp

    Ubuntu 16.04 Server Connection Issue

    This is my start script for the arma server. basically what your command line is... The only thing which I found is that you did not use quotation marks in the parameter but this is not important cause its not mentioned in biki. But maybe you should give some more parameters like the port but idk... #!/bin/bash # Start script for domination altis server PORT="2302" WORLD="Altis" MODS="@enhanced_movement;@rhsafrf;@rhsusaf;@rhsgref;@ace;@advanced_rappelling;@advanced_towing;@advanced_urban_rappelling;@cba_a3;@ace_compat_rhs_gref;@ace_compat_rhs_ru_af;@ace_compat_rhs_us_af" SERVERMODS="@extdb3" PARAMS="-autoInit -skipIntro -enableHT -noSound -loadMissionToMemory -filePatching" ARMA_LOG="$HOME/steamcmd/arma3_server_1/logs/error_" ARMA_CON="$HOME/steamcmd/arma3_server_1/logs/console_" CONFIG="$HOME/steamcmd/arma3_server_1/configs/domination_rhs_blu.altis/server.cfg" RANK="$HOME/steamcmd/arma3_server_1/configs/domination_rhs_blu.altis/server.rnk" PERF="$HOME/steamcmd/arma3_server_1/configs/domination_rhs_blu.altis/server_perf.cfg" PID="$HOME/steamcmd/arma3_server_1/logs/server.pid" EXT1=".log" EXT2=".rpt" TIMESTAMPLOG=$ARMA_LOG$(date +%s)$EXT2 TIMESTAMPCON=$ARMA_CON$(date +%s)$EXT1 $HOME/steamcmd/arma3_server_1/arma3server_x64 -config=$CONFIG -port=$PORT -serverMod=$SERVERMODS -mod=$MODS -world=$WORLD -pid=$PID -cfg=$PERF $PARAMS 1>>"$TIMESTAMPCON" 2>>"$TIMESTAMPLOG" & May also be that you have a little syntax error on your server.cfg but I did not find anything wrong... but for reference here is my working one: // server.cfg // Hosted by Sarogahtyp // GLOBAL SETTINGS hostname = "Domination Autism"; // The name of the server that shall be displayed in the public server list password = ""; // Password for joining, eg connecting to the server passwordAdmin = ""; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz' serverCommandPassword = ""; // Password required by alternate syntax of [[serverCommand]] server-side scripting. //reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers //reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers //reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead //this option is deprecated since A2: OA version 1.63 //reportingIP = "arma3" //not used at all logFile = "$HOME/steamcmd/arma3_server_1/logs/console.log"; // Tells ArmA-server where the logfile should go and what it should be called // WELCOME MESSAGE ("message of the day") // It can be several lines, separated by comma // Empty messages "" will not be displayed at all but are only for increasing the interval motd[] = { ".", ".", ".", "!", "!", "!", "." }; motdInterval = 300; // Time interval (in seconds) between each message // JOINING RULES checkfiles[] = {}; // Outdated. maxPlayers = 40; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player. kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing. verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed). equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server. allowedFilePatching = 0; // Allow or prevent client using -filePatching to join the server. 0, is disallow, 1 is allow HC, 2 is allow all clients (since Arma 3 1.49+) //requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect // VOTING voteMissionPlayers = 2; // Tells the server how many people must connect so that it displays the mission selection screen. voteThreshold = 0.5; // 50% or more players need to vote for something, for example an admin or a new map, to become effective. // INGAME SETTINGS disableVoN = 0; // If set to 1, Voice over Net will not be available vonCodec = 1; // If set to 1 then it uses IETF standard OPUS codec, if to 0 then it uses SPEEX codec (since Arma 3 update 1.58+) vonCodecQuality = 30; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30 persistent = 1; // If 1, missions still run on even after the last player disconnected. timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full". BattlEye = 0; // Server to use BattlEye system / Disabled here bcs of son allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via loadFile command (since Arma 3 build 1.19.124216) allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; //only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 build 1.19.124323) allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; //only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 build 1.27.126715) //allowedHTMLLoadURIs = {}; // Leave commented to let missions/campaigns/addons decide what URIs are supported. Uncomment to define server-level restrictions for URIs disconnectTimeout = 90; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 update 1.56+) // SCRIPTING ISSUES onUserConnected = ""; // onUserDisconnected = ""; // doubleIdDetected = ""; // //regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. //deprecated // SIGNATURE VERIFICATION onUnsignedData = "kick (_this select 0)"; // unsigned data detected onHackedData = "kick (_this select 0)"; // tampering of the signature detected onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected // MISSIONS CYCLE (see below) class Missions { class Mission { template = "co40_domination_4_52_rhs_blufor.altis"; difficulty = "Regular"; }; }; // An empty Missions class means there will be no mission rotation missionWhitelist[] = {}; //an empty whitelist means there is no restriction on what missions' available headlessClients[]={"127.0.0.1"}; localClient[]={"127.0.0.1"};
  12. sarogahtyp

    Ubuntu 16.04 Server Connection Issue

    idk bout steam api but for me this looks weird: {"addr":"IP:2303", the syntax of the parameters after that look completly different. But maybe its just steam. idk. EDIT: your command line for starting arma3server would be interesting as well.
  13. sarogahtyp

    Ubuntu 16.04 Server Connection Issue

    server looks fine up and running. client .rpt would be interesting as well as servers console log. EDIT: Hide your passwords in server.cfg!
  14. sarogahtyp

    Muzzles Names

    _weapon = currentWeapon dude; _all_muzzles_of_weapon = getArray ( configFile >> "CfgWeapons" >> _weapon >> "Muzzles" ); copyToClipboard str _all_muzzles_of_weapon; hint str _all_muzzles_of_weapon; systemChat str _all_muzzles_of_weapon; diag_log _all_muzzles_of_weapon;
  15. great answer, thx a lot. just remains the question if the save occurs during the code executing in EH or if the EH-code is executed before the saving occurs (as I need it). But that I need to test I guess...
  16. sarogahtyp

    Targeted cutText

    I guess you are talking bout BIS_fnc_holdActionAdd, are you? The biki tells you exactly how to get the caller of that action:
  17. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    Okay I did some Singleplayer save/load tests and found that @haleks is absolutly right. I tested on Stratis which has about 170.000 terrain objects which is far less compared to other maps that can have more than ten times as many objects. What I did: 1. started mission 2. configured the mod (not yet released version) to delete all terrain objects (170k) on map. 3. Left the mission and started again (only this way object get deleted on mission start) 4. I hit the "Save" button and waited ... a long time. 5. It took 15 minutes to save and another 15 to load it again The size of the save was not huge. It was 55 MB with using the mod and it was 27 MB without using it. I guess the problem is caused by Single Core CPU Performance. Another guess is that it should be no problem if your CPU speed is 100 times faster than my very old ones. But who would need a FPS-Booster for Arma 3 then? My specs: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz 3.40 GHz benchmark comparision page My conclusion is that I can not recommend to use the mod in Singleplayer scenarios where you need to save the mission or where the mission itself autosaves like in campaigns.
  18. sarogahtyp

    Saros Tweak For Higher FPS On Maps

    I don't understand how exactly it increases the save size but I ll test it and think about a solution if it gets a problem. Thanks for your advice @haleks.
  19. Your question mark key is jammed, maybe thats the problem.
  20. sarogahtyp

    How to delete mods?

    1. goto your steam library 2. on left side click on "Arma 3" 3.on the right side you ll find a link named "Workshop", click on it 4. Now on the right side you have "Your Workshop Files" hover on it. 5. click on "subscribed objects" 6. Now you are on the steam page where u are able to unsubscribe each mod
  21. The "SE" icon means as of biki: It is not automatically executed on the server. The scripter must ensure that it is executed on the server machine.
  22. sarogahtyp

    +7-10 FPS on Livonia/+15 on Tanoa

    No, it does the exact opposite. It reduces view distance and level of detail. My script deletes terrain objects like trees, bushes, rocks and so on on the whole map.
  23. sarogahtyp

    +7-10 FPS on Livonia/+15 on Tanoa

    The deletion is done in preInit before you spawn. Therefore you dont need to wait and there is no script running after you are spawned. Your values are weird are you using the same graphic settings and view distance all the time? Here is the CBA-version which I published on Steam now. You are able to customize all deletion rates in the Addon-Options with it. After changing these a mission restart is needed. https://steamcommunity.com/sharedfiles/filedetails/?id=2523320712
  24. sarogahtyp

    groupId Question

    why not using the group itself instead of the groups ID? maybe showing some more code of your purpose could help...
×