Skip to content

merge#205

Merged
0xE232FE merged 137 commits into
ogame-tbot:developfrom
0xE232FE:develop3
Mar 16, 2026
Merged

merge#205
0xE232FE merged 137 commits into
ogame-tbot:developfrom
0xE232FE:develop3

Conversation

@0xE232FE

Copy link
Copy Markdown
Collaborator
  • fix overflow

0xE232FE and others added 30 commits June 26, 2024 16:42
* wrong values for fuelConsumption SmallCargo and Recycler Reported by @alexkidd
We want to use the sys variable we are looking at, not the System from the Origin.
(cherry picked from commit 4b12edc)
(cherry picked from commit f163847)
(cherry picked from commit cab5459)
* fix develop version of osx-arm64 build process
Brain Transport Update && other fix
0xE232FE and others added 28 commits September 9, 2025 19:08
update deps
* delay instance loading
* Add a Telegram command to collect resources without MinimumResources /collectall
* Update the implementation of LFBonuses
  Expeditions now use the LFExpeditionBonus bonus, certain cost and duration bonuses are applied, and upgraded ships are
  finally recognized.
* fix login issue
* update ogemd deps
* delay ogamed login to prevent login measurements
* update fix ogamed login issues
## Add multi-origin cyclic discovery rotation to AutoDiscoveryWorker
- Enabled sending AutoDiscovery missions from multiple configured coordinates (origins)
- Implemented nearest-system-first traversal logic per origin
- Added system-by-system rotation mechanism to cover multiple systems sequentially
- Implemented cyclic loop (after finishing the configured/available systems, starts again from the beginning)
- Preserved existing configuration compatibility

### Behaviour

Instead of sending AutoDiscovery only from a single coordinate, the worker now iterates through multiple origins and
dispatches AutoDiscovery missions to nearby systems sequentially in a rotating cycle.

This improves discovery coverage and reduces repetitive targeting of the same systems.

### Notes
Existing configurations remain functional.
If only one origin is defined, behaviour remains unchanged.

## Introduce AutoFarm Model layer and update UserData integration
This PR introduces a new Model layer for AutoFarm state handling.

### Changes:
* Added TBot/Model folder
* Implemented AutoFarmBlacklist
* Implemented AutoFarmSuccessfulTargets
* Implemented SharedFarmState
* Updated UserData service to support new model integration
* Structure remains clean and separated from existing Models namespace.

## Improve concurrency handling and async processing in DefenderWorker
This PR refactors DefenderWorker to improve concurrency safety and async handling.

### Changes:

* Introduced ConcurrentDictionary to prevent duplicate attack processing
* Added TTL-based tracking for handled attacks
* Replaced Task.Factory.StartNew with Task.Run
* Updated attack handling to use proper async/await flow
* Cleaned up obsolete comments and streamlined logic

### Impact:
* Prevents duplicate or parallel processing of the same attack
* Improves thread safety
* Ensures controlled and sequential attack handling
* Modernizes async usage to current best practices

No other components were modified.

## Add multi-origin expedition support in ExpeditionWorker

Refactored ExpeditionWorker to support multi-origin expedition dispatching.

### The worker now:
* Accepts an arbitrary number of configured origin coordinates
* Iterates through all origins during execution
* Dispatches one expedition per origin
* Maintains compatibility with existing configuration structure
* This enables scalable expedition sending without manual per-origin configuration duplication.

## Improve FleetScheduler logic and enhance colonization handling

### Refactored and extended FleetScheduler to improve colonization logic and fleet scheduling behavior.

* Enhanced colonization fleet dispatch strategy
* Improved execution flow and scheduling control
* Reduced potential edge-case misfires
* Structural cleanup for maintainability
* This change increases reliability of automated colonization operations.

## AutoFarmWorker update

* Added configurable blacklist mechanism
* Automatic blacklist reset after defined time window
* Resource threshold filtering to avoid low-value farming
* Optional full report processing for better coverage
* Controlled stop after complete scan cycle
* Structural cleanup for improved maintainability
* Targets below the defined resource threshold are temporarily excluded
* Blacklisted targets are automatically re-evaluated after reset period
* Report scanning logic is more predictable and controlled
* Reduced redundant farming attempts on low-profit targets
* Improved execution flow stability
* This update improves farming efficiency, reduces unnecessary attacks, and enhances the overall reliability of AutoFarmWorker operations.
* fix overflow
@0xE232FE
0xE232FE merged commit 6b2772f into ogame-tbot:develop Mar 16, 2026
1 check failed
@0xE232FE
0xE232FE deleted the develop3 branch March 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants