M2 Download Center
Download Here ( 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.