Jump to content

Recommended Posts

Posted

pRO Monster Hunter Mission


This is a complete custom made copy of Ragnarok Online Philippines' Monster Hunter Mission Quest Event for the month of September.
Sorry if the script is so messy since I'm still a newbie in Scripting.
The info of this quest is you need to bring the following quest items that requested by Master Hunter npc.
You can check the event details here : https://www.ragnarokonline.com.ph/news/monster-hunt-sep2017
You can check your quest in Quest Tab (Alt+U) if you want to check what item are you going to bring to Master Hunter and where you can get it.

Important Note:
You need to add this in your db/import/quest_db.txt in your trunk and data/questid2display.txt in your grf.

db/import/quest_db.txt (In trunk)

100001,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100003,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100005,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100006,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"
100007,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"

data/questid2display.txt (In GRF)

100001#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Orc Warrior and bring Orcish Voucher 50 EA together with 50,000 Zeny#
#
100002#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Hode and bring Earthworm Peeling 50 EA together with 50,000 Zeny#
#
100003#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Sohee and bring Black Hair 50 EA together with 50,000 Zeny#
#
100004#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Bigfoot and bring Bear's Footskin 50 EA together with 50,000 Zeny#
#
100005#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Raydric and bring Brigan 50 EA together with 50,000 Zeny#
#
100006#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Pasana and bring Broken Sword 50 EA together with 50,000 Zeny#
#
100007#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Anolian and bring Anolian Skin 50 EA together with 50,000 Zeny#
#

 


 

  • MVP 1
Posted
2 hours ago, tathanngudong said:

Sorry...How i can add new quest with NPC??

Just add another line in both quest_db and questid2display then add additional mob and item id then add the setquest and erasequest.
Sample:
add in db/import/quest_db.txt

100008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"

add in data/questid2display.txt

100008#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Poring and bring Jellopy 50 EA together with 50,000 Zeny#
#

In Line 39 edit : //Change the total number (7)

.@mob = rand(1,8);

In Line 45 replace from:

else {.@mob$ = "Anolian"; mhmid = 7003; setquest 100007;}                //Anolian Skin

to :

else if(.@mob == 7){.@mob$ = "Anolian"; mhmid = 7003; setquest 100007;}                //Anolian Skin

then add after :

else if(.@mob == 8){.@mob$ = "Poring"; mhmid = 909; setquest 100008;}                //Jellopy

After that, if you want to add more rewards, go to the rewards section. //Change the total number (11)
find : 

.@r = rand(1,12);

after : 

if(.@r == 11){.@reward = 5579; .@rewardamt = 1;}    //Wanderer's Sakkat

add :

if(.@r == 12){.@reward = 5035; .@rewardamt = 1;}    //Poring Hat

Then erase the quest after getting rewards.
after:

if(checkquest(100007) == 1){
    erasequest 100007;
}

add : 

if(checkquest(100008) == 1){
    erasequest 100008;
}

And its done. ( Sorry if the code is so messy XD )

  • Love 1
  • 4 months later...
  • 3 months later...
Posted
On 9/8/2017 at 2:18 PM, GodKnows Jhomz said:

Just add another line in both quest_db and questid2display then add additional mob and item id then add the setquest and erasequest.
Sample:
add in db/import/quest_db.txt


100008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Monster Hunter Mission"

add in data/questid2display.txt


100008#Monster Hunter Mission#SG_FEEL#QUE_NOIMAGE#
Kill Poring and bring Jellopy 50 EA together with 50,000 Zeny#
#

In Line 39 edit : //Change the total number (7)


.@mob = rand(1,8);

In Line 45 replace from:


else {.@mob$ = "Anolian"; mhmid = 7003; setquest 100007;}                //Anolian Skin

to :


else if(.@mob == 7){.@mob$ = "Anolian"; mhmid = 7003; setquest 100007;}                //Anolian Skin

then add after :


else if(.@mob == 8){.@mob$ = "Poring"; mhmid = 909; setquest 100008;}                //Jellopy

After that, if you want to add more rewards, go to the rewards section. //Change the total number (11)
find : 


.@r = rand(1,12);

after : 


if(.@r == 11){.@reward = 5579; .@rewardamt = 1;}    //Wanderer's Sakkat

add :


if(.@r == 12){.@reward = 5035; .@rewardamt = 1;}    //Poring Hat

Then erase the quest after getting rewards.
after:


if(checkquest(100007) == 1){
    erasequest 100007;
}

add : 


if(checkquest(100008) == 1){
    erasequest 100008;
}

And its done. ( Sorry if the code is so messy XD )

Sorry...The quest not unlimited levels? ?

  • 5 months later...
Posted

Thanks for this! The script is perfect btw!

But how to remove the random option of 1 to 7? and set it to ascending order? 

for example. Level 1 Orc Warrior, 50 Orcish Voucher, 50,000z. = get reward

When completed.. proceed to Level 2 Horde, etc... etc...

You can't climb to higher levels unless you finish the current level.

So that it will not be so easy to obtain the Wanderer's Sakkat reward.

I tried  removing the random but I failed.  Can you help me with this pls?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...