Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to Populate Marketplace for Remastered BDO

Joined
Feb 16, 2014
Messages
633
Reaction score
238
ok the script make a extra dbo in gameserver data base
so looks like script works just fine, so now my question is what i should put in in file service.ini on client side if i have this

[SERVICE]
TYPE=GT
RES=_EN_

[GT]
AUTHENTIC_DOMAIN=127.0.0.1
AUTHENTIC_PORT=8888
PATCH_URL=
isLoadBinaryStaticStatus=1
viewTradeMarketUrl=
gameTradeMarketUrl=
 
Newbie Spellweaver
Joined
Jan 26, 2021
Messages
38
Reaction score
4
Old thread but I got

C:\WinPython\WPy64-31180\scripts>python.bat BD2.py
Traceback (most recent call last):
File "C:\WinPython\WPy64-31180\scripts\BD2.py", line 474, in <module>
mrkt.populate()
File "C:\WinPython\WPy64-31180\scripts\BD2.py", line 388, in populate
self.collectionsAreEmpty(db)
File "C:\WinPython\WPy64-31180\scripts\BD2.py", line 363, in collectionsAreEmpty
if "itemMarket" in gs.collection_names():
^^^^^^^^^^^^^^^^^^^^^
File "C:\WinPython\WPy64-31180\python-3.11.8.amd64\Lib\site-packages\pymongo\collection.py", line 3503, in __call__
raise TypeError(
TypeError: 'Collection' object is not callable. If you meant to call the 'collection_names' method on a 'Database' object it is failing because no such method exists.

I'm running the Guardian Emulator Version v1.01 with central market running

If you get this error
Just change

Code:
gs.collection_names() to gs.list_collection_names()

This is because
because "gs.collection_names()" is deprecated in the newer versions of pymongo.
Hope this helps someone in the future!

___

ok the script make a extra dbo in gameserver data base
so looks like script works just fine, so now my question is what i should put in in file service.ini on client side if i have this

[SERVICE]
TYPE=GT
RES=_EN_

[GT]
AUTHENTIC_DOMAIN=127.0.0.1
AUTHENTIC_PORT=8888
PATCH_URL=
isLoadBinaryStaticStatus=1
viewTradeMarketUrl=
gameTradeMarketUrl=

I'm not sure how to run it outside of emu but I'm running the Central Market Emulator released by Ledie
It uses xampp to run an apache server.

viewTradeMarketUrl=
gameTradeMarketUrl=

e.g.
 
Last edited:
Back
Top