Jump to content

Reward pagnatapos ang quest or intances


Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

Mga lodi paturo nmn po pano po bh lagyan ng reward yung script ng intances or quest gaya ng the sign quest,kiel quest ,endless tower, etc...... na pag natapos po yung quest bibigyan ka ng reward na iset mo like valkyrie set,diablo set, or headgears set meron choices kung alin kulunin mong reward, paturo nmn po mga lodi 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

The best way to solve your issue, hanapin mo muna kung saan mag tatapos yung isang insance kung may e bibigay ba na reward pag natapos mo, then search mo nalang yung specific reward, then add ka nalang ng 

getitem <#ITEMID>,<AMOUNT>;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

Wla po bah kayo maam example ng script po kung ano palatandaan kung tpos n po pra po mlaman ko po kung saan ko po ilalagay get reward,amount po? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  248
  • Reputation:   34
  • Joined:  11/19/11
  • Last Seen:  

On 7/17/2020 at 5:39 PM, alexander03 said:

Wla po bah kayo maam example ng script po kung ano palatandaan kung tpos n po pra po mlaman ko po kung saan ko po ilalagay get reward,amount po? 

post mo dito ung script. 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

I mean po yung script po ng endless tower , the sign quest oo mga na s rathena server mga quest po , pwd po ba lagyan ng ganun  po? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

 

https://github.com/rathena/rathena/blob/master/npc/quests/kiel_hyre_quest.txt

Kagaya po nyan sir san ko po po ilagay yung reward sir ? 

Edited by alexander03
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

20 minutes ago, Zack- said:

Thank u sir for quick replys,

But i mean sir put it on the last npc when quest finish, and i want to put item which is selections, that the npc said choose what u want and i can pick 1 of the five ore more choices , and that choices i can set what kind of item im goint to set whats inside but only i can pick 1 and done,

 

Can u show me which part need to change and how to put the script on it?? 

Edited by alexander03
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

23 minutes ago, alexander03 said:

Thank u sir for quick replys,

But i mean sir put it on the last npc when quest finish, and i want to put item which is selections, that the npc said choose what u want and i can pick 1 of the five ore more choices , and that choices i can set what kind of item im goint to set whats inside but only i can pick 1 and done,

 

Can u show me which part need to change and how to put the script on it?? 

You mean to say, you want to make new npc, can access it once the instance or quest is complete?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

No sir, 

I mean there is a last npc that npc is the exit and said u finish the quest right? I want to insert script on that last npc ,script that she give u reward before u leave, and she give u a choices of items that u want as a reward, like  example u put a five kind of headgear sets, and u have only pick 1 of those 5 sets of choices, then done and leave, 

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

On 7/20/2020 at 5:08 AM, alexander03 said:

No sir, 

I mean there is a last npc that npc is the exit and said u finish the quest right? I want to insert script on that last npc ,script that she give u reward before u leave, and she give u a choices of items that u want as a reward, like  example u put a five kind of headgear sets, and u have only pick 1 of those 5 sets of choices, then done and leave, 

 

 

I really think that you don't know the basic scripting.... 
 

Always visit this folder from server files. There is a sample folder and there is also a script_commands.txt have time to read script_commands.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

5 hours ago, Poring King said:

I really think that you don't know the basic scripting.... 
 

Always visit this folder from server files. There is a sample folder and there is also a script_commands.txt have time to read script_commands.txt

Im trying sir but, i am not really a developer sir ,i dont understand the codes thats why i ask people, im trying to but its hard for me,im just only a seafarer im sorry ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

11 hours ago, alexander03 said:

Im trying sir but, i am not really a developer sir ,i dont understand the codes thats why i ask people, im trying to but its hard for me,im just only a seafarer im sorry ?

 

11 hours ago, alexander03 said:

Im trying sir but, i am not really a developer sir ,i dont understand the codes thats why i ask people, im trying to but its hard for me,im just only a seafarer im sorry ?

 

