SRC 1. cmd.cpp dosyasını açın ve ekleyin (diğer acmd satırlarının yanı sıra sezgisel olarak): ACMD(do_get_gmlist); Bunu bul: { "\n", NULL, 0, POS_DEAD, GM_IMPLEMENTOR } üstüne ekleyin: { "get_gmlist", do_get_gmlist, 0, POS_DEAD, GM_PLAYER }, 2. cmd_gm.cpp dosyasını açın ve dosyanın sonuna şunu ekleyin: ACMD(do_get_gmlist) { std::auto_ptr pmsg(DBManager::instance().DirectQuery("SELECT `mName` FROM `common`.`gmlist`")); if (pmsg->Get()->uiNumRows > 0) { for (int i = 0; i < pmsg->Get()->uiNumRows; i++) { MYSQL_ROW row = mysql_fetch_row(pmsg->Get()->pSQLResult); ch->ChatPacket(CHAT_TYPE_COMMAND, "AddGameMaster %s", row[0]); } } else { ch->ChatPacket(CHAT_TYPE_INFO, "Nie znaleziono..."); } } CLİENT 3. constinfo.py'yi açın ve ekleyin: GM_LIST = [] 4. game.py'yi açın ve şunu bulun: net.SendEnterGamePacket() altına ekleyin: net.SendChatPacket("/get_gmlist") Bunu bul: "PlayMusic" : self.__PlayMusic, # END_OF_WEDDING altına ekleyin: "AddGameMaster" : self.AddGameMaster, Dosyanın sonuna ekleyin: def AddGameMaster(self, gmName): constInfo.GM_LIST.append(gmName) 5. interfacemodule.py dosyasını açın ve bulun: def __MakeWhisperButton(self, name): whisperButton = uiWhisper.WhisperButton() whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub") whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub") whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub") if self.IsGameMasterName(name): whisperButton.SetToolTipTextWithColor(name, 0xffffa200) else: whisperButton.SetToolTipText(name) Bununla değiştirin: def __MakeWhisperButton(self, name): whisperButton = uiWhisper.WhisperButton() if name in constInfo.GM_LIST: whisperButton.SetUpVisual("d:/ymir work/ui/mail_gm_closed.tga") whisperButton.SetOverVisual("d:/ymir work/ui/mail_gm_open.tga") whisperButton.SetDownVisual("d:/ymir work/ui/mail_gm_open.tga") whisperButton.SetToolTipTextWithColor(name, 0xffffa200) else: whisperButton.SetUpVisual("d:/ymir work/ui/mail_normal_closed.tga") whisperButton.SetOverVisual("d:/ymir work/ui/mail_normal_opend.tga") whisperButton.SetDownVisual("d:/ymir work/ui/mail_normal_opend.tga") whisperButton.SetToolTipText(name) 6. uiwhisper.py'yi açın ve ekleyin: import constInfo Bunu bul: def AcceptTarget(self): Ve fonksiyonun sonunda ekleyin: if name in constInfo.GM_LIST: self.SetGameMasterLook() Bunu bul: def OpenWithTarget(self, targetName): Ve fonksiyonun sonunda ekleyin: if targetName in constInfo.GM_LIST: self.SetGameMasterLook()