Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
windbot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
windbot
Commits
86c9807e
Commit
86c9807e
authored
Jul 08, 2019
by
mycard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of /home/mycard/windbot into 2pick
parents
69635f14
d926b5d9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
2 deletions
+44
-2
Dockerfile
Dockerfile
+11
-0
Game/GameBehavior.cs
Game/GameBehavior.cs
+0
-1
README.md
README.md
+32
-0
WindBotInfo.cs
WindBotInfo.cs
+1
-1
YGOSharp.OCGWrapper.Enums.dll
YGOSharp.OCGWrapper.Enums.dll
+0
-0
No files found.
Dockerfile
0 → 100644
View file @
86c9807e
FROM
mono
COPY
. /windbot-source
WORKDIR
/windbot-source
RUN
xbuild /p:Configuration
=
Release /p:TargetFrameworkVersion
=
v4.5 /p:OutDir
=
/windbot/
WORKDIR
/windbot
RUN
curl
--retry
5
--connect-timeout
30
--location
--remote-header-name
--remote-name
https://github.com/moecube/ygopro-database/raw/master/locales/zh-CN/cards.cdb
EXPOSE
2399
CMD
[ "mono", "/windbot/WindBot.exe", "ServerMode=true", "ServerPort=2399" ]
Game/GameBehavior.cs
View file @
86c9807e
...
@@ -131,7 +131,6 @@ namespace WindBot.Game
...
@@ -131,7 +131,6 @@ namespace WindBot.Game
_messages
.
Add
(
GameMessage
.
AnnounceCard
,
OnAnnounceCard
);
_messages
.
Add
(
GameMessage
.
AnnounceCard
,
OnAnnounceCard
);
_messages
.
Add
(
GameMessage
.
AnnounceNumber
,
OnAnnounceNumber
);
_messages
.
Add
(
GameMessage
.
AnnounceNumber
,
OnAnnounceNumber
);
_messages
.
Add
(
GameMessage
.
AnnounceRace
,
OnAnnounceRace
);
_messages
.
Add
(
GameMessage
.
AnnounceRace
,
OnAnnounceRace
);
_messages
.
Add
(
GameMessage
.
AnnounceCardFilter
,
OnAnnounceCard
);
_messages
.
Add
(
GameMessage
.
RockPaperScissors
,
OnRockPaperScissors
);
_messages
.
Add
(
GameMessage
.
RockPaperScissors
,
OnRockPaperScissors
);
_messages
.
Add
(
GameMessage
.
Equip
,
OnEquip
);
_messages
.
Add
(
GameMessage
.
Equip
,
OnEquip
);
_messages
.
Add
(
GameMessage
.
Unequip
,
OnUnEquip
);
_messages
.
Add
(
GameMessage
.
Unequip
,
OnUnEquip
);
...
...
README.md
View file @
86c9807e
...
@@ -141,6 +141,38 @@ The parameters are same as commandlines, but low cased.
...
@@ -141,6 +141,38 @@ The parameters are same as commandlines, but low cased.
### Changelog
### Changelog
#### v0x134A (2019-05-30)
-
Update YGOPro protrol to 0x134A
-
New decks: Altergeist, BlueEyesMaxDragon, GrenMajuThunderBoarder, Level8, Orcust, Phantasm, Salamangreat
-
Use LINQ in codes
-
Add random bot feature to BotWrapper
-
Add
`ClientCard.Sequence`
,
`ClientCard.ProcCompleted`
,
`ClientCard.IsSpecialSummoned`
-
Add
`ClientCard.EquipCards`
,
`ClientCard.OwnTargets`
, handle equip cards
-
Add
`ClientCard.IsCode`
, handle card alias
-
Add
`ClientCard.GetLinkedZones`
,
`ClientCard.HasSetcode`
-
Add
`ClientField.UnderAttack`
,
`ClientField.GetLinkedZones`
,
`ClientField.GetFieldSpellCard`
-
Add
`Duel.SummoningCards`
,
`Duel.LastSummonedCards`
-
Add
`Util.GetTotalAttackingMonsterAttack`
,
`Util.GetBotAvailZonesFromExtraDeck`
-
Add
`GetMatchingCards`
,
`GetFirstMatchingCard`
,
`IsExistingMatchingCard`
-
Add
`ExecutorType.GoToBattlePhase`
,
`ExecutorType.GoToMainPhase2`
,
`ExecutorType.GoToEndPhase`
-
Add
`DefaultScapegoat`
,
`DefaultMaxxC`
,
`DefaultAshBlossomAndJoyousSpring`
,
`DefaultGhostOgreAndSnowRabbit`
,
`DefaultGhostBelleAndHauntedMansion`
,
`DefaultEffectVeiler`
,
`DefaultCalledByTheGrave`
,
`DefaultInfiniteImpermanence`
-
Rename
`AIFunctions`
to
`AIUtil`
(Usage:
`AI.Utils.`
->
`Util.`
)
-
Rename
`AIFunctions.CompareCardAttack`
to
`CardContainer.CompareCardAttack`
-
Update
`Util.SelectPreferredCards`
and
`Util.CheckSelectCount`
to return the result
-
Update
`ClientField.HasInMonstersZone`
to support check face-up card
-
Update
`AI.SelectCard`
[
\#59
](
https://github.com/IceYGO/windbot/pull/59
)
-
Handle swap control of cards
-
Change some
`int location`
to
`CardLocation location`
-
Update default
`OnPreBattleBetween`
to recognize more cards
-
Misc updates to default executors
-
Misc updates to the AI of some decks
-
Update the known card enums
-
Fix
`CardSelector.Select`
-
Fix
`OnSelectEffectYn`
didn't have
`ActivateDescription`
-
Fix
`ClientCard.Attacked`
-
Fix infinite activation of ZexalWeapons
#### v0x1344 (2018-06-05)
#### v0x1344 (2018-06-05)
-
Update YGOPro protrol to 0x1344
-
Update YGOPro protrol to 0x1344
...
...
WindBotInfo.cs
View file @
86c9807e
...
@@ -22,7 +22,7 @@ namespace WindBot
...
@@ -22,7 +22,7 @@ namespace WindBot
Host
=
"127.0.0.1"
;
Host
=
"127.0.0.1"
;
Port
=
7911
;
Port
=
7911
;
HostInfo
=
""
;
HostInfo
=
""
;
Version
=
0x134
a
;
Version
=
0x134
b
;
Hand
=
0
;
Hand
=
0
;
Debug
=
false
;
Debug
=
false
;
Chat
=
true
;
Chat
=
true
;
...
...
YGOSharp.OCGWrapper.Enums.dll
View file @
86c9807e
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment