User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Lacewing BETA #9

  1. #11
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Lacewing BETA #9

    Here's something Villy and I made with the Lacewing beta #9 C++ library - http://webdeling.aquadasoft.com

  2. #12
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing BETA #9

    Wow Webdeling is cool

    In response to what dave26 said I think some sort of "Channel Master" feature would be very useful. I completely understand that the architecture of Lacewing is very different to that of the MooApi, however it would still be incredibly useful to know which user was the first to join a channel and therefore give them some small responsibility.

    Take for example an IRC channel. The first user to join a channel (thus creating it) immediately becomes the admin and whoever joins next becomes a normal user.

    A "Channel Master" feature would be useful in this situation.

  3. #13
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing BETA #9

    True, although this could essentially be done in coding, it would be extremely helpful to have built in.

  4. #14
    No Products Registered

    Join Date
    Dec 2008
    Location
    Nebraska, USA
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing BETA #9

    I don't think you could code Channel Masters in MMF2 because different applications will not recognize such things.

  5. #15
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing BETA #9

    RickyRombo - Could you give me an example of how to code it in MMF? I was thinking of a few different ways but they all had flaws.

    My first idea was to do a normal peer loop, and if returns no peers then you are the master. However weird things could happen where players could both join at exactly the same time, or lag could cause a player to think that they are the first one in when they are in fact not. Also when someone leaves, how do you tell who was the next person in?

    I didn't look too closely at the Client IDs but could they be used to check who is the firs to join a channel? I couldn't work out how they were generated. Sometimes I would get a new ID and sometimes I would get the same ID when joining a server.

  6. #16
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing BETA #9

    Well you are right, there are some ways it could be flawed, but the way I did it, in an "On Peer Connect", check how many peers there are, and if there is just one, then you are the master. I've also done message sending, eg. when you join you send "here". On the other user's end, if they receive they send back "ditto". If you receive no "ditto"s you are the channel master.

    And yet another way is to limit what channels, or "chatrooms", you can join based on whether they've been created. In other words, a separate "Create chat" screen that checks to see (via "List Channels") if the channel you want to make doesn't already exist, then lets you join. If you want to join, it has to be on the Channel list.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Lacewing BETA #10
    By James in forum Lacewing
    Replies: 18
    Last Post: 12th March 2010, 10:12 PM
  2. Lacewing BETA #5
    By James in forum Lacewing
    Replies: 52
    Last Post: 2nd January 2010, 10:46 AM
  3. Lacewing BETA #4
    By James in forum Lacewing
    Replies: 3
    Last Post: 14th November 2009, 10:20 PM
  4. Lacewing BETA #2
    By James in forum Lacewing
    Replies: 10
    Last Post: 29th October 2009, 01:50 AM
  5. Lacewing BETA
    By James in forum Lacewing
    Replies: 50
    Last Post: 27th October 2009, 03:40 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
  •