Skybird Emu // Plus Edit // Secure // Stable //

Page 5 of 6 FirstFirst 123456 LastLast
Results 61 to 75 of 80
  1. #61
    ignition sequence start Unphased is offline
    MemberRank
    Jul 2012 Join Date
    DeniedLocation
    1,860Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Quote Originally Posted by Catareturn0 View Post
    Hey Ragezone,
    Just want to ask. Is this emulator safe or still have backdoors?
    This version is clean :)

  2. #62
    Mr VPS - Cheap VPS Server NOC is offline
    MemberRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    I have been handed this sledmore :

    So, here are two simple fixes. (both in GroupManager.cs)

    Replace both methods;
    GetGroupUsersByString
    GetGroupRequestsByString
    With:



    internal List<GroupUser> GetGroupUsersByString(Group Group, String SearchVal, uint Req)
    {
    var Users = new List<GroupUser>();
    if (string.IsNullOrWhiteSpace(SearchVal))
    {
    if (Req == 0)
    foreach (GroupUser U in Group.Members.Values)
    Users.Add(U);
    else
    foreach (GroupUser U in Group.Admins.Values)
    Users.Add(U);
    }
    else
    {
    using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor())
    {
    dbClient.setQuery("SELECT id FROM users WHERE username LIKE @query");
    dbClient.addParameter("query", "%" + SearchVal + "%");
    DataTable Table = dbClient.getTable();
    if (Table == null)
    {
    if (Req == 0)
    foreach (GroupUser U in Group.Members.Values)
    Users.Add(U);
    else
    foreach (GroupUser U in Group.Admins.Values)
    Users.Add(U);
    }
    else
    {
    foreach (DataRow Row in Table.Rows)
    {
    if (Group.Members.ContainsKey((uint)Row[0]))
    Users.Add(Group.Members[(uint)Row[0]]);
    }
    }
    }
    }
    return Users;
    }

    internal List<uint> GetGroupRequestsByString(Group Group, String SearchVal, uint Req)
    {
    if (string.IsNullOrWhiteSpace(SearchVal))
    return Group.Requests;
    var Users = new List<uint>();
    using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor())
    {
    dbClient.setQuery("SELECT id FROM users WHERE username LIKE @query");
    dbClient.addParameter("query", "%" + SearchVal + "%");
    DataTable Table = dbClient.getTable();
    if (Table != null)
    {
    foreach (DataRow Row in Table.Rows)
    {
    if (Group.Requests.Contains((uint)Row[0]))
    Users.Add((uint)Row[0]);
    }
    }
    }
    return Users;
    }

    Quote Originally Posted by 13rad View Post
    Well this emu has a exploit my db was dropped.
    Maybe you should check things, instead of been a total arse to people

  3. #63
    Proficient Member 13rad is offline
    MemberRank
    Jul 2013 Join Date
    166Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Well I'm sorry it just gets annoying.

  4. #64
    HostSavor.com Lewislol is offline
    MemberRank
    Jul 2013 Join Date
    498Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Quote Originally Posted by 13rad View Post
    Well this emu has a exploit my db was dropped.
    @Sledmore posted this on another forum.
    Hey.

    So I check Habboons log files daily to see if there is anything I can fix and to improve the emulator, well today I'd found a user had accidentally typed a message in the groups searching input box, which was logged as a MySQL error. Well with further inspection I could drop any tables such (just like the old navigator issue, with the search query not being sanitized).

    So, here are two simple fixes. (both in GroupManager.cs)

    Replace both methods;

    • GetGroupUsersByString
    • GetGroupRequestsByString

    With:
    PHP:
    internal List<GroupUser> GetGroupUsersByString(Group Group, String SearchVal, uint Req)
    {
    var
    Users = new List<GroupUser>();
    if (
    string.IsNullOrWhiteSpace(SearchVal))
    {
    if (
    Req == 0)
    foreach (
    GroupUser U in Group.Members.Values)
    Users.Add(U);
    else
    foreach (
    GroupUser U in Group.Admins.Values)
    Users.Add(U);
    }
    else
    {
    using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor())
    {
    dbClient.setQuery("SELECT id FROM users WHERE username LIKE @query");
    dbClient.addParameter("query", "%" + SearchVal + "%");
    DataTable Table = dbClient.getTable();
    if (
    Table == null)
    {
    if (
    Req == 0)
    foreach (
    GroupUser U in Group.Members.Values)
    Users.Add(U);
    else
    foreach (
    GroupUser U in Group.Admins.Values)
    Users.Add(U);
    }
    else
    {
    foreach (
    DataRow Row in Table.Rows)
    {
    if (
    Group.Members.ContainsKey((uint)Row[0]))
    Users.Add(Group.Members[(uint)Row[0]]);
    }
    }
    }
    }
    return
    Users;
    }

    internal List<uint> GetGroupRequestsByString(Group Group, String SearchVal, uint Req)
    {
    if (
    string.IsNullOrWhiteSpace(SearchVal))
    return
    Group.Requests;
    var
    Users = new List<uint>();
    using (IQueryAdapter dbClient = PlusEnvironment.GetDatabaseManager().getQueryreactor())
    {
    dbClient.setQuery("SELECT id FROM users WHERE username LIKE @query");
    dbClient.addParameter("query", "%" + SearchVal + "%");
    DataTable Table = dbClient.getTable();
    if (
    Table != null)
    {
    foreach (
    DataRow Row in Table.Rows)
    {
    if (
    Group.Requests.Contains((uint)Row[0]))
    Users.Add((uint)Row[0]);
    }
    }
    }
    return
    Users;
    }



    You're welcome.

  5. #65
    Mr VPS - Cheap VPS Server NOC is offline
    MemberRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Quote Originally Posted by R4lph View Post
    Which tables have been dropped so, i could replace it with an old one. *Ideas on how to get the tables that have been dropped back?*
    You will be able to see from error logs / starting up errors of the emu, either open a backup in a text editor or the starting sql file and add the missing tables

  6. #66
    Proficient Member Keyuko is offline
    MemberRank
    Aug 2012 Join Date
    162Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    What about diamond or a third currency support?

  7. #67
    Enthusiast Trever Wertman is offline
    MemberRank
    Dec 2013 Join Date
    35Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Currently I am developing the room promos.

  8. #68
    Proficient Member Kristophers is offline
    MemberRank
    Dec 2013 Join Date
    198Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Quote Originally Posted by Trever Wertman View Post
    Currently I am developing the room promos.
    You've been going on about room promos for the longest now...

  9. #69
    Enthusiast Trever Wertman is offline
    MemberRank
    Dec 2013 Join Date
    35Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Except for the fact that if you check the development section, Ive made alot of progress.. Lmfao

  10. #70
    ~|=_=|~ Receiver is offline
    MemberRank
    Sep 2013 Join Date
    PlutoLocation
    624Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    Quote Originally Posted by Twan View Post
    Anyone has fixes for this:
    -Room name shows ... (3 points)
    -Room doesnt show its an group room
    -Wired isnt working 100%
    -Searching stays on ''Searching...''
    Here is 1 fix:
    http://forum.ragezone.com/f353/plus-emu-fixed-979954/

  11. #71
    En Français? Bjork is offline
    MemberRank
    Apr 2007 Join Date
    854Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //


  12. #72
    Member PSK is offline
    MemberRank
    Jan 2014 Join Date
    55Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    RoomUserManager.cs
    if (room.GetGameMap().IsValidStep2(User, new Vector2D(User.X, User.Y), new Vector2D(User.SetX, User.SetY), (User.GoalX == User.SetX && User.GoalY == User.SetY), User.AllowOverride))
    Comment it ou delete this line and paste this above/instead:
    if (room.GetGameMap().CanWalk(User.SetX, User.SetY, User.AllowOverride) || User.RidingHorse == true)
    Credits to Bjork for fix.

  13. #73
    Apprentice Jincos7s is offline
    MemberRank
    Feb 2014 Join Date
    13Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    List of commands?

  14. #74
    Enthusiast Carlosso is offline
    MemberRank
    Mar 2013 Join Date
    42Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    I have Skybird + IlluminaCMS but if I go to the client it doesn't connect, all settings are good, firewall.. ports..
    Does someone know how to fix it? (there are no errors, it just doesn't connect)

  15. #75
    Banned Hindi is offline
    BannedRank
    Dec 2013 Join Date
    C:/Location
    163Posts

    Re: Skybird Emu // Plus Edit // Secure // Stable //

    I have error in the Query caught. Any helps ? Also the DB dosen't execute successfully.



Page 5 of 6 FirstFirst 123456 LastLast

Advertisement