Hercules Elf Bot - Oct 15, 2012 14:50
					
				
				
					Originally posted by [b]dastgirpojee[/b]
Please Check this mistakes!
[CODE]		} else if (checkquest(9157) >= 0) {
			mes "[Sage Kasyapa]";
			mes "There is something";
			mes "I wish to give to you";
			mes "as a reward for your help.";
			mes "Please, it would honor us if you would take it.";
			next;
			specialeffect2 EF_PNEUMA;
			mes "[Sage Kasyapa]";
			mes "The reason I asked you to embark";
			mes "on this important mission is";
			mes "because of this feather.";
			mes "Handed down from generation to";
			mes "generation, the legendary origin of";
			mes "the crown is this feather...";
			next;
			mes "[Sage Kasyapa]";
			mes "I saw this feather begin to shine";
			mes "when you came here.";
			mes "I knew you were a person who";
			mes "would endeavour to help us.";
			mes "On behalf of my people,";
			mes "I give my thanks.";
			next;
			mes "[Sage Kasyapa]";
			mes "Also, the feather you received";
			mes "isn't just valuable on it's own,";
			mes "it also is an acknowledgment from our tribe.";
			next;
			mes "[Sage Kasyapa]";
			mes "Like ^C35817Krakatau Volcano^000000, when you";
			mes "venture into dangerous areas like";
			mes "that, if you display this feather,";
			mes "you can get help from the tribe.";
			mes "Anyway, I really thank you.";
			set dewata_legend,5;
			erasequest 9157;
			[b]getitem 6406,1;
[/b]			close; }[/CODE]
According to the Lua of kRO, its
[CODE][9157] = { 
NPCFromName = [[Tribal Chief Paiko]],
NPCFromMap = [[dew_in01]],
NPCFromSpr = [[4_M_DEWZATICHIEF]],
NPCFromX = 15,
NPCFromY = 49,
NPCToName = [[Sage Kasyapa]],
NPCToMap = [[dew_in01]],
NPCToSpr = [[4_M_DEWZATIMAN]],
NPCToX = 22,
NPCToY = 48,
Item = [[]],
PrizeItem = [[ < image = "6405">Cendrawasih Feather<\end> (1)]],
Title = [[Certification Award]],
Info = [[^0000FFTribal Chief Paiko^000000Talk to Sage Kasyapa: "^404040He will give Certification Award,Then talk to Chief Again ^000000"]],
QuickInfo  = [[]],
Hunt1 = [[]],
Hunt2 = [[]],
Hunt3 = [[]],
Time = [[0]],
LV = [[0]],
},,[/CODE]
So the getitem 6406 should be getitem 6405 according to lua.
Another One:
[CODE]
   mes .@n$;
   mes "Ah, the next person whom I want";
   mes "the ^4AA02CSatay^000000 delivered to is someone";
   mes "who stays across from the river,";
   mes "the ^0000FFTribe Manager^000000.";
   next;
   mes .@n$;
   mes "To this end, I will give you 2";
   mes "more servings of ^4AA02CSatay^000000.";
   next;
   mes .@n$;
   mes "If you are attracted by the aroma";
   mes "of the ^4AA02CSatay^000000, you may eat one.";
   mes "But if you eat more you won't be";
   mes "able to share ^4AA02CSatay^000000 with our friends.";
   changequest 9159,9160;
   [b]getitem 11533,2;[/b]
   close; }
