Jump to content
Sign in to follow this  
Pepineitor

OX Event - Login Bug Fix

Recommended Posts

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.

  • Love 5

Share this post


Link to post

Thanks, I have auto ox event system and work with this..

Share this post


Link to post

Thank you very much for this contribution will be very useful! has a script for living dragon? also has this bug ..

Share this post


Link to post

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

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

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