prjEmbis v2 [SOURCE]

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: prjEmbis v2 [SOURCE]

    Aww you release one of my sources... :P
    Credits to:-

    - Holograph (for encoding, decoding and the asynchronous sockets)
    - AWA for the requests.cs, getting received strings and numbers and response.cs
    - Ion for the storage, teehee :)

    Anyway, it's fairly neat, although it can be improved on.

    Was a development with someone, that's why the name of some folders are, in somewhat would say, shotty :D

    Well here are some snippets of the neater parts in the emulator

    (HabboHotel/Client/Global.cs)

    Code:
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Text;
    using Storage;
    
    namespace embis.HabboHotel.Session
    {
        public partial class Client
        {
            private void InitConnection()
            {
                Response.Initialize(257); // "DA"
                Response.AppendInt32(9);
                Response.AppendInt32(0);
                Response.AppendInt32(0);
                Response.AppendInt32(1);
                Response.AppendInt32(1);
                Response.AppendInt32(3);
                Response.AppendInt32(0);
                Response.AppendInt32(2);
                Response.AppendInt32(1);
                Response.AppendInt32(4);
                Response.AppendInt32(0);
                Response.AppendInt32(5);
                Response.AppendString("dd-MM-yyyy");
                Response.AppendInt32(7);
                Response.AppendBoolean(false);
                Response.AppendInt32(8);
                Response.AppendString("hotel-co.uk");
                Response.AppendInt32(9);
                Response.AppendBoolean(false);
                SendResponse();
    
                Response.Initialize(277); // "DU"
                Response.Append("576b145a0c17f8a385971e0b6324a4bc");
                SendResponse();
            }
            private void Login()
            {
                string SSOticket = Request.PopString().Replace("'", "");
    
                if (SSOticket.Length > 0)
                {
                    using (DatabaseClient dbClient = Program.GetDatabase().GetClient())
                    {
                        dbClient.AddParamWithValue("sso", SSOticket);
                        if (dbClient.ReadBoolean("SELECT id FROM users WHERE sso_ticket = @sso;"))
                        {
                            dbClient.ExecuteQuery("UPDATE users SET SockId = '" + SocketID + "' WHERE username = '"
                                + dbClient.ReadString("SELECT username FROM users WHERE sso_ticket = @sso;") + "'");
    
                            Response.Initialize(3); // "@C"
                            SendResponse();
    
                            //Initalize the credits
                            GetCredits();
                        }
                    }
    
                }
            }
            private void RegisterGlobal()
            {
                mRequestHandlers[206] = new RequestHandler(InitConnection);
                mRequestHandlers[415] = new RequestHandler(Login);
            }
        }
    }

  2. #17
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,945Posts

    Re: prjEmbis v2 [SOURCE]

    Quote Originally Posted by AmirZ View Post
    I'm looking at it now.

    Myki, can you crack Alpha-Series?
    Can I? I don't even have the emulator ''/

  3. #18
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: prjEmbis v2 [SOURCE]

    Quote Originally Posted by scottstamp851 View Post
    If Quackster wrote it, lil' more than possible. It's a nice attempt at a base, but I can't suggest its use as one. Might be something in there the noobs will find handy though.

    Tell him I said hi btw, haven't seen that crazy motherfucker in ages.
    He's been around europe lol.

    Anyway checked out, it's alright but can be improved on various sides. But i guess it's good for beginners when you need a base.

  4. #19
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: prjEmbis v2 [SOURCE]

    Quote Originally Posted by Zak© View Post
    He's been around europe lol.

    Anyway checked out, it's alright but can be improved on various sides. But i guess it's good for beginners when you need a base.
    I created it way before I went to Europe.

    Oh yeah I'm back home again, my sleeping time is fucked now. D;

  5. #20
    i didnt do this. Donkjam is offline
    MemberRank
    Jul 2007 Join Date
    4,494Posts

    Re: prjEmbis v2 [SOURCE]

    nice spam,Hope you enjoy your infractions. Keep on topic and anyore spam will be infracted

  6. #21
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: prjEmbis v2 [SOURCE]

    Already had this but cheers!

  7. #22
    Novice onceizle11 is offline
    MemberRank
    Jan 2012 Join Date
    1Location
    4Posts
    ty for bigg shareee....



Page 2 of 2 FirstFirst 12

Advertisement