Skip to content
Merged

merge #205

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
ed7b8b5
* fix BuyOfferOfTheDayWorker run only once and isn't rescheduled.
0xE232FE Jun 26, 2024
736c18b
* prevent using deprecated parameter user-agent
0xE232FE Jul 13, 2024
092debb
* update ogamed
0xE232FE Jul 13, 2024
807cc85
* AutoFarmer: Issue if no Moon is present!
0xE232FE Jul 30, 2024
819c892
* fix Device-Name always ToUpper() don't manipulate string from setti…
0xE232FE Aug 1, 2024
b62ba36
Typo origin.Coordinate.System -> sys
0xE232FE Aug 3, 2024
6de0750
* minor fix for rerun AutoResearch. Building were nil after first run…
0xE232FE Aug 5, 2024
3a221e4
* update ogame wrapper
0xE232FE Sep 11, 2024
23b7a5b
* fix DOIR
0xE232FE Sep 27, 2024
5064a87
Ignore sleepMode for expedition
Cheeeh Sep 22, 2024
1470703
oups
Cheeeh Sep 22, 2024
2945bb0
fix slotExpo not use
Cheeeh Sep 26, 2024
b4aa77b
* fix AutoMine Typo
0xE232FE Sep 28, 2024
1c85bad
* update ogamed
0xE232FE Nov 6, 2024
a49bd23
* reverse maxInt
0xE232FE Nov 23, 2024
153ed4c
* update submodule
0xE232FE Nov 23, 2024
55c54e7
Improve Brain Transport and Slots Usage
Cheeeh Nov 25, 2024
74f4613
remove debug log
Cheeeh Nov 25, 2024
c51d579
update discovery & brain interval
Cheeeh Nov 27, 2024
b319ef9
* update ogame-wrapper
0xE232FE Nov 28, 2024
c85fb30
Update release.yml
0xE232FE Feb 5, 2025
83266fb
Update release.yml
0xE232FE Feb 5, 2025
fd7a8d6
fix autoFarm probe
Cheeeh Feb 16, 2025
ff540c0
Update release.yml
0xE232FE Feb 5, 2025
bc2d18e
Merge pull request #20 from Cheeeh/BrainTransportUpdate
0xE232FE Feb 21, 2025
1015c40
fix Brain.Transports
Cheeeh Feb 22, 2025
24deb25
fix autoDiscovery Crashes ?
Cheeeh Feb 24, 2025
4232313
* upgrade to .Net Framework 9.0
0xE232FE Feb 27, 2025
efc94e7
Merge pull request #21 from Cheeeh/BrainTransportsFix
0xE232FE Feb 27, 2025
f95311b
* try to fix github actions
0xE232FE Feb 27, 2025
aca1152
Merge branch '20240626_develop' of https://github.com/0xE232FE/TBot i…
0xE232FE Feb 27, 2025
1d9103a
* change action to build TBot with self-contained .Net Framework
0xE232FE Feb 27, 2025
ff4f9d2
* adjust versioning
0xE232FE Feb 27, 2025
d9c2c82
* fix TelegramBot
0xE232FE Feb 27, 2025
6673c77
* v3.0.8
0xE232FE Feb 27, 2025
c68bbdf
* Improve FleetSaver to use Transport Mission as last option. This is…
0xE232FE Feb 28, 2025
d111316
v3.0.9
0xE232FE Feb 28, 2025
b7cf509
* fix Brain AutoTransport nil pointer reference.
0xE232FE Mar 3, 2025
cba245e
fix for other feature.transports
Cheeeh Mar 5, 2025
fd6374a
* v3.1.1
0xE232FE Mar 5, 2025
8f180e4
Merge pull request #22 from Cheeeh/BrainTransportsFix
0xE232FE Mar 5, 2025
5c16a78
* fix nil pointer exception
0xE232FE Mar 5, 2025
d121f8c
fix SlotPriorityLevel 0
Cheeeh Mar 12, 2025
e94a125
v3.1.3
0xE232FE Mar 16, 2025
5e2ab03
Fix transport instance's error
Cheeeh May 5, 2025
a6bb1e9
Merge remote-tracking branch 'remotes/Cheeeh/BrainTransportsFix' into…
0xE232FE May 13, 2025
c931f0a
* improve Defender
0xE232FE May 18, 2025
448ad3a
* ITelegram Update Nuget
0xE232FE May 18, 2025
ce7a4f2
Update nuget dependencies for security purpose.
0xE232FE May 18, 2025
4fcd625
update version 3.1.5
0xE232FE May 18, 2025
8336d7c
cleanup
0xE232FE May 23, 2025
8bf858f
Fix some transports problems
Cheeeh May 27, 2025
a7fd0cc
Merge pull request #24 from Cheeeh/TransportsFix Fix some transports …
0xE232FE May 28, 2025
44d9df7
Update Release 3.1.6
0xE232FE May 28, 2025
5349e1b
* Logic error on Colonizer and FleetScheduler using Calculaction Serv…
0xE232FE May 31, 2025
f55367f
v3.1.7
0xE232FE May 31, 2025
03598fc
* Function Naming from CalcLimitAstro to IsAstrophysicsPositionValid …
0xE232FE May 31, 2025
b9af7ed
v3.1.8
0xE232FE May 31, 2025
4950560
* fix crash on jsonObj parsing EditSettings
0xE232FE May 31, 2025
7f2b6e4
v3.1.9
0xE232FE May 31, 2025
fa47b59
* cleanup
0xE232FE May 31, 2025
15f67ee
Fix interval value
Cheeeh May 31, 2025
d10a3f0
* fix AutoMine Timers wrong variable.
0xE232FE May 31, 2025
77851d3
v3.2.0
0xE232FE May 31, 2025
b559f1e
Merge pull request #25 from Cheeeh/FixFewBrainTimer
0xE232FE May 31, 2025
fc83453
v3.2.1
0xE232FE Jun 1, 2025
1aacd07
* fix AutoTransport
0xE232FE Jun 4, 2025
f169023
v3.2.2
0xE232FE Jun 4, 2025
683ea16
fix Autotransport on non Multi-Origin for all brain feature
Cheeeh Jun 4, 2025
d2cd424
Merge pull request #26 from Cheeeh/fix-non-Multi-Origin-transport
0xE232FE Jun 4, 2025
34f773a
v3.2.3
0xE232FE Jun 4, 2025
9a2a5a0
Few fixes for the bot
Cheeeh Jun 4, 2025
e50e51f
Fix slots distribution & better CalcMultipleOrigin
Cheeeh Jun 12, 2025
0b9947b
Improve CalcMultipleOrigin's resources calculation
Cheeeh Jun 12, 2025
a150276
add new telegram command
Cheeeh Jun 17, 2025
efe48b2
improve optimizeForStart
Cheeeh Jun 18, 2025
179eb33
update RankSlotsPriority builder
Cheeeh Jun 22, 2025
559a571
reduce autoColonize IntensiveReasearch check interval
Cheeeh Jun 23, 2025
c31eb76
fix visual feature match in log
Cheeeh Jun 23, 2025
cbe6946
updade ogame module
0xE232FE Jun 26, 2025
f950c68
update ogame module
0xE232FE Jun 26, 2025
e955ec2
Update release.yml
0xE232FE Jun 26, 2025
aaa1d26
Update snapshot.yml
0xE232FE Jun 26, 2025
6321772
Update snapshot.yml
0xE232FE Jun 26, 2025
b1d2047
Update release.yml
0xE232FE Jun 26, 2025
6ce4a90
Merge pull request #27 from Cheeeh/Still-few-fix
0xE232FE Jun 26, 2025
4a676ad
v3.2.5
0xE232FE Jun 26, 2025
40ca005
* fix Automine LFTechs
0xE232FE Jun 26, 2025
da6002e
fix AutoMine LFTechs
0xE232FE Jun 26, 2025
479c782
v3.2.6
0xE232FE Jun 26, 2025
3c76a86
fix SlotPriorityLevel
Cheeeh Jun 26, 2025
6e74180
v3.2.6
0xE232FE Jun 26, 2025
36e6a72
Merge pull request #28 from Cheeeh/fix_SlotPriorityLevel
0xE232FE Jun 26, 2025
42e5068
update DeutToLeaveOnMoons and SlotsPriority repartition
Cheeeh Jul 1, 2025
b2069c3
v3.2.7
0xE232FE Jul 5, 2025
bf243ab
Merge pull request #29 from Cheeeh/various_patches
0xE232FE Jul 5, 2025
72e2caf
* update deps
0xE232FE Jul 10, 2025
ae5ee3b
v3.2.8
0xE232FE Jul 10, 2025
6decac1
v3.2.9
0xE232FE Jul 13, 2025
b7203ef
fix slot calculation issue where usedSlots counted twice.
0xE232FE Jul 23, 2025
2992b02
v3.3.0
0xE232FE Jul 23, 2025
ab5c3a2
* refactoring discovery @zeus
0xE232FE Jul 26, 2025
9df2885
v3.3.1
0xE232FE Jul 26, 2025
5ab659b
* small fixes
0xE232FE Aug 5, 2025
c444f1f
v3.3.2
0xE232FE Aug 5, 2025
3723f67
add Brain.AutoDefence feature, and some update
Cheeeh Aug 22, 2025
8dc7346
Merge pull request #30 from Cheeeh/improve-and-fix
0xE232FE Aug 24, 2025
c5785e7
v3.3.3
0xE232FE Aug 24, 2025
680e762
update LFBonuses
Cheeeh Aug 31, 2025
b6fe213
* update deps
0xE232FE Sep 9, 2025
d8495dc
v3.3.4
0xE232FE Sep 9, 2025
08b7d87
add /collectall
Cheeeh Sep 17, 2025
238017b
typo
Cheeeh Sep 17, 2025
9b7d9b4
Merge pull request #31 from Cheeeh/update_LFBonuses
0xE232FE Oct 30, 2025
b672a74
Merge pull request #32 from Cheeeh/collectall-telegramCommand
0xE232FE Oct 30, 2025
1623323
* delay instance loading
0xE232FE Oct 30, 2025
0e9a4c6
Merge branch '20240626_develop' of https://github.com/0xE232FE/TBot i…
0xE232FE Oct 30, 2025
890c1a4
v3.3.5
0xE232FE Oct 30, 2025
4673195
* v3.3.6
0xE232FE Dec 10, 2025
fd9f38e
v3.3.7
0xE232FE Feb 4, 2026
8ca809b
Refactor AutoDiscoveryWorker logic and cleanup
Feb 20, 2026
a98144e
Update UserData service
Feb 20, 2026
deeee4b
Add Model folder with AutoFarm state models
Feb 20, 2026
c9f6300
Fix concurrency and async handling in DefenderWorker
Feb 20, 2026
5f1a4f0
Refactor and improve ExpeditionWorker logic
Feb 20, 2026
4235c70
Refactor and improve FleetScheduler logic
Feb 20, 2026
96c050a
AutoFarmWorker update
Feb 21, 2026
0b4f86e
Merge remote-tracking branch 'remotes/Killer-oooo/userdata' into 2026…
0xE232FE Mar 5, 2026
c4adc45
Merge remote-tracking branch 'remotes/Killer-oooo/defenderworker-fix'…
0xE232FE Mar 5, 2026
aec7a0c
Merge remote-tracking branch 'remotes/Killer-oooo/expeditionsworker-f…
0xE232FE Mar 5, 2026
8e8f453
Merge remote-tracking branch 'remotes/Killer-oooo/fleetscheduler-upda…
0xE232FE Mar 5, 2026
abe99c8
Merge remote-tracking branch 'remotes/Killer-oooo/autofarmworker-upda…
0xE232FE Mar 5, 2026
e4ff387
# v3.3.8
0xE232FE Mar 13, 2026
bd0179b
* fix overflow
0xE232FE Mar 15, 2026
20f7ee7
v3.3.9
0xE232FE Mar 15, 2026
a50dfa0
* fix overflow
0xE232FE Mar 16, 2026
5ce357f
* fix overflow
0xE232FE Mar 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,50 +21,50 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Setup GO
uses: actions/setup-go@v2
with:
go-version: '~1.18.0'
go-version: '~1.23.0'

- name: Build TBot win64
run: dotnet publish TBot -c Release -r win-x64 -o publish/win64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r win-x64 -o publish/win64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed win64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=windows GOARCH=amd64 go build -o ogamed.exe
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed.exe ${{ github.workspace }}/publish/win64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed.exe ${{ github.workspace }}/publish/win64/
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/win64/
- name: Package win64
uses: montudor/action-zip@v1
with:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-win64.zip publish/win64/

- name: Build TBot win32
run: dotnet publish TBot -c Release -r win-x86 -o publish/win32/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r win-x86 -o publish/win32/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed win32
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=windows GOARCH=386 go build -o ogamed.exe
cd ${{ github.workspace }}/
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed.exe ${{ github.workspace }}/publish/win32/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed.exe ${{ github.workspace }}/publish/win32/
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/win32/
- name: Package win32
uses: montudor/action-zip@v1
with:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-win32.zip publish/win32/

- name: Build TBot TBot linux64
run: dotnet publish TBot -c Release -r linux-x64 -o publish/linux64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-x64 -o publish/linux64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linux64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=amd64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linux64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linux64/
chmod +x ${{ github.workspace }}/publish/linux64/TBot
chmod +x ${{ github.workspace }}/publish/linux64/ogamed
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/linux64/
Expand All @@ -74,13 +74,13 @@ jobs:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-linux64.zip publish/linux64/

