Jump to content
  • Please do not post a message for the purpose of insulting, incitement to hatred, sexual remarks and any other which does not respect our terms of use !

[TUTO] PlusEmu Chatlog


Manil

Recommended Posts

Hello,

Comme vous pouvez le remarquer sur Plusemu le chatlog sauvegarde par 10 messages dans la room : 

To access this link, please log in.

 

Après 10 messages : 

To access this link, please log in.

 

Pour fixer ça, c'est simple : HabboHotel => Rooms => Chat => Logs => ChatManager.cs

 

Cherchez : 

public sealed class ChatlogManager
    {
        private const int FLUSH_ON_COUNT = 10;

        private readonly List<ChatlogEntry> _chatlogs;
        private readonly ReaderWriterLockSlim _lock;

        public ChatlogManager()
        {

Remplacez par 

public sealed class ChatlogManager
    {
        private const int FLUSH_ON_COUNT = 0;

        private readonly List<ChatlogEntry> _chatlogs;
        private readonly ReaderWriterLockSlim _lock;

        public ChatlogManager()
        {

Résultat : 

To access this link, please log in.

 

C'est simple mais ça peut toujours être utile :p

                                          

 

  • J'aime 1
Link to post
Share on other sites

  • 3 years later...
Le 24/09/2016 à 16:20, Manil a dit :

Hello,

Comme vous pouvez le remarquer sur Plusemu le chatlog sauvegarde par 10 messages dans la room : 

To access this link, please log in.

 

Après 10 messages : 

To access this link, please log in.

 

Pour fixer ça, c'est simple : HabboHotel => Rooms => Chat => Logs => ChatManager.cs

 

Cherchez : 


public sealed class ChatlogManager
    {
        private const int FLUSH_ON_COUNT = 10;

        private readonly List<ChatlogEntry> _chatlogs;
        private readonly ReaderWriterLockSlim _lock;

        public ChatlogManager()
        {

Remplacez par 


public sealed class ChatlogManager
    {
        private const int FLUSH_ON_COUNT = 0;

        private readonly List<ChatlogEntry> _chatlogs;
        private readonly ReaderWriterLockSlim _lock;

        public ChatlogManager()
        {

Résultat : 

To access this link, please log in.

 

C'est simple mais ça peut toujours être utile :p

C'est ChatlogManager.cs, et screen dead.

En tous cas Merci à toi

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...