[Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

Page 1 of 2 12 LastLast
Results 1 to 25 of 34
  1. #1
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Hello. Divide asked me to take a look for the BOTs in catalogue. After some research I finally found it.

    How it will look like:
    http://i.imgur.com/vbPmp.png

    Before you start: All the SQL queries you need:

    PHP Code:
    ALTER TABLE  `catalog_items_copyADD  `extradataVARCHAR255 NOT NULL 
    PHP Code:
    INSERT INTO  `catalog_items_copy` (
    `
    id` ,`page_id` ,`item_ids` ,`catalog_name` ,`cost_credits` ,`cost_pixels` ,`amount` ,`cost_crystal` ,`cost_oude_belcredits` ,`song_id` ,`limited_stack` ,`limited_sells` ,`offer_active` ,`extradata`)
    VALUES (NULL ,  '923',  '99999999',  'rentable_bot_visitor_log',  '20',  '0',  '1',  '0',  '0',  '0',  '0',  '0',  '1',  'hr-893-42.hd-185-8.ch-255-86.lg-275-64.sh-295-78.ea-1406.fa-1212'); 
    PHP Code:
    INSERT INTO `items_base` (`item_id`, `sprite_id`, `public_name`, `item_name`, `type`, `width`, `length`, `height`, `allow_stack`, `allow_walk`, `allow_sit`, `allow_recycle`, `allow_trade`, `allow_marketplace_sell`, `allow_gift`, `allow_inventory_stack`, `interaction_type`, `cycle_count`, `vending_ids`) VALUES ('99999999''0''rentable_bot_visitor_log''rentable_bot_visitor_log''r''1''1''0.0''0''0''0''0''0''0''0''0''default''0''0'); 
    PHP Code:
    ALTER TABLE  `catalog_pagesCHANGE  `page_layout`  `page_layoutENUM(  'default_3x3',  'club_buy',  'frontpage',  'spaces',  'recycler',  'recycler_info',  'recycler_prizes',  'trophies',  'plasto',  'marketplace''marketplace_own_items',  'pets',  'pets2',  'spaces_new',  'soundmachine',  'bots' CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT  'default_3x3' 
    PHP Code:
    INSERT INTO `droppy`.`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`, `text3`, `link`, `mobile_frntpg`) VALUES ('923''-1''BOTs''11''65''1''1''1''0''0''4''bots''bots''bots_teaser''''Buy now your bots. Oh wait.. djtroy39 will code buying of bots VERY SOON!'''''''''''''); 
    Okay, first open Atom/Habbolatino/Butterstorm in C#. Go to CatalogItem.cs

    - Find:
    PHP Code:
            internal readonly bool HaveOffer
    Add below:
    PHP Code:
    internal string ExtraData
    - Find:
    PHP Code:
                this.HaveOffer = ((string)Row["offer_active"] == "1"); 
    Add below:
    PHP Code:
                this.ExtraData = (string)Row["extradata"]; 
    - Find:
    PHP Code:
                        if (Name.Contains("wallpaper_single") || Name.Contains("floor_single") || Name.Contains("landscape_single"))
                        {
                            
    string[] Analyze Name.Split('_');
                            
    Message.AppendStringWithBreak(Analyze[2]);
                        } 
    Below add:
    PHP Code:
                        else if (Name.Contains("rentable_bot"))
                        {
                            
    Message.AppendStringWithBreak(this.ExtraData);
                        } 
    Now open Catalog.cs

    - Find:
    PHP Code:
    dbClient.setQuery("SELECT id,item_ids,catalog_name,cost_credits,cost_pixels,amount,page_id,cost_crystal,cost_oude_belcredits,song_id,limited_sells,limited_stack,offer_active FROM catalog_items_copy"); 
    Replace with:
    PHP Code:
    dbClient.setQuery("SELECT * FROM catalog_items_copy"); 
    - Find:
    PHP Code:
                    case "club_buy":

                        
    PageData.AppendString("vip_buy"); // layout
                        
    PageData.AppendInt32(2);
                        
    PageData.AppendString("ctlg_buy_vip_header");
                        
    PageData.AppendString("ctlg_gift_vip_teaser");
                        
    PageData.AppendInt32(0);
                        break; 
    Below add:
    PHP Code:
      case "bots":

                        
    PageData.AppendStringWithBreak(Page.Layout);
                        
    PageData.AppendInt32(3);
                        
    PageData.AppendStringWithBreak(Page.LayoutHeadline);
                        
    PageData.AppendStringWithBreak(Page.LayoutTeaser);
                        
    PageData.AppendStringWithBreak(Page.LayoutSpecial);
                        
    PageData.AppendInt32(3);
                        
    PageData.AppendStringWithBreak(Page.Text1);
                        
    PageData.AppendStringWithBreak(Page.TextDetails);
                        
    PageData.AppendStringWithBreak(Page.TextTeaser);

                        break; 
    Now reload your emulator. Hopefully I haven't forgot anything. Please like if you like it and rep :)


  2. #2
    Demi-God tweeney is offline
    Grand MasterRank
    Aug 2008 Join Date
    888Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Already guessed this, but thanks! :D

  3. #3
    Elite Member CrEcEp is offline
    Member +Rank
    Oct 2011 Join Date
    166Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Everytime i´ll go on the Bots Page i´ll Disconnect - Can someone say me why?

  4. #4
    Elite Member Gilibert is offline
    Member +Rank
    Jan 2011 Join Date
    236Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Can it me made for RevCMS > Phoenix

  5. #5
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Mixland View Post
    Can it me made for RevCMS > Phoenix
    No, unless you edit SWF.

  6. #6
    Sorcerer Supreme J4y2 is offline
    Member +Rank
    Feb 2012 Join Date
    South KoreaLocation
    317Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by CrEcEp View Post
    Everytime i´ll go on the Bots Page i´ll Disconnect - Can someone say me why?
    I Also Got The Same Problem :/
    I Think Something's Is Missing

  7. #7
    Elite Member CrEcEp is offline
    Member +Rank
    Oct 2011 Join Date
    166Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    now it´s working you must edit the item_id and the id of the item then its working

  8. #8
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    I use this and works.

  9. #9
    Newbie Ethis is offline
    MemberRank
    Feb 2012 Join Date
    Dijon, FranceLocation
    9Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    When I want to buy a bot, I have this alert:

    http://imageshack.us/a/img401/8519/sanstitre1np.png
    And the bot is not in my inventory.

  10. #10
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Ethis View Post
    When I want to buy a bot, I have this alert:

    http://imageshack.us/a/img401/8519/sanstitre1np.png
    And the bot is not in my inventory.
    Bot buying will be coded by me soon!

  11. #11
    Newbie Ivanfut is offline
    MemberRank
    Jul 2012 Join Date
    4Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    When will it be the purchase of bots?

  12. #12
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Ivanfut View Post
    When will it be the purchase of bots?
    When I coded it (logic :))

  13. #13
    BFH Experience Loader Mininova is offline
    Grand MasterRank
    Oct 2007 Join Date
    WonderlandLocation
    724Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    I have Purchased Bots + Inventory Bots but when I have a Placed Bot i have a error:
    Unhandled Packet 2087 (Its. OnEventHappened)

  14. #14
    Elite Member djtroy39 is offline
    Member +Rank
    Aug 2012 Join Date
    United StatesLocation
    119Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Mininova View Post
    I have Purchased Bots + Inventory Bots but when I have a Placed Bot i have a error:
    Unhandled Packet 2087 (Its. OnEventHappened)
    Then the packet is not in the dictionary. You probably didn't code it.

  15. #15
    Elite Member CrEcEp is offline
    Member +Rank
    Oct 2011 Join Date
    166Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    I can´t create bots in the Databse when i go in the room with the bot it´ll disconnects me

    Packeterror.log


    Error in packet [1730] BODY: [0][0][0]v[0][0]????:
    TokenID: 0System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    bei Butterfly.HabboHotel.Rooms.RoomUser.Serialize(ServerMessage Message, Boolean gotPublicRoom) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\Rooms\RoomUser.cs:Zeile 717.
    bei Butterfly.HabboHotel.Rooms.RoomUserManager.DeployBot(RoomBot Bot, Pet PetData) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\Rooms\RoomUserManager.cs:Zeile 127.
    bei Butterfly.HabboHotel.Rooms.Room.DeployBot(RoomBot Bot) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\Rooms\Room.cs:Zeile 477.
    bei Butterfly.HabboHotel.Rooms.Room.InitBots() in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\Rooms\Room.cs:Zeile 451.
    bei Butterfly.HabboHotel.Rooms.RoomManager.LoadRoom(UInt32 Id) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\Rooms\RoomManager.cs:Zeile 190.
    bei Butterfly.Messages.GameClientMessageHandler.PrepareRoomForUser(UInt32 Id, String Password) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\Messages\Requests\Rooms.cs:Zeile 552.
    bei Butterfly.Messages.GameClientMessageHandler.enterOnRoom() in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\Messages\Requests\Rooms.cs:Zeile 526.
    bei Butterfly.Messages.StaticMessageHandlers.SharedPacketLib.enterOnRoom(GameClientMessageHandler handler) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\Messages\StaticMessageHandlers\SharedPacketLib.cs:Zeile 487.
    bei Butterfly.Messages.StaticMessageHandlers.StaticClientMessageHandler.HandlePacket(GameClientMessageHandler handler, ClientMessage message) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\Messages\StaticMessageHandlers\StaticClientMessageHandler.cs:Zeile 28.
    bei Butterfly.Messages.GameClientMessageHandler.HandleRequest(ClientMessage request) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\Messages\GameClientMessageHander.cs:Zeile 57.
    bei Butterfly.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientMessage Message) in c:\Users\Florian\Desktop\Habbolatino Emulator (Based on Butterfly)\Emulator\Butterfly Emulator\HabboHotel\GameClients\GameClient.cs:Zeile 84.

  16. #16
    Sorcerer Supreme neto737 is offline
    Member +Rank
    Oct 2010 Join Date
    Environment.csLocation
    274Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    I could not fix the emulator codes are all correct, but the db's something wrong when I try to connect the emulator it appears, and when I try to open the category of bots in the catalog gives disconnect

    Sorry for my bad english, I'm brazilian ;)


    FAIL: http://imageshack.us/a/img337/1369/failgq.png

  17. #17
    Banned Divide is offline
    BannedRank
    Aug 2011 Join Date
    British CoderLocation
    1,013Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by neto737 View Post
    I could not fix the emulator codes are all correct, but the db's something wrong when I try to connect the emulator it appears, and when I try to open the category of bots in the catalog gives disconnect

    Sorry for my bad english, I'm brazilian ;)


    FAIL: http://imageshack.us/a/img337/1369/failgq.png
    You did it wrong then, Mine works fine...

  18. #18
    Sorcerer Supreme neto737 is offline
    Member +Rank
    Oct 2010 Join Date
    Environment.csLocation
    274Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Divide View Post
    You did it wrong then, Mine works fine...
    I did everything according to the tutorial, but this error has already remade 3 times, but always with the same error!

  19. #19
    Banned Divide is offline
    BannedRank
    Aug 2011 Join Date
    British CoderLocation
    1,013Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    You didn't make the items_base with ID = 9999999

  20. #20
    Sorcerer Supreme neto737 is offline
    Member +Rank
    Oct 2010 Join Date
    Environment.csLocation
    274Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Divide View Post
    You didn't make the items_base with ID = 9999999
    and as to leave base_items?

  21. #21
    Banned Divide is offline
    BannedRank
    Aug 2011 Join Date
    British CoderLocation
    1,013Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by neto737 View Post
    and as to leave base_items?
    English please? :L

  22. #22
    Sorcerer Supreme neto737 is offline
    Member +Rank
    Oct 2010 Join Date
    Environment.csLocation
    274Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by Divide View Post
    English please? :L
    could create a SQL codes and post for me to download please?

  23. #23
    Member Structured is offline
    MemberRank
    Aug 2012 Join Date
    29Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Wow, I like this... I have not got the emulator its self on my computer but if I did, I would be using that as a base to expand the bots system. I like it <3 My opinion no one elses.

  24. #24
    Member DemonCreazy is offline
    MemberRank
    Apr 2012 Join Date
    32Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    But these are only the codes for the catalog, there are no codes for inventory or for rooms?

  25. #25
    Sorcerer Supreme EvilCoder is offline
    Member +Rank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: [Atom/Habbolatino] BOTs in catalogue [Requested by Divide]

    Quote Originally Posted by djtroy39 View Post
    No, unless you edit SWF.
    Even then it's impossible. As the query needs to be changed. Don't think Aaron will hand you over the Source.

    Quote Originally Posted by neto737 View Post
    I could not fix the emulator codes are all correct, but the db's something wrong when I try to connect the emulator it appears, and when I try to open the category of bots in the catalog gives disconnect

    Sorry for my bad english, I'm brazilian ;)


    FAIL: http://imageshack.us/a/img337/1369/failgq.png
    What about that you read the error message. The first thing you will see is like; OH! I forgot something.
    Emulator couldn't load the damn furniture item. So its your fault... Maybe you shouldn't forget stuff..

    So that means he did 'not' fail or the codes failed, but you did.



Page 1 of 2 12 LastLast

Advertisement