[help]sources How to change the name?
#1
Posted 23 December 2004 - 08:52 AM
I tried to mode eMule. I donwload the sources, I optimize eMule for my CPU and others changes. All work very fine, but I would to change the name of the client from eMule 0.44d to eMule 0.44d - daviduzzolo version.
I don't want to distribute my mode, but it's only a my fixation
Somebody can help me?
Thanks and Merry Christmas
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#2
Posted 23 December 2004 - 02:23 PM
#3
Posted 23 December 2004 - 02:32 PM
Sorry for the mistake, and please move the 3d in the right place.
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#4
Posted 23 December 2004 - 02:39 PM
#5
Posted 23 December 2004 - 02:41 PM
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#6
Posted 24 December 2004 - 08:42 AM
//set title CString buffer = _T("eMule v"); buffer += theApp.m_strCurVersionLong; SetWindowText(buffer);
just change it to
//set title CString buffer = _T("eMule v"); buffer += theApp.m_strCurVersionLong; buffer += " - daviduzzolo version"; SetWindowText(buffer);
happy MOD
Special Thanks To <a href="http://www.emule-project.net/home/perl/general.cgi?l=1&rm=team" target="_blank">eMule Team</a>
The name <b>"eMule"</b> comes from an animal called <b>"Mule"</b> which is somehow similar to a <b><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--coloro:green--><span style="color:green"><!--/coloro-->DONKEY<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></b>, So give it some jobs and it will complete them, Be Patience and Don't beat it.
#7
Posted 24 December 2004 - 04:24 PM
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#8
Posted 24 December 2004 - 05:07 PM
Regards.
There are 10 kinds of people: Those who can count in binary, and those who can't.
--Anonymous--
"There was me...that is Alex, and my three droogs; that is Pete, Georgie and Dim. And we sat at the Korova Milk Bar, trying to make up our rasoodocks what to do with the evening..."
-- Alexander DeLarge, A Clockwork Orange --
#9
Posted 25 December 2004 - 02:11 AM
Other clients will still detect him as "eMule v0.44d".
but i think he want that?
Special Thanks To <a href="http://www.emule-project.net/home/perl/general.cgi?l=1&rm=team" target="_blank">eMule Team</a>
The name <b>"eMule"</b> comes from an animal called <b>"Mule"</b> which is somehow similar to a <b><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--coloro:green--><span style="color:green"><!--/coloro-->DONKEY<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></b>, So give it some jobs and it will complete them, Be Patience and Don't beat it.
#10
Posted 25 December 2004 - 01:42 PM
skolnick said:
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#11
Posted 26 December 2004 - 02:06 AM
Regards.
There are 10 kinds of people: Those who can count in binary, and those who can't.
--Anonymous--
"There was me...that is Alex, and my three droogs; that is Pete, Georgie and Dim. And we sat at the Korova Milk Bar, trying to make up our rasoodocks what to do with the evening..."
-- Alexander DeLarge, A Clockwork Orange --
#12
Posted 26 December 2004 - 03:06 AM
1-declare two cstring variables in emule.h
public: CString m_strModVersion; CString m_strModLongVersion;
2-create new headerfile "ModName.h" and define these variables: (those variables defines ur modname and version)
#define MOD_VERSION_MJR 1 #define MOD_VERSION_MIN 18 #define MOD_VERSION _T("Test") #define MOD_LONG_VERSION _T("Test v")
3-Include this file in "emule.cpp"
4-now,in the file emule.cpp at CemuleApp::CemuleApp(LPCTSTR lpszAppName)
u will find a comment
// MOD Note: Do not change this part - Merkur code // MOD Note: end
of course u must not change this code, but after it write those lines
m_strModVersion = MOD_VERSION; m_strModVersion.AppendFormat(_T(" %u.%u"), MOD_VERSION_MJR,MOD_VERSIaON_MIN); m_strModLongVersion = MOD_LONG_VERSION; m_strModLongVersion.AppendFormat(_T("%u.%u"), MOD_VERSION_MJR,MOD_VERSION_MIN);
5-now,u can neglect my first post and use this code: (in emuledlg.cpp)
//set title CString buffer = _T("eMule v"); buffer += theApp.m_strCurVersionLong; buffer += " " + theApp.m_strModLongVersion; SetWindowText(buffer);
6-if u use the feature "Show transfer rates on title" u must change the line in "PPgDisplay.cpp":
Change
_stprintf(buffer,_T("eMule v%s"),theApp.m_strCurVersionLong);
to
_stprintf(buffer,_T("eMule v%s [%s]"),theApp.m_strCurVersionLong,theApp.m_strModLongVersion);
7-Last Step
Sorry But i didn't find the last step, which send ur emule mod version to other clients, I think its somewhere in "BaseClient.cpp", i'm still searching 4 it,i will tell u if i find it.
I think its only one line remaining.
President Birk, can u move this topic to developers forum
skolnick, on Dec 26 2004, 04:06 AM, said:
and we can find more help there.
thanks
Special Thanks To <a href="http://www.emule-project.net/home/perl/general.cgi?l=1&rm=team" target="_blank">eMule Team</a>
The name <b>"eMule"</b> comes from an animal called <b>"Mule"</b> which is somehow similar to a <b><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--coloro:green--><span style="color:green"><!--/coloro-->DONKEY<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></b>, So give it some jobs and it will complete them, Be Patience and Don't beat it.
#13
Posted 26 December 2004 - 01:49 PM
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#14
Posted 26 December 2004 - 06:11 PM
The sending part, if you choose to implement only this, is only a couple of lines, so it shouldn't be hard to spot it in the patch and use it.
This post has been edited by SlugFiller: 26 December 2004 - 06:14 PM
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
#15
Posted 27 December 2004 - 07:31 AM
I tried how engarmano posted and using the sources of the Morph I understood how to modifie all All work very well
Now I try the SlugFiller method.
Tnx a lot
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P
#16
Posted 27 December 2004 - 08:58 AM
daviduzzolo, To test ur eMule after modifications:
Add urself in friends list
Ip:127.0.0.1 (loopback)
Port:4662 (ur emule port)
UserName: (anything)
rightclick--->send message----> (type anything)
if the connection successed, new window appear with ur message.
now dblclick on ur name, and check ur version.
note that: u must disable the ipfilter
Special Thanks To <a href="http://www.emule-project.net/home/perl/general.cgi?l=1&rm=team" target="_blank">eMule Team</a>
The name <b>"eMule"</b> comes from an animal called <b>"Mule"</b> which is somehow similar to a <b><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><!--coloro:green--><span style="color:green"><!--/coloro-->DONKEY<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></b>, So give it some jobs and it will complete them, Be Patience and Don't beat it.
#17
Posted 29 December 2004 - 11:23 AM
Thanks a lot
Somebody Hep Me???
Help in Italiano? eMuleItalia.net & in IRC join #emule-italian - sever ircchat.emule-project.net
La guida completa in italiano di eMule č eMule.it
My Blog :P
Sorry for my english :P