Skip to content

A C# implementation of an ygopro duel server, using the ocgcore library.

License

Notifications You must be signed in to change notification settings

IceYGO/ygosharp

Repository files navigation

YGOSharp

A C# implementation of an ygopro duel server, using the ocgcore library.

How to use:

  • Compile the native OCGCore library using CMake and a C++11 compiler.

  • Compile YGOSharp.sln using Visual Studio or Mono.

  • Put cards.cdb, lflist.conf, ocgcore.dll and the script directory next to the compiled YGOSharp.exe.

  • Run the executable with or without parameters. The default configuration will host a single duel on the port 7911.

  • Enjoy.

Configuration options

Server

  • ConfigFile (default: none)

  • ClientVersion (default: 0x133D)

  • Port (default: 7911)

Files

  • BanlistFile (default: lflist.conf)

  • RootPath (default: .)

  • ScriptDirectory (default: script)

  • DatabaseFile (default: cards.cdb)

Game

  • Mode (default: 0)

  • Region (default: 0)

  • MasterRule (default: 3)

  • Banlist (default: 0)

  • StartLp (default: 8000)

  • StartHand (default: 5)

  • DrawCount (default: 1)

  • GameTimer (default: 240)

Deck

  • NoCheckDeck (default: false)

  • NoShuffleDeck (default: false)

  • MainDeckMinSize (default: 40)

  • MainDeckMaxSize (default: 60)

  • ExtraDeckMaxSize (default: 15)

  • SideDeckMaxSize (default: 15)

Legacy

  • EnablePriority (default: false)

  • Rule (old alias for Region)

Addons

  • StandardStreamProtocol (default: false)

About

A C# implementation of an ygopro duel server, using the ocgcore library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published