[/CODE]
But According to Lua it should be
[CODE]
[9160] = { 
NPCFromName = [[Tribal Chief Paiko]],
NPCFromMap = [[dew_in01]],
NPCFromSpr = [[4_M_DEWZATICHIEF]],
NPCFromX = 15,
NPCFromY = 49,
NPCToName = [[Tribe Warrior]],
NPCToMap = [[dew_fild01]],
NPCToSpr = [[4_M_DEWZATIMAN]],
NPCToX = 185,
NPCToY = 300,
Item = [[ < image = "11533">Satay<\end> (1)]],
PrizeItem = [[ < image = "11533">Satay<\end> (1)]],
Title = [[Deliver the Satay(2)]],
Info = [[^0000FFTribal Chief Paiko^000000 Task: "^404040Deliver the Satay to Tribe Warrior^000000"]],
QuickInfo  = [[]],
Hunt1 = [[]],
Hunt2 = [[]],
Hunt3 = [[]],
Time = [[0]],
LV = [[0]],
},
[/CODE]
Only 1
3rd:
[CODE]
  mes .@n$;
   mes "Oh, you delivered it!";
   mes "Last person to deliver ^4AA02CSatay^000000 to is";
   mes "the ^0000FFBorobudur Temple Manager^000000, who is";
   mes "on ^C35817Dewata Island^000000.";
   next;
   mes .@n$;
   mes "I will give you 2 more ^4AA02CSatay^000000.";
   next;
   mes .@n$;
   mes "And just like before, don't give";
   mes "in to the smell and try not to eat the ^4AA02CSatay^000000.";
   changequest 9163,9164;
   getitem 11533,2;
   close; }
[/CODE]
According to lua it should be getitem 11533,1;
9164 Says
[CODE]
  [9164] = {
    NPCFromName = [[Tribal Chief Paiko]],
    NPCFromMap = [[dew_in01]],
    NPCFromSpr = [[4_M_DEWZATICHIEF]],
    NPCFromX = 15,
    NPCFromY = 49,
    NPCToName = [[Borobudur Temple Manager]],
    NPCToMap = [[dewata]],
    NPCToSpr = [[4_M_DEWMAN]],
    NPCToX = 78,
    NPCToY = 192,
    Item = [[ < image = "11533">Satay<\end> (1)]],
    PrizeItem = [[ < image = "11533">Satay<\end> (1)]],
    Title = [[Deliver the Satay(4)]],
    Info = [[^0000FFTribal Chief Paiko^000000: "^404040Deliver the Satay to Borobudur Temple Manager.^000000"]],
    QuickInfo  = [[]],
    Hunt1 = [[]],
    Hunt2 = [[]],
    Hunt3 = [[]],
    Time = [[0]],
    LV = [[0]],
   },
[/CODE]
Last one 4th:
[CODE]
   mes "You've done good work.";
   mes "Whatever you do in the future, I";
   mes "wish for you to have a life which";
   mes "is full of fortune and joy";
   mes "As Chief of the ^C35817Jaty Tribe^000000, I wish";
   mes "you the best of luck!!";
   set dewata_legend,6;
   erasequest 9165;
   getitem 11533,5;
   getitem 18520,1;
[/CODE]
Quest 9165 LUA Says
[CODE]
  [9165] = {
    NPCFromName = [[Borobudur Temple Manager]],
    NPCFromMap = [[dewata]],
    NPCFromSpr = [[4_M_DEWMAN]],
    NPCFromX = 78,
    NPCFromY = 192,
    NPCToName = [[Tribal Chief Paiko]],
    NPCToMap = [[dew_in01]],
    NPCToSpr = [[4_M_DEWZATICHIEF]],
    NPCToX = 15,
    NPCToY = 49,
    Item = [[]],
    PrizeItem = [[ < image = "18520">Jaty Crown<\end> (1)]],
    Title = [[Get the Prize from Tribal Chief Paiko]],
    Info = [[^0000FFBorobudur Temple Manager^000000: "^404040Thanks for Delivering, Now go to Tribal Chief Paiko to get the rewards.^000000"]],
    QuickInfo  = [[]],
    Hunt1 = [[]],
    Hunt2 = [[]],
    Hunt3 = [[]],
    Time = [[0]],
    LV = [[0]],
   },
[/CODE]
According to Lua, There is No Satay Rewarded.
				
								
					
						This post has been edited by
						dastgirpojee
						on Oct 16, 2012 12:13