Jump to content

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Active Member

input_login.cpp

Search 

else

 {

  if (CWarMapManager::instance().IsWarMap(ch->GetMapIndex()) ||

    marriage::WeddingManager::instance().IsWeddingMap(ch->GetMapIndex()))

  {

   if (!test_server)

    ch->WarpSet(EMPIRE_START_X(ch->GetEmpire()), EMPIRE_START_Y(ch->GetEmpire()));

  }

 }

 

under

 

 

if (ch->GetMapIndex() == ur index)

 {

  if (ch->IsRiding())

  {

   ch->StopRiding();

  }

 }

Link to comment
Share on other sites

7 hours ago, Kidro said:

input_login.cpp

Search 

else

 {

  if (CWarMapManager::instance().IsWarMap(ch->GetMapIndex()) ||

    marriage::WeddingManager::instance().IsWeddingMap(ch->GetMapIndex()))

  {

   if (!test_server)

    ch->WarpSet(EMPIRE_START_X(ch->GetEmpire()), EMPIRE_START_Y(ch->GetEmpire()));

  }

 }

 

under

 

 

if (ch->GetMapIndex() == ur index)

 {

  if (ch->IsRiding())

  {

   ch->StopRiding();

  }

 }

is not functional

Link to comment
Share on other sites

  • Active Member

Uhm, ok.

char_horse.cpp

search

bool CHARACTER::StartRiding()
{

add under

 

    if (GetMapIndex() == xx || GetMapIndex() == xx)
    {
        StopRiding();
        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The horse has been disabled in this map."));
        return false;
    }

 

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



  • Similar Content

  • Activity

    1. 24

      Experimental Renderer

    2. 11

      Multi Language System

    3. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    4. 4

      Feeding game source to LLM

    5. 0

      Quest 6/7 Problem

    6. 5

      Effect weapons

    7. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.