Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make DCGUI-QT identify as DC++
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ragnwald
n00b
n00b


Joined: 20 Dec 2002
Posts: 43
Location: Stockholm

PostPosted: Tue Apr 06, 2004 3:03 pm    Post subject: Make DCGUI-QT identify as DC++ Reply with quote

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
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Tue Apr 06, 2004 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Robin79
l33t
l33t


Joined: 18 Oct 2003
Posts: 632
Location: /home/valdemarsvik

PostPosted: Tue Apr 06, 2004 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Tue Apr 06, 2004 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
ragnwald
n00b
n00b


Joined: 20 Dec 2002
Posts: 43
Location: Stockholm

PostPosted: Wed Apr 07, 2004 2:50 pm    Post subject: Reply with quote

I have been looking around a little in dcconfig.cpp and I must say that I can't find anything about the $myinfo-string... :oops:

Is this someting you have done? Any more hints? :)
Back to top
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Wed Apr 07, 2004 4:33 pm    Post subject: Reply with quote

cconfig.c -> Line 1462...
Code:

CString CConfig::GetDescription( bool raw )
{
        Thread.Lock();

        CString s = "";
.
.
.

It should be easy now :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum