Jump to content

IRC support


ElNinio

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/04/12
  • Last Seen:  

Hello

Do You plan to add IRC chat support for a server? Very old version of eA had this but it dissapear someday (rev 9744 for example).

Regards

El

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

I am not sure if rAthena has plans to re-add this, but if you want to add it yourself,

this topic on eAthena explains more: eAthena IRC Module, from r13014.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/04/12
  • Last Seen:  

Thanks very much for a quick replay. That's what I am looking for :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

Myself and Epoque rewrote the system about a week ago, optimising it further.

I'll be commiting it to the rA source soon.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  11/19/11
  • Last Seen:  

Please, stop adding custom mods to source. Release it as a diff too, your emulator has been done to simulate official behavior of renewal and pre-renewal ragnarok, everything else (as possible, of course), needs to be a custom module... or write a custom module system.

Ask everyone before.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

I was actually going to be putting it into a development folder as a diff, not commiting directly.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  11/19/11
  • Last Seen:  

I was actually going to be putting it into a development folder as a diff, not commiting directly.

Oh, now its make sense. Ty /ok

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

It would be great if you could 'IMPLEMENT' this system, perhaps it could be easily to communicate people INGAME through (iRC Chat) further questions.

Hoping, it would not be 'Ignore' in this system. it would really help us alot and i was looking for this one.

Regards,

Mindless

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Removed all responses not relating to this topic. Please get back on topic.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

I have updated the diff patch further, just doing some final bug tests before I release it publicly.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

Sorry about the delays.

Thanks to Epoque for his further code cleanups.

This should be the right version. I had to update it again for the version.h removal. I havent tested it. Please report your results and any warnings during compile.

IRCBot1.6.diff

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

After patching the first 2 files, It tries to patch irc.c but fails.

[root@VeritasRO rathena]# patch -p0 < IRCBot1.6.diff

patching file src/map/irc.c
patch: **** malformed patch at line 711: Index: src/map/irc.h

Heres some lines around where the code is.

+void do_final_irc(void)
+{
+}
Index: src/map/irc.h
===================================================================
--- src/map/irc.h (revision 0)
+++ src/map/irc.h (working copy)
@@ -0,0 +1,81 @@
+// Copyright © Athena Dev Teams - Licensed under GNU GPL

Edited by Pancake
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  13
  • Reputation:   7
  • Joined:  11/08/11
  • Last Seen:  

Gave it a try, it works on irc.rathena.org but gives a broken pipe error on DA.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  11/19/11
  • Last Seen:  

LOL, I cant download the attached file? I'm feeling noob after loose my community time on eA :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

Mine had a few broken pipe disconnects but after 4 reconnects, it finally got a stable connection.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  257
  • Reputation:   253
  • Joined:  11/29/11
  • Last Seen:  

It unfortunately does that. Its merely an issue with the IRC servers.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   17
  • Joined:  02/06/12
  • Last Seen:  

Its extremely stable after a few tried, even when rebooting the server now it doesnt disconnect pipe broken once

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   0
  • Joined:  11/25/11
  • Last Seen:  

Lol can someone upload this somewhere else? because some users can't download it including me /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

Lol can someone upload this somewhere else? because some users can't download it including me /hmm

LOL, I cant download the attached file? I'm feeling noob after loose my community time on eA :P

Confirmed;

An Error Occurred

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

[#10171] You do not have permission to view this attachment.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

An Error Occurred

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

[#10171] You do not have permission to view this attachment.

Fixed, sorry about that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Hello, i have PATCH the IRC diff from Calcium Kid, however i'm bit confuse if what problem is this?

When i 'Patch it all' there is an POP-up as you can see in the screen. 'Rejected'?

Preview:

http://i40.tinypic.com/11t4il4.png

Can anyone TELL me what's the problem on this?

My current SVN: 15635 rA Trunk.

And also, please pardon for my ignorance how does it work actually?

I just install it without knowing it. btw i keep on reading the source but i can't see how to work on it.

Thank you!

Regards.

Mindless

Edited by Mindless
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

For those People having problem patching it to latest Revision

here's a Patch Working to Revision 15655

for some people want to change its hostmask

Find:

snprintf(send_string, sizeof(send_string), "USER rABot 8 * :rABot");

Replace it to your wants

for example

snprintf(send_string, sizeof(send_string), "USER KeiTestS02 * :KeiTestS02");

[23:30] *** KeiTest02|Bot: [email protected]

[23:30] *** Real Name: KeiTestS02

[23:30] *** Info: KeiTest02|Bot is using modes +iwx

[23:30] *** Info: KeiTest02|Bot is connecting from *@[CENSORED]

[23:30] *** Channels: #rathena

[23:30] *** Server: irc.rathena.net Official rAthena IRC Server

[23:30] *** Idle time: 14 seconds

[23:30] *** Sign on time: 0 minutes ago at 11:29 PM

[23:30] *** KeiTest02|BOt End of /WHOIS list.

EDIT:

Updated Patch: 2012-04-12 - Revision 15857

irc_mod_rathena15857_v2.patch

Mirror: http://pyro-ro.com/c...a15857_v2.patch

* Fixed only Close Shop works.

irc.patch

irc_v2.patch

irc_mod_rathena15857.patch

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Updated:

http://pyro-ro.com/c...a15857_v2.patch

Fixed problem only close shop shows up

EDIT:

rushing makes more error

thx to Waeyan

@ openshop

irc_announce_shop(sd,1); not 0

Attachment and mirror Updated

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   34
  • Joined:  12/13/11
  • Last Seen:  

so yeah, tested this, its not even joining a channel, anyone get this working?

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   2
  • Joined:  02/05/12
  • Last Seen:  

Help please I try to put IRC the module on eathena 15234 but the server at compilation gives out mistakes 

 

Error of 1 error LNK2019: the link to not resolved external symbol __ strtok_r as _irc_parse_sub irc.obj

Error of 2 fatal error LNK1120: 1 not resolved external elements. . \map-server_sql.exe

 

Help me please

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