Jump to content
Sign in to follow this  
.hack//ROOTS

input Input Problem - INPUT_IGNORE = 0 - error cuando se insta un nuevo sistema e te sale una opcion de quest al iniciar el sistema.

Recommended Posts

RwnViDk.png

 

XOkxAxh.pngGvuSVor.png

Quote

root: game.py

#Buscar:
	def OpenQuestWindow(self, skin, idx):

#Agrega abajo:
		if constInfo.INPUT_IGNORE == 1:
			return
#Buscar:
	def __ServerCommand_Build(self):
		serverCommandList={

#Agrega abajo:
			"getinputbegin"			: self.__Inputget1,
			"getinputend"			: self.__Inputget2,

#Añadir al final del archivo: 	def __PlayMusic(self, flag, filename):
	def __Inputget1(self):
		constInfo.INPUT_IGNORE = 1 
	def __Inputget2(self):
		constInfo.INPUT_IGNORE = 0

constinfo.py

#Añadir a la parte superior del archivo
INPUT_IGNORE = 0

Cree un archivo, p. Ej. con el nombre quest_function.lua y escríbalo en:

function getinput(par)
	cmdchat("getinputbegin")
	local ret = input(cmdchat(par))
	cmdchat("getinputend")
	return ret
end

Ahora ve a questlib.lua y escribe esto:

dofile(get_locale_base_path().."/quest/quest_funktion.lua")

Y en el archivo questfunctions escribe esto al final o al principio:

getinput

 

Creditos a: RoyalSun322

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...