Jump to content
Cretino

Quest Manager - Create quests with various requirements and prizes!

Recommended Posts

Hey guys, this is my 'new script'. (New to you guys, because I used when I had my server, but now with some improvements.)

 

Name: Quest Manager

Creator: Me (@@Cretino)

Version: 1.0b (Little improvement and others bugs fixed.)

Contributors: (@@Aeromesi: Found a bug.)

 

Recommendations:

To get a better experience using this script,

it is recommended change the value of 'input_max_value' to '2147483647'. (See more in 'conf/script.conf'.)

 

Q: 'What features have 'Quest Manager'?'

R:

 

// Requirements you can use:
Quests with delay. (Only quests with count limit can have delay)
Quests for account, character or global mode.
(Account = Delay, count limit and progress to account)
(Character = Delay, count limit and progress to character)
(Global = Delay and count limit is shared to all players,
Progress to account)

Quests with count limit. (If count limit is '0', The quest can be done unlimited times, but without delay.
If count limit is greater than 0 and don't have delay, the quest can only be done up to the count limit.
If count limit is greater than 0 and have delay, the quest can be done up to the count limit,
When count limit is reached, you will need wait the delay time to do again.)

Hunt monsters. (No limit of monsters) // The limit is you 
Collect items. (No limit of items) // The limit is you 
Zeny (Limit is 'MAX_ZENY' constant)
Cash Points (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')
Kafra Points (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')
Min level (Limit is 'MAX_LEVEL' constant)
Max level (Limit is 'MAX_LEVEL' constant)
 
// Prizes you can use:
Items (No limit of items) // The limit is you 
Zeny (Limit is 'MAX_ZENY' constant)
Cash Points (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')
Kafra Points (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')
Base Exp (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')
Job Exp (Limit is 'input_max_value' configuration, can be found in 'conf/script.conf')

// Management
You can remove a quest or all quests.
You can see all quests added.
You can add new quests. (Obvious.)

 

 

Q: 'How to use these features?'

R: 'You can use all features in game, just talk to npc with GM Account and have fun. :)'

 

Q: 'How to configure it?'

R: 'You can go to line '1568' in script, and you will see details like:'

 

// GameMaster Level to Access
.dq_group_access = 99;

// true = Show a message to player if kill a monster added in hunt (Message format: '[Quest Manager]: [My quest name] - Poring [1/100]')
// false = Disabled.
.dq_display_hunt = true;

// true = Players need accept quest in the npc to hunt monsters.
// false = Disabled.
.dq_player_accept = true;

// .npc_name$[0] = NPC name using 'mes'.
// .npc_name$[1] = NPC name using 'dispbottom'.
setarray .npc_name$[0], "[^FF0000" + strnpcinfo(3) + "^000000]", "[" + strnpcinfo(3) + "]";

 

 

I'm accepting suggestions.

If you found any bug, report in topic or send me a private message.

I'll solve the problem as quickly as possible.

 

I think is it. :)

 

Note: Sorry for my English.

 

quest_manager_v1.0.txt

quest_manager_v1.0.txt

quest_manager_v1.0.txt

Edited by Cretino

Share this post


Link to post
Share on other sites

@@Cretino one thing I noticed you still use goto. We replaced with callsub sometime in the future that will be out of the emulator. I'll look more into the script if anything else doesnt seem right. Going to test it in a few minutes

Share this post


Link to post
Share on other sites

Yes, because most scripts I created are to old eAthena and only updated for compatibility with the Hercules, but this is simple thing to change.

At first I did not like to use 'goto', but now, I like use only for menus.

Edited by Cretino

Share this post


Link to post
Share on other sites

Hi Cretino,

 

Does all created quest by gm was attached to sql?

 

if yes, it's useless for me to create a pre-made quest and transfer it later on to my online/dedicated server?

or there's a way to copy those and transfer it later to sql.

 

Thank you.

Share this post


Link to post
Share on other sites

Hi Cretino,

 

Does all created quest by gm was attached to sql?

 

if yes, it's useless for me to create a pre-made quest and transfer it later on to my online/dedicated server?

or there's a way to copy those and transfer it later to sql.

 

Thank you.

I didn't understand very well what you want to do...

You want to create the quests and then transfer to your main server?

If you want to copy the quest later... yes, but you need to understand a bit how the variables and their storage in the database, but I don't think it is worth, because of the work that will cause.

I think is better you do your tests and put in your server.

 

But if you want to try to make a backup of the quests here are all variables that store the information necessary:

 

 

 

$dq_hunting_id_
$dq_hunting_amount_
$dq_collect_id_
$dq_collect_amount_
$dq_prize_id_
$dq_prize_amount_
$dq_zeny_cost_
$dq_cash_cost_
$dq_kafra_point_cost_
$dq_req_lv_
$dq_max_lv_
$dq_zeny_prize_
$dq_cash_prize_
$dq_kafra_point_prize_
$dq_bexp_prize_
$dq_jobexp_prize_
$dq_delay_
$dq_id
$dq_name$
$dq_desc_name$
$dq_count
$dq_type

 

 

And sorry for my English. :x

Edited by Cretino

Share this post


Link to post
Share on other sites

I'm sorry as well Cretino if I didn't highlight my concern.

 

Yes you got my point, I was looking for those variables.

Then your suggestion is put the npc first in my "main/dedicated server" and make the actual quest requirements there.

 

Nice NPC by the way, keep it up!

Share this post


Link to post
Share on other sites

I'm sorry as well Cretino if I didn't highlight my concern.

 

Yes you got my point, I was looking for those variables.

Then your suggestion is put the npc first in my "main/dedicated server" and make the actual quest requirements there.

 

Nice NPC by the way, keep it up!

No problem. :)

I recommend you put in a test server for you to understand how the npc works and later you can set up again on your dedicated server.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.