News:

Wondering if this will always be free?  See why free is better.

Main Menu

[WIP mod] Bittorrent Tracker for SMF 2.0RC3

Started by niko, May 15, 2008, 04:24:59 PM

Previous topic - Next topic

djfye

yup, when I try attaching a torrent it ends up like

[torrent]Array[/torrent] just like wdm2005's

goldenboy48


niko

Added later build, it should have this fixed.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

djfye

#23
so what would the tracker be after you apply the mod? hxxp:yoursite.com/announce.php [nonactive]??

aishaweb

From the package info xml file:


<install for="2.0 Beta 3 Public, 2.0 Beta 3.1 Public">
	
	
<require-
file name="Sources/TorrentDatabase.php" destination="$sourcedir/>
	
	
<
database>installDatabase.php</database>

	
	
<require-
file name="announce.php" destination="$boarddir/>
	
	
<require-
file name="scrape.php" destination="$boarddir/>

Sun11

how come Seeder and Leecher stays as 0?
does the info come from the site which the torrent was made in e.g. mininova, demonoid
or the site which smf torrent is installed??

niko

Added build with Beta 4 support.

Quote from: Sunite on September 01, 2008, 04:27:16 PM
how come Seeder and Leecher stays as 0?
does the info come from the site which the torrent was made in e.g. mininova, demonoid
or the site which smf torrent is installed??

Currently it can't show data from external trackers.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

dttrader2

Hi,

first post, and i can tell than i love smf, and your plug, BUT  O:)
is it possible to list all torrent ? I share it with a topic and i would like share in listing too, one page with all torrent contain on the tracker with seeders leechers comment etc.. like torrentpier and the others

How can i do that, im not php guru
Thanks for all !!

gianluca.giuman

Hi ...
Nice mod....
I'm seeking for long time for  this mod.....
How about to implement the xbt engine?

jensvanherck


redlands

#30
Hi,
Very nice mod, looks promising!!
I got it up and running,  clients can connect but no bytes transferred.
I found this in the error log:

PHP Notice:  Undefined variable: k in ... /announce.php on line 63
PHP Notice:  Undefined index:  is_admin in ... /Sources/Security.php on line 769
PHP Notice:  Undefined index:  permissions in ... /Sources/Security.php on line 776
PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ... /Sources/Security.php on line 776


Any help is appreciated.

HuRRR

Permission and attachment have been correctly set, but I have this error on a white page when I puch Post button :

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/BEncode.php on line 25


Someone can help me :please :) ?

niko

Quote from: HuRRR on November 14, 2008, 01:14:04 PM
Permission and attachment have been correctly set, but I have this error on a white page when I puch Post button :

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/BEncode.php on line 25

Someone can help me :please :) ?

Post.php find:

require_once($sourcedir . '/BEncode.php');

replace with

loadClassFile('BEncode.php');

Replace announce.php with attached version
Replace Sources/Tracker.php with attached version

Quote from: redlands on November 12, 2008, 12:39:06 PM
Hi,
Very nice mod, looks promising!!
I got it up and running,  clients can connect but no bytes transferred.
I found this in the error log:

PHP Notice:  Undefined variable: k in ... /announce.php on line 63
PHP Notice:  Undefined index:  is_admin in ... /Sources/Security.php on line 769
PHP Notice:  Undefined index:  permissions in ... /Sources/Security.php on line 776
PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ... /Sources/Security.php on line 776


Any help is appreciated.

Replace announce.php with attached version
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

redlands

#33
Thanks for your reply, Niko!

Quote from: Niko on November 14, 2008, 02:44:16 PM

Replace announce.php with attached version
OK, the new annonnce.php got rid of the errors.
(By the way these errors only occured when connecting with BitTornado and BitTorrent clients.)

Still, can´t get any transfers to start, everything looks good in tracker statistics, leechers and seeders
show up but no bytes transferred.

When I save permissions I get errors in forum log:

8: Undefined index: permissionname_tracker_edit
File: ..../Sources/ManagePermissions.php
Line: 1636

8: Undefined index: permissionname_tracker_edit_own
File: ..../Sources/ManagePermissions.php
Line: 1642

8: Undefined index: permissionname_tracker_edit_any
File: ..../Sources/ManagePermissions.php
Line: 1646


Furthermore, there are two tracker permissions with no "name" !?

HuRRR

#34
Quote from: Niko on November 14, 2008, 02:44:16 PM
Post.php find:

require_once($sourcedir . '/BEncode.php');

replace with

loadClassFile('BEncode.php');

Replace announce.php with attached version
Replace Sources/Tracker.php with attached version

Ok it's done, but now, I have this one :s :

Fatal error: Call to undefined function: file_put_contents() in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/Subs-Tracker.php on line 956

And take a look at my permission board (in Classic View Mode)



???

kurosaki00

hopefully this will be available soon for 1.1.x

HuRRR

Take a look at this one. I know (from the source code) that they are using EzTorrent v0.5 ...




;)

redlands

My tracker is up and running for testing ;D.
Only tested with 3 users so far, uploading/downloading.
Working mighty fine 8).


I´m getting some errors in the logs:
Type of error: General
.../index.php?action=tracker;torrent=3;showPeers
2: Division by zero
File: .../Sources/Tracker.php
Line: 173

Type of error: Undefined
.../index.php?action=tracker;torrent=3;showPeers
8: Undefined index: filesize
File: .../Themes/default/Tracker.template.php (torrent_view sub template - eval?)
Line: 72

Type of error: Undefined
.../index.php?action=tracker;torrent=3;showPeers
8: Undefined variable: size
File: .../Sources/Tracker.php
Line: 173

Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit
File: .../Sources/ManagePermissions.php
Line: 1636

Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit_own
File: .../Sources/ManagePermissions.php
Line: 1642

Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit_any
File: .../Sources/ManagePermissions.php
Line: 1646

HuRRR

redlands, which version of SMF are you using ?

redlands

#39
Quote from: HuRRR on November 17, 2008, 01:46:25 PM
redlands, which version of SMF are you using ?
SMF 2.0b4

Advertisement: