Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Announce FIX for ruTorrent client.
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods Completed

2023-01-27 21:54:10
A problem occurs with the ruTorrent client.

The tracker updates when the torrent is created or added, but after the cleanup delay, the peer_id disappears from the peers list.

The only solution I have found for this is below.


IN "annouce.php"

FIND
$selfwhere = "torrent = $torrentid AND peer_id = ".sqlesc($peer_id);


REPLACE BY
$selfwhere = "torrent = $torrentid AND ip = ".sqlesc($ip)." AND client = ".sqlesc($agent)." AND port = $port AND userid = ".$user["id"];
2023-01-28 03:41:02
Thanks OXYDE.
It appears to have resolved the problem on the site I'm on.
👍
2023-01-28 16:39:50
Un gros merci / Big thanks !  👍  😊

at home all my torrents have fallen in red but in sharing
Last edited by spiritblue on 2023-01-28 17:11:32
2023-01-28 18:55:43
Its filling in parameters that are normally sent when the tracker receives a response.

Typically, its because announce shouldn't send all parameters over until the database / check conditions are met. So this is jumping ahead, and potentially missing important logic prior.

Its perfectly valid, but the url string that contains all of this is automatically generated from the client so this is unnecessary. If its seen as required, then something else is wrong in the code.
2025-08-17 10:22:03
Nice work 👍
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 4
  • Members: 0
  • Guests online: 4
  • Comments: 3
  • Messages: 1,728