Search found 3 matches
- Fri Oct 18, 2024 8:42 pm
- Forum: Support and Development
- Topic: Can you make love not crash when waiting for input?
- Replies: 7
- Views: 1211
Re: Can you make love not crash when waiting for input?
when i turn on timeout the window just crashes, not errors. I want to make it so that the program will only proceed after receiving the response without the game crashing. I don't understand. Then again why turn on timeout? By default receive() will block indefinitely until it receives something, a...
- Fri Oct 18, 2024 7:34 pm
- Forum: Support and Development
- Topic: Can you make love not crash when waiting for input?
- Replies: 7
- Views: 1211
Re: Can you make love not crash when waiting for input?
when i turn on timeout the window just crashes, not errors. I want to make it so that the program will only proceed after receiving the response without the game crashing.
- Fri Oct 18, 2024 10:58 am
- Forum: Support and Development
- Topic: Can you make love not crash when waiting for input?
- Replies: 7
- Views: 1211
Can you make love not crash when waiting for input?
I'm making a multiplayer game, and I have a call function that sends a message to the server, and then waits for a response (Because of udp:settimeout(1)). function call(c) udp:send(c) local val = udp:receive() return val end Is there a way to make love not crash while waiting, but just freeze?