need help changing habbo.swf pixel & ducket

Shaz

Member
Jan 8, 2015
57
1
ive edited everything to how i want it but now im having a problem where if i use the command :duckets louis 1
it adds the extra ducket but it adds it to the pixel section
i need to change the pixel "amount" and the ducket "amount" to the opposite sides

this is what happens when i give a user 1 ducket


i need to have the 34/ 35 at the bottom where duckets is, and the 1010730 to where the pixels are.

heres the coding what ima little confused:
This is the coding for the pixel tab: habbo\habbo-1105.bin
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layout name="purse_indicator_shells" width="95" height="29" version="0.1" uid="D87CD19F-1CBC-9474-A69E-BBC9772CA9D0">
  <window>
    <border x="0" y="0" width="192" height="29" params="17" style="0" name="outer_border" color="0x0d9b00" clipping="false" treshold="0">
      <children>
        <border x="0" y="0" width="192" height="29" params="16" style="6" color="0xff55534e" tags="BGCOLOR"/>
        <border x="3" y="3" width="186" height="22" params="16" style="3" color="0x0201e19" blend="0.8"/>
        <border x="163" y="0" width="29" height="29" params="16" style="6" color="0x7cbac2"/>
<text x="5" y="7" width="100" height="19" params="92371467921647921" style="0" caption="%24%7BBits%7D">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="text_color" value="0x000000" type="hex"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
          </variables>
        </text>
        <text x="4" y="6" width="100" height="19" params="92371467921647921" style="0" caption="%24%7Bhotelview.counter.smeraldi%7D">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="text_color" value="0x7cbac2" type="hex"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
          </variables>
        </text>
        <text x="61" y="7" width="100" height="19" params="262160" style="0" name="amount_shadow" caption="0">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="auto_size" value="right" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="sharpness" value="0" type="Number"/>
            <var key="thickness" value="0" type="Number"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
            <var key="spacing" value="0" type="Number"/>
            <var key="leading" value="0" type="Number"/>
          </variables>
        </text>
        <text x="60" y="6" width="100" height="19" params="262160" style="0" name="amount" caption="0">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="auto_size" value="right" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="text_color" value="0xffffff" type="hex"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="sharpness" value="0" type="Number"/>
            <var key="thickness" value="0" type="Number"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
            <var key="spacing" value="0" type="Number"/>
            <var key="leading" value="0" type="Number"/>
          </variables>
        </text>
                <bitmap x="167" y="4" width="22" height="22" params="22" style="0" name="shell_icon" tags="ICON">
                    <variables>
                        <var key="bitmap_asset_name" value="shell_icon" type="String"/>
                    </variables>
                </bitmap>
      </children>
    </border>
  </window>r
</layout>

This is the coding for the ducket tab part: habbo\habbo-498.bin
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layout name="purse_indicator_pixels" width="95" height="29" version="0.1" uid="D87CD19F-1CBC-9474-A69E-BBC9772CA9D0">
   <window>
        <border x="0" y="0" width="192" height="29" params="17" style="0" name="outer_border" color="0xff89d3c8" clipping="false" treshold="0">
            <children>
        <border x="0" y="0" width="192" height="29" params="16" style="6" color="0xff55534e" tags="BGCOLOR"/>
        <border x="3" y="3" width="186" height="22" params="16" style="3" color="0x0201e19" blend="0.8"/>
        <border x="163" y="0" width="29" height="29" params="16" style="6" color="0xba7cc2"/>
        <text x="5" y="7" width="100" height="19" params="92371467921647921" style="0" caption="%24%7Bhotelview.counter.seasonal%7D">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="text_color" value="0x000000" type="hex"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
          </variables>
        </text>
        <text x="4" y="6" width="100" height="19" params="92371467921647921" style="0" caption="%24%7Bhotelview.counter.seasonal%7D">
          <variables>
            <var key="antialias_type" value="advanced" type="String"/>
            <var key="font_face" value="Ubuntu" type="String"/>
            <var key="font_size" value="11" type="uint"/>
            <var key="text_color" value="0xba7cc2" type="hex"/>
            <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
            <var key="bold" value="true" type="Boolean"/>
            <var key="kerning" value="true" type="Boolean"/>
          </variables>
        </text>
                <text x="61" y="7" width="100" height="21" params="262160" style="0" name="pixels_shadow" caption="0">
                    <variables>
                        <var key="antialias_type" value="advanced" type="String"/>
                        <var key="auto_size" value="right" type="String"/>
                        <var key="font_face" value="Ubuntu" type="String"/>
                        <var key="font_size" value="11" type="uint"/>
                        <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                        <var key="bold" value="true" type="Boolean"/>
                        <var key="kerning" value="true" type="Boolean"/>
                    </variables>
                </text>
                <text x="60" y="6" width="100" height="21" params="262160" style="0" name="pixels" caption="0">
                    <variables>
                        <var key="antialias_type" value="advanced" type="String"/>
                        <var key="auto_size" value="right" type="String"/>
                        <var key="font_face" value="Ubuntu" type="String"/>
                        <var key="font_size" value="11" type="uint"/>
                        <var key="text_color" value="0xffffff" type="hex"/>
                        <var key="mouse_wheel_enabled" value="false" type="Boolean"/>
                        <var key="bold" value="true" type="Boolean"/>
                        <var key="kerning" value="true" type="Boolean"/>
                    </variables>
                </text>
                <bitmap x="170" y="6" width="22" height="22" params="22" style="0" name="pixel_icon" tags="ICON">
                    <variables>
                        <var key="bitmap_asset_name" value="pixel_icon" type="String"/>
                    </variables>
                </bitmap>
            </children>
        </border>
    </window>
</layout>

sorry if its not explained that well, if you can kinda understand but still confused just write a comment, any help is appreciated. thanks
 

Shaz

Member
Jan 8, 2015
57
1
ill edit them after i sorted the issue out, the issue is that i need to swap both the bottom widget numbers arround. but im having a issue with doing it as ive tried a few things out
 

Users who are viewing this thread

Top