Jump to content

Teleport exploit


Go to solution Solved by Morphe,

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
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
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
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
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
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
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
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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