kurze frage

09/27/2013 00:04 .RUVision#1
Guten Abend,

kann mir mal jemand sagen wie ich die Mounts korrigieren kann?
Sodas wenn ich STRG + G betätige das Siegel automatisch aus
dem slot in den Inventar wechselt?
09/27/2013 00:36 .Onlyx3#2
Das geht mit dem Eintrag in die special_item_group.txt und der quest

Quest
PHP Code:
----------------------------------------------------
--
--
Reittier Siegel by ©Zymos
-- 
----------------------------------------------------
quest ride begin
state start begin
    
function Ridevnum )
        
ride_info = {
        [
71114] = { 20110,    5*60,apply.DEF_GRADE_BONUS,    70,75,    true    }, --Keiler Gelb
        
[71115] = { 20110,    5*60,apply.DEF_GRADE_BONUS,    100,100,    true    }, --Keiler Blau
        
[71116] = { 20111,    5*60,apply.DEF_GRADE_BONUS,    100,80,    true    }, --Wolf Gelb
        
[71117] = { 20111,    5*60,apply.DEF_GRADE_BONUS,    150,100,    true    }, --Wolf Blau 
        
[71118] = { 20112,    5*60,apply.DEF_GRADE_BONUS,    125,80,    true    }, --Tiger Gelb
        
[71119] = { 20112,    5*60,apply.DEF_GRADE_BONUS,    200,100,    true    }, --Tiger Blau
        
[71120] = { 20113,    5*60,apply.ATT_GRADE_BONUS,    200,85,    true    }, --Löwe Gelb
        
[71121] = { 20113,    5*60,apply.ATT_GRADE_BONUS,    400,110,    true    }, --Löwe Blau
        
        
[71124] = { 20114,    item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,    false    }, ---Weißer Löwe
        
[71125] = { 20115,    item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,    false    }, --Kriegskeiler
        
[71126] = { 20116,    item.get_socket(2)*60,apply.STEAL_HP,15,1,    false    }, --Streitwolf-Siegel
        
[71127] = { 20117,    item.get_socket(2)*60,apply.HP_REGEN,50,1,    false    }, --Sturmtiger-Siegel
        
[71128] = { 20118,    item.get_socket(2)*60,POINT_DEF_BONUS,15,1,    false    }, --Schlachtenlöwen-Siegel
        
        
        
[71137] = { 20120,    item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,    false    }, ---Feuer Tiger Blau
        
[71138] = { 20121,    item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,    false    }, --Feuer Tiger Rot
        
[71139] = { 20123,    item.get_socket(2)*60,apply.STEAL_HP,15,1,    false    }, --Feuer Tiger Gold
        
[71140] = { 20124,    item.get_socket(2)*60,apply.HP_REGEN,50,1,    false    }, --Feuer Tiger Grün
        
[71141] = { 20125,    item.get_socket(2)*60,POINT_DEF_BONUS,15,1,    false    }, --Feuer Tiger Grau
        
[71142] = { 20126,    item.get_socket(2)*60,POINT_DEF_BONUS,15,1,    false    }, --Feuer Tiger Weiß
        
}
        if 
pc.level ride_info[vnum][5then
            say
("Dein Level ist zu niedrig für dieses Reittier!")
            
say("Du würdest es nicht zähmen können.")
            return
        elseif 
pc.is_polymorphed() then
            say
("Du kannst nicht reiten während du verwandelt bist!")
            return
        elseif 
pc.is_riding() then
            say
("Du kannst kein Reittier beschwören während du noch reitest.")
            return
        else
    
pc.mountride_info[vnum][1], ride_info[vnum][2] )
    
pc.mount_bonusride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
    if 
true == ride_info[vnum][6then
    pc
.remove_item(vnum1)
    
end
    end
    end
    when 71114.
use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use --Normale Mounts
    
or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use --Weißer Löwe und Dunkle Mounts
    
or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin
        
if pc.get_map_index() == 113 or
        
pc.get_map_index() == 118 or
        
pc.get_map_index() == 119 or
        
pc.get_map_index() == 120 or
        
pc.get_map_index() == 122 or
        
pc.get_map_index() == 123 or
        
pc.get_map_index() == 124 or
        
pc.get_map_index() == 126 or
        
pc.get_map_index() == 127 or
        
pc.get_map_index() == 128 and not pc.is_gm() then
        say
("Du darfst das Pferd hier nicht rufen.")
        return
        
end
    ride
.Ride(item.get_vnum())
    
end
    when login begin
        
if pc.get_map_index() == 113 or
        
pc.get_map_index() == 118 or
        
pc.get_map_index() == 119 or
        
pc.get_map_index() == 120 or
        
pc.get_map_index() == 122 or
        
pc.get_map_index() == 123 or
        
pc.get_map_index() == 124 or
        
pc.get_map_index() == 126 or
        
pc.get_map_index() == 127 or
        
pc.get_map_index() == 128 and not pc.is_gm() then
        syschat
("Du darfst das Pferd hier nicht benutzen.")
        return
        
end
        local vnum
remain_time pc.get_special_ride_vnum()
        if 
!= vnum then
            
if pc.is_polymorphed() then
                
return
            elseif 
pc.is_riding() then
                
return
            else
                
ride.Ride(vnumremain_time)
            
end
        end
    end

end
end 

special_item_group.txt
PHP Code:
Group    Mounts
{
    
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    71165    1    1
    17    71166    1    1

09/27/2013 00:54 .RUVision#3
hat geklappt ich danke dir :)