PlusEMU : Personel Oyuna Giriş Yaptı Sistemi !


Merhaba arkadaşler ben Nurullah bugun sizlere popüler hotellerde olan bir sistemi verecegim umarım sizlere faydalı olmuşumdur. Bu sistem güzel bir sistemdir yakında Hapishane Sisteminide sizler için verecegim ! merak içinde kalmayasınız !


ÖĞRETICI:

HabboHotel / GameClients / GameClient.cs adresine gidin !

Ara:

kod:
welcome_message

 
Bu 2 satırdan sonra (bu iki satır, istemci yeni yüklendiğinde çalıştırılacak olandan sonra), welcome_message ile iki satır görünecektir:

kod:
if(GetHabbo().Rank > 2)
                    {
                        if (GetHabbo().Rank == 3)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Embaixador do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 4)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Jornalista do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 5)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Moderador do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 6)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Moderador Superior do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 7)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Administrador do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 8)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Programador do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }
                        if (GetHabbo().Rank == 9)
                        {
                            string figure = this.GetHabbo().Look;
                            PlusEnvironment.GetGame().GetClientManager().SendMessage(new RoomNotificationComposer("fig/"+ figure, 3, "O Dono do Hotel, " + GetHabbo().Username + " Entrou no Hotel!", ""));
                        }

                    }


Aslında, temelde sadece, ama şimdi PlusEMU'nuzun tamamlanamaması için olabilecek bazı hataları çözelim!

Hadi oraya gidelim:

Sınıf Hatası Çalışmıyor:

GameClient.cs'in tüm kitaplıklarınızı (USINGS belgesinin başındaki USING, satır 1) şununla değiştirin:

kod:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Plus.Net;
using Plus.Core;
using Plus.Communication.Packets.Incoming;
using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.Users;
using Plus.Communication.Interfaces;
using Plus.HabboHotel.Users.UserDataManagement;
using Plus.Communication.Packets.Outgoing.Rooms.Session;

using ConnectionManager;

using Plus.Communication.Packets.Outgoing.Sound;
using Plus.Communication.Packets.Outgoing.Rooms.Chat;
using Plus.Communication.Packets.Outgoing.Rooms.Notifications;
using Plus.Communication.Packets.Outgoing.Handshake;
using Plus.Communication.Packets.Outgoing.Navigator;
using Plus.Communication.Packets.Outgoing.Moderation;
using Plus.Communication.Packets.Outgoing.Inventory.AvatarEffects;
using Plus.Communication.Packets.Outgoing.Inventory.Achievements;


using Plus.Communication.Encryption.Crypto.Prng;
using Plus.HabboHotel.Users.Messenger.FriendBar;
using Plus.Communication.Packets.Outgoing.BuildersClub;
using Plus.HabboHotel.Moderation;

using Plus.Database.Interfaces;
using Plus.Utilities;
using Plus.HabboHotel.Achievements;
using Plus.HabboHotel.Subscriptions;
using Plus.HabboHotel.Permissions;
using Plus.HabboHotel.Pathfinding;
using Plus.Communication.Packets.Outgoing.Notifications;
using Plus.Communication.Packets.Outgoing.Rooms.Session;
using Plus.Communication.Packets.Outgoing.Campaigns;
using Plus.Communication.Packets.Outgoing.Inventory.Purse;


Kredi:

Habbocuyum Devs

Yorum Gönder

0Yorumlar
Yorum Gönder (0)