Hello Rage!
I'm creating this thread to help some people to fix's basics bug's in Swift Emulator... Well if you want put one fix here, just post in this thread and i'll put in the main thread :D
Let's begin the fix's!
#1# Command :givecrystal
Well it's simple.. He don't give the crystals and don't update the purse of crystals...
Spoiler:
1° Search in HabboHotel > Misc > ChatCommandHandler.cs for:
Well.. Here a improving of "Filter Words"... Put this and you will not have problems with filter!
#5# FilterWord
Spoiler:
1° Go to Core > LanguageLocale.cs and replace for this:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Database_Manager.Database.Session_Details.Interfaces;
using System.Data;
using System.Text.RegularExpressions;
foreach (string word in swearwords)
{
original = ReplaceEx(original, word, "bobba");
}
return original;
}
internal static string GetValue(string value)
{
if (!values.ContainsKey(value))
{
throw new MissingLocaleException("Missing language locale for [" + value + "]");
}
return values[value];
}
class MissingLocaleException : Exception
{
public MissingLocaleException(string message)
: base(message)
{
}
}
}
}
For people that not has the Filter enabled... Make this:
2° Go to HabboHotel > Rooms > RoomUser.cs and search for this:
Now it's only add the words in your table: room_swearword_filter
Well people need of chatlog i'll post the 1° part of it... I have not finished the code of chatlog on modtools.. but you will see this with your cms until i post the 2° part!
#6# Chatlog (Not Finished) 1° Part
Spoiler:
1° Go to your HabboHotel > Rooms > RoomUser.cs and put this:
If you have many inputs on one command, e.g. wheresmypet,wheresmypets,whereismypets. Command shows many times in Commands-list.
1° Find in Messages > ChatCommandRegister.cs:
PHP Code:
if ((command.commandID != 400) && command.UserGotAuthorization(client)) {
2° Add after:
PHP Code:
if (builder.ToString().Contains(command.description)) { continue; }
Sorry for not be updating the topic, is that my classes started and I'm short on time, but rest assured that I will continue helping the Forum with over fix. :)
Well people, I decided to make a "Hotel", to show the progress of my work "LIVE"..
So... It's a simple Hotel, if you want to see the fix's and the progress of my work, acess:
Obs: If you have fixed the modtools share with us.. Remember I am new in Projects of "C#" so don't push me, i'll make my best for bring the bests fix's for everyone :x
I'll post more things when i fix... If you want more help.. Add: helpiiii or helpi95@live.com
Like if you like ! :p
Yah !
26-07-13
vLife
Re: [SwiftEmu] Fix's for NewCrypto!
As Rafa said, no help is to be posted here AT ALL.
If you do, you will receive a nice infraction for not following rules.
26-07-13
Copyrights
Re: [SwiftEmu] Fix's for NewCrypto!
Nice fix rafa, thank you!
Just a question, Swift is it an emulator sure with 100% security?
Because I see some many people who said "my hotel is hacked with swift".
26-07-13
Droppy
Re: [SwiftEmu] Fix's for NewCrypto!
Easy fix, but thanks for who need it.
26-07-13
AKllX
[SwiftEmu] Fix's for NewCrypto!
MySQL injections aren't possible in Swift. All incoming strings are saved in the database as parameters. However there is a chat bubble type being sent by some packetloggers that can crash the client. You must make sure in your code that the índex of the colors type isn't biggest that 23. I've sêmen a fix for it in BCStorm, not sure if it's included in swift or not.
26-07-13
lM3ssi
Re: [SwiftEmu] Fix's for NewCrypto!
Good post, I hope you put more fixs.
26-07-13
Bozzie
Re: [SwiftEmu] Fix's for NewCrypto!
This is a nice thread and well-needed, keep the Topic alive!
26-07-13
lM3ssi
Re: [SwiftEmu] Fix's for NewCrypto!
Fix for profiles? Not loaded
26-07-13
vicancer
Re: [SwiftEmu] Fix's for NewCrypto!
public rooms that fix would be great
27-07-13
rafa95123
Re: [SwiftEmu] Fix's for NewCrypto!
Quote:
Originally Posted by Copyrights
Nice fix rafa, thank you!
Just a question, Swift is it an emulator sure with 100% security?
Because I see some many people who said "my hotel is hacked with swift".
AKllX said everything kk :p
Quote:
Originally Posted by vicancer
public rooms that fix would be great
What's the problem with Public Rooms !?
Quote:
Originally Posted by lM3ssi
Fix for profiles? Not loaded
More explanation about this bug...
Quote:
Originally Posted by lM3ssi
Good post, I hope you put more fixs.
Yeah, i'll bring alot of fix's :D
27-07-13
Ddos Attack
Re: [SwiftEmu] Fix's for NewCrypto!
Nice job Rafa! :)
Do you think you'd be able to fix Achievements?
27-07-13
rafa95123
Re: [SwiftEmu] Fix's for NewCrypto!
Quote:
Originally Posted by Ddos Attack
Nice job Rafa! :)
Do you think you'd be able to fix Achievements?
Sure, i'll make a To-do List, and everything will be more easy to remember haha :p
27-07-13
resize
Re: [SwiftEmu] Fix's for NewCrypto!
It would be nice if someone made the same crystal command but for all players online instead of one user at the time.
And thank you for this releases!
27-07-13
PRIZM
Re: [SwiftEmu] Fix's for NewCrypto!
Very nice release, thank you! :)
27-07-13
rafa95123
Re: [SwiftEmu] Fix's for NewCrypto!
I started working on achievements... And I'll see this problem of BOT in Public Space :)