- Katılım
- 23 Ara 2016
- Konular
- 33
- Mesajlar
- 418
- Reaksiyon Skoru
- 64
- Altın Konu
- 0
- TM Yaşı
- 9 Yıl 5 Ay 15 Gün
- Başarım Puanı
- 47
- MmoLira
- 3
- DevLira
- 0
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
Rica ederim.
Eksiği söylersen düzeltip konuyu güncellerim.
Uitarget.py
Kod:
if app.ENABLE_VIEW_TARGET_DECIMAL_HP:
def SetHP(self, hpPercentage, iMinHP, iMaxHP):
if not self.hpGauge.IsShow():
if app.ENABLE_VIEW_TARGET_PLAYER_HP:
showingButtonCount = len(self.showingButtonList)
if showingButtonCount > 0:
if chr.GetInstanceType(self.vid) == chr.INSTANCE_TYPE_PLAYER:
self.SetSize(max(150 + 75 * 3, showingButtonCount * 75), self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
if localeInfo.IsARABIC():
self.name.SetPosition( self.GetWidth()-23, 13)
else:
self.name.SetPosition(23, 13)
self.name.SetWindowHorizontalAlignLeft()
self.name.SetHorizontalAlignLeft()
self.hpGauge.Show()
self.UpdatePosition()
self.hpGauge.SetPercentage(hpPercentage, 100)
if app.ENABLE_VIEW_TARGET_DECIMAL_HP:
iMinHPText = '.'.join([i - 3 < 0 and str(iMinHP)[:i] or str(iMinHP)[i-3:i] for i in range(len(str(iMinHP)) % 3, len(str(iMinHP))+1, 3) if i])
iMaxHPText = '.'.join([i - 3 < 0 and str(iMaxHP)[:i] or str(iMaxHP)[i-3:i] for i in range(len(str(iMaxHP)) % 3, len(str(iMaxHP))+1, 3) if i])
self.hpDecimal.SetText(str(iMinHPText) + "/" + str(iMaxHPText))
(textWidth, textHeight)=self.hpDecimal.GetTextSize()
if localeInfo.IsARABIC():
self.hpDecimal.SetPosition(120 / 2 + textWidth / 2, -13)
else:
self.hpDecimal.SetPosition(130 / 2 - textWidth / 2, -13)
self.hpDecimal.Show()
else:
def SetHP(self, hpPercentage):
if not self.hpGauge.IsShow():
if app.ENABLE_VIEW_TARGET_PLAYER_HP:
showingButtonCount = len(self.showingButtonList)
if showingButtonCount > 0:
if chr.GetInstanceType(self.GetTargetVID) != chr.INSTANCE_TYPE_PLAYER:
if showingButtonCount != 1:
self.SetSize(max(150, showingButtonCount * 75), self.GetHeight())
else:
self.SetSize(max(150, 2 * 75), self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
else:
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
if localeInfo.IsARABIC():
self.name.SetPosition( self.GetWidth()-23, 13)
else:
self.name.SetPosition(23, 13)
self.name.SetWindowHorizontalAlignLeft()
self.name.SetHorizontalAlignLeft()
self.hpGauge.Show()
self.UpdatePosition()
- Katılım
- 14 Ara 2014
- Konular
- 5
- Mesajlar
- 86
- Online süresi
- 48m 31s
- Reaksiyon Skoru
- 39
- Altın Konu
- 0
- TM Yaşı
- 11 Yıl 5 Ay 25 Gün
- Başarım Puanı
- 86
- MmoLira
- 166
- DevLira
- 0
Peki nasıl bir sıkıntı var onu söylersen iyi olur :smile:Uitarget.py
Kod:if app.ENABLE_VIEW_TARGET_DECIMAL_HP: def SetHP(self, hpPercentage, iMinHP, iMaxHP): if not self.hpGauge.IsShow(): if app.ENABLE_VIEW_TARGET_PLAYER_HP: showingButtonCount = len(self.showingButtonList) if showingButtonCount > 0: if chr.GetInstanceType(self.vid) == chr.INSTANCE_TYPE_PLAYER: self.SetSize(max(150 + 75 * 3, showingButtonCount * 75), self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) if localeInfo.IsARABIC(): self.name.SetPosition( self.GetWidth()-23, 13) else: self.name.SetPosition(23, 13) self.name.SetWindowHorizontalAlignLeft() self.name.SetHorizontalAlignLeft() self.hpGauge.Show() self.UpdatePosition() self.hpGauge.SetPercentage(hpPercentage, 100) if app.ENABLE_VIEW_TARGET_DECIMAL_HP: iMinHPText = '.'.join([i - 3 < 0 and str(iMinHP)[:i] or str(iMinHP)[i-3:i] for i in range(len(str(iMinHP)) % 3, len(str(iMinHP))+1, 3) if i]) iMaxHPText = '.'.join([i - 3 < 0 and str(iMaxHP)[:i] or str(iMaxHP)[i-3:i] for i in range(len(str(iMaxHP)) % 3, len(str(iMaxHP))+1, 3) if i]) self.hpDecimal.SetText(str(iMinHPText) + "/" + str(iMaxHPText)) (textWidth, textHeight)=self.hpDecimal.GetTextSize() if localeInfo.IsARABIC(): self.hpDecimal.SetPosition(120 / 2 + textWidth / 2, -13) else: self.hpDecimal.SetPosition(130 / 2 - textWidth / 2, -13) self.hpDecimal.Show() else: def SetHP(self, hpPercentage): if not self.hpGauge.IsShow(): if app.ENABLE_VIEW_TARGET_PLAYER_HP: showingButtonCount = len(self.showingButtonList) if showingButtonCount > 0: if chr.GetInstanceType(self.GetTargetVID) != chr.INSTANCE_TYPE_PLAYER: if showingButtonCount != 1: self.SetSize(max(150, showingButtonCount * 75), self.GetHeight()) else: self.SetSize(max(150, 2 * 75), self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) else: self.SetSize(200 + 7*self.nameLength, self.GetHeight()) if localeInfo.IsARABIC(): self.name.SetPosition( self.GetWidth()-23, 13) else: self.name.SetPosition(23, 13) self.name.SetWindowHorizontalAlignLeft() self.name.SetHorizontalAlignLeft() self.hpGauge.Show() self.UpdatePosition()
- Katılım
- 28 Eyl 2015
- Konular
- 5
- Mesajlar
- 73
- Online süresi
- 7h 59m
- Reaksiyon Skoru
- 0
- Altın Konu
- 0
- TM Yaşı
- 10 Yıl 8 Ay 12 Gün
- Başarım Puanı
- 60
- MmoLira
- 113
- DevLira
- 0
char.cpp: In member function 'void CHARACTER:
ointChange(BYTE, int, bool, bool)':
char.cpp:3225: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::ClearTarget()':
char.cpp:5644: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5645: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::SetTarget(CHARACTER*)':
char.cpp:5689: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5690: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5697: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5698: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5723: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5724: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5731: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5732: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5740: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5741: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5751: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5752: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5759: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5760: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5771: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5772: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::BroadcastTargetPacket()':
char.cpp:5791: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5792: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5800: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5801: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
ointChange(BYTE, int, bool, bool)':char.cpp:3225: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::ClearTarget()':
char.cpp:5644: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5645: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::SetTarget(CHARACTER*)':
char.cpp:5689: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5690: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5697: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5698: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5723: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5724: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5731: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5732: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5740: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5741: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5751: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5752: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5759: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5760: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5771: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5772: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::BroadcastTargetPacket()':
char.cpp:5791: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5792: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5800: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5801: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
- Katılım
- 29 Ara 2014
- Konular
- 27
- Mesajlar
- 117
- Çözüm
- 4
- Reaksiyon Skoru
- 3
- Altın Konu
- 0
- TM Yaşı
- 11 Yıl 5 Ay 10 Gün
- Başarım Puanı
- 77
- MmoLira
- 70
- DevLira
- 0
Teşekkür 



- Katılım
- 14 Ara 2014
- Konular
- 5
- Mesajlar
- 86
- Online süresi
- 48m 31s
- Reaksiyon Skoru
- 39
- Altın Konu
- 0
- TM Yaşı
- 11 Yıl 5 Ay 25 Gün
- Başarım Puanı
- 86
- MmoLira
- 166
- DevLira
- 0
game>src>packet.h eklenecek olanları eklememişsin onu ekle sorun düzelecektir.char.cpp: In member function 'void CHARACTER:ointChange(BYTE, int, bool, bool)':
char.cpp:3225: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::ClearTarget()':
char.cpp:5644: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5645: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::SetTarget(CHARACTER*)':
char.cpp:5689: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5690: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5697: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5698: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5723: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5724: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5731: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5732: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5740: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5741: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5751: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5752: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5759: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5760: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5771: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5772: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp: In member function 'void CHARACTER::BroadcastTargetPacket()':
char.cpp:5791: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5792: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
char.cpp:5800: error: 'struct TPacketGCTarget' has no member named 'iMinHP'
char.cpp:5801: error: 'struct TPacketGCTarget' has no member named 'iMaxHP'
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
Turkmmo Flood Engelleme
Rica ederim :smile::smile:.Teşekkür![]()
Son düzenleme:
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 8
- Görüntüleme
- 3K
- Cevaplar
- 8
- Görüntüleme
- 3K
- Kilitli
- Cevaplar
- 259
- Görüntüleme
- 39K
- Cevaplar
- 7
- Görüntüleme
- 27K

