Skip to content

jphein/duo

Repository files navigation

Discord <> Ulitma Online Bridge

Discord & Ultima Online bridge using EasyUO. This Ultima Online Discord Bot will allow you to both send and receive messages from your Ultima online charactor using Discord chat service (Web, or mobile app). Also included is a simple vendor search. This can be combined with IFTTT.com and Google Assistant to control your Ultima Online Charactor and dictate your party/guild/general chat messages using your voice. If you use Discords tts (Text to Speech) feature, any responses in game can be read back to you in real time. Perfect for people with impaired sight, or chatting while driving. Framework can be extended easily with additional functions, and scripts.

Javascript Discord Bot

  • discord2easyuo.js
  • auth.json
  • package.json

EasyUO Scripts

  • say.euo
  • journal.euo
  • vendorsearch.euo

Bash Scripts

  • easyuo2discord.sh
  • installduo.sh
  • runduo.sh

Bot Commands

  • !say MSG - Will simply say messages outloud.
  • !say \MSG - Will message in the guild chat.
  • !say /MSG - Will message in the party chat.
  • !say ,MSG - Will message in the general chat.
  • !vendor SEARCH ITEM - Will post a screenshot of the first page of the vendor search.
  • !help - Will display this message.
  • !help say - will tell more about the say.

Dependencies

  • Discord Account: [[https://discordapp.com]]
  • Windows 10
  • Install WSL - Windows Subsystem for Linux (Ubuntu)
  • Run Ubuntu Terminal via Cortana, and create a user with same name as your windows user.

Instructions

  • Install all above dependencies ^

  • Open Ubuntu terminal and run

    • cd /mnt/c/Users/$USER/Desktop/ #Change to the Desktop
    • sudo git clone https://github.com/jphein/duo.git #Git clone the duo repository
    • cd duo #Change to the duo directory on Desktop
    • chmod u+x installduo.sh #Make install script executable
  • Create Webhook for bot channel in Discord.

    • Add Webhook URL to journal.euo
  • Create Discord bot in @ discord.com

    • Add API Token to auth.json
  • ./installduo.sh #Run the install script.( https://github.com/jphein/duo/blob/master/installduo.sh )

  • Run Ultima Online Classic, and patch (Update) the client. Close when done.

  • Run EasyUO

    • NOTE: EasyUO is probably considered by EA an UNAUTHORIZED 3rd party program.
      • Use only on servers that allow it.
    • Load say.euo, journal.euo, and vendorsearch.euo
    • Click "New CLI" button, and login in with your account.
    • Run all scripts.
  • Execute runduo.sh from Ubuntu terminal

  • (Optional) Create IFTTT.com rule to connect your Google assistant to your Discord server. For voice commands, and transcription. The input side of ingame handsfree chatting.

  • (Optional) Enable Discord TTS on bot channel. For Text to speech. The output side of ingame hands free chatting.

Updating Duo

  • Open Ubuntu terminal and run
    • cd /mnt/c/Users/$USER/Desktop/duo
    • git pull duo #Git pull the duo repository

Thank you!

Trademarks

All trademarks are the property of their respective owners.

About

Discord <> Ultima Online Bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published