V3ct0r 2,116 Report post Posted January 5, 2023 [Mod] Displaying a list of items dropped from monsters (resources) The mod adds a form to the game with a list of items that drop from the selected monster with a certain chance (see screenshot above). The monster is selected as follows: Right mouse button click on the monster -> "List of items" context menu item. Additionally, the mod allows you to display a list of items when you move the mouse cursor over a monster, or when you hold down the SHIFT key on the keyboard (this behavior can be disabled in the game settings) : Some features of the mod: 1) Each item is displayed in the form of an icon, a name of the item and a drop chance in percent ; 2) The list is sorted in descending order of the drop chance percentage; 3) Items are highlighted in color depending on the drop chance: green - high drop chance, red - low drop chance. Requirements Installed mod loading system for server and client (PKOdev.NET mod loader). Modification information Name: pkodev.mod.mobdrop; Version: 1.1; Author: @V3ct0r. Special thanks to @Graf for providing GUI scripts and textures for the "List of items" form; 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 1) Place the mod DLL file "pkodev.mod.mobdrop.13x_<ID>.dll" for your version of Game.exe and settings file "pkodev.mod.mobdrop.cfg" into "mods\pkodev.mod.mobdrop" directory of the game client; 2) In the settings file "pkodev.mod.mobdrop.cfg" write the server drop rates: 1.0 3) Add GUI scripts from the "Add to system.clu.txt" file to the "Client\scripts\lua\forms\system.clu" file; 4) Add GUI scripts from the "Add to player.clu.txt" file to the "Client\scripts\lua\forms\player.clu" file; 5) By default, displaying a list of items next to monsters when hovering over them with the mouse cursor is disabled. If necessary, enable this behavior in the game settings: Change log On 1/7/2023 at 8:49 PM, V3ct0r said: Mod update from 01/07/2023 + Now you can enable or disable the display of a list of items that drop from monsters and resources. Thanks to @small666 for the idea! The mod's source code repository has been updated. The binary files of the mod (.dll) have also been updated. 45 minutes ago, V3ct0r said: Mod update from 01/20/2023 + Added a form with a list of items dropped from the selected monster. This form is called as follows: Right mouse click on the monster -> "List of items" context menu item. Special thanks to @Graf for providing textures and scripts for the form. Mod update from 01/21/2023 + When you hover the mouse over an item on the form with a list of items dropped from the selected monster, a tooltip with information about the item appears. The mod's source code repository has been updated. The binary files of the mod (.dll) have also been updated. Download 1) Actual mod binaries (.dll) and the settings file (.cfg); 2) The source code of the mod for Visual Studio 2022 Community (C++). If you encounter any problem, bug or have any questions, then feel free to write in this thread. 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 6, 2023 I'm very interested but Mods don't support game.exe I don't know number please tell me thankshttps://drive.google.com/file/d/1shTCGitJxk9gCD-8ZbDvrtwoZS4L1kNf/view?usp=share_link Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 6, 2023 3 hours ago, gunnapong said: I'm very interested but Mods don't support game.exe I don't know number please tell me thankshttps://drive.google.com/file/d/1shTCGitJxk9gCD-8ZbDvrtwoZS4L1kNf/view?usp=share_link Hello @gunnapong, // void CHeadSay::Render(D3DXVECTOR3& pos) const unsigned int CHeadSay__Render = 0x00471C90; // CCharacter* CGameScene::_pMainCha const unsigned int CGameScene___pMainCha = 0x006A08D4; // CGuiPic const unsigned int CGuiPic = 0x00682DF8; // CGuiPic::CGuiPic( CGuiData* pParent, unsigned int max ) const unsigned int CGuiPic__CGuiPic = 0x0049F900; // bool CGuiPic::LoadImage( const char * file, int w, int h, int frame=0, int tx=0, int ty=0, float scalex=0.0, float scaley=0.0 ) const unsigned int CGuiPic__LoadImage = 0x004A1B90; // void CGuiPic::UnLoadImage( int frame=-1 ) const unsigned int CGuiPic__UnloadImage = 0x0049F690; // inline void CGuiPic::Render( int x, int y ) const unsigned int CGuiPic__Render = 0x004A0E00; // inline CItemRecord* GetItemRecordInfo( int nTypeID ) const unsigned int GetItemRecordInfo = 0x0040D8D0; // 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; // MPRender const unsigned int MPRender = 0x006177E4; // BOOL MPRender::WorldToScreen(float fX, float fY, float fZ, int *pnX, int *pnY) const unsigned int MPRender__WorldToScreen = 0x00617674; // CMPFont const unsigned int CMPFont = 0x0069A9F0; // SIZE* CMPFont::GetTextSize(char* szText, SIZE* pSize,float fScale = 1.0f); const unsigned int CMPFont__GetTextSize = 0x0061772C; // CCharacter* stNetActorCreate::CreateCha() const unsigned int stNetActorCreate__CreateCha = 0x00507AC0; // void NetActorDestroy(unsigned int nID, char chSeeType) const unsigned int NetActorDestroy = 0x00503B80; // CCharacter* CGameScene::SearchByID(unsigned long id) const unsigned int CGameScene__SearchByID = 0x004D1810; // static CGameScene* CGameApp::_pCurScene const unsigned int CGameApp___pCurScene = 0x00694F04; // void operator delete[](void *p) const unsigned int operator_delete_array = 0x005CBBE0; 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
V3ct0r 2,116 Report post Posted January 7, 2023 Mod update from 01/07/2023 + Now you can enable or disable the display of a list of items that drop from monsters and resources. Thanks to @small666 for the idea! The mod's source code repository has been updated. The binary files of the mod (.dll) have also been updated. 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 8, 2023 On 1/6/2023 at 6:20 PM, V3ct0r said: Hello @gunnapong, // void CHeadSay::Render(D3DXVECTOR3& pos) const unsigned int CHeadSay__Render = 0x00471C90; // CCharacter* CGameScene::_pMainCha const unsigned int CGameScene___pMainCha = 0x006A08D4; // CGuiPic const unsigned int CGuiPic = 0x00682DF8; // CGuiPic::CGuiPic( CGuiData* pParent, unsigned int max ) const unsigned int CGuiPic__CGuiPic = 0x0049F900; // bool CGuiPic::LoadImage( const char * file, int w, int h, int frame=0, int tx=0, int ty=0, float scalex=0.0, float scaley=0.0 ) const unsigned int CGuiPic__LoadImage = 0x004A1B90; // void CGuiPic::UnLoadImage( int frame=-1 ) const unsigned int CGuiPic__UnloadImage = 0x0049F690; // inline void CGuiPic::Render( int x, int y ) const unsigned int CGuiPic__Render = 0x004A0E00; // inline CItemRecord* GetItemRecordInfo( int nTypeID ) const unsigned int GetItemRecordInfo = 0x0040D8D0; // 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; // MPRender const unsigned int MPRender = 0x006177E4; // BOOL MPRender::WorldToScreen(float fX, float fY, float fZ, int *pnX, int *pnY) const unsigned int MPRender__WorldToScreen = 0x00617674; // CMPFont const unsigned int CMPFont = 0x0069A9F0; // SIZE* CMPFont::GetTextSize(char* szText, SIZE* pSize,float fScale = 1.0f); const unsigned int CMPFont__GetTextSize = 0x0061772C; // CCharacter* stNetActorCreate::CreateCha() const unsigned int stNetActorCreate__CreateCha = 0x00507AC0; // void NetActorDestroy(unsigned int nID, char chSeeType) const unsigned int NetActorDestroy = 0x00503B80; // CCharacter* CGameScene::SearchByID(unsigned long id) const unsigned int CGameScene__SearchByID = 0x004D1810; // static CGameScene* CGameApp::_pCurScene const unsigned int CGameApp___pCurScene = 0x00694F04; // void operator delete[](void *p) const unsigned int operator_delete_array = 0x005CBBE0; I try to do as you said. It doesn't show anything. Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 14, 2023 Hello @gunnapong, Can you send me your entire client? 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
V3ct0r 2,116 Report post Posted January 15, 2023 Current progress: The form with the list of items opens by right-clicking on the monster -> List of items. I want to thank @Graf for providing textures and form scripts. Thanks a lot! 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
V3ct0r 2,116 Report post Posted January 22, 2023 Mod update from 01/20/2023 + Added a form with a list of items dropped from the selected monster. This form is called as follows: Right mouse click on the monster -> "List of items" context menu item. Special thanks to @Graf for providing textures and scripts for the form. Mod update from 01/21/2023 + When you hover the mouse over an item on the form with a list of items dropped from the selected monster, a tooltip with information about the item appears. The mod's source code repository has been updated. The binary files of the mod (.dll) have also been updated. The topic has been updated. 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 January 22, 2023 (edited) 54 minutes ago, V3ct0r said: Mod update from 01/20/2023 + Added a form with a list of items dropped from the selected monster. This form is called as follows: Right mouse click on the monster -> "List of items" context menu item. Special thanks to @Graf for providing textures and scripts for the form. Mod update from 01/21/2023 + When you hover the mouse over an item on the form with a list of items dropped from the selected monster, a tooltip with information about the item appears. The mod's source code repository has been updated. The binary files of the mod (.dll) have also been updated. The topic has been updated. I'm very interested but Mods don't support game.exe I don't know number please tell me ,There seems to be more than before. Thanks. @V3ct0r https://drive.google.com/file/d/1shTCGitJxk9gCD-8ZbDvrtwoZS4L1kNf/view Edited January 22, 2023 by gunnapong Quote Share this post Link to post Share on other sites
squaller 21 Report post Posted January 22, 2023 (edited) very cool, thankyou v3ctor. btw. is there any fix for the icons? for the compiled clients. the dro plist shows even if the show drop is disabled in game settings Edited January 22, 2023 by squaller 1 Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted January 23, 2023 Hello @squaller, Thanks for a kind feedback! Quote btw. is there any fix for the icons? for the compiled clients. Do you mean this problem? Unfortunately I don't have a solution. Quote the dro plist shows even if the show drop is disabled in game settings This is fine. In the game settings, only the display of the list of items is disabled when hovering the mouse cursor over monsters: 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 February 1, 2023 I'm very interested but Mods don't support game.exe I don't know number please tell me thankshttps://drive.google.com/file/d/1shTCGitJxk9gCD-8ZbDvrtwoZS4L1kNf/view?usp=share_link Quote Share this post Link to post Share on other sites
gunnapong 14 Report post Posted November 11, 2023 (edited) I'm still interested in this. But it seems my game.exe is not supported yet. please help me @V3ct0r https://drive.google.com/file/d/1xOBf0b0l4ROd2cY4mnNolDy6rw3UW3ea/view?usp=sharing Edited November 11, 2023 by gunnapong Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted November 24, 2023 Hello @gunnapong, Unfortunately, I don’t have time right now to search for the necessary addresses to support your Game.exe. 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