UberEmu R63

Results 1 to 6 of 6
  1. #1
    Apprentice jam001 is offline
    MemberRank
    Nov 2010 Join Date
    United KingdomLocation
    18Posts

    talk UberEmu R63

    Yes, I know.. It seems stupid requesting this but it came down to it.

    The Emulator i have is Stable but without the features; Moodlights, Pets, Games, Wired. I know these things have been released. But then we get people who just post a bunch of code without telling where the code goes or comes from. We also get people Just posting snippets copied and pasted and then renamed. Seriously its Pathetic.

    Why are we losing the battle with Pheonix?
    Its Obvious. People just post the worst Code ever. There needs to be some order with Uber. Seriously.

    Of course this is a little off topic. So back to On topic.

    Can someone Post their Emu with more Features and Stability, R63. The Minimum i Want is Wired, Pets and Moodlights.

    Thanks,
    Darren.

    << Yes i Know, I only Posted like 3 times. Been Getting my answers from Other People


  2. #2
    HTML,CSS and a bit C# Richardjuhh is offline
    MemberRank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: UberEmu R63

    Pets and Moodlight works and its just stable 99.9 %

    rollers needs still coded its not hard but this emu use a new pathfinder and you need code a new roller code by yourself



    Quote Originally Posted by PEjump2 View Post
    Or if you couldn't care less to put the fixes, just use this version of the Emulator & this database :]
    Would appreciate it if you would click the like button, lol.

    100% by Pejump2

    ---------- Post added at 02:01 PM ---------- Previous post was at 01:59 PM ----------

    sorry i forgot Met0d, Matty, Wichard and anyone i forget maybe Toperwin for a base for puzzlebox and some things like that..

    ---------- Post added at 02:03 PM ---------- Previous post was at 02:01 PM ----------

    and here just a wired code copy from KM maybe usefull for anyone...
    Code:
    class Interactorwired : FurniInteractor
        {
            public override void OnPlace(GameClient Session, RoomItem Item)
            {
    
            }
            public override void OnRemove(GameClient Session, RoomItem Item)
            {
    
            }
            public override void OnTrigger(GameClient Session, RoomItem Item, int Request, bool UserHasRights)
            {
                {
                    if (!UserHasRights)
                    {
                        return;
                    }
    
                    Item.ExtraData = "1";
                    Item.UpdateState(false, true);
    
                    #region trigers 4/10  (50%)
                    #region  wf_trg_says_something (susurros)
                    if (Item.GetBaseItem().Name.ToLower() == "wf_trg_says_something")
                    {
                        string SayMessage;
                        using (DatabaseClient dbClient = inEnvironment.GetDatabase().GetClient())
                        {
                            if (dbClient.ReadDataRow("SELECT keyword FROM wired_keywords WHERE item_id = '" + Item.Id + "' LIMIT 1") != null)
                            {
                                SayMessage = dbClient.ReadString("SELECT keyword FROM wired_keywords WHERE item_id = '" + Item.Id + "' LIMIT 1");
                            }
                            else
                            {
                                SayMessage = "";
                            }
    
                        }
    
    
                        ServerMessage Message = new ServerMessage(650);
                        Message.AppendInt32(5);
                        Message.AppendInt32(0);
                        Message.AppendInt32(Item.GetBaseItem().SpriteId);
                        Message.AppendInt32((int)Item.Id);
                        Message.AppendStringWithBreak(SayMessage);
                        Message.AppendInt32(1);
                        Message.AppendInt32(0);
                        Message.AppendInt32(0);
                        Message.AppendInt32(0);
                        Session.SendMessage(Message);
    
                    }
                    #endregion
    
                    #region wf_trg_walks_off_furni
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_walks_off_furni")
                    {
                        ServerMessage walks = new ServerMessage(651);
                        walks.AppendInt32(5);  // elige furni de 0 - 5    
                        walks.AppendInt32(0);
                        walks.AppendInt32(Item.GetBaseItem().SpriteId);
                        walks.AppendInt32((int)Item.Id);
                        Session.SendMessage(walks);
    
                    }
                    #endregion
    
                    #region wf_trg_walks_on_furni
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_walks_on_furni")
                    {
                        ServerMessage walkso = new ServerMessage(651);
                        walkso.AppendInt32(5);  // elige furni de 0 - 5    
                        walkso.AppendInt32(0);
                        walkso.AppendInt32(Item.GetBaseItem().SpriteId);
                        walkso.AppendInt32((int)Item.Id);
                        Session.SendMessage(walkso);
    
                    }
                    #endregion
    
                    #region wf_trg_state_changed
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_state_changed")
                    {
                        ServerMessage changed = new ServerMessage(651);
                        changed.AppendInt32(5);  // elige furni de 0 - 5    
                        changed.AppendInt32(0);
                        changed.AppendInt32(Item.GetBaseItem().SpriteId);
                        changed.AppendInt32((int)Item.Id);
                        Session.SendMessage(changed);
                    }
                    #endregion
                    #endregion
    
                    #region effects 5/7 (63%)
                    #region wf_act_reset_timers
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_reset_timers")
                    {
                        ServerMessage ResetTimer = new ServerMessage(651);
                        ResetTimer.AppendInt32(5);
                        ResetTimer.AppendInt32(0);
                        ResetTimer.AppendInt32(Item.GetBaseItem().SpriteId);
                        ResetTimer.AppendInt32((int)Item.Id);
                        Session.SendMessage(ResetTimer);
                    }
                    #endregion
    
                    #region wf_act_show_message
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_show_message")
                    {
                        string SayMessage;
                        using (DatabaseClient dbClient = inEnvironment.GetDatabase().GetClient())
                        {
                            if (dbClient.ReadDataRow("SELECT message FROM wired_show_message WHERE item_id = '" + Item.Id + "' LIMIT 1") != null)
                            {
                                SayMessage = dbClient.ReadString("SELECT message FROM wired_show_message WHERE item_id = '" + Item.Id + "' LIMIT 1");
                            }
                            else
                            {
                                SayMessage = "";
                            }
    
                        }
                        ServerMessage Message = new ServerMessage(651);
                        Message.AppendInt32(0);
                        Message.AppendInt32(0);
                        Message.AppendInt32(Item.GetBaseItem().SpriteId);
                        Message.AppendInt32((int)Item.Id);
                        Message.AppendStringWithBreak(SayMessage);
                        Message.AppendString("HSAHH");
                        Session.SendMessage(Message);
    
    
                    }
                    #endregion
    
                    #region wf_act_toggle_stat
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_toggle_state")
                    {
                        ServerMessage toggle = new ServerMessage(651);
                        toggle.AppendInt32(5);
                        toggle.AppendInt32(0);
                        toggle.AppendInt32(Item.GetBaseItem().SpriteId);
                        toggle.AppendInt32((int)Item.Id);
                        Session.SendMessage(toggle);
                    }
                    #endregion
    
                    #region wf_act_match_to_sshot
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_match_to_sshot")
                    {
                        ServerMessage snapshot = new ServerMessage(651);
                        snapshot.AppendInt32(5);
                        snapshot.AppendInt32(0);
                        snapshot.AppendInt32(Item.GetBaseItem().SpriteId);
                        snapshot.AppendInt32((int)Item.Id);
                        Session.SendMessage(snapshot);
                    }
                    #endregion
    
                    #region wf_act_teleport_to
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_teleport_to")
                    {
                        ServerMessage teleport_to = new ServerMessage(651);
                        teleport_to.AppendInt32(5);
                        teleport_to.AppendInt32(0);
                        teleport_to.AppendInt32(Item.GetBaseItem().SpriteId);
                        teleport_to.AppendInt32((int)Item.Id);
                        Session.SendMessage(teleport_to);
                    }
                    #endregion
                    #endregion
    
                    #region condicionales 100%
                    #region wf_cnd_time_less_than
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_cnd_time_less_than")
                    {
                        ServerMessage less = new ServerMessage(651);
                        less.AppendInt32(5);
                        less.AppendInt32(0);
                        less.AppendInt32(Item.GetBaseItem().SpriteId);
                        less.AppendInt32((int)Item.Id);
                        Session.SendMessage(less);
                    }
                    #endregion
    
                    #region wf_cnd_match_snapshot
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_cnd_match_snapshot")
                    {
                        ServerMessage snapshot = new ServerMessage(651);
                        snapshot.AppendInt32(5);
                        snapshot.AppendInt32(0);
                        snapshot.AppendInt32(Item.GetBaseItem().SpriteId);
                        snapshot.AppendInt32((int)Item.Id);
                        Session.SendMessage(snapshot);
                    }
                    #endregion
    
                    #region wf_cnd_trggrer_on_frn
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_cnd_trggrer_on_frn")
                    {
                        ServerMessage on_furni = new ServerMessage(651);
                        on_furni.AppendInt32(5);
                        on_furni.AppendInt32(0);
                        on_furni.AppendInt32(Item.GetBaseItem().SpriteId);
                        on_furni.AppendInt32((int)Item.Id);
                        Session.SendMessage(on_furni);
                    }
                    #endregion
    
                    #region wf_cnd_furnis_hv_avtrs
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_cnd_furnis_hv_avtrs")
                    {
                        ServerMessage avtrs = new ServerMessage(651);
                        avtrs.AppendInt32(5);
                        avtrs.AppendInt32(0);
                        avtrs.AppendInt32(Item.GetBaseItem().SpriteId);
                        avtrs.AppendInt32((int)Item.Id);
                        Session.SendMessage(avtrs);
                    }
                    #endregion
    
                    #region wf_cnd_time_more_than
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_cnd_time_more_than")
                    {
                        ServerMessage avtrs = new ServerMessage(651);
                        avtrs.AppendInt32(5);
                        avtrs.AppendInt32(0);
                        avtrs.AppendInt32(Item.GetBaseItem().SpriteId);
                        avtrs.AppendInt32((int)Item.Id);
                        Session.SendMessage(avtrs);
                    }
                    #endregion
                    #endregion
    
                    #region exxtra wired!
                    #region wf_xtra_unseen
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_xtra_unseen")
                    {
                        ServerMessage ResetTimer = new ServerMessage(651);
                        ResetTimer.AppendInt32(5);
                        ResetTimer.AppendInt32(0);
                        ResetTimer.AppendInt32(Item.GetBaseItem().SpriteId);
                        ResetTimer.AppendInt32((int)Item.Id);
                        Session.SendMessage(ResetTimer);
                    }
                    #endregion
    
                    #region wf_xtra_random
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_xtra_random")
                    {
                        ServerMessage ResetTimer = new ServerMessage(651);
                        ResetTimer.AppendInt32(5);
                        ResetTimer.AppendInt32(0);
                        ResetTimer.AppendInt32(Item.GetBaseItem().SpriteId);
                        ResetTimer.AppendInt32((int)Item.Id);
                        Session.SendMessage(ResetTimer);
                    }
                    #endregion
                    #endregion
    
                    #region  !! No se hacer estos !!
    
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_periodically")
                    {
                        ServerMessage periodically = new ServerMessage(650);
                        periodically.AppendInt32(5);
                        periodically.AppendInt32(0);
                        periodically.AppendInt32(Item.GetBaseItem().SpriteId);
                        periodically.AppendInt32((int)Item.Id);
                        Session.SendMessage(periodically);
                    }
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_move_rotate")
                    {
                        ServerMessage move_rotate = new ServerMessage(651);
                        move_rotate.AppendInt32(5);
                        move_rotate.AppendInt32(0);
                        move_rotate.AppendInt32(Item.GetBaseItem().SpriteId);
                        move_rotate.AppendInt32((int)Item.Id);
                        Session.SendMessage(move_rotate);
                    }
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_act_give_score")
                    {
                        ServerMessage give_score = new ServerMessage(651);
                        give_score.AppendInt32(5);
                        give_score.AppendInt32(0);
                        give_score.AppendInt32(Item.GetBaseItem().SpriteId);
                        give_score.AppendInt32((int)Item.Id);
                        Session.SendMessage(give_score);
                    }
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_game_starts")
                    {
                        ServerMessage gameStart = new ServerMessage(650);
                        gameStart.AppendInt32(5);
                        gameStart.AppendInt32(0);
                        gameStart.AppendInt32(Item.GetBaseItem().SpriteId);
                        gameStart.AppendInt32((int)Item.Id);
                        Session.SendMessage(gameStart);
                    }
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_enter_room")
                    {
                        ServerMessage Message = new ServerMessage(650);
                        Message.AppendInt32(0);
                        Message.AppendInt32(0);
                        Message.AppendInt32(Item.GetBaseItem().SpriteId);
                        Message.AppendInt32((int)Item.Id);
                        Session.SendMessage(Message);
                    }
    
                    else if (Item.GetBaseItem().Name.ToLower() == "wf_trg_at_given_time")
                    {
                        ServerMessage Timed = new ServerMessage(651);
                        Timed.AppendInt32(5);
                        Timed.AppendInt32(0);
                        Timed.AppendInt32(Item.GetBaseItem().SpriteId);
                        Timed.AppendInt32((int)Item.Id);
                        Session.SendMessage(Timed);
    
                    }
    
                    #endregion
    
                    else
                    {
    
                        Session.SendNotif("Este wired no esta disponible");
                    }
                }
            }
        }

  3. #3
    Apprentice jam001 is offline
    MemberRank
    Nov 2010 Join Date
    United KingdomLocation
    18Posts

    Re: UberEmu R63

    Hello Again, With the emulator you supplied. I Get 'specified cast is not valid' Any Fix?

  4. #4
    Account Upgraded | Title Enabled! MikeDavies is offline
    MemberRank
    Aug 2010 Join Date
    WalesLocation
    629Posts

    Re: UberEmu R63

    Quote Originally Posted by jam001 View Post
    Hello Again, With the emulator you supplied. I Get 'specified cast is not valid' Any Fix?
    Theres a row in your database that is empty that needs to be filled in, but i forgot, consult the original thread of matty13 emulator, and post this help in there

  5. #5
    HTML,CSS and a bit C# Richardjuhh is offline
    MemberRank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: UberEmu R63

    go to ItemIdgenerator.cs in folder habbohotel>catalogs

    Code:
     Id = (uint)dbClient.ReadDataRow("SELECT MAX(id) FROM items LIMIT 1")[0];
    change in
    Code:
     //Id = (uint)dbClient.ReadDataRow("SELECT MAX(id) FROM items LIMIT 1")[0];
    ok go to your hotel buy a item in catalogus

    and then to it the same way but remove the // what you added a few minutes ago


    or you can add 1 item with querie :D

    or something like this

    if itemtable count >0 or something like that

  6. #6
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    Re: UberEmu R63

    If people are producing the worst code ever then why don't you code it yourself?



Advertisement