Torrent client - pbTorrent (source code).

Developed or developing a new product in PureBasic? Tell the world about it.
User_Russian
Addict
Addict
Posts: 1183
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Torrent client - pbTorrent (source code).

Post by User_Russian »

A small torrent client are written in PureBasic (source code).
To compile the code requires version PureBasic 4.51 (Windows x86) or higher.

English version.

Screenshots.

Image

Image
Last edited by User_Russian on Sat Sep 07, 2013 10:55 am, edited 2 times in total.
User avatar
idle
Addict
Addict
Posts: 3628
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Torrent client - pbTorrent (source code).

Post by idle »

Thanks, look good.
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Torrent client - pbTorrent (source code).

Post by IdeasVacuum »

9/10 ...lose 1 point for downloading a BoneyM record :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
xorc1zt
Enthusiast
Enthusiast
Posts: 276
Joined: Sat Jul 09, 2011 7:57 am

Re: Torrent client - pbTorrent (source code).

Post by xorc1zt »

thanks, must be great stuff. i tried to take a look at the source but dat pb syntax is too way crappy for me.
Zach
Addict
Addict
Posts: 1654
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Torrent client - pbTorrent (source code).

Post by Zach »

Wow that's awesome!

I'd always thought about what it would be like if I made something like this.. No way mine would look as good.

Edit:
Windows 7 (x64)
Purebasic v4.61 (x86)


I am unable to compile/run the source. I get an error
Compiler wrote: --------------------------------------------------------------------------------
Building 'PB Torrent'...
--------------------------------------------------------------------------------
Including: Constant.pbi
Including: TorrentFiles.pbi
Including: Structures.pbi
Including: FlagIcon.pbi
Including: ClientName.pbi
Including: Controls_CB.pbi
Including: misc.pbi
Line 1124: Invalid name: same as an external command.

--------------------------------------------------------------------------------

1 targets compiled with errors.
It seems to occur on this line, in Misc.pb - which is a procedure definition

Edit #2:
I found out the reason. This uses the same Procedure name as the CreateRebar() command for PrincieD's ProGUI Library, of which I have the Userlib version installed.
If anyone is using the User Library version of ProGUI then you won't be able to compile this program because of Command naming conflicts.
Image
User avatar
jassing
Addict
Addict
Posts: 1324
Joined: Wed Feb 17, 2010 12:00 am
Location: (Embarrassed to say country)

Re: Torrent client - pbTorrent (source code).

Post by jassing »

xorc1zt wrote:thanks, must be great stuff. i tried to take a look at the source but dat pb syntax is too way crappy for me.
Really? I found it easy to read and understand. Even better was that functions, variables were in a "internet common language" (english).

No two coders code alike; each one will say "I'd have done it this way" (even if it's just how you bracket things (in the case of C)) -- inability or inflexibility will limit ones productiveness.

Good stuff -- and thanks for sharing the code!
Pureabc
User
User
Posts: 76
Joined: Mon Jan 16, 2006 1:11 am

Re: Torrent client - pbTorrent (source code).

Post by Pureabc »

Looks very nice.

One problem for me as I can't read Russian.

Any chance of releasing an English version?

Thank you.
IdeasVacuum
Always Here
Always Here
Posts: 6380
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Torrent client - pbTorrent (source code).

Post by IdeasVacuum »

For language translation, try this: http://www.purebasic.fr/english/viewtop ... 14&t=50324
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Kwai chang caine
Addict
Addict
Posts: 4916
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Torrent client - pbTorrent (source code).

Post by Kwai chang caine »

Looks very nice.
One problem for me as I can't read Russian.
Any chance of releasing an English version?
Thank you.
Me too !!!
In fact i don't think we are numerous to read the difficult language russian :wink:
Perhaps Russian is again more difficult than PB :lol: :lol:
So, i'm proud to can talk to at all the world programmers...may be that one day, all countries will have at least one programmer in PB 8)

Nice and great job and mainly thanks for sharing all this big job 8)
ImageThe happiness is a road...
Not a destination
xorc1zt
Enthusiast
Enthusiast
Posts: 276
Joined: Sat Jul 09, 2011 7:57 am

Re: Torrent client - pbTorrent (source code).

Post by xorc1zt »

jassing wrote:Really? I found it easy to read and understand. Even better was that functions, variables were in a "internet common language" (english).

No two coders code alike; each one will say "I'd have done it this way" (even if it's just how you bracket things (in the case of C)) -- inability or inflexibility will limit ones productiveness.

Good stuff -- and thanks for sharing the code!
was talking about purebasic not his code. using parentheses and not square brackets for array, not allowing endline between parentheses and others stuff like the pointers made the code ugly and confusing.
User avatar
blueb
Addict
Addict
Posts: 912
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Torrent client - pbTorrent (source code).

Post by blueb »

IdeasVacuum wrote:9/10 ...lose 1 point for downloading a BoneyM record :mrgreen:
Where was I in '78... why, in a disco. Of course :mrgreen:


...
RA RA RASPUTIN
Lover of the Russian queen
There was a cat that really was gone
RA RA RASPUTIN
Russia's greatest love machine
It was a shame how he carried on
...

:D :D :D
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 768
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: Torrent client - pbTorrent (source code).

Post by Zebuddi123 »

@ Kwaï chang caïne

Hi Kwai you can translate the comments from russian to french etc with my util http://www.purebasic.fr/english/viewtop ... 14&t=50324
strings are now in the works so you should be able to translate any source code in the near future from any language to another ( ie all comments and strings )

should take take less than a minute for each file

Zebuddi. :D

PS Why Kwaï chang caïne ? do you study M/A
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
Kwai chang caine
Addict
Addict
Posts: 4916
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Torrent client - pbTorrent (source code).

Post by Kwai chang caine »

Thanks Zebuddi 8)
PS Why Kwaï chang caïne ? do you study M/A
Just a boundless admiration for the respect between a pupil and his master. I just feel in this forum, to be a disciple with his numerous masters in a "Shaolin temple" 8) , not kung fu but in PureBasic :D
Image
Image
ImageThe happiness is a road...
Not a destination
User avatar
Psychophanta
Addict
Addict
Posts: 4689
Joined: Wed Jun 11, 2003 9:33 pm
Location: Spa, relaxing and thinking, and learning...
Contact:

Re: Torrent client - pbTorrent (source code).

Post by Psychophanta »

Great work!
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Seymour Clufley
Addict
Addict
Posts: 1123
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: Torrent client - pbTorrent (source code).

Post by Seymour Clufley »

xorc1zt wrote:was talking about purebasic not his code. using parentheses and not square brackets for array, not allowing endline between parentheses and others stuff like the pointers made the code ugly and confusing.
xorc1zt, why are you on this forum? Do you expect PB syntax (which other people are quite happy with) to change just because you continually post snide comments about it? Bugger off.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Post Reply