Server issues

Posted by Lapixx on Nov. 24, 2007, 4:53 a.m.

Hi, as I'm working on the Online version of Special Cube Force (SCF), I'm dealing with some problems: Everything works fine with 39dll. I let some clients host, and everything just works. But sometimes the Server program just crashes, and the problem is, that it crashes at random moments: Sometimes when a player Joins (a 3th one, not the 1000th one), sometimes when a player lefts, and sometimes, when actually nothing happens, but when I'm just walking.

I don't know what the problem is, I made it with help of the Kirby Online Example, and that works just fine. Maybee some of you are familiar with this?

Or is the KO Example not ok?

(there are infinite loops, for the receiving of messages, but they break when they don't receive anything. I saw that loads of examples do this, and it doesn't help when I remove it)

Anyways, I gonna play Timeshift now (quite cool). Cya!

Comments

hogofwar 16 years, 5 months ago

use blaxun's 39dll almost unlimited clients example

Lapixx 16 years, 5 months ago

Hmm, I'll take a look at that… BTW I noticed that I get like 10 TCP connections per minute when I accept everything in the server program. Is that normal? :S

Lapixx 16 years, 5 months ago

Lolz, I turned on the Nagle algorithm and now I don't have a crash anymore… Didn't thought that set_nagle was necessary…

Anyway, *SOLVED* (I assume…)