User Tag List

Results 1 to 7 of 7

Thread: Get Self ID [Feature Request]

  1. #1
    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)

    Get Self ID [Feature Request]

    This was first suggested by, of all people, dragonguy, and I would just bump his thread if it hadn't gone very off topic.

    I've been writing a Python server, and when a player is initialized on the server, the ID of the player and the string "init" is sent to each player. Now, I need a way of distinguishing whether the ID being sent is the ID belonging to that the player or belonging to a peer, hence a get self ID. If it belongs to the player who joined the game, then they are accepted onto the server and their own player object is created, and if it belongs to a peer, then a peer object is created.

    I could have a work around where the server sends the player name instead of the player ID, but I'd rather send an Int rather than a String.

    I hope this post is clear, "get Self ID" is very much needed.

    Thanks.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module
    Fusion 2.5 (Steam)
    Mathias's Avatar
    Join Date
    Jun 2006
    Location
    Copenhagen, Denmark
    Posts
    1,083
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Self ID [Feature Request]

    This is perfectly possible to implement

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Get Self ID [Feature Request]

    It shall be done in the next release.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Get Self ID [Feature Request]

    To quote Jamie on MSN: "Why would you need that?" :P

  5. #5
    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: Get Self ID [Feature Request]

    If a server sends a message; something like;

    "0,moveRight|1,moveRight|2,moveLeft|3,jump"

    Where the first part is the player ID and the second part is the command. The client needs to know whether that ID is their own, or a peer's, so it can loop through them. At the moment, my server uses player names instead of player IDs, and the string is twice the length.

    I'm confused as to why you would think it isn't needed.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  6. #6
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Get Self ID [Feature Request]

    Haha, sorry, my post was just made to blame that Jamie guy. :P
    I wanted this feature, too, but then Jamie asked why you'd need that.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Get Self ID [Feature Request]

    Yes, that Jamie guy is a pain.

    In other news, I'm working on it.

Similar Threads

  1. Feature Request
    By Pineapple in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th December 2013, 08:34 PM
  2. Feature Request.
    By Renatos in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th February 2008, 10:15 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
  •