Jump to content

Recommended Posts

Posted

Hola, tengo 2 duditas, una de ellas:

 

  • En el syser del cliente me sale este error, si alguno sabria decirme como repararlo:
0507 21:54:32027 ::   File "game.py", line 871, in BINARY_NEW_AddAffect0507 21:54:32028 ::   File "uiAffectShower.py", line 610, in BINARY_NEW_AddAffect0507 21:54:32028 :: TypeError0507 21:54:32028 :: : 0507 21:54:32028 :: 'str' object is not callable0507 21:54:32028 :: 0507 21:54:32028 :: Traceback (most recent call last):0507 21:54:32029 ::   File "game.py", line 871, in BINARY_NEW_AddAffect0507 21:54:32029 ::   File "uiAffectShower.py", line 610, in BINARY_NEW_AddAffect0507 21:54:32029 :: TypeError0507 21:54:32029 :: : 0507 21:54:32029 :: 'str' object is not callable0507 21:54:32029 :: 
  • El otro es en una quest, quier ponerle un tiempo limite de 2 horas cuando entras en un mapa, y cada 30 minutos decir el tiempo que queda para teleportar al pj a city.

 

 

Gracias de ante pierna.

Posted

Te resuelvo la duda 2

--Quest Elaborada por [ADM]Vagoo de metin2Inferis Contacto: r-rangel1993quest control_mapa begin	state start begin		when login with pc.get_map_index()== 1 begin --Aqui colocas el index del mapa			pc.setqf("limite", 120 ) --cantidad de minutos limite			loop_timer("tiempo_restante", 60*30) -- 60*30 es el tiempo en segundos que quieres que se muestre el mensaje		end		when tiempo_restante.timer begin			if pc.getqf("limite") == 0 then				chat("El tiempo se te ha agotado... Seras transportado a la ciudad")				warp_to_village()			else				chat("Te quedan "..pc.getqf("limite").." Minutos en el mapa")				pc.setqf("limite", pc.getqf("limite") - 30 )						end		end	endend

Trate de ser lo mas explicado que pude en los 5 minutos que le dedique a resolver tu duda. No he probado la quest pero debería funcionar... 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.