DayZ
Bitcoin-Mining-Farm (Official)
Mostrando 1-10 de 81 aportaciones
< 1  2  3 ... 9 >
Actualización: 18 ABR a las 0:45

Actualización: 18 ABR a las 0:45

Push.

Actualización: 15 ABR a las 4:06

Push.

Actualización: 15 ABR a las 4:06

Fix no damage to mining rig ultra PSU.

Actualización: 15 ABR a las 3:17

Push.

Actualización: 15 ABR a las 3:17

Mining Rig Ultra Recipe fix.
Was fuplicated names causing delete of rig instead of dismantle.

Actualización: 15 ABR a las 0:04

Change notes to Bitcoin-Mining-Rig(Official)

added the missing comma to the SaveConfig function in Bitcoin_Mining_Rig/scripts/3_Game/CustomConfig.c. This should resolve the JSON error you were encountering when the game generated the CardMaster(Official)Config.json file.

You will need to delete the old config, and run the game again for the changes to take effect and for a new, correctly formatted config file to be generated.

Added a new member variable m_TotalCustomHashValue to store the combined hash rate from GPUs using custom logic.
Created a new function UpdateTotalCustomHashValue() which iterates through attached GB_GPU items, calls their PostInit() method, sums their HashValue, and stores the result in m_TotalCustomHashValue. This function only runs on the server when the CUSTOM flag is true and the rig is powered.
Modified OnSwitchOn, EEItemAttached (for GB_GPU items), and EEItemDetached (for GB_GPU items) to call UpdateTotalCustomHashValue() when custom logic is enabled. This ensures the total hash value is recalculated only when the rig's power state or GPU attachments change.
Modified EEInit to call UpdateTotalCustomHashValue() after a short delay if the rig loads in a powered-on state with custom logic enabled, ensuring the initial value is calculated correctly.
Modified OnWorkStop to reset m_TotalCustomHashValue to 0 when the rig is turned off.
Simplified UseCustomLogic() to directly use the stored m_TotalCustomHashValue for adding quantity to the Bitcoin item, removing the loop and the repeated PostInit() calls from this function.

Antminer (GB_Antmining_Rig.c):
The internal mining timer (StartMining/hidad) will now only run if the Antminer is placed in the world and powered independently (not attached to a rack).
The internal timer state (isTimerActive, timeElapsed) is only saved and loaded if the Antminer is not attached to a rack.
The internal timer is explicitly stopped when the Antminer is switched off or told to turn off by the rack (OnSwitchOff, PlayerTurnedOn(false)).
Server Rack (GB_Server_Rack.c):
The rack is now the sole controller of mining progress for attached Antminers via its UpdateMiners timer and minerProgress map.
The redundant pendingItems logic has been removed.

Actualización: 15 ABR a las 0:03

Push:

Actualización: 17 MAR a las 9:15

-Bug fixes:
Sky miner was still duplicating.

Actualización: 17 MAR a las 9:09

-Push.