Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Updating Packets
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 382663" data-attributes="member: 36373"><p>Hey Devbest,</p><p></p><p>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.</p><p>[SPOILER="Code"]</p><p>[CODE]public const int GetGuestRoomResultMessageComposer = 887;[/CODE]</p><p>[CODE]_SafeStr_6354[887] = _SafeStr_2675;[/CODE]</p><p>[CODE]public class _SafeStr_2675 extends _SafeStr_2278 implements _SafeStr_2275</p><p> {</p><p></p><p> public function _SafeStr_2675(k:Function)</p><p> {</p><p> super(k, _SafeStr_2680);</p><p> }</p><p> public function _SafeStr_5339():_SafeStr_2680</p><p> {</p><p> return ((this._SafeStr_5340 as _SafeStr_2680));</p><p> }</p><p></p><p> }[/CODE]</p><p>[CODE]public class _SafeStr_2278 implements _SafeStr_2275</p><p> {</p><p></p><p> protected var _SafeStr_6019:Function;</p><p> protected var _SafeStr_6397:_SafeStr_2308;</p><p> private var _SafeStr_13357:Class;</p><p> protected var _SafeStr_5340:_SafeStr_2272;</p><p></p><p> public function _SafeStr_2278(k:Function, _arg_2:Class)</p><p> {</p><p> this._SafeStr_6019 = k;</p><p> this._SafeStr_13357 = _arg_2;</p><p> }</p><p> public function dispose():void</p><p> {</p><p> this._SafeStr_6019 = null;</p><p> this._SafeStr_13357 = null;</p><p> this._SafeStr_6397 = null;</p><p> this._SafeStr_5340 = null;</p><p> }</p><p> public function get callback():Function</p><p> {</p><p> return (this._SafeStr_6019);</p><p> }</p><p> public function set connection(k:_SafeStr_2308):void</p><p> {</p><p> this._SafeStr_6397 = k;</p><p> }</p><p> public function get connection():_SafeStr_2308</p><p> {</p><p> return (this._SafeStr_6397);</p><p> }</p><p> public function get _SafeStr_13356():Class</p><p> {</p><p> return (this._SafeStr_13357);</p><p> }</p><p> public function get parser():_SafeStr_2272</p><p> {</p><p> return (this._SafeStr_5340);</p><p> }</p><p> public function set parser(k:_SafeStr_2272):void</p><p> {</p><p> this._SafeStr_5340 = k;</p><p> }</p><p></p><p> }[/CODE]</p><p>[CODE] base.WriteBoolean(isLoading);</p><p> base.WriteInteger(Data.Id);</p><p> base.WriteString(Data.Name);</p><p> base.WriteInteger(Data.OwnerId);</p><p> base.WriteString(Data.OwnerName);</p><p> base.WriteInteger(RoomAccessUtility.GetRoomAccessPacketNum(Data.Access));</p><p> base.WriteInteger(Data.UsersNow);</p><p> base.WriteInteger(Data.UsersMax);</p><p> base.WriteString(Data.Description);</p><p> base.WriteInteger(Data.TradeSettings);</p><p> base.WriteInteger(Data.Score);</p><p> base.WriteInteger(0);//Top rated room rank.</p><p> base.WriteInteger(Data.Category);</p><p></p><p> base.WriteInteger(Data.Tags.Count);</p><p> foreach (string Tag in Data.Tags)</p><p> {</p><p> base.WriteString(Tag);</p><p> }</p><p></p><p> if (Data.Group != null && Data.Promotion != null)</p><p> {</p><p> base.WriteInteger(62);//What?</p><p></p><p> base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);</p><p> base.WriteString(Data.Group == null ? "" : Data.Group.Name);</p><p> base.WriteString(Data.Group == null ? "" : Data.Group.Badge);</p><p></p><p> base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");</p><p> base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");</p><p> base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);</p><p> }</p><p> else if (Data.Group != null && Data.Promotion == null)</p><p> {</p><p> base.WriteInteger(58);//What?</p><p> base.WriteInteger(Data.Group == null ? 0 : Data.Group.Id);</p><p> base.WriteString(Data.Group == null ? "" : Data.Group.Name);</p><p> base.WriteString(Data.Group == null ? "" : Data.Group.Badge);</p><p> }</p><p> else if (Data.Group == null && Data.Promotion != null)</p><p> {</p><p> base.WriteInteger(60);//What?</p><p> base.WriteString(Data.Promotion != null ? Data.Promotion.Name : "");</p><p> base.WriteString(Data.Promotion != null ? Data.Promotion.Description : "");</p><p> base.WriteInteger(Data.Promotion != null ? Data.Promotion.MinutesLeft : 0);</p><p> }</p><p> else</p><p> {</p><p> base.WriteInteger(56);//What?</p><p> }</p><p></p><p></p><p> base.WriteBoolean(checkEntry);</p><p> base.WriteBoolean(false);</p><p> base.WriteBoolean(false);</p><p> base.WriteBoolean(false);</p><p></p><p> base.WriteInteger(Data.WhoCanMute);</p><p> base.WriteInteger(Data.WhoCanKick);</p><p> base.WriteInteger(Data.WhoCanBan);</p><p></p><p> base.WriteBoolean(Session.GetHabbo().GetPermissions().HasRight("mod_tool") || Data.OwnerName == Session.GetHabbo().Username);//Room muting.</p><p> base.WriteInteger(Data.chatMode);</p><p> base.WriteInteger(Data.chatSize);</p><p> base.WriteInteger(Data.chatSpeed);</p><p> base.WriteInteger(Data.extraFlood);//Hearing distance</p><p> base.WriteInteger(Data.chatDistance);//Flood!![/CODE]</p><p>[/SPOILER]</p><p>Any help would be VERY appreciated <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> Thank You!</p></blockquote><p></p>
[QUOTE="JayC, post: 382663, member: 36373"] 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. [SPOILER="Code"] [CODE]public const int GetGuestRoomResultMessageComposer = 887;[/CODE] [CODE]_SafeStr_6354[887] = _SafeStr_2675;[/CODE] [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] [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] [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!![/CODE] [/SPOILER] Any help would be VERY appreciated :) Thank You! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Updating Packets
Top