- name: Build TBot TBot linuxarm
run: dotnet publish TBot -c Release -r linux-arm -o publish/linuxarm/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-arm -o publish/linuxarm/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linuxarm
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=arm GOARM=7 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linuxarm/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linuxarm/
chmod +x ${{ github.workspace }}/publish/linuxarm/TBot
chmod +x ${{ github.workspace }}/publish/linuxarm/ogamed
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/linuxarm/
Expand All @@ -90,13 +90,13 @@ jobs:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-linuxarm.zip publish/linuxarm/

- name: Build TBot TBot linuxarm64
run: dotnet publish TBot -c Release -r linux-arm64 -o publish/linuxarm64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-arm64 -o publish/linuxarm64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linuxarm64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=arm64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linuxarm64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linuxarm64/
chmod +x ${{ github.workspace }}/publish/linuxarm64/TBot
chmod +x ${{ github.workspace }}/publish/linuxarm64/ogamed
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/linuxarm64/
Expand All @@ -106,13 +106,13 @@ jobs:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-linuxarm64.zip publish/linuxarm64/

- name: Build TBot TBot osx64
run: dotnet publish TBot -c Release -r osx-x64 -o publish/osx64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r osx-x64 -o publish/osx64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed osx64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=darwin GOARCH=amd64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/osx64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/osx64/
chmod +x ${{ github.workspace }}/publish/osx64/TBot
chmod +x ${{ github.workspace }}/publish/osx64/ogamed
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/osx64/
Expand All @@ -122,13 +122,13 @@ jobs:
args: zip -qq -r TBot-${{ env.SNAP_VERSION }}-osx64.zip publish/osx64/

