JayC
Well-Known Member
Hey Devbest,
So I am trying to update to the newest SWF I got most of it updated here but I am having an issue with loading rooms. Here's what I got.
Any help would be VERY appreciated Thank You!
So I am trying to update to the newest SWF I got most of it updated here but I am having an issue with loading rooms. Here's what I got.
Code:
public const int GetGuestRoomResultMessageComposer = 887;
Code:
_SafeStr_6354[887] = _SafeStr_2675;
Code:
public class _SafeStr_2675 extends _SafeStr_2278 implements _SafeStr_2275
{
public function _SafeStr_2675(k:Function)
{
super(k, _SafeStr_2680);
}
public function _SafeStr_5339():_SafeStr_2680
{
return ((this._SafeStr_5340 as _SafeStr_2680));
}
}
Code:
public class _SafeStr_2278 implements _SafeStr_2275
{
protected var _SafeStr_6019:Function;
protected var _SafeStr_6397:_SafeStr_2308;
private var _SafeStr_13357:Class;
protected var _SafeStr_5340:_SafeStr_2272;
public function _SafeStr_2278(k:Function, _arg_2:Class)
{
this._SafeStr_6019 = k;
this._SafeStr_13357 = _arg_2;
}
public function dispose():void
{
this._SafeStr_6019 = null;
this._SafeStr_13357 = null;
this._SafeStr_6397 = null;
this._SafeStr_5340 = null;
}
public function get callback():Function
{
return (this._SafeStr_6019);
}
public function set connection(k:_SafeStr_2308):void
{
this._SafeStr_6397 = k;
}
public function get connection():_SafeStr_2308
{
return (this._SafeStr_6397);
}
public function get _SafeStr_13356():Class
{
return (this._SafeStr_13357);
}
public function get parser():_SafeStr_2272
{
return (this._SafeStr_5340);
}
public function set parser(k:_SafeStr_2272):void
{
this._SafeStr_5340 = k;
}
}
Code:
base.WriteBoolean(isLoading);
base.WriteInteger(Data.Id);
base.WriteString(Data.Name);
base.WriteInteger(Data.OwnerId);
base.WriteString(Data.OwnerName);
base.WriteInteger(RoomAccessUtility.GetRoomAccessPacketNum(Data.Access));
base.WriteInteger(Data.UsersNow);
base.WriteInteger(Data.UsersMax);
base.WriteString(Data.Description);
base.WriteInteger(Data.TradeSettings);
base.WriteInteger(Data.Score);
base.WriteInteger(0);//Top rated room rank.
base.WriteInteger(Data.Category);
base.WriteInteger(Data.Tags.Count);
foreach (string Tag in Data.Tags)
{
base.WriteString(Tag);
}
if (Data.Group != null && Data.Promotion != null)
{
base.WriteInteger(62);//What?
base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);
base.WriteString(Data.Group == null ? "" : Data.Group.Name);
base.WriteString(Data.Group == null ? "" : Data.Group.Badge);
base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");
base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");
base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);
}
else if (Data.Group != null && Data.Promotion == null)
{
base.WriteInteger(58);//What?
base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);
base.WriteString(Data.Group == null ? "" : Data.Group.Name);
base.WriteString(Data.Group == null ? "" : Data.Group.Badge);
}
else if (Data.Group == null && Data.Promotion != null)
{
base.WriteInteger(60);//What?
base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");
base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");
base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);
}
else
{
base.WriteInteger(56);//What?
}
base.WriteBoolean(checkEntry);
base.WriteBoolean(false);
base.WriteBoolean(false);
base.WriteBoolean(false);
base.WriteInteger(Data.WhoCanMute);
base.WriteInteger(Data.WhoCanKick);
base.WriteInteger(Data.WhoCanBan);
base.WriteBoolean(Session.GetHabbo().GetPermissions().HasRight("mod_tool") || Data.OwnerName == Session.GetHabbo().Username);//Room muting.
base.WriteInteger(Data.chatMode);
base.WriteInteger(Data.chatSize);
base.WriteInteger(Data.chatSpeed);
base.WriteInteger(Data.extraFlood);//Hearing distance
base.WriteInteger(Data.chatDistance);//Flood!!