Jump to content

Non-existent map - teleport


Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Contributor

input_db.cpp search this:

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

 

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