Jump to content
Normynator

[WIP] Discord Bot - roCORD

Recommended Posts

Great job!
So people in-game can communicate to people in discord right? or vice versa since they can both see each other?

Edited by spinzaku
Link to comment
Share on other sites

People in a discord Server can write and it appears in ingame Channel, and People ingame write to channel and it appears in discord @spinzaku

Edited by Normynator
  • Upvote 1
Link to comment
Share on other sites

installation guide is still hard to understand, can you please make diff from fresh git?

and to start bot what server need? python or nodejs? i have some experience in making discord bot, but it still confuse me

thanks rep up for you

Link to comment
Share on other sites

10 minutes ago, Litro Endemic said:

installation guide is still hard to understand, can you please make diff from fresh git?

and to start bot what server need? python or nodejs? i have some experience in making discord bot, but it still confuse me

thanks rep up for you

I will do that tomorrow 🙂

  • Love 1
Link to comment
Share on other sites

1 minute ago, Haikenz said:

Thats a dependency, you need to install discord.js via NPM

Link to comment
Share on other sites

38 minutes ago, Litro Endemic said:

Somehow from game to discord chat, the first 3 letters of word is missing

Screenshot_2.thumb.png.1c045f4dbc2578c3e738f909f91122cb.png

I will have look at it. Thanks for letting me know!

Edited by Normynator
Link to comment
Share on other sites

I wrote a installation guide for Linux.

Thanks @Vegas for providing a server setup for me!

https://github.com/Normynator/Ragnarok/blob/master/rA_mods/discordbot/guides/Guide_EN.md

Edited by Normynator
Link to comment
Share on other sites

2 hours ago, Haikenz said:

@Normynator run emulator...

[Debug]: Calling discord_connect_timer
[Status]: Connecting to 127.0.0.1:1337
[Error]: make_connection: connect failed (socket #8, error 111: Connection refused)!

 

Make sure the bridge is running on 127.0.0.1 at port 1337 before starting your emulator.

Link to comment
Share on other sites

- Release of roCORD.v2 - Proof of Concept
- Added new dedicated repository for roCORD.v2 (https://github.com/Normynator/roCORD/tree/poc-unstable)

Edited by Normynator
  • Upvote 1
Link to comment
Share on other sites

There is a security issue with the bridge on version 1. Please make sure to ONLY allow communication to port 1337 via localhost!

FIXED thanks to @Stolao for testing!

Make sure to use the newest version!

Edited by Normynator
Link to comment
Share on other sites

I've a question about this :

What is the purpose/advantage to build a bridge ? Isn't rAthena able to call Discord directly?

Edited by Vykimo
Link to comment
Share on other sites

Discord API requires a websocket and http. That’s what the bridge is for. But this version will be abondend soon in favor of a pure C++ version, which you can find here: https://github.com/Normynator/roCORD/tree/development?files=1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.