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
ratio moves more
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-07-09 10:55:35
Bonjour

J'ai mon ratio, upload et download qui ne bouge plus, a quelle fichier  faut je me refaire exactement pour résoudre ce problème

merci de votre aide

====================================


Hello

I have my ratio, upload and download that no longer moves, which file do I need to redo exactly to solve this problem

Thank you for your help
2022-07-10 05:29:52
this is for ratio in announce - maybe you made change and only just notice
debugging announce is at times tricky - might be worth posting your section of code from announce

================================================================

c'est pour le rapport dans l'annonce - peut-être que vous avez fait des changements et que vous remarquez juste
le débogage de l'annonce est parfois délicat - cela vaut peut-être la peine de publier votre section de code à partir de l'annonce

    $upthis = max(0, $uploaded - $self["uploaded"]);
   $downthis = max(0, $downloaded - $self["downloaded"]);

   if (($upthis > 0 || $downthis > 0) && is_valid_id($userid)){ // LIVE STATS!)
if ($torrent["freeleech"] == 1){
SQL_Query_exec("UPDATE users SET uploaded = uploaded + $upthis WHERE id=$userid") or err("Tracker error: Unable to update stats");
}else{
SQL_Query_exec("UPDATE users SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis WHERE id=$userid") or err("Tracker error: Unable to update stats");
}
   }
2022-07-10 15:29:30
Hello M-jay, thank you very much for your help, all my ups are in red but in sharing and the ratio does not move, I show you an image and if possible to check my stp file
=======================
Allo M-jay,  merci beaucoup  pour ton aide, tous  mes ups sont en rouge mais en partage  et  le ratio  ne bouge  pas,  je vous  montre une image et  si possible de vérifier  mon fichier stp

announce.zip
File missing

Last edited by spiritblue on 2022-07-10 15:30:17
2022-07-10 18:42:14
It’s not connecting to peers and providing the bencoded output response correctly.

It is gathering int (1) for 1 peer (probably you), and no other connections are established. Is NAT/uPnP working for your client?

You want a debugger for this, trust me. Even a SQL insert at every 30 lines so you know where your code is faulting.  
2022-07-11 01:51:39
yo STorrents2020, thanks

c'est quoi ca NAT/uPnP je suis avec la dernière version de utorrent

oui si vous avez des conseils ou autre je suis parent !

========================

what is NAT/uPnP I am with the latest version of utorrent

yes if you have any advice or other I am leaving!
2022-07-11 23:45:44
I wouldn’t worry so much about NAT/UPnP, may add further confusion. uTorrent takes care of this most of the time, else it will holepunch for a peer.

Your code is probably fine, and as usual if the file all of the sudden acts strange/buggy with no change.. then issue is SQL!

2022-07-12 18:03:08
strange
if it was sql you should get error in admincp log
have you updated utorrent or the announce code recently

have you changed server or vpn recently - in case its port issue
2022-07-13 02:13:48
Guys I changed server months ago
in my utorrent client v 3.5.5 the NAT/UPnP are enabled
I haven't had any SQL errors, but I'm starting to doubt the SQL
personally i don't use vpn
Last edited by spiritblue on 2022-07-13 02:16:01
2022-07-13 03:54:23
V3 is a son of a gun.

Maybe I find time this weekend and finally convert that dead horse to a new version using existing mysqli and tables/column names.

I know a lot more now since my last attempt.

I have suspicion the VPS staff are watching the connections. Who knows in this day and age. That’s against TOS at best.
2022-07-13 17:53:15
after several tests as soon as I want to put the snatched` mode back on the announcement, it crashes, so I'm going to remove this mode which blocks the ratio and puts the torrents in red and I'm going to remove the HIT&RUN as well, it's two crazy modes shit even if I had to review all the installation of these two modes 3 times to find the error lol thank you to both of you for your very, very precious and appreciated help.

thank you again friends.  👍

|===========================================================|

apres plusieur tests dès je veux remettre le mode snatched` a l'announce ca plante, donc je vais retirer ce mode qui bloque le ratio et met les torrents en rouge et je vais retier de meme le HIT&RUN c'est deux modes fout la merde meme si j'ai du revoire tous l'installation des ces deux modes 3 fois pour trouver l'erreur lol
Merci a vous deux pour votre aide tres, tres présieuse et apprecié.

Merci encore les amis.  👍
Last edited by spiritblue on 2022-07-13 17:55:08
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728