Jump to content
  • 0

Dungeon access for all characters from the same account


Fluffle Puff

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

Hello everyone,

I need your help for this little scenario:

You have 2 characters on your account, and with only one of them you do the dungeon access quests (http://irowiki.org/classic/Access_Quests) and younaturally get access to dungeons (and ITEMS/EXP if any).

Now, I would like your 2nd character (the one which never quested) to have the same dungeon accesses as the character who did the related quests; but without the item/exp reward of course.

Any clue anyone ?

Thanks for your help :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

You can search the script and change the variable:

 

 

set .@canenter, 1;

 

to

set #canenter, 1;

 

 

http://rathena.org/wiki/Variables

 

 

# Variables are account variables

## Variables are global variables.

 

If you want, you can give me the entrance quest script and i can edit it for you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

Thank you for answering.

 

Do you mind if you help me with veins siblings (Pre-renewal)? Thank you so much sir !

 

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

Edited by Fluffle Puff
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

Thank you for answering.

 

Do you mind if you help me with veins siblings (Pre-renewal)? Thank you so much sir !

 

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

 

It is actually easy to change, but hard to find the thing you need to change add, and well, the example you gave to us was veins silbings quest:

            mes "["+strcharinfo(0)+"]";
            mes "Good, good...";
            mes "It's a promise, then.";
            mes "I'll see you later~";
            completequest 3083; //<--- This One
            set rachel_camel,25;
            specialeffect2 EF_ABSORBSPIRITS;
            if (checkre(3))
                getexp 100000,50000;
            else
                getexp 1000000,700000;
            close;

As we can see, the highlighted instruction "completequest 3083" is the one that has to be changed, or not... because it is not a variable like we all know, like .@var or #var.

 

What I suggest you to do is to add another instruction like this:

            completequest 3083;
            set #veinssiblingquest,1; // <-- Add this

And then, make a script that detects if you've that #veinssiblingquest on, it will automatically set on your other characters completequest 3083, just like this:

-<tab>script<tab>Automatic Quest<tab>-1,{
OnPCLoginEvent:
          if ( #veinssiblingquest == 1  && veinssibling != 1 ){
                completequest 3083;
                set veinssibling,1; // This is just to not re do all these instructions everytime the user logs in
          }
end;
}

I think it should work, but the bad thing is that you have to add a lot of instructions haha. But the good thing is that the half of the work is done =).

 

The tips I can give you to find the instructions like completequest are these:

 

* Ctrl+F - "completequest"

* Ctrl+F - The item id of the required item to enter a certain map, like in "The Sign Quest" the item you need is "Lucifer's Lament" which item id is "7025" but in this case is not really necessary, since the item can be stored.

 

P.S. This is only if you want that players can enter to the dungeon, but they will not be able to make other quests like Nameless, that requiries about 5 quests, you need to make some other changes.

 

In the nameless quest.txt we can see this:

 

if ((prt_curse == 36 || prt_curse == 45 || prt_curse == 56 || prt_curse == 61) && (aru_monas < 1))

 

You will also need to make those changes, like setting prt_curse to 36.

Edited by eKoh
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

It didnt work, it gives a message in console:

 

[Error]: quest_update_status: Character 150006 doesn't have quest 3083.
 

and also, why you didnt use the label "set rachel_camel,25;"? thank you

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
Answer this question...

×   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...