56 Commits

Author SHA1 Message Date
Uriziel
6157fdff48 Seek bug 2012-09-30 22:16:22 +02:00
Uriziel
c0d860987c Seek bug and rewind bug 2012-09-30 21:43:47 +02:00
Uriziel
342ee3651d Because python 2.6 2012-09-30 20:42:49 +02:00
Uriziel
4d38279d37 added printing messages on server 2012-09-30 20:35:37 +02:00
Uriziel
4b1d0971a8 Who's lagging behind fix 2012-09-30 17:15:36 +02:00
Uriziel
9c3151145a Comment removed 2012-09-29 00:53:47 +02:00
Uriziel
fd70328009 Refactoring 2012-09-29 00:53:28 +02:00
Uriziel
7ff433304b Minor updates and refactoring 2012-09-28 17:08:36 +02:00
Uriziel
cf2efefa24 unused import 2012-09-27 00:15:13 +02:00
Uriziel
3f9bc25b30 Added name of lagging watcher in rewind
Some refactoring
2012-09-27 00:15:02 +02:00
Uriziel
2dbd814fa4 Updated room command
room cmd now defaults to filename
server now allows more characters in room names
2012-09-24 13:39:35 +02:00
Uriziel
aad15b6f5f Added checking file's size and duration 2012-09-22 03:15:05 +02:00
Uriziel
873bd4302b room switch fix 2012-09-18 21:44:31 +02:00
Uriziel
6f9d0f8903 typo fix 2012-09-18 21:37:49 +02:00
Uriziel
549b16cb2a Fix on room changing 2012-09-18 13:19:33 +02:00
Uriziel
698fba9054 Added server password
Added server argument parser
Added isolated rooms
Added more verbose server settings
Added configurable default room for client and server
2012-09-18 13:08:48 +02:00
Uriziel
a636fd4176 das 2012-09-17 22:12:54 +02:00
Uriziel
47d013fbc2 Fixing new version 2012-09-17 21:50:38 +02:00
Uriziel
09fc738cc3 Upgraded server file to new protocol idea 2012-09-17 21:19:58 +02:00
Uriziel
4a5462dcae pause lock value increased 2012-09-17 20:35:15 +02:00
Uriziel
9564c87fd7 Enhanced error message 2012-09-17 20:32:59 +02:00
Uriziel
c872ec6ad0 Refactoring 2012-08-16 17:54:26 +02:00
Uriziel
777a3a66f0 Better fix for division by 0 problem 2012-06-29 16:22:09 +02:00
Uriziel
462fbac614 Fixing division by 0 exception 2012-06-29 16:17:51 +02:00
Uriziel
a99f7fb241 New... everything 2012-06-26 18:19:27 +02:00
Uriziel
7b5adc9c05 Improved removing watchers
Added 8 sec idle time removal
2012-06-23 17:46:41 +02:00
Uriziel
8df1894524 Added rooms, removed debug prints 2012-06-23 17:31:55 +02:00
Uriziel
f6e6cad1a6 Code a bit more readable, protocol standarized a bit, added better name
handling on server
2012-06-23 15:30:16 +02:00
Tomasz Fluxid Kowalczyk
1705647ddd Fixed race conditions between clients on high latency connections
This works, but code craves for a huge cleanup and refactoring.
2012-02-18 22:08:38 +01:00
Tomasz Fluxid Kowalczyk
d0e23f9b0e Changed protocol, now we're sending timestamps.
Now client gets more precise positions, and lagged packets/latency
spikes shouldn't now cause synching problems. Syncing should be a bit
more precise now in general, when seeking/joining to playing session.
2012-02-18 16:07:12 +01:00
Tomasz Fluxid Kowalczyk
b428ee1983 Added pretty useless feature: change nick if it`s duplicate 2012-02-15 21:09:50 +01:00
Tomasz Fluxid Kowalczyk
caaa176247 Drop client after 1 minute of not responding for pings 2012-02-15 20:37:58 +01:00
Tomasz Fluxid Kowalczyk
4e8cd4b6b3 Allow more than one "last ping", this should make stuff better on worse connections 2012-02-15 20:27:34 +01:00
Tomasz Fluxid Kowalczyk
bccbda23b7 Schedule next ping immediately after sending one 2012-02-15 19:49:01 +01:00
Tomasz Fluxid Kowalczyk
1e23e98d78 Calculate clock offset within 20 first pings and then freeze it 2012-02-15 19:45:05 +01:00
Tomasz Fluxid Kowalczyk
e25ba023ed Add simple client clock offset calculating logic 2012-02-11 14:47:41 +01:00
Tomasz Fluxid Kowalczyk
1b7a9984f9 Fix UnboundLocalError in server 2012-02-05 22:30:27 +01:00
Tomasz Fluxid Kowalczyk
35b1288b79 Add ping to seek position 2012-02-05 14:47:48 +01:00
Tomasz Fluxid Kowalczyk
41a9448597 Implemented seek, allowed only slowdown in fine-synchro 2012-02-04 21:13:33 +01:00
Tomasz Fluxid Kowalczyk
3c0b8154ac Show joins, lefts, and present people after join 2012-02-04 18:07:54 +01:00
Tomasz Fluxid Kowalczyk
eaaa661099 First broadcast of filename being playing 2012-02-04 17:43:37 +01:00
Tomasz Fluxid Kowalczyk
8b11382e98 Simplify argument count checking 2012-02-04 17:29:03 +01:00
Tomasz Fluxid Kowalczyk
671eb79c08 Changes in protocol
* Escape characters and allow more than one string with spaces
* Time is now in miliseconds
* More proper error handling (though argument count checking need
  improvement)
2012-02-04 16:26:38 +01:00
Tomasz Fluxid Kowalczyk
bbd8bb0cfc Reset pause when last watcher leaves 2012-02-02 22:18:54 +01:00
Tomasz Fluxid Kowalczyk
76518dcf6f Don't modify time by lag if paused 2012-01-29 17:04:27 +01:00
Tomasz Fluxid Kowalczyk
4bbf635c6b Cleanup prints 2012-01-29 16:18:38 +01:00
Tomasz Fluxid Kowalczyk
c9bb239506 Add one more argument to state message, pausing with lagged connection should now work better (at all) 2012-01-29 15:16:26 +01:00
Tomasz Fluxid Kowalczyk
09df36fccf Ping did not work, fixed it 2012-01-29 13:56:18 +01:00
Tomasz Fluxid Kowalczyk
7c2d7f4c7d Ping clients and send position time modified by total lag between them 2012-01-28 22:05:04 +01:00
Tomasz Fluxid Kowalczyk
338e36514d Added initial, not yet working code for client and mplayer controller 2012-01-28 16:32:24 +01:00