internal void OnEnterWorld() { BinWriter w = LoginClient.NewPacket(SMSG.TUTORIAL_FLAGS); for (int i = 0; i < 8; i++) { w.Write(-1); } Send(w); SendConfigCRC(); // Send initial spells initialSpells(); w = LoginClient.NewPacket(SMSG.ACTION_BUTTONS); w.Write(new byte[0x1E0]); Send(w); Chat.System(this, "Connected to " + LoginServer.ServerName); Chat.System(this, "This server is running WoWDaemon 1.3"); Chat.System(this, "Users Online: " + LoginServer.CurrentUsers + " Total Users Online This Session: " + LoginServer.TopUsers); if (Character.Guild != null) { Chat.GuildSay(0, this, "MOTD: " + Character.Guild.MOTD, CHATMESSAGETYPE.GUILD); } m_worldServer.OnEnterWorld(m_character, m_account.AccessLvl); }
internal void OnEnterWorld() { BinWriter w = LoginClient.NewPacket(SMSG.TUTORIAL_FLAGS); for (int i = 0; i < 8; i++) { w.Write(-1); } Send(w); SendConfigCRC(); // Send initial spells initialSpells(); w = LoginClient.NewPacket(SMSG.ACTION_BUTTONS); w.Write(new byte[0x1E0]); Send(w); Chat.System(this, "Connected to " + LoginServer.ServerName); Chat.System(this, "This server is running WoWDaemon 0.1"); Chat.System(this, "Users Online: " + LoginServer.CurrentUsers + " Total Users Online This Session: " + LoginServer.TopUsers); m_worldServer.OnEnterWorld(m_character); }