Hi, first time posting on the forum
I am learning how to use LUBE and I have created a clientside and serverside so far which connects to eachother and exchanges information.
But the problem is that after not doing anything in the clientside part for 10 sec or so, the server runs the disconnect callback.
Even though it runs the disconnect callback the client is still connected which can be seen since it still sends data to the server.
I want to know what is causing it and how I can fix it(if possible).
I have uploaded the serverside and clientside.
Thanks in advance
[SOLVED] LUBE server disconnect callback by unknown reason
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- reindeernix
- Prole
- Posts: 2
- Joined: Sun Jul 14, 2013 3:48 am
[SOLVED] LUBE server disconnect callback by unknown reason
- Attachments
-
- movementtestclient.love
- The whole clientside program is inside main.lua and the libraries are lying besides the file.
- (10.28 KiB) Downloaded 68 times
-
- movementtestserver.love
- The disconnect callback can be found in main.lua where everything is except the libraries.
- (9.83 KiB) Downloaded 66 times
Last edited by reindeernix on Sun Jul 14, 2013 6:17 pm, edited 1 time in total.
Re: LUBE serverside runs disconnect callback by unknown reas
Failure to respond to servers' ping causes disconnection, according to the LUBE manual.
- reindeernix
- Prole
- Posts: 2
- Joined: Sun Jul 14, 2013 3:48 am
Re: LUBE serverside runs disconnect callback by unknown reas
Thanks raid, I made it work by making the client ping every 3 seconds and the server ping every 9 secondsraidho36 wrote:Failure to respond to servers' ping causes disconnection, according to the LUBE manual.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 4 guests