BUG SOSETE

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

CUM FAC SA DISPARA SOSETELE CAND LE DUC PLAYERI LA MOS ?
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

up
Avatar utilizator
SHARK96
Nivel 2

Nivel 2
Mesaje: 239
Membru din: 11 Iul 2015, 16:01
Aprecieri: 7  
Mulţumiri: 0
Medalii

gandeste-te la cufarul ucenic si deschide questul,vezi cum este sintaxa la stergerea cufarului dupa deschidere si vezi cum adaugi in questul cu sosete.
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

UP
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

lasă questul aici
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Moș Natsu scrie:lasă questul aici

quest santa begin
state start begin
when 20095.chat."Event de Craciun: Panoul de control" begin
say_title("Eventul de craciun:")
if game.get_event_flag("xmas")==0 then
say("Eventul de craciun este oprit.")
say("Vrei sa il pornesti?")
local s1 = select("Da", "Nu")
if s1 == 1 then
say("Eventul a fost oprit!")
game.set_event_flag("xmas", 1)
notice_all("Eventul de craciun tocmai ce a inceput")
notice_all("Incepand de acum puteti dropa")
notice_all("Sosete si cadouri de la toti monstrii")
notice_all("Sarbatori fericite tuturor")
command("e xmas_snow 1")
command("e xmas_song 1")
else
return
end
else
say("Eventul de craciun este pornit")
say("Vrei sa il opresti?")
local s2 = select("Da", "Nu")
if s2 == 1 then
say("Eventul a fost pornit!")
game.set_event_flag("xmas", 0)
notice_all("Eventul de craciun a luat sfarsit")
notice_all("Speram ca ati castigat premii folositoare")
command("e xmas_snow 0")
command("e xmas_song 0")
end
end
end
when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin
local drop = number(1, 75)
if drop == 1 then
game.drop_item_with_ownership(50010, 1)
elseif drop == 2 then
game.drop_item_with_ownership(50010, 1)
elseif drop == 3 then
game.drop_item_with_ownership(50010, 1)
end
end
when 20031.chat."Sosete" begin
say_title("Mos Craciun")
if pc.count_item(50010) <= 4 then
say("Salut ".. pc.get_name())
say("Am o mica problema ... nu stiu cum sa iti spun")
say("dar din greseala mi-am pierdut toate sosetele!")
say("De fapt vroiam sa le umplu cu cadouri si sa")
say("le dau copiilor ... dar acum ...")
wait()
say("Daca gasesti sosetele te rog sa mi le aduci.")
say("Vei primi si o recompensa pentru ele!")
say("")
say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
else
say("Ach mi-ai gasit sosetele?")
say("Ce frumos!Mi le poti da?")
say("Vei primi o recompensa")
say("in schimb!")
local s3 = select("Poftim sosetele", "Nu iti dau nimic")
if s3 == 1 then
say_title("Mos craciun:")
say("Iti multumesc mult!")
say("Stai sa caut in sac")
say("sa vad ce am pentru")
say("tine ...")
wait()
local beutel = number(1, 5)
if beutel == 1 then
say("Ce frumos!Ai primit Artificii de Craciun ")
pc.give_item2(50106, 5)
elseif beutel == 2 then
say("Ce frumos!Ai primit Cufar com. Clar-de-luna")
pc.give_item2(50011, 5)
elseif beutel == 3 then
say("Ce frumos!Ai primit Vopsea de par")
pc.give_item2(71075, 1)
elseif beutel == 4 then
say("Ce frumos!Ai primit Vraja Schimbari")
pc.give_item2(71084, 1)
elseif beutel == 5 then
say("Ce frumos!Ai primit Pergament binecuvantat")
say("Succes")
pc.give_item2(25040, 5)
else
say("Ce frumos!Ai primit Manualul fierarului")
say("Succes")
pc.give_item2(70039, 1)
end
end
end
end
end
end
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

Cod: Selectaţi tot

