Is it possible to put to save maps in clientid?
Closed this issue · 3 comments
Hello. I'm converting a base to client id
This PR has an example: otland/forgottenserver#2898
I would like to know the possibility of RME to support saving maps in client id. It would be nice to have this feature in the editor.
Is it possible to put to save maps in clientid?
We have the idea of converting the entire OTServBR - Global repository to client id and RME (this is already underway, little is missing)
And this feature would already help a lot in this migration.
You could try replacing id
with g_items[id].clientID
in the following functions:
https://github.com/hjnilsson/rme/blob/afb7417a5562baabd2bd455b665ea22fc7335125/source/iomap_otbm.cpp#L227
https://github.com/hjnilsson/rme/blob/afb7417a5562baabd2bd455b665ea22fc7335125/source/iomap_otbm.cpp#L241
https://github.com/hjnilsson/rme/blob/afb7417a5562baabd2bd455b665ea22fc7335125/source/iomap_otbm.cpp#L373
You could try replacing
id
withg_items[id].clientID
in the following functions:
https://github.com/hjnilsson/rme/blob/afb7417a5562baabd2bd455b665ea22fc7335125/source/iomap_otbm.cpp#L227
Thanks.
I will test and return with the answer.
Just one more question: Would it be an obstacle to implement this in RME here from the repository in the not too distant future?
We have plans (it shouldn't take long time) to convert everything to client id.