Jump to content

Carp!

Member
  • Posts

    219
  • Joined

  • Last visited

Posts posted by Carp!

  1. Server object not found is normal and no real way to discover what that is.

    I have network message pendings too because i dont have maxmsgsend at 1024. You can get those to stop with it that high but i get players desyncing every few moments. I have not seen any negative effects of having the messages pending.

    Some players have those messages spamming a couple thousand times and have not known of any issues.

    I would definately bump your minbandwidth to something more reasonable. That will alleviate some of your issues.

    Whats your restart timer. Mine is 6hrs.

  2. If you read about the performance between if and switch you would know that nested if's are faster than switch case. just replace the GGsomething with an array or define them in your variables

     

    and if you chooce an array remeber an array looks like thi

     

    ["0","0","0"]

     

    Performance in what way? We wound up switching to switch statements because using the default loadout that comes default with epoch loaded only half the time.

     

    Do you refer to performance when the player loads in? or overall server performance. We have not noticed a difference.

  3. I copy and pasted directly out of our working mission file. I removed the ids and put the x's in there.

     

    In other words... yes :D

     

    I just created a file called customloadouts.sqf, put that in that file and then called it from the init.sqf under the if (!isDedicated) then like such:

     

    [] ExecVM "Mods\Misc\CustomLoadouts.sqf";

     

    Have fun!

     

    EDIT:

    BTW, if you want a default, your last statement will look like this:

     

    	default{
    		DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","HandRoadFlare","30Rnd_9x19_UZI","30Rnd_9x19_UZI"]; 
    		DefaultWeapons = ["ItemWatch","ItemFlashlight","UZI_EP1"]; 
    		DefaultBackpack = "DZ_Patrol_Pack_EP1";
    	};
    
  4. O thank you that was actually pretty easy. I just have one more question about how to make the repairing free because i'm not sure what to change in the repair script to accomplish this.

     

    Just like the default refuel value, leave blank :) This is in the service_point.sqf

     

    _refuel_costs = []; // free for all vehicles (equal to [["AllVehicles",[]]])

     

    So for Repair it would look like this:

     

    _repair_costs = [];

  5. We use switch statements in our loadouts. Loadouts still load about 95% of the time :)

    _uid = getPlayerUID player;
    switch (_uid) do {
    	case "xxxx": {
    		// This donator
    		DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","HandRoadFlare","30Rnd_9x19_UZI","30Rnd_9x                19_UZI","Skin_Sniper1_DZ"]; 
    		DefaultWeapons = ["ItemWatch","ItemMap","ItemHatchet_DZE","ItemFlashlight","UZI_EP1"]; 
    		DefaultBackpack = "DZ_ALICE_Pack_EP1"; 
    	};
    	case "xxxx": {
    		// This donator
    		DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","HandRoadFlare","30Rnd_9x19_UZI","30Rnd_9x                19_UZI"]; 
    		DefaultWeapons = ["ItemWatch","ItemMap","ItemHatchet_DZE","ItemFlashlight","UZI_EP1"]; 
    		DefaultBackpack = "DZ_ALICE_Pack_EP1"; 
    	};
    	case "xxxx": {
    		// This donator
    		DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","HandRoadFlare","30Rnd_9x19_UZI","30Rnd_9x               19_UZI","Skin_CZ_Special_Forces_GL_DES_EP1_DZ"]; 
    		DefaultWeapons = ["ItemWatch","ItemMap","ItemHatchet_DZE","ItemFlashlight","UZI_EP1"]; 
    		DefaultBackpack = "DZ_ALICE_Pack_EP1"; 
    	};
    	case "xxxx": {
    		// This donator
    		DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","30Rnd_9x19_UZI","30Rnd_9x19_UZI","30Rnd_5                56x45_StanagSD","30Rnd_556x45_StanagSD","Skin_Soldier_Sniper_PMC_DZ"]; 
    		DefaultWeapons = ["ItemWatch","ItemMap","ItemHatchet_DZE","NVGoggles","UZI_EP1","M4A1_AIM_SD_camo"]; 
    		DefaultBackpack = "DZ_Backpack_EP1"; 
    	};
    };
    

    Once 1.0.5 hits I will be adding defaultSkin to the mix :D

  6. I spawned a vault on my test box and put the things you have in yours in mine and its supposed to look like this:

     

    [[["ItemFlashlight","ItemGPS","ItemWatch","ItemHatchet","ItemKnife","ItemMatchbox","ItemEtool","ItemToolbox","ItemKeyRedxxx"],[1,1,1,1,1,1,1,1,1]],[["ItemBandage"],[2]],[[],[]]]

     

    I am not sure how the storage code actually works so I can't help you there, but I can tell you that this is what your current loadout is supposed to be for the gear you want in your vault.

  7. I use a 100mb connection and these work for my network.

     

    Min: 20971520

    Max: 100000000

     

    If you have a 1gpbs its something like 1073741824.

     

    According to BI, it uses the minimum and max to calculate the average network speed for the entire server. I think this is why I have issues when I have it removed.

     

    I had my minimum set too low too and that caused issues as well. I used to have it set to 131072 and bad things were happening lag wise as well.

     

    I only focus on these 2 settings first because it took me so long to figure out what the issue was. Took me 2 frustrating weeks and alot of help from the community for me to nail these down.

  8. I would put the maxbandwidth setting back in just to see if there is any relief.

    When the server crashes do you get anything in the rpt?

    100mb or 1gbps bandwidth?

    It crashing sounds like a much more serious issue. Dedicated or host because these issues sound like the issues i had when i first went dedicated. I was finally able to correct them by fine tuning my basic.cfg

  9. I tried to piece what you were trying to say together and it seems like when you added AI to your server you took an fps hit. Well its very well known that arma isnt the best at optimizing gameplay and adding AI is a pure cpu resource hog.

     

    What cpu are you using on the server?

    What cpu affinity do you have the server set to?

    What priority are you running the game?

×
×
  • Create New...