Jump to content
  • 0

Instance_enter bug?


ocelote

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   7
  • Joined:  01/02/12
  • Last Seen:  

Hello community!

I have some problem with instance_enter function.

Piece of code:

instance_enter("Dragon Nest");
close2;
warpparty "1@uns",56,263,.PartyID;

My instance_db:

13,Dragon Nest,1200,1@uns,56,263,1@uns

So. My problem:
Player, who warped with instance_enter can't see other players on 1@uns map.

All because of : when i click alt+z i see - My name (Alberta Ship) 

But visually this map looks like 1@uns. And when i do /where i see (Unknown Map) 1@uns 50, 50.

 

Thanks. Sorry for my English. 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   22
  • Joined:  10/24/14
  • Last Seen:  

Hey,

 

I think you should use instance_mapname("<map name>"{,<instance id>}) function for the map name.

instance_enter("Dragon Nest");
close2;
warpparty instance_mapname("1@uns"),56,263,.PartyID;

Or try warping one by one using instance_enter function.

// Check party exists
if (getcharid(1)) {
        // Attach all party members to this script
        addrid(2,0,getcharid(1));

        // Check party member is not AFK
        if (!checkvending() && !checkchatting()) {

                // Do your stuff for each active party member...
                instance_enter("Dragon Nest");

        }
}
Edited by Sehrentos
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   7
  • Joined:  01/02/12
  • Last Seen:  

Hey,

 

I think you should use instance_mapname("<map name>"{,<instance id>}) function for the map name.

instance_enter("Dragon Nest");
close2;
warpparty instance_mapname("1@uns"),56,263,.PartyID;

Hello!

It's not working :< 

post-1177-0-38731300-1428915668_thumb.png

Full screen:

post-1177-0-56366100-1428915910_thumb.png

 

 

I'll try to teleport one player. But it's still don't work...

Edited by ocelote
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  265
  • Reputation:   95
  • Joined:  09/30/14
  • Last Seen:  

warpparty instance_mapname("1@uns"),56,263, getcharid(1);

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