Popular Post Ryen Posted February 27, 2015 Popular Post Report Share Posted February 27, 2015 ServerSide Abrir "common/length.h" y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_HOST_ITEM_MAX_NUM = 40 Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_HOST_ITEM_MAX_NUM = 80 En el mismo archivo buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_PRICELIST_MAX_NUM = 40 Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_PRICELIST_MAX_NUM = 80 Ahora abrir "game/shop.cpp"y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. m_pGrid = M2_NEW CGrid(5, 9) Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. m_pGrid = M2_NEW CGrid(10, 9) Abrir "game/shop_manager.cpp"y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. CGrid grid = CGrid(5, 9) Remplazar con: Debes iniciar sesión para ver el contenido del enlace en esta publicación. CGrid grid = CGrid(10, 9) Ya puedes compilar tu game y DB ClientSide Extraer "pack/uiscript"de tu cliente ya brir "shopdialog.py". Remplazar el contenido por este:Debes iniciar sesión para ver el contenido del enlace en esta publicación. Ahora cree "shopdialog2.py"e inserta el contenido: Debes iniciar sesión para ver el contenido del enlace en esta publicación. ok, ene ste punto ya puedes comprimir el uiscript "shopdialog2.py". Extraer "pack/root" de tu cliente y arbir "interfacemodule.py" Buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. self.dlgShop = uiShop.ShopDialog() self.dlgShop.LoadDialog() self.dlgShop.Hide() Añadir depues: Debes iniciar sesión para ver el contenido del enlace en esta publicación. self.dlgShop2 = uiShop.ShopDialog2() self.dlgShop2.LoadDialog() self.dlgShop2.Hide() En el mismo archivo buscar esto: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def OpenShopDialog(self, vid): self.wndInventory.Show() self.wndInventory.SetTop() self.dlgShop.Open(vid) self.dlgShop.SetTop() Despues de eso añadir esto: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def OpenShopDialog2(self, vid): self.wndInventory.Show() self.wndInventory.SetTop() self.dlgShop2.Open(vid) self.dlgShop2.SetTop() Abrir"game.py" y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def StartShop(self, vid): self.interface.OpenShopDialog(vid) Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def StartShop(self, vid): if chr.IsNPC(vid): self.interface.OpenShopDialog(vid) else: self.interface.OpenShopDialog2(vid) Abrir "uishop.py" y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.tooltipItem.HideToolTip() self.Hide() Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def Close(self): self.OnCloseQuestionDialog() shop.Close() net.SendShopEndPacket() self.CancelShopping() self.Hide() En el mismo archivo buscar esto: Debes iniciar sesión para ver el contenido del enlace en esta publicación. def OnUpdate(self): USE_SHOP_LIMIT_RANGE = 1000 (x, y, z) = player.GetMainCharacterPosition() if abs(x - self.xShopStart) > USE_SHOP_LIMIT_RANGE or abs(y - self.yShopStart) > USE_SHOP_LIMIT_RANGE: self.Close() Deepues de eso añadir esto:Debes iniciar sesión para ver el contenido del enlace en esta publicación. Ya puedes comprimir tus roots #Update [24-02-15] Fixed Client Bug. Changes in "shop_manager.cpp" added. #Update [26-02-15] Added PrivateShop with 80 Items. NPC & PrivateShop with 80 Items ClientSide: Abrir "UserInterface/Packet.h" en el source de tu binario y buscar: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_HOST_ITEM_MAX_NUM = 40 Remplazar por: Debes iniciar sesión para ver el contenido del enlace en esta publicación. SHOP_HOST_ITEM_MAX_NUM = 80 Ya puedes compilar tu bin. Abrir tu cleinte y extraer "pack/uiscript".abrir "shopdialog.py" y remplaza el contenido por:Debes iniciar sesión para ver el contenido del enlace en esta publicación. Abre "privateshopbuilder.py" y remplaza el contenido por :Debes iniciar sesión para ver el contenido del enlace en esta publicación. Ya puedes comprimir uiscript Foto de la tienda privada:Et Voilà, we ended. Creditos: SamuR [Traduccion]Ryen zhas77, Nucla2018, MiGueLiT0 and 58 others 58 1 2 Quote Link to comment Share on other sites More sharing options...
Guest DreamHQ Posted February 27, 2015 Report Share Posted February 27, 2015 He visto el otro post con las 24 slots , pero este es aun mejor +1 , se agradece. Un saludo. Quote Link to comment Share on other sites More sharing options...
Ryen Posted February 27, 2015 Author Report Share Posted February 27, 2015 He visto el otro post con las 24 slots , pero este es aun mejor +1 , se agradece. Un saludo. A que te refieres con que este es mejor? xD si es un cpy paste traducido 24 slots es para cmercio este e spara tiendas y NPCS Alveiro Mantilla Moreno 1 Quote Link to comment Share on other sites More sharing options...
Guest DreamHQ Posted February 27, 2015 Report Share Posted February 27, 2015 A que te refieres con que este es mejor? xD si es un cpy paste traducido 24 slots es para cmercio este e spara tiendas y NPCS Entonces he debido de leer mal jejeje , bueno de todas formas gracias por aportarlo Quote Link to comment Share on other sites More sharing options...
PENTAGRAMA Posted July 3, 2015 Report Share Posted July 3, 2015 UP! XD haber si alguien me ayuda... Me sale esto: 0703 17:32:39590 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR 0703 17:32:44899 :: Failed to load script file : UIScript/shopdialog.py 0703 17:32:44902 :: ui.py(line:2778) LoadScriptFile system.py(line:192) execfile system.py(line:161) Run system.py(line:177) __LoadTextFile__ LoadScriptFile!!!!!!!!!!!!!! - exceptions.SyntaxError:invalid syntax (line 45) 0703 17:32:44902 :: ============================================================================================================ 0703 17:32:44902 :: Abort!!!! 0703 17:32:44903 :: uiShop.py(line:50) LoadDialog ui.py(line:2795) LoadScriptFile exception.py(line:36) Abort ShopDialog.LoadDialog.LoadObject - exceptions.SystemExit: 0703 17:32:44903 :: ============================================================================================================ 0703 17:32:44903 :: Abort!!!! Alguien sabe como arreglarlo Codigo: #ShopDialog ~ 80 Items for Shop #Developed by Samuel import uiScriptLocale window = { "name" : "ShopDialog", "x" : SCREEN_WIDTH - 400, "y" : 10, "style" : ("movable", "float",), "width" : 345, "height" : 328, "children" : ( { "name" : "board", "type" : "board", "style" : ("attach",), "x" : 0, "y" : 0, "width" : 345, "height" : 328, "children" : ( ## Title { "name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 8, "y" : 8, "width" : 330, "color" : "gray", "children" : ( { "name":"TitleName", "type":"text", "x":168, "y":4 "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" }, ), }, ## Item Slot { "name" : "ItemSlot", "type" : "grid_table", "x" : 12, "y" : 34, "start_index" : 0, "x_count" : 10, "y_count" : 8, "x_step" : 32, "y_step" : 32, "image" : "d:/ymir work/ui/public/Slot_Base.sub", }, ## Buy { "name" : "BuyButton", "type" : "toggle_button", "x" : 42, "y" : 295, "width" : 61, "height" : 21, "text" : uiScriptLocale.SHOP_BUY, "default_image" : "d:/ymir work/ui/public/middle_button_01.sub", "over_image" : "d:/ymir work/ui/public/middle_button_02.sub", "down_image" : "d:/ymir work/ui/public/middle_button_03.sub", }, ## Sell { "name" : "SellButton", "type" : "toggle_button", "x" : 240, "y" : 295, "width" : 61, "height" : 21, "text" : uiScriptLocale.SHOP_SELL, "default_image" : "d:/ymir work/ui/public/middle_button_01.sub", "over_image" : "d:/ymir work/ui/public/middle_button_02.sub", "down_image" : "d:/ymir work/ui/public/middle_button_03.sub", }, ## Close { "name" : "CloseButton", "type" : "button", "x" : 0, "y" : 295, "horizontal_align" : "center", "text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON, "default_image" : "d:/ymir work/ui/public/large_button_01.sub", "over_image" : "d:/ymir work/ui/public/large_button_02.sub", "down_image" : "d:/ymir work/ui/public/large_button_03.sub", }, ), }, ), } anyi parra 1 Quote Link to comment Share on other sites More sharing options...
carlos21 Posted July 3, 2015 Report Share Posted July 3, 2015 te deje todo por skype pero no vales la pena chamo ni a los colegas!! Quote Link to comment Share on other sites More sharing options...
MiGueLiT0 Posted July 8, 2015 Report Share Posted July 8, 2015 te deje todo por skype pero no vales la pena chamo ni a los colegas!! sabes como solucionar el error que le ocurrio a Pentagram? Quote Link to comment Share on other sites More sharing options...
lol Posted July 15, 2015 Report Share Posted July 15, 2015 Hi, 'int' object has no attribute 'HideToolTip' How i fix that? Quote Link to comment Share on other sites More sharing options...
mauricio10xhd Posted August 2, 2015 Report Share Posted August 2, 2015 Hola Alguno sabe como solucionar esto? 0802 15:59:17716 :: 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. 0802 15:59:25048 :: Failed to load script file : uiscript/shopdialog.py 0802 15:59:25053 :: ui.py(line:2767) LoadScriptFile system.py(line:192) execfile system.py(line:161) Run system.py(line:177) __LoadTextFile__ LoadScriptFile!!!!!!!!!!!!!! - exceptions.SyntaxError:invalid syntax (line 45) 0802 15:59:25053 :: ============================================================================================================ 0802 15:59:25053 :: Abort!!!! 0802 15:59:25055 :: uiShop.py(line:55) LoadDialog ui.py(line:2784) LoadScriptFile exception.py(line:36) Abort ShopDialog.LoadDialog.LoadObject - exceptions.SystemExit: 0802 15:59:25055 :: ============================================================================================================ 0802 15:59:25055 :: Abort!!!! >.> Quote Link to comment Share on other sites More sharing options...
MiGueLiT0 Posted August 2, 2015 Report Share Posted August 2, 2015 Tabulaciones Quote Link to comment Share on other sites More sharing options...
Johan™ Posted August 2, 2015 Report Share Posted August 2, 2015 yo digo para que tanto slots :v Quote Link to comment Share on other sites More sharing options...
HardMetin2 Posted August 2, 2015 Report Share Posted August 2, 2015 Hay 80 Slots y más de la mitad vacíos xDD Gracias por el aporte Quote Link to comment Share on other sites More sharing options...
MiGueLiT0 Posted August 2, 2015 Report Share Posted August 2, 2015 Derrepente no caen todas las cosas y no viene mal tener de sobra :v Quote Link to comment Share on other sites More sharing options...
autodesk_metin2 Posted February 3, 2016 Report Share Posted February 3, 2016 Up please!!! tengo un problema Sysser game del server SYSERR: Feb 3 09:56:30 :: SetShopItems: not enough shop window Sysser del channel SYSERR: Feb 3 10:47:42 :: SetShopItems: not empty position for pc shop Me funciona las tiendas Problema: y cuando intento abrir tienda me sale bien pero cuando pongo la tienda me aparece los slot normales Y cuando cierro la tienda, el pj vuelve a su forma natural pero no me cierra la tienda El cliente no me da ningún error de este problema. Solucionado## blackveriun 1 Quote Link to comment Share on other sites More sharing options...
iancu dumitrache Posted December 21, 2020 Report Share Posted December 21, 2020 o.o Quote Link to comment Share on other sites More sharing options...
santos2002 Posted December 21, 2020 Report Share Posted December 21, 2020 bien Quote Link to comment Share on other sites More sharing options...
Marcos Pinheiro Posted June 1, 2022 Report Share Posted June 1, 2022 ¿Alguien podría ayudarme con este error? Lo he comprobado y todavía tiene este error. 0531 21:15:17998 :: uiShop.py(line:73) LoadDialog ui.py(line:2768) GetChild ShopDialog.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'MiddleTab1' 0531 21:15:17998 :: ============================================================================================================ 0531 21:15:17998 :: Abort!!!! Gracias de antemano Quote Link to comment Share on other sites More sharing options...
NazoX Posted June 1, 2022 Report Share Posted June 1, 2022 hace 12 horas, Marcos Pinheiro dijo: ¿Alguien podría ayudarme con este error? Lo he comprobado y todavía tiene este error. 0531 21:15:17998 :: uiShop.py(line:73) LoadDialog ui.py(line:2768) GetChild ShopDialog.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'MiddleTab1' 0531 21:15:17998 :: ============================================================================================================ 0531 21:15:17998 :: Abort!!!! Gracias de antemano Según eso no tienes la función MiddleTab1 o has borrado algo, compruébalo en uiShop.py lo cual lógicamente deberías tenerlo. Marcos Pinheiro 1 Quote Link to comment Share on other sites More sharing options...
Marcos Pinheiro Posted July 5, 2022 Report Share Posted July 5, 2022 En 1/6/2022 a las 9:53, NazoX dijo: Según eso no tienes la función MiddleTab1 o has borrado algo, compruébalo en uiShop.py lo cual lógicamente deberías tenerlo. Gracias, arreglado Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.