Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Online Chatting Not Fully Working

    Help
    2
    3
    169
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GreeniWasTakenYT
      GreeniWasTakenYT last edited by

      Screenshot 2024-11-06 12.58.34 PM.png my online chatting system almost works. I don’t know how to fix the message sent twice on the right screen. can you help, please?

      when life give you toasters, make toasterade… something like that

      Tyller_ 1 Reply Last reply Reply Quote 0
      • Tyller_
        Tyller_ Best Forum Helpers @GreeniWasTakenYT last edited by Tyller_

        @s9205307-810c679a link pls

        edit: nvm the issue is you probably don’t check if you’re sending it to yourself, broadcast still goes to yourself, I handle it by not adding the message before it’s sent on the sender’s client, then I have the broadcast receive check if it’s the message it’s receiving is from itself, then I handle it

        TLDR for edit: broadcast still broadcasts to yourself

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        GreeniWasTakenYT 1 Reply Last reply Reply Quote 0
        • GreeniWasTakenYT
          GreeniWasTakenYT @Tyller_ last edited by GreeniWasTakenYT

          @tyller_ https://play.creaticode.com/projects/66e7487ab156734ad26fcf1c

          (edit): ok thanks!

          when life give you toasters, make toasterade… something like that

          1 Reply Last reply Reply Quote 0
          • First post
            Last post