Jump to content

[ERRO] Mudar CH em game


Nukayool
 Share

Recommended Posts

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

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

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:

 

99276f0c347adaee75357530a16c8300.png

 

Não aparece os CH´s

Estou a usar o mudar ch do kori

 

Edited by Nukayool
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...