mkhzaleh 137 Report post Posted January 26, 2023 this small function built in inside client to generate .atr file for server side from client itself as yammi had warring says so better do it from client maybe? go for client source/src/main.cpp include in header : #include "TerrainAttrib.h" Search for : Quote if (strParam.find("pack") != -1) { below or above that function add: if (strParam.find("attr") != -1) { char* pszPos = lpCmdLine; pszPos += 4; while (*pszPos == ' ') { pszPos++; } if (createAttribFile(pszPos, 0, 0)) LG("ok", "Generated %s.atr Successfully ", pszPos); else LG("ok", "Failed to Create %s.atr", pszPos); return 0; } now call it like this: start system/Game.exe attr garner .atr will be generated inside map/ p.s: if someone want to do something for .blk would be good guess its come from zrblock tile but as loading the class inside util2.h or maybe i will do later: &done& 2 1 Quote Share this post Link to post Share on other sites
V3ct0r 2,145 Report post Posted January 26, 2023 I heard that the client can generate .atr back in ~2010, but did not know how to use this feature 1 Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
RafaelaMartins 4 Report post Posted January 27, 2023 10 hours ago, mkhzaleh said: p.s: if someone want to do something for .blk would be good guess its come from zrblock tile but as loading the class inside util2.h or maybe i will do later: Quote Share this post Link to post Share on other sites