How Do I Update Grid_Purse?

Status
Not open for further replies.

percocet

Member
Oct 21, 2016
72
16
How do I make the purse wider? Which line of code is it. This is the container that holds the coins, and duckets, etc. I want to make it wider so I can see for example 1million credits with all of the zeroes. Here is the swf decompiled.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layout name="grid_purse" width="280" height="77" version="0.1" uid="01D1ABD2-B9EC-CE8A-6F16-85A0765A2A89">
  <window>
    <container x="0" y="0" width="280" height="77" params="0" style="6" color="0x0686661">
      <children>
        <border x="0" y="0" width="280" height="76" params="16" style="9" color="0x0686661"/>
        <border x="3" y="3" width="274" height="69" params="16" style="3" color="0x0201e19" blend="0.8" visible="false"/>
        <itemlist_vertical x="7" y="9" width="52" height="55" params="3145728" style="0" name="purse_itemlist" height_max="62">
          <children>
            <region x="0" y="0" width="52" height="19" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="diamond_count_button" treshold="0">
              <children>
                <text x="25" y="2" width="10" height="17" params="262160" style="3" name="diamond_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0x38caeb" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="36" y="2" width="15" height="15" params="18" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_diamond_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${achievements.activitypoint.5}" type="String"/>
              </variables>
            </region>
            <region x="0" y="19" width="52" height="19" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="credit_count_button" treshold="0">
              <children>
                <text x="25" y="2" width="10" height="17" params="262160" style="3" name="credit_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0xd5af22" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="36" y="2" width="15" height="15" params="18" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_credits_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${purse_coins}" type="String"/>
              </variables>
            </region>
            <region x="0" y="38" width="52" height="17" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="ducket_count_button" clipping="false" treshold="0">
              <children>
                <text x="25" y="2" width="10" height="17" params="262160" style="3" name="ducket_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0xd787d7" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="36" y="2" width="15" height="15" params="16" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_duckets_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${achievements.activitypoint.0}" type="String"/>
              </variables>
            </region>
          </children>
          <variables>
            <var key="resize_on_item_update" value="true" type="Boolean"/>
          </variables>
        </itemlist_vertical>
        <border x="64" y="7" width="48" height="62" params="16" style="2" color="0x03b3933" blend="0.8"/>
        <region x="64" y="12" width="48" height="54" params="1" style="0" dynamic_style="brightness_and_shadow_under" name="hc_join_button" treshold="0">
          <children>
            <label x="12" y="27" width="25" height="17" params="786640" style="3" name="join" caption="join" visible="false" tags="%23icon">
              <variables>
                <var key="text_style" value="u_bold" type="String"/>
                <var key="text_color" value="0xc1c4" type="hex"/>
              </variables>
            </label>
            <text x="5" y="24" width="38" height="28" params="802832" style="3" name="days" caption="23%20d." tags="%23icon" width_max="38" height_min="28" height_max="28">
              <variables>
                <var key="auto_size" value="center" type="String"/>
                <var key="text_color" value="0xc1c4" type="hex"/>
                <var key="text_style" value="u_bold" type="String"/>
                <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                <var key="multiline" value="true" type="Boolean"/>
                <var key="word_wrap" value="true" type="Boolean"/>
                <var key="max_lines" value="2" type="int"/>
                <var key="spacing" value="0" type="Number"/>
                <var key="leading" value="0" type="Number"/>
              </variables>
            </text>
            <static_bitmap x="15" y="5" width="20" height="18" params="16" style="3" tags="%23icon">
              <variables>
                <var key="asset_uri" value="pursearea_hc_icon" type="String"/>
                <var key="pivot_point" value="center" type="String"/>
                <var key="stretched_x" value="false" type="Boolean"/>
                <var key="stretched_y" value="false" type="Boolean"/>
                <var key="etching_color" value="0x48000000" type="hex"/>
              </variables>
            </static_bitmap>
          </children>
          <variables>
            <var key="tool_tip_caption" value="${catalog.club.hc}" type="String"/>
          </variables>
        </region>
        <background x="117" y="11" width="1" height="55" params="16" style="3" color="0xffff444444" background="true" height_min="23"/>
        <itemlist_vertical x="123" y="8" width="63" height="62" params="0" style="0" tags="relative%281%29">
          <children>
            <container_button x="0" y="0" width="61" height="19" params="129" style="0" name="help_button" caption="%24%7Btoolbar.help%7D" color="0x0217bb5" clipping="false" width_min="61" width_max="62">
              <children>
                <label x="0" y="1" width="71" height="17" params="1838288" style="3" caption="%24%7Btoolbar.help%7D">
                  <variables>
                    <var key="text_color" value="0xffffff" type="hex"/>
                  </variables>
                </label>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${toolbar.help}" type="String"/>
              </variables>
            </container_button>
            <container_button x="0" y="21" width="61" height="19" params="1" style="0" name="logout_button" caption="x" color="0x0de5347" treshold="0">
              <children>
                <static_bitmap x="26" y="0" width="15" height="20" params="16" style="3">
                  <variables>
                    <var key="asset_uri" value="pursearea_logout_icon" type="String"/>
                    <var key="pivot_point" value="center" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${toolbar.logout}" type="String"/>
              </variables>
            </container_button>
            <container_button x="0" y="42" width="61" height="19" params="1" style="0" name="settings_button" caption="s" color="0x0726b86" treshold="0">
              <children>
                <static_bitmap x="1" y="1" width="61" height="18" params="16" style="3">
                  <variables>
                    <var key="asset_uri" value="pursearea_settings_icon" type="String"/>
                    <var key="pivot_point" value="center" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${widget.memenu.settings}" type="String"/>
              </variables>
            </container_button>
          </children>
          <variables>
            <var key="spacing" value="2" type="int"/>
          </variables>
        </itemlist_vertical>
        <static_bitmap x="0" y="55" width="35" height="16" params="0" style="3" name="beta_sign" visible="false">
          <variables>
            <var key="asset_uri" value="common_beta_sign" type="String"/>
            <var key="stretched_x" value="false" type="Boolean"/>
            <var key="stretched_y" value="false" type="Boolean"/>
            <var key="fit_size_to_contents" value="true" type="Boolean"/>
          </variables>
        </static_bitmap>
      </children>
    </container>
  </window>
