You last visited: Today at 19:30
Advertisement
mob_drop.quest VB - Reload Fehler
Discussion on mob_drop.quest VB - Reload Fehler within the Metin2 Private Server forum part of the Metin2 category.
08/17/2013, 01:05
#1
elite*gold: 35
Join Date: Aug 2013
Posts: 204
Received Thanks: 125
mob_drop.quest VB - Reload Fehler
Guten Tag Com,
Ich habe mir ne' mob_drop.quest erstellt, weil die .txt nicht zu 100% die Item's droppt.
Wenn Ich aber nun die quest per python reloaden will, tritt ein undefinierter Fehler auf.
Fehler :
syntax error : [strin "startnot npc . is_pc ( )"]:152: unexpected symbol near ` }'
mob_drop.quest:163:Error occured on compile mob_drop.quest
Hier ist die Quest, als pHp - Code
PHP Code:
quest mobdrop begin
state start begin
when kill with not npc . is_pc () begin
local drop_items = {
-- { MOB_RACE , ITEM_VNUM , ITEM_COUNT , DROP_CHANCE , PC_MIN_LEVEL , PC_MAX_LEVEL }, ( kannst du hier stehen lassen )
{ 8001 , 50136 , 1 , 100 , 1 , 15 },
{ 8001 , 50137 , 1 , 100 , 1 , 15 },
{ 8001 , 50513 , 1 , 20 , 1 , 15 },
{ 8001 , 38052 , 1 , 100 , 1 , 15 },
{ 8002 , 50136 , 1 , 100 , 1 , 20 },
{ 8002 , 50137 , 1 , 100 , 1 , 20 },
{ 8002 , 50513 , 1 , 20 , 1 , 20 },
{ 8002 , 38052 , 1 , 100 , 1 , 20 },
{ 8003 , 50136 , 1 , 100 , 1 , 20 },
{ 8003 , 50137 , 1 , 100 , 1 , 20 },
{ 8003 , 50513 , 1 , 20 , 1 , 20 },
{ 8003 , 38052 , 1 , 100 , 1 , 20 },
{ 8004 , 50136 , 1 , 100 , 1 , 25 },
{ 8004 , 50137 , 1 , 100 , 1 , 25 },
{ 8004 , 50513 , 1 , 20 , 1 , 25 },
{ 8004 , 38052 , 1 , 100 , 1 , 25 },
{ 8005 , 50136 , 1 , 100 , 1 , 30 },
{ 8005 , 50137 , 1 , 100 , 1 , 30 },
{ 8005 , 50513 , 1 , 20 , 1 , 30 },
{ 8005 , 38052 , 1 , 100 , 1 , 30 },
{ 8006 , 50136 , 1 , 100 , 1 , 35 },
{ 8006 , 50137 , 1 , 100 , 1 , 35 },
{ 8006 , 50513 , 1 , 20 , 1 , 35 },
{ 8006 , 38052 , 1 , 100 , 1 , 35 },
{ 8007 , 50136 , 1 , 100 , 1 , 40 },
{ 8007 , 50137 , 1 , 100 , 1 , 40 },
{ 8007 , 50513 , 1 , 20 , 1 , 40 },
{ 8007 , 38052 , 1 , 100 , 1 , 40 },
{ 8008 , 50136 , 1 , 100 , 1 , 45 },
{ 8008 , 50137 , 1 , 100 , 1 , 45 },
{ 8008 , 50513 , 1 , 20 , 1 , 45 },
{ 8008 , 38052 , 1 , 100 , 1 , 45 },
{ 8009 , 50136 , 1 , 100 , 1 , 55 },
{ 8009 , 50137 , 1 , 100 , 1 , 55 },
{ 8009 , 50513 , 1 , 20 , 1 , 55 },
{ 8009 , 38052 , 1 , 100 , 1 , 55 },
{ 8010 , 50136 , 1 , 100 , 1 , 60 },
{ 8010 , 50137 , 1 , 100 , 1 , 60 },
{ 8010 , 50513 , 1 , 20 , 1 , 60 },
{ 8010 , 38052 , 1 , 100 , 1 , 60 },
{ 8011 , 50136 , 1 , 100 , 1 , 70 },
{ 8011 , 50137 , 1 , 100 , 1 , 70 },
{ 8011 , 50513 , 1 , 20 , 1 , 70 },
{ 8011 , 38052 , 1 , 100 , 1 , 70 },
{ 8012 , 50136 , 1 , 100 , 1 , 75 },
{ 8012 , 50137 , 1 , 100 , 1 , 75 },
{ 8012 , 50513 , 1 , 20 , 1 , 75 },
{ 8012 , 38052 , 1 , 100 , 1 , 75 },
{ 8013 , 50136 , 1 , 100 , 1 , 75 },
{ 8013 , 50137 , 1 , 100 , 1 , 75 },
{ 8013 , 50513 , 1 , 20 , 1 , 75 },
{ 8013 , 38052 , 1 , 100 , 1 , 75 },
{ 8014 , 50136 , 1 , 100 , 1 , 80 },
{ 8014 , 50137 , 1 , 100 , 1 , 80 },
{ 8014 , 50513 , 1 , 20 , 1 , 80 },
{ 8014 , 38052 , 1 , 100 , 1 , 80 },
{ 8024 , 50136 , 1 , 100 , 1 , 90 },
{ 8024 , 50137 , 1 , 100 , 1 , 90 },
{ 8024 , 50513 , 1 , 20 , 1 , 90 },
{ 8024 , 38052 , 1 , 100 , 1 , 90 },
{ 8024 , 30197 , 1 , 10 , 1 , 90 },
{ 8024 , 30198 , 1 , 10 , 1 , 90 },
{ 8024 , 30199 , 1 , 10 , 1 , 90 },
{ 8024 , 27992 , 1 , 20 , 1 , 90 },
{ 8024 , 27993 , 1 , 20 , 1 , 90 },
{ 8024 , 27994 , 1 , 20 , 1 , 90 },
{ 8025 , 50137 , 1 , 100 , 1 , 90 },
{ 8025 , 50513 , 1 , 20 , 1 , 90 },
{ 8025 , 38052 , 1 , 100 , 1 , 90 },
{ 8025 , 30197 , 1 , 10 , 1 , 90 },
{ 8025 , 30198 , 1 , 10 , 1 , 90 },
{ 8025 , 30199 , 1 , 10 , 1 , 90 },
{ 8025 , 27992 , 1 , 20 , 1 , 90 },
{ 8025 , 27993 , 1 , 20 , 1 , 90 },
{ 8025 , 27994 , 1 , 20 , 1 , 90 },
{ 8025 , 50132 , 1 , 5 , 1 , 90 },
{ 8025 , 50133 , 1 , 5 , 1 , 90 },
{ 8025 , 50134 , 1 , 5 , 1 , 90 },
{ 8025 , 50135 , 1 , 5 , 1 , 90 },
{ 8026 , 50137 , 1 , 100 , 1 , 90 },
{ 8026 , 50513 , 1 , 20 , 1 , 90 },
{ 8026 , 38052 , 1 , 100 , 1 , 90 },
{ 8026 , 30197 , 1 , 10 , 1 , 90 },
{ 8026 , 30198 , 1 , 10 , 1 , 90 },
{ 8026 , 30199 , 1 , 10 , 1 , 90 },
{ 8026 , 27992 , 1 , 20 , 1 , 90 },
{ 8026 , 27993 , 1 , 20 , 1 , 90 },
{ 8026 , 27994 , 1 , 20 , 1 , 90 },
{ 8026 , 50132 , 1 , 5 , 1 , 90 },
{ 8026 , 50133 , 1 , 5 , 1 , 90 },
{ 8026 , 50134 , 1 , 5 , 1 , 90 },
{ 8026 , 50135 , 1 , 5 , 1 , 90 },
{ 8026 , 50135 , 1 , 5 , 1 , 90 },
{ 8026 , 3150 , 1 , 5 , 1 , 90 },
{ 8026 , 1120 , 1 , 5 , 1 , 90 },
{ 8026 , 170 , 1 , 5 , 1 , 90 },
{ 8026 , 7150 , 1 , 5 , 1 , 90 },
{ 8026 , 250 , 1 , 5 , 1 , 90 },
{ 8027 , 50136 , 1 , 100 , 1 , 99 },
{ 8027 , 50137 , 1 , 100 , 1 , 99 },
{ 8027 , 50513 , 1 , 70 , 1 , 99 },
{ 8027 , 38052 , 1 , 70 , 1 , 99 },
{ 8027 , 140 , 1 , 5 , 1 , 100 },
{ 8027 , 3130 , 1 , 10 , 1 , 100 },
{ 8027 , 160 , 1 , 10 , 1 , 100 },
{ 8027 , 150 , 1 , 5 , 1 , 100 },
{ 8027 , 240 , 1 , 10 , 1 , 100 },
{ 8027 , 1100 , 1 , 5 , 1 , 100 },
{ 8027 , 1110 , 1 , 10 , 1 , 100 },
{ 8027 , 2140 , 1 , 5 , 1 , 100 },
{ 8027 , 2130 , 1 , 10 , 1 , 100 },
{ 8027 , 7140 , 1 , 5 , 1 , 100 },
{ 8027 , 7130 , 1 , 10 , 1 , 100 },
{ 8027 , 5100 , 1 , 5 , 1 , 100 },
{ 8027 , 5090 , 1 , 10 , 1 , 100 },
{ 8027 , 180 , 1 , 2 , 1 , 100 },
{ 8027 , 3160 , 1 , 2 , 1 , 100 },
{ 8027 , 1130 , 1 , 2 , 1 , 100 },
{ 8027 , 5120 , 1 , 2 , 1 , 100 },
{ 8027 , 2170 , 1 , 2 , 1 , 100 },
{ 8027 , 50132 , 1 , 5 , 1 , 100 },
{ 8027 , 50133 , 1 , 5 , 1 , 100 },
{ 8027 , 50134 , 1 , 5 , 1 , 100 },
{ 8027 , 50135 , 1 , 5 , 1 , 100 },
{ 8027 , 50135 , 1 , 5 , 1 , 100 },
{ 8027 , 30197 , 1 , 10 , 1 , 100 },
{ 8027 , 30198 , 1 , 10 , 1 , 100 },
{ 8027 , 30199 , 1 , 10 , 1 , 100 },
{ 8027 , 27992 , 1 , 20 , 1 , 100 },
{ 8027 , 27993 , 1 , 20 , 1 , 100 },
{ 8027 , 27994 , 1 , 20 , 1 , 100 },
{ 2597 , 27992 , 1 , 70 , 1 , 105 },
{ 2597 , 27993 , 1 , 70 , 1 , 105 },
{ 2597 , 27994 , 1 , 70 , 1 , 105 },
{ 2598 , 50186 , 1 , 100 , 1 , 105 },
{ 2598 , 180 , 1 , 5 , 1 , 105 },
{ 2598 , 190 , 1 , 5 , 1 , 105 },
{ 2598 , 1130 , 1 , 5 , 1 , 105 },
{ 2598 , 3160 , 1 , 5 , 1 , 105 },
{ 2598 , 2170 , 1 , 5 , 1 , 105 },
{ 2493 , 38053 , 1 , 100 , 1 , 105 },
{ 2493 , 30251 , 1 , 50 , 1 , 105 },
{ 2493 , 30252 , 1 , 50 , 1 , 105 },
{ 2493 , 30253 , 1 , 50 , 1 , 105 },
{ 2493 , 30197 , 1 , 70 , 1 , 105 },
{ 2493 , 30198 , 1 , 70 , 1 , 105 },
{ 2493 , 30199 , 1 , 70 , 1 , 105 },
{ 2493 , 25041 , 1 , 35 , 1 , 105 },
{ 2493 , 30179 , 1 , 100 , 1 , 105 },
}
}
for i = 1 , table . getn ( drop_items ), 1 do
local dropRace , dropItem , dropCount , dropChance , dropMinLevel , dropMaxLevel = tonumber ( drop_items [ i ][ 1 ]), drop_items [ i ][ 2 ], drop_items [ i ][ 3 ], tonumber ( drop_items [ i ][ 4 ]), tonumber ( drop_items [ i ][ 5 ]), tonumber ( drop_items [ i ][ 6 ])
if npc . get_race () == dropRace and pc . get_level () >= dropMinLevel and pc . get_level () <= dropMaxLevel and dropChance >= number ( 0 , 10000 ) / 100 then
pc . give_item2 ( dropItem , dropCount )
end
end
end
end
end
Ich hoffe auf eine Antwort
08/17/2013, 01:39
#2
elite*gold: 0
Join Date: Nov 2009
Posts: 3,260
Received Thanks: 1,023
Gehört hier rein.
08/17/2013, 03:34
#3
elite*gold: 0
Join Date: May 2011
Posts: 5,088
Received Thanks: 3,475
#closed
Similar Threads
mob_drop.quest
08/11/2013 - Metin2 Private Server - 2 Replies
Hey, ich habe letztens von ein Freund eine mob_drop.quest bekommen.
Die funktioniert bei Wildhünden, aber nicht bei Metinsteinen ?
Hier ist der Inhalts der Quest :
quest mobdrop begin
state start begin
when kill with not npc.is_pc() begin
local drop_items = {
-- {MOB_RACE, ITEM_VNUM, ITEM_COUNT, DROP_CHANCE, PC_MIN_LEVEL, PC_MAX_LEVEL}, (kannst du hier stehen lassen)
{101, 19, 1, 88.55, 1, 120},
{8026, 30198, 1, 88.55, 1, 120},
Quest Reload Fehler
03/03/2013 - Metin2 Private Server - 4 Replies
Hey Epvp,
Habe ne Frage was dieser Fehler bedeutet.
Calls undeclared function! :
DragonLair.startRaid(82)
Der Fehler wird mir nach dem Quest Reloaden in PuTTy angezeigt.
Metin2 quest reload fehler(m2 qc)
02/01/2013 - Metin2 Private Server - 5 Replies
huhu, hab gerade meine alten files wd aufgesetzt,
und nun wenn ich den befehl : m2 qc eingebe , dann kommt, dieser fehler
./qc: Permission denied
würde mich freuen, wenn jemand eine schnelle antwort parat hätte :)
Schlüsselsteindropp per Quest oder Mob_drop
12/13/2012 - Metin2 Private Server - 2 Replies
Wollte mal wissen, wo der festgelegt ist, da man bei mir keine Schlüsselsteine droppt, habe schon verschiedene quests ausprobiert.
All times are GMT +2. The time now is 19:31 .