User Tag List

Results 1 to 5 of 5

Thread: [idea]Peer/Self Channel ID

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

    [idea]Peer/Self Channel ID

    It would be great to not only have a Server ID, but another ID per channel. The first person to join a channel would be 0, second 1, third 2, ect. This way, if we wanted to send a message specifically to the first few people to join, instead of making a complex system to detirmine and kep track of the IDs (which I am having to do), we could just use "Select Peer by Channel Peer ID" and then we have exactly the peer we want. EG if several people join and only the first 4 need to be players and the rest observers, it gets complicated trying to sort everything out.

    Also these IDs ould not reset or shift like the Server IDs do. If somone with ID3 leaves and then somone joins, they would nto be ID 3, but rather, ID 4, 5, or 6. They select an unused slot. This would mean we would need a "Peer with Channel Peer ID exists" condition.

    I would much appriciate it if this were implemented.
    Working as fast as I can on Fusion 3

  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: [idea]Peer/Self Channel ID

    Quote Originally Posted by LB
    Also these IDs ould not reset or shift like the Server IDs do. If somone with ID3 leaves and then somone joins, they would nto be ID 3, but rather, ID 4, 5, or 6. They select an unused slot. This would mean we would need a "Peer with Channel Peer ID exists" condition.
    This is a pretty bad design decision. What if the channel peer ID gets to over the size of a short?

    Generally, this issue should be solved with server code, not client code. If you still think solving it with client code is a good idea, you can probably use the order provided by channel peer loops in the Lacewing extension (since these should correspond to the list made in the server, at least with pylacewing).

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

    Re: [idea]Peer/Self Channel ID

    OK, I don't mind that it won't be done. I was just asking
    Working as fast as I can on Fusion 3

  4. #4
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [idea]Peer/Self Channel ID

    A peer can be on multiple channels, how do you refer to which one-self is in?

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

    Re: [idea]Peer/Self Channel ID

    By the currently selected channel, of course...
    Working as fast as I can on Fusion 3

Similar Threads

  1. Bounching Peer from Channel?
    By ZayLong in forum Lacewing
    Replies: 6
    Last Post: 14th April 2011, 07:46 AM
  2. "Peer in channel problem" from OINC forum
    By uncleswell in forum File Archive
    Replies: 12
    Last Post: 2nd March 2009, 07:49 PM
  3. "peer in channel" problem
    By uncleswell in forum Lacewing
    Replies: 6
    Last Post: 1st March 2009, 06:21 PM
  4. OINC Bug? Peer in Channel
    By Mayfly in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th February 2009, 11:06 AM
  5. OINC Localhost & Peer to Peer
    By Asholay in forum Lacewing
    Replies: 7
    Last Post: 9th December 2008, 07:24 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
  •