Official eMule-Board: Udp Reask Fnf-Fix - Official eMule-Board

Jump to content


Page 1 of 1

Udp Reask Fnf-Fix

#1 User is offline   pupet 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 24-November 05

Posted 11 November 2009 - 05:34 PM

hi this code was taken from emule stulle the coder was Wizard ....

the log reported this ...... Dropped src: "user name" does not seem to have own reqfile

DownloadClient.cpp

search :

#include "Log.h"

add under: 

#include "UploadQueue.h"


serach:

AddDebugLogLine(DLP_LOW, false, _T("UDP FNF-Answer: %s - %s"),DbgGetClientInfo(), DbgGetFileInfo(reqfile ? reqfile->GetFileHash() : NULL));

add under:

if(reqfile && GetUploadState()!=US_NONE)
{
CKnownFile* upfile = theApp.sharedfiles->GetFileByID(GetUploadFileID());
if(upfile && upfile == reqfile) //we speak about the same file
{
AddLogLine(false,_T("Dropped src: (%s) does not seem to have own reqfile!"), DbgGetClientInfo());
theApp.uploadqueue->RemoveFromUploadQueue(this, _T("Src says he does not have the file he's dl'ing"));
theApp.uploadqueue->RemoveFromWaitingQueue(this);
}
}

0

#2 User is offline   Stulle 

  • [Enter Mod] Dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5804
  • Joined: 07-April 04

Posted 11 November 2009 - 10:17 PM

hold on, are you just copy pasting the code from my mod or what is this? that would be pretty pointless. if the modder does not feel like making a snippet of his code it should not be up to somebody else unless he makes substantial changes.
I am an emule-web.de member and fan!

[Imagine there was a sarcasm meter right here!]

No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
0

#3 User is offline   pupet 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 24-November 05

Posted 11 November 2009 - 11:35 PM

sorry I wanted to help. :unsure: sorry Stulle
0

#4 User is offline   Stulle 

  • [Enter Mod] Dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5804
  • Joined: 07-April 04

Posted 12 November 2009 - 07:10 AM

well, i pride myself with being one of the few modders that tag mod code fairly clearly and consitently so i doubt anything like this is of any use when everybody could just check my mod and see for himself.
I am an emule-web.de member and fan!

[Imagine there was a sarcasm meter right here!]

No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users