Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonDhose committed Dec 17, 2019
1 parent bcaeb02 commit 8da8196
Show file tree
Hide file tree
Showing 625 changed files with 1,217 additions and 8,345 deletions.
Binary file removed PRODUCTION-201907122337-140096664.swf
Binary file not shown.
Binary file removed PRODUCTION-201907130533-645801544.swf
Binary file not shown.
Binary file added PRODUCTION-201912170832-221158981.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion compile.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
$totalTime = (time() + explode(' ', microtime())[0]) - $_SERVER["REQUEST_TIME_FLOAT"];
$milleSecond = substr(explode('.', $totalTime * 1000)[1], 0, 9);

rename(__DIR__ . '\src\Habbo.swf', __DIR__ . '\PRODUCTION-'.date("YmdHi").'-'.$milleSecond.'.swf');
if(file_exists(__DIR__ . '\src\Habbo.swf')) rename(__DIR__ . '\src\Habbo.swf', __DIR__ . '\PRODUCTION-'.date("YmdHi").'-'.$milleSecond.'.swf');

echo "Completed ! " . date("i:s", $totalTime) . " 0." . substr(explode('.', $totalTime)[1], 0, 9);
2 changes: 1 addition & 1 deletion data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ _Str_7632 >
this._data = new _Str_6294(k);
return true;

_Str_9358 >
RoomAdErrorMessage >
this._errorCode = k.readInteger();
this._filteredText = k.readString();
return true;
Expand Down
2 changes: 1 addition & 1 deletion incoming.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Array
[1746] => _Str_7734
[1748] => _Str_8135
[1752] => _Str_7632
[1759] => _Str_9358
[1759] => RoomAdErrorMessage
[1774] => _Str_8069
[1778] => _Str_7849
[178] => _Str_4585
Expand Down
2 changes: 1 addition & 1 deletion src/ClientEnum.as
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
public static const CLIENT_INIT_ROOM_READY:String = "client.init.room.ready";
public static const CLIENT_INIT_CORE_FAIL:String = "client.init.core.fail";
}
}
}
7,163 changes: 8 additions & 7,155 deletions src/Habbo.as

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions src/binaryData/HabboToolbarCom_purse_xml.bin
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<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="52" height="55" params="3145728" style="0" name="purse_itemlist" height_max="62">
<itemlist_vertical x="7" y="19" width="110" 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">
<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="25" y="2" width="10" height="17" params="262160" style="3" name="diamond_count" caption="0" tags="%23icon">
<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"/>
Expand All @@ -21,7 +21,7 @@
<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">
<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"/>
Expand All @@ -34,9 +34,9 @@
<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">
<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="25" y="2" width="10" height="17" params="262160" style="3" name="credit_count" caption="0" tags="%23icon">
<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"/>
Expand All @@ -48,7 +48,7 @@
<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">
<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"/>
Expand All @@ -61,9 +61,9 @@
<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">
<region x="0" y="38" width="0" 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">
<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"/>
Expand All @@ -75,7 +75,7 @@
<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">
<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"/>
Expand All @@ -93,8 +93,8 @@
<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">
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@
{
messageLength = buffer.readInt();
}

if (messageLength < 2)// || (messageLength > MAX_DATA)))
{
throw (new Error(("Invalid message length " + messageLength)));
return null;//throw (new Error(("Invalid message length " + messageLength)));
}

