Cardian: Discord/FFXI Integration

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » General » Cardian: Discord/FFXI Integration
Cardian: Discord/FFXI Integration
Offline
Posts: 15
By GamerGiving 2018-05-28 15:30:57  
FFXI Discord Integration is finally here!

Description: Connect your FFXI character to Discord! See and respond to FFXI shout, linkshell, and tell messages from Discord in near real time! Uses both Windower addon (Cardian_Addon) and Discord bot (Cardian_Discord).

Features:
-In-game Linkshell #1 messages relayed to Discord Linkshell channel.
-In-game shouts relayed to Discord Shout channel.
-In-game tells relayed to Discord Tells channel.
-Any messages posted in Discord Linkshell channel relayed to Linkshell #1 in game.
-Any messages in any channel (where bot is present) prefaced with "/l " relayed to Linkshell #1 in game.
-Direct commands to in-game character can be relayed from the Discord Tells channel by prefacing message in said channel with "/". All commands work (/tell, /follow, /logout, etc)
-Cardian_Bot can notify any Discord users of instances in shout/linkshell/tell of "Watch Words". Useful if looking to watch shouts for particular items for sale, content to join, etc. (Can also set your own name to see if some nerds are talking about you, you narcissist!) Set with "!watch <word or phrase>", unset with "!unwatch <word or phrase>".
-Toggle channels on and off: "!tells" / "!notells", "!shouts" / "!noshouts", "!linkshell" / "!nolinkshell".
-Multiple Cardian_Bots self-organize and schedule message checks based on priority lists.
-Duplicate messages skipped based on user-supplied tolerance. Helps with shout spam and multiple Cardian_bots reporting messages.

NOTE: This is an initial release. Development is ongoing. Let me know if you find something acting funny and I'll fix it!

TIPS:
-DO NOT install Cardian_Discord in your Windower folder!
-DO install Luvit and Discordia in your Cardian_Discord folder.
-DO add your Cardian_Discord folder to PATH.
-DO modify your cardian_discord/discord_info.lua file to reflect your personal Discord settings.
-MAKE SURE that your addon_path in discord_info.lua DOES NOT include "\", change all instances to "/" and make sure the path ends with a "/". Ex: D:/Windower4/addons/cardian/
-MAKE SURE you've joined your bot to your Discord server through https://discordapp.com/developers/applications/me

Cardian_Addon
Cardian_Discord

[+]
Offline
サーバ: Asura
Game: FFXI
Posts: 6
By Asura.Iminiillusions 2018-05-28 15:54:47  
looks good man. definitely interesting, will have to take a look.
[+]
Offline
Posts: 431
By Felgarr 2018-05-28 18:50:24  
Looks great, but why u no ashita?
[+]
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-05-28 19:26:54  
I'm sure it can be done. I've never messed with Ashita myself, though. I can make it if enough demand, for sure.
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-05-29 19:15:09  
UPDATES:

Auto Start and Stop of Discord Cardian_Bot:
Using a batch file placed in the addon folder, user no longer has to manually start and stop the bot.

Set the destination folder in the batch file and simply load and unload the addon through Windower. The Discord bot will start and stop automatically!

Screenshot:
Anyone in Discord can issue a "!screenshot" command and the addon will take a screenshot and the bot uploads it to the channel where the request was made!

Partner this command with something like "/sea all linkshell" and you can really know what's going on while you're away from FFXI! ;)

 Odin.Drakenv
Online
サーバ: Odin
Game: FFXI
user: Drakenv
Posts: 3544
By Odin.Drakenv 2018-05-29 19:26:11  
Asura.Gamergiving said: »
UPDATES:

Auto Start and Stop of Discord Cardian_Bot:
Using a batch file placed in the addon folder, user no longer has to manually start and stop the bot.

Set the destination folder in the batch file and simply load and unload the addon through Windower. The Discord bot will start and stop automatically!

Screenshot:
Anyone in Discord can issue a "!screenshot" command and the addon will take a screenshot and the bot uploads it to the channel where the request was made!

Partner this command with something like "/sea all linkshell" and you can really know what's going on while you're away from FFXI! ;)

Dope looking.
 Asura.Dasoccer
Offline
サーバ: Asura
Game: FFXI
user: dasoccer
Posts: 53
By Asura.Dasoccer 2018-05-29 19:36:26  
Yup, going to mess around and get this up and running this week for the LS! Looks great Gamer....thank you bro!
[+]
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-05-30 21:29:41  
Some small -- but significant -- fixes.

Previously, the person running Cardian_Addon's linkshell contributions didn't show up in Discord. This is because linkshell_in and linkshell_out are handled differently. They both parse and appear in Discord now.

