antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
TMoore

Compilar/traduzir/apagar/adicionar Quests

15 posts in this topic

antiblock
diamwall

Antes de mais, :+1: pelo tutorial ..

 

Mas o sistema que me está a lixar a cabeça chama-se sistem_intraburi.lua .. como removo .. ? Já que isto não se encontra na quest_list ..

Share this post


Link to post
Share on other sites

Basta correr o quest.py.

 

Ele irá apagar tudo, e recompilar apenas com as quests que estão na lista, ou seja, tudo o resto que ficou para trás (no teu caso) irá desaparecer.

Share this post


Link to post
Share on other sites

Não funcionou .. coloquei o ficheiro quest.py no directório: cd /usr/home/game/share/locale/germany/quest

 

Seguidamente introduzi os seguintes comandos na máquina virtual, tal como disseste:

 

cd /usr/home/game/share/locale/germany/quest

python quest.py

 

Após tudo isso feito, aparece o seguinte erro:

 

Imagem colocada

 

Sabes de onde vem o problema e como resolver? ._.

 

:+1:

Share this post


Link to post
Share on other sites

Sim, é porque as tuas não utilizam o  pre_qc.

 

Abre o ficheiro quest.py, e substitui o código por este:

 

#!/usr/bin/env python
import sys
import os
import subprocess
import shutil
shutil.rmtree("object", True)
 
os.mkdir("object")
 
for filename in open("locale_list", "r"):
if subprocess.call(".{0}qc {1}".format(os.sep, filename), shell=True):
print("Error occured on compiling {0}".format(filename))
sys.exit(1)
 
sys.exit(0)
 

Share this post


Link to post
Share on other sites

Olá,

 

Primeiramente as minhas sv files não teem o locale_list, mas sim quest_list, daí no código novo que me deste alterei locale_list para quest_list ..

 

Como tentar não custa, tentei das 2 maneiras ( locale_list e quest_list ) e ocorre tambem um erro ..

 

Imagem colocada

 

Sabes do que é .. ? -_-

Share this post


Link to post
Share on other sites

team viewer sff, deixa-me ver ai

Share this post


Link to post
Share on other sites

team viewer sff, deixa-me ver ai

Deixa aí o teu skype sff

Share this post


Link to post
Share on other sites

conseguiram resolução para o problema que o xSystem tem? é que está-me a acontecer exactamente o mesmo :S

Share this post


Link to post
Share on other sites

Sim, é porque as tuas não utilizam o  pre_qc.

 

Abre o ficheiro quest.py, e substitui o código por este:

 

#!/usr/bin/env python
import sys
import os
import subprocess
import shutil
shutil.rmtree("object", True)
 
os.mkdir("object")
 
for filename in open("locale_list", "r"):
if subprocess.call(".{0}qc {1}".format(os.sep, filename), shell=True):
print("Error occured on compiling {0}".format(filename))
sys.exit(1)
 
sys.exit(0)
 

 

A versão sem pre_qc

Share this post


Link to post
Share on other sites

também utilizei isso e continuou na mesma sem sem funcionar, deu este erro:

 

 
root@root:/usr/home/game/quest # python quest.py
  File "quest.py", line 11
    if subprocess.call(".{0}qc {1}".format(os.sep, filename), shell=True):
     ^
IndentationError: expected an indented block

Share this post


Link to post
Share on other sites

TMoore and the tabulation cancer rç.

 

Bom topico +1

Share this post


Link to post
Share on other sites

funcionou, obrigado :)

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
Sign in to follow this