Premium phayara 424 Posted February 24, 2015 Premium Share Posted February 24, 2015 Why not. 1 Link to comment Share on other sites More sharing options...
insaneclimax 40 Posted February 24, 2015 Share Posted February 24, 2015 In yout error case, the problem is Tab character. Check "shopdialog.py" file. And Private Shop ? When I make a Private Shop have a Slots problem Wow, thank you. I totally forgot it! Today I'll post the fix. Alredy fixed? Thanks Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 24, 2015 Author Share Posted February 24, 2015 (edited) In yout error case, the problem is Tab character. Check "shopdialog.py" file. And Private Shop ? When I make a Private Shop have a Slots problem Wow, thank you. I totally forgot it! Today I'll post the fix. Alredy fixed? Thanks Yes, I'll post the Fix this evening because now i'm going out. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
Active Member hachiwari 138 Posted February 24, 2015 Active Member Share Posted February 24, 2015 Hey, I have a question. Do you think I should change CGrid grid = CGrid(5, 9); in shop_manager.cpp??? Link to comment Share on other sites More sharing options...
Despero 130 Posted February 24, 2015 Share Posted February 24, 2015 I wait for fix ? Link to comment Share on other sites More sharing options...
jma96 1 Posted February 24, 2015 Share Posted February 24, 2015 (edited) I have this problem. When i add more than 40 items, others do not appear Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 24, 2015 Author Share Posted February 24, 2015 #Update[24-02-15] Fixed Client Bug. Changes in "shop_manager.cpp" added. Thanks all for your help, i forgot some String and Bug. 1 - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
flexio 83 Posted February 25, 2015 Share Posted February 25, 2015 0224 11:07:20062 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0224 11:07:25831 :: Failed to load script file : UIScript/shopdialog.py 0224 11:07:25834 :: ui.py(line:2767) LoadScriptFile system.py(line:192) execfile system.py(line:161) Run system.py(line:177) __LoadTextFile__ LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.SyntaxError'>:invalid syntax (UIScript/shopdialog.py, line 43) 0224 11:07:25834 :: ============================================================================================================ 0224 11:07:25834 :: Abort!!!! 0224 11:07:25836 :: uiShop.py(line:55) LoadDialog ui.py(line:2784) LoadScriptFile exception.py(line:36) Abort ShopDialog.LoadDialog.LoadObject - <type 'exceptions.SystemExit'>: 0224 11:07:25836 :: ============================================================================================================ 0224 11:07:25836 :: Abort!!!! Error , uiscript/shopdialog.py find { "name":"TitleName", "type":"text", "x":168, "y":4 "text":uiScriptLocale.SHOP_TITLE,"text_horizontal_align":"center" }, change to { "name":"TitleName", "type":"text", "x":168, "y":4, "text":uiScriptLocale.SHOP_TITLE,"text_horizontal_align":"center" }, Error is here "y":4 - "y":4, 1 Link to comment Share on other sites More sharing options...
flexio 83 Posted February 25, 2015 Share Posted February 25, 2015 (edited) I found another problems game.py def StartShop(self, vid): if chr.IsNPC(): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) edit to: def StartShop(self, vid): if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) uishop.py (in class ShopDialog2(ui.ScriptWindow)) def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.tooltipItem.HideToolTip() self.Hide() edit to def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.Hide() Now work, thanks Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 25, 2015 Author Share Posted February 25, 2015 (edited) I found another problem game.py def StartShop(self, vid): if chr.IsNPC(): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) edited to def StartShop(self, vid): if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) and delete (in class ShopDialog2) self.tooltipItem.HideToolTip() from def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.tooltipItem.HideToolTip() self.Hide() Now work, thanks Mmh first correction is Ok, maybe I copied another Client's File. But I said the second Anyway thank you! Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
flexio 83 Posted February 25, 2015 Share Posted February 25, 2015 (edited) Completed (Private shop) Thanks for idea Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
garofolo 12 Posted February 26, 2015 Share Posted February 26, 2015 (edited) Flexio Completed (Private shop) Thanks for idea Please if possible explain to us how to do this, since already grateful. Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
garofolo 12 Posted February 26, 2015 Share Posted February 26, 2015 (edited) I need help people , Even applying all the steps correctly my store still is only 40 slots someone could help me? My server files / Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 26, 2015 Author Share Posted February 26, 2015 (edited) Completed (Private shop) Thanks for idea No problem! Today I'll update this post with this changes too Edited August 19, 2022 by Metin2 Dev Core X - External 2 Internal - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
Night 366 Posted February 26, 2015 Share Posted February 26, 2015 bin -> packet.h SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80, 1 Link to comment Share on other sites More sharing options...
Night 366 Posted February 26, 2015 Share Posted February 26, 2015 sorry for double posting it was a mistake Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 26, 2015 Author Share Posted February 26, 2015 bin -> packet.h SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80, I think bin -> lenght.h Edit: Ok, you mean in Client Binary - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 26, 2015 Author Share Posted February 26, 2015 #Update [26-02-15] Added PrivateShop with 80 Items. - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
garofolo 12 Posted February 27, 2015 Share Posted February 27, 2015 (edited) I Have bug private shop Hel plz. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
vagabond20 102 Posted February 27, 2015 Share Posted February 27, 2015 Thanks bro. Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 27, 2015 Author Share Posted February 27, 2015 (edited) I Have bug private shop Hel plz. Hi, I think that you make changes in "game.py" too. I said "NOTE: If you want Only NPC Shop's with 80 Items follow this guide, else if you want NPC Shop & Private Shop follow the Update Istruction.". Anyway, now open you "pack/root/game.py" and search: def StartShop(self, vid):if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) Replace with: def StartShop(self, vid): self.interface.OpenShopDialog(vid) Enjoy! Thanks bro. You're welcome! Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
garofolo 12 Posted February 27, 2015 Share Posted February 27, 2015 (edited) I Have bug private shop Hel plz. Hi, I think that you make changes in "game.py" too. I said "NOTE: If you want Only NPC Shop's with 80 Items follow this guide, else if you want NPC Shop & Private Shop follow the Update Istruction.". Anyway, now open you "pack/root/game.py" and search: def StartShop(self, vid):if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) Replace with: def StartShop(self, vid): self.interface.OpenShopDialog(vid) Enjoy! Thanks bro. You're welcome! Its work Thanks bro. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 27, 2015 Premium Share Posted February 27, 2015 Please help me. 0227 20:43:24972 :: Traceback (most recent call last): 0227 20:43:24972 :: File "networkModule.py", line 237, in SetGamePhase 0227 20:43:24972 :: File "system.py", line 130, in __pack_import 0227 20:43:24973 :: File " 0227 20:43:24973 :: game.py 0227 20:43:24973 :: ", line 0227 20:43:24973 :: 956 0227 20:43:24973 :: 0227 20:43:24973 :: 0227 20:43:24973 :: if chr.IsNPC(vid): 0227 20:43:24973 :: 0227 20:43:24973 :: 0227 20:43:24973 :: ^ 0227 20:43:24973 :: IndentationError 0227 20:43:24973 :: : 0227 20:43:24973 :: expected an indented block 0227 20:43:24973 :: Link to comment Share on other sites More sharing options...
SamuR 183 Posted February 27, 2015 Author Share Posted February 27, 2015 (edited) I Have bug private shop Hel plz. Hi, I think that you make changes in "game.py" too. I said "NOTE: If you want Only NPC Shop's with 80 Items follow this guide, else if you want NPC Shop & Private Shop follow the Update Istruction.". Anyway, now open you "pack/root/game.py" and search: def StartShop(self, vid):if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) Replace with: def StartShop(self, vid): self.interface.OpenShopDialog(vid) Enjoy! Thanks bro. You're welcome! Its work Thanks bro. You're welcome. Please help me. 0227 20:43:24972 :: Traceback (most recent call last): 0227 20:43:24972 :: File "networkModule.py", line 237, in SetGamePhase 0227 20:43:24972 :: File "system.py", line 130, in __pack_import 0227 20:43:24973 :: File " 0227 20:43:24973 :: game.py 0227 20:43:24973 :: ", line 0227 20:43:24973 :: 956 0227 20:43:24973 :: 0227 20:43:24973 :: 0227 20:43:24973 :: if chr.IsNPC(vid): 0227 20:43:24973 :: 0227 20:43:24973 :: 0227 20:43:24973 :: ^ 0227 20:43:24973 :: IndentationError 0227 20:43:24973 :: : 0227 20:43:24973 :: expected an indented block 0227 20:43:24973 :: "IndentationError". Check your [TAB] Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 - To know how to hide one's ability is great skill. - Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted February 28, 2015 Premium Share Posted February 28, 2015 0228 15:28:21892 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=228, itemIndex=14390) - Failed to item data 0228 15:28:21892 :: CPythonPlayer::SetItemData(window_type : 1, dwSlotIndex=231, itemIndex=17479) - Failed to item data 0228 15:28:22237 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR 0228 15:28:28867 :: Traceback (most recent call last): 0228 15:28:28868 :: File "networkModule.py", line 239, in SetGamePhase 0228 15:28:28868 :: File "game.py", line 106, in __init__ 0228 15:28:28868 :: File "interfaceModule.py", line 292, in MakeInterface 0228 15:28:28868 :: File "interfaceModule.py", line 215, in __MakeDialogs 0228 15:28:28868 :: File "uiShop.py", line 82, in LoadDialog 0228 15:28:28868 :: AttributeError 0228 15:28:28868 :: : 0228 15:28:28868 :: 'ShopDialog' object has no attribute 'Close' 0228 15:28:28868 :: New error, please help me. 1 Link to comment Share on other sites More sharing options...
Recommended Posts