antiblock
Rodnia | Alpha & Omega
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
obetuno

Sistema Day-Night Em Phyton Com Skybox

37 posts in this topic

antiblock
diamwall

E descompactada o locale_de, tem lá por exemplo "source/locale/de/....?

Share this post


Link to post
Share on other sites

Está assim: locale_de_descompiladolocalede

Share this post


Link to post
Share on other sites

agora simplesmente depois de escolher a personagem a pagina de carregamento nao passa dai..

Share this post


Link to post
Share on other sites

se isso funciona pela hora do computador quer dizer que nao é igual para todos os jogadores? uns vao ter noite e outros dia ao mesmo tempo?

Share this post


Link to post
Share on other sites

Acredito que funcione pelo horário do servidor independente de região, se esta claro esta claro para todos se noite então esta noite para todos, até porque se um jogasse de manha e outro a noite não faria muito sentido..

Share this post


Link to post
Share on other sites

e pela hora do computador e n do servidoreu testei a mudar a hora do pc (nao tenho o servidor neste pc) e o céu muda

Share this post


Link to post
Share on other sites

Pessoal esse erro esta no
PASSO 4 = Procurem pela linha: def __init__(self, stream):

E abaixo acrescente:

Citar

day.nacht = 0
day.tag = 0
Alguiem ajuda porfa podem mostrar o vosso como ficou??

Share this post


Link to post
Share on other sites

a min não fonciou 

 

porque não posta um trecho de quest com os codigos escritos assim evitava erro de tabulação 

 

no meu sys error está assim 

 

0609 16:05:24109 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0609 16:05:33654 :: Traceback (most recent call last):
 
0609 16:05:33655 ::   File "networkModule.py", line 245, in SetGamePhase
 
0609 16:05:33655 ::   File "system.py", line 130, in __pack_import
 
0609 16:05:33655 ::   File "
0609 16:05:33655 :: <string>
0609 16:05:33655 :: ", line 
0609 16:05:33655 :: 2246
0609 16:05:33655 :: 
 
0609 16:05:33655 ::     
0609 16:05:33655 :: def day_night(self):
 
0609 16:05:33655 ::     
0609 16:05:33655 :: ^
 
0609 16:05:33655 :: SyntaxError
0609 16:05:33655 :: : 
0609 16:05:33655 :: invalid syntax
0609 16:05:33655 :: 

Share this post


Link to post
Share on other sites

a mim deu o mesmo erro do RealJ

 

Edit: Vou colocar de acordo com o tutorial (uso client Lauling)

 

Arquivo constinfo.py em baixo daquela linha que tu mensionou: 

 

djXfp1o.png

 

arquivo game.py logo no inicio

 

2nWi5Wo.png

 

Linha def __init__(self, stream): 

 

s7Sgv2H.png

 
Linha Def OnUpdate(self):
 

5ei6d2B.png 

 
 
minha linha no final do arquivo
 

etjbE7K.png 

 
dei um ENTER e acrescentei abaixo o code , e na ultima linha dei um ENTER 
 

3ZDqb0P.png

YNTmheo.png 

 

e o mesmo aparece dpois do login e senha, a aba de carregamento ate o final, mas nao sai disso... 

 

A mim acontece me o mesmo, fica no carregamento ate ao final e nao sai...

 

 

Alguem me pode ajudar?

Share this post


Link to post
Share on other sites
0722 19:25:17521 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR

0722 19:25:18308 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.

0722 19:25:25210 :: Traceback (most recent call last):

 

0722 19:25:25210 ::   File "networkModule.py", line 231, in SetGamePhase

 

0722 19:25:25210 ::   File "system.py", line 130, in __pack_import

 

0722 19:25:25211 ::   File "

0722 19:25:25211 :: <string>

0722 19:25:25211 :: ", line 

0722 19:25:25211 :: 2054

0722 19:25:25211 :: 

 

0722 19:25:25211 ::     

0722 19:25:25211 :: background.RegisterEnvironmentData(1, constInfo.ENVIRONMENT_NIGHT) 

 

0722 19:25:25211 ::     

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 ::  

0722 19:25:25211 :: ^

 

0722 19:25:25211 :: IndentationError

0722 19:25:25211 :: : 

0722 19:25:25211 :: expected an indented block

0722 19:25:25211 :: 

Share this post


Link to post
Share on other sites

Toma atenção com as TABS.

Share this post


Link to post
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