Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Linking QuakeIRCd 2.1-Amber and UnrealIRCd 3.2.7.

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services
Author Message
EBD
none
none


Joined: 16 Jul 2004
Posts: 5

PostPosted: Dec 23, 2007 5:05am    Post subject: Linking QuakeIRCd 2.1-Amber and UnrealIRCd 3.2.7. Reply with quote

Code:
Linking QuakeIRCd 2.1-Amber and UnrealIRCd 3.2.7.
=================================================

- QuakeIRCd is based on Unreal3.2 Beta 17 - This means basic link function should work.
- Any Unreal additions after 3.2 Beta 17 probably wont work on the Quake side.
- Any Quake additions probably wont work on the Unreal side.
- I have only tested this with unencrypted, non-ssl links - but they *should* work, I don't see any reason why they wouldn't.
- It appears that each ircd ignores modes and such that it does not support - However I may be entirely wrong about this.
- The primary purpose of this is to allow migration from one ircd to the other. I suggest using the modified ircd as a bridge server - ie: don't let clients use it.

The actual editing is rather simple, as only Quake appears to care about the connecting protocol version:

TL;DR - CHANGE THE FOLLOWING AND DON'T CRY IF IT DOESN'T WORK

File: s_serv.c
Line 1515 to 1527

#ifndef EMUPROTO   
   if ((protocol != QuakeProtocol) && (protocol != 0))
        {
                sendto_realops
                    ("WARNING Link %s killed for running an incompatible protocol q%li while we are running %li!",
                    cptr->name, protocol, QuakeProtocol);
                sendto_serv_butone(&me,
                    ":%s SMO o :\2(sync)\2 WARNING Link %s killed for running an incompatible protocol, p%li while %s is running %li!",
                    me.name, cptr->name, protocol, me.name, QuakeProtocol);
                        return exit_client(cptr, sptr, &me,
                            "Link denied (Incompatible IRCd/Version)");
        }
#endif

Just replace that with the following:

#ifndef EMUPROTO   
   if ((protocol != QuakeProtocol) && (protocol != 0))
        {
                sendto_realops("WARNING Link %s is running an incompatible protocol q%li while we are running %li!",cptr->name, protocol, QuakeProtocol);
        }
#endif
Back to top
katsklaw
Guru
Guru


Joined: 28 Jun 2004
Posts: 1087

PostPosted: Dec 23, 2007 6:49am    Post subject: Reply with quote

Any Unreal additions after 3.2 Beta 17 probably wont work

That's the second line of your post. Unreal 3.2.7 is WAY past any beta version of Unreal it has changed. So they won't likely link.
Back to top
EBD
none
none


Joined: 16 Jul 2004
Posts: 5

PostPosted: Dec 23, 2007 12:57pm    Post subject: Reply with quote

it does work, its far from perfect, but its not meant for long term use anyway.
Back to top
katsklaw
Guru
Guru


Joined: 28 Jun 2004
Posts: 1087

PostPosted: Dec 23, 2007 4:06pm    Post subject: Reply with quote

EBD wrote:
it does work, its far from perfect, but its not meant for long term use anyway.


then why bother? IRCd's are supposed to work perfectly, not kinda.
Back to top
EBD
none
none


Joined: 16 Jul 2004
Posts: 5

PostPosted: Dec 23, 2007 5:51pm    Post subject: Reply with quote

Quote:
- The primary purpose of this is to allow migration from one ircd to the other.


I suggest you read.
Back to top
katsklaw
Guru
Guru


Joined: 28 Jun 2004
Posts: 1087

PostPosted: Dec 23, 2007 8:54pm    Post subject: Reply with quote

EBD wrote:
Quote:
- The primary purpose of this is to allow migration from one ircd to the other.


I suggest you read.


I've done far more ircd changes than you think I have. This is pointless. I've done them on networks with thousands of users and never needed a "gateway", again .. pointless.

nuf said.
Back to top
EBD
none
none


Joined: 16 Jul 2004
Posts: 5

PostPosted: Dec 23, 2007 9:31pm    Post subject: Reply with quote

I know who you are, but I really don't care. If someone wants to use this, fine. If they don't, I'm not about to get insulted by it. It's an option, nothing more.
Back to top
katsklaw
Guru
Guru


Joined: 28 Jun 2004
Posts: 1087

PostPosted: Dec 24, 2007 1:17pm    Post subject: Reply with quote

EBD wrote:
I know who you are, but I really don't care. If someone wants to use this, fine. If they don't, I'm not about to get insulted by it. It's an option, nothing more.


At no time was I ever insulting you. If you really know me as you claim, you would know that.

Additionally, you never really "discussed" anything, which is what this forum is about ... discussing software, not pasting source code and hope people can read your mind. You just pasted code but no point was made and as such I had to "guess" at the purpose of the thread other than just jibberish. in fact I almost deleted it.

If you would have said in your original post that "hey, this might be a useful gateway" I would have completely ignored this thread. Instead you left ambiguity and this is where the thread has lead.

Good Luck.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer