Results 1 to 10 of 10

Thread: IWD check in download

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts
    If printf("Not a valid iwd: %s\n", file) gets triggered, then the client gets stuck starting the download of this file and the next ones don't start right?

    Could someone suggest a way for the process to go try the next files when this happens please.

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by raphael View Post
    If printf("Not a valid iwd: %s\n", file) gets triggered, then the client gets stuck starting the download of this file and the next ones don't start right?

    Could someone suggest a way for the process to go try the next files when this happens please.
    No, because you are not supposed to download any non iwd files.

    And the current libcod uses voron's custom_SV_WriteDownloadToClient function (https://github.com/M-itch/libcod/blo...ibcod.cpp#L403)

  3. #3
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts
    I meant I want to make some clients to ignore some iwd files, but to download the rest and be able to join the server anyway.

    I think I should take control of SV_SendClientGameState to achieve this...

    i'm doing this on cod1, actually codextended public repo doesn't take control of this function, i tried a bit to do it without success for the moment

    Thanks for having replied Mitch

Posting Permissions

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