[Rezolvat]"Nu am putut incarca oxquiz.lua"

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

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

Stiu ca au mai postat si altii dar nu m-a ajutat nimic din raspunsurile de acolo.
Stiti o rezolvare? Am vazut ca cineva a spus "aveam un . in loc de , acum rezolvat"
Unde e punctul sau virgula aia ?
  • quest oxevent_manager begin
    state start begin
    when login with pc.get_map_index() == 113 begin
    say("")
    say("")
    say("")
    say("")
    say_title("Competitia OX")
    say("")
    say("Aici se adunã cele mai strãlucite minti din cele")
    say("trei regate pentru concursul de inteligentã.")
    say("În timpul acestui test, mai multe întrebari cu")
    say("privire la orice subiect va fi afisate.")
    say("Deplasati-vã la O, dacã credeti cã raspunsul,")
    say("este adevãrat iar dacã este fals la X.")
    say("Doar cei mai buni vor fi premiati!")
    say("")
    end

    when letter with pc.get_map_index() == 113 begin
    send_letter("Pãrãseste competitia OX")
    end

    when button or info begin
    say_title("Pãrãseste competitia OX")
    say("Esti sigur cã vrei sã pãrãsesti competitia?")
    say("")
    local s=select("Da","Nu")

    if s==2 then
    send_letter("Pãrãseste competitia OX")
    return
    end

    local empire = pc.get_empire()
    if empire== 1 then
    pc.warp(473900, 954600)
    elseif empire == 2 then
    pc.warp(63200, 166700)
    elseif empire == 3 then
    pc.warp(959600, 269700)
    end
    end

    when 20011.chat."Competiþia OX" begin
    say_title("Uriel, învãtatul:")
    say("")
    say("Hey, tu de acolo! Da, da tu - vino pânã aici!")
    say("Hai sã iti arãt ceva interesant.")
    say("Competiþia OX. Eu te pot duce acolo.")
    say("Am auzit cã poþi castiga premii interesante!")
    say("")
    wait()
    if pc.get_level() < 35 then
    say_title("Uriel, învãtatul:")
    say("")
    say("Îmi pare rãu, dar nu ai nivelul necesar pentru")
    say("a participa.")
    say("")
    say_reward("Nivelul minim pentru participare: 35")
    say("")
    return
    end
    if game.get_event_flag("oxevent_status") == 0 then
    say_title("Uriel, învãtatul:")
    say("")
    say("Momentan nu am auzit cã se desfãsoarã nici")
    say("o competitie. Te voi anunta eu când aflu ceva.")
    say("")
    elseif game.get_event_flag("oxevent_status") == 1 then
    say_title("Uriel, învãþatul:")
    say("")
    say("Doresti sã participi la competiþie")
    say("sau doar sã te uiti?")
    say("")

    local s = select( "Particip" , "Spectator", "Înapoi" )

    if s == 1 then
    say_title("Uriel, învãtatul:")
    say("")
    say("Imediat te voi duce la competitie.")
    say("Succes.")
    say("")
    horse.unride()
    horse.unsummon()
    wait()
    pc.warp(896500, 24600)

    elseif s == 2 then
    say_title("Uriel, învãtatul:")
    say("")
    say("Vrei sa fii doar spectator? Ok, alegerea ta.")
    say("Imediat vei fi teleportat.")
    say("")
    horse.unride()
    horse.unsummon()
    wait()
    pc.warp(896300, 28900)
    end

    elseif game.get_event_flag("oxevent_status") == 2 then
    say_title("Uriel, învãþatul:")
    say("")
    say("Îmi pare rãu, dar competitia a început deja ...")
    say("Dar, dacã vrei, mai poþi participa ca spectator.")
    say("")
    local s = select( "Particip" , "Înapoi")

    if s == 1 then
    say_title("Uriel, învãtatul:")
    say("")
    say("Imediat vei fi teleportat.")
    say("")
    horse.unride()
    horse.unsummon()
    wait()
    pc.warp(896300, 28900)
    end
    end
    end

    when 20358.chat."GM: Panou competitie OX" with pc.is_gm() begin
    local stat = oxevent.get_status()

    if stat == 0 then
    say_gm_title("Panou competitie OX")
    say_gm("")
    say_gm("Începe OX?")
    say_gm("")

    local s = select( "Da" , "Nu")
    if s==2 then return end
    local v = oxevent.open()
    if v == 0 then
    say_gm_title("Panou competitie OX")
    say_gm("")
    say_gm("Nu am putut încãrca întrebãrile.")
    say_gm("")
    return
    elseif v == 1 then
    say_gm_title( "Panou competitie OX" )
    say_gm("")
    say_gm("Competitia OX a început.")
    say_gm("")
    notice_all("ATENTIE !!!")
    notice_all("Competitia OX a început! Pentru a intra la concurs, mergeti la Uriel.")
    notice_all("Succes tuturor!")
    else
    say("Error1")
    return
    end

    elseif stat == 1 then
    say_gm_title( "Panou competitie OX" )
    say_gm("")
    say_gm("Portile sunt încã deschise.")
    say_gm("Jucãtori intrati: "..oxevent.get_attender())
    say_gm("")

    local s = select("Închide portile", "Înapoi")

    if s == 1 then
    notice_all("Porþile competiþiei OX au fost închise. Mult noroc participantilor.")
    oxevent.close()
    end

    elseif stat == 2 then
    say_gm_title("Panou competitie OX")
    say_gm("")
    say_gm("Ce doresti sã faci?")
    say_gm("")
    local s = select("Adreseazã întrebare","Oferã un premiu participantilor","Închide competitia","Anuleazã competitia","Înapoi")

    if s == 1 then
    local v = oxevent.quiz(1, 30)
    if v == 0 then
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Eroare adresare întrebare.")
    say("")
    return
    else
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Întrebare adresatã cu succes.")
    say("")
    return
    end
    elseif s == 2 then
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Parolã:")
    say("")
    local sname = input()
    if sname == "m2" then

    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Adaugã obiect:")
    say("")

    local item_vnum = input()

    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Adaugã numãr articole:")
    say("")

    local item_count = input()
    oxevent.give_item(item_vnum, item_count)

    say_gm_title("Panou competitie OX" )
    say("")
    say_gm("Participantii au primit "..item_name(item_vnum))
    say("")

    notice_all("Participantii competitei OX au primit "..item_count.."x"..item_name(item_vnum))
    end
    elseif s == 3 then
    oxevent.end_event()
    notice_all("Competitia OX a luat sfârsit.")
    setskin(0)
    elseif s == 4 then
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Esti sigur cã vrei sã opresti competitia?")
    say("")
    local s = select("Da", "Nu")

    if s == 1 then
    oxevent.end_event_force()
    end
    elseif s == 5 then
    return
    end

    elseif stat == 3 then
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Momentan este o întrebare adresatã.")
    say("")
    else
    say_gm_title("Panou competitie OX")
    say("")
    say_gm("Eroare.")
    say("")
    return
    end
    end

    end
    end
