DayZ
Bitcoin-Mining-Farm (Official)
81件中 1-10 を表示
< 1  2  3 ... 9 >
更新: 4月18日 @ 0時45分

更新: 4月18日 @ 0時45分

Push.

更新: 4月15日 @ 4時06分

Push.

更新: 4月15日 @ 4時06分

Fix no damage to mining rig ultra PSU.

更新: 4月15日 @ 3時17分

Push.

更新: 4月15日 @ 3時17分

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

更新: 4月15日 @ 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.

更新: 4月15日 @ 0時03分

Push:

更新: 3月17日 @ 9時15分

-Bug fixes:
Sky miner was still duplicating.

更新: 3月17日 @ 9時09分

-Push.