Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSĐóng gópGiúp một tay và nhận Community PointsMởTrên MuADMINSLịch sự kiệnBlood Castle, Devil Square, các cuộc xâm lăng trên một lưới tuầnMở
← Tất cả giải pháp

MuDevs Season 18: Invalid column name 'LastGateIndex' (the extra query of the pack)

MuADMINS biên soạn từ nguồnNot verified

The MuDevs Season 18 pack ships, next to the database scripts, a file Execute query.sql with one statement:

ALTER TABLE dbo.Character ADD LastGateIndex [int] NOT NULL DEFAULT(-1);

If the DataServer or GameServer complains about LastGateIndex, that query was not run. Run it once on MuOnline (server closed, backup first). Safe form that does nothing when the column already exists:

IF COL_LENGTH('dbo.Character', 'LastGateIndex') IS NULL
  ALTER TABLE dbo.Character ADD LastGateIndex int NOT NULL DEFAULT(-1);

MuDevs creates the databases with "MuOnline DB Create Script.sql" and "BattleCore DB Create Script.sql" (recommended over the .bak) and needs SQL Server 2012 or newer.

Source: MuDevs Season 18 Files/Execute query.sql and Files/DB/Create with query; MuDevs install notes as summarised in the MuADMINS SQL guide research.

Do MuADMINS biên soạn
Cách này có giúp được bạn không?

Vẫn còn vướng mắc? Tìm trên MuGPS Hỏi Trợ lý MU

MuADMINS Community Alpha: miễn phí, do cộng đồng xây dựng, đang được phát triển tích cực.