Nukayool Posted November 9, 2017 at 01:44 PM Share Posted November 9, 2017 at 01:44 PM Boas Malta, Estou com um problema no sistema de mudar de CH Se alguém conseguir ajudar Quote 1109 13:39:13697 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR 1109 13:40:34504 :: Traceback (most recent call last): 1109 13:40:34504 :: File "ui.py", line 1435, in CallEvent 1109 13:40:34504 :: File "game.py", line 2622, in __switch_channel 1109 13:40:34504 :: File "uiChannel.py", line 17, in __init__ 1109 13:40:34504 :: File "uiChannel.py", line 132, in __Fill_Up_ChannelList 1109 13:40:34504 :: File "uiChannel.py", line 138, in __RequestServerStateList 1109 13:40:34504 :: File "uiChannel.py", line 129, in __GetServerID 1109 13:40:34504 :: UnboundLocalError 1109 13:40:34504 :: : 1109 13:40:34504 :: local variable 'serverID' referenced before assignment 1109 13:40:34504 :: Cumpz Link to comment Share on other sites More sharing options...
Marco Posted November 9, 2017 at 01:52 PM Share Posted November 9, 2017 at 01:52 PM Qual é a base que estás a usar? Eu vi um que também requer source e meti sem problemas Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted November 9, 2017 at 02:10 PM Share Posted November 9, 2017 at 02:10 PM local variable 'serverID' referenced before assignment Isso acontece neste caso por exemplo: if (ASD == 1) then blabla; int ASD == 1; Quando deveria ser assim (definir/chamar a variável antes de a utilizar): int ASD == 1; if (ASD == 1) then blabla; Deve estar a acontecer o mesmo com a tua serverID Link to comment Share on other sites More sharing options...
Nukayool Posted November 9, 2017 at 06:06 PM Author Share Posted November 9, 2017 at 06:06 PM (edited) 4 hours ago, Tierri Lopes said: local variable 'serverID' referenced before assignment Isso acontece neste caso por exemplo: if (ASD == 1) then blabla; int ASD == 1; Quando deveria ser assim (definir/chamar a variável antes de a utilizar): int ASD == 1; if (ASD == 1) then blabla; Deve estar a acontecer o mesmo com a tua serverID Eu na linha 129 tenho assim: Eu já corrigi contudo o erro que me acontece é como este: Não aparece os CH´s Estou a usar o mudar ch do kori Edited November 9, 2017 at 06:25 PM by Nukayool Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now