Best Studio 1
Best Studio
Agora Metin2 1
Agora Metin2
raderde 1
raderde
Cannn6161 1
Cannn6161
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Mt2Hizmet 1
Mt2Hizmet
melankolıa18 1
melankolıa18
romegames 1
romegames
Krutzo 1
Krutzo
shrpnl 1
shrpnl
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Cevaplandı Tweeny animation bugs

  • Konuyu başlatan Konuyu başlatan EnZiiiiK
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 6
  • Görüntüleme Görüntüleme 1K

EnZiiiiK

Level 2
Üye
Katılım
3 Eyl 2019
Konular
32
Mesajlar
89
Çözüm
19
Online süresi
15d 15h
Reaksiyon Skoru
8
Altın Konu
0
TM Yaşı
6 Yıl 9 Ay 6 Gün
Başarım Puanı
78
MmoLira
2,882
DevLira
0
Ticaret - 0%
0   0   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!

Hi,

I have a bug with Tweeny Animation.. nearly every window animation work smooth but only windows with items like shop, safebox, offlineshop are glitching.. (inventory works)
They should close smoothly like other windows but instead of smooth close it glitch like it open,close,open,close,open,close.. below is .gif with exact problem.
It may not be easy to see on that .gif, but if someone uses the system they know.


Second problem is with auto close windows as shop.. when you get far it wont close a window.

Decreasing or increasing this value do nothing.. bug will be still there..
[CODE lang="cpp" title="PythonWindow.cpp" highlight="7"] if (IsFlag(FLAG_ANIMATED_BOARD))
{
if (m_bShow)
{
m_sizeAnimation = tweeny::from(1.0f)
.to(0.0f)
.during(120)[/CODE]

Anyone find some fix for any of these problems?

Thanks in advance
 
Son düzenleme:
Çözüm
Ticaret - 0%
0   0   0
I made a solution for the bug, it will work.



[CODE lang="python" title="shop"]# add
import

# add below

TEXT_TIME = 3

##########

uishop.py


# Search
self.tooltipItem = 0

# add
self.textCloseText = 0

# Search
self.ClearDictionary()

# add
self.textCloseText = 0

# Search
def OnUpdate(self):


# replace
def OnUpdate(self):
if app.GetTime() >= self.textCloseText:
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.textCloseText = app.GetTime() + TEXT_TIME...
I made a solution for the bug, it will work.



[CODE lang="python" title="shop"]# add
import

# add below

TEXT_TIME = 3

##########

uishop.py


# Search
self.tooltipItem = 0

# add
self.textCloseText = 0

# Search
self.ClearDictionary()

# add
self.textCloseText = 0

# Search
def OnUpdate(self):


# replace
def OnUpdate(self):
if app.GetTime() >= self.textCloseText:
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.textCloseText = app.GetTime() + TEXT_TIME
self.Close()



PythonWindow.cpp

# Search
void CWindow::Hide()

# Search
during(120)

# replace
during(50)










[/CODE]

It works :) but when you do during(50) it's so fast you can't even see hide animation..
 
I made a solution for the bug, it will work.



[CODE lang="python" title="shop"]# add
import

# add below

TEXT_TIME = 3

##########

uishop.py


# Search
self.tooltipItem = 0

# add
self.textCloseText = 0

# Search
self.ClearDictionary()

# add
self.textCloseText = 0

# Search
def OnUpdate(self):


# replace
def OnUpdate(self):
if app.GetTime() >= self.textCloseText:
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.textCloseText = app.GetTime() + TEXT_TIME
self.Close()



PythonWindow.cpp

# Search
void CWindow::Hide()

# Search
during(120)

# replace
during(50)










[/CODE]
uishop.py
Def close
self.RemoveFlag("animate")
yeterli.
 
Çözüm
Anyone knows a fix for the first bug? I knoiw it's from net.SendShopEndPacket() but I dont know how to solve it
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst