network engine

Introduce your project and write about your work.

Moderator: PPS-Leaders

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Post by x3n » Tue Dec 04, 2007 9:26 pm

I never used something like that, but it seems like you've found a solution, so: Well done :)

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Post by greenman » Tue Dec 04, 2007 9:34 pm

Altough we solved this problem now (had to put operator< into namespace std), we are confronted with another question now:
Which compression library to take.
Does anyone know an efficient and very fast library for compression of bytestreams?

edit: I think we'll go for zlib, as it's used by gzip, which is really widespread and used.

User avatar
patrick
Baron Vladimir Harkonnen
Posts: 350
Joined: Mon Oct 02, 2006 6:03 pm
Location: Bern

Post by patrick » Thu Dec 13, 2007 2:02 pm

Yes, go for zlib. It's fast and stable.

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Post by greenman » Mon Dec 17, 2007 10:21 am

Status update:
- Compression, diff and gamestate handling is implemented now (not tested yet, because we can't :( )
- Implemented a class BaseEntity which is synchronisable and implements a simple ogre entity with a mesh.

Greets!

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Post by 1337 » Tue Dec 18, 2007 6:12 pm

I have got a question on a big problem I'm experiencing since yesterday, and I think it has something to do with the network:

My laptop can only deliver my a slideshow with about 4 Pictures per Second. And the performance surely isn't the problem.

Probably something with windows. I already substituted usleep(10) with usleep(1000) in Orxonox.cc because usleep(x) --> Sleep(x/1000) under Windows. And 10/1000 = 0. But that wasn't it.

What could it possibly be?
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

chrigi
Human Space Navy Major
Posts: 40
Joined: Tue Oct 24, 2006 5:52 pm
Contact:

Post by chrigi » Tue Dec 18, 2007 10:14 pm

Gprof, or the kde app kprof might help to find out where the program spends his time.

http://www2.inf.fh-bonn-rhein-sieg.de/~ ... _gprof.pdf

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests