Dragon [swf] [sql] [c# codes]

Page 1 of 3 123 LastLast
Results 1 to 25 of 54
  1. #1
    Proficient Member klaudio007 is offline
    MemberRank
    Dec 2007 Join Date
    ChileLocation
    190Posts

    Dragon [swf] [sql] [c# codes]

    Image (Working in Uber):


    Official Habbo.com:

    http://images.habbo.com/gordon/RELEA...46f/dragon.swf

    Download from Mediafire:
    dragon.swf

    Externals:
    pet.breed.12.1=Emerald Earth Dragon
    pet.breed.12.0=Volcanic Fire Dragon
    pet.breed.12.3=Twilight Hunter Dragon
    pet.breed.12.2=Bronze Cave Dragon
    pet.breed.12.8=Great Golden Dragon
    pet.breed.12.9=Dark Demonic Dragon
    pet.breed.12.4=Midnight Glider Dragon
    pet.breed.12.5=Crystal Cove Dragon
    pet.breed.12.6=Pure Ambrosia Dragon
    pet.breed.12.7=Subterranean Ice Dragon

    SQL:
    Code:
    insert  into `catalog_items`(`id`,`page_id`,`item_ids`,`catalog_name`,`cost_credits`,`cost_pixels`,`amount`) values (9465,720,'9465','a0 pet12',30,0,1);
    insert  into `catalog_pages`(`id`,`parent_id`,`caption`,`icon_color`,`icon_image`,`visible`,`enabled`,`min_rank`,`club_only`,`coming_soon`,`order_num`,`page_layout`,`page_headline`,`page_teaser`,`page_special`,`page_text1`,`page_text2`,`page_text_details`,`page_text_teaser`) values (720,14,'Dragones',1,109,'1','1',1,'0','0',-13,'pets','catalog_pet_headline1_es','','','¡La nueva mascota dragón ya está aquí! Mas rapidos que cualquier otro hotel, les traemos a ustedes la nueva mascota que hara arder tus salas. Habbo Unofficial Hotel (HUH.SYTES.NET)','','','');
    insert  into `furniture`(`id`,`public_name`,`item_name`,`type`,`width`,`length`,`stack_height`,`can_stack`,`can_sit`,`is_walkable`,`sprite_id`,`allow_recycle`,`allow_trade`,`allow_marketplace_sell`,`allow_gift`,`allow_inventory_stack`,`interaction_type`,`interaction_modes_count`,`vending_ids`) values (9465,'Dragon','a0 pet12','s',1,1,1,'1','0','0',9465,'1','1','1','1','1','pet',0,'0');

    Codes:
    in catalog.cs add:
    Code:
    case "9465":
                                            PetType = 12; // Dragon
                                            break;
    in rooms.cs, under:
    Code:
    if (PetType.Length == 8)
                    {
                       
                        if (PetType[7] == '1')
                        {
    
                            GetResponse().AppendStringWithBreak("a0 pet11");
                            count = 010;
                            petid = 11;
                        }
                    }
    add:
    Code:
    if (PetType.Length == 8)
                    {
    
                        if (PetType[7] == '2')
                        {
    
                            GetResponse().AppendStringWithBreak("a0 pet12");
                            count = 008;
                            petid = 12;
                        }
                    }
    Last edited by klaudio007; 21-05-11 at 11:31 PM.


  2. #2
    Valued Member TenShie is offline
    MemberRank
    Apr 2011 Join Date
    Frankfurt a. M.Location
    115Posts

    Re: Dragon [swf]

    Wohoo :D

    Nice TY!

  3. #3
    Infraction Banned HabMoon is offline
    MemberRank
    Jun 2007 Join Date
    HM OfficesLocation
    3,068Posts

    Re: Dragon [swf]

    Nice, thanks :)

  4. #4
    BFH Experience Loader Mininova is offline
    MemberRank
    Oct 2007 Join Date
    WonderlandLocation
    724Posts

    Re: Dragon [swf]

    Dont work in Phoenix -.-

  5. #5
    Proficient Member klaudio007 is offline
    MemberRank
    Dec 2007 Join Date
    ChileLocation
    190Posts

    Re: Dragon [swf]

    Quote Originally Posted by gammer123 View Post
    Dont work in Phoenix -.-
    Wait for the new phoenix with dragons.
    ...
    If you want dragons in your hotel you need add new codes in your emu.
    This is only the swf

  6. #6
    BFH Experience Loader Mininova is offline
    MemberRank
    Oct 2007 Join Date
    WonderlandLocation
    724Posts

    Re: Dragon [swf]

    i know it i would only say it before other people try it ;)

  7. #7
    Novice Jeilson is offline
    MemberRank
    Jan 2011 Join Date
    4Posts

    Re: Dragon [swf]

    Code Sql?

  8. #8
    Member EliteRoyal is offline
    MemberRank
    Mar 2011 Join Date
    Santo Domingo,Location
    55Posts

    Re: Dragon [swf]

    sql codes please ;)

  9. #9
    Apprentice HabboFreak123 is offline
    MemberRank
    May 2011 Join Date
    12Posts

    Re: Dragon [swf]

    Is that even a normal r63? :> VERY VERY VERY NICE!

  10. #10
    Enthusiast Stranger is offline
    MemberRank
    Apr 2011 Join Date
    Florida, UnitedLocation
    34Posts

    Re: Dragon [swf]

    Quote Originally Posted by HabboFreak123 View Post
    Is that even a normal r63? :> VERY VERY VERY NICE!
    If it's the latest Swf, then is must be r63+.

  11. #11
    Enthusiast baddragon is offline
    MemberRank
    Jan 2010 Join Date
    GermanyLocation
    31Posts

    Re: Dragon [swf]

    Quote Originally Posted by gammer123 View Post
    Dont work in Phoenix -.-
    why not?

    i can buy the dragon + dragon work whith phoenix

    only the right sql code

  12. #12
    Brad Bradshly is offline
    MemberRank
    Aug 2007 Join Date
    Ragezone :DLocation
    611Posts

    Re: Dragon [swf]

    Someone release SQL please :)

  13. #13
    Proficient Member klaudio007 is offline
    MemberRank
    Dec 2007 Join Date
    ChileLocation
    190Posts

    Re: Dragon [swf]

    Quote Originally Posted by cooltrader View Post
    Someone release SQL please :)
    see the first menssage again...

  14. #14
    C# / Java Programmer scottstamp851 is offline
    MemberRank
    Jan 2007 Join Date
    EverywhereLocation
    504Posts

    Re: Dragon [swf] [sql]

    Aha! Figured someone would beat me to this. Me and Shorty were logging packets and behavior (gestures / speech) of the Dragons all afternoon. They're a rather cool addition. Nice release!

    For the information of most:
    If you can't get these working, you need to add their ID to your emulator. Look around, other releases show you essentially how to do this. I'm not going to go in-depth with it because I prefer to do it properly, by adding new behaviors to the bot handler.

  15. #15
    Valued Member TenShie is offline
    MemberRank
    Apr 2011 Join Date
    Frankfurt a. M.Location
    115Posts

    information Re: Dragon [swf] [sql]

    @ all

    Productdata Update

    add this to your Productdata. If it not exist!
    Code:
    ["a0 pet12","Dragon and starter food",""]
    Furniture Update

    Code:
    < - NONE UPDATE - >

    -TenShie

  16. #16
    Proficient Member HabsHotel is offline
    MemberRank
    Jan 2011 Join Date
    CanadaLocation
    167Posts

    Re: Dragon [swf] [sql]

    Added everything need for Dragons (myself) but I cant seem to get them working because it needs to be codded into here but am having difficulty with it,

    Code:
    private void PetRaces()
            {
                string PetType = Request.PopFixedString();
    
                int count = 0, petid = 0;
                GetResponse().Init(827);
                if (PetType[6] == '0')
                {
                    GetResponse().AppendStringWithBreak("a0 pet0");
                    count = 25;
                    petid = 0;
                }
                else if (PetType[6] == '1')
                {
                    if (PetType.Length == 8)
                    {
                        if (PetType[7] == '1')
                        {
                            GetResponse().AppendStringWithBreak("a0 pet11");
                            count = 14;
                            petid = 11;
                        }
                        else
                        {
                            GetResponse().AppendStringWithBreak("a0 pet10");
                            count = 14;
                            petid = 10;
                        }
                    }
                    else
                    {
                        GetResponse().AppendStringWithBreak("a0 pet1");
                        count = 25;
                        petid = 1;
                    }
                }
                else if (PetType[6] == '2')
                {
                    GetResponse().AppendStringWithBreak("a0 pet2");
                    count = 12;
                    petid = 2;
                }
                else if (PetType[6] == '3')
                {
                    GetResponse().AppendStringWithBreak("a0 pet3");
                    count = 7;
                    petid = 3;
                }
                else if (PetType[6] == '4')
                {
                    GetResponse().AppendStringWithBreak("a0 pet4");
                    count = 4;
                    petid = 4;
                }
                else if (PetType[6] == '5')
                {
                    GetResponse().AppendStringWithBreak("a0 pet5");
                    count = 7;
                    petid = 5;
                }
                else if (PetType[6] == '6')
                {
                    GetResponse().AppendStringWithBreak("a0 pet6");
                    count = 13;
                    petid = 6;
                }
                else if (PetType[6] == '7')
                {
                    GetResponse().AppendStringWithBreak("a0 pet7");
                    count = 8;
                    petid = 7;
                }
                else if (PetType[6] == '8')
                {
                    GetResponse().AppendStringWithBreak("a0 pet8");
                    count = 13;
                    petid = 8;
                }
                GetResponse().AppendInt32(count);
                for (int i = 0; i < count; i++)
                {
                    GetResponse().AppendInt32(petid); // pet id
                    GetResponse().AppendInt32(i); // raza id
                    GetResponse().AppendInt32(1); // activado
                    GetResponse().AppendInt32(0); // desactivado wtf?
                }
                SendResponse();
            }
    Code:
                RequestHandlers[3007] = new RequestHandler(PetRaces);
    Anyone care to help?

    please :)
    Last edited by HabsHotel; 20-05-11 at 07:08 PM.

  17. #17
    凸(ಠ益ಠ)凸 Omnija is offline
    MemberRank
    Jun 2008 Join Date
    QuebecLocation
    2,233Posts

    Re: Dragon [swf] [sql]

    When i added my Rino and lion it was fairly easy, but i guess since then the emu's have changed alot.

  18. #18
    Valued Member TenShie is offline
    MemberRank
    Apr 2011 Join Date
    Frankfurt a. M.Location
    115Posts

    wink Re: Dragon [swf] [sql]

    Quote Originally Posted by HabsHotel View Post
    Added everything need for Dragons (myself) but I cant seem to get them working because it needs to be codded into here but am having difficulty with it,

    Code:
     [...]
    Anyone care to help?

    please :)
    Add this ... above: "GetResponse().AppendInt32(count);"

    Code:
                else if (PetType[6] == '12') //Dragon
                {
                    GetResponse().AppendStringWithBreak("a0 pet12");
                    count = 13;
                    petid = 12;
                }
    Last edited by TenShie; 20-05-11 at 08:33 PM.

  19. #19
    Proficient Member HabsHotel is offline
    MemberRank
    Jan 2011 Join Date
    CanadaLocation
    167Posts

    Re: Dragon [swf] [sql]

    Quote Originally Posted by TenShie View Post
    Add this ...

    Code:
                else if (PetType[6] == '12')
                {
                    GetResponse().AppendStringWithBreak("a0 pet12");
                    count = 13;
                    petid = 12;
                }
    I've tryed this allready lol it doesnt work because it give an error,

    The 12 goes underlined in red and it say this,
    "To many characters in character literal"

    so dont think I havent tried, I added Frogs, Spiders and chicks into this code its jsut I cant add DRAGONS D:

  20. #20
    Valued Member TenShie is offline
    MemberRank
    Apr 2011 Join Date
    Frankfurt a. M.Location
    115Posts

    Re: Dragon [swf] [sql]

    ... oops set it above this
    Code:
                        else
                        {
                            GetResponse().AppendStringWithBreak("a0 pet10");
                            count = 14;
                            petid = 10;
                        }


    ---------- Post added at 06:45 PM ---------- Previous post was at 06:40 PM ----------

    i don't read this part; ( if (PetType.Length == 8 ) ... i'm tired.

  21. #21
    Proficient Member klaudio007 is offline
    MemberRank
    Dec 2007 Join Date
    ChileLocation
    190Posts

    Re: Dragon [swf] [sql]

    Quote Originally Posted by TenShie View Post
    ... oops set it above this
    Code:
                        else
                        {
                            GetResponse().AppendStringWithBreak("a0 pet10");
                            count = 14;
                            petid = 10;
                        }


    ---------- Post added at 06:45 PM ---------- Previous post was at 06:40 PM ----------

    i don't read this part; ( if (PetType.Length == 8 ) ... i'm tired.
    in catalog.cs add:
    Code:
    case "9465":
                                            PetType = 12; // Dragon
                                            break;
    in rooms.cs, under:
    Code:
    if (PetType.Length == 8)
                    {
                        
                        if (PetType[7] == '1')
                        {
    
                            GetResponse().AppendStringWithBreak("a0 pet11");
                            count = 010;
                            petid = 11;
                        }
                    }
    add:
    Code:
    if (PetType.Length == 8)
                    {
    
                        if (PetType[7] == '2')
                        {
    
                            GetResponse().AppendStringWithBreak("a0 pet12");
                            count = 008;
                            petid = 12;
                        }
                    }

  22. #22
    Proficient Member HabsHotel is offline
    MemberRank
    Jan 2011 Join Date
    CanadaLocation
    167Posts

    Re: Dragon [swf] [sql]

    Quote Originally Posted by TenShie View Post
    ... oops set it above this
    Code:
                        else
                        {
                            GetResponse().AppendStringWithBreak("a0 pet10");
                            count = 14;
                            petid = 10;
                        }


    ---------- Post added at 06:45 PM ---------- Previous post was at 06:40 PM ----------

    i don't read this part; ( if (PetType.Length == 8 ) ... i'm tired.
    mmm..


  23. #23
    Valued Member TenShie is offline
    MemberRank
    Apr 2011 Join Date
    Frankfurt a. M.Location
    115Posts

    Re: Dragon [swf] [sql]

    Ty, klaudio007



    -TenShie

  24. #24
    Proficient Member HabsHotel is offline
    MemberRank
    Jan 2011 Join Date
    CanadaLocation
    167Posts

    Re: Dragon [swf] [sql] [c# codes]

    Fixed it I just make some changes :)

    Code:
    if (PetType.Length == 8)
                    {
                        if (PetType[7] == '1')
                        {
                            GetResponse().AppendStringWithBreak("a0 pet11");
                            count = 14;
                            petid = 11;
                        }
                        else if (PetType[7] == '2')
                        {
                            GetResponse().AppendStringWithBreak("a0 pet12");
                            count = 14;
                            petid = 12;
                        }
                        else
                        {
                            GetResponse().AppendStringWithBreak("a0 pet10");
                            count = 14;
                            petid = 10;
                        }
                    }

  25. #25
    Learning C# - Developer wy479 is offline
    MemberRank
    Nov 2010 Join Date
    :O You PERVERT!Location
    1,132Posts

    Re: Dragon [swf] [sql] [c# codes]

    :D ill add it to my hotel soon!



Page 1 of 3 123 LastLast

Advertisement