You last visited: Today at 19:20
Advertisement
Reittiere
Discussion on Reittiere within the Metin2 Private Server forum part of the Metin2 category.
03/06/2015, 22:20
#1
elite*gold: 0
Join Date: Apr 2012
Posts: 6
Received Thanks: 0
Reittiere
SuFu hat mir nicht weitergeholfen, gibt zwar 1 Thread, aber der bringt mich nicht weiter.
Ich hab das Problem, dass ich Reittiere zwar rufen kann, sie geben Boni etc... Strg+G funktioniert, jedoch bleiben die in den IS-Slots oben, wenn ich mich teleportiere bzw. aus-&wieder einlogge. Sie erscheinen kurz als "geritten", dann steige ich jedoch automatisch ab, aber das Siegel geht nicht ausm Slot raus. Was zur Folge hat, dass User das als Bug nutzen könnten, um den Reitterbonus z.B PvP am Boden nutzen könnten, da dieser ebenfalls nicht verschwindet.. Ich bitte um Hilfe.
Hier meine Quest .. erweitert ist die noch nicht, Boni kommen aus der DB per applyvalue
Code:
quest ride begin
state start begin
when 71125.use begin
pc.mount(20115,28800)
end
end
end
in der specialitemgroup ists auch drinnen.
03/07/2015, 03:41
#2
elite*gold: 0
Join Date: Oct 2014
Posts: 408
Received Thanks: 208
PHP Code:
quest ride begin
state start begin
function Ride ( vnum )
ride_info = {
[ 71114 ] = { 20110 , 5 * 60 , apply . DEF_GRADE_BONUS , 70 , 75 , true }, -- gelb
[ 71115 ] = { 20110 , 5 * 60 , apply . DEF_GRADE_BONUS , 100 , 100 , true }, -- blau
[ 71116 ] = { 20111 , 5 * 60 , apply . DEF_GRADE_BONUS , 100 , 80 , true }, -- gelb
[ 71117 ] = { 20111 , 5 * 60 , apply . DEF_GRADE_BONUS , 150 , 100 , true }, -- blau
[ 71118 ] = { 20112 , 5 * 60 , apply . DEF_GRADE_BONUS , 125 , 80 , true }, -- gelb
[ 71119 ] = { 20112 , 5 * 60 , apply . DEF_GRADE_BONUS , 200 , 100 , true }, -- blau
[ 71120 ] = { 20113 , 5 * 60 , apply . ATT_GRADE_BONUS , 200 , 85 , true }, -- gelb
[ 71121 ] = { 20113 , 5 * 60 , apply . ATT_GRADE_BONUS , 400 , 110 , true }, -- blau
[ 71124 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe
[ 71125 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler
[ 71126 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel
[ 71127 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel
[ 71128 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel
[ 71171 ] = { 20227 , item . get_socket ( 2 )* 60 , 1 , false }, -- Einhorn ( Weiß )
[ 71172 ] = { 20226 , item . get_socket ( 2 )* 60 , 1 , false }, -- Einhorn ( Weiß )
[ 71165 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Polarprädator - Siegel
[ 71166 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38135 ] = { 20227 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38136 ] = { 20226 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38137 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38138 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38139 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38140 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38141 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38142 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 38143 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel
[ 53044 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe
[ 53045 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler
[ 53046 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel
[ 53047 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel
[ 53048 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel
[ 53066 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe
[ 53067 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler
[ 53072 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel
[ 53069 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel
[ 53068 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel
[ 53070 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel
[ 53071 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel
[ 80110 ] = { 20114 , item . get_socket ( 2 )* 60 , POINT_EXP_DOUBLE_BONUS , 1 , 1 , false }, ---- Weißer Löwe
[ 80111 ] = { 20115 , item . get_socket ( 2 )* 60 , apply . ATTBONUS_MONSTER , 20 , 1 , false }, -- Kriegskeiler
[ 80112 ] = { 20116 , item . get_socket ( 2 )* 60 , apply . STEAL_HP , 15 , 1 , false }, -- Streitwolf - Siegel
[ 80113 ] = { 20117 , item . get_socket ( 2 )* 60 , apply . HP_REGEN , 50 , 1 , false }, -- Sturmtiger - Siegel
[ 80114 ] = { 20118 , item . get_socket ( 2 )* 60 , POINT_DEF_BONUS , 15 , 1 , false }, -- Schlachtenlöwen - Siegel
[ 71131 ] = { 20119 , 30 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event
[ 71132 ] = { 20119 , 60 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event
[ 71133 ] = { 20119 , 120 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event
[ 71134 ] = { 20119 , 180 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event
[ 71137 ] = { 20120 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
[ 71138 ] = { 20121 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
[ 71139 ] = { 20122 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
[ 71140 ] = { 20123 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
[ 71141 ] = { 20124 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
[ 71142 ] = { 20125 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event
}
if 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, du reitest noch" )
return
else
pc . mount ( ride_info [ vnum ][ 1 ], ride_info [ vnum ][ 2 ] )
pc . mount_bonus ( ride_info [ vnum ][ 3 ], ride_info [ vnum ][ 4 ], ride_info [ vnum ][ 2 ] )
if true == ride_info [ vnum ][ 6 ] then
pc . remove_item ( vnum , 1 )
end
end
end
when 53044. use or 53045. use or 53046. use or 53047. use or 53048. use or 71114. use or 71115. use or 71116. use or 71117. use or 71118. use or 71119. use or 71120. use or 71121. use -- normale siegel
or 71124. use or 71125. use or 71126. use or 71127. use or 71128. use or 71171. use or 71172. use or 71165. use or 71166. use or 38135. use or 38136. use or 38137. use or 38138. use or 38139. use or 38140. use or 38141. use or 38142. use or 38143. use -- 48H reittier siegel
or 80110. use or 80111. use or 80112. use or 80113. use or 80114. use -- Anfangs Siegel Starterse
or 71131. use or 71132. use or 71133. use or 71134. use or 53066. use or 53067. use or 53068. use or 53069. use or 53070. use or 53071. use or 53072. use -- Rappensiegel
or 71137. use begin -- Königstiger
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 nicht rufen hier." )
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 Rettier nicht benutzen hier." )
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
ride . Ride ( vnum , remain_time )
end
end
end
end
end
anpassen & freuen!
Mit freundlichen Grüßen
03/07/2015, 03:44
#3
elite*gold: 0
Join Date: Jan 2015
Posts: 110
Received Thanks: 178
Quote:
Originally Posted by
ʂαιɳƚʂ
PHP Code:
quest ride begin state start begin function Ride ( vnum ) ride_info = { [ 71114 ] = { 20110 , 5 * 60 , apply . DEF_GRADE_BONUS , 70 , 75 , true }, -- gelb [ 71115 ] = { 20110 , 5 * 60 , apply . DEF_GRADE_BONUS , 100 , 100 , true }, -- blau [ 71116 ] = { 20111 , 5 * 60 , apply . DEF_GRADE_BONUS , 100 , 80 , true }, -- gelb [ 71117 ] = { 20111 , 5 * 60 , apply . DEF_GRADE_BONUS , 150 , 100 , true }, -- blau [ 71118 ] = { 20112 , 5 * 60 , apply . DEF_GRADE_BONUS , 125 , 80 , true }, -- gelb [ 71119 ] = { 20112 , 5 * 60 , apply . DEF_GRADE_BONUS , 200 , 100 , true }, -- blau [ 71120 ] = { 20113 , 5 * 60 , apply . ATT_GRADE_BONUS , 200 , 85 , true }, -- gelb [ 71121 ] = { 20113 , 5 * 60 , apply . ATT_GRADE_BONUS , 400 , 110 , true }, -- blau [ 71124 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe [ 71125 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler [ 71126 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel [ 71127 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel [ 71128 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel [ 71171 ] = { 20227 , item . get_socket ( 2 )* 60 , 1 , false }, -- Einhorn ( Weiß ) [ 71172 ] = { 20226 , item . get_socket ( 2 )* 60 , 1 , false }, -- Einhorn ( Weiß ) [ 71165 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Polarprädator - Siegel [ 71166 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38135 ] = { 20227 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38136 ] = { 20226 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38137 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38138 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38139 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38140 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38141 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38142 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 38143 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Panda - Siegel [ 53044 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe [ 53045 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler [ 53046 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel [ 53047 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel [ 53048 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel [ 53066 ] = { 20114 , item . get_socket ( 2 )* 60 , 1 , false }, ---- Weißer Löwe [ 53067 ] = { 20115 , item . get_socket ( 2 )* 60 , 1 , false }, -- Kriegskeiler [ 53072 ] = { 20116 , item . get_socket ( 2 )* 60 , 1 , false }, -- Streitwolf - Siegel [ 53069 ] = { 20117 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel [ 53068 ] = { 20118 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel [ 53070 ] = { 20221 , item . get_socket ( 2 )* 60 , 1 , false }, -- Sturmtiger - Siegel [ 53071 ] = { 20222 , item . get_socket ( 2 )* 60 , 1 , false }, -- Schlachtenlöwen - Siegel [ 80110 ] = { 20114 , item . get_socket ( 2 )* 60 , POINT_EXP_DOUBLE_BONUS , 1 , 1 , false }, ---- Weißer Löwe [ 80111 ] = { 20115 , item . get_socket ( 2 )* 60 , apply . ATTBONUS_MONSTER , 20 , 1 , false }, -- Kriegskeiler [ 80112 ] = { 20116 , item . get_socket ( 2 )* 60 , apply . STEAL_HP , 15 , 1 , false }, -- Streitwolf - Siegel [ 80113 ] = { 20117 , item . get_socket ( 2 )* 60 , apply . HP_REGEN , 50 , 1 , false }, -- Sturmtiger - Siegel [ 80114 ] = { 20118 , item . get_socket ( 2 )* 60 , POINT_DEF_BONUS , 15 , 1 , false }, -- Schlachtenlöwen - Siegel [ 71131 ] = { 20119 , 30 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event [ 71132 ] = { 20119 , 60 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event [ 71133 ] = { 20119 , 120 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event [ 71134 ] = { 20119 , 180 * 60 , apply . SKILL , 1 , 1 , false }, -- Horse_event [ 71137 ] = { 20120 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event [ 71138 ] = { 20121 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event [ 71139 ] = { 20122 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event [ 71140 ] = { 20123 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event [ 71141 ] = { 20124 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event [ 71142 ] = { 20125 , item . get_socket ( 2 )* 60 , PREMIUM_EXP , 30 , 100 , false }, -- Horse_event } if 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, du reitest noch" ) return else pc . mount ( ride_info [ vnum ][ 1 ], ride_info [ vnum ][ 2 ] ) pc . mount_bonus ( ride_info [ vnum ][ 3 ], ride_info [ vnum ][ 4 ], ride_info [ vnum ][ 2 ] ) if true == ride_info [ vnum ][ 6 ] then pc . remove_item ( vnum , 1 ) end end end when 53044. use or 53045. use or 53046. use or 53047. use or 53048. use or 71114. use or 71115. use or 71116. use or 71117. use or 71118. use or 71119. use or 71120. use or 71121. use -- normale siegel or 71124. use or 71125. use or 71126. use or 71127. use or 71128. use or 71171. use or 71172. use or 71165. use or 71166. use or 38135. use or 38136. use or 38137. use or 38138. use or 38139. use or 38140. use or 38141. use or 38142. use or 38143. use -- 48H reittier siegel or 80110. use or 80111. use or 80112. use or 80113. use or 80114. use -- Anfangs Siegel Starterse or 71131. use or 71132. use or 71133. use or 71134. use or 53066. use or 53067. use or 53068. use or 53069. use or 53070. use or 53071. use or 53072. use -- Rappensiegel or 71137. use begin -- Königstiger 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 nicht rufen hier." ) 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 Rettier nicht benutzen hier." ) 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 ride . Ride ( vnum , remain_time ) end end end end end
anpassen & freuen!
Mit freundlichen Grüßen
Damit sie aus den Slot gehen auch noch in die special_item_group.txt.
Quote:
Group 동물_상자_캐시
{
Vnum 10030
1 71115 1 1
2 71117 1 1
3 71119 1 1
4 71121 1 1
}
Einfach alle Ids einfügen.
03/07/2015, 08:43
#4
elite*gold: 0
Join Date: Apr 2012
Posts: 6
Received Thanks: 0
Wenn man diese Quest benutzt, wie muss man dann Type Subtype etc. setzen? 16 oder 18 usw. Danke schonmal
03/07/2015, 15:16
#5
elite*gold: 250
Join Date: Feb 2011
Posts: 6,012
Received Thanks: 3,406
Quote:
Originally Posted by
Bauernbursche
Wenn man diese Quest benutzt, wie muss man dann Type Subtype etc. setzen? 16 oder 18 usw. Danke schonmal
Code:
Type 16, SubType 2, Flags 9216 (min. 1024), WearFlags 128
Diese Werte müssen zwingend beibehalten werden. (Flags ausgenommen, hierbei muss jedoch ein Mindestwert von 1024 gesetzt sein, ansonsten wird der Gegenstand nicht in Verbindung mit Quests funktionieren)
lg
03/10/2015, 22:19
#6
elite*gold: 0
Join Date: Apr 2012
Posts: 6
Received Thanks: 0
Ich hab die Quest so eingefügt + bearbeitet, das Siegel bleibt aber trotzdem nachm Teleport/Relog im Slot ohne, dass der Char aufm Reittier sitzt.. special_item_group auch drinne.
03/10/2015, 23:30
#7
elite*gold: 50
Join Date: Aug 2012
Posts: 535
Received Thanks: 284
Kannst du mal posten, was du denn in der special_item_group eingetragen hast?
Ich denke dass da der Fehler liegt.
03/13/2015, 20:14
#8
elite*gold: 0
Join Date: Apr 2012
Posts: 6
Received Thanks: 0
Group Mounts
{
Vnum 10030
1 71124 1 1
2 71125 1 1
3 71126 1 1
4 71127 1 1
5 71128 1 1
}
03/15/2015, 14:31
#9
elite*gold: 0
Join Date: Apr 2012
Posts: 6
Received Thanks: 0
Push
Die Reittiere verschwinden auch nicht ausm Slot, wenn ihre Zeit abgelaufen ist .. ich finde den Fehler einfach nicht
03/15/2015, 15:04
#10
elite*gold: 0
Join Date: Oct 2014
Posts: 408
Received Thanks: 208
Stell die Zeit bitte nicht über die Quest ein,sondern über DB.
Mit freundlichen Grüßen
05/07/2015, 18:23
#11
elite*gold: 0
Join Date: Feb 2015
Posts: 306
Received Thanks: 171
möchte da gerne eine Quest bearbeiten. und zwar habe ich ein Problem
Code:
[71124] = { 20114, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false },
was bedeutet (2)*60 und 0, 0, false
Code:
[71177] = { 20232, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false}
bei diesem Reittier steht 3x false? was bedeutest das weiß das jemand?
05/07/2015, 19:14
#12
elite*gold: 250
Join Date: Feb 2011
Posts: 6,012
Received Thanks: 3,406
Quote:
Originally Posted by
Kampfzwerg!
möchte da gerne eine Quest bearbeiten. und zwar habe ich ein Problem
Code:
[71124] = { 20114, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false },
was bedeutet (2)*60 und 0, 0, false
Code:
[71177] = { 20232, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false}
bei diesem Reittier steht 3x false? was bedeutest das weiß das jemand?
Der komplette Code versinkt im Chaos, um es auf den Punkt zu bringen - leider kein Einzelfall, was die Quests der offiziellen Server betrifft.
Das erste true bzw. false dient dazu, um das Item nach der Benutzung zu entfernen. (bspw. Keiler-, Löwen-, Tiger- & Wolf-Siegel. [Morsche Holzkiste, Grotte der Verbannung])
item.get_socket()*60 liest die Ablaufzeit des Items aus und multipliziert diese mit dem Faktor 60 (Angaben in der Spalte 'value0' erfolgen in Minuten, die Funktion pc.mount() arbeitet hingegen mit Sekunden), um letztendlich via pc.mount() nicht länger auf dem Reittier reiten zu können, als das Zeitlimit überhaupt erlaubt.
Alle Tabellenwerte nach dem besagten (ersten) true bzw. false sind ungültig und finden demnach im nachfolgenden Code keinerlei Verwendung, siehe erster Satz.
lg
05/07/2015, 19:50
#13
elite*gold: 0
Join Date: Feb 2015
Posts: 306
Received Thanks: 171
also kann man theoretisch das zweite & dritte false, true entfernen?
das mit der Zeit habe ich nicht so verstanden weil bei einem Reittier was in einer anderen Quest ist
Code:
quest ride_upgradable begin
state start begin
function increaseTime ()
if pc.count_item(38100) >= 1 then
elseif pc.count_item(38101) >= 1 then
elseif pc.count_item(38102) >= 1 then
end
end
function Ride( vnum, remain_time )
ride_info = {
[52001] = { 20201, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52002] = { 20201, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52003] = { 20201, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52004] = { 20201, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52005] = { 20201, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52006] = { 20205, 60*60*24*365, apply.ATTBONUS_MONSTER, 3, 0, false, true },
[52007] = { 20205, 60*60*24*365, apply.MALL_EXPBONUS, 3, 0, false, true },
[52008] = { 20205, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52009] = { 20205, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52010] = { 20205, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52011] = { 20209, 60*60*24*365, apply.ATTBONUS_MONSTER, 5, 0, false, true },
[52012] = { 20209, 60*60*24*365, apply.MALL_EXPBONUS, 5, 0, false, true },
[52013] = { 20209, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52014] = { 20209, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52015] = { 20209, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52016] = { 20202, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52017] = { 20202, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52018] = { 20202, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52019] = { 20202, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52020] = { 20202, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52021] = { 20206, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52022] = { 20206, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52023] = { 20206, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52024] = { 20206, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52025] = { 20206, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52026] = { 20210, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52027] = { 20210, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52028] = { 20210, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52029] = { 20210, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52030] = { 20210, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52031]= { 20204, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52032]= { 20204, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52033]= { 20204, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52034]= { 20204, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52035]= { 20204, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52036]= { 20208, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52037]= { 20208, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52038]= { 20208, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52039]= { 20208, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52040]= { 20208, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52041]= { 20212, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52042]= { 20212, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52043]= { 20212, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52044]= { 20212, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52045]= { 20212, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52046]= { 20203, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52047]= { 20203, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52048]= { 20203, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52049]= { 20203, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52050]= { 20203, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52051]= { 20207, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52052]= { 20207, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52053]= { 20207, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52054]= { 20207, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52055]= { 20207, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52056]= { 20211, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52057]= { 20211, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52058]= { 20211, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52059]= { 20211, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52060]= { 20211, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
}
if pc.level < ride_info[vnum][5] then
say("")
say(gameforge.ride._010_say)
say("")
else
if 112 == pc.get_map_index() then
return
end
if ride_info[vnum][2] == 0 and remain_time != 0 then
pc.mount( ride_info[vnum][1], remain_time*60 )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
end
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when login begin
local vnum, remain_time = pc.get_special_ride_vnum()
if vnum <= 52000 or vnum >=52061 then
return
end
if 0 != vnum then
ride_upgradable.Ride(vnum, remain_time)
end
end
when 52001.use or 52002.use or 52003.use or 52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or
52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or
52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or
52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use begin
if pc.is_polymorphed() then
say("")
say(gameforge.ride._020_say)
say("")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
item.set_socket(2, 60*24*365*60)
ride_upgradable.Ride(item.vnum, 0)
else
say("")
say(gameforge.ride._030_say)
say("")
end
end
end
end
die läuft permanent ab
und das Reittier hier in dieser Quest
Code:
quest ride_mystery_boxes begin
state start begin
function Ride( vnum, remain_time )
ride_info = {
[71124] = { 20114, item.get_socket(2)*60, apply.MAX_HP, 1, 34, false },
[71125] = { 20115, item.get_socket(2)*60, apply.ATTBONUS_MONSTER, 0, 0, false },
[71126] = { 20116, item.get_socket(2)*60, apply.CRITICAL_PCT, 0, 0, false },
[71127] = { 20117, item.get_socket(2)*60, apply.CRITICAL_PCT, 0, 0, false },
[71128] = { 20118, item.get_socket(2)*60, apply.MALL_DEFBONUS, 0, 0, false },
[71137] = { 20120, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71138] = { 20121, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71139] = { 20122, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71140] = { 20123, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71141] = { 20124, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71142] = { 20125, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71176] = { 20231, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71177] = { 20232, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
}
if pc.level < ride_info[vnum][5] then
say("")
say(gameforge.ride._010_say)
say("")
else
if 112 == pc.get_map_index() then
return
end
if ride_info[vnum][2] == 0 and remain_time != 0 then
pc.mount( ride_info[vnum][1], remain_time*60 )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
end
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when login begin
local vnum, remain_time = pc.get_special_ride_vnum()
if vnum != 71124 and vnum != 71125 and vnum != 71126 and vnum != 71127 and vnum != 71128 and vnum != 71137 and vnum != 71138 and vnum !=71139 and vnum !=71140 and vnum !=71141 and vnum !=71142 and vnum !=71176 and vnum !=71177 then
return
end
if 0 != vnum then
ride_mystery_boxes.Ride(vnum, remain_time)
end
end
when 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 71176.use or 71177.use begin
if pc.is_polymorphed() then
say("")
say(gameforge.ride._020_say)
say("")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride_mystery_boxes.Ride(item.vnum, 0)
else
say("")
say(gameforge.ride._030_say)
say("")
end
end
end
end
läuft nur ab wen man es nutzt...
und was genau bedeuten die 34?
also die 1 bedeutet du bekommst 1 TP wen du Reittest
Code:
[71124] = { 20114, item.get_socket(2)*60, apply.MAX_HP, 1, 34, false },
05/07/2015, 20:37
#14
elite*gold: 250
Join Date: Feb 2011
Posts: 6,012
Received Thanks: 3,406
Quote:
Originally Posted by
Kampfzwerg!
also kann man theoretisch das zweite & dritte false, true entfernen?
Theoretisch sowie praktisch, ja.
Quote:
Originally Posted by
Kampfzwerg!
das mit der Zeit habe ich nicht so verstanden weil bei einem Reittier was in einer anderen Quest ist
Code:
quest ride_upgradable begin
state start begin
function increaseTime ()
if pc.count_item(38100) >= 1 then
elseif pc.count_item(38101) >= 1 then
elseif pc.count_item(38102) >= 1 then
end
end
function Ride( vnum, remain_time )
ride_info = {
[52001] = { 20201, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52002] = { 20201, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52003] = { 20201, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52004] = { 20201, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52005] = { 20201, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52006] = { 20205, 60*60*24*365, apply.ATTBONUS_MONSTER, 3, 0, false, true },
[52007] = { 20205, 60*60*24*365, apply.MALL_EXPBONUS, 3, 0, false, true },
[52008] = { 20205, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52009] = { 20205, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52010] = { 20205, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52011] = { 20209, 60*60*24*365, apply.ATTBONUS_MONSTER, 5, 0, false, true },
[52012] = { 20209, 60*60*24*365, apply.MALL_EXPBONUS, 5, 0, false, true },
[52013] = { 20209, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52014] = { 20209, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52015] = { 20209, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52016] = { 20202, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52017] = { 20202, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52018] = { 20202, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52019] = { 20202, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52020] = { 20202, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52021] = { 20206, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52022] = { 20206, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52023] = { 20206, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52024] = { 20206, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52025] = { 20206, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52026] = { 20210, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52027] = { 20210, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52028] = { 20210, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52029] = { 20210, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52030] = { 20210, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52031]= { 20204, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52032]= { 20204, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52033]= { 20204, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52034]= { 20204, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52035]= { 20204, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52036]= { 20208, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52037]= { 20208, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52038]= { 20208, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52039]= { 20208, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52040]= { 20208, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52041]= { 20212, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52042]= { 20212, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52043]= { 20212, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52044]= { 20212, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52045]= { 20212, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
[52046]= { 20203, 60*60*24*365, apply.ATTBONUS_MONSTER, 0, 0, false, true },
[52047]= { 20203, 60*60*24*365, apply.MALL_EXPBONUS, 0, 0, false, true },
[52048]= { 20203, 60*60*24*365, apply.MAX_HP, 0, 0, false, true },
[52049]= { 20203, 60*60*24*365, apply.DEF_GRADE_BONUS, 0, 0, false, true },
[52050]= { 20203, 60*60*24*365, apply.ATT_GRADE_BONUS, 0, 0, false, true },
[52051]= { 20207, 60*60*24*365, apply.ATTBONUS_MONSTER, 3 , 0, false, true },
[52052]= { 20207, 60*60*24*365, apply.MALL_EXPBONUS, 3 , 0, false, true },
[52053]= { 20207, 60*60*24*365, apply.MAX_HP, 250, 0, false, true },
[52054]= { 20207, 60*60*24*365, apply.DEF_GRADE_BONUS, 50, 0, false, true },
[52055]= { 20207, 60*60*24*365, apply.ATT_GRADE_BONUS, 30, 0, false, true },
[52056]= { 20211, 60*60*24*365, apply.ATTBONUS_MONSTER, 5 , 0, false, true },
[52057]= { 20211, 60*60*24*365, apply.MALL_EXPBONUS, 5 , 0, false, true },
[52058]= { 20211, 60*60*24*365, apply.MAX_HP, 500, 0, false, true },
[52059]= { 20211, 60*60*24*365, apply.DEF_GRADE_BONUS, 150, 0, false, true },
[52060]= { 20211, 60*60*24*365, apply.ATT_GRADE_BONUS, 100, 0, false, true },
}
if pc.level < ride_info[vnum][5] then
say("")
say(gameforge.ride._010_say)
say("")
else
if 112 == pc.get_map_index() then
return
end
if ride_info[vnum][2] == 0 and remain_time != 0 then
pc.mount( ride_info[vnum][1], remain_time*60 )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
end
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when login begin
local vnum, remain_time = pc.get_special_ride_vnum()
if vnum <= 52000 or vnum >=52061 then
return
end
if 0 != vnum then
ride_upgradable.Ride(vnum, remain_time)
end
end
when 52001.use or 52002.use or 52003.use or 52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or
52016.use or 52017.use or 52018.use or 52019.use or 52020.use or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use or
52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or
52046.use or 52047.use or 52048.use or 52049.use or 52050.use or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use begin
if pc.is_polymorphed() then
say("")
say(gameforge.ride._020_say)
say("")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
item.set_socket(2, 60*24*365*60)
ride_upgradable.Ride(item.vnum, 0)
else
say("")
say(gameforge.ride._030_say)
say("")
end
end
end
end
die läuft permanent ab
und das Reittier hier in dieser Quest
Code:
quest ride_mystery_boxes begin
state start begin
function Ride( vnum, remain_time )
ride_info = {
[71124] = { 20114, item.get_socket(2)*60, apply.MAX_HP, 1, 34, false },
[71125] = { 20115, item.get_socket(2)*60, apply.ATTBONUS_MONSTER, 0, 0, false },
[71126] = { 20116, item.get_socket(2)*60, apply.CRITICAL_PCT, 0, 0, false },
[71127] = { 20117, item.get_socket(2)*60, apply.CRITICAL_PCT, 0, 0, false },
[71128] = { 20118, item.get_socket(2)*60, apply.MALL_DEFBONUS, 0, 0, false },
[71137] = { 20120, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71138] = { 20121, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71139] = { 20122, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71140] = { 20123, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71141] = { 20124, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71142] = { 20125, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71176] = { 20231, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
[71177] = { 20232, item.get_socket(2)*60, apply.MOV_SPEED, 0, 0, false, false, false},
}
if pc.level < ride_info[vnum][5] then
say("")
say(gameforge.ride._010_say)
say("")
else
if 112 == pc.get_map_index() then
return
end
if ride_info[vnum][2] == 0 and remain_time != 0 then
pc.mount( ride_info[vnum][1], remain_time*60 )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
end
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when login begin
local vnum, remain_time = pc.get_special_ride_vnum()
if vnum != 71124 and vnum != 71125 and vnum != 71126 and vnum != 71127 and vnum != 71128 and vnum != 71137 and vnum != 71138 and vnum !=71139 and vnum !=71140 and vnum !=71141 and vnum !=71142 and vnum !=71176 and vnum !=71177 then
return
end
if 0 != vnum then
ride_mystery_boxes.Ride(vnum, remain_time)
end
end
when 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use or 71176.use or 71177.use begin
if pc.is_polymorphed() then
say("")
say(gameforge.ride._020_say)
say("")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride_mystery_boxes.Ride(item.vnum, 0)
else
say("")
say(gameforge.ride._030_say)
say("")
end
end
end
end
läuft nur ab wen man es nutzt...
und was genau bedeuten die 34?
also die 1 bedeutet du bekommst 1 TP wen du Reittest
Code:
[71124] = { 20114, item.get_socket(2)*60, apply.MAX_HP, 1, 34, false },
Die Tabelle ist wie folgt zu verstehen;
Code:
[item_vnum] = {mount_vnum, remain_time, applytype, applyvalue, min_level, disappears},
lg
Similar Threads
[S] Reittiere
09/23/2012 - Metin2 Private Server - 0 Replies
Ich suche die Reittiere mit den Richtigen DE-Siegel.
Kann mir jemmand dies geben?
Reittiere :(
11/06/2011 - Metin2 Private Server - 13 Replies
Hey leute...also ich hab seid einer woche versucht diese tiere rein zu machen....
Also die Siegel habe ich....die quest funktioniert auch....aber dann kommt das tier nicht und mein char...läuft i-wie schief...also man sieht die tiere generell garnicht....-.-
Kann mir jmd bitte weiter helfen...?
MfG greatkaan
[S]Jemanden der Die Siegel für Reittiere auf Reittiere einstellt. Mit Belohnung
12/22/2010 - Metin2 Private Server - 3 Replies
Hi Com,
ich suche eine Person, die mir Die Reittiere so einstellt das man sie mit den Siegeln rufen kann, und so halt.
Wer mir das einstellt wird Mitglied in meinem Team auf meinem HomeRoot Server.
Ich hoffe, dass mir einer helfen kann
GreAts: Chikudo
Reittiere! :D
04/21/2010 - Metin2 Private Server - 14 Replies
Was sagt ihr dazu,werden wir ietzt auch Reittiere auf unseren P Servers haben?^^
Achia viel Spass mit dem Entpacken vom Clienten :D
Patch am 21. April 2010
Autor: Befagor | Datum: 21. April 2010
Die Wartungsarbeiten erfolgten diese Woche erst am Mittwoch, statt wie sonst am Dienstag. Dabei wurden mehrere Bugfixe eingespielt.
Es erscheint jetzt eine Onscreen Tastatur um Keyloggern das Abfangen zu erschweren. Diese Tastatur kann nicht deaktiviert werden. Die normale Tastatur kann...
All times are GMT +2. The time now is 19:21 .