Jump to content

LunatikCH

Member
  • Posts

    394
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    LunatikCH reacted to icomrade in Duplicate ObjectUID Fix - Custom Addon with Arma2NET   
    Regardless of modifications it's fixed in the HiveExt. SQF Key generation is temporary until restart, and is more robust than in 1.0.5.1, making collisions practically impossible.
    https://github.com/icomrade/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/DataSource/SqlObjDataSource.cpp#L98-L112
     
    Edit: Also moved to 1.0.5.1 mods
  2. Like
    LunatikCH got a reaction from Bricktop in Epoch 1.0.6   
    Ports opened? not just default port, steam/steam querry also need to be open
  3. Like
    LunatikCH reacted to salival in Epoch 1.0.6   
    That could be anything. 
    Need you to post your client and server .RPT log file.
  4. Like
    LunatikCH reacted to kingpapawawa in God mode at plot and when locked   
    I don't know what im doing and ill be the first to admit that!
    I've tried to edit Zupa's Vehicle God Mode to change the variables that were modified between 1051 and 106.  With limited success.  also tried adding in the _totalDmg changes made between 1051 and 106 in the default vehicle_handleDamage
     
    heres vehicle_handleDmage.sqf
    private["_unit","_selection","_strH","_total","_damage","_needUpdate","_totalDmg","_state"]; //***Zupa Config ****// _godmodeVechilesEverywhere = true; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = false; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["0"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// _unit = _this select 0; _selection = _this select 1; _total = _this select 2; _state = true; _HPBefore = -1; if (_selection != "") then { _strH = "hit_" + _selection; _HPBefore = [_unit,_strH] call object_getHit; _totalDmg = false; } else { _strH = "totalDmg"; _totalDmg = true; _HPBefore = getDammage _unit; }; if(_total > _HPBefore)then{ if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; }; //fix if(_state)then{ if (_total >= 0.98) then { _total = 1.0; }; if (local _unit) then { if (_total > 0) then { if (!_totalDmg) then { _unit setVariable [_strH, _total, true]; }; _unit setHit [_selection, _total]; PVDZ_veh_Save = [_unit,"damage",false,_totalDmg]; if (isServer) then { publicVariableServer "PVDZ_veh_Save"; } else { PVDZ_veh_Save call server_updateObject; }; }; } else { // vehicle is not local to this client, ask the client which vehicle is local to set damage /* PVS/PVC - Skaronator */ PVDZ_send = [_unit,"VehHandleDam",_this]; publicVariableServer "PVDZ_send"; }; }else{ _total = _HPBefore; }; // all "HandleDamage event" functions should return the effective damage that the engine will record for that part _total and heres fn_damageHandlerVehicle.sqf
    scriptName "Functions\misc\fn_damageHandler.sqf"; /*********************************************************** PROCESS DAMAGE TO A UNIT - Function - [unit, selectionName, damage, source, projectile] call fnc_usec_damageHandler; ************************************************************/ private ["_unit","_hit","_damage","_total"]; _unit = _this select 0; _hit = _this select 1; _damage = _this select 2; //_source = _this select 3; //_ammo = _this select 4; _total = _damage; _state = true; //***Zupa Config ****// _godmodeVechilesEverywhere = true; // Godmode on all locked vehicles _onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false) _onlyVehicleWithoutGear = false; // Only godmode on vehicles that hold no gear. _safeZoneGodVehicle = true; // Godmode vehicles in safezones. (or specific zone's) // donator plotpole only works with PLOT FOR LIFE, set FALSE if you dont have it. _donatorsPlots = false; // True = only godmode vehicles for donaters in the list, False = godmode for every guy. _plotDonators = ["0"]; // PUID's of poeple who donated for plotpole // Chernarus safezone area's - change these to other coordinates for other maps. ( You can also add specific locations on the map. _safezones = [ [[5070.75,9729.54],100,"Air"], [[1606.6443,7803.5156],100,"Bandit"], [[4063.4226,11664.19],100,"Bash"], [[12944.227,12766.889],100,"Hero"], [[11447.472,11364.504],100,"Klen"], [[6315.88,7791.3],100,"Stary"] // [[x,y],distance,"just name"] ]; //***END Config ****// systemChat "checks"; if((locked _unit && _godmodeVechilesEverywhere && (count (crew _unit)) < 1))then{_state = false; }; if(_state)then{ if(_safeZoneGodVehicle )then{ {if ((_unit distance (_x select 0)) < (_x select 1)) then {_state = false; };} forEach _safezones; }; }; if(_state)then{ _gearCount = 0; if(_onlyVehicleWithoutGear)then{ //_weaps = count(getWeaponCargo _unit); //_mags = count(getMagazineCargo _unit); //_backs = count(getBackpackCargo _unit); //_gearCount = _gearCount + _weaps + _mags + _backs; }; _plots = nearestObjects [_unit, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; if((count(_plots) > 0))then{ _thePlot = _plots select 0; _plotOwner = _thePlot getVariable ["ownerPUID",0]; if ( (_gearCount == 0) &&(locked _unit || !(_onlyLockedVehicles) ) && (count (crew _unit)) < 1 && ( !(_donatorsPlots) || (_plotOwner in _plotDonators))) then {_state = false; }; }; }; //diag_log ("DAMAGE VEH: " + typeof(_unit) + " / " + str(_hit) + " / " + str(_damage) + " / " + str(getDammage _unit)); if (local _unit && _state) then { _total = [_unit,_hit,_damage] call object_setHitServer; }; _total at the end of custom compiles calling
    fnc_usec_damageVehicle =        compile preprocessFileLineNumbers "zupa\fn_damageHandlerVehicle.sqf";        
    fnc_veh_handleDam =          compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf";
     
    I get god mode at plot pole until i get into the drivers seat then its not working when i exit the vehicle. if i log out and log back in its back in god mode. if i just get in passenger seat and out it works still.
    tried with both "if (isServer) then {" and with "if (!isServer) then {" in vehicle_handleDmage.sqf because i noticed this was changed between 1051 and 106 in the source file. This didn't change anything.
    anyone want to take a crack at it?
    @Zupa - thanks for everything you have done for the epoch community
    @ebaydayz maybe you have an idea or two i can try? saw several posts of yours on 1051 related to this topic.
  5. Like
    LunatikCH reacted to salival in Epoch 1.0.6   
    Awesome, how is it not working?
    How are you trying to use it? Filling Jerry can? Filling vehicle? Have a generator?
    Are there any client .RPT errors?
    While it's good problems are reported, more information is better than "it's not working"
  6. Like
    LunatikCH got a reaction from Joshyy in Signing PBO's?   
    using this for years: http://www.armaholic.com/page.php?id=14124
    Nice and self explaining GUI
  7. Like
    LunatikCH reacted to juandayz in Player Login Stuck   
    its a fresh server and you have all this rpt errorS??? mmm ui think you need made your server again.. a fresh server cannot have so many errors
  8. Like
    LunatikCH got a reaction from Connorr in Script to show where you are on map?   
    marker.sqf:
    while {true} do { private["_marker"]; deleteMarkerLocal "MarkerPlayer"; if("ItemMap" in (weapons player) || "ItemGPS" in (weapons player)) then { _marker = createMarkerLocal["MarkerPlayer",(position player)]; _marker setMarkerShapeLocal "ICON"; _marker setMarkerTypeLocal "DestroyedVehicle"; _marker setMarkerTextLocal "Me"; _marker setMarkerColorLocal "ColorGreen"; }; sleep 2; }; init.sqf:
    _nil = [] execVM "path\marker.sqf";  
  9. Like
    LunatikCH reacted to icomrade in Hive taking over a minute to load/waiting for auth..   
    I don't know why anyone would use xampp or wamp when all you really need is MySQL and MySQL workbench or a more lightweight DB administration application.  if you're installing either you already have desktop access to your server and can just RDP into the server, or remotely connect using MySQL workbench
    For all of my servers, I use mysql 5.7.xx http://dev.mysql.com/downloads/mysql/ and tweak the settings accordingly (believe it or not the defaults are not always the best) https://www.percona.com/blog/2016/10/12/mysql-5-7-performance-tuning-immediately-after-installation/
    Anyway, 1.0.6 uses a significantly improved server_monitor.sqf and a new loading method in HiveExt.ini. When looking into why the server took so long to start up in 1.0.5.1, I found that the HiveEXT.ini only took 2-3 seconds to load all objects from the DB into SQF, but server_monitor took minutes to spawn the objects into the game.
  10. Like
    LunatikCH reacted to salival in [Release] Vehicle Service Point (Refuel, Repair, Rearm) [Updated for 1.0.7]   
    Vehicle Service Point is part of Epoch 1.0.7.1 now.
     
    Hi,
    With Axe Cops permission I am releasing my updated version of his amazing Service Points script. 
    This includes support for original briefcases, gems (from epoch 1.0.7) and coins.
        (original github url: https://github.com/vos/dayz/tree/master/service_point)
        (original install/discussion url: https://epochmod.com/forum/topic/3935-release-vehicle-service-point-refuel-repair-rearm-script/)
        
    **** *REQUIRES DAYZ EPOCH 1.0.7* ****
        
    Major Changes:
        This version adds support for both single currency and gems (from the epoch 1.0.6 update) as well as the original epoch briefcase currency system. 
        Instead of pricing things like the original way, prices are now done on a "worth" similar to how coins are done. The price value of items are below.
        If you are using coins, I would recommend using the _currencyModifier variable since coins typically are 10x the value of briefcase based currency (1 brief == 100,000 coins)
        (You can either set this _currencyModifier variable to 1 then set the proper value or use the modifier, the modifier is mainly for dual currency servers)
        1 silver = 1 worth
        1 10oz silver = 10 worth
        1 gold = 100 worth
        1 10oz gold = 1,000 worth
        1 briefcase = 10,000 worth
        Please see dayz_code\configVariables.sqf for the value of gems (DZE_GemWorthArray) and their relevant worth if they are enabled.
        Example config settings for _refuel_costs, _repair_costs and _rearm_costs:
        All 3 sections can either be made free, disabled or a specifc price with the following examples:
        ["Air","free"] will make the vehicle config class of "Air" free for the specific action.
        ["Air","disabled"] will make the vehicle config class of "Air" disabled for the specific action.
        ["Air",2000] will make the vehicle config class of "Air" have a worth of 2000 for the specific action.
        ["Armored_SUV_PMC",2000] will make the specific vehicle have a worth of 2000 for the specific action.
        ["Armored_SUV_PMC","free"] will make the specific vehicle be free for the specific action.
        ["Armored_SUV_PMC","disabled"] will make the specific vehicle be disabled for the specific action.
        Valid vehicle config classes as an example: "Air", "AllVehicles", "All", "APC", "Bicycle", "Car", "Helicopter", "Land", "Motorcycle", "Plane", "Ship", "Tank"
    Visit my Github page to download and read the README.MD : https://github.com/oiad/service_points
    Old Epoch 1.0.6.2 Version can be found here: https://github.com/oiad/service_points/archive/refs/tags/Epoch_1.0.6.2.zip
  11. Like
    LunatikCH got a reaction from salival in 1.0.6 Maintenance not removing Doors and Plotpoles   
    I guess its because if you manage your plotpole or manage your door they will get updated in the database so they will get deleted a bit later.
  12. Like
    LunatikCH got a reaction from salival in Little help with return change on epoch 106   
    Put this:
    DZE_GemWorthArray = [];
    Somewhere under the line:
    #include "\z\addons\dayz_code\configVariables.sqf" // Don't remove this line
    in your init.sqf
    That will remove the return of gems.
     
  13. Like
    LunatikCH got a reaction from Th3-Hunter333 in Little help with return change on epoch 106   
    Put this:
    DZE_GemWorthArray = [];
    Somewhere under the line:
    #include "\z\addons\dayz_code\configVariables.sqf" // Don't remove this line
    in your init.sqf
    That will remove the return of gems.
     
  14. Like
    LunatikCH reacted to juandayz in Kick all players prior to restart   
  15. Like
    LunatikCH got a reaction from lwbuk in Strange server fps/affinity behaviour   
    you should concider doing some optimisation on the os, whats your os? 2008 or 2012?
    Basic things like power options and unparking cores will help you much.
    As said i had around 15 fps with 35 people online (4.5K objects) and im no longer running on a 4790K, i downgraded to a 6700K
  16. Like
    LunatikCH got a reaction from juandayz in When i'm save in 3D Editor custom building position change.   
    Build 1 object, save, it will move a bit, bring it in position again and save again, repeat that for every object and you should be fine
  17. Like
    LunatikCH got a reaction from SmokeyBR in 1.0.6 script kick using the notebook/humanity book thing   
    !="\"_2\",\"_1\",\"_b\",\"_idc_arr\",\"_extra_kills\",\"_tally_kills\",\"_full_box_count\",\"_partial_box_tally\",\"_add_kills\"];\n\n_kills = _this se"  
    http://137.74.172.109/BEF.php
    Not sure if im right but im using this for years and all fine so far
  18. Like
    LunatikCH reacted to icomrade in Epoch 1.0.6   
    No, we have ultimately decided that singleCurrency and the game play changes that are introduced by the mod are not conducive to the traditional game play of Epoch.
  19. Like
    LunatikCH got a reaction from dayzguy420 in (plz help )looking for a scripter to install mods to a gtx gaming server (2016)   
    looks like an infistar issue, this issue is known in the latest version.
  20. Like
  21. Like
  22. Like
    LunatikCH got a reaction from Thedarkrosi in Arma 2 DayZ Battle Royale   
    *If this topic is at the wrong place or generaly not allowed on exilemod forums please delete it.*
    Its something around 2 years ago since the last battleroyale server for arma 2 went off.
    I/my friends kinda liked the mod for some casual rounds so i decided to invest some time to get a own battle royale server running for my epoch players to do some events on it.
    Today we had our first test with a little amount of players and everything is running smooth.
    The reason i post this here is cause i think there are maybe some other people out there that liked this mod and wouldnt say no to some rounds of it.
    The next round (maybe more) we start are this friday at 20:00 CET so if someone is interested to get back to the old arma 2 for a hour or two please write underneath, i will post the server adress and downloadlink for the mod at friday.
     
    The server is located in germany, its a dedicated machine and we got smooth pings at whole europe, also players from the US should have a sweet ping, players on our epoch server have max. around 100.
  23. Like
    LunatikCH got a reaction from Anthrax in SERVER FILES BEING KEEP   
    I feel good after reading that that i never hosted with a gsp :D
  24. Like
    LunatikCH got a reaction from Thug in SERVER FILES BEING KEEP   
    I feel good after reading that that i never hosted with a gsp :D
  25. Like
    LunatikCH reacted to seelenapparat in Server fps horrifcly low even after restart   
    you want the truth? get yourself a dedibox. :)
    its what I did, and I never regret it.
    the hosted servers are mostly shit from a performance point of view.
     
    but 15 fps with just you online is very low I have to say. even on the hosted server with just me and my serversetup I got
    nearly 45fps. It went down heavily with each new player joining though.
    the worst was 4fps, that was the point when I made the step over to the dedibox.
×
×
  • Create New...