DC++ Version with option to disable file hashing???
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

DC++ Version with option to disable file hashing???

Started by dadaniel, 19 April, 2004, 13:45:36

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dadaniel

Which DC Version has a build in option to disable hashing? --->because we use it at lan and it hashes almost an hour!  :D

AlwaysConnected

all dc++ below 0.400
:)

dadaniel

#2
and what about mods? --->we MUST use speed-limiting(says our network-admin) ?(

--->Oh, I've found out that no mod supports this feature anymore! 8o  8o

What should I do? I don't want to use an old version! :(

NotRabidWombat

#3
BCDC++ or use NetLimiter

Your network admin sounds like a nazi.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

dadaniel

There's also no option to disable file-hashing in BCDC++!! ;(

NotRabidWombat

#5
Oh sorry. I did not know that BCDC++ removed the option from their advanced menu. Well, I'm currently working on a modded version of BCDC++ to support additional lua script options. You would have to wait a while for me to finish that and then work on this option. However, I _am_ interested in this option because I also run a LAN hub :-D

If someone else would like to make the change get the bcdc++ source.

File: DCPlusPlus.cpp
Line: 121
"HashManager::getInstance()->startup();"
You would want to add an if condition controlled by the Settings dialog.

Same with Line: 133
"HashManager::getInstance()->shutdown();"
I wonder if shutdown ensures there was a startup().

Also
File: ShareManager.cpp
Line: 276
"TTHValue* root = HashManager::getInstance()->getTTH(aName + PATH_SEPARATOR + name, size, File::convertTime(&data.ftLastWriteTime));"
This is getting more complex because root is added into what appears to be information for the filelist. You may have to look into the inner workings behind creating the filelist and detecting whether the filelist contains TTH.

*EDIT*
I forgot.
File: WinUtil.cpp
Line: 571
"HashManager::getInstance()->rebuild();"
This one is easy though because this is from the command "/rebuild" and can be a simple if clause.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

SMF spam blocked by CleanTalk