emre burası satış forumu değil neden güncel yazıyorsun

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

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Kod:
item.cpp açılır // Arat if (0 != accessoryGrade && i < ITEM_APPLY_MAX_NUM - 1) // Değiştir      if (0 != accessoryGrade)

Kod:
uitooltip.py açılır def __AppendAccessoryMetinSlotInfo(...)  bunu arat ve değiştir     def __AppendAccessoryMetinSlotInfo(self, metinSlot, mtrlVnum):         ACCESSORY_SOCKET_MAX_SIZE = 3         cur = min(metinSlot[0], ACCESSORY_SOCKET_MAX_SIZE)         end = min(metinSlot[1], ACCESSORY_SOCKET_MAX_SIZE)         affectType1, affectValue1 = item.GetAffect(0)         affectList1 = [0, max(1, affectValue1 * 10 / 100), max(2, affectValue1 * 20 / 100), max(3, affectValue1 * 40 / 100)]         affectType2, affectValue2 = item.GetAffect(1)         affectList2 = [0, max(1, affectValue2 * 10 / 100), max(2, affectValue2 * 20 / 100), max(3, affectValue2 * 40 / 100)]         affectType3, affectValue3 = item.GetAffect(2)         affectList3 = [0, max(1, affectValue3 * 10 / 100), max(2, affectValue3 * 20 / 100), max(3, affectValue3 * 40 / 100)]         mtrlPos = 0         mtrlList = [mtrlVnum] * cur + [player.METIN_SOCKET_TYPE_SILVER] * (end - cur)         for mtrl in mtrlList:             affectString1 = self.__GetAffectString(affectType1, affectList1[mtrlPos + 1] - affectList1[mtrlPos])             affectString2 = self.__GetAffectString(affectType2, affectList2[mtrlPos + 1] - affectList2[mtrlPos])             affectString3 = self.__GetAffectString(affectType3, affectList3[mtrlPos + 1] - affectList3[mtrlPos])             leftTime = 0             if cur == mtrlPos + 1:                 leftTime = metinSlot[2]             self.__AppendMetinSlotInfo_AppendMetinSocketData(mtrlPos, mtrl, affectString1, affectString2, affectString3, leftTime)             mtrlPos += 1              def __AppendMetinSlotInfo_AppendMetinSocketData(...)  bunu arat ve değiştir     def __AppendMetinSlotInfo_AppendMetinSocketData(self, index, metinSlotData, custumAffectString = "", custumAffectString2 = "", custumAffectString3 = "", leftTime = 0):         slotType = self.GetMetinSocketType(metinSlotData)         itemIndex = self.GetMetinItemIndex(metinSlotData)         if 0 == slotType:             return         self.AppendSpace(5)         slotImage = ui.ImageBox()         slotImage.SetParent(self)         slotImage.Show()         ## Name         nameTextLine = ui.TextLine()         nameTextLine.SetParent(self)         nameTextLine.SetFontName(self.defFontName)         nameTextLine.SetPackedFontColor(self.NORMAL_COLOR)         nameTextLine.SetOutline()         nameTextLine.SetFeather()         nameTextLine.Show()         self.childrenList.append(nameTextLine)         if player.METIN_SOCKET_TYPE_SILVER == slotType:             slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_silver.sub")         elif player.METIN_SOCKET_TYPE_GOLD == slotType:             slotImage.LoadImage("d:/ymir work/ui/game/windows/metin_slot_gold.sub")         self.childrenList.append(slotImage)         if localeInfo.IsARABIC():             slotImage.SetPosition(self.toolTipWidth - slotImage.GetWidth() - 9, self.toolTipHeight - 1)             nameTextLine.SetPosition(self.toolTipWidth - 50, self.toolTipHeight + 2)         else:             slotImage.SetPosition(9, self.toolTipHeight - 1)             nameTextLine.SetPosition(50, self.toolTipHeight + 2)         metinImage = ui.ImageBox()         metinImage.SetParent(self)         metinImage.Show()         self.childrenList.append(metinImage)         if itemIndex:             item.SelectItem(itemIndex)             ## Image             try:                 metinImage.LoadImage(item.GetIconImageFileName())             except:                 dbg.TraceError("ItemToolTip.__AppendMetinSocketData() - Failed to find image file %d:%s" %                     (itemIndex, item.GetIconImageFileName())                 )             nameTextLine.SetText(item.GetItemName())             ## Affect             affectTextLine = ui.TextLine()             affectTextLine.SetParent(self)             affectTextLine.SetFontName(self.defFontName)             affectTextLine.SetPackedFontColor(self.POSITIVE_COLOR)             affectTextLine.SetOutline()             affectTextLine.SetFeather()             affectTextLine.Show()             if localeInfo.IsARABIC():                 metinImage.SetPosition(self.toolTipWidth - metinImage.GetWidth() - 10, self.toolTipHeight)                 affectTextLine.SetPosition(self.toolTipWidth - 50, self.toolTipHeight + 16 + 2)             else:                 metinImage.SetPosition(10, self.toolTipHeight)                 affectTextLine.SetPosition(50, self.toolTipHeight + 16 + 2)             if custumAffectString:                 affectTextLine.SetText(custumAffectString)             elif itemIndex != constInfo.ERROR_METIN_STONE:                 affectType, affectValue = item.GetAffect(0)                 affectString = self.__GetAffectString(affectType, affectValue)                 if affectString:                     affectTextLine.SetText(affectString)             else:                 affectTextLine.SetText(localeInfo.TOOLTIP_APPLY_NOAFFECT)             self.childrenList.append(affectTextLine)             if custumAffectString2:                 affectTextLine = ui.TextLine()                 affectTextLine.SetParent(self)                 affectTextLine.SetFontName(self.defFontName)                 affectTextLine.SetPackedFontColor(self.POSITIVE_COLOR)                 if localeInfo.IsARABIC():                     affectTextLine.SetPosition(self.toolTipWidth - 50, self.toolTipHeight + 16 + 2 + 16 + 2)                 else:                     affectTextLine.SetPosition(50, self.toolTipHeight + 16 + 2 + 16 + 2)                 affectTextLine.SetOutline()                 affectTextLine.SetFeather()                 affectTextLine.Show()                 affectTextLine.SetText(custumAffectString2)                 self.childrenList.append(affectTextLine)                 self.toolTipHeight += 16 + 2             if custumAffectString3:                 affectTextLine = ui.TextLine()                 affectTextLine.SetParent(self)                 affectTextLine.SetFontName(self.defFontName)                 affectTextLine.SetPackedFontColor(self.POSITIVE_COLOR)                 if localeInfo.IsARABIC():                     affectTextLine.SetPosition(self.toolTipWidth - 50, self.toolTipHeight + 16 + 2 + 16 + 2)                 else:                     affectTextLine.SetPosition(50, self.toolTipHeight + 16 + 2 + 16 + 2)                 affectTextLine.SetOutline()                 affectTextLine.SetFeather()                 affectTextLine.Show()                 affectTextLine.SetText(custumAffectString3)                 self.childrenList.append(affectTextLine)                 self.toolTipHeight += 16 + 2             if 0 != leftTime:                 timeText = (localeInfo.LEFT_TIME + " : " + localeInfo.SecondToDHM(leftTime))                 timeTextLine = ui.TextLine()                 timeTextLine.SetParent(self)                 timeTextLine.SetFontName(self.defFontName)                 timeTextLine.SetPackedFontColor(self.POSITIVE_COLOR)                 if localeInfo.IsARABIC():                     timeTextLine.SetPosition(self.toolTipWidth - 50, self.toolTipHeight + 16 + 2 + 16 + 2)                 else:                     timeTextLine.SetPosition(50, self.toolTipHeight + 16 + 2 + 16 + 2)                 timeTextLine.SetOutline()                 timeTextLine.SetFeather()                 timeTextLine.Show()                 timeTextLine.SetText(timeText)                 self.childrenList.append(timeTextLine)                 self.toolTipHeight += 16 + 2         else:             nameTextLine.SetText(localeInfo.TOOLTIP_SOCKET_EMPTY)         self.toolTipHeight += 35         self.ResizeToolTip() '

Emre Burası Satış Forumu Değil, Neden Güncel Yazıyorsun?

Metin2Lobby olarak bizim önceliğimiz, Metin2 özel sunucuların geliştirilmesi ve bu alandaki teknik bilgi paylaşımıdır. Forumumuzda amacımız, C++ sistem, Python GUI, uiscript, py root, pack, server src, game, auth, db, core, channel gibi konularda uzmanlaşmış bireylerin bir araya gelerek deneyimlerini paylaşmasıdır.

Forumun Amacı Nedir?

Bu platform, Metin2 oyununda PvP sistemleri geliştirmek isteyenler, source edit yaparak sunucularını özelleştirmek isteyenler ve game server programming üzerine çalışan geliştiriciler için bir buluşma noktasıdır. Sistemlerin nasıl çalıştığını, nasıl optimize edileceğini veya yeni bir PvP sistem tasarımı yaparken nelere dikkat edilmesi gerektiğini burada tartışıyoruz.

Geliştiricilere Katkı

Burada yazılanlar sadece genel bilgi değil, doğrudan Metin2 development ve Metin2Dev ile ilgili teknik bilgilerdir. Martysama gibi sistemler üzerinden geliştirilen client src dosyaları, uiscript düzenlemeleri, Py GUI ile arayüz tasarımları gibi konular detaylıca ele alınır. Bu sayede hem yeni başlayanlar hem de ileri düzey kullanıcılar için faydalı içerikler ortaya çıkar.

