1. Tired of not being able to see links? Want to chat with other members? Need help?

Maxing(?) inventory size

Discussion in 'Habbo Tutorials' started by Damien, Jan 20, 2017.

  1. Damien

    Damien Don't need glasses if you can C#

    Joined:
    Feb 26, 2012
    Messages:
    322
    Likes Received:
    533
    Was asked to create a tutorial on how to increase the inventory limit to stop users inventories getting stuck, causing the user to either have to empty their inventory or deal with never being able to open it again.

    Firstly download this juicy pack found here:
    Code:
    http://www.mediafire.com/file/dk9t9tsn93baspx/SWF_Decom.rar
    
    This pack contains the files used to decompile and recompile the habbo.swf. We'll need this as we need to directly edit the habbo.swf in order to be able to increase the inventory limit.

    Once downloaded you're have a directory that looks like this:
    [​IMG]

    You'll need to copy you Habbo.swf into the directory (making sure to keep the file name as "Habbo.swf") and hit DECOMPILER. This'll begin to decompile the Habbo.swf for editing. BE WARNED this may take some time to run.

    Once finished you should end up with your directory looking like this:
    [​IMG]

    Once done decmpiling, you'll want to search for a class named "EvaWireFormat" and edit it, in a editor of your choosing. Once the file is open you want to scroll down to the very bottom and look for a piece of code similar to this:
    [​IMG]

    You'll want to edit the "pushshort 128" to "pushshort 2048". Hit save the close the file.

    Finally back in your directory of files, you'll want to hit RECOMPILE, once again taking into account that this may take some time to complete. Once complete and you're sure there were no errors, you're free to use your new Habbo.swf without the issue of users hitting the max inventory limit.

    -Ty
     
    li4m, Velaski, Mycroft and 4 others like this.
  2. Yonas_

    Yonas_ New Member

    Joined:
    Jan 20, 2017
    Messages:
    3
    Likes Received:
    0
    Good tutorial for people who don't know this!
    Anyway there is another option to do this, much easier in my opinion.
     
  3. MattSantos

    MattSantos New Member

    Joined:
    Aug 20, 2016
    Messages:
    4
    Likes Received:
    0
    @Damiens I did all this and my inventory is not loading anymore ;-; Would you help me? I changed in: EvaWireFormat.class.asasm (folder Habbo-2)

    Production201607......104
     
  4. Blasteh

    Blasteh sut min pik

    Joined:
    Apr 3, 2013
    Messages:
    1,025
    Likes Received:
    430
    Amazing tutorial, thanks!
     
  5. Mycroft

    Mycroft Hyper politicized sexual tryst Staff Member

    Joined:
    Jun 10, 2012
    Messages:
    1,734
    Likes Received:
    812
    Works great Damien, thank you.
     
  6. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member FindRetros Moderator

    Joined:
    Jul 24, 2010
    Messages:
    4,912
    Likes Received:
    3,670
    Nice share.

    Long term solution:

    The solution to end having to modify the SWF is to send the client their items in a batch (700), the integers in the 'FurniListComposer' (first 2) are for pagination, first integer is the pages, second is the page.

    I'm 99% certain this is the correct way, as Habbo sends the 700 per page, and send each page - starting at 0. It's the way I've done it and it works fine.
     
  7. Meap

    Meap Don't need glasses if you C#

    Joined:
    Nov 7, 2010
    Messages:
    960
    Likes Received:
    290
    so just editing the second integer is how many pages there is?
     
  8. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member FindRetros Moderator

    Joined:
    Jul 24, 2010
    Messages:
    4,912
    Likes Received:
    3,670
    The first integer is the amount of pages, the second integer is the page. You have to send the packet per the amount of pages.
     
  9. Meap

    Meap Don't need glasses if you C#

    Joined:
    Nov 7, 2010
    Messages:
    960
    Likes Received:
    290
    ah I see I see
     
  10. MattSantos

    MattSantos New Member

    Joined:
    Aug 20, 2016
    Messages:
    4
    Likes Received:
    0
    Can you post the code here?
     
  11. Pinkman

    Pinkman Pink Army

    Joined:
    Jul 27, 2016
    Messages:
    721
    Likes Received:
    189
    Good tutorial, like Sledmore said you can do it by modifying the swf.
     
  12. Sledmore

    Sledmore Chaturbate Livestreamer Staff Member FindRetros Moderator

    Joined:
    Jul 24, 2010
    Messages:
    4,912
    Likes Received:
    3,670
    Will post a thread later on tonight.

    No, that is what this thread is showing - a tutorial of how to solve the issue by modifying the thread, I offered another solution.

    This thread is a decent enough method, I've done this for about 3 years now, but having it done via the emulator saves that measly 30 seconds of doing this per update.
     
    Stownizi likes this.
  13. MattSantos

    MattSantos New Member

    Joined:
    Aug 20, 2016
    Messages:
    4
    Likes Received:
    0
    Ok, thanks :)
     
  14. JayCustom

    JayCustom echo "Web Developer";

    Top Poster Of Month

    Joined:
    Aug 8, 2013
    Messages:
    4,523
    Likes Received:
    1,015
    Do you have the code for the Furni Item? Doing this now :) Seeing how inventories work..
     
  15. Dagzer

    Dagzer New Member

    Joined:
    May 7, 2017
    Messages:
    5
    Likes Received:
    0
    Is this fixed in R2?
     

Share This Page

Loading...