Page 1 of 1

[Help] Howto create IRC services

Posted: Thu Aug 06, 2009 10:13 am
by Sebas
Hello,

I wan't to create irc services like Anope/NeoStats opensourced.
I'm not here too search people, but i'm looking for the UnrealIRCd SDK/exported functions.
So, how can i connect with my services to the irc server.

Thanks. :wink:

Re: [Help] Howto create IRC services

Posted: Thu Aug 06, 2009 5:10 pm
by Stealth
You need to read the server protocol, and connect your services as a server. Services do not deal with any "exported functions".

Server protocol documentation: http://cvs.unrealircd.com/cgi/viewcvs.c ... v=1.1.2.13

Re: [Help] Howto create IRC services

Posted: Fri Aug 07, 2009 9:29 am
by Jobe

Re: [Help] Howto create IRC services

Posted: Fri Aug 07, 2009 5:59 pm
by Stealth
I just put the first one Google gave me :P

Re: [Help] Howto create IRC services

Posted: Sat Aug 08, 2009 5:22 pm
by Sebas
Thank you for the usefull link :)
Are there examples how to connect to the link block ?

Re: [Help] Howto create IRC services

Posted: Sat Aug 08, 2009 7:09 pm
by Jobe
Sebas wrote:Thank you for the usefull link :)
Are there examples how to connect to the link block ?
Best way to find an example of that is to use an existing services package and run in debug mode watching all the server to server traffic. That can be very useful for examples in use.

Re: [Help] Howto create IRC services

Posted: Sat Sep 05, 2009 1:25 pm
by Sebas
Ok, the development is gonna be good.
The services connects now and does things.

But how can i get the user modes?
If i wan't mine, i type: /mode Sebas
This doesn't work(services raw):
:Defender SVSMODE Sebas

I wan't to grab the modes from me, to check if he is a administrator.

Re: [Help] Howto create IRC services

Posted: Sun Sep 06, 2009 2:19 pm
by Jobe
Sebas wrote:Ok, the development is gonna be good.
The services connects now and does things.

But how can i get the user modes?
If i wan't mine, i type: /mode Sebas
This doesn't work(services raw):
:Defender SVSMODE Sebas

I wan't to grab the modes from me, to check if he is a administrator.
Your server will have to A) make a note of the user modes sent to it for a user at burst and B) will have to keep track of mode changes itself

Then internally it will have the modes stored in it's own memory.