- name: Build TBot TBot osx-arm64
run: dotnet publish TBot -c Release -r osx-arm64 -o publish/osx-arm64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r osx-arm64 -o publish/osx-arm64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed osx-arm64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
env GOOS=darwin GOARCH=amd64 go build -o ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=darwin GOARCH=arm64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/osx-arm64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/osx-arm64/
chmod +x ${{ github.workspace }}/publish/osx-arm64/TBot
chmod +x ${{ github.workspace }}/publish/osx-arm64/ogamed
cp ${{ github.workspace }}/README.md ${{ github.workspace }}/publish/osx-arm64/
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Setup GO
uses: actions/setup-go@v2
with:
go-version: '~1.18.0'
go-version: '~1.23.0'

- name: Build TBot win64
run: dotnet publish TBot -c Release -r win-x64 -o publish/win64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r win-x64 -o publish/win64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed win64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=windows GOARCH=amd64 go build -o ogamed.exe
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed.exe ${{ github.workspace }}/publish/win64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed.exe ${{ github.workspace }}/publish/win64/
- name: Package win64
uses: montudor/action-zip@v1
with:
Expand All @@ -49,13 +49,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-win64.zip

- name: Build TBot win32
run: dotnet publish TBot -c Release -r win-x86 -o publish/win32/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r win-x86 -o publish/win32/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed win32
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=windows GOARCH=386 go build -o ogamed.exe
cd ${{ github.workspace }}/
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed.exe ${{ github.workspace }}/publish/win32/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed.exe ${{ github.workspace }}/publish/win32/
- name: Package win32
uses: montudor/action-zip@v1
with:
Expand All @@ -67,13 +67,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-win32.zip

- name: Build TBot linux64
run: dotnet publish TBot -c Release -r linux-x64 -o publish/linux64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-x64 -o publish/linux64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linux64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=amd64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linux64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linux64/
chmod +x ${{ github.workspace }}/publish/linux64/TBot
chmod +x ${{ github.workspace }}/publish/linux64/ogamed
- name: Package linux64
Expand All @@ -87,13 +87,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-linux64.zip

- name: Build TBot linuxarm
run: dotnet publish TBot -c Release -r linux-arm -o publish/linuxarm/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-arm -o publish/linuxarm/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linuxarm
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=arm GOARM=7 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linuxarm/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linuxarm/
chmod +x ${{ github.workspace }}/publish/linuxarm/TBot
chmod +x ${{ github.workspace }}/publish/linuxarm/ogamed
- name: Package linuxarm
Expand All @@ -107,13 +107,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-linuxarm.zip

- name: Build TBot linuxarm64
run: dotnet publish TBot -c Release -r linux-arm64 -o publish/linuxarm64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r linux-arm64 -o publish/linuxarm64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed linuxarm64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=linux GOARCH=arm64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/linuxarm64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/linuxarm64/
chmod +x ${{ github.workspace }}/publish/linuxarm64/TBot
chmod +x ${{ github.workspace }}/publish/linuxarm64/ogamed
- name: Package linuxarm64
Expand All @@ -127,13 +127,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-linuxarm64.zip

- name: Build TBot osx64
run: dotnet publish TBot -c Release -r osx-x64 -o publish/osx64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r osx-x64 -o publish/osx64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed osx64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=darwin GOARCH=amd64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/osx64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/osx64/
chmod +x ${{ github.workspace }}/publish/osx64/TBot
chmod +x ${{ github.workspace }}/publish/osx64/ogamed
- name: Package osx64
Expand All @@ -147,13 +147,13 @@ jobs:
path: ${{ github.workspace }}/TBot-${{ env.SNAP_VERSION }}-osx64.zip

