Problema sistem Gaya

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
george9099
Nivel 1

Nivel 1
Mesaje: 100
Membru din: 25 Oct 2015, 10:36
Server: -
Regat: Jinno
Aprecieri: 96  
Mulţumiri: 3  
  Rezolvări prob.: 1
Medalii

*Problemă/Întrebare: Am incercat 2 sisteme de gaya si ambele fac lafel, primul de pe turkmmo si al doilea de aici
Tipologie server: -
*Resursă folosită: sursa/gaya-t77359.html
*ServerFiles utilizat:-
*Syserr:
SYSERR: Dec 22 11:09:32 :: RunState: LUA_ERROR: [string "gaya"]:11: attempt to call field `open_gem_shop' (a nil value)
SYSERR: Dec 22 11:09:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest gaya.start click

Poză:-
*Detalii suplimentare: Cand dau click pe Piata Gaya cu vnumul 20504, si dau sa deschid fereastra (piata gaya), nu se intampla nimic si primesc eroarea aceea in chan syserr
Avatar utilizator
Thyred
Mister Just4Metin

Mister Just4Metin
Mesaje: 293
Membru din: 12 Iun 2019, 23:02
Regat: Jinno
Aprecieri: 533  
Mulţumiri: 170  
Discord: Copiază ID
Medalii

vezi si tu in quest-ul de la gaya
Imagine
Afișează semnătura
Avatar utilizator
george9099
Nivel 1

Nivel 1
Mesaje: 100
Membru din: 25 Oct 2015, 10:36
Server: -
Regat: Jinno
Aprecieri: 96  
Mulţumiri: 3  
  Rezolvări prob.: 1
Medalii

Parsley scrie: ↑25 Dec 2021, 14:11 vezi si tu in quest-ul de la gaya
quest gaya begin
state start begin
function CreateGaya()
say("I need 10 "..item_name(item.vnum)..", 5000 yang plus")
say("a level +0, +1, +2 or +3 Spirit Stone")
say("in order to craft a valuable Gaya.")
say("")

say("My succes rate is 30%... oh, and it'll cost you")
say("5000 Yang.")
say("Shall I continue?")
say("")

local s = select("Yes", "No")
if s == 1 then
if pc.get_gold() < 5000 then
return
end

local SELECTED_CELL = select_item_ex()
if SELECTED_CELL == 6969 then
return
end

local old_item = item.get_id()
if not item.select_cell(SELECTED_CELL) then
say("That is not the item that is needed.")
say("")
return
end

if item.vnum < 28000 or item.vnum >= 28400 then
say("You have chosen the wrong item.")
say("")
return
end

item.select(old_item)

if pc.create_gaya(5000, 30, SELECTED_CELL, 10) then
syschat("[Gaya] Amount of Gaya: 1")
syschat("[Gaya] Cutting successful.")
else
syschat("[Gaya] Cutting failed.")
end

gaya.CreateGayaWithoutText()
end
end

function CreateGayaWithoutText()
local SELECTED_CELL = select_item_ex()
if SELECTED_CELL == 6969 then
return
end

local old_item = item.get_id()
if not item.select_cell(SELECTED_CELL) then
say("That is not the item that is needed.")
say("")
return
end

if item.vnum < 28000 or item.vnum >= 28400 then
say("You have chosen the wrong item.")
say("")
return
end

item.select(old_item)

if pc.create_gaya(5000, 30, SELECTED_CELL, 10) then
syschat("[Gaya] Amount of Gaya: 1")
syschat("[Gaya] Cutting successful.")
else
syschat("[Gaya] Cutting failed.")
end

gaya.CreateGayaWithoutText()
end

when 20503.take with item.vnum == 50926 begin
gaya.CreateGaya()
end

when 20503.click begin
local s=select("Cut Glimmerstones", "Close")
if s==1 then
say("Do yo want to cut your Glimmerstones into a Gaya")
say("now?")
say("Please give me this amount of Glimmerstones: 10 ")
end
end

when 20504.click begin
local s1=select("What is the Gaya Market?", "Close")
if s1==1 then
say("Have you heard about he Gaya Market?")
say("No? Ah, it's well worth a visit. You can purchase")
say("really fine goods there.")
say("Sometimes you can even came across extremely")
say("valuable commodities.")
say("Do you want to open the Gaya Market now ?")

local s2=select("Yes", "No")
if s2==1 then
pc.open_gem_shop()
end
end
end

end
end
--[[ Gem Shop Open Quest ]]

quest gem_shop_open begin
state start begin
when 20504.click begin
local s1=select("What is the Gaya Market?", "Close")
if s1==1 then
say("Have you heard about he Gaya Market?")
say("No? Ah, it's well worth a visit. You can purchase")
say("really fine goods there.")
say("Sometimes you can even came across extremely")
say("valuable commodities.")
say("Do you want to open the Gaya Market now ?")

local s2=select("Yes", "No")
if s2==1 then
pc.open_gem_shop()
end
end
end
end
end
Avatar utilizator
Thyred
Mister Just4Metin

Mister Just4Metin
Mesaje: 293
Membru din: 12 Iun 2019, 23:02
Regat: Jinno
Aprecieri: 533  
Mulţumiri: 170  
Discord: Copiază ID
Medalii

tot ce iti pot recomanda e sa incerci sa folosesti quest-urile din alt server cu gaya functional.. incearca si asa
Imagine
Afișează semnătura
Avatar utilizator
george9099
Nivel 1

Nivel 1
Mesaje: 100
Membru din: 25 Oct 2015, 10:36
Server: -
Regat: Jinno
Aprecieri: 96  
Mulţumiri: 3  
  Rezolvări prob.: 1
Medalii

Am incercat si nu merge...
Avatar utilizator
george9099
Nivel 1

Nivel 1
Mesaje: 100
Membru din: 25 Oct 2015, 10:36
Server: -
Regat: Jinno
Aprecieri: 96  
Mulţumiri: 3  
  Rezolvări prob.: 1
Medalii

Nu stie nimeni care ar putea fi problema?
Avatar utilizator
george9099
Nivel 1

Nivel 1
Mesaje: 100
Membru din: 25 Oct 2015, 10:36
Server: -
Regat: Jinno
Aprecieri: 96  
Mulţumiri: 3  
  Rezolvări prob.: 1
Medalii

Am rezolvat problema, dar am alta acum.
Am implementat: https://metin2.dev/topic/21006-expanded-money-taskbar/
si imi apare asa la gaya:
Închis
Răspunsuri
8
Vizualizări
1223
Răspunsuri
2
Vizualizări
326
Răspunsuri
2
Vizualizări
418

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 47 vizitatori