Results 1 to 10 of 10

Thread: IWD check in download

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Ni3ls View Post
    Can you explain it a little bit?
    the address 0x0815D584 points to SV_BeginDownload_f that you call when you type /download.
    I set it to my own function and inside this function i check if it is a valid iwd. When the iwd is valid then it calls the original function.

    file + len - 4 gets the pointer to '.' in the file text. So you basically skip the first x chars.

    Quote Originally Posted by IzNoGoD View Post
    Can you add a check for issubstr("_svr_") or issubstr("svr")?
    PHP Code:
    char pch strstr (s"_svr_");
    if(
    pch != NULL// found _svr_ 

  2. The Following User Says Thank You to Mitch For This Useful Post:

    Ni3ls (14th February 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •