Page 1 of 1
DC++ 0.68
Posted: Sun Jan 15, 2006 5:15 pm
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) ...)
Posted: Mon Jan 16, 2006 1:25 pm
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
Posted: Tue Jan 31, 2006 2:56 pm
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.
Posted: Tue Jan 31, 2006 7:02 pm
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??
Posted: Fri Feb 03, 2006 9:31 am
by cocodude
Busy this weekend but I'll apply the patch on Monday. I agree that it does lookgood. Thanks xyzzy.
Cocodude
Posted: Fri Feb 03, 2006 10:33 am
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
well having said that I hope we dont hear any stories of students commiting suicide cus they couldnt get their weekly tv-show fix