if (buffer.bytesAvailable < messageLength)
{
buffer.position = readerIndex;
Expand Down
2 changes: 1 addition & 1 deletion src/com/sulake/habbo/advertisement/AdManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

private function _Str_24116(k:_Str_8332):void
{
var _local_2:_Str_7915 = k._Str_2273();
var _local_2:_Str_7915 = k.getParser();
if (((_local_2) && (_local_2._Str_24162)))
{
if (ExternalInterface.available)
Expand Down
2 changes: 1 addition & 1 deletion src/com/sulake/habbo/avatar/AvatarAssetDownloadManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
_local_8 = _local_6._Str_1020(_local_7);
if (_local_8)
{
for each (_local_9 in _local_8._Str_806)
for each (_local_9 in _local_8.parts)
{
_local_10 = ((_local_9.type + ":") + _local_9.id);
_local_11 = this._figureMap[_local_10];
Expand Down
12 changes: 6 additions & 6 deletions src/com/sulake/habbo/avatar/AvatarEditorMessageHandler.as
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
{
return;
}
var _local_4:_Str_6537 = k._Str_2273();
var _local_4:_Str_6537 = k.getParser();
if (_local_4._Str_3278 == ChangeNameUpdateEvent._Str_5797)
{
_local_3._Str_16320 = _local_4.name;
Expand Down Expand Up @@ -153,7 +153,7 @@
if (_local_2)
{
_local_2.effects.reset();
_local_2.figureData.avatarEffectType = k._Str_2273().type;
_local_2.figureData.avatarEffectType = k.getParser().type;
_local_2.figureData._Str_2491();
}
}
Expand All @@ -169,7 +169,7 @@
if (_local_2)
{
_local_2.effects.reset();
_local_3 = k._Str_2273().type;
_local_3 = k.getParser().type;
if (_local_2.figureData.avatarEffectType == _local_3)
{
_local_2.figureData.avatarEffectType = -1;
Expand All @@ -185,9 +185,9 @@
return;
}
var _local_2:HabboAvatarEditor = this._controller._Str_6435(AvatarEditorInstanceId._Str_3350);
if ((((_local_2) && (!(this._controller._Str_6647 == null))) && (k._Str_2273().userId == this._controller._Str_6647.roomSession._Str_3871)))
if ((((_local_2) && (!(this._controller._Str_6647 == null))) && (k.getParser().userId == this._controller._Str_6647.roomSession._Str_3871)))
{
_local_2.figureData.avatarEffectType = k._Str_2273()._Str_6815;
_local_2.figureData.avatarEffectType = k.getParser()._Str_6815;
_local_2.figureData._Str_2491();
}
}
Expand All @@ -201,7 +201,7 @@
var _local_2:HabboAvatarEditor = this._controller._Str_6435(AvatarEditorInstanceId._Str_3350);
if (_local_2)
{
_local_2.figureData.avatarEffectType = k._Str_2273().type;
_local_2.figureData.avatarEffectType = k.getParser().type;
_local_2.figureData._Str_2491();
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/com/sulake/habbo/avatar/AvatarStructure.as
Original file line number Diff line number Diff line change
Expand Up @@ -443,14 +443,14 @@
_local_32 = _local_30._Str_1020(_local_28);
if (_local_32)
{
_arg_6 = _arg_6.concat(_local_32._Str_790);
for each (_local_33 in _local_32._Str_806)
_arg_6 = _arg_6.concat(_local_32.hiddenLayers);
for each (_local_33 in _local_32.parts)
{
if (_local_16.indexOf(_local_33.type) > -1)
{
if (_local_15 != null)
{
_local_19 = _local_15._Str_989(_local_33.type);
_local_19 = _local_15.getPart(_local_33.type);
if (_local_19 != null)
{
_local_20 = _local_19.frames;
Expand Down Expand Up @@ -526,7 +526,7 @@
}
if (_local_15 != null)
{
_local_19 = _local_15._Str_989(_local_12);
_local_19 = _local_15.getPart(_local_12);
if (_local_19 != null)
{
_local_20 = _local_19.frames;
Expand Down Expand Up @@ -578,7 +578,7 @@
}
if (_local_15 != null)
{
_local_19 = _local_15._Str_989(_local_12);
_local_19 = _local_15.getPart(_local_12);
if (_local_19 != null)
{
_local_20 = _local_19.frames;
Expand Down
16 changes: 8 additions & 8 deletions src/com/sulake/habbo/avatar/HabboAvatarEditor.as
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
_local_12 = this._Str_24175();
for each (_local_13 in _local_9.colors)
{
if (((_local_13._Str_608) && ((_local_12) || (this.clubMemberLevel >= _local_13.clubLevel))))
if (((_local_13.isSelectable) && ((_local_12) || (this.clubMemberLevel >= _local_13.clubLevel))))
{
_local_20 = 0;
while (_local_20 < _Str_6331)
Expand Down Expand Up @@ -462,11 +462,11 @@
_local_28 = true;
}
}
if ((((_local_6._Str_608) && (_local_28)) && ((_local_12) || (this.clubMemberLevel >= _local_6.clubLevel))))
if ((((_local_6.isSelectable) && (_local_28)) && ((_local_12) || (this.clubMemberLevel >= _local_6.clubLevel))))
{
_local_29 = (this.clubMemberLevel < _local_6.clubLevel);
_local_30 = true;
if (_local_6._Str_651)
if (_local_6.isSellable)
{
_local_30 = (((this.manager.inventory) && (this._manager.inventory._Str_14439(_local_6.id))) || (this._Str_16064()));
}
Expand Down Expand Up @@ -565,7 +565,7 @@
_local_3 = this.getPalette(_local_2._Str_734);
for each (_local_4 in _local_3.colors)
{
if (((_local_4._Str_608) && (this.clubMemberLevel >= _local_4.clubLevel)))
if (((_local_4.isSelectable) && (this.clubMemberLevel >= _local_4.clubLevel)))
{
return _local_4.id;
}
Expand All @@ -578,8 +578,8 @@
{
var _local_3:Number = ((k.partSet == null) ? -1 : Number(k.partSet.clubLevel));
var _local_4:Number = ((_arg_2.partSet == null) ? -1 : Number(_arg_2.partSet.clubLevel));
var _local_5:Boolean = ((k.partSet == null) ? false : k.partSet._Str_651);
var _local_6:Boolean = ((_arg_2.partSet == null) ? false : _arg_2.partSet._Str_651);
var _local_5:Boolean = ((k.partSet == null) ? false : k.partSet.isSellable);
var _local_6:Boolean = ((_arg_2.partSet == null) ? false : _arg_2.partSet.isSellable);
if (((_local_5) && (!(_local_6))))
{
return 1;
Expand Down Expand Up @@ -611,8 +611,8 @@
{
var _local_3:Number = ((k.partSet == null) ? 9999999999 : Number(k.partSet.clubLevel));
var _local_4:Number = ((_arg_2.partSet == null) ? 9999999999 : Number(_arg_2.partSet.clubLevel));
var _local_5:Boolean = ((k.partSet == null) ? false : k.partSet._Str_651);
var _local_6:Boolean = ((_arg_2.partSet == null) ? false : _arg_2.partSet._Str_651);
var _local_5:Boolean = ((k.partSet == null) ? false : k.partSet.isSellable);
var _local_6:Boolean = ((_arg_2.partSet == null) ? false : _arg_2.partSet.isSellable);
if (((_local_5) && (!(_local_6))))
{
return 1;
Expand Down
10 changes: 5 additions & 5 deletions src/com/sulake/habbo/avatar/common/AvatarEditorGridPartItem.as
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
}
if (_arg_3 != null)
{
_local_8 = _arg_3._Str_806;
_local_8 = _arg_3.parts;
for each (_local_7 in _local_8)
{
this._Str_18982 = Math.max(this._Str_18982, _local_7._Str_827);
Expand Down Expand Up @@ -242,7 +242,7 @@
if (this._partSet)
{
_local_2.visible = (this._partSet.clubLevel > 0);
_local_3.visible = this._partSet._Str_651;
_local_3.visible = this._partSet.isSellable;
}
else
{
Expand Down Expand Up @@ -273,7 +273,7 @@
this._Str_6176 = null;
return false;
}
if ((((!(this.partSet)) || (!(this.partSet._Str_806))) || (this.partSet._Str_806.length == 0)))
if ((((!(this.partSet)) || (!(this.partSet.parts))) || (this.partSet.parts.length == 0)))
{
this._Str_6176 = null;
return false;
Expand All @@ -291,7 +291,7 @@
var _local_6:int;
var _local_7:Boolean;
var _local_8:Rectangle = new Rectangle();
for each (_local_2 in this.partSet._Str_806)
for each (_local_2 in this.partSet.parts)
{
if (_local_7)
{
Expand Down Expand Up @@ -369,7 +369,7 @@
k = new BitmapData(this._Str_6176.width, this._Str_6176.height, true, 0xFFFFFF);
var _local_6:int;
var _local_7:Boolean;
var _local_8:Array = this.partSet._Str_806.concat().sort(this._Str_25408);
var _local_8:Array = this.partSet.parts.concat().sort(this._Str_25408);
for each (_local_2 in _local_8)
{
_local_4 = null;
Expand Down
4 changes: 2 additions & 2 deletions src/com/sulake/habbo/avatar/common/AvatarEditorGridView.as
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
this._model = k;
this._categoryId = _arg_2;
this._partGrid._Str_3956();
if (_local_3._Str_806.length == 0)
if (_local_3.parts.length == 0)
{
this._title.visible = true;
this._notification.visible = true;
Expand All @@ -105,7 +105,7 @@
{
_local_4._Str_3956();
}
for each (_local_5 in _local_3._Str_806)
for each (_local_5 in _local_3.parts)
{
if (_local_5)
{
Expand Down
6 changes: 3 additions & 3 deletions src/com/sulake/habbo/avatar/common/CategoryData.as
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
return 0;
}

public function get _Str_806():Array
public function get parts():Array
{
return this._parts;
}
Expand Down Expand Up @@ -402,7 +402,7 @@
if (((!(_local_3 == null)) && (_local_3.partSet)))
{
_local_4 = _local_3.partSet;
if ((((!(_local_4 == null)) && (_local_4._Str_651)) && (!(k._Str_14439(_local_4.id)))))
if ((((!(_local_4 == null)) && (_local_4.isSellable)) && (!(k._Str_14439(_local_4.id)))))
{
_local_2 = true;
}
Expand Down Expand Up @@ -481,7 +481,7 @@
if (((_local_2) && (_local_2.partSet)))
{
_local_3 = _local_2.partSet;
if (((_local_3._Str_651) && (!(k._Str_14439(_local_3.id)))))
if (((_local_3.isSellable) && (!(k._Str_14439(_local_3.id)))))
{
_local_4 = this._Str_8066(0);
if (((!(_local_4 == null)) && (_local_4.partSet == null)))
Expand Down
2 changes: 1 addition & 1 deletion src/com/sulake/habbo/avatar/generic/BodyModel.as
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
_local_4._Str_20245(_local_2);
_local_4._Str_17669(_local_3);
for each (_local_5 in _local_4._Str_806)
for each (_local_5 in _local_4.parts)
{
_local_6 = _Str_2278.figureData.getFigureStringWithFace(_local_5.id);
_local_7 = _Str_2278.manager.avatarRenderManager.createAvatarImage(_local_6, AvatarScaleType.LARGE, null, this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
for each (_local_7 in _local_5)
{
_local_7.applyTransform(this._transformation);
_local_9 = _local_7._Str_1522(this._camera);
_local_9 = _local_7.getDistance(this._camera);
_local_6.push([_local_9, _local_7]);
}
_local_6.sort(this.orderByDistance);
Expand Down
Loading

0 comments on commit 8da8196

Please sign in to comment.