PDA

View Full Version : [eMule] How to remove search limit of Dreamule?



tunayx
01.01.10, 16:23
Dreamule has a great feature that when you set search to automatic it searches both global servers + kad network automatically. But if it finds about 100-200 results then stops global server search just after it starts. Is it possible to remove this limit by editing its code?

binary
Download DreaMule from SourceForge.net (http://sourceforge.net/projects/pootzmod/files/DreaMule/3.2/DreaMule_bin.rar/download)

source
[url=http://garr.dl.sourceforge.net/project/pootzmod/DreaMule/3.2/DreaMule_src.rar[/url]

anon
01.01.10, 17:18
Is it possible to remove this limit by editing its code?

Look for the part that cancels searching after you have enough results in SearchResultsWnd.cpp and comment it out:

/*
if (!canceld && count > MAX_RESULTS)
CancelEd2kSearch();
*/

tunayx
01.01.10, 18:30
I've found SearchResultsWnd in emule.exe but couldn't find the code you've given. I use hxd hex editor.

anon
01.01.10, 18:30
You can't do this with a hex-editor. I was talking about editing the source code and re-compiling.

tunayx
01.01.10, 18:53
Sadly I don't know anything about compiling. I find this search method really very useful but limiting search feature skips lots of results. More than one year this tool haven't been updated. Could you do it, if it's not time consuming for you?

anon
01.01.10, 18:54
Could you do it, if it's not time consuming for you?

I don't have a clue about compiling either. :eek: But if you look for info and get the right tools...

Instab
01.01.10, 19:36
Sadly I don't know anything about compiling.

you don't have to. you need M$ visual studio, load the project file and hit build

tunayx
01.01.10, 19:46
But it's 3 gb, is there anybody has already installed it on his machine and compile it for windows?

tunayx
01.01.10, 20:02
All files are here

Browse DreaMule Files on SourceForge.net (http://sourceforge.net/projects/pootzmod/files/)

Instab
01.01.10, 20:03
there is no -main- project file,
and compiling this isn't easy, you need other dependents [zlib & others]

i've tried loading "BaseClient.cpp" as i assume its the main file but it didn't succeed.

image (http://i49.tinypic.com/2w2j5w2.png)

a cpp can not be a project or main file.
who's the coder here? :biggrin:

cheatos
01.01.10, 20:06
i've edited my post :redface:

will try the newer version of vc++

Instab
01.01.10, 20:18
just for the record

File Types and File Extensions in Visual Studio .NET (http://msdn.microsoft.com/en-us/library/xhkhh4zs(VS.71).aspx)

cheatos
01.01.10, 20:21
ok find it for me then, in that archive :smile: ?

tunayx
01.01.10, 20:25
Can this be "emule.rc"

cheatos
01.01.10, 20:39
Can this be "emule.rc"

no this is a resource file,
i'm not that Expert in C++ btw,
i've not dealt with sources with no project file,

i'll see what i can do
testing...

Instab
01.01.10, 20:50
how about the '.workspace' file?

cheatos
01.01.10, 21:13
nice one VwTE1r,
its a codeblocks project file not MS one.

but its not compiling for me,
funny thing there is a CodeBlocks project file and the selected compiler is VS2003 hmm.

needs MS MFC Libraries [afxext.h,afxhtml.h,..etc] which are not included in VC++ express or VC++ 6 Standard or CodeBlocks which i have.

will try compiling later as i don't want to spam my computer with the full VS2008 ..now

Instab
01.01.10, 21:21
nice one VwTE1r,
its a codeblocks project file not MS one.

yeah, well, only did dev stuff on winblows 2 times. and the second time was inside cygwin so it dösn't count actually :tongü:

tunayx
01.01.10, 21:34
What about online compile?

Compilr.com - Online Compiler (http://compilr.com/)
Online Compiler (.net) C FORTRAN JAVA PASCAL BASIC (http://www.onlinecompiler.net/)

cheatos
01.01.10, 21:38
^

mate,
that won't work..
are you in a hurry?

Steps:
* Get VS2008
* Click File > New Project > From Existing files
* Select the extracted Dreamule path
* You may run into problems like missing libraries which you need to deal with yourself :biggrin:
* Remove the line you want
* Built it!
* Done

tunayx
01.01.10, 21:44
Not in hurry but afraid of limbo. :wink:

cheatos
01.01.10, 21:45
your fear is in place :biggrin:

technically ,my "Later" means weeks and maybe months :biggrin:

ok i'll try to do ASAP for you :cool2:

tunayx
05.01.10, 19:23
Hope sweet hope...

cheatos
06.01.10, 20:02
i'm getting tons of errors :\
comments on the net says you need VS2003 to compile it, i have vc++6 and 2008.

sorry i can't do it fast, you may need to continue using Dreamule as it is now until i find a way to compile it.

or someone else to do this for you.

-cheatos out

tunayx
06.01.10, 21:19
I was about the try it myself but if you have troubles then no need to try it myself. I'll wait, nice to hear you didn't forget it.