User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32

Thread: Multiple OINC Instances

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Multiple OINC Instances

    Greetings,

    For my game, I'm using 1 frame for the main game. This space game has hundreds of sectors. If you're in Sector 1, the CHANNEL name is Sector 1. If you're in Sector 200, the CHANNEL name is Sector 200. When you warp from one sector to another, I set a global string to the sector name, then, restart the frame, thereby re-connecting to the server and joining channel (sector) was stored in the global string.

    THIS WORKS GREAT!

    The problem I'm having is that I want to allow chat between sectors.

    So, I created a 2nd instance of the OINC extension and have that instance always join a channel called "CHAT".

    When the game starts up, the chat works. Players who each just started the game can all chat using this 2nd OINC instance.

    BUT (and its a big one!)...

    As soon as the player re-starts the frame because he warped to a different sector, the 2nd instance of OINC stops working.

    I've been banging my head against this all day, with no luck.

    An interesting note... if the 2nd instance is there, I can't connect either of them.

    I know we're still in development, but is this a bug, or should I be going about this some other way?

  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: Multiple OINC Instances

    Why do you need a second instance...?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiple OINC Instances

    I need a second instance to connect to and remain connected to a separate channel.

    Can one instance be connected to more than one channel at once?

  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: Multiple OINC Instances

    I'm not sure. Sorry... maybe instead you should use "send to server" for chat?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiple OINC Instances

    There's an idea...

    I'll try that, thanks RR

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiple OINC Instances

    Apparently, that won't work either. I suspect that is because the server must be prepared to receive the message and know what to do with it.


  7. #7
    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: Multiple OINC Instances

    I'm out of ideas. It usually works for me. Did you get rid of the other instance and try it?

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiple OINC Instances

    You've used server messages?

    If so, I'll try again. I may be just too burned out tonight.

  9. #9
    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: Multiple OINC Instances

    It might not work if your using a public server I guess?

  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Multiple OINC Instances

    Yes, you can connect to multiple channels with one OINC object.. if you create two, they will become the same object (as OINC is global) and things will break.

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Multiple instances
    By Windybeard in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2012, 02:20 PM
  2. Dead Reckoning and Multiple Instances
    By Jeod in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th February 2011, 05:26 PM
  3. multiple instances spawning at multiple places
    By CPW in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 22nd February 2009, 01:38 AM
  4. Multiple instances of app.
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 16th April 2008, 05:03 AM
  5. Multiple Instances of Object glitch
    By JimJam in forum File Archive
    Replies: 10
    Last Post: 5th March 2008, 12:44 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
  •