ZyuX 672 Posted March 5, 2018 Share Posted March 5, 2018 Hy guys, I have a problem with refreshing for coins in inventory. I need to relog to refresh coins in inventory. I want to do like moneys. Any ideeas? uiinventory.py:https://pastebin.com/hHfFaUbP Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 6, 2018 Author Share Posted March 6, 2018 Bump! Link to comment Share on other sites More sharing options...
Premium Jfirewall 280 Posted March 6, 2018 Premium Share Posted March 6, 2018 def OnUpdate(self): if app.ENABLE_COINS_INVENTORY: self.wndCoins.SetText(localeInfo.NumberToSecondaryCoinString(constInfo.Coins)) def RefreshStatus(self): money = player.GetElk() self.wndMoney.SetText(localeInfo.NumberToMoneyString(money)) if app.ENABLE_COINS_INVENTORY: self.wndCoins.SetText(localeInfo.NumberToSecondaryCoinString(constInfo.Coins)) 1 Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 7, 2018 Author Share Posted March 7, 2018 No, doesn't work: unindent does not match any outer indentation level (uiInventory.py, line 1587) Line 1587: if app.ENABLE_COINS_INVENTORY: def OnUpdate(self): self.wndCoins.SetText(localeInfo.NumberToSecondaryCoinString(constInfo.Coins)) EDIT: My fault, I've added but coins doesn't refreshing. Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 8, 2018 Author Share Posted March 8, 2018 BUMP! Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 9, 2018 Author Share Posted March 9, 2018 Bump! Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 11, 2018 Author Share Posted March 11, 2018 BUMP! Link to comment Share on other sites More sharing options...
ZyuX 672 Posted March 16, 2018 Author Share Posted March 16, 2018 BUMP! Link to comment Share on other sites More sharing options...
emanuel 18 Posted April 10, 2018 Share Posted April 10, 2018 Sistem need a quest with loop_timer for that.. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now