Jump to content
  • 0

Non-existent map - teleport



Hi, does anyone know how to teleport someone to m1 when the map doesn't exist? Usually, it throws the character to the login screen when someone tries to enter a non-existent map.

Link to post

1 answer to this question

Recommended Posts

  • 0

input_db.cpp search this:

        sys_err("InputDB::PlayerLoad : cannot find valid location %d x %d (name: %s)", pTab->x, pTab->y, pTab->name);


Change it to:

        sys_err("InputDB::PlayerLoad : cannot find valid location %d x %d (name: %s)", pTab->x, pTab->y, pTab->name);
        lMapIndex = EMPIRE_START_MAP(d->GetAccountTable().bEmpire);
        pos.x = EMPIRE_START_X(d->GetAccountTable().bEmpire);
        pos.y = EMPIRE_START_Y(d->GetAccountTable().bEmpire);
        // d->SetPhase(PHASE_CLOSE);
        // return;


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.