Jump to content

[WIP] Discord Bot - roCORD


Normynator

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  547
  • Reputation:   270
  • Joined:  11/08/11
  • Last Seen:  

@Normynator nice one. Make sure to drop the unicode prefixes from the ro client messages. It's the |00 you can see on your screenshot. ?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

Trank you! @Lemongrass

Its already Done, was an old screenshot. I will update that soon, add a detailed guide and post changelogs.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  455
  • Reputation:   57
  • Joined:  08/28/12
  • Last Seen:  

Nice work !! Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

1 minute ago, Haikenz said:

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

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

Screenshot_2.thumb.png.1c045f4dbc2578c3e738f909f91122cb.png

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

Take my virginity! It is amazing. /awsm

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

@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)!

 

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   26
  • Joined:  05/13/16
  • Last Seen:  

Awesome release! So much appreciation for this one. I'll use it in my server! :)

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/03/18
  • Last Seen:  

Are there any adverse effects as to when people use some very "long" character names?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

- Added a discord server for faster support and idea sharing ?Join!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

- 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

  • 2 weeks later...

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   3
  • Joined:  06/26/13
  • Last Seen:  

This Project is Awesome. ? ?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   189
  • Joined:  11/27/11
  • Last Seen:  

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


  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

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...