antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
uScared?

[Core Dump]Quest proibir montadas no evento ox

Question

Boas pessoal, alguem me consegue dizer o porquê desta quest estar a dar core dumped ?
Spoiler
quest sistem_animale begin
    state start begin
    function Calareste( vnum )    
    when 71114.use or 71116.use or 71118.use or 71120.use
    or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use
    or 71131.use or 71132.use or 71133.use or 71134.use
    or 71137.use or 71138.use or 71139.use or 71140.use begin 
        
        horse.unsummon()
        if pc.get_map_index() == 113 or
        pc.get_map_index() == 222 then    
        
            command ( "unmount" )        
            chat ( "Nu poþi invoca un animal in acest loc." )
        
        return
        end
    sistem_animale.Calareste(item.get_vnum())
    end
    
    when login begin
        if pc.get_map_index() == 113 or
        pc.get_map_index() == 222 then            
            command ( "unmount" )
        return
        end
        
        local vnum, remain_time = pc.get_special_ride_vnum()
        if 0 != vnum then
            if pc.is_polymorphed() then
                return
            elseif pc.is_riding() then
                return
            else
            
            command ( "unmount" )
            
            end
        end
    end


 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Diria que te faltam dois end para acabar o state e a quest mas não sei se devias usar command("unmount") em vez de pc.unmount().

Share this post


Link to post
Share on other sites
antiblock
Elveron

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