IceYGO / windbot

A C# bot for ygopro, compatible with the ygosharp server.
MIT License
80 stars 103 forks source link

WindBot

A C# bot for YGOPro, compatible with the YGOSharp and SRVPro server.

How to use:

Supported commandlines

Name
The nickname for the bot.

Deck
The deck to be used by the bot. Available decks are listed below. Keep empty to use random deck.

DeckFile
The deck file (.ydk) to be used by the bot. Will be set by Deck automatically, but you can override it.

Note: Most cards not in the original deck are unknown to the bot, and won't be summoned or activated in the duel.

Dialog
The dialog texts to be used by the bot. See Dialogs folder for list.

Host
The IP of the host to be connected to.

Port
The port of the host to be connected to.

HostInfo
The host info (password) to be used.

Version
The version of YGOPro.

Hand
If you are testing deck, you may want to make sure the bot go first or second. Hand=1 will make the bot always show Scissors, 2 for Rock, 3 for Paper.

Chat False to turn the chat of bot off.

Debug Print verbose log of card movement info. False at default. (May be updated in future)

ServerMode and ServerPort
WindBot can run as a "server", provide a http interface to create bot.

Available decks

Easy:

Normal:

Unfinished decks

AI Template Generator

A Java program which generate executor code from deck, made by Levyaton. https://github.com/Levyaton/WindbotTemplateGenerator

Server mode

WindBot can run as a "server", provide a http interface to create bot.

eg. http://127.0.0.1:2399/?name=%E2%91%A8&deck=Blue-Eyes&host=127.0.0.1&port=7911&dialog=cirno.zh-CN

In this situation, it will be multi-threaded. This can be useful for servers, since it don't use large amount memory.

The parameters are same as commandlines, but low cased.

Known issues

Changelog

v0x134A (2019-05-30)

v0x1344 (2018-06-05)

v0x1343 (2018-04-11)

v0x1342 (2017-12-26)

v0x1341 (2017-11-27)

v0x1340 (2017-11-06)

v0x133D (2017-09-24)

TODO list