Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
80576a6
fix bot list
mercury233 Jan 22, 2020
4e5a0aa
version
mercury233 Jan 23, 2020
917a466
Always return yes on rematch request
edo9300 Feb 26, 2020
4ce13bc
Fix windbot not correctly parsing field info
edo9300 Feb 27, 2020
4d54bde
Remove single quotes from deck codenames
kevinlul Mar 9, 2020
0465f8a
Set card controller from the various game messages
edo9300 Mar 10, 2020
8531b2b
Fix the ID for Silver's Cry in the Horus executor. (#4)
ScienceBall Mar 13, 2020
ea0a56e
Merge with libwindbot
edo9300 Mar 16, 2020
b1cdc7c
Remove BotWrapper project
edo9300 Mar 16, 2020
651569a
Fix Tribute Summoning crashing, and SelectCard(ClientCard) not working
ScienceBall Mar 30, 2020
a542d76
Merge pull request #5 from ScienceBall/fix-tribute-selectcard
edo9300 Mar 30, 2020
4c12c06
Fix Windbot build
ScienceBall Mar 29, 2020
0e84a42
[Travis] Build desktop WindBot only
kevinlul Mar 31, 2020
3f3b31d
Add authors to license
kevinlul Apr 2, 2020
57c72a8
Use new joinGame packet structure
edo9300 Apr 2, 2020
64e0b64
Fix ScienceBall's name
kevinlul Apr 2, 2020
92fd422
Fix joining version
kevinlul Apr 3, 2020
9ecfd39
Set fallback version to 38.0.0 (8.0)
kevinlul Apr 3, 2020
316c0d6
Update handshake
kevinlul Apr 3, 2020
7651d1d
Update AIUtil.GetStringId
edo9300 Apr 10, 2020
2afb80a
Fix instances of select hint
edo9300 Apr 10, 2020
14db8fe
Check for MP2 and EP on end BP to always switch to the correct phase …
ScienceBall Apr 14, 2020
6e01d0a
Allow absolute path to cards database
ScienceBall Apr 12, 2020
a6913c5
For Debug configuration, build desktop WindBot only
ScienceBall Apr 13, 2020
562140c
Fix infinite loop when trying to Tribute Summon
ScienceBall Apr 13, 2020
fac2654
Build both libWindbot and WindBot projects
ScienceBall Apr 14, 2020
7ef151b
Fix SkyStriker's hand effect (#120)
Wind2009-Louse Apr 16, 2020
c515c11
update enum (#119)
Wind2009-Louse Apr 16, 2020
ce5cb55
fix hand chaining card unknown
mercury233 Apr 16, 2020
4f91bc0
always activate Santa Claws
mercury233 Apr 16, 2020
c17b977
don't attack Hamon the Lord
mercury233 Apr 16, 2020
2468bed
add PureWinds deck
mercury233 Apr 16, 2020
b115f4a
Added time thief and Mathmech deck (#122)
sunx2 Apr 16, 2020
9442096
Executor update (#123)
Wind2009-Louse Apr 17, 2020
909b4e8
Add Witchcraft deck (#125)
Wind2009-Louse Apr 24, 2020
26acbca
update bots list
mercury233 Apr 24, 2020
0b47df7
Fix Utils.GetStringId, due to data sizes, the shifting of teh id was …
edo9300 Apr 24, 2020
8c3b26d
update (#126)
Wind2009-Louse Apr 25, 2020
37c2298
update dialog
mercury233 Apr 25, 2020
e1a9d61
Remove YGOSharp dlls, use source directly instead, add support for re…
edo9300 Apr 27, 2020
01c4761
Update assembly properties
edo9300 Apr 27, 2020
b990df0
Add support for executors loading via dll
edo9300 Apr 27, 2020
321d480
Deck name
edo9300 Apr 27, 2020
0fe37f7
Load executors from Executors subdirectory
edo9300 Apr 27, 2020
b82d389
Add sample dll executor project
edo9300 Apr 27, 2020
bf91c90
Add editorconfig
kevinlul Apr 28, 2020
85952eb
Add lazy deploy to avoid pushing on branches
kevinlul Apr 28, 2020
121d093
Add tag deploys to GitHub Releases
kevinlul Apr 28, 2020
c754a88
Remove duplicate enums
edo9300 Apr 28, 2020
650a0c1
Use _room.Players to check if windbot is a duelist
edo9300 Apr 28, 2020
cd46105
Catch exception from Directory.GetFiles
edo9300 Apr 28, 2020
d7c9fa5
Add MainPhaseEnd
edo9300 Apr 28, 2020
c693683
Put Logger back in windbot project, use callback in GameAI
edo9300 Apr 28, 2020
a0cc1fd
Swap parameters order of Log callback
edo9300 Apr 28, 2020
13d3a2a
Move LogLevel outside GameAI class
edo9300 Apr 28, 2020
bb33c00
Merge branch 'master' into dll-executors
edo9300 Apr 28, 2020
fb7c013
Merge branch 'dll-executors'
edo9300 Apr 28, 2020
a0cb586
Fix merge issue
edo9300 Apr 28, 2020
6cf4827
Move Deck.cs away from ExecutorBase
edo9300 Apr 29, 2020
2464c73
Add "Dragma" AI (#12)
AlphaKretin May 1, 2020
c0e3853
fix CardId name conflict
mercury233 May 1, 2020
21ad797
update ygopro version (STOC_DECK_COUNT is not implemented)
mercury233 May 1, 2020
e84cbed
Merge branch 'IceYGO-upstream'
kevinlul May 2, 2020
d9c4b48
Imported four new decks from upstream
kevinlul May 2, 2020
e023173
Add "ABC" AI (#11)
TheFlameFlash May 12, 2020
dd1e954
Fix handshake checking
edo9300 May 15, 2020
ea776e0
minor dialog update
mercury233 May 15, 2020
5facd8c
fix infinite activate
mercury233 May 15, 2020
b268fcb
Fix witchcraft (#128)
Wind2009-Louse May 15, 2020
8048c73
Don't disconnect on msg_retry
edo9300 May 17, 2020
90891a0
Merge branch 'master' of https://github.com/IceYGO/windbot
kevinlul May 17, 2020
042829f
Add missing files to libWindbot
kevinlul May 19, 2020
d442250
Support for new deckerror message structure
edo9300 May 19, 2020
d8c1231
Add CI for libWindbot (#18)
kevinlul May 21, 2020
7df1722
[Travis] Script deploy only for desktop job
kevinlul May 21, 2020
060b6b6
Fix dialogs loading on libwindbot
edo9300 May 21, 2020
b95a4c5
[Travis] Upload required resource files for aar build and avoid deskt…
kevinlul May 22, 2020
0d604df
Move upstream README
kevinlul May 23, 2020
d44334d
Update documentation [ci skip]
kevinlul May 24, 2020
eb0dc69
Initialize NamedCardsManager on libwindbot as well
edo9300 May 24, 2020
93f30b8
Catch exception
edo9300 May 24, 2020
bcbdf5c
Set fallback version to 38.1 (8.0)
kevinlul May 25, 2020
93cbaf1
Fix infinite operation of Witchcraft's PSY-Framelord Omega (#132)
Wind2009-Louse Jun 28, 2020
34b7eb0
Added link to an AI template generator program (#131)
Levyaton Jun 28, 2020
c2dcb7b
Merge remote-tracking branch 'IceYGO/master'
kevinlul Jul 14, 2020
e59a038
[Travis] Update VS2017 InstallationID for Xamarin.Android
kevinlul Jul 15, 2020
cafb591
ABCExecutor: expand Apollousa negation exclusions (#20)
TheFlameFlash Jul 15, 2020
fb26a2a
Update "Dragma" Deck name (#24)
AlphaKretin Jul 29, 2020
3539531
Add cli argument AssetPath
edo9300 Oct 6, 2020
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
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

[*.yml]
indent_size = 2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ x64/
build/
[Bb]in/
[Oo]bj/
output/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
Expand Down
60 changes: 47 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,50 @@ os: windows
language: cpp
git:
depth: 1
script:
- export PATH="/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin":$PATH
- msbuild.exe -m -p:Configuration=Release WindBot.sln
after_success:
- cd bin
- mv Release WindBot
- git init
- git checkout --orphan $DEPLOY_BRANCH
- git config user.email deploy@travis-ci.org
- git config user.name "Deployment Bot (from Travis CI)"
- git add -A WindBot
- git commit -qm "Deploy $DEPLOY_REPO to $DEPLOY_REPO:$DEPLOY_BRANCH"
- git push -qf https://$DEPLOY_TOKEN@github.com/$DEPLOY_REPO.git $DEPLOY_BRANCH:$DEPLOY_BRANCH
env:
global:
- ARTIFACT="WindBotIgnite-Release-$(date +%Y%m%d)-$TRAVIS_COMMIT.zip"
# Visual Studio Installer location for the Android SDK
- ANDROID_SDK_ROOT='C:\Program Files (x86)\Android\android-sdk'
# Visual Studio Installer location for an OpenJDK for Android development
- JAVA_HOME='C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25'
jobs:
include:
- name: "Desktop exe"
script: dotnet build WindBot.csproj --configuration=Release
env: DESKTOP_BUILD=1
before_deploy:
- cd bin && mv Release WindBot
- 7z a -tzip "$ARTIFACT" WindBot
- mv $ARTIFACT .. && cd ..
- name: "Android aar"
install:
- choco install nuget.commandline visualstudio2017-workload-xamarinbuildtools visualstudio2017-workload-nativemobile visualstudio2017-workload-netcrossplat
- ./ci/install-sdk-ndk.sh
- choco install mono --x86 # Unspecified dependency for Embeddinator; 64-bit does not work
script:
- export PATH="/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin":$PATH
- nuget restore WindBot.sln
- msbuild.exe -m -p:Configuration=Release WindBot.sln
before_deploy:
- cd bin && mkdir -p WindBot
- cp -r Release/COPYING Release/LICENSE Release/bots.json Release/Decks/ Release/Dialogs/ WindBot/
- 7z a WindBotIgnite-Resources.7z WindBot && cd ..
- mv output/libWindbot.aar bin/WindBotIgnite-Resources.7z .
before_script: cp Dialogs/default.json .
deploy:
- provider: script
skip_cleanup: true
script: bash ./ci/deploy.sh
on:
repo: ProjectIgnis/windbot
condition: $DESKTOP_BUILD == 1
- provider: releases
skip_cleanup: true
api_key: $RELEASES_TOKEN
file:
- $ARTIFACT
- libWindbot.aar
- WindBotIgnite-Resources.7z
on:
tags: true
22 changes: 16 additions & 6 deletions BotWrapper/bot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# !name
# command
# description
# flags (avail flags: SUPPORT_MASTER_RULE_3, SUPPORT_NEW_MASTER_RULE)
# flags (avail flags: SUPPORT_MASTER_RULE_3, SUPPORT_NEW_MASTER_RULE, SUPPORT_MASTER_RULE_2020)

!随机-非常简单
Random=AI_LV1
Expand Down Expand Up @@ -86,7 +86,7 @@ AI_ANTI_META SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2

!尼亚-淘气仙星
Name=尼亚 Deck=Trickstar Dialog=near.zh-CN
淘气仙星卡组
旧式淘气仙星卡组
AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!尼亚-幻变骚灵
Expand All @@ -101,7 +101,7 @@ AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!复制梁龙-自奏圣乐
Name=复制梁龙 Deck=Orcust Dialog=anothercopy.zh-CN
自奏圣乐卡组
旧式自奏圣乐卡组
AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!复制梁龙-转生炎兽
Expand All @@ -122,7 +122,12 @@ AI_LV1 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
!永远之魂-荷鲁斯
Name=永远之魂 Deck=Horus Dialog=soul.zh-CN
老式龙族卡组。
AI_LV1 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE
AI_LV1 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!比特机灵-微风
Name=比特机灵 Deck=PureWinds Dialog=zh-CN
风属性卡组。
AI_LV2 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!试作型机器人1732
Name=试作型机器人1732 Deck=ST1732 Dialog=zh-CN
Expand Down Expand Up @@ -157,9 +162,14 @@ AI_ANTI_META SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2
!報社鬥士
Name=報社鬥士 Deck=GrenMajuThunderBoarder Dialog=kiwi.zh-TW
红莲雷王滑板卡组。
AI_ANTI_META SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
AI_ANTI_META SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!我太帅了
Name=我太帅了 Deck=Dragun Dialog=smart.zh-CN
超魔导真红眼龙骑士卡组。
AI_LV3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020

!玻璃女巫
Name=玻璃女巫 Deck=Witchcraft Dialog=verre.zh-CN
魔女术卡组。
AI_LV3 SUPPORT_MASTER_RULE_3 SUPPORT_NEW_MASTER_RULE SUPPORT_MASTER_RULE_2020
59 changes: 59 additions & 0 deletions Decks/AI_ABC.ydk
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#created by FlameFlash
#main
99249638
99249638
46659709
46659709
46659709
65367484
65367484
65367484
43147039
89132148
30012506
30012506
30012506
77411244
77411244
77411244
3405259
3405259
3405259
39890958
14558128
32807846
73628505
73628505
73628505
12524259
12524259
12524259
24224830
24224830
24224830
65681983
65681983
65681983
66399653
66399653
66399653
10045474
10045474
10045474
#extra
1561110
1561110
1561110
75286621
10443957
10443957
58069384
58069384
21887175
4280258
38342335
2857636
75452921
83152482
65741786
!side
59 changes: 59 additions & 0 deletions Decks/AI_Dogmatika.ydk
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#created by AlphaKretin
#main
69680031
95679145
3717252
60303688
60303688
60303688
86120751
86120751
86120751
14558127
14558127
14558127
1984618
1984618
1984618
25311006
25311006
25311006
73628505
74063034
74063034
24224830
24224830
24224830
48130397
48130397
48130397
47679935
47679935
47679935
10045474
10045474
10045474
82956214
82956214
82956214
21011044
41420027
41420027
41420027
#extra
75286621
20366274
41209827
69946549
41373230
97300502
50907446
94977269
80532587
80532587
13529466
74586817
98506199
2220237
60303245
!side
59 changes: 59 additions & 0 deletions Decks/AI_Mathmech.ydk
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#created by ...
#main
8567955
8567955
8567955
89743495
89743495
27182739
27182739
27182739
53577438
53577438
53577438
16360142
16360142
16360142
80965043
80965043
80965043
52354896
52354896
12580477
14025912
14532163
14532163
35261759
35261759
35261759
57160136
57160136
57160136
70368879
70368879
70368879
81439173
93104632
93104632
8267140
41410651
36361633
36361633
36361633
#extra
42632209
42632209
42632209
15248594
15248594
15248594
61399402
61399402
61399402
85692042
85692042
85692042
88021907
88021907
88021907
!side
74 changes: 74 additions & 0 deletions Decks/AI_PureWinds.ydk
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#created by ...
#main
71007216
71007216
71007216
81275020
71175527
71175527
71175527
43722862
43722862
43722862
53932291
53932291
65277087
65277087
65277087
54455435
54455435
54455435
91662792
91662792
91662792
16725505
70117860
70117860
70117860
12580477
27980138
27980138
58577036
83764718
8267140
25789292
67723438
67723438
8608979
8608979
8608979
24590232
40605147
84749824
#extra
27315304
50954680
50954680
50954680
82044279
82044279
14577226
29552709
29552709
64880894
84766279
42110604
70913714
30674956
90512490
!side
19420830
19420830
19420830
94145021
94145021
94145021
25789292
25789292
43711255
43711255
43711255
58921041
58921041
23002292
23002292
Loading