Jump to content

Group Search teleport issue


Go to solution Solved by Syreldar,

Recommended Posts

  • Premium

Hello, 

 

Im afraid it's a dumb issue but since i can't seem to find a solution by myself i'm asking for a solution.

 

I have installed the Group Search system from mali (V2 2020 version)

 

 

when I first tried the system i always had this error:

"You cannot register for this dungeon."

 

I then understand i have to add lines  to groupmatchmanager.cpp here as in the example :

if (Map.empty()) {
    //AddObject(351, X, Y, LEVEL, COUNT, { {VNUM1, COUNT1}, {VNUM2, COUNT2}, {VNUM3, COUNT3} });

 

I added lines for Hydra dungeon (I have Owsap version of it).

and the find and create group part was working fine also was the teleporting part to the dungeon but as soon as i entered i get kicked out of the dungeon.

I use TMP4 files and there is flame dungeon so i tried with it too but same result.

I think it must be coming from the fact that the dungeon is not initialized because when i try to warp to the dungeon map with the /warp function i get the same result.

I assumed X and Y are the coordinated from inside the dungeon since when teleporting it take the items as if i was starting the dungon from the NPC.

So what am i missing here to make the system work fully ?? 

 

Thanks in advance, 

 

Best regards

 

Link to comment
https://metin2.dev/topic/33986-group-search-teleport-issue/
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Honorable Member

If you warp to the dungeon normally and you immediately get kicked out, I'd wager the game doesn't know where to place you, which usually happens when you place a dungeon map in more than 1 core per ch, ch99 included.
Each map, dungeons included, must only be located in the MAP_ALLOW of a single core for each channel.

Dungeons are usually located (and must, unless the entrance is in their map itself, like the Demon Tower) in the same MAP_ALLOW where the map they are entered from is.

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Premium
9 hours ago, Syreldar said:

If you warp to the dungeon normally and you immediately get kicked out, I'd wager the game doesn't know where to place you, which usually happens when you place a dungeon map in more than 1 core per ch, ch99 included.
Each map, dungeons included, must only be located in the MAP_ALLOW of a single core for each channel.

Dungeons are usually located (and must, unless the entrance is in their map itself, like the Demon Tower) in the same MAP_ALLOW where the map they are entered from is.

Thanks a lot for the answer !

I forgot to mention something, the dungeons works well if i talk to the npc and be warp into them that way

I only get TPed out when i use the GM /warp function

When i implemented Hydra i noticed that each maps were only writed once in every MAP_ALLOW so i add them accordingly to this,

 

here is what it looks like (the only map i added was 358 metin2_map_defensewave and 359 metin2_map_defensewave_port)

game99: 

MAP_ALLOW: 113 81 100 101 103 105 110 111 114 118 119 120 121 122 123 124 125 126 127 128 181 182 183 200

channel1/first:

MAP_ALLOW: 1 4 5 6 3 23 43 112 107 67 68 72 208 302 304

channel1/game1:

MAP_ALLOW: 21 24 25 26 108 61 63 69 70 73 216 217 303

channel1/game2:

MAP_ALLOW: 41 44 45 46 109 62 64 65 66 71 104 301 351 358 359

 

(As you can see I've added in game2 CONFIG because 351 was already there not knowing i need it implement it in the same map as where the entrance is but since the entrance of Hydra is in Cape dragonhead it's seems to be in the right core or am i wrong ?)

Another information , if im in cape dragonhead and use the groupe search it's the same result.

and i have no syserr !

Thanks a lot !

 

Edited by ARiver
  • Honorable Member
  • Solution
11 hours ago, ARiver said:

I only get TPed out when i use the GM /warp function

The /warp gm command does not include an index, just global coordinates, meaning you don't warp to the dungeon (3580000~3589999), but to the normal map (358).
You get thrown out because there's probably an internal check to throw you out of the dungeon map if you're in the normal version of it (so not in a dungeon instance). It's a very common thing to have in dungeon systems/quests, since you're not supposed to be in the normal version of the dungeon map ever.

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Premium
On 9/19/2025 at 9:16 PM, Syreldar said:

The /warp gm command does not include an index, just global coordinates, meaning you don't warp to the dungeon (3580000~3589999), but to the normal map (358).
You get thrown out because there's probably an internal check to throw you out of the dungeon map if you're in the normal version of it (so not in a dungeon instance). It's a very common thing to have in dungeon systems/quests, since you're not supposed to be in the normal version of the dungeon map ever.

Ok so the group Search system TP function can't work as it is ? 

Or maybe the line i add in groupmatchmanager.cpp are badly wrote ? 

(

AddObject(351, 7762, 6739, 100, 2, { {71130, 1} });
AddObject(358, 1667, 5223, 90, 2, { {71130, 1} });

)

Anyway many many thanks for your time and explications

I've not dwelved into dungeons yet beside adding hydra and it's time im getting on it so thanks for the explanations ! 

 

EDIT: 

I have deleted the erase item function from group manager cpp file and made the tp warp in front of the dungeon and not inside .

Edited by ARiver

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.