scriptul din 20358:
  • local stat = oxevent . get_status ( )
    if stat == 0 then
    say_title ( "Concursul OX" )
    say ( "Incepe OX?" )
    local s = select ( "Da" , "Nu" )
    if s == 2 then return end
    local v = oxevent . open ( )
    if v == 0 then
    say_title ( "Concursul OX" )
    say ( "Nu am putut incarca oxquiz.lua" )
    return
    elseif v == 1 then
    say_title ( "Concursul OX" )
    say ( "Concursul OX a inceput cu succes." )
    server_timer ( "automatic1" , 10 * 60 , 113 )
    notice_all ( "Lume Lume a inceput Concursul OX!" )
    notice_all ( "Pentru a intra fugiti repede la Uriel" )
    else
    say ( "Error1" )
    return
    end
    elseif stat == 1 then
    say_title ( "Concursul OX" )
    say ( "Usile inca sunt deschise." )
    say ( "Jucatori intrati: " .. oxevent . get_attender ( ) .. " " )
    say ( "" )
    local s = select ( "Inchide intrarea" , "Inapoi" )
    if s == 1 then
    notice_all ( "Portile OX au fost inchise" )
    oxevent . close ( )
    end
    elseif stat == 2 then
    say_title ( "Concursul OX" )
    say ( "Obtiuni:" )
    local s = select ( "Intrebari OX" , "Premiu OX" , "Inchide OX" , "Anuleaza OX" , "Inapoi" )
    if s == 1 then
    local v = oxevent . quiz ( 1 , 30 )
    if v == 0 then
    say_title ( "Concursul OX" )
    say ( "Error2" )
    return
    else
    say_title ( "Concursul OX" )
    say ( "Intrebare adresata cu succes!" )
    return
    end
    elseif s == 2 then
    say_title ( "Concursul OX" )
    say ( "Te rog sa pui in ID de Item." )
    local item_vnum = input ( )
    say_title ( "Concursul OX" )
    say ( "Introduceti numarul de articole." )
    local item_count = input ( )
    oxevent . give_item ( item_vnum , item_count )
    say_title ( "Concursul OX" )
    say ( " " .. oxevent . get_attender ( ) .. " Castigatorii au primit " .. item_count .. "x" )
    say ( item_name ( item_vnum ) .. " emis." )
    notice_all ( "Toti jucatorii care au raspuns corect au castigat - " .. item_count .. "x " .. item_name ( item_vnum ) )
    elseif s == 3 then
    oxevent . end_event ( )
    notice_all ( "Concursul OX s-a terminat." )
    notice_all ( "Toti jucatorii vor fi teleportati din aceasta harta" )
    setskin ( 0 )
    elseif s == 4 then
    say_title ( "Concursul OX" )
    say ( "Renuntarea la OX poate crea probleme." )
    say ( "Sigur vrei sa faci asta?" )
    local s = select ( "Da" , "Nu" )
    if s == 1 then
    oxevent . end_event_force ( )
    end
    elseif s == 5 then
    return
    end
    elseif stat == 3 then
    say_title ( "Concursul OX" )
    say ( "Acum este adresata o intrebare." )
    else
    say_title ( "Concursul OX" )
    say ( "Error4" )
    return
    end