- name: Build TBot osx-arm64
run: dotnet publish TBot -c Release -r osx-arm64 -o publish/osx-arm64/ -p:PublishSingleFile=true --self-contained false
run: dotnet publish TBot -c Release -r osx-arm64 -o publish/osx-arm64/ -p:PublishSingleFile=true --self-contained true
- name: Build ogamed osx-arm64
run: |
cd ${{ github.workspace }}/ogame/cmd/ogamed
cd ${{ github.workspace }}/ogame/cmd/ogamed-tbot
env GOOS=darwin GOARCH=arm64 go build -o ogamed
cd ${{ github.workspace }}
mv ${{ github.workspace }}/ogame/cmd/ogamed/ogamed ${{ github.workspace }}/publish/osx-arm64/
mv ${{ github.workspace }}/ogame/cmd/ogamed-tbot/ogamed ${{ github.workspace }}/publish/osx-arm64/
chmod +x ${{ github.workspace }}/publish/osx-arm64/TBot
chmod +x ${{ github.workspace }}/publish/osx-arm64/ogamed
- name: Package osx-arm64
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "ogame"]
path = ogame
url = https://github.com/ogame-tbot-net/ogame.git
branch = develop_v11.9
url = https://github.com/0xE232FE/ogame.mod.git
branch = develop-ogamed-tbot
1 change: 1 addition & 0 deletions TBot.Common/Logging/LogSender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public enum LogSender {
Brain,
//Brain Features
AutoCargo,
AutoDefence,
AutoMine,
AutoRepatriate,
AutoResearch,
Expand Down
1 change: 1 addition & 0 deletions TBot.Common/Logging/Sinks/TBotColoredConsoleSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public void Emit(LogEvent logEvent) {
ConsoleColor consoleColor = sender switch {
LogSender.Brain => ConsoleColor.Blue,
LogSender.AutoCargo => ConsoleColor.Blue,
LogSender.AutoDefence => ConsoleColor.Blue,
LogSender.AutoMine => ConsoleColor.Blue,
LogSender.AutoRepatriate => ConsoleColor.Blue,
LogSender.AutoResearch => ConsoleColor.Blue,
Expand Down
12 changes: 6 additions & 6 deletions TBot.Common/TBot.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.10.48" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.14.15" />
<PackageReference Include="Serilog" Version="4.3.0" />
<PackageReference Include="Serilog.Sinks.AspNetCore.SignalR" Version="0.4.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.Telegram.Alternative" Version="1.3.0" />
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
<PackageReference Include="Serilog.Sinks.Telegram.Alternative" Version="1.5.0" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions TBot.Ogame.Infrastructure/Enums/Feature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public enum Feature {
BrainLifeformAutoMine = 12,
BrainLifeformAutoResearch = 13,
AutoDiscovery = 14,
BrainAutobuildDefence = 15,

BrainCelestialAutoMine = 101,
BrainCelestialLifeformAutoMine = 102,
Expand Down
1 change: 1 addition & 0 deletions TBot.Ogame.Infrastructure/Enums/Features.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public static class Features {
public static readonly List<Feature> AllFeatures = new List<Feature>() {
Feature.Defender,
Feature.BrainAutobuildCargo,
Feature.BrainAutobuildDefence,
Feature.BrainAutoRepatriate,
Feature.BrainAutoMine,
Feature.BrainLifeformAutoMine,
Expand Down
3 changes: 2 additions & 1 deletion TBot.Ogame.Infrastructure/Enums/SendFleetCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public enum SendFleetCode : int {
GenericError = 0,
AfterSleepTime = -1,
NotEnoughSlots = -2,
QuickerToWaitForProduction = -3
QuickerToWaitForProduction = -3,
NotEnoughRessources = -4
}
}
4 changes: 3 additions & 1 deletion TBot.Ogame.Infrastructure/IOgameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ void Initialize(Credentials credentials,
Task SendMessage(int playerID, string message);
Task SetUserAgent(string userAgent);
Task SolveCaptcha(string challengeID, int answer);
Task<bool> AbandonCelestial(Celestial celestial);
Task<bool> AbandonCelestial(Celestial celestial);
Task<List<Coordinate>> GetPositionsAvailableForDiscoveryFleet(Celestial celestial, Coordinate coordinate);
Task<int> GetAvailableDiscoveries(Celestial celestial);
}
}
2 changes: 1 addition & 1 deletion TBot.Ogame.Infrastructure/Models/AuctionResourcesValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AuctionResourcesValue {
[JsonProperty("name")]
public string Name { get; set; }

public int otherPlanetId { get; set; } = 0;
public int? otherPlanetId { get; set; } = 0;

public override string ToString() {
string outStr = "[";
Expand Down
Loading
Loading