Pet guİ sİstem

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 37

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Arkadaşlar ;
Bugün Pet-Gui systemini paylaşıcam inş beğenirsiniz
ekleyenler yorum , teşekkür atsınlar.



pets123.png

questleri resimdeki gibi tek tek buraları düzeltmeniz lazım

İlk önce bi resim paylaşıyım

pet.jpg

pet3.jpg


ANLATIM;


Kod:
self.SetSize(wndMgr.GetScreenWidth(), wndMgr.GetScreenHeight())


altına 2 boşluk bırakıp bu kodu ekleyin




Kod:
##START_PETGUI BY DASKUCHEN         PetGuiBg = ui.AniImageBox()         PetGuiBg.AddFlag("not_pick")         PetGuiBg.AppendImage("d:/ymir work/ui/board.tga")         self.PetGuiBg = PetGuiBg                  self.PetGuiBg.SetPosition(0, 100)                  self.PetName = ui.TextLine()         self.PetName.SetDefaultFontName()         self.PetName.SetPosition(95, 127)         self.PetName.SetText("Sahibi:NONE")         self.PetName.SetOutline()                  self.PetLevel = ui.TextLine()         self.PetLevel.SetDefaultFontName()         self.PetLevel.SetPosition(100, 140)         self.PetLevel.SetText("PetLevel:    NONE")         self.PetLevel.SetOutline()         PetExpBar = ui.AniImageBox()         PetExpBar.AddFlag("not_pick")         PetExpBar.AppendImage("d:/ymir work/ui/pattern/charbar_main_yellow.tga")         PetExpBar.SetPercentage(0,1)         self.PetExpBar = PetExpBar                  self.PetExpBar.SetPosition(100, 167)                  self.PetExpLabel = ui.TextLine()         self.PetExpLabel.SetDefaultFontName()         self.PetExpLabel.SetPosition(100, 153)         self.PetExpLabel.SetText("0%")         self.PetExpLabel.SetOutline()                      ##CLOSE_PETGUI BY DASKUCHEN                  ##BASLA_PETGUI NUMARA         self.Numara = ui.TextLine()         self.Numara.SetDefaultFontName()         self.Numara.SetPosition(70, 160)         self.Numara.SetText("1")         self.Numara.SetOutline()         ##BİTİR_PETGUI NUMARA                  ##BASLA_PETGUIM         self.Sayi = ui.TextLine()         self.Sayi.SetDefaultFontName()         self.Sayi.SetPosition(70, 160)         self.Sayi.SetText("2")         self.Sayi.SetOutline()         ##BİTİR_PETGUIM                  ##BASLA_PETGUI NUMARA3         self.Numara3 = ui.TextLine()         self.Numara3.SetDefaultFontName()         self.Numara3.SetPosition(70, 160)         self.Numara3.SetText("3")         self.Numara3.SetOutline()         ##BİTİR_PETGUI NUMARA3                  ##BASLA_PETGUI NUMARA4         self.Numara4 = ui.TextLine()         self.Numara4.SetDefaultFontName()         self.Numara4.SetPosition(70, 160)         self.Numara4.SetText("4")         self.Numara4.SetOutline()         ##BİTİR_PETGUI NUMARA4                  ##BASLA_PETGUI NUMARA5         self.Numara5 = ui.TextLine()         self.Numara5.SetDefaultFontName()         self.Numara5.SetPosition(70, 160)         self.Numara5.SetText("5")         self.Numara5.SetOutline()         ##BİTİR_PETGUI NUMARA5                  ##BASLA_PETGUI NUMARA6         self.Numara6 = ui.TextLine()         self.Numara6.SetDefaultFontName()         self.Numara6.SetPosition(70, 160)         self.Numara6.SetText("6")         self.Numara6.SetOutline()         ##BİTİR_PETGUI NUMARA6                  ##BASLA_PETGUI NUMARA7         self.Numara7 = ui.TextLine()         self.Numara7.SetDefaultFontName()         self.Numara7.SetPosition(70, 160)         self.Numara7.SetText("7")         self.Numara7.SetOutline()         ##BİTİR_PETGUI NUMARA7                  ##BASLA_PETGUI NUMARA8         self.Numara8 = ui.TextLine()         self.Numara8.SetDefaultFontName()         self.Numara8.SetPosition(70, 160)         self.Numara8.SetText("8")         self.Numara8.SetOutline()         ##BİTİR_PETGUI NUMARA8                  ##BASLA_PETGUI         Azrail = ui.AniImageBox()         Azrail.AddFlag("not_pick")         Azrail.AppendImage("d:/ymir work/ui/azarel.tga")         self.Azrail = Azrail                  self.Azrail.SetPosition(20, 115)                  ##BİTTİ_PETGUI                  ##BASLA_PETGUI2         Kopek = ui.AniImageBox()         Kopek.AddFlag("not_pick")         Kopek.AppendImage("d:/ymir work/ui/cane.tga")         self.Kopek = Kopek                  self.Kopek.SetPosition(20, 115)                  ##BİTTİ_PETGUI2                  ##BASLA_PETGUI3         Anka = ui.AniImageBox()         Anka.AddFlag("not_pick")         Anka.AppendImage("d:/ymir work/ui/fenice_rossa.tga")         self.Anka = Anka                  self.Anka.SetPosition(20, 115)                  ##BİTTİ_PETGUI3                  ##BASLA_PETGUI4         Domuz = ui.AniImageBox()         Domuz.AddFlag("not_pick")         Domuz.AppendImage("d:/ymir work/ui/cinghiale.tga")         self.Domuz = Domuz                  self.Domuz.SetPosition(20, 115)                  ##BİTTİ_PETGUI4                  ##BASLA_PETGUI5         AnkaMavi = ui.AniImageBox()         AnkaMavi.AddFlag("not_pick")         AnkaMavi.AppendImage("d:/ymir work/ui/fenice_blu.tga")         self.AnkaMavi = AnkaMavi                  self.AnkaMavi.SetPosition(20, 115)                  ##BİTTİ_PETGUI5                  ##BASLA_PETGUI6         Aslan = ui.AniImageBox()         Aslan.AddFlag("not_pick")         Aslan.AppendImage("d:/ymir work/ui/leone.tga")         self.Aslan = Aslan                  self.Aslan.SetPosition(20, 115)                  ##BİTTİ_PETGUI6                  ##BASLA_PETGUI7         Geyik = ui.AniImageBox()         Geyik.AddFlag("not_pick")         Geyik.AppendImage("d:/ymir work/ui/renna.tga")         self.Geyik = Geyik                  self.Geyik.SetPosition(20, 115)                  ##BİTTİ_PETGUI7                  ##BASLA_PETGUI8         Kaplan = ui.AniImageBox()         Kaplan.AddFlag("not_pick")         Kaplan.AppendImage("d:/ymir work/ui/tigre.tga")         self.Kaplan = Kaplan                  self.Kaplan.SetPosition(20, 115)                  ##BİTTİ_PETGUI8