Tulad ng sabi mo, hindi ka familiar sa mga code, sana inupload mo dito ang script na gusto mo lagyan para yung iba makatulong at magawa ang gusto mo,

 

On 7/20/2020 at 3:00 AM, alexander03 said:

 

https://github.com/rathena/rathena/blob/master/npc/quests/kiel_hyre_quest.txt

Kagaya po nyan sir san ko po po ilagay yung reward sir ? 

e2 kasi hindi ko sure if example mo lang ba, tulad ng pagkakasabi mo "kagaya po nyan" wala akong idea kung ang sinasabi mo is similar sya dyan or yan naba talaga ang gagamitin mo, kasi kung naiupload mo ang script na gusto mo, madami na sanang gumawa dito nyan, at doon mo ma cocompare ang script kung ano ba ang iniba

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

I mean po last npc po pgmatapos ang quest mgbibigay po yung npc n yun ng reward mo tpos set mo nlng kung anong reward gusto ko mercong choices kung anong item ang eclaim ko as reward dahil natapos ko ang quest po 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

12 minutes ago, alexander03 said:

I mean po last npc po pgmatapos ang quest mgbibigay po yung npc n yun ng reward mo tpos set mo nlng kung anong reward gusto ko mercong choices kung anong item ang eclaim ko as reward dahil natapos ko ang quest po 

Hanapin mo ung npc na tinutukoy mo . Mas maganda try mo ingame para alam mo kung ano ung last na sasabihin ng npc bago mag close or matapos ung conversation nyo. Example

mes " CrazyMan ";
mes "Hello this is your first message line";
mes "This is your last message line";

Then add this >>>>> getitem itemID,Amount;

close;

 

It should be look like this

prontera,x,y,3    script     Crazyman      63,{

mes " CrazyMan ";
mes "Hello this is your first message line";
mes "This is your last message line";

getitem 7227,1;                            

close;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  395
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

21 minutes ago, alexander03 said:

I mean po last npc po pgmatapos ang quest mgbibigay po yung npc n yun ng reward mo tpos set mo nlng kung anong reward gusto ko mercong choices kung anong item ang eclaim ko as reward dahil natapos ko ang quest po 

I told you, iupload mo dito ang npc na gusto mong lgyan nyan. para yung iba makatulong at doon mo mapag compare ang script code doon sa with and without, ang gusto mo kasi mangyari kailangan ng if statement at set-array yan kaya nga pinapauoload ang gagamitin mong npc para doon mo mapag compare kung ano ang ginawa, hindi naman kasi sya parang addons lang na illgay lang sa single line ang gusto mo ay gagana na sya, una kasi gagamitin mo ang if statement para kung accidentally mo na close yung dialog ng last npc ay pwd mo ulit makausap para sa reward mo, kasi kung ang gusto mo is parang addons lang na llgyan mo lang ng menu sa last part, paano nalang kapag na disconnect ang player or na close ang dialogue ang mangyayari hindi na nya makakausap ang npc na yun dahil nga tapos na ang quest mo, at doon na papasok ang if statement para kung accidentally mo ma close or disconnect habang kausap ang npc maari mo ulit syang makausap dahil doon sa set-array na nilagay mo

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.03
  • Content Count:  154
  • Reputation:   0
  • Joined:  01/03/20
  • Last Seen:  

eto na po boss yung huling NPC bago po mag exit po , yang parang warp po 

HorrorToyFactory.txt


d2 yata na part yan boss
 

1@xm_d,218,150,5    script    #exwp1    PORTAL,{
    mes "Will you exit?";
    next;
    if (select( "Take a look around", "Go outside" ) == 1) {
        mes "Stop the machine.";
        close;
    }
    close2;
    warp "xmas",233,300;
    end;
}

1@xm_d,210,141,3    script    Packaged Present#1    4_TREASURE_BOX,{
    specialeffect EF_COIN;
    disablenpc instance_npcname( strnpcinfo(0) );
    initnpctimer;
    end;
 

 

 

 

screenrAthena021.jpg

screenrAthena028.jpg

Edited by alexander03
posting image
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...