Maxing(?) inventory size

Damien

Don't need glasses if you can C#
Feb 26, 2012
426
642
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:
638203ec99b943fb98b8c0bf0775b038.png


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:
e2a48a7b92cc42cc86c9e68dfffe4f19.png


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:
a64e2806f3ed4c90860c8c62d24e15e8.png


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
 

Yonas_

New Member
Jan 20, 2017
3
0
Good tutorial for people who don't know this!
Anyway there is another option to do this, much easier in my opinion.
 

MattSantos

New Member
Aug 20, 2016
4
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
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
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.
 

Meap

Don't need glasses if you C#
Nov 7, 2010
1,045
296
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.
so just editing the second integer is how many pages there is?
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
so just editing the second integer is how many pages there is?

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.
 

MattSantos

New Member
Aug 20, 2016
4
0
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.
Can you post the code here?
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
Can you post the code here?

Will post a thread later on tonight.

Good tutorial, like Sledmore said you can do it by modifying the swf.

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.
 

MattSantos

New Member
Aug 20, 2016
4
0
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.
Ok, thanks :)
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
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.
Do you have the code for the Furni Item? Doing this now :) Seeing how inventories work..
 

Users who are viewing this thread

Top