• Announcement:
    In order to download VIP files, you need to UPGRADE your account.

Solved float division by zero

Metin2Hub New World
Co-Admin
Valuable
Premium
VIP
Designer
Developer
Aug
Threads
47
581
1
413
63
Erzurum, Turkey
HubMoney
1,975
hello everyone, When dismantling the offline shop, I get a syserr like this;

Code:
1022 04:26:18243 :: Traceback (most recent call last):







1022 04:26:18243 :: File "uiPhaseCurtain.py", line 61, in OnUpdate







1022 04:26:18243 :: File "networkModule.py", line 150, in __ChangePhaseWindow







1022 04:26:18244 :: File "game.py", line 230, in Open







1022 04:26:18244 :: File "uiofflineshop.py", line 2795, in __init__







1022 04:26:18244 :: File "uiofflineshop.py", line 2988, in __loadWindow







1022 04:26:18245 :: File "uiofflineshop.py", line 3254, in __MakeMyShopItemsTable







1022 04:26:18245 :: File "uiofflineshop.py", line 829, in __init__







1022 04:26:18245 :: File "uiofflineshop.py", line 890, in __loadScrollbar







1022 04:26:18245 :: File "ui.py", line 4794, in __init__







1022 04:26:18245 :: File "ui.py", line 4877, in __SetAlign







1022 04:26:18245 :: File "ui.py", line 4885, in SetScrollBarLength







1022 04:26:18246 :: ZeroDivisionError



1022 04:26:18246 :: :



1022 04:26:18246 :: float division by zero



1022 04:26:18246 ::



I included both the py's of the files I removed and my own py's, thanks in advance to those who will help.
 
Solution
Let me first state that the memfuncs in avenor and the memfuncs in your file do not match, probably check them

TR:
şunu ilk başta belirteyim avenordaki memfunclar ve sizin dosyanızdaki memfunclar uyuşmuyordur büyük ihtimal bunları kontrol edin
Thank you, the problem was not caused there, I forgot to mention it under the topic. It was giving the error due to the lack of visuals, but when the missing visuals were completed, the problem disappeared.

TR;
teşekkür ederim, sorun oradan kaynaklı değildi konu altında belirtmeyi unutmuşum. Görsel eksikliğinden dolayı hatayı veriyormuş eksik görselleri tamamlayınca sorun ortadan kalktı.
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,623
1
660
113
HubMoney
1,025
hello everyone, When dismantling the offline shop, I get a syserr like this;

Code:
1022 04:26:18243 :: Traceback (most recent call last):







1022 04:26:18243 :: File "uiPhaseCurtain.py", line 61, in OnUpdate







1022 04:26:18243 :: File "networkModule.py", line 150, in __ChangePhaseWindow







1022 04:26:18244 :: File "game.py", line 230, in Open







1022 04:26:18244 :: File "uiofflineshop.py", line 2795, in __init__







1022 04:26:18244 :: File "uiofflineshop.py", line 2988, in __loadWindow







1022 04:26:18245 :: File "uiofflineshop.py", line 3254, in __MakeMyShopItemsTable







1022 04:26:18245 :: File "uiofflineshop.py", line 829, in __init__







1022 04:26:18245 :: File "uiofflineshop.py", line 890, in __loadScrollbar







1022 04:26:18245 :: File "ui.py", line 4794, in __init__







1022 04:26:18245 :: File "ui.py", line 4877, in __SetAlign







1022 04:26:18245 :: File "ui.py", line 4885, in SetScrollBarLength







1022 04:26:18246 :: ZeroDivisionError



1022 04:26:18246 :: :



1022 04:26:18246 :: float division by zero



1022 04:26:18246 ::



I included both the py's of the files I removed and my own py's, thanks in advance to those who will help.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Metin2Hub New World
Admin
Valuable
Premium
VIP
Metin2Hub Booster
Designer
Developer
Feb
Threads
147
890
2,440
93
HubMoney
2,853
i think you are using matysama sf and you missing functions on your ui.py check with other sf what are you missing
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock