Jump to content

Mount is dissapearing when i use a stamp


Recommended Posts

Hello.

I got problem with my quest on mounts - game 40k, source, i use a txt files.

So, when i use a stamp of my mounts they occur for the moment. After second mount's dissapearing.

And is a another problem. I can set up a two stamps. :|

My quest and item_proto entry.



quest nMount begin
    state start begin
        function go( vnum, remain_time )
            go_info = {
                [71123] = { 20125, item.get_socket(2)*60},
                [71124] = { 20114, item.get_socket(2)*60},
                [71125] = { 20115, item.get_socket(2)*60},
                [71126] = { 20116, item.get_socket(2)*60},
                [71127] = { 20117, item.get_socket(2)*60},
                [71128] = { 20118, item.get_socket(2)*60},
                [71129] = { 20119, item.get_socket(2)*60},
                [71130] = { 20120, item.get_socket(2)*60},
                [71131] = { 20121, item.get_socket(2)*60},
                [71132] = { 20122, item.get_socket(2)*60},
                [71133] = { 20123, item.get_socket(2)*60},
                [71134] = { 20124, item.get_socket(2)*60},
            }
            pc.mount( go_info[vnum][1], go_info[vnum][2] )
        end
        when login begin
            local vnum, remain_time = pc.get_special_go_vnum()
            if 0 != vnum then
                nMount.go(vnum, remain_time)
            end
        end
        when 71123.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71129 use or 71130.use or 71131.use or 71132.use or 71133.use or 71134.use begin
            if pc.is_polymorphed() then
                chat("<Wierzchowiec> Nie możesz dosiąść wierzchowca będac przemienionym.")
                return
            elseif pc.get_armor() >= 11901 and pc.get_armor() <= 11904 then
                chat("<Wierzchowiec> Nie można dosiąść wierzchowca w stroju ślubnym.")
                return
            elseif false == pc.is_riding() then
                if true == horse.is_summon() then
                    horse.unsummon()
                end
                nMount.go(item.vnum, 0)
            else
                pc.unmount()
            end
        end
    end
end

item_proto



71124    "71125"    "ITEM_UNIQUE"    "UNIQUE_SPECIAL_RIDE"    1    " ANTI_STACK"    "QUEST_USE_MULTIPLE | LOG"    "WEAR_SHIELD"    "NONE"    0    0    0    0    0    "LIMIT_NONE"    0    "LIMIT_NONE"    0    "APPLY_ATTBONUS_MONSTER"    20    "APPLY_MAX_HP"    4000    "APPLY_MAX_HP_PCT"    10    10080    0    0    0    0    0    0    0    0


In advance, thanks a lot for help. Cheers. :-)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium

Add this to your special_item_group

Spoiler

Group    UniqueRideSpecialGroup
{
    Vnum    10030
    1    71124    1    1
    2    71125    1    1
    3    71126    1    1
    4    71127    1    1
    5    71128    1    1
    6    71131    1    1
    7    71132    1    1
    8    71133    1    1
    9    71134    1    1
    10    71137    1    1
    11    71138    1    1
    12    71139    1    1
    13    71140    1    1
    14    71141    1    1
    15    71142    1    1
    16    71161    1    1
    17    71164    1    1
    18    71165    1    1
    19    71166    1    1
    20    71171    1    1
    21    71172    1    1
    22    71176    1    1
    23    71177    1    1
    24    71182    1    1
    25    71183    1    1
    26    71184    1    1
    27    71185    1    1
    28    71186    1    1
    29    71187    1    1
    30    71192    1    1
    31    71193    1    1
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.