User Tag List

Results 1 to 8 of 8

Thread: Can't get peer count, always -1

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

    Can't get peer count, always -1

    Hi, I can't get peer count.

    what do I need to do? thanks.

  2. #2
    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)
    What runtime? Flash or Windows?

    Are you actually in a channel?

    What happens if you loop through peers?
    Working as fast as I can on Fusion 3

  3. #3
    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)
    Thanks, it seens that the way I am traying to implement it is wrong.

    I want the room name to show how many players there are on said room, but I always get "-1", it seens to be the case that I am not updating correctly?

    Any tip on how I can get a channel to show its name + room player/ capcity?

    Example: My Room (2/4)

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,822
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    The only 'tip' I know is to make sure you're connected to that channel.
    Then use "Channel -> Select by name" action, then use the "Channel Peer Count" expression.

    If you're using Bluewing, it will make an error if you select a channel you haven't joined yet. Lacewing will just ignore the failure and stay on the channel it was last on.
    During channel listing, there's a different expression, ChannelListing_PeerCount or something.

  5. #5
    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)
    Actually there is a separate expression for the number of peers in a channel being listed versus the number of peers in your current channel.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,822
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    I just said that.
    (╯░□░)╯︵ ┻━┻

  7. #7
    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)
    Oops, sorry Phi - I misread your post.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,822
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    mkay.
    ┬──┬ ノ(║_ ║ ノ)

Similar Threads

  1. Lacewing more than 1 peer
    By Shadeve in forum Fusion 2.5
    Replies: 17
    Last Post: 8th January 2015, 10:29 AM
  2. Newgrounds count vs. mochi count
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 20th September 2010, 08:37 PM
  3. Sending to peer bug
    By SEELE in forum Lacewing
    Replies: 2
    Last Post: 21st December 2008, 11:16 PM
  4. OINC Localhost & Peer to Peer
    By Asholay in forum Lacewing
    Replies: 7
    Last Post: 9th December 2008, 07:24 PM
  5. Peer to peer
    By Horn in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 14th December 2006, 05:20 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
  •