version change

These are old archives. They are kept for historic purposes only.
Locked
yuriy
Posts: 5
Joined: Tue Dec 05, 2006 6:54 pm

version change

Post by yuriy » Tue Dec 05, 2006 7:21 pm

hey guys well I'm new to unrealircd and once I was on a server when I connect to it, it would tell me

Your host is irc.*.com, running version Unreal3.2.5-mircopsmod

and I have my own server I also have some mods from unrealircd.com

i would like to do the same on my own current server to be

Your host is irc.*.com, running version Unreal3.2.5-unrealmods

and when I do /version it comes up as
Unreal3.2.5. irc.*.com FhiXOoE3 [Linux blah blah blah

I also want to change it there to be Unreal3.2.5-unrealmods

please someone help me with this, Thank you!

wax
Posts: 72
Joined: Tue Oct 04, 2005 6:32 am
Location: ByNets@Belarus
Contact:

Post by wax » Tue Dec 05, 2006 8:27 pm

it's reque code changes what don't supported :P

hint: you may look in include/version.h :P

yuriy
Posts: 5
Joined: Tue Dec 05, 2006 6:54 pm

Post by yuriy » Tue Dec 05, 2006 9:06 pm

here is my version.h how and where do I modify or take out in this file? and that means I will have to do, "make clean" then "make install" right? to recompile it.

Code: Select all

** version.h
** UnrealIRCd
** $Id: version.h,v 1.1.1.1.2.22 2006/06/16 18:29:14 syzop Exp $
*/
#ifndef __versioninclude
#define __versioninclude 1

/* 
 * Mark of settings
 */
#ifdef DEBUGMODE
#define DEBUGMODESET "+(debug)"
#else
#define DEBUGMODESET ""
#endif
 /**/
#ifdef DEBUG
#define DEBUGSET "(Debug)"
#else
#define DEBUGSET ""
#endif
     /**/
#define COMPILEINFO DEBUGMODESET DEBUGSET

/* Version info follows, current: Unreal3.2.3
 * Please be sure to update ALL fields when changing the version.
 * Also don't forget to bump the protocol version every release.
 */

/** These UNREAL_VERSION_* macros can be used so (3rd party) modules
 * can easily distinguish versions.
 */

/** The generation version number (eg: 3 for Unreal3*) */
#define UNREAL_VERSION_GENERATION   3

/** The major version number (eg: 2 for Unreal3.2*) */
#define UNREAL_VERSION_MAJOR        2

/** The minor version number (eg: 1 for Unreal3.2.1), negative numbers for unstable/alpha/beta */
#define UNREAL_VERSION_MINOR        5

/** Year + week of the year (with Monday as first day of the week).
 * Can be useful if the above 3 versionids are insufficient for you (eg: you want to support CVS).
 * This is updated automatically on the CVS server every Monday. so don't touch it.
 */
#define UNREAL_VERSION_TIME         200624

#define UnrealProtocol 		2308
#define PATCH1  		"3"
#define PATCH2  		".2"
#define PATCH3  		".5"
#define PATCH4  		""
#define PATCH5  		""
#define PATCH6  		""
#define PATCH7  		""
#define PATCH8  		COMPILEINFO
#define PATCH9  		""
/* release header */
#define Rh BASE_VERSION
#define VERSIONONLY		PATCH1 PATCH2 PATCH3 PATCH4 PATCH5 PATCH6 PATCH7
#endif /* __versioninclude */

it looks like its somewhere in the define PATCHx BUT it has the # sign which by passes it please help

Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe » Tue Dec 05, 2006 9:17 pm

Since modifying the source is not supported you'll be lucky if anyone will actually tell you how to. And anyone who can tell you how should think twice. Because in all honesty there is NO reason to modify the VERSION reply. If you dont know how you shouldnt be doing it anyway. Im sorry to say that but it is the case as i see it.

yuriy
Posts: 5
Joined: Tue Dec 05, 2006 6:54 pm

Post by yuriy » Tue Dec 05, 2006 9:55 pm

well it might not be supported anymore(my IRCd) BUT I don't need any support in bugs, if the server has problems I can always move my whole network to use a different IRCd, I just love unrealircd so I want to put the unrealmods into my version, it's not that hard, and tell me, ADDING m_ircops is not modifying the code??? oh yes it is, so is this :) its something made to make the network look cooler, I will be waiting for some help :)

Grunt
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm
Contact:

Post by Grunt » Tue Dec 05, 2006 10:25 pm

ROFL!
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.

Syzop
UnrealIRCd head coder
Posts: 1938
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Tue Dec 05, 2006 11:01 pm

I think Jobe1986 said it well:
Jobe1986 wrote:If you dont know how you shouldnt be doing it anyway. Im sorry to say that but it is the case as i see it.
*lock*

Locked