Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in make a peer "leecher" #21

Open
tachyon3000 opened this issue Jan 27, 2021 · 1 comment
Open

Error in make a peer "leecher" #21

tachyon3000 opened this issue Jan 27, 2021 · 1 comment

Comments

@tachyon3000
Copy link

The announce file put all in status completed=1 on the database, but the lechers or in status completed=0 don't be added, so they can't download nothing, can you fixed it?
my server run nginx with php 7.4 and mysqlnd 7.4.3

sorry with my bad english.

@tachyon3000 tachyon3000 changed the title Error in make a peer "seeder" Error in make a peer "leecher" Jan 27, 2021
@Wiilf
Copy link

Wiilf commented Oct 16, 2021

You need to review your SELECT statement, ensuring the user ID exists in database.

From there you want to check if seeder and propose a UPDATE or INSERT based on that. From there you do your usual logic and get to the peer data part of it. Once you sorted out the fields.

This announce script does literally everything for us. It's feature packed and will take anyone enough time to achieve that reading the BitTorrent spec/BEPs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants