Im trying to add chat to my multiplayer game in uNet this is my code Howether only clients can send messages, when the server tries it does nothing but the debug line in the command fucntion says it was called?
Could someone please help, thank you!
Im trying to add chat to my multiplayer game in uNet this is my code Howether only clients can send messages, when the server tries it does nothing but the debug line in the command fucntion says it was called?
Could someone please help, thank you!
bump
You should post your code in the forum using CODE tags. No one is going to want to download your code to their computer from your link.
Its paste bin xD its in the browser
Never mind problem was resolbed heres some code to make a chat in uNet: uNet Chat Code - Pastebin.com
That doesn’t look like it’s being properly validated though. In your example, a hacker could obtain complete control over the chat log.
It’s better to send an incremental message by itself rather than a modified full history.