Jump to content

asremix

Member
  • Posts

    94
  • Joined

  • Last visited

Posts posted by asremix

  1. Redis Database Server Problems:

    wY81tw0.png

     

    In game stuck at server initializing 

    i6BME0e.png

     

    And server not ready (Error 02)

    DlakkNl.png

     

    And back to Role assignment

    pUDv62i.png

     

     

     

    9WaJLFd.png

     

    IxfYSPe.png

     

     

     

     

     

    redis.conf

    bind 127.0.0.1
    maxmemory 4gb
    save 900 1
    save 300 10
    save 60 1000
    requirepass Changeme9832
    

    EpochServer.ini

    [EpochServer]
    BattlEyePath = D:\SteamLibrary\SteamApps\common\Arma 3 Server\SC\BattlEye
    InstanceID = NA123
    
    [Redis]
    IP = 127.0.0.1
    Port = 6379
    DB = 0
    Password = Changeme9832
    
    [SteamAPI]
    Logging = 0
    Key =
    VACBanned = 0
    VACMinimumNumberOfBans = 0
    VACMaximumDaysSinceLastBan = 0
    PlayerAllowOlderThan = 0

    Cmd start server

    @echo off
    start arma3server.exe -mod=@AllInArmaTerrainPack;@mas18;@Epoch;@EpochHive;@Emod02; -config=SC\config.cfg -port=2302 -profiles=SC -cfg=SC\basic.cfg -name=SC
    exit
  2. Help me please.

     

    Redis Database Server Problems:

    wY81tw0.png

     

    In game stuck at server initializing 

    i6BME0e.png

     

    And server not ready (Error 02)

    DlakkNl.png

     

    And back to Role assignment

    pUDv62i.png

     

     

     

    9WaJLFd.png

     

    IxfYSPe.png

     

     

     

     

     

    redis.conf

    bind 127.0.0.1
    maxmemory 4gb
    save 900 1
    save 300 10
    save 60 1000
    requirepass Changeme9832
    

    EpochServer.ini

    [EpochServer]
    BattlEyePath = D:\SteamLibrary\SteamApps\common\Arma 3 Server\SC\BattlEye
    InstanceID = NA123
    
    [Redis]
    IP = 127.0.0.1
    Port = 6379
    DB = 0
    Password = Changeme9832
    
    [SteamAPI]
    Logging = 0
    Key = 
    VACBanned = 0
    VACMinimumNumberOfBans = 0
    VACMaximumDaysSinceLastBan = 0
    PlayerAllowOlderThan = 0
    
    

    Cmd start server

    @echo off
    start arma3server.exe -mod=@AllInArmaTerrainPack;@mas18;@Epoch;@EpochHive;@Emod02; -config=SC\config.cfg -port=2302 -profiles=SC -cfg=SC\basic.cfg -name=SC
    exit
    
    
  3. Okay so this is my opinion right?

     

    I don't really like it. As in french we say: c'est du baclé.

    All information is written in 1 cm2 and the little images don't really look nice.

    Some of the icons; I cannot understand what they mean, they look completely the same..

     

    Your tutorial is good, even while you are using Google, I think what you have written in code AND in tutorial is nice,

    but I would take a closer look to the icons.

     

    To be honest, when I clicked the link I though that it was how to change the hunger; thirst; etc HUD. I would've rather have that, because I think that should've help alot more people.

     

    But anyway, I am going to review your code, because I may need some parts, to make new icons but more clearly done and a little bit less

    "all-in-2-cm2"

     

    This is as I already said: MY OPINION.

    I can agree that some people will like it, you don't have to argue about it because I won't be the angry one, I can totally agree with those guys,

    it can look nice, and honestly, the scripting behind it looks not that easy, so still good job Asremix.

     

    Have a nice day y'all,

    xBowBii

     

    Thank for reply.

     

    For icon it can resize. Look this.

    <img size='0.8' image='addons\playerhud\icons\As_health.paa'/> %1
    
    
    change  0.8 to 1 1.5 2.0
    
    <img size='1' image='addons\playerhud\icons\As_health.paa'/> %1
    
    
  4. So, just to undestand (since i am at work now and can't test it), the script from @Asremix will block player from building in any place 150m close to any object from the map? Any house, light pole, etc.. ?

    ///////////Allow to build near this Objects.
    _builOk = ["TentStorage","TentStorageDomed","TentStorageDomed2", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","Generator_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","FireBarrel_DZ","WoodCrate_DZ","Scaffolding_DZ","MBG_Killhouse_1_InEditor","MBG_Killhouse_2_InEditor","MBG_Killhouse_3_InEditor","MBG_Killhouse_4_InEditor","MBG_Killhouse_5_InEditor","MBG_Killhouse_1_InEditor","MBG_Warehouse_InEditor","Land_MBG_ATC_Segment","MAP_leseni4x","MAP_leseni2x","WarfareBCamp","HeliHCivil","Land_fortified_nest_big_EP1","Land_Fire_barrel_burning","Land_CncBlock_Stripes","Land_Ind_TankSmall2_EP1","ASC_runway_YellowlightB","ASC_runway_BluelightB","Land_Campfire_burning"];
    
    
  5. My custom script check from near objects 150 meters. And can add allow objects can build near.

     

     

    Instructions:
    1. Create a file in  your custom scripts folder called player_build.sqf
    2. Cut and Paste everything from here into your custom player_build.sqf
    3. Open  your custom Compiles.sqf and look for the line starting:
    player_build = compile preprocessFileLineNumbers ....
    4. Change that entire line to:
    player_build = compile preprocessFileLineNumbers "custom\player_build.sqf";
    5. Repackage your mission file, upload and you're done.
     
    The code blocks.

    //Find this
    
    private ["...","_playerPos","_playerID","_player","_builOk","_stopGo"];
    
    //...
    //...
    //...
    
    //Next Find this 
    call gear_ui_init;
    closeDialog 1;
    
    
    // Add this below
    
    ////////////START Check Near Objects////////////////////
    _playerPos = getPosATL player;
    _playerID =	getPlayerUID player;
    _stopGo = false;
    
    ///////////Allow to build near this Objects.
    _builOk = ["Land_Misc_deerstand"]; //Make like this  "Land_Misc_deerstand","Land_Misc_deerstand"
    ////////////////////////////////////
    {
    
    if (!(typeOf _x in _builOk)) then {
    if ((["Land_",(typeOf _x),false] call fnc_inString)) exitWith { DZE_ActionInProgress = false; _stopGo = true;};
    };
    } forEach nearestObjects [_playerPos, ["House"], 150];  ///150 change this
    
    if (_stopGo) 			exitWith { titletext ["You need to be at least 150 meters away from city.", "PLAIN DOWN"]; _stopGo = true; };
    ////////////END////////////////////
    
    

    ysvYQWa.jpg

     

     

     

     

     

     

    6U5RMOw.jpg

×
×
  • Create New...