Jump to content

Recommended Posts

  • Premium

This is my quest check level :

quest incazdebug1 begin
	state start begin
		when login with pc.get_map_index() == 314 begin
			if pc.get_level() < 90 then
				warp_to_village()
			end
		end
	end
end

I found a player in this map under the level 90, i mean with level 80 ..

 

Is there a way with a hack to teleport with what level you want there?  and It wasn't a GM who teleported him there, because no1 in mai staff doesn't have any command

It could bypass the quest check with the ghost mode and teleport him with wedding ring ? I'm just asking for a probably way...

  • Love 1
Link to comment
https://metin2.dev/topic/7057-teleport-exploit/
Share on other sites

In char.cpp, search for:

bool CAN_ENTER_ZONE

And in switch (map_index)

Add case 314 with return false.

 

Like this:

bool CAN_ENTER_ZONE(const LPCHARACTER& ch, int map_index)
{
switch (map_index)
{
case 301:
case 302:
case 303:
case 304:
case 314:
if (ch->GetLevel() < 90)
return false;


}
return true;
}
  • Love 1
Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44683
Share on other sites

  • Premium

I tried to make it like this : 

bool CAN_ENTER_ZONE(const LPCHARACTER& ch, int map_index)
{
switch (map_index)
{
case 301:
case 302:
case 303:
case 304:
case 314:
case 200:
if (ch->GetLevel() < 90)
return false;
}
else
{
case 218:
if (ch->GetLevel() < 75)
return false;

}
return true;
}

But it gives some errors.

  • Love 1
Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44694
Share on other sites

  • Premium
bool CAN_ENTER_ZONE(const LPCHARACTER& ch, int map_index)
{
switch (map_index)
{
case 301:
case 302:
case 303:
case 304:
case 314:
case 200:
if (ch->GetLevel() < 90)
return false;
break;
case 218:
if (ch->GetLevel() < 75)
return false;
else
return true;
break; 
  • Love 2
Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44697
Share on other sites

  • Premium
bool CAN_ENTER_ZONE(const LPCHARACTER& ch, int map_index)
{
switch (map_index)
{
case 301:
case 302:
case 303:
case 304:
case 314:
case 200:
if (ch->GetLevel() < 90)
return false;
break;
case 218:
if (ch->GetLevel() < 75)
return false;
else
return true;
break; 

It didn't work.

Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44701
Share on other sites

  • Solution

Test this:

bool CAN_ENTER_ZONE(const LPCHARACTER& ch, int map_index)
{
switch (map_index)
{
case 301:
case 302:
case 303:
case 304:
case 314:
case 200:
if (ch->GetLevel() < 90)
return false;
break;

case 218:
if (ch->GetLevel() < 75)
return false;
break;
}

return true;
}

https://metin2.download/picture/j9MgeKrec9KSLEmg7n1j2j0Sg03CtWeq/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44702
Share on other sites

  • Premium

I had a similar problem with pc.get_level() and solved the problem by using pc.level()

I will notice that, now i am working for something like :

 

 

switch (map_index)
{
case 314:
if (ch->GetLevel() < 90)
DBManager::instance().Query("INSERT INTO log.wait_hack SET login='%s', nickname='%s'",
        ch->GetDesc()->GetAccountTable().login, ch->GetName());
          return false;

Because i want to know who wanted to play in not a fair mode.

Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44708
Share on other sites

  • Active Member

 

I had a similar problem with pc.get_level() and solved the problem by using pc.level()

I will notice that, now i am working for something like :

 

 

switch (map_index)
{
case 314:
if (ch->GetLevel() < 90)
DBManager::instance().Query("INSERT INTO log.wait_hack SET login='%s', nickname='%s'",
        ch->GetDesc()->GetAccountTable().login, ch->GetName());
          return false;

Because i want to know who wanted to play in not a fair mode.

 

Use quest function char_log

Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44709
Share on other sites

  • Premium

 

 

I had a similar problem with pc.get_level() and solved the problem by using pc.level()

I will notice that, now i am working for something like :

 

 

switch (map_index)
{
case 314:
if (ch->GetLevel() < 90)
DBManager::instance().Query("INSERT INTO log.wait_hack SET login='%s', nickname='%s'",
        ch->GetDesc()->GetAccountTable().login, ch->GetName());
          return false;

Because i want to know who wanted to play in not a fair mode.

 

Use quest function char_log

 

hm ?

Link to comment
https://metin2.dev/topic/7057-teleport-exploit/#findComment-44711
Share on other sites

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.