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

DataServer floods '[QueryManager] State (24000) ... [ODBC SQL Server Driver] Invalid' when a character gets PK status (MuEmu S4 with the Ferrarezi website)

✓ Được người mở chủ đề xác nhận
  1. The cause was not ODBC: the Ferrarezi website adds a trigger Z_PK_HERO on dbo.Character that fires when PkCount changes, and its old version broke the DataServer queries.
  2. In SQL Server Management Studio run ALTER TRIGGER [dbo].[Z_PK_HERO] ON [dbo].[Character] AFTER UPDATE with SET NOCOUNT ON and SET XACT_ABORT ON at the start and SET NOCOUNT OFF / SET XACT_ABORT OFF at the end, keeping its logic: read PkCount from DELETED and INSERTED, add the increase to Z_RankPK, or add the decrease to Z_RankHR for heroes.
  3. Restart DataServer and test by getting a character PK.
  4. Check any other website triggers on game tables the same way.

Người mở chủ đề đã xác nhận cách này hiệu quả.

Nguyên văn (Tiếng Bồ Đào Nha)

“DEU MUITO CERTO! Você salvou a minha vida cara.”

Người mở chủ đề, 2018-04-09 (nguyên văn)
RaGEZONE · 2018-04-09
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.