Newbie Spellweaver
- Joined
- Sep 13, 2020
- Messages
- 19
- Reaction score
- 8
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:
This one will work:
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
(make sure you copy the RAW content:
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:
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/release-bdo-item-database-rest-1153913/ the items database from where i extracted all ids.
@fullhawk for publishing in http://forum.ragezone.com/f1001/populating-market-1151944/ the script that i've used as base.
1. Download WinPython (it's a portable version of python so it's more easy to remove once you don't need it.) from:
You must be registered to see links
You must be registered to see links
This one will work:
You must be registered to see links
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
You must be registered to see links
(make sure you copy the RAW content:
You must be registered to see links
)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
Special thanks to:
@Lautaro for providing in http://forum.ragezone.com/f1000/release-bdo-item-database-rest-1153913/ the items database from where i extracted all ids.
@fullhawk for publishing in http://forum.ragezone.com/f1001/populating-market-1151944/ the script that i've used as base.
Last edited: