User Tag List

Results 1 to 6 of 6

Thread: Lacewing: scanning for existing channels?

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2007
    Location
    United States
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lacewing: scanning for existing channels?

    Lacewing does not have a "create channel" feature. Therefore, in my lobby, when I type in a game name and click "Host" when that channel already exists, I simply join the existing channel instead of making my own game. I use a list object to display a list of channels relevant to my game, so I know I can solve this problem. I just don't know which events or equations to use!

    >Slightly related, even if my game name is different and I have two instances of the application open, I will still join the same channel my other instance is in even though I clicked Host with a different game name. Why is this? Can I somehow check to see if my IP address is already connected to a server before deciding to allow or deny a connection? Can I tick an option to only allow one instance of my game to be open at a time?

  2. #2
    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: scanning for existing channels?

    FindString("channelList", edittext$("channelName"), 0) == -1

    FindString searches the list (first param) for the text (second param) using a flag (third param) and returns the line number. If it doesn't find it, it returns -1. Just use compare two general values.

    (Ps check out http://freedomain.co.nr - and if you don't want it you can atleast do http://doubleteam.awestruckdesign.com and it should redirect...)

  3. #3
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2007
    Location
    United States
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing: scanning for existing channels?

    Ricky, it doesn't redirect. Click that link yourself and you'll see. Unless of course you want to move the wordpress blog directly to index. Thanks for that equation, I'll give it a shot!

  4. #4
    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: scanning for existing channels?

    Quote Originally Posted by Jeod
    Unless of course you want to move the wordpress blog directly to index.
    That would make sense, wouldn't it? Of course, you could just have the .htaccess or the index php itself just redirect to that page.

  5. #5
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2007
    Location
    United States
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing: scanning for existing channels?

    Tested your list search fix and it works! Thank you Now there's one last thing:

    >Slightly related, even if my game name is different and I have two instances of the application open, I will still join the same channel my other instance is in even though I clicked Host with a different game name. Why is this? Can I somehow check to see if my IP address is already connected to a server before deciding to allow or deny a connection? Can I tick an option to only allow one instance of my game to be open at a time?

  6. #6
    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: scanning for existing channels?

    You could use an instance communicator object.

    To be honest, the best way of "hosting" and "joining" (being able to choose to create or join a channel) is to have a custom server. But this should also work as long as the list is constantly updated.

Similar Threads

  1. Non-existing direction
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th February 2014, 11:21 PM
  2. Can't join channels in Lacewing.
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 22nd August 2013, 07:52 PM
  3. Using existing code in a new app
    By soarerv8 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd January 2013, 05:02 AM
  4. converting existing games to ios
    By sinister in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 29th July 2011, 09:46 AM
  5. Editing of existing Samples
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd December 2010, 07:14 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
  •