Jump to content

OX Event - Login Bug Fix


Pepineitor

Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

Hi guys, I'd like to share with you a little bug fix to the ox event.
When an OX event is active, and you go to the event, if you press 'esc' you can logout, and after, you login on the question phase that you want.
To solve this, you can put this in the ox event quest, in th
 

when login begin

end

if it does not exist, you put it, and in middle put this code
 

local x,y,evento,mapa = pc.get_x(), pc.get_y(),  game.get_event_flag("oxevent_status"),113
    if pc.get_map_index() == mapa and evento != 1 and y >= 228 and y <= 264 and x >= 8925 and x <= 9003 then
        warp_to_village()
    return
end

I hope you find it useful, greetings.

  • Metin2 Dev 7
  • Love 13
Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...

Sorry for necropost but it is ok in this way?

 

quest oxevent_manager begin
state start begin
when login begin
  local x,y,evento,mapa = pc.get_x(), pc.get_y(),  game.get_event_flag("oxevent_status"),113
if pc.get_map_index() == mapa and evento != 1 and y >= 228 and y <= 264 and x >= 8925 and x <= 9003 then
warp_to_village()
return
end
end
when 20011.chat."GM: Mappa Gara OX" with pc.is_gm() begin
say_title("Uriel")
say("Vuoi andare nella mappa della gara OX?[ENTER]")
local s = select ("Si", "No")
if s == 2 then
return
end
say_title("Uriel")
say("Ora verrai teletrasportato.[ENTER]") 
wait() 
command("go ox") 
end

Link to comment
Share on other sites

Announcements



×
×
  • 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.