User Tag List

Page 6 of 6 FirstFirst ... 4 5 6
Results 51 to 59 of 59

Thread: Binary messages

  1. #51
    Clicker Multimedia Fusion 2
    Greg's Avatar
    Join Date
    Dec 2006
    Location
    Poland
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Dynasoft, your solution works, but only if the string is the only thing I send in the stack. I need to send it along with some char and short values.

    EDIT:
    Nvm, I've already figured it out! Thanks!

  2. #52
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Jamie,

    Could you post an example of how to send a file using lacewing. I tried doing it, and I get the file, but the file that is sent returns 0 kb with no data.

    I am confused about position and size.

  3. #53
    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

    Position is the position in the stack, which normally is 0 if you are only sending file data, and the size you can get via an expression to get the size of the stack. The easiest thing to do is to create the file with the File Object, then use Lacewing's Append Stack to File action. You can send large files in small chunks, too, which should be some simple math
    Working as fast as I can on Fusion 3

  4. #54
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    LB, thanks man.

    I will try it out and see if it works. But now it makes sense to me.

    -Mike

  5. #55
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Hello,

    I have a very strange bug.

    I try to send (X,Y) to the channel via Stacks, but when the other client received the stack, X is set correctly but Y takes a strange value.


  6. #56
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    You are reading the short from 1, when really it is at 2. A short has two bytes worth of data. Just change the second parameter to two, where you are changing the Y position, and it should work fine.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  7. #57
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Thank you it works fine.

    Can you explain me why "A short has two bytes worth of data" ?

    Edit : I understood Thanks !!!

  8. #58
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Stack messages

    Jamie, thanks for this! Since Flash isn't capable of UDP, stacks will help quite a bit (I hope!).

  9. #59
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That really helped.

    It would be nice if the tutorial could be updated. The whole "push" thing confused mein the start.

Page 6 of 6 FirstFirst ... 4 5 6

Similar Threads

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