Jump to content

Recommended Posts

Posted

Hola alguien me podria hacer el favor de hacerme la quest para que cuando abra la tienda 9003 (potera) me de 2 opciones?

 

1- abrir la tienda potera

2- adquirir cambio bonus

 

Y si puede ser que no me deje adquirir mas cambios si no he gastado los 200 del inventario.

 

Mil gracias si alguien la hace.

Posted (edited)
quest test begin	state start begin		when 9003.chat."Armaduras" begin			setskin(NOWINDOW)			npc.open_shop(3)		-- Aqui abres tu Shop en tu base de datos con navicat y pones el numero que te ponga potera yo lo tengo en 3		end		when 9003.chat."Adquirir Cambio" begin			setskin(NOWINDOW)			pc.give_item2(71052)	- Aqui le pones el ID que deseas que quieras que el usuario reciba.			say("Has obtenido un cambiador 6/7")		end	endend

Bueno toma, espero que te funcione no la he probado

 

PD : Esta quest no es la que ha pedido el autor del post. Disculpen

Edited by gmprometheus
Posted

Viendo la prome creo que seria algo asi:

quest test begin	state start begin		when 9003.chat."Potera" begin			setskin(NOWINDOW)			npc.open_shop(3)		-- Aqui abres tu Shop en tu base de datos con navicat y pones el numero que te ponga potera yo lo tengo en 3		end		when 9003.chat."Adquirir Cambio" begin			setskin(NOWINDOW)			if pc.count_item(71052) > 0 then				chat("Lo siento , tienes que gastar tus 200 cambios")				return			else				pc.give_item2(71052,200)	-- Aqui le pones el ID que deseas que quieras que el usuario reciba.				chat("Has obtenido 200 cambios 6/7")			end		end	endend
Posted

 

Viendo la prome creo que seria algo asi:

quest test begin	state start begin		when 9003.chat."Potera" begin			setskin(NOWINDOW)			npc.open_shop(3)		-- Aqui abres tu Shop en tu base de datos con navicat y pones el numero que te ponga potera yo lo tengo en 3		end		when 9003.chat."Adquirir Cambio" begin			setskin(NOWINDOW)			if pc.count_item(71052) > 0 then				chat("Lo siento , tienes que gastar tus 200 cambios")				return			else				pc.give_item2(71052,200)	-- Aqui le pones el ID que deseas que quieras que el usuario reciba.				chat("Has obtenido 200 cambios 6/7")			end		end	endend

 

Gracias felipe pero el feo de akill creo que cambió la respuesta en el post o es que no lei del todo lo que dijo pero cuando hice el comentario ya con la quest hecha y vi esto:

 

"Y si puede ser que no me deje adquirir mas cambios si no he gastado los 200 del inventario."

 

Ya me descuadré por completo XDDD se referiría cambios normales el de cantidad xd ya eso es mucho para mi nivel bajo en quest.

Posted

Si me referia para cambios normales no los 6-7

Leiste mal feo pero gracias igualmente solo le faltaba esa opcion de que si tengo cambios no me venda más.

Posted

Hay una funcion que mira eso, miren el post de Noa/Croqueta en la seccion de quest juraria que ahi la vi.

Posted

Llenas el inventario de objetos que no quede ni un hueco, le das a la 2nda opción y empieza a dropear en el suelo los cambiar bonus, después tiras cosas y recoges, ya tienes el inventario lleno, ser más creativos hombre, que da penita ya...

Posted

Llenas el inventario de objetos que no quede ni un hueco, le das a la 2nda opción y empieza a dropear en el suelo los cambiar bonus, después tiras cosas y recoges, ya tienes el inventario lleno, ser más creativos hombre, que da penita ya...

 

Lo que da penita son comentarios como estos, da penita que siga habiendo gente criticando lo que la gente hace o intenta hacer, igualmente si quiero hacerlo mediante quest LO HAGO y punto, abstente a comentar cosas que no ayudan a la peticion que hice, o habrá que llamar a serex para que limpie.

Posted

Y bueno si a alguien más le hace falta lo del inventario aqui lo dejo.

 

#Creo que ya esta esto solucionado.

quest tienda begin	state start begin		when 9003.chat."Potera" begin			setskin(NOWINDOW)			npc.open_shop(3)		end		when 9003.chat."Adquirir Cambio" begin			setskin(NOWINDOW)			if pc.count_item(71084) > 0 then				chat("Lo siento , tienes que gastar tus 200 cambios")				return							elseif pc.get_empty_inventory_count() > 0 then				pc.give_item2(71084, 200)				chat("Has obtenido tus 200 cambios.")			end		end	endend
  • Dilong locked this topic
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.