sonra bu kodu aratın


Kod:
serverCommandList={

ve altına 2 boşluk bırakın BUNU EKLEYİN

Kod:
##PETGUI BY DASKUCHEN             "ShowPetGui"            : self.__showpetgui,             "HidePetGui"            : self.__hidepetgui,             "HaustierName"            : self.__PetName,             "HaustierLevel"            : self.__PetLevel,             "PetProcentExp"            : self.__PetExp,                         ##                          ##PETGUIS             "HideNumaraGel"            : self.__hidenumaragel,             "ShowNumaraGit"            : self.__shownumaragit,                         ##                          ##PETGUIS2             "HideSayiGel"        : self.__hidesayigel,             "ShowSayiGit"        : self.__showsayigit,                         ##END_PETGUIS2                          ##PETGUIS3             "HideNumaraGel3"            : self.__hidenumaragel3,             "ShowNumaraGit3"            : self.__shownumaragit3,                         ##                          ##PETGUIS4             "HideNumaraGel4"            : self.__hidenumaragel4,             "ShowNumaraGit4"            : self.__shownumaragit4,                         ##                          ##PETGUIS5             "HideNumaraGel5"            : self.__hidenumaragel5,             "ShowNumaraGit5"            : self.__shownumaragit5,                         ##                          ##PETGUIS6             "HideNumaraGel6"            : self.__hidenumaragel6,             "ShowNumaraGit6"            : self.__shownumaragit6,                         ##                          ##PETGUIS7             "HideNumaraGel7"            : self.__hidenumaragel7,             "ShowNumaraGit7"            : self.__shownumaragit7,                         ##                          ##PETGUIS8             "HideNumaraGel8"            : self.__hidenumaragel8,             "ShowNumaraGit8"            : self.__shownumaragit8,                         ##                          ##BASLA_PETGUI1             "HideAnkaResimGel"            : self.__hideankaresimgel,             "ShowAnkaResimGit"            : self.__showankaresimgit,                     ##                          ##BASLA_PETGUI2             "HideDomuzResimGel"            : self.__hidedomuzresimgel,             "ShowDomuzResimGit"            : self.__showdomuzresimgit,                     ##                      ##BASLA_PETGUI3             "HideAzrailResimGel"            : self.__hideazrailresimgel,             "ShowAzrailResimGit"            : self.__showazrailresimgit,                     ##                          ##BASLA_PETGUI4             "HideAnkaMaviGel"            : self.__hideankamavigel,             "ShowAnkaMaviGit"            : self.__showankamavigit,                     ##                          ##BASLA_PETGUI5             "HideAslanResimGel"            : self.__hideaslanresimgel,             "ShowAslanResimGit"            : self.__showaslanresimgit,                     ##                          ##BASLA_PETGUI6             "HideGeyikResimGel"            : self.__hidegeyikresimgel,             "ShowGeyikResimGit"            : self.__showgeyikresimgit,                     ##                          ##BASLA_PETGUI7             "HideKaplanResimGel"            : self.__hidekaplanresimgel,             "ShowKaplanResimGit"            : self.__showkaplanresimgit,                     ##                          ##BASLA_PETGUI8             "HideKopekResimGel"            : self.__hidekopekresimgel,             "ShowKopekResimGit"            : self.__showkopekresimgit,                     ##



şimdi game.pynin en aşşağısa inin ve bu kodu ekleyin




Kod:
#Pet-Gui     def __hidepetgui(self):         self.PetGuiBg.Hide()         self.PetName.Hide()         self.PetLevel.Hide()         self.PetExpBar.Hide()         self.PetExpLabel.Hide()              def __showpetgui(self):         self.PetGuiBg.Show()         self.PetName.Show()         self.PetLevel.Show()         self.PetExpBar.Show()         self.PetExpLabel.Show()         def __PetName(self, HaustierName):         self.PetName.SetText("Sahibi:" + HaustierName)     def __PetLevel(self, HaustierLevel):         self.PetLevel.SetText("PetLevel:    " + HaustierLevel)     def __PetExp(self, PetProcentExp):         self.PetExpLabel.SetText(PetProcentExp +  "%")         self.PetExpBar.SetPercentage(PetProcentExp, 100)     def __hideankaresimgel(self):         self.Anka.Hide()              def __showankaresimgit(self):         self.Anka.Show()              def __hidedomuzresimgel(self):         self.Domuz.Hide()              def __showdomuzresimgit(self):         self.Domuz.Show()                      def __hideankamavigel(self):         self.AnkaMavi.Hide()              def __showankamavigit(self):         self.AnkaMavi.Show()              def __hideaslanresimgel(self):         self.Aslan.Hide()                  def __showaslanresimgit(self):         self.Aslan.Show()              def __hidegeyikresimgel(self):         self.Geyik.Hide()              def __showgeyikresimgit(self):         self.Geyik.Show()     def __hidekaplanresimgel(self):         self.Kaplan.Hide()                  def __showkaplanresimgit(self):         self.Kaplan.Show()              def __hideazrailresimgel(self):         self.Azrail.Hide()                  def __showazrailresimgit(self):         self.Azrail.Show()              def __hidekopekresimgel(self):         self.Kopek.Hide()                  def __showkopekresimgit(self):         self.Kopek.Show()              def __hidenumaragel8(self):         self.Numara8.Hide()              def __shownumaragit8(self):         self.Numara8.Show()                      def __hidenumaragel7(self):         self.Numara7.Hide()              def __shownumaragit7(self):         self.Numara7.Show()                  def __hidenumaragel6(self):         self.Numara6.Hide()              def __shownumaragit6(self):         self.Numara6.Show()                  def __hidenumaragel5(self):         self.Numara5.Hide()              def __shownumaragit5(self):         self.Numara5.Show()                  def __hidenumaragel4(self):         self.Numara4.Hide()              def __shownumaragit4(self):         self.Numara4.Show()                      def __hidenumaragel3(self):         self.Numara3.Hide()              def __shownumaragit3(self):         self.Numara3.Show()              def __hidesayigel(self):         self.Sayi.Hide()              def __showsayigit(self):         self.Sayi.Show()                      def __hidenumaragel(self):         self.Numara.Hide()              def __shownumaragit(self):         self.Numara.Show()                 #Pet-Gui Bitti



game.py ile işimiz bitti şimdi ise efektleri ekliyelim
playersettingmodule.py açın ardında



Kod:
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+11, "", EmoticonStr+"fish.mse")     net.RegisterEmoticonString("(fish)")


