User Tag List

Results 1 to 4 of 4

Thread: Odd problem with OINC

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Location
    United States
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Odd problem with OINC

    After taking all of the OINC tutorials, I decided I would try to make a "tank" engine. All it's supposed to do in it's current form is make you create the body of the tank when you are the only one in the channel, and the gun part of the tank when there is someone else. I used the "Peer is in channel" event for this, but as soon as I attempt to connect, it crashes. Any ideas?

    Here's the source: OINC Tank

  2. #2
    No Products Registered

    Join Date
    Jul 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Odd problem with OINC

    Peer is in channel doesn't work, you need to use Loop peers. Have you seen the tutorial? http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=128853#Post1288 53

  3. #3
    No Products Registered

    Join Date
    Feb 2009
    Location
    United States
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Odd problem with OINC

    Ah, ok. Yes, I have looked at the tutorial. I assume you would have the loops trigger a changing to a flag which would decide which part you spawn as, like this:

    -On Sign On
    Loop through peers

    -On Peer Loop
    Set flag 1 on

    -On peer looping finished
    -Flag 1 is on
    Create "gun" at 150, 150

    -On peer looping finished
    -Flag 1 is off
    Create "base" at 150, 150

    Does that look right?
    (when looking at that, please know that for now I am not trying to have them interact, I am only trying to have the client decide what part of the tank you are supposed to be on a certain channel)

  4. #4
    No Products Registered

    Join Date
    Feb 2009
    Location
    United States
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Odd problem with OINC

    yes, that works, thank you.

Similar Threads

  1. OINC problem with custom identification server
    By Corentin in forum Lacewing
    Replies: 3
    Last Post: 27th September 2009, 12:07 PM
  2. Thanks for OINC
    By Tuna in forum Lacewing
    Replies: 21
    Last Post: 1st July 2009, 10:24 AM
  3. "Peer in channel problem" from OINC forum
    By uncleswell in forum File Archive
    Replies: 12
    Last Post: 2nd March 2009, 07:49 PM
  4. OINC problem
    By uncleswell in forum File Archive
    Replies: 7
    Last Post: 10th January 2009, 04:37 PM
  5. OINC IRC?
    By DragonMC in forum Lacewing
    Replies: 6
    Last Post: 12th December 2008, 06:04 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
  •