</layout>
 

Velaski

winner
Aug 4, 2015
562
165
PHP:
<layout name="grid_purse" width="280" height="77" version="0.1" uid="01D1ABD2-B9EC-CE8A-6F16-85A0765A2A89">
  <window>
    <container x="0" y="0" width="280" height="77" params="0" style="6" color="0x0686661">
      <children>
Try edit that. Not too sure.
 

Joe

Well-Known Member
Jun 10, 2012
4,089
1,918
Download
Open your Habbo.SWF using this tool, search for "grid_purse" replace all of the code in there with this:-
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layout name="grid_purse" width="192" height="77" version="0.1" uid="01D1ABD2-B9EC-CE8A-6F16-85A0765A2A89">
  <window>
    <container x="0" y="0" width="192" height="77" params="0" style="6" color="0x0686661">
      <children>
        <border x="0" y="0" width="192" height="76" params="16" style="9" color="0x0686661"/>
        <border x="3" y="3" width="186" height="69" params="16" style="3" color="0x0201e19" blend="0.8" visible="false"/>
        <itemlist_vertical x="7" y="9" width="110" height="55" params="3145728" style="0" name="purse_itemlist" height_max="62">
          <children>
            <region x="0" y="0" width="110" height="19" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="diamond_count_button" treshold="0">
              <children>
                <text x="80" y="2" width="10" height="17" params="262160" style="3" name="diamond_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0x38caeb" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="91" y="2" width="15" height="15" params="18" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_diamond_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${achievements.activitypoint.5}" type="String"/>
              </variables>
            </region>
            <region x="0" y="19" width="110" height="19" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="credit_count_button" treshold="0">
              <children>
                <text x="80" y="2" width="10" height="17" params="262160" style="3" name="credit_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0xd5af22" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="91" y="2" width="15" height="15" params="18" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_credits_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${purse_coins}" type="String"/>
              </variables>
            </region>
            <region x="0" y="38" width="110" height="17" params="1" style="3" dynamic_style="brightness_and_shadow_under" name="ducket_count_button" clipping="false" treshold="0">
              <children>
                <text x="80" y="2" width="10" height="17" params="262160" style="3" name="ducket_count" caption="0" tags="%23icon">
                  <variables>
                    <var key="auto_size" value="left" type="String"/>
                    <var key="etching_color" value="0x45000000" type="hex"/>
                    <var key="etching_position" value="bottom" type="String"/>
                    <var key="text_color" value="0xd787d7" type="hex"/>
                    <var key="text_style" value="u_bold" type="String"/>
                    <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                    <var key="spacing" value="0" type="Number"/>
                    <var key="leading" value="0" type="Number"/>
                  </variables>
                </text>
                <static_bitmap x="91" y="2" width="15" height="15" params="16" style="3" treshold="0" tags="%23icon">
                  <variables>
                    <var key="asset_uri" value="pursearea_duckets_icon" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                    <var key="etching_color" value="0x48000000" type="hex"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${achievements.activitypoint.0}" type="String"/>
              </variables>
            </region>
          </children>
          <variables>
            <var key="resize_on_item_update" value="true" type="Boolean"/>
          </variables>
        </itemlist_vertical>
        <border x="64" y="7" width="0" height="62" params="16" style="2" color="0x03b3933" blend="0.8"/>
        <region x="64" y="12" width="0" height="54" params="1" style="0" dynamic_style="brightness_and_shadow_under" name="hc_join_button" treshold="0">
          <children>
            <label x="12" y="27" width="25" height="17" params="786640" style="3" name="join" caption="join" visible="false" tags="%23icon">
              <variables>
                <var key="text_style" value="u_bold" type="String"/>
                <var key="text_color" value="0xc1c4" type="hex"/>
              </variables>
            </label>
            <text x="5" y="24" width="38" height="28" params="802832" style="3" name="days" caption="23%20d." tags="%23icon" width_max="38" height_min="28" height_max="28">
              <variables>
                <var key="auto_size" value="center" type="String"/>
                <var key="text_color" value="0xc1c4" type="hex"/>
                <var key="text_style" value="u_bold" type="String"/>
                <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                <var key="multiline" value="true" type="Boolean"/>
                <var key="word_wrap" value="true" type="Boolean"/>
                <var key="max_lines" value="2" type="int"/>
                <var key="spacing" value="0" type="Number"/>
                <var key="leading" value="0" type="Number"/>
              </variables>
            </text>
            <static_bitmap x="15" y="5" width="20" height="18" params="16" style="3" tags="%23icon">
              <variables>
                <var key="asset_uri" value="pursearea_hc_icon" type="String"/>
                <var key="pivot_point" value="center" type="String"/>
                <var key="stretched_x" value="false" type="Boolean"/>
                <var key="stretched_y" value="false" type="Boolean"/>
                <var key="etching_color" value="0x48000000" type="hex"/>
              </variables>
            </static_bitmap>
          </children>
          <variables>
            <var key="tool_tip_caption" value="${catalog.club.hc}" type="String"/>
          </variables>
        </region>
        <background x="117" y="11" width="1" height="55" params="16" style="3" color="0xffff444444" background="true" height_min="23"/>
        <itemlist_vertical x="123" y="8" width="63" height="62" params="0" style="0" tags="relative%281%29">
          <children>
            <container_button x="0" y="0" width="61" height="19" params="129" style="0" name="help_button" caption="%24%7Btoolbar.help%7D" color="0x0217bb5" clipping="false" width_min="61" width_max="62">
              <children>
                <label x="0" y="1" width="71" height="17" params="1838288" style="3" caption="%24%7Btoolbar.help%7D">
                  <variables>
                    <var key="text_color" value="0xffffff" type="hex"/>
                  </variables>
                </label>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${toolbar.help}" type="String"/>
              </variables>
            </container_button>
            <container_button x="0" y="21" width="61" height="19" params="1" style="0" name="logout_button" caption="x" color="0x0de5347" treshold="0">
              <children>
                <static_bitmap x="26" y="0" width="15" height="20" params="16" style="3">
                  <variables>
                    <var key="asset_uri" value="pursearea_logout_icon" type="String"/>
                    <var key="pivot_point" value="center" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${toolbar.logout}" type="String"/>
              </variables>
            </container_button>
            <container_button x="0" y="42" width="61" height="19" params="1" style="0" name="settings_button" caption="s" color="0x0726b86" treshold="0">
              <children>
                <static_bitmap x="1" y="1" width="61" height="18" params="16" style="3">
                  <variables>
                    <var key="asset_uri" value="pursearea_settings_icon" type="String"/>
                    <var key="pivot_point" value="center" type="String"/>
                    <var key="stretched_x" value="false" type="Boolean"/>
                    <var key="stretched_y" value="false" type="Boolean"/>
                  </variables>
                </static_bitmap>
              </children>
              <variables>
                <var key="tool_tip_caption" value="${widget.memenu.settings}" type="String"/>
              </variables>
            </container_button>
          </children>
          <variables>
            <var key="spacing" value="2" type="int"/>
          </variables>
        </itemlist_vertical>
        <static_bitmap x="0" y="55" width="35" height="16" params="0" style="3" name="beta_sign" visible="false">
          <variables>
            <var key="asset_uri" value="common_beta_sign" type="String"/>
            <var key="stretched_x" value="false" type="Boolean"/>
            <var key="stretched_y" value="false" type="Boolean"/>
            <var key="fit_size_to_contents" value="true" type="Boolean"/>
          </variables>
        </static_bitmap>
      </children>
    </container>
  </window>
</layout>
Save and replace old Habbo.SWF
 
Status
Not open for further replies.

Users who are viewing this thread

Top