User Tag List

Results 1 to 4 of 4

Thread: Prevent users from joining the channel

  1. #1
    No Products Registered

    Join Date
    Jan 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Prevent users from joining the channel

    I'd like to prevent users from joining the channel after a certain amount of players have entered?

    What would be the right Lacewing way of doing this?

    The way I see it now is that the channel master will check each new player against the total number. And if all player slots are filled, the channel master will send a message to any player that joins after the limit has been reached. Then the client reaction to this message will be automatic leave.

    I wonder if this can be done a bit more automatically?

    Thanks for any insight.

  2. #2
    No Products Registered

    Join Date
    Sep 2010
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Prevent users from joining the channel

    On the game frame:

    -Start of Frame
    +Lacewing.PeerCount > 8
    Lacewing.ChannelLeave
    Go to previous Frame

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Prevent users from joining the channel

    You'd be better off implementing this using a custom server, rather than having the client voluntarily leave.

  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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,952
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Re: Prevent users from joining the channel

    You can also include the channel max peers in the channel name. Then when they join they can check the current number of peers in that channel (use On Channel List Received, and the expression for peer count on the looped channel name).

Similar Threads

  1. prevent connection with lacewing...
    By Sevennemesis in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th December 2012, 06:45 AM
  2. How to prevent MS Outlook from being closed?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th April 2011, 04:21 PM
  3. Duplicate users on channel
    By madmac in forum Lacewing
    Replies: 3
    Last Post: 9th March 2011, 11:35 PM
  4. Replies: 2
    Last Post: 1st April 2010, 01:07 AM
  5. prevent resizing app ?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th August 2006, 10:34 AM

Posting Permissions

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