User Tag List

Page 2 of 6 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 59

Thread: Binary messages

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Jamie to be honest with you IF you will make the whole help file for Lacewing as general and as informative as this one you will steal our souls.

    It's the best freaking article about networking aspects of MMF which I saw from year 2000. Congratulations mate and hopefully you will finish the job.

  2. #12
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Quote Originally Posted by variant
    Just the part about sending and receiving strings with a stack.
    So, what exactly about sending and receiving strings with stack messages is confusing you?
    Working as fast as I can on Fusion 3

  3. #13
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Quote Originally Posted by Fanotherpg
    Jamie to be honest with you IF you will make the whole help file for Lacewing as general and as informative as this one you will steal our souls.

    It's the best freaking article about networking aspects of MMF which I saw from year 2000. Congratulations mate and hopefully you will finish the job.
    Aw, thanks

    Quote Originally Posted by variant
    Hi,

    Can anyone please post an example of sending a string with a stack, I get how to send the numbers, but the strings are confusing me.

    -Thanks, Variant
    If you ONLY want to send a string, you should use "Send text", not the stack messages.

    But let's say you want to send an integer followed by a string:

    As I said in the article, the easiest way to send a string in a stack is to leave the string to the end of the stack. So:

    Push integer 420
    Push string "Hello"

    Then you could, on the receiving end, use Integer("Lacewing", 0) to read the number 420, and String("Lacewing", 4, StackSize("Lacewing") - 4) for the string.

    We read it from the offset 4 because an integer is 4 bytes in size, and we just had one integer before the string. We also subtract 4 from the size of the stack for the length of the string for the same reason.

  4. #14
    No Products Registered

    Join Date
    Nov 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    I am sorry, I just cannot understand this without an example, please can someone post just a simple example of sending a string and integer with a stack I have tried multiple times, but I cannot seem to get it working.

    -Thanks, Variant

  5. #15
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    http://jamie.aquadasoft.com/StringStack.mfa

  6. #16
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Still this part about string was even a bit confusing for me variant, so don't worry.

  7. #17
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2007
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    The StringStack.mfa need the LacewingServer.mfx !

  8. #18
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=186342

  9. #19
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    NeoMonkey's Avatar
    Join Date
    Oct 2008
    Location
    Finland
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    How about sending file? I remember somebody said something about splitting files into 512kb and then sending them.

  10. #20
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Stack it byte by byte and send the stack when it reaches 512kb.

Page 2 of 6 FirstFirst 1 2 3 4 ... LastLast

Similar Threads

  1. RPG-like Text Messages
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th June 2012, 04:18 PM
  2. Help Messages
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th March 2011, 11:43 PM
  3. Sphax Messages Box
    By Jeff in forum Released Extensions
    Replies: 3
    Last Post: 9th April 2009, 11:14 AM
  4. Encrypting messages in Moo
    By Plooscva in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th February 2007, 12:49 PM
  5. Messages Box object - Bug
    By Gustav in forum File Archive
    Replies: 9
    Last Post: 26th November 2006, 04:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •