Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 9th July 2021, 23:37
Tedmorris Tedmorris is offline
Senior Member
 
Join Date: Sep 2017
Posts: 62
Exclamation User leeching & seeding same torrent simultaneously.
How would one go about stopping users from leeching a torrent they are already seeding? Essentially seeding and leeching the same torrent at the same time on the same account. This can be problematic on freeleech torrents as a user would be seeding on one client whilst uploading to themselves as a leech on another client, essentially boosting their upload stats by uploading to themselves.

I would have thought that the below would work but it does not.

This:

PHP Code:
if ($valid[0] >= && $seeder == 'no'err("Connection limit exceeded! You may only leech from one location at a time.");
if (
$valid[0] >= && $seeder == 'yes'err("Connection limit exceeded!"); 

Changed to:
PHP Code:
if ($valid[0] >= 2err("Connection limit exceeded! You may only leech or seed not both."); 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 16:06. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.