DC++ 0.68

Chat about twofo and other information sharing portals.

Moderator: Operators

Post Reply
xyzzy
Posts: 55
Joined: Fri Oct 21, 2005 5:00 pm
Location: Kent

DC++ 0.68

Post by xyzzy »

DC++ 0.68 was released a few days ago.
Unfortunately, one of the changes made means twofo, and any other hub running Open DC Hub, may not let you connect.

If you want to use this version, the simplest way to work around this is to set "Max upload speed" to 2 or 5 (which will probably end up displayed as "28.8kbps" and "56kbps").

Alternatively, you can edit the DCPlusPlus.xml file with any text editor, and change the value of the "UploadSpeed" setting to one of the old values (DSL, Cable, LAN(T3) ...)
User avatar
echelon
Uber Forum Spammer
Posts: 895
Joined: Fri Oct 07, 2005 8:22 pm

Post by echelon »

thx for that.. update.. (not that I use the new version)

This is useful tho as a lot of new users will be downloading this version rather than the older versions. which will mean more of 0.68 version will be appearing
xyzzy
Posts: 55
Joined: Fri Oct 21, 2005 5:00 pm
Location: Kent

Post by xyzzy »

Here's a simple patch for Open DC Hub 0.7.14 which should allow people to connect with any value in the "Connection speed" setting

Code: Select all

diff -Naur opendchub-0.7.14.orig/src/commands.c opendchub-0.7.14/src/commands.c
--- opendchub-0.7.14.orig/src/commands.c	2006-01-31 14:45:28.000000000 +0000
+++ opendchub-0.7.14/src/commands.c	2006-01-31 14:46:04.000000000 +0000
@@ -1165,7 +1165,8 @@
 	  user->con_type = 8;
 	break;
       default:
-	return 0;
+	user->con_type = 68;
+	break;
      }
    
    /* Set flag */
diff -Naur opendchub-0.7.14.orig/src/main.c opendchub-0.7.14/src/main.c
--- opendchub-0.7.14.orig/src/main.c	2006-01-31 14:45:28.000000000 +0000
+++ opendchub-0.7.14/src/main.c	2006-01-31 14:45:37.000000000 +0000
@@ -703,6 +703,9 @@
       case 9:
 	sprintfa(send_buf, "LAN(T3)");
 	break;
+      default:
+	sprintfa(send_buf, "Unknown");
+	break;
      }
    sprintfa(send_buf, "%c", from_user->flag);
    sprintfa(send_buf, "$");
I've not tested it extensively.
User avatar
echelon
Uber Forum Spammer
Posts: 895
Joined: Fri Oct 07, 2005 8:22 pm

Post by echelon »

at first glance the code looks good.. maybe cocodude could test it on twofo.. or we could test on another hub.. BigG is ur hub running OpenDC??
User avatar
cocodude
Uber Forum Spammer
Posts: 629
Joined: Tue Oct 04, 2005 5:29 pm
Location: London
Contact:

Post by cocodude »

Busy this weekend but I'll apply the patch on Monday. I agree that it does lookgood. Thanks xyzzy.

Cocodude
User avatar
echelon
Uber Forum Spammer
Posts: 895
Joined: Fri Oct 07, 2005 8:22 pm

Post by echelon »

well considering that still only a small number of users are having the problem with 0.68 I reckon no-one will die from waiting a few days :D

well having said that I hope we dont hear any stories of students commiting suicide cus they couldnt get their weekly tv-show fix :P
Post Reply