quest santa begin 
state start begin 
when 20095.chat."Event de Craciun: Panoul de control" begin 
say_title("Eventul de craciun:") 
if game.get_event_flag("xmas")==0 then 
say("Eventul de craciun este oprit.") 
say("Vrei sa il pornesti?") 
local s1 = select("Da", "Nu") 
if s1 == 1 then 
say("Eventul a fost oprit!") 
game.set_event_flag("xmas", 1) 
notice_all("Eventul de craciun tocmai ce a inceput") 
notice_all("Incepand de acum puteti dropa") 
notice_all("Sosete si cadouri de la toti monstrii")
notice_all("Sarbatori fericite tuturor")
command("e xmas_snow 1")
command("e xmas_song 1")
else 
return 
end 
else 
say("Eventul de craciun este pornit") 
say("Vrei sa il opresti?") 
local s2 = select("Da", "Nu") 
if s2 == 1 then 
say("Eventul a fost pornit!") 
game.set_event_flag("xmas", 0) 
notice_all("Eventul de craciun a luat sfarsit")
notice_all("Speram ca ati castigat premii folositoare")
command("e xmas_snow 0")
command("e xmas_song 0")
end 
end 
end 
when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
local drop = number(1, 75) 
if drop == 1 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 2 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 3 then 
game.drop_item_with_ownership(50010, 1) 
end 
end 
when 20031.chat."Sosete" begin 
say_title("Mos Craciun") 
if pc.count_item(50010) <= 4 then 
say("Salut ".. pc.get_name()) 
say("Am o mica problema ... nu stiu cum sa iti spun") 
say("dar din greseala mi-am pierdut toate sosetele!") 
say("De fapt vroiam sa le umplu cu cadouri si sa") 
say("le dau copiilor ... dar acum ...") 
wait() 
say("Daca gasesti sosetele te rog sa mi le aduci.") 
say("Vei primi si o recompensa pentru ele!")
say("")
say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
else 
say("Ach mi-ai gasit sosetele?") 
say("Ce frumos!Mi le poti da?") 
say("Vei primi o recompensa") 
say("in schimb!") 
local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
if s3 == 1 then 
say_title("Mos craciun:") 
say("Iti multumesc mult!") 
say("Stai sa caut in sac") 
say("sa vad ce am pentru") 
say("tine ...")
wait() 
local beutel = number(1, 5) 
if beutel == 1 then 
say("Ce frumos!Ai primit Artificii de Craciun ") 
pc.give_item2(50106, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 2 then 
say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
pc.give_item2(50011, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 3 then 
say("Ce frumos!Ai primit Vopsea de par") 
pc.give_item2(71075, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 4 then 
say("Ce frumos!Ai primit Vraja Schimbari") 
pc.give_item2(71084, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 5 then 
say("Ce frumos!Ai primit Pergament binecuvantat") 
say("Succes") 
pc.give_item2(25040, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
else 
say("Ce frumos!Ai primit Manualul fierarului") 
say("Succes") 
pc.give_item2(70039, 1)
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
end 
end 
end 
end 
end 
end
P.S: Nu l-am încercat
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Avatar utilizator
MariusIkă
Nivel 2

Nivel 2
Mesaje: 178
Membru din: 28 Feb 2015, 16:15
Server: --.--
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 1  
Medalii

Natsu scrie:

Cod: Selectaţi tot

quest santa begin 
state start begin 
when 20095.chat."Event de Craciun: Panoul de control" begin 
say_title("Eventul de craciun:") 
if game.get_event_flag("xmas")==0 then 
say("Eventul de craciun este oprit.") 
say("Vrei sa il pornesti?") 
local s1 = select("Da", "Nu") 
if s1 == 1 then 
say("Eventul a fost oprit!") 
game.set_event_flag("xmas", 1) 
notice_all("Eventul de craciun tocmai ce a inceput") 
notice_all("Incepand de acum puteti dropa") 
notice_all("Sosete si cadouri de la toti monstrii")
notice_all("Sarbatori fericite tuturor")
command("e xmas_snow 1")
command("e xmas_song 1")
else 
return 
end 
else 
say("Eventul de craciun este pornit") 
say("Vrei sa il opresti?") 
local s2 = select("Da", "Nu") 
if s2 == 1 then 
say("Eventul a fost pornit!") 
game.set_event_flag("xmas", 0) 
notice_all("Eventul de craciun a luat sfarsit")
notice_all("Speram ca ati castigat premii folositoare")
command("e xmas_snow 0")
command("e xmas_song 0")
end 
end 
end 
when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
local drop = number(1, 75) 
if drop == 1 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 2 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 3 then 
game.drop_item_with_ownership(50010, 1) 
end 
end 
when 20031.chat."Sosete" begin 
say_title("Mos Craciun") 
if pc.count_item(50010) <= 4 then 
say("Salut ".. pc.get_name()) 
say("Am o mica problema ... nu stiu cum sa iti spun") 
say("dar din greseala mi-am pierdut toate sosetele!") 
say("De fapt vroiam sa le umplu cu cadouri si sa") 
say("le dau copiilor ... dar acum ...") 
wait() 
say("Daca gasesti sosetele te rog sa mi le aduci.") 
say("Vei primi si o recompensa pentru ele!")
say("")
say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
else 
say("Ach mi-ai gasit sosetele?") 
say("Ce frumos!Mi le poti da?") 
say("Vei primi o recompensa") 
say("in schimb!") 
local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
if s3 == 1 then 
say_title("Mos craciun:") 
say("Iti multumesc mult!") 
say("Stai sa caut in sac") 
say("sa vad ce am pentru") 
say("tine ...")
wait() 
local beutel = number(1, 5) 
if beutel == 1 then 
say("Ce frumos!Ai primit Artificii de Craciun ") 
pc.give_item2(50106, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 2 then 
say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
pc.give_item2(50011, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 3 then 
say("Ce frumos!Ai primit Vopsea de par") 
pc.give_item2(71075, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 4 then 
say("Ce frumos!Ai primit Vraja Schimbari") 
pc.give_item2(71084, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 5 then 
say("Ce frumos!Ai primit Pergament binecuvantat") 
say("Succes") 
pc.give_item2(25040, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
else 
say("Ce frumos!Ai primit Manualul fierarului") 
say("Succes") 
pc.give_item2(70039, 1)
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
end 
end 
end 
end 
end 
end
P.S: Nu l-am încercat
ce ai modificat la el ?
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

MariusIkă scrie:
Natsu scrie:

Cod: Selectaţi tot

quest santa begin 
state start begin 
when 20095.chat."Event de Craciun: Panoul de control" begin 
say_title("Eventul de craciun:") 
if game.get_event_flag("xmas")==0 then 
say("Eventul de craciun este oprit.") 
say("Vrei sa il pornesti?") 
local s1 = select("Da", "Nu") 
if s1 == 1 then 
say("Eventul a fost oprit!") 
game.set_event_flag("xmas", 1) 
notice_all("Eventul de craciun tocmai ce a inceput") 
notice_all("Incepand de acum puteti dropa") 
notice_all("Sosete si cadouri de la toti monstrii")
notice_all("Sarbatori fericite tuturor")
command("e xmas_snow 1")
command("e xmas_song 1")
else 
return 
end 
else 
say("Eventul de craciun este pornit") 
say("Vrei sa il opresti?") 
local s2 = select("Da", "Nu") 
if s2 == 1 then 
say("Eventul a fost pornit!") 
game.set_event_flag("xmas", 0) 
notice_all("Eventul de craciun a luat sfarsit")
notice_all("Speram ca ati castigat premii folositoare")
command("e xmas_snow 0")
command("e xmas_song 0")
end 
end 
end 
when kill with game.get_event_flag("xmas")==1 and not npc.is_pc() begin 
local drop = number(1, 75) 
if drop == 1 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 2 then 
game.drop_item_with_ownership(50010, 1) 
elseif drop == 3 then 
game.drop_item_with_ownership(50010, 1) 
end 
end 
when 20031.chat."Sosete" begin 
say_title("Mos Craciun") 
if pc.count_item(50010) <= 4 then 
say("Salut ".. pc.get_name()) 
say("Am o mica problema ... nu stiu cum sa iti spun") 
say("dar din greseala mi-am pierdut toate sosetele!") 
say("De fapt vroiam sa le umplu cu cadouri si sa") 
say("le dau copiilor ... dar acum ...") 
wait() 
say("Daca gasesti sosetele te rog sa mi le aduci.") 
say("Vei primi si o recompensa pentru ele!")
say("")
say_reward("Iti voi da o recompensa in schimbul a 5 sosete!")
else 
say("Ach mi-ai gasit sosetele?") 
say("Ce frumos!Mi le poti da?") 
say("Vei primi o recompensa") 
say("in schimb!") 
local s3 = select("Poftim sosetele", "Nu iti dau nimic") 
if s3 == 1 then 
say_title("Mos craciun:") 
say("Iti multumesc mult!") 
say("Stai sa caut in sac") 
say("sa vad ce am pentru") 
say("tine ...")
wait() 
local beutel = number(1, 5) 
if beutel == 1 then 
say("Ce frumos!Ai primit Artificii de Craciun ") 
pc.give_item2(50106, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 2 then 
say("Ce frumos!Ai primit Cufar com. Clar-de-luna") 
pc.give_item2(50011, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 3 then 
say("Ce frumos!Ai primit Vopsea de par") 
pc.give_item2(71075, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 4 then 
say("Ce frumos!Ai primit Vraja Schimbari") 
pc.give_item2(71084, 1) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
elseif beutel == 5 then 
say("Ce frumos!Ai primit Pergament binecuvantat") 
say("Succes") 
pc.give_item2(25040, 5) 
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
else 
say("Ce frumos!Ai primit Manualul fierarului") 
say("Succes") 
pc.give_item2(70039, 1)
pc.removeitem(AICI PUI CODUL SOSETEI, 1)
end 
end 
end 
end 
end 
end
P.S: Nu l-am încercat
ce ai modificat la el ?

Cauți

Cod: Selectaţi tot

pc.removeitem(AICI PUI CODUL SOSETEI, 1)
și pui codul.
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Avatar utilizator
B.Eduard
Video Artist

Video Artist
Mesaje: 7548
Membru din: 08 Aug 2013, 10:42
Regat: Jinno
Aprecieri: 280  
Mulţumiri: 1145  
 Contact:
Medalii

Răspuns primit, subiect marcat ca rezolvat!
Afișează semnătura
Închis
Răspunsuri
8
Vizualizări
385
Răspunsuri
5
Vizualizări
399
Răspunsuri
2
Vizualizări
247
Răspunsuri
3
Vizualizări
400

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 6 vizitatori