Jump to content

ic3

Inactive Member
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ic3

  1. Did you restart your server? /reload q only reloads quests in the current core

    didn`t knew that i need to restart. I did now and it`s work but i have another problem. 

    This is the quest part with the reward. 

    when captain.target.click begin
    if pc.count_item(30182) > 0 then
    say_title("Capitan:")
    say("Iti multumesc pentru ca mi-ai adus acest jurnal.")
    say("Acum vom fi mai aproape de a distruge raul.")
    say_reward("Poftim ce ti-am promis.")
    pc.setqf("last_mission", get_time()+60*60*24)
    pc.remove_item(30182, 1)
    pc.give_item(30129, 1)
    target.delete("captain")
    set_state(start)
    clear_letter()
    else
    say_title("Capitan:")
    say("Adu-mi jurnalul cat mai repede!")
    end
    end
    end
    end

    But, i get the vnum 3810 not the 30129 and i don`t understant why. The name of the item that i get is "Yang"

    And sorry to give you all so much troble but i`m new with all of this and i wanna learn.

  2. Hello. I have a small problem. I tryed to install a daily quest to get ticket for the farm map but, when i tryed to instal it, i geted this:

    34b7573ea62498681476650116d2bc21.png

     

    This is the quest file.

    quest obtain_key begin
    state start begin
    when login with get_global_time() – pc.getqf(“last_mission”) >= 24*60*60 begin
    send_letter(“Armatele”)
    local v = find_npc_by_vnum(20355)
    target.vid(“captain”, v, “Capitan”)
    end
    
    when info or button begin
    –if pc.getqf(“action”) == 0
    say_title(“Atentie, “.. pc.get_name() ..”.Este nevoie de tine!”)
    say(“”)
    say(“Capitanul are nevoie de tine!”)
    say(“Armatele noastre sunt pregatite sa treaca”)
    say(“in imparatia raului si au nevoie de un jurnal cu”)
    say(“incantati pentru a activa portalul dintre lumea”)
    say(“noastra si lumea de dincolo.”)
    say_item_vnum(“30182?)
    say(“Ia-ti arma si mergi la el!”)
    –end
    end
    
    when captain.target.click begin
    say_title(“Capitanul:”)
    say(“Iti multimesc pentru ca ai venit atat de repede.”)
    say(“Armatele noastre sunt pregatite sa treaca granita”)
    say(“dar ne lipsese o incantatie pentru a activa portalul.”)
    say(“Te rugam sa ne ajuti sa le obtinem.”)
    say_reward(“Ca recompensa vei primi 0 bilet de trecere”)
    say_reward(“spre Valea Sufletelor.”)
    wait()
    say_title(“Capitanul:”)
    say(“Pentru a obtine aceasta incatatie, Uriel are”)
    say(“nevoie de zece pagini de jurnal”)
    say_item_vnum(30150)
    say(“Le poti obtine omorand demoni din Turnul Diavolilor”)
    say(“Obtine aceste pagini si du-i-le lui Uriel”)
    target.delete(“captain”)
    set_state(killing)
    end
    end
    
    state killing begin
    
    when letter begin
    send_letter(“Armatele”)
    end
    
    when button or info begin
    say_title(“Armatele”)
    say(“Omoara demoni din Turnul Diavolului”)
    say(“pentru a obtine pagini de jurnal”)
    say(“necesare crearii jurnalului”)
    say_item_vnum(30182)
    end
    
    when 1001.kill or 1002.kill or 1003.kill or 1004.kill begin
    local n = number(0,30)
    if n>27 then
    if pc.count_item(30150) == 9 then
    pc.give_item2(30150, 1)
    say_title(“Armatele”)
    say(“Ai obtinut toate paginile necesare.”)
    say(“Du-le lui Uriel pentru a le transforma in jurnal.”)
    set_state(backuriel)
    else
    pc.give_item2(30150, 1)
    end
    end
    end
    end
    
    state backuriel begin
    when letter begin
    send_letter(“Armatele”)
    local v = find_npc_by_vnum(20011)
    target.vid(“uriel”, v, “Uriel”)
    end
    
    when button or info begin
    say_title(“Armatele”)
    say(“Ai obtinut toate paginile necesare.”)
    say(“Du-le lui Uriel pentru a le transforma in jurnal.”)
    end
    
    when uriel.target.click begin
    if pc.count_item(30150) <10 then
    say(“Am nevoie de zece pagini pentru a ca jurnalul sa fie complet!”)
    else
    say_title(“Uriel:”)
    say(“Iti multumesc ca ai adus paginile.”)
    say(“Te rog sa ma astepti putin, ca sa le traduc”)
    pc.remove_item(30221, 10)
    wait()
    say_title(“Uriel:”)
    say(“Uite aici jurnalul cu incantatia pentru gardian.”)
    say(“Du-il repede, cat armatele noastre sunt”)
    say(“inca in avantaj.”)
    target.delete(“uriel”)
    pc.give_item2(30182, 1)
    set_state(captback)
    end
    end
    end
    state captback begin
    when letter begin
    send_letter(“Armatele”)
    local v = find_npc_by_vnum(20355)
    target.vid(“captain”, v, “Capitan”)
    end
    
    when button or info begin
    say_title(“Armatele”)
    say(“Dute si dui captitanului jurnalul cat mai repede.”)
    end
    
    when captain.target.click begin
    if pc.count_item(30182) > 0 then
    say_title(“Capitan:”)
    say(“Iti multumesc pentru ca mi-ai adus acest jurnal.”)
    say(“Acum vom fi mai aproape de a distruge raul.”)
    say_reward(“Poftim ce ti-am promis.”)
    pc.setqf(“last_mission”, get_global_time())
    pc.remove_item(30182, 1)
    pc.give_item(30129, 1)
    target.delete(“captain”)
    set_state(start)
    clear_letter()
    else
    say_title(“Capitan:”)
    say(“Adu-mi jurnalul cat mai repede!”)
    end
    end
    end
    end

    Thanks

  3. I think a serverside syserr would be more useful. Anyway, in my opinion the problem can be with the flame king's options, or perhaps a missing folder..

    Serversite syserr:

     

    SYSERR: Mar 19 14:14:48 :: Analyze: login phase does not handle this packet! header 100
    SYSERR: Mar 19 14:14:52 :: GetServerLocation: location error name  mapindex 0 0 x 0 empire 3
    SYSERR: Mar 19 14:14:59 :: GetServerLocation: location error name  mapindex 0 0 x 0 empire 3
    SYSERR: Mar 19 14:15:41 :: GetServerLocation: location error name  mapindex 0 0 x 0 empire 3

     

    SYSERR: Mar 19 14:17:48 :: Analyze: login phase does not handle this packet! header 100

    A little video when i the client crashes:

    https://metin2.download/picture/XrfoqulK3N370dQdrcBBsOCYIm83E9w9/.gif

  4. You have a state in a state.

    Just add one end after line 39 and remove one in live 43.

     

    Kind regards

    Chuck

    The quest resolved now but, i still can`t close my server using sh close.sh . It says kill : no such process

    syserr from ch1 core1 : SYSERR: Mar 16 14:48:00 :: socket_connect: HOST IP :65012, could not connect.

    SYSERR: Mar 16 14:48:01 :: socket_connect: HOST IP :65011, could not connect.
    SYSERR: Mar 16 14:48:02 :: socket_connect: HOST IP .:65010, could not connect.
    SYSERR: Mar 16 14:48:03 :: socket_connect: HOST IP :65012, could not connect.
    Where is writed IP on the syserr is the ip from my dedicat.
  5. Hello. I have a problem when i try to close my server. Yesterday i tryed to install a quest but I received this error:

    ef8d0ca5ee16ced6fb4bbba31b8c589d.png

    This is the quest that i wanted to install when i received core dumped.

    quest welcome begin
    state start begin	
    when login begin
    if pc.getqf("metin2")== 0 then	
    pc.setqf( "metin2", 1)
    if pc.job == 0 then
    pc.give_item2(19,1)
    pc.give_item2(11209,1)
    pc.give_item2(12209,1)
    elseif pc.job == 1 then
    pc.give_item2(1009,1)
    pc.give_item2(11409,1)
    pc.give_item2(12349,1)
    elseif pc.job == 2 then
    pc.give_item2(19,1)
    pc.give_item2(11609,1)
    pc.give_item2(12489,1)
    elseif pc.job == 3 then
    pc.give_item2(7009,1)
    pc.give_item2(11809,1)
    pc.give_item2(12620,1)
    end
    pc.change_money(50000)
    pc.give_item2(13009,1)
    pc.give_item2(14009,1)
    pc.give_item2(15009,1)
    pc.give_item2(16009,1)
    pc.give_item2(17009,1)
    pc.give_item2(50051,1)
    
    horse.advance()
    horse.ride()
    pc.change_alignment(500)
    pc.give_item2(50187,1)
    
    syschat("Bine aþi venit pe "..settings.server_name..".")
    complete_quest()
    end
    end	
    state __COMPLETE__ begin
    end	-- state
    end -- state
    end -- begin

    Resolved. A moderator can close the topic xD

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.