SOLVED Override a package URL

Discussion in 'General Discussion' started by zmitya, Jan 12, 2018.

  1. zmitya

    zmitya Registered

    Joined:
    Jun 29, 2011
    Messages:
    104
    Likes Received:
    16
    Hi Gents,

    How is it possible to override the package location ?
    - I don't want to use Noel's GetModMgr stuff, I would like to do mine (I don't have any problem with that I just don't want to depend on any external service.)
    - I have my own webserver, which is already set up, the mappings are done, it answers back with a 302 Redirect msg. The URL works from a Browser.
    - I know that the Game will append a "?sig="+"signature of pkg" to the URL which is specified in the package.

    But my game does not send the request to my webserver unfortunately, but it sends to the DEDI server.

    My questions:
    1) Which URL is used in a case of a car package ? The URL from the vmod or the URL from the car pkg ?
    2) As I saw the Game tried to append the above signature only if the pkg was not in the DEDI server's Packages directory. Only that case it tried to download from an other source. Unfortunately it sent the 2nd req to the DEDI server again :(

    Here is the req captured wqith Wireshark:
    http://mitya.madein.hu/ss/snapshot-2018-01-11-23-20-19.png

    This is the package:
    http://mitya.madein.hu/ss/snapshot-2018-01-11-23-42-46.png

    What did I miss ?

    Thanks,
    Mitya
     
  2. zmitya

    zmitya Registered

    Joined:
    Jun 29, 2011
    Messages:
    104
    Likes Received:
    16
    Thanks Mangoletsi, let me try to analyze it what did I miss..
     
  3. zmitya

    zmitya Registered

    Joined:
    Jun 29, 2011
    Messages:
    104
    Likes Received:
    16
  4. zmitya

    zmitya Registered

    Joined:
    Jun 29, 2011
    Messages:
    104
    Likes Received:
    16
    Woooow, it does work :)

    I had to do the following:
    - Keep the vmod file in the packages dir to let DEDI server find it
    - Remove the car package from the packages folder to prevent the DEDI server to find it
    - Restart the DEDI server

    Does work now, I could download the package @30Mbit/sec which is my bw limit :)

    Thanks for the help!
     

Share This Page