View previous topic :: View next topic |
Author |
Message |
ragnwald n00b
Joined: 20 Dec 2002 Posts: 43 Location: Stockholm
|
Posted: Tue Apr 06, 2004 3:03 pm Post subject: Make DCGUI-QT identify as DC++ |
|
|
Is this possible to do?
Some hubs require that you use DC++ to get in.
I've got DC++ working with wine but I am being accused of fakesharing for some reason so I need to use a native client.. Any ideas? |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Tue Apr 06, 2004 6:03 pm Post subject: |
|
|
Making DCGUI-QT is a bit tricky to fool, you might be tempted to just fake the tag, however the program has a protection wich changes the tag if it finds a fake tag.
Solution? You need to hack the source code, it's not that difficult.
I'll just give you a hint... check cconfig.c (i think it's that one...well it's a *config.c file) and just browse through it. |
|
Back to top |
|
|
Robin79 l33t
Joined: 18 Oct 2003 Posts: 632 Location: /home/valdemarsvik
|
Posted: Tue Apr 06, 2004 6:07 pm Post subject: |
|
|
where do i find that file? cconfig.c in the ~ dir or in / somwhere?
edit: of course its in the source? but where to find the source i used emerge to compile it. _________________ Gentoo 2005.0
ASUS P5AD2 Deluxe MB
Intel P4 3.2GHz
PCI-E Nvidia Geforce PCX 5750
--------------------
Registered Linux User Nr # 319050 http://counter.li.org |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Tue Apr 06, 2004 10:22 pm Post subject: |
|
|
Robin79 wrote: | where do i find that file? cconfig.c in the ~ dir or in / somwhere?
edit: of course its in the source? but where to find the source i used emerge to compile it. |
do an emerge -f dclib, then get the file from /usr/portage/distfiles
untar it somewhere change whatever you need tar and bzip it again put it back in /usr/portage/distfiles (overwritting the old one) and run ebuild /path/to/dclib/ebuild/dclib-x-x-x-ebuild digest and emerge it normally |
|
Back to top |
|
|
ragnwald n00b
Joined: 20 Dec 2002 Posts: 43 Location: Stockholm
|
Posted: Wed Apr 07, 2004 2:50 pm Post subject: |
|
|
I have been looking around a little in dcconfig.cpp and I must say that I can't find anything about the $myinfo-string...
Is this someting you have done? Any more hints? |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Wed Apr 07, 2004 4:33 pm Post subject: |
|
|
cconfig.c -> Line 1462...
Code: |
CString CConfig::GetDescription( bool raw )
{
Thread.Lock();
CString s = "";
.
.
.
|
It should be easy now |
|
Back to top |
|
|
|