aratın altına


Kod:
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", BuffStr+"redfenix.mse")     net.RegisterEmoticonString("(b8)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", BuffStr+"reniferek.mse")     net.RegisterEmoticonString("(b9)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", BuffStr+"icefenix.mse")     net.RegisterEmoticonString("(b10)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+15, "", BuffStr+"azrael.mse")     net.RegisterEmoticonString("(b11)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+16, "", BuffStr+"piesek.mse")     net.RegisterEmoticonString("(b12)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+17, "", BuffStr+"lewek.mse")     net.RegisterEmoticonString("(b13)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+18, "", BuffStr+"dziczek.mse")     net.RegisterEmoticonString("(b14)")     chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+19, "", BuffStr+"tygrysek.mse")     net.RegisterEmoticonString("(b15)")


ekleyin kaydetip çıkın tekrar game.py açın


Kod:
serverCommandList={



bu kodu aratın




Kod:
# NEW_EFFECTS             "buff8"                    : self.__buff8,             "buff9"                    : self.__buff9,             "buff10"                : self.__buff10,             "buff11"                : self.__buff11,             "buff12"                : self.__buff12,             "buff13"                : self.__buff13,             "buff14"                : self.__buff14,             "buff15"                : self.__buff15,             # END_NEW_EFFECTS



bunu ekleyin



Kod:
def AskSafeboxPassword(self): self.interface.AskSafeboxPassword()


aratın


Kod:
def __buff8(self):         net.SendChatPacket("(b8)")     def __buff9(self):         net.SendChatPacket("(b9)")     def __buff10(self):         net.SendChatPacket("(b10)")     def __buff11(self):         net.SendChatPacket("(b11)")     def __buff12(self):         net.SendChatPacket("(b12)")     def __buff13(self):         net.SendChatPacket("(b13)")     def __buff14(self):         net.SendChatPacket("(b14)")     def __buff15(self):         net.SendChatPacket("(b15)")



altına ekleyin kaydetip kapatın uichat.py açın


Kod:
def __SendChatPacket(self, text, type):




bu kodu aratın


Kod:
elif text == "(b8)":             return         elif text == "(b9)":             return         elif text == "(b10)":             return         elif text == "(b11)":             return         elif text == "(b12)":             return         elif text == "(b13)":             return         elif text == "(b14)":             return         elif text == "(b15)":             return



altına bunu ekleyin bu kadar
Pet_efekt questi

Kod:
quest effect begin state start begin when iditem.use begin cmdchat("buff8") end when iditem.use begin cmdchat("buff9") end when iditem.use begin cmdchat("buff10") end when iditem.use begin cmdchat("buff11") end when iditem.use begin cmdchat("buff12") end when iditem.use begin cmdchat("buff13") end when iditem.use begin cmdchat("buff14") end when iditem.use begin cmdchat("buff15") end end end



bunuda ekleyin tmm dır
şimdi ise gelelim indirdiğiniz .rarın içindekilere
quest dosyasındakileri filezillya atın putty login olup okutun
pet_gui.epk ve .eixi ise packa atın sonra packın içindeki indexi açın



Kod:
* Pet_Gui


GELELİM LİNKLERE;
MEDİAFİRE;
VİRÜS TOTAL;


1 REPİ ÇOK GÖRMEYELİM
Pet GUI Sistem Nedir? Metin2'de Oyuncu Deneyimini Artıran Yeni Yüz
Metin2, uzun yıllardır Türk MMO severlerinin favori oyunları arasında yer almayı başarmış bir MMORPG oyunudur. Oyuncuların karakterlerini geliştirerek seyahat ettiği, partiler kurarak savaştığı bu sanal dünyada, zamanla birçok yenilik ve sistem entegrasyonu yapılmıştır. Bunlardan birisi de Pet GUI Sistemi'dir. Bu sistem, oyuncuların evcil hayvanlarını daha kolay takip edebilmelerini, kontrol edebilmelerini ve etkileşim kurabilmelerini sağlayan yeni nesil bir arayüzdür. Özellikle Metin2 PvP sunucularında veya özelleştirilmiş client'larla çalışan oyunlarda bu sistem oldukça popüler hale gelmiştir.

Pet GUI Sistemi Ne Sağlar?
GUI (Graphical User Interface), yani Grafiksel Kullanıcı Arayüzü, kullanıcıların yazılımlarla etkileşim kurmasını kolaylaştıran görsel bileşenlerden oluşur. Pet GUI sistemi sayesinde, oyuncular artık evcil hayvanlarının can, mana ve özel yetenek durumlarını küçük bir panel üzerinden takip edebilirler. Eski sistemlerde bu bilgilere ulaşmak için menülere girip aramak gerekirdi. Ancak Pet GUI ile tüm bu bilgiler ekranda sabit bir konumda görüntülenir. Bu da oyuncuların dikkatini dağıtmadan oyunu daha akıcı bir şekilde oynamasını sağlar.

Metin2 Client ve Pack Geliştiricileri İçin Pet GUI Önemi
Metin2 özel client'ları ve pack sistemleri üzerinde çalışan geliştiriciler için Pet GUI, önemli bir yenilik sunar. Client edit işlemleri sırasında Pet GUI sistemini entegre etmek, kullanıcı dostu bir arayüz oluşturmak açısından büyük avantaj sağlar. Özellikle Metin2 PvP Client geliştiricileri, oyuncuların savaş sırasında hızlı karar verebilmesi için bu tür sistemleri tercih ederler. Ayrıca, Pet GUI sistemi, client dosyaları üzerinde yapılan düzenlemelerle entegre edilebilir. Bu sayede hem estetik hem de fonksiyonel açıdan gelişmiş bir sistem elde edilir.

Pet GUI Nasıl Kurulur?
Pet GUI sisteminin kurulumu genellikle client edit işlemleriyle yapılır. Metin2 client kurulumu yaparken bu sistemi eklemek isterseniz, uyumlu dosyaları client'e eklemeniz gerekir. Bazı Metin2 Pack sistemleri zaten bu özelliği içerir. Ancak bazı client'lar için manuel olarak eklemek gerekebilir. Bu işlem sırasında dikkat edilmesi gereken en önemli nokta, client dosyalarının doğru şekilde düzenlenmesidir. Hatalı dosya entegrasyonu, client hata vermeye başlayabilir. Bu nedenle, Metin2 Client Fix işlemlerine dikkat etmek önemlidir.

Pet GUI ile Gelen Yeni Özellikler
Pet GUI sistemi, yalnızca görsel kolaylık sağlamaz. Aynı zamanda oyuncuların evcil hayvanlarıyla olan etkileşimini artırır. Örneğin, bazı sistemlerde pet'in kullandığı yeteneklerin tuş ataması yapılabilir. Bu sayede pet, doğrudan oyuncu tarafından kontrol edilebilir. Ayrıca, bazı özelleştirilmiş client'larda pet'in özel efektleri, animasyonları ve skinleri de olabilir. Bu tür detaylar, Metin2 Client Skin veya Metin2 Client Effect gibi alanlarda geliştiricilerin dikkatini çeker.

Sonuç
Pet GUI sistemi, Metin2 oyun deneyimini modernleştirmek isteyen oyuncular ve geliştiriciler için önemli bir yeniliktir. Özellikle özelleştirilmiş client ve pack sistemleriyle birleştiğinde, oyunculara daha verimli ve keyifli bir oynama ortamı sunar. Metin2 Lobby olarak biz de bu tarz gelişmeleri takip ediyor ve kullanıcılarımızın daha iyi bir deneyim yaşaması için destek sunuyoruz.


What is Pet GUI System? The New Face of Enhanced Player Experience in Metin2
Metin2 has long been among the favorite MMORPG games of Turkish gaming enthusiasts. In this virtual world where players develop their characters and travel, fight in parties, many innovations and system integrations have been made over time. One of these is the Pet GUI System. This system is a new generation interface that allows players to easily track, control, and interact with their pets. Especially on Metin2 PvP servers or games running with customized clients, this system has become quite popular.

What Does Pet GUI System Provide?
GUI (Graphical User Interface) refers to visual components that facilitate user interaction with software. With the Pet GUI system, players can now monitor their pet's health, mana, and special abilities through a small panel. In older systems, accessing this information required navigating through menus. However, with Pet GUI, all this information is displayed in a fixed location on screen. This allows players to enjoy a smoother gameplay experience without distractions.

Importance of Pet GUI for Metin2 Client and Pack Developers
For developers working on custom Metin2 clients and pack systems, Pet GUI offers significant innovation. Integrating the Pet GUI system during client editing provides major advantages in creating a user-friendly interface. Particularly Metin2 PvP Client developers prefer such systems to enable quick decision-making during combat. Additionally, the Pet GUI system can be integrated through modifications to client files, resulting in both aesthetic and functional improvements.

How to Install Pet GUI?
Installing the Pet GUI system typically involves client editing processes. When installing a Metin2 client, you may want to add this system by including compatible files into the client. Some Metin2 Packs already include this feature. However, for certain clients, manual integration might be necessary. The most important thing to consider during this process is correctly editing the client files. Incorrect file integration could cause the client to malfunction. Therefore, attention to Metin2 Client Fix procedures is crucial.

New Features Brought by Pet GUI
The Pet GUI system does not only provide visual convenience; it also enhances player-pet interaction. For instance, in some systems, players can assign keys to pet skills, allowing direct control of the pet. Furthermore, in some custom clients, pets may have special effects, animations, or skins. Such details attract interest in areas like Metin2 Client Skin or Metin2 Client Effect.

Conclusion
The Pet GUI system is an important innovation for players and developers looking to modernize the Metin2 gaming experience. Combined with customized client and pack systems, it offers a more efficient and enjoyable gameplay environment. As Metin2 Lobby, we follow such developments and provide support to ensure our users have a better experience.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Benzer konular

Geri
Üst Alt