Jump to content
  • 0

Disabling party/level/item requirement to access instances dungeon


mrburberry

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  04/11/13
  • Last Seen:  

Hi, I don't know if this the correct section (if it isn't, please move it to the proper place). I need help. Basically I play all by myself, and I want to access instance dungeons (Endless Tower, Old Glast Heim etc). But it require a party and some other people. Can I skip all those requirements and access it all by myself? I know I have to edit the instance script, but I don't understand the content & which one I have to edit. Thanks a lot for your help :).

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Might've been an issue with parentheses, sorry about that.

set .@i, party_create("i"+rand(100000000));
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

You want the mod only for your gm or for all player?

 

For all (easiest)

In all instance find and replace the amount in instance_check_party by the value you want (1)

if (!instance_check_party(.@party_id,2)) {// change 2 to 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  04/11/13
  • Last Seen:  

Wow, thank you. That solve most of it. But I'm curious, can you just get rid of the party requirement? (like not having the party at all). And the same goes to item/quest requirement. I've tried putting "//" in front of the item/quest line but then I got the error message when I relaunch the server. Sorry for asking, I just don't understand this scripting thing.

 

EDIT: I play both as GM and normal player.

Edited by mrburberry
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

At the moment that isn't possible. The instance system, uses the party's ID to store the instance itself, so the 2 are linked together. The only way I could think of this being fixed is if someone released a src edit for the instance commands, taking a players CharID instead. But I have no idea how that would effect the instance 'engine' so to speak.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

This is the bare minimum to enter an instance:

set .@instance$,"Endless Tower";

if (!getcharid(1)) { // Generate a party if needed.

while(.@i < 1)

set .@i, party_create "i"+rand(100000000);

sleep2 100;

}

instance_create(.@instance$); // Create the instance.

instance_enter(.@instance$); // Enter the instance.

end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  04/11/13
  • Last Seen:  

I see then. Anyway thanks a lot for the help guys.  /no1


This is the bare minimum to enter an instance:

set .@instance$,"Endless Tower";

if (!getcharid(1)) { // Generate a party if needed.
	while(.@i < 1)
		set .@i, party_create "i"+rand(100000000);
	sleep2 100;
}
instance_create(.@instance$); // Create the instance.
instance_enter(.@instance$); // Enter the instance.
end;

 

It's me again. I tried using your script to skip all the nuisance, but I got this error:

 

[Error]: Loading NPC file: -
script error on -.txt line 475
need '('
471 : set .@instance$,"Endless Tower";
472 :
473 : if (!getcharid(1)) { // Generate a party if needed.
474 : while(.@i < 1)
* 475 : set .@i, party_create '"'i"+rand(100000000);
476 : sleep2 100;
477 : }
478 : instance_create(.@instance$); // Create the instance.
479 : instance_enter(.@instance$); // Enter the instance.
480 : end;
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

http://rathena.org/board/topic/82922-party-related-script-commands/

update your emu or replace

    while(.@i < 1)
        set .@i, party_create "i"+rand(100000000);

by

atcommand "@party i"+ rand(100000000);
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...