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
How does the emulator communicate with the swfs?
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="Synt4x" data-source="post: 378085" data-attributes="member: 65632"><p>Yeah, that's exactly how I was trying to find it. I couldn't find any tutorials about outgoing, so I had a fiddle with the tutorial that Sledmore wrote about incoming and see if I could try to work it out myself. </p><p></p><p>[CODE] public class CallForHelpPendingCallsMessageParser implements _SafeStr_2261</p><p> {</p><p></p><p> private var _SafeStr_8459:Array;</p><p></p><p> public function CallForHelpPendingCallsMessageParser()</p><p> {</p><p> this._SafeStr_8459 = new Array();</p><p> super();</p><p> }</p><p></p><p> public function get _SafeStr_8460():Array</p><p> {</p><p> return (this._SafeStr_8459);</p><p> }</p><p></p><p> public function get _SafeStr_8461():int</p><p> {</p><p> return (this._SafeStr_8459.length);</p><p> }</p><p></p><p> public function flush():Boolean</p><p> {</p><p> this._SafeStr_8459 = new Array();</p><p> return (true);</p><p> }</p><p></p><p> public function parse(k:_SafeStr_2699):Boolean</p><p> {</p><p> var _local_3:int;</p><p> var _local_4:Object;</p><p> this._SafeStr_8459 = new Array();</p><p> var _local_2:int = k._SafeStr_5287();</p><p> while (_local_3 < _local_2)</p><p> {</p><p> _local_4 = new Object();</p><p> _local_4.callId = k.readString();</p><p> _local_4.timeStamp = k.readString();</p><p> _local_4.message = k.readString();</p><p> this._SafeStr_8459.push(_local_4);</p><p> _local_3++;</p><p> };</p><p> return (true);</p><p> }</p><p> }[/CODE]</p><p></p><p>So, with finding that class now - where does it define that it needs an integer and a string? I presume that MOTDNotificationComposer is sending out the CallID and the message, but why not timestamp? Sorry for the mass questions, just trying to get a decent understanding of this. <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> Thanks for the help.</p></blockquote><p></p>
[QUOTE="Synt4x, post: 378085, member: 65632"] Yeah, that's exactly how I was trying to find it. I couldn't find any tutorials about outgoing, so I had a fiddle with the tutorial that Sledmore wrote about incoming and see if I could try to work it out myself. [CODE] public class CallForHelpPendingCallsMessageParser implements _SafeStr_2261 { private var _SafeStr_8459:Array; public function CallForHelpPendingCallsMessageParser() { this._SafeStr_8459 = new Array(); super(); } public function get _SafeStr_8460():Array { return (this._SafeStr_8459); } public function get _SafeStr_8461():int { return (this._SafeStr_8459.length); } public function flush():Boolean { this._SafeStr_8459 = new Array(); return (true); } public function parse(k:_SafeStr_2699):Boolean { var _local_3:int; var _local_4:Object; this._SafeStr_8459 = new Array(); var _local_2:int = k._SafeStr_5287(); while (_local_3 < _local_2) { _local_4 = new Object(); _local_4.callId = k.readString(); _local_4.timeStamp = k.readString(); _local_4.message = k.readString(); this._SafeStr_8459.push(_local_4); _local_3++; }; return (true); } }[/CODE] So, with finding that class now - where does it define that it needs an integer and a string? I presume that MOTDNotificationComposer is sending out the CallID and the message, but why not timestamp? Sorry for the mass questions, just trying to get a decent understanding of this. :) Thanks for the help. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
How does the emulator communicate with the swfs?
Top