V3ct0r 2,117 Report post Posted March 19, 2016 How to increase temporary bag capacity In the guide I will show how to increase capacity of temporary bag from 16 up to 48 items. 1. Server Side Open GameServer.exe in any HEX-editor. Go to address: 0x000C0B0D - 1.36 GameServer.exe 0x000C809D - 1.38 GameServer.exe 0x0012E447 - 2.4 GameServer.exe Image for 1.38 GameServer.exe 1016 = 1610 0x10 it is capacity of temporary bag by default (16 in decimal). You can change it up to 48 items. Dec Hex ------------------- 24 items = 0x18 32 items = 0x20 40 items = 0x28 48 items = 0x30 Let's increase capacity to 32 items for example. So, you have to change 0x10 to 0x20: Then save GameServer.exe. Ok, now characters will be created with a temporary bag in 32 items by default. 2. Client Side You also have to increase temporary bag form in the client. You can add scroll bar (a) or stretch the form (b). a - form with scroll bar b - stretched form For example, I will show how to add scroll bar. Open main.clu (Client\scripts\lua\forms) and find scripts for frmTempBag. Add scroll bar: ----------------------------------------------------------------------- -- Temporary bag ----------------------------------------------------------------------- -- THERE IS SCRIPTS FOR Temporary bag FORM ... -- ADD SCROLL BAR scrollid = UI_GetScroll( grdTempBag ) UI_SetSize( scrollid, 11, 1 ) UI_LoadImage( scrollid, "texture/ui/xDesign/PublicC.tga", COMPENT_BACK, 11, 1, 194, 13 ) id = UI_GetScrollObj( scrollid, SCROLL_UP ) UI_LoadButtonImage( id, "texture/ui/xDesign/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) id = UI_GetScrollObj( scrollid, SCROLL_SCROLL ) UI_LoadImage( id, "texture/ui/xDesign/PublicC.tga", COMPENT_BACK, 9, 43, 166, 10 ) UI_SetSize( id, 9, 43 ) id = UI_GetScrollObj( scrollid, SCROLL_DOWN ) UI_LoadButtonImage( id, "texture/ui/xDesign/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) The result you can see above. That's all! 14 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
Blanquitoh 50 Report post Posted March 19, 2016 Excellent. Quote Share this post Link to post Share on other sites
Lua 35 Report post Posted March 19, 2016 Perfecto : ) Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted March 19, 2016 2.4 address? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 19, 2016 Try 0x0012E447 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
Yomazu 20 Report post Posted March 19, 2016 Very good V3ct0r. Quote Share this post Link to post Share on other sites
Foxseiz 138 Report post Posted March 19, 2016 Very nice. Quote Share this post Link to post Share on other sites
Sultan 68 Report post Posted March 19, 2016 (edited) I really like it! @V3ct0r By the way, is there possible way to increase Bank capacity? Edited March 19, 2016 by Sultan Quote Share this post Link to post Share on other sites
Lua 35 Report post Posted March 19, 2016 8 minutes ago, Sultan said: I really like it! @V3ct0r By the way, is there possible way to increase Bank capacity? That would be very nice. 1 Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 20, 2016 9 часов назад, Sultan сказал: I really like it! @V3ct0r By the way, is there possible way to increase Bank capacity? For all inventories (Character inventory, temporary bag and bank) there is limit in GameServer.exe for 48 items maximum. I will try to increase it. 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,117 Report post Posted March 20, 2016 @Sultan also asked me how to increase temporary bag capacity for existing characters. Close all GameServers. Open MSSQL Management studio and press button 'New Query' on tool bar or CTRL + N. Then execute (F5) following SQL Query: USE GameDB; UPDATE Resource SET content = REPLACE(content, '16', '32') WHERE type_id = 3; Where 32 is the new size of temporary bag. Don't forget to make backup! 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
Jones 36 Report post Posted March 22, 2016 does this mean we can also increase normal inventory space? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 22, 2016 4 часа назад, Jones сказал: does this mean we can also increase normal inventory space? Yes, but only up to 48 items. Check items with IDs 3088 - 3093 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
Jones 36 Report post Posted March 23, 2016 Ahh, so ToP already made it at maximum? Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted March 23, 2016 36 минуты назад, Jones сказал: Ahh, so ToP already made it at maximum? Yes. I will try to increase this limit 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
Onioni 58 Report post Posted March 25, 2016 Thank you for this its really nice. 1 Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
Cr4sh 0 Report post Posted June 30, 2016 can anyone explain how to use hex editor? Quote Share this post Link to post Share on other sites
Masuka00 54 Report post Posted August 30, 2016 (edited) Thanks I got it fix Edited August 30, 2016 by Covadola Quote ǤØĐ βŁ€ŞŞ ƤƗŘΔĆ¥ Share this post Link to post Share on other sites
Shako 97 Report post Posted August 31, 2016 On 8/30/2016 at 1:20 PM, Covadola said: Thanks I got it fix can you tell us how you fixed it? Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Masuka00 54 Report post Posted August 31, 2016 (edited) 13 minutes ago, Shako said: can you tell us how you fixed it? Goto GameFolder\scripts\lua\forms find name frmTempBag and find this grdTempBag = UI_CreateCompent( frmTempBag, GOODS_GRID_TYPE, "grdTempBag", 184, 158, 7, 36 ) UI_SetGridSpace( grdTempBag, 4, 4 ) UI_SetGridContent( grdTempBag, 4, 4 ) UI_SetGridUnitSize( grdTempBag, 32, 32 ) UI_SetMargin( grdTempBag, 21, 4, 0, 0 ) PASTE CODE IN THE LAST LINE scrollid = UI_GetScroll( grdTempBag ) UI_SetSize( scrollid, 11, 1 ) UI_LoadImage( scrollid, "texture/ui/PublicC.tga", COMPENT_BACK, 11, 1, 194, 13 ) id = UI_GetScrollObj( scrollid, SCROLL_UP ) UI_LoadButtonImage( id, "texture/ui/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) id = UI_GetScrollObj( scrollid, SCROLL_SCROLL ) UI_LoadImage( id, "texture/ui/PublicC.tga", COMPENT_BACK, 9, 43, 166, 10 ) UI_SetSize( id, 9, 43 ) id = UI_GetScrollObj( scrollid, SCROLL_DOWN ) UI_LoadButtonImage( id, "texture/ui/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) and you will get this, if you wanna se changes make a new char and you will see it Edited August 31, 2016 by Covadola 1 Quote ǤØĐ βŁ€ŞŞ ƤƗŘΔĆ¥ Share this post Link to post Share on other sites
Angelix 374 Report post Posted September 1, 2016 19 hours ago, Covadola said: Goto GameFolder\scripts\lua\forms find name frmTempBag and find this grdTempBag = UI_CreateCompent( frmTempBag, GOODS_GRID_TYPE, "grdTempBag", 184, 158, 7, 36 ) UI_SetGridSpace( grdTempBag, 4, 4 ) UI_SetGridContent( grdTempBag, 4, 4 ) UI_SetGridUnitSize( grdTempBag, 32, 32 ) UI_SetMargin( grdTempBag, 21, 4, 0, 0 ) PASTE CODE IN THE LAST LINE scrollid = UI_GetScroll( grdTempBag ) UI_SetSize( scrollid, 11, 1 ) UI_LoadImage( scrollid, "texture/ui/PublicC.tga", COMPENT_BACK, 11, 1, 194, 13 ) id = UI_GetScrollObj( scrollid, SCROLL_UP ) UI_LoadButtonImage( id, "texture/ui/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) id = UI_GetScrollObj( scrollid, SCROLL_SCROLL ) UI_LoadImage( id, "texture/ui/PublicC.tga", COMPENT_BACK, 9, 43, 166, 10 ) UI_SetSize( id, 9, 43 ) id = UI_GetScrollObj( scrollid, SCROLL_DOWN ) UI_LoadButtonImage( id, "texture/ui/PublicC.tga", 11, 9, 166, 0, TRUE ) UI_SetSize( id, 11, 9 ) and you will get this, if you wanna se changes make a new char and you will see it Just like @V3ct0r said in his guide. Quote Share this post Link to post Share on other sites
Masuka00 54 Report post Posted September 1, 2016 15 minutes ago, Angelix said: Just like @V3ct0r said in his guide. yes but on his lines he makes for dark skin texture/ui/xDesign/PublicC.tga i got the same problem until i fix for normal skin Quote ǤØĐ βŁ€ŞŞ ƤƗŘΔĆ¥ Share this post Link to post Share on other sites
Sultan 68 Report post Posted December 18, 2016 @V3ct0r Is there a possibility yet for Bank capacity increase? It would be really good and useful feature. Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted December 18, 2016 15 часов назад, Sultan сказал: @V3ct0r Is there a possibility yet for Bank capacity increase? It would be really good and useful feature. Have no idea how to do it for now 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
Rinor 59 Report post Posted December 18, 2016 @V3ct0r i saw that at PKO is available already, there a item that expands the bank capacity. 1 Quote Share this post Link to post Share on other sites