Jump to content

flakvest

Member
  • Posts

    79
  • Joined

  • Last visited

Reputation Activity

  1. Like
    flakvest reacted to RimBlock in [WIP] - Better refueling (Accurate fuel capacity, multiple fuel sources, choose vehicle to refuel, GUI).   
    Sure, it may take some time though and if people do not start testing with the releases I put up then undiscovered bugs may just compound the difficulty in troubleshooting later on.
     
    I will take a look at adding fuel trucks as fuel sources next.  Although it seems simple, there are a number of potential exploits that need to be dealt with.
     
    After that I will start to look at fuel pumps but that is likely to take some time as the number of valid combinations is likely to be quite complex.
     
    Version 0.51 (beta) is now up on the Git.  Slight cosmetic change so it now displays 100% when full rather than rounding down if amount is greater than 99.4%.  Functionality is unchanged.
  2. Like
    flakvest got a reaction from Ghostrider-GRG in Are vehicles being unlocked automatically?   
    You can also create a MYSQL event that will unlock abandoned cars after a certain period of time.  Here is what I am using.  Just edit to make the table name match the spelling and capitalization of your 'object_data' table.  This unlocks vehicles that are at least 4 days old and haven't been touched in 10 days.  You can change the numbers to reflect the time you want this to happen.
     
    DROP EVENT IF EXISTS unlockAbandonedVehicles; CREATE EVENT unlockAbandonedVehicles ON SCHEDULE EVERY 1 DAY COMMENT 'Unlocks vehicles that have been abandoned' DO UPDATE `Object_DATA` SET `CharacterID` = 0 WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 4 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 10 DAY) AND `CharacterID` > 0 AND `Classname` NOT IN ('VaultStorage','LockboxStorage','VaultStorageLocked','LockboxStorageLocked','WoodShack_DZ','StorageShed_DZ','TentStorageDomed','TentStorageDomed2','TentStorage')  AND `Inventory` <> '[]' AND `Inventory` IS NOT NULL;
  3. Like
    flakvest reacted to Spodermayt in [Release] Mortar Strike v1.1   
    m8, fixed it. easy peasy lemon squeezy
  4. Like
    flakvest got a reaction from NoobOwnag in [HOW-TO] New Steam-Only Arma Update   
    I have followed this to the letter and this is what I'm getting:
     
    RPT has the following errors and I DID start with CLEAN mission and server file with the intent of rebuilding from scratch.  In addition the client gets "This server is running an incorrect version of the server side application.  You cannot play on this server.  If you are the server admin please contact DayZ Epoch staff. I dont think I missed anything but for the life of me I can't get this running.  Any help is greatly appreciated.
     
    server_hiveReadWriteLar>  7:12:43   Error Undefined variable in expression: _resultarray  7:12:43 File z\addons\dayz_server\init\server_functions.sqf, line 166  7:12:43 Error in expression <y call server_hiveReadWrite; _outcome = _result select 0; if(_outcome == "PASS")>  7:12:43   Error position: <_result select 0; if(_outcome == "PASS")>  7:12:43   Error Undefined variable in expression: _result  7:12:43 File z\addons\dayz_server\compile\server_spawnEvent.sqf, line 39  7:12:54 Error in expression <ray = call compile format ["%1",_data]; _resultArray };   server_hiveReadWriteLar>  7:12:54   Error position: <_resultArray
  5. Like
    flakvest reacted to ekroemer in [RELEASE] TradeFromVehicle - Version 2.0 is here!   
    I just found this mod and, hating manual configuration, adapted the nice sql call into traders_data.
     
    So, here a version generating only the list of prices, including ItemBriefcase100oz and uniquely sorted:
    SELECT case SPLIT_STR(sell,',',2) when '\"ItemBriefcase100oz\"' then (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*10000,'],') ) when '\"ItemGoldBar10oz\"' then (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*1000,'],') ) when '\"ItemGoldBar\"' then (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*100,'],') ) when '\"ItemSilverBar10oz\"' then (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[','')*10,'],') ) when '\"ItemSilverBar\"' then (concat(SPLIT_STR(item,',',1) ,',',replace(SPLIT_STR(sell,',',1),'[',''),'],') ) end as list FROM traders_data where afile in ('trade_weapons','trade_items') group by list Works with PhpMyAdmin, lets you choose 'show all' and copy the whole list (only thing to do is to remove the headers 'list' that occur every 100 lines).
    Nice way to spot inconsistent pricing, too ;-)
  6. Like
    flakvest got a reaction from raymix in [1.4.1] Snap Building PRO   
    I can confirm this is working on 1.63 Overpoch
  7. Like
    flakvest got a reaction from Muffin Man in [1.4.1] Snap Building PRO   
    I can confirm this is working on 1.63 Overpoch
  8. Like
    flakvest reacted to Nekuan in [RELEASE] TradeFromVehicle - Version 2.0 is here!   
    Thank you so much! My players and I really do appreciate this! :)
  9. Like
    flakvest reacted to justchil in Script Locked Vehicles No Damage?   
    Works great :D
     
    day_code and call it in custom compiles.sqf
  10. Like
    flakvest reacted to FreakingFred in Script Locked Vehicles No Damage?   
    If you change line 12 to
    if (locked _unit && (count (crew _unit)) == 0) exitWith {}; it will stop players from being able to abuse the script.  Basically, this just checks if the vehicle has any players in it and if it does, regardless of whether it is locked or not, it will take damage.  Unmanned locked vehicles will still take no damage.
  11. Like
    flakvest got a reaction from Dave in Are vehicles being unlocked automatically?   
    You can also create a MYSQL event that will unlock abandoned cars after a certain period of time.  Here is what I am using.  Just edit to make the table name match the spelling and capitalization of your 'object_data' table.  This unlocks vehicles that are at least 4 days old and haven't been touched in 10 days.  You can change the numbers to reflect the time you want this to happen.
     
    DROP EVENT IF EXISTS unlockAbandonedVehicles; CREATE EVENT unlockAbandonedVehicles ON SCHEDULE EVERY 1 DAY COMMENT 'Unlocks vehicles that have been abandoned' DO UPDATE `Object_DATA` SET `CharacterID` = 0 WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 4 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 10 DAY) AND `CharacterID` > 0 AND `Classname` NOT IN ('VaultStorage','LockboxStorage','VaultStorageLocked','LockboxStorageLocked','WoodShack_DZ','StorageShed_DZ','TentStorageDomed','TentStorageDomed2','TentStorage')  AND `Inventory` <> '[]' AND `Inventory` IS NOT NULL;
×
×
  • Create New...