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.
- discord2easyuo.js
- auth.json
- package.json
- say.euo
- journal.euo
- vendorsearch.euo
- easyuo2discord.sh
- installduo.sh
- runduo.sh
- !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.
- Discord Account: [[https://discordapp.com]]
- Windows 10
- Install WSL - Windows Subsystem for Linux (Ubuntu)
- Install here: [[https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6]]
- Open PowerShell as Administrator and run:
- Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restart your computer when prompted.
- Run Ubuntu Terminal via Cortana, and create a user with same name as your windows user.
-
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.
- NOTE: EasyUO is probably considered by EA an UNAUTHORIZED 3rd party program.
-
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.
- Open Ubuntu terminal and run
- cd /mnt/c/Users/$USER/Desktop/duo
- git pull duo #Git pull the duo repository
- [[https://medium.com/davao-js/2019-tutorial-creating-your-first-simple-discord-bot-47fc836a170b]]
- [[EasyUO.com]], [[ScriptUO.com]], & [[UOGuide.com]].
- [[https://atwing.net/home%20automation/shell-commands-assistant/]]
All trademarks are the property of their respective owners.