Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSConfig ScannerTải lên zip file của bạn: rate, rơi đồ, spot, giới hạnMởTrên MuADMINSGặp chúng tôi trên DiscordNhờ giúp đỡ, chia sẻ những gì bạn đang làm và trò chuyện về MU với các chủ server khác.Mở
← Tất cả giải pháp
Cài đặt serverIGCNS15, S16, S17, S18

How do I make a character Game Master (GM) or Administrator on IGCN files (CtlCode)?

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

On IGCN files the GM rights are on the character: Character.CtlCode (tinyint, default 0).

  • The IGCN command documentation says GM commands such as /item and /spawn "require Administrator (ctlcode = 32)".
  • The GameServer keys CanAttackGM / CanAttackAdmin speak of "CTLCODE 8/32".
  1. The character must be offline (the server keeps online characters in memory). Back up first.
  2. Check and set:
SELECT Name, AccountID, CtlCode FROM Character WHERE Name = 'GMName';
UPDATE Character SET CtlCode = 32 WHERE Name = 'GMName';
  1. To remove it again:
UPDATE Character SET CtlCode = 0 WHERE Name = 'GMName' AND CtlCode = 32;

Notes from the scripts: the character move procedure uses bit 128 of CtlCode (CtlCode | 128 when a character is moved to another account), so set the exact value, do not add to it. Season 17 also has a table T_GMSystem (Name, AuthorityMask, Expiry); its AuthorityMask values are not documented in the files we read.

Source: IGCN Season 17 MuOnline_without_MD5.sql (Character.CtlCode, T_GMSystem, character move procedure); IGCN commands and GameServer key documentation in the IGCN Season 15, 16 and 18 config packs.

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.