Satış Odaklı Değil, Bilgi Odaklıyız

Forumumuzda ürün veya hizmet satışına yönelik paylaşımlar asla istenmez. Amacımız, Metin2 özel sunucu dünyasında teknik bilgi birikimini artırmak ve topluluk içinde yardımlaşmayı teşvik etmektir. Bu nedenle compile, source edit, db core, game core gibi konulara odaklanılır.

Neden Güncel Yazıyor Olabilir?

Bazı kullanıcıların 'burası satış forumu değil' demesi yerine, güncel konulara yönelerek topluluğu bilgilendirmesi çok daha faydalı olur. Örneğin yeni bir PvP sistem geliştirmek isteyen biri, mevcut sistemlerin eksikliklerini tartışarak yeni fikirler üretebilir. Veya bir C++ source üzerinde yapılan değişikliklerle ilgili bir soru sorarak topluluktan destek alabilir. Bu tarz katkılar forumun kalitesini artırır.

Sonuç

Metin2Lobby, sadece oyun değil aynı zamanda bir development topluluğudur. Metin2 özel sunucu dünyasında ilerlemek istiyorsanız doğru yerdesiniz. Forumda aktif olmak, güncel kalmak ve bilgi sahibi olan kişilere değer vermek, gelişime açık bir zihniyetin göstergesidir. Lütfen satış içeriklerinden kaçının ve teknik bilgiye dayalı katkılar sunun.


Emre This Is Not a Sales Forum, Why Are You Posting Updates?

As Metin2Lobby, our priority is the development of Metin2 private servers and technical knowledge sharing within this area. Our goal is to provide a platform where individuals experienced with C++ systems, Python GUI, uiscript, py root, pack, server src, game, auth, db, core, channel, and similar topics can gather and share their experiences.

What Is the Purpose of the Forum?

This platform serves those looking to develop PvP systems in Metin2, customize their servers through source editing, or work on game server programming. We discuss how these systems function, how they can be optimized, and what considerations are necessary when designing new PvP systems.

Contributions for Developers

The content shared here is not just general information but directly related to Metin2 development and Metin2Dev. Topics such as client src files developed via Martysama, modifications to uiscript, and UI designs using Py GUI are discussed in detail. This allows both newcomers and advanced users to benefit from valuable content.

Knowledge-Focused, Not Sales-Focused

Sales-related posts are never welcome on our forum. Our goal is to enhance technical knowledge within the Metin2 private server community and promote collaboration. For this reason, we focus on subjects like compile, source edit, db core, and game core.

Why Might Someone Post Updates?

Instead of saying 'this is not a sales forum,' some users may contribute by posting updates that inform the community. For example, someone looking to develop a new PvP system might discuss flaws in existing systems to generate new ideas. Or, they could ask questions about changes made to a C++ source to gain support from the community. Such contributions improve the quality of the forum.

Conclusion

Metin2Lobby is not just about the game but also a development community. If you aim to progress in the world of Metin2 private servers, you're in the right place. Being active in the forum, staying updated, and valuing knowledgeable contributors reflects an open-minded approach to growth. Please avoid sales-oriented content and instead offer contributions based on technical knowledge.
 

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

Benzer konular

Geri
Üst Alt