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
New TTv3 Announce (mysqli)
Nothing found.
Controls ·  Search New posts · Mark unread

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

2021-04-18 21:01:03
No, I think your 100% correct, I was so tired when I finished this my eyes were burning lmao. I’ll push a update today.
2021-04-18 21:05:33
Additionally, the script has a lot of room for optimization, like replacing array_key_exists with isset (faster), break down the function calls and add better reporting to announce_log table (optional).
2021-04-18 22:59:57
Lots of fixes. Be sure to run these first so you have the script working


CREATE TABLE happyhour (id int(10) NOT NULL AUTO_INCREMENT, userid int(10) NOT NULL DEFAULT 0, torrentid int(10) NOT NULL DEFAULT 0, multiplier float NOT NULL DEFAULT 0, PRIMARY KEY (id), KEY userid (userid, torrentid))
ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

ALTER TABLE peers ADD http_client TEXT;
ALTER TABLE peers ADD clientkey VARCHAR(10);
ALTER TABLE peers ADD completed TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE peers ADD chosen_peer_id CHAR(40) DEFAULT '';
ALTER TABLE users ADD slots INT(10) DEFAULT 3;


Upload files and test. Passkey has changed in this version, and now checks like this:

MEMBERSONLY: true - (check passkey)
MEMBERSONLY - false - (only check peer IP)

Lot of clean up and finished some other areas, like happyhour and completion event.
TTv3 Announce_v1.01.zip
File missing
Last edited by STorrents2020 on 2021-04-19 00:52:46
2021-04-19 19:20:24
hello STorrents2020 and thank you for your help,

I did exactly as I said and recommend and my torrent sounds red on the site and on the client (Qtorrent) it tells me it does not work and that the key is not good for downloading, but upload remains shared with the client and the same for the site.




2021-04-19 19:24:51
Ahh yes I saw that bug! Because it’s ignoring MEMBERSONLY and going right to fail.

Comment this line and save


fail('Passkey is invalid');


Tell me what happens after tracker update.
2021-04-19 21:19:11
after about 7 minutes the torrent has turned red and I have the error on the client (Internal Server Error)

URL IMG: https://zupimages.net/up/21/16/yx23.png

IMG SQL: https://zupimages.net/up/21/16/insg.png
Last edited by spiritblue on 2021-04-19 21:24:58
2021-04-19 21:41:55
Thank you spiritblue, I will make a fix to the file tonight. This is passkey handling issue and will test on mine too.

The most up to date is code in first post, I’ll clear all that up in a new zip!

Keep on testing! We’re almost there
2021-04-19 22:18:21
cool, no problem taking the test if needed, thank you very much for your help which will be appreciated by all.
2021-04-20 01:03:33
Try this one
announce.php.zip
File missing
2021-04-20 19:00:24
the client remains in sharing but gives the key error and after updating the server, the torrents remain in green (sharing)

IMG : https://zupimages.net/up/21/16/r0mb.png
2021-04-20 22:27:59
I confirm not working in my client. same as tiloup. Thanks for working on it tho. progress is sometime slow, but thats perfectly fine :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2021-04-20 22:28:35
2021-04-21 01:04:13
lol MicroMonkey, not cloudy, I'm patient ;)
2021-04-21 02:58:09
Issue is, I’m not working from real TT install. I’m a fork from TT back end the beginning so it takes some tuning, does anyone have a private FTP to test a torrent from? Or a subdirectories of a base install that I can access only those files - for testing easier?
2021-04-21 02:59:51
Seems the pass key is the failure here, which is rather silly. Can we get more testers with a basic or populated installation?
Last edited by STorrents2020 on 2021-04-21 03:00:11
2021-04-21 19:27:15
can be seen with my file which works but which is not up to date like the one you want to set up.

announce.php
File missing

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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728