Avatar utilizator
tudorghoust
Nivel 1

Nivel 1
Mesaje: 122
Membru din: 14 Dec 2014, 20:40
Server: ACE
Regat: Jinno
Aprecieri: 0
Mulţumiri: 3  
 Contact:
Medalii

Zi-mi errori-le din (putty) syserr cand bagi questul
Imagine
Afișează semnătura
Avatar utilizator
HITL3R
Nivel 3

Nivel 3
Mesaje: 428
Membru din: 23 Dec 2014, 20:44
Regat: Chunjo
Aprecieri: 73  
Mulţumiri: 21  
 Contact:
Medalii

Omule eroare aia o primesti atunci cand unele intrebari sunt gresit puse verifica oxquiz si vezi daca sunt puse corespunzator

[ Mesaj scris via Android ] Imagine
Avatar utilizator
atharos
Nivel 1

Nivel 1
Mesaje: 55
Membru din: 01 Mar 2015, 02:39
Aprecieri: 0
Mulţumiri: 1  
Medalii

A trebuit sa iau 100-150 de intrebari una cate una pana am depistat ca era o intrebare fara paranteze :))))
Multumesc, T/C va rog ! :)
Avatar utilizator
Tears^
Fost Moderator

Fost Moderator
Mesaje: 774
Membru din: 07 Apr 2014, 17:01
Aprecieri: 129  
Mulţumiri: 35  
Discord: Copiază ID
Medalii

Rezolvat
T/C
Discord: Teck#7457
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
394
Răspunsuri
4
Vizualizări
509
Răspunsuri
5
Vizualizări
518

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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