V3ct0r 2,116 Report post Posted December 22, 2021 [Mod] Displaying the cooldown of skills The mod shows the time on the skill icons, which remains until full recovery (see animation above). Based on @Snre3n's code posted in thread "Source Code Features/Concepts Releases": On 8/4/2019 at 11:59 PM, Snre3n said: //... static char buf[6]; const float seconds_remaining = _fPlayTime - _fCurTime; const int minutes = static_cast<int>(seconds_remaining / 60); const int seconds = static_cast<int>(seconds_remaining - (minutes * 60)); minutes > 1 ? _snprintf_s(buf, _TRUNCATE, "%.2d:%.2d", minutes, seconds) : seconds > 1 ? _snprintf_s(buf, _TRUNCATE, "%d", seconds) : _snprintf_s(buf, _TRUNCATE, "%.1f", seconds_remaining); CGuiFont::s_Font.BRender(0, buf, x, y, COLOR_RED, COLOR_BLACK); } // End of function void CAniClock::Render(int x, int y); Requirements Installed mod loading system for server and client (PKOdev.NET mod loader). Modification information Name: pkodev.mod.cooldown; Version: 1.0; Author: V3ct0r; Type: for client (Game.exe); Supported executable .exe files: GAME_13X_0, GAME_13X_1, GAME_13X_2, GAME_13X_3, GAME_13X_4, GAME_13X_5. Installation Place the mod DLL file "pkodev.mod.cooldown.client.13x_<ID> .dll" for your version of Game.exe into the "mods" folder of the game client. Download 1) Binary release (.dll); 2) The source code of the mod for Visual Studio 2019 Community (C++). If you encounter any problem, bug or have any questions, then feel free to write in this thread. 3 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
gunnapong 14 Report post Posted December 31, 2021 Why doesn't it show me? Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 1, 2022 On 12/31/2021 at 12:47 PM, gunnapong said: Why doesn't it show me? Hello! Too little information from you. 1) Have you installed the mod loader? 2) Is your version of Game.exe supported by the mod loader? 3) Have you installed the mod correctly? Does it show up in the list of loaded mods? 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
gunnapong 14 Report post Posted January 4, 2022 On 1/2/2022 at 4:33 AM, V3ct0r said: Hello! Too little information from you. 1) Have you installed the mod loader? 2) Is your version of Game.exe supported by the mod loader? 3) Have you installed the mod correctly? Does it show up in the list of loaded mods? Game.exe I not Support. Quote Share this post Link to post Share on other sites
gunnapong 14 Report post Posted January 4, 2022 On 1/2/2022 at 4:33 AM, V3ct0r said: Hello! Too little information from you. 1) Have you installed the mod loader? 2) Is your version of Game.exe supported by the mod loader? 3) Have you installed the mod correctly? Does it show up in the list of loaded mods? Quote Share this post Link to post Share on other sites
Sultan 68 Report post Posted January 4, 2022 @V3ct0r Useful mod, thank you! Just want you to implement it for items such as Flash Bomb, Blessed Potion, etc.. One more thing "I haven't tried yet" I think upon dying or switching characters the mod stops displaying the cooldown remaining. 1 Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 4, 2022 4 hours ago, gunnapong said: Game.exe I not Support. That is the answer. Mod is support only some Game.exe: Quote Supported executable .exe files: GAME_13X_0, GAME_13X_1, GAME_13X_2, GAME_13X_3, GAME_13X_4, GAME_13X_5. 28 minutes ago, Sultan said: @V3ct0r Useful mod, thank you! Just want you to implement it for items such as Flash Bomb, Blessed Potion, etc.. One more thing "I haven't tried yet" I think upon dying or switching characters the mod stops displaying the cooldown remaining. This is normal behavior, since the display of the skill's cooldown time is tied to the animation, which also disappears. It looks like the server doesn't sync the cooldown time with the client in certain cases. 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
Myruni 11 Report post Posted January 9, 2022 On 1/4/2022 at 8:40 PM, Sultan said: Just want you to implement it for items such as Flash Bomb, Blessed Potion, etc.. + 1 Would like to see this being implemented in the mod as well <3 Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 15, 2022 Hello @Myruni and @Sultan! Quote Just want you to implement it for items such as Flash Bomb, Blessed Potion, etc.. Do you can explain in more detail how it should look and work? Thank you! 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
okitora 16 Report post Posted January 15, 2022 6 hours ago, V3ct0r said: Hello @Myruni and @Sultan! Do you can explain in more detail how it should look and work? Thank you! Most likely they mean the same cooldown technique but for usables like Flash Bombs, Cakes and so on.. @Myruni, @Sultan do you mean like this? Cooldown Preview Quote Share this post Link to post Share on other sites
Myruni 11 Report post Posted January 15, 2022 6 hours ago, V3ct0r said: Hello @Myruni and @Sultan! Do you can explain in more detail how it should look and work? Thank you! 12 minutes ago, okitora said: Most likely they mean the same cooldown technique but for usables like Flash Bombs, Cakes and so on.. @Myruni, @Sultan do you mean like this? Cooldown Preview Yup, that's pretty much it as the current mod shared by V3ctor only applies to skills and not items. Would be nice to see if they apply to items as well Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted February 17, 2022 Mod update 02/17/2021 + Removed the cooldown from the effects panel (when the appropriate mod is installed); + If the skill cooldown lasts more than an hour, then the time format will be displayed as hours:minutes. All [forum] users who use this mod on their servers, please update as soon as possible - links to the mod and its source code have been updated. Thanks to our participant @Fomin for the bugs found! 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
gunnapong 14 Report post Posted March 5, 2022 (edited) Mods do not support the game.exe , I don't know the number, please tell me. https://drive.google.com/file/d/1jfnNjzO8iGdNU9KTt0jfkbWaoyAkHPM5/view?usp=drivesdk Edited March 6, 2022 by gunnapong Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted March 6, 2022 20 hours ago, gunnapong said: Mods do not support the game.exe , I don't know the number, please tell me. https://drive.google.com/file/d/1jfnNjzO8iGdNU9KTt0jfkbWaoyAkHPM5/view?usp=drivesdk // void CAniClock::Render(int x, int y) const unsigned int CAniClock__Render = 0x004EF4B0; // CGuiFont const unsigned int CGuiFont = 0x0069A9F0; // void CGuiFont::BRender(unsigned int nIndex, const char* str, int x, int y, DWORD color, DWORD shadow) const unsigned int CGuiFont__BRender = 0x00471570; // void CSkillCommand::Render(int x, int y) const unsigned int CSkillCommand__Render = 0x00491C20; 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
gunnapong 14 Report post Posted March 6, 2022 2 hours ago, V3ct0r said: // void CAniClock::Render(int x, int y) const unsigned int CAniClock__Render = 0x004EF4B0; // CGuiFont const unsigned int CGuiFont = 0x0069A9F0; // void CGuiFont::BRender(unsigned int nIndex, const char* str, int x, int y, DWORD color, DWORD shadow) const unsigned int CGuiFont__BRender = 0x00471570; // void CSkillCommand::Render(int x, int y) const unsigned int CSkillCommand__Render = 0x00491C20; thank you very much it works fine Quote Share this post Link to post Share on other sites
Sultan 68 Report post Posted June 3, 2022 Hello @V3ct0r, Can you add "items" cooldown for it as well? Such as: - Cake - Flash Bomb - Blessed Potion As @okitora described in Cooldown Preview: On 1/15/2022 at 8:15 PM, okitora said: Most likely they mean the same cooldown technique but for usables like Flash Bombs, Cakes and so on.. @Myruni, @Sultan do you mean like this? Cooldown Preview Quote Share this post Link to post Share on other sites
Rogue 19 Report post Posted June 4, 2022 16 hours ago, Sultan said: Hello @V3ct0r, Can you add "items" cooldown for it as well? Such as: - Cake - Flash Bomb - Blessed Potion As @okitora described in Cooldown Preview: If the items call a skillinfo target, it'll show a cooldown. 1 Quote Share this post Link to post Share on other sites
Sultan 68 Report post Posted June 4, 2022 7 hours ago, Rogue said: If the items call a skillinfo target, it'll show a cooldown. Did you test it out? It's not working here, flash bomb has a skill info target in the ItemInfo line. Quote Share this post Link to post Share on other sites
eatsangels 2 Report post Posted August 26, 2022 A query, because it only works for me on the main map, but on pk maps it doesn't work for the Master Teleport skill Quote Share this post Link to post Share on other sites
dragontechi 68 Report post Posted August 29, 2022 On 8/26/2022 at 9:53 AM, eatsangels said: A query, because it only works for me on the main map, but on pk maps it doesn't work for the Master Teleport skill check that the skill has skill time 1 Quote Share this post Link to post Share on other sites
IfYouSeeMeRun 7 Report post Posted September 4, 2022 HI @V3ct0r is the mod loader necessary? this one looks amazing to add to my collection of tweak ,tho been five years since i played top would likee to save this one but installing that mod loader etc etc just for this idk >.> more so when i've no idea when i will play again ( if i will... ) Ty cheers Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted September 4, 2022 Hello @IfYouSeeMeRun, Yes, it is necessary. You can learn how to install the mod loader and the mod here: 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
IfYouSeeMeRun 7 Report post Posted September 4, 2022 58 minutes ago, V3ct0r said: Hello @IfYouSeeMeRun, Yes, it is necessary. You can learn how to install the mod loader and the mod here: Ok thx missunderstood , thought it was a tweak 1 Quote Share this post Link to post Share on other sites