Previously, Cardian replaced anything between "<" and ">" with "<Discord Content>". This was to prevent showing user_id in linkshell (which Discord supplies when a user is pinged). It prevented running any FFXI commands using "<" and ">" from processing (<t>, <bt>, <hpp>, etc). This is fixed. It can now differentiate between Discord and FFXI "<" / ">" commands.

Addressed a screenshot issue where the file name was incorrect so no action was taken.
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-06-03 11:06:48  
Can now reply to last /tell sender using "/r "!

Cardian_Bot tracks the most recent /tell sender and allows you to reply to them using "/r"! This helps for replying to messages quickly without having to type out the whole recipient's name!

 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-06-20 21:18:04  
Updated to version 0.0.0.5
New Discord functions:
  • !linkshellin - toggles linkshell incoming messages to the linkshell channel

  • !linkshellout - toggles linkshell outgoing messages from linkshell channel (or any channel using "/l <message>")


Added long message handling:
Message longer than the maximum are split on the last whitespace before the max. Remaining message sent as additional message(s).
Fixed (??) Discord Emojis:
Things like ":)" and ":D" would convert to Japanese characters in game. This is fixed by running the messages through a filter. The replacement, while still ugly (just a string of "?" for each character), is in English.
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-06-25 19:27:02  
Updated to version 2018.6.25.1
  • Added the ability to define multiple bot admins in discord_info.

  • Added the ability to have the bot report to multiple channels for shout/tell/linkshell messages.

  • All error messages besides tell failure deemed superfluous as the rest are generated while user is playing. Removed.


This is the first update that requires a new version of discord_info. I will generally try to avoid updating it but it was unavoidable to add this functionality without doing so. Apologies.
necroskull Necro Bump Detected! [88 days between previous and next post]
Offline
Posts: 2
By Solamon 2018-09-21 20:39:14  
Yes this is the easiest setup program iv ever encoutered and your documetation of how to install is not at all confusing or vague DO this Do this DO not do this well how can i run the addon if its not in windower directory been messin with this for hrs no luck yet
 Asura.Misakune
Offline
サーバ: Asura
Game: FFXI
user: shaociang
Posts: 24
By Asura.Misakune 2018-09-26 06:44:13  
Edit: Fixed my own mistake

This is amazing! Thank you for this :)

Is there a way for multi-user integration? Like multiple people being able to whisper or talk to linkshell from their own character?

Edit 2:

Found a bug(?)..if you have the bat file set up so it loads the bot automatically when you load the addon, and then reload the addon in game it will launch another bot instance, and doubles up every incoming messages/outgoing command. I assume this means you can infinitely do this and that can cause either some major issues/crashing or possible exploits with the use of other addons.
Offline
Posts: 1
By Xantem 2018-10-16 07:17:54  
Do you have a discord we could use for a little support?
necroskull Necro Bump Detected! [31 days between previous and next post]
 Bismarck.Oppa
Offline
サーバ: Bismarck
Game: FFXI
user: Aerison
Posts: 41
By Bismarck.Oppa 2018-11-16 12:50:05  
Xantem said: »
Do you have a discord we could use for a little support?

You ever get a response to a discord help server? I'm at the last step of loading cardian_bot with luvit. CMD window opens and then closes.
 Quetzalcoatl.Langly
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Langly
Posts: 571
By Quetzalcoatl.Langly 2018-11-16 12:58:03  
You'll probably need to double check that your Bot is completely active on the discord developer side and that your bots token information is correct.
 Bismarck.Oppa
Offline
サーバ: Bismarck
Game: FFXI
user: Aerison
Posts: 41
By Bismarck.Oppa 2018-11-16 13:04:04  
Info is correct, bot is inactive.

I can see the addon txt files are pulling data from the game, just not translating it to discord.
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2018-12-04 11:45:18  
Happy to help, the setup can be a pain! It's worth it once it's all set!

Hit me on Discord and we'll get it straightened out!
necroskull Necro Bump Detected! [66 days between previous and next post]
 Asura.Gamergiving
Offline
サーバ: Asura
Game: FFXI
Posts: 15
By Asura.Gamergiving 2019-02-08 08:59:59  
I've begun work on Cardian 2.0. Conceptually, this is a beautiful project that I feel needs to exist. Programmatically, it's a mess that works through stubbornness and magic. I look forward to sharing the new one soon!

Happy New Year ;)
[+]
 Siren.Aezaeo
Offline
サーバ: Siren
Game: FFXI
user: Aezaeo
Posts: 6
By Siren.Aezaeo 2019-02-14 18:06:50  
Happy New Year, and Im looking forward to this!
[+]