[V491] Populate your marketplace with 20.770 items (all available)

Results 1 to 12 of 12
  1. #1
    Apprentice servia is offline
    MemberRank
    Sep 2020 Join Date
    20Posts

    config [V491] Populate your marketplace with 20.770 items (all available)

    0. Make sure your server is up & running (only database server is required, loginserver & gameserver can be off).
    1. Download WinPython (it's a portable version of python so it's more easy to remove once you don't need it.) from:
    https://github.com/winpython/winpython/releases

    This one will work:
    https://github.com/winpython/winpyth...64-3.8.5.0.exe

    It already includes pymongo, so you don't need to worry about it.
    2. Go to where you extracted WinPython and then inside /scripts/ folder.
    3. Create a new file populateMarketplace.py with the following code https://pastebin.com/s9F4c2XB
    (make sure you copy the RAW content: https://pastebin.com/raw/s9F4c2XB)

    4. To make it work an existing accountId must be set, default id is 2: (search for "accountId": 2, in the code). Usually it will be okay as when you setup your server there's already a "conan" account, so your own account is id 2. If that's not the case, just change the id to 1 or an existing one in your mongo users collection.
    5. Run "WinPython Command Prompt.exe" and once is open, execute the following command:
    Code:
    python.bat populateMarketplace.py
    6. Restart your server and voilá, all marketplace sections will now have items on sale!

    Special thanks to:
    @Lautaro for providing in http://forum.ragezone.com/f1000/rele...-rest-1153913/ the items database from where i extracted all ids.
    @fullhawk for publishing in http://forum.ragezone.com/f1001/popu...arket-1151944/ the script that i've used as base.
    Last edited by servia; 01-10-20 at 04:08 PM.


  2. #2
    Enthusiast Devorn is offline
    MemberRank
    Apr 2013 Join Date
    33Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    What a great step by step guide! I am very rookie with these sorts of things, but it SEEMS that even I will figure this out eventually. Very well made guide. We need more guides that "novices" can read and understand ;). I have not yet tried it, but if I run into trouble in the future I will ask for help (I have no time to play with this just yet).

    Thank you so much for sharing your work!

    PS: Can't I just download that python script as it is and copy it to the python script folder (instead of creating a new one)?

  3. #3
    Apprentice servia is offline
    MemberRank
    Sep 2020 Join Date
    20Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by Devorn View Post
    What a great step by step guide! I am very rookie with these sorts of things, but it SEEMS that even I will figure this out eventually. Very well made guide. We need more guides that "novices" can read and understand ;). I have not yet tried it, but if I run into trouble in the future I will ask for help (I have no time to play with this just yet).

    Thank you so much for sharing your work!

    PS: Can't I just download that python script as it is and copy it to the python script folder (instead of creating a new one)?
    Thanks! It's one of the problems that i always encounter, people explaining like you already know what they're talking about/you've got experience with that area :(

    And Yes, you can open pastebin in raw and do CONTROL+S i guess :)

  4. #4
    Enthusiast Devorn is offline
    MemberRank
    Apr 2013 Join Date
    33Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by servia View Post
    Thanks! It's one of the problems that i always encounter, people explaining like you already know what they're talking about/you've got experience with that area :(
    Interesting to hear you say that because that's exactly what I meant :), spot on. I hope you do even more user friendly guides like this in the future (that fixes issues and so on). Thanks once again!

  5. #5
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Nice share, thank for help bdo community!

  6. #6
    Novice tridung12a10 is offline
    MemberRank
    Sep 2020 Join Date
    1Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Thanks for the guide, I wonder can I do it the same for odoRE v1.01 alpha through?

  7. #7
    Apprentice servia is offline
    MemberRank
    Sep 2020 Join Date
    20Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by tridung12a10 View Post
    Thanks for the guide, I wonder can I do it the same for odoRE v1.01 alpha through?
    Make a test, publish yourself a product ingame and check if that entry has the same attributes as the ones that are inserted here for each product.
    Or even easier, rename the 2 existing Marketplace collections (if they do) and run the script. If gameserver fails to wakeup, you will know it doesn't work. Just delete the new collections and rename back the old ones.

    If it works, you will need to get a full item db in order to get all ids available, so you can update the .py file

  8. #8
    Jedi Knight EmpireZ is offline
    MemberRank
    May 2020 Join Date
    404 Not FoundLocation
    237Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    link death

  9. #9
    Enthusiast Devorn is offline
    MemberRank
    Apr 2013 Join Date
    33Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by EmpireZ View Post
    link death
    He linked it wrong. Just copy (click and drag) the github link instead as it is. It will work.

  10. #10
    Jedi Knight EmpireZ is offline
    MemberRank
    May 2020 Join Date
    404 Not FoundLocation
    237Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by Devorn View Post
    He linked it wrong. Just copy (click and drag) the github link instead as it is. It will work.
    yeah i figure it out last hours.. thanks btw

  11. #11
    Apprentice servia is offline
    MemberRank
    Sep 2020 Join Date
    20Posts

    Re: [V491] Populate your marketplace with 20.770 items (all available)

    Quote Originally Posted by Devorn View Post
    He linked it wrong. Just copy (click and drag) the github link instead as it is. It will work.
    I didn't copy them wrong, it was ragezone's post editor that attached the very next word in each link meh.
    Fixed.

  12. #12
    Apprentice As4dkh4n is offline
    MemberRank
    Jul 2022 Join Date
    9Posts
    Marketplace is full and populated but I cant buy anything . NPC says " Couldnt load information from central market "
    Last edited by As4dkh4n; 24-08-22 at 11:14 AM.



Advertisement