[Help] Swift Emulator [Inject ?]

Results 1 to 10 of 10
  1. #1
    Newbie SoArkalium is offline
    MemberRank
    Aug 2013 Join Date
    Sart, Liege, BeLocation
    4Posts

    [Help] Swift Emulator [Inject ?]

    Hello , sorry for my bad english , i'm french.

    I have a recent problem with Swift Emulator (r5)

    Someone told me it could speak with bot text color and respect (and staff bubble).

    He did ... and he can unload a room when he speak with bubble bot or other.

    Anyone can help me ? Thank !


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: [Help] Swift Emulator [Inject ?]

    Probably using a packetlogger and sending custom packets to the server OR he scripted the external_variables so staff bubble would show up in the hotel.

    You can add a check in the emulator if people have the right rank for a staff bubble or bot bubble.

    Cheers!

  3. #3
    Newbie SoArkalium is offline
    MemberRank
    Aug 2013 Join Date
    Sart, Liege, BeLocation
    4Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by HillBilly View Post
    Probably using a packetlogger and sending custom packets to the server OR he scripted the external_variables so staff bubble would show up in the hotel.

    You can add a check in the emulator if people have the right rank for a staff bubble or bot bubble.

    Cheers!

    Thank you for your answer.

    But , how can i add a check in my emulator ?

    Thank :)

  4. #4
    topkek amirite?? Leon is offline
    Grand MasterRank
    May 2009 Join Date
    919Posts

    Re: [Help] Swift Emulator [Inject ?]

    PHP Code:
        public static boolean isValidColour(int colourSession client) {
            if(
    colour >= 24 || colour == || colour == 2)
                return 
    false;
            
            if(
    colour == 23 && !client.getPlayer().getPermissions().hasPermission("mod_tool"))
                return 
    false;

            return 
    true;
        } 
    Code directly from Comet.
    Last edited by Leon; 31-08-13 at 10:06 PM.

  5. #5
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by Leon View Post
    Code directly from my awesome project:

    PHP Code:
        public static boolean isValidColour(int colourSession client) {
            if(
    colour >= 24 || colour == || colour == 2)
                return 
    false;
            
            if(
    colour == 23 && !client.getPlayer().getPermissions().hasPermission("mod_tool"))
                return 
    false;

            return 
    true;
        } 
    Code directly from Comet.
    Atleast Leon thinks about his code when he is coding :)
    Last edited by The General; 31-08-13 at 10:07 PM.

  6. #6
    Newbie SoArkalium is offline
    MemberRank
    Aug 2013 Join Date
    Sart, Liege, BeLocation
    4Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by Leon View Post
    Code directly from my old project:

    PHP Code:
        public static boolean isValidColour(int colourSession client) {
            if(
    colour >= 24 || colour == || colour == 2)
                return 
    false;
            
            if(
    colour == 23 && !client.getPlayer().getPermissions().hasPermission("mod_tool"))
                return 
    false;

            return 
    true;
        } 
    Code directly from Comet.
    I have to copy the code in RoomUsers.cs ?

    And thank for answer !

  7. #7
    ส็็็็็็็ Bloodraven is offline
    Grand MasterRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: [Help] Swift Emulator [Inject ?]

    Something like this should work. (I'm not home so I can't test it)

    Code:
                        if (TextColor == 23 && Session.GetHabbo().Rank > 5)
                        {
                            return;
                        }
    put it above

    Code:
    if ((Message.StartsWith(":") && (Session != null)) && ChatCommandRegister.IsChatCommand(Message.Split(new char[] { ' ' })[0].ToLower().Substring(1)))
    in RoomUsers.cs

  8. #8
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by SoArkalium View Post
    I have to copy the code in RoomUsers.cs ?

    And thank for answer !
    NONO. You cant simply copy paste this code into your emulator. This is only demonstrating what I was telling you. Adding a check for the custom chat bubbles.

  9. #9
    ส็็็็็็็ Bloodraven is offline
    Grand MasterRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by SoArkalium View Post
    I have to copy the code in RoomUsers.cs ?

    And thank for answer !
    That's for java, test my "solution", I cannot guarantee it will work but it should compile, I can't test it because I'm out.

  10. #10
    Newbie SoArkalium is offline
    MemberRank
    Aug 2013 Join Date
    Sart, Liege, BeLocation
    4Posts

    Re: [Help] Swift Emulator [Inject ?]

    Quote Originally Posted by HillBilly View Post
    NONO. You cant simply copy paste this code into your emulator. This is only demonstrating what I was telling you. Adding a check for the custom chat bubbles.
    Ok , sorry ^^"
    I try.

    Quote Originally Posted by zJordan View Post
    That's for java, test my "solution", I cannot guarantee it will work but it should compile, I can't test it because I'm out.
    Ok , i try it. :)

    Thank you.



Advertisement