ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/lowlevel.C
Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri May 18 19:46:22 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
new speed management:
- weapon speed and object speed is now completekly decoupled for players.
- both can be used at the same time, or indeepndent, when running or firing.
- still only one command per object speed can be issued.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 00:42:03 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.39: +16 -0 lines
Diff to previous 1.39
- implement a rudimentary framework for a "msg" command that
  replaces drawinfo and drawextinfo and allows for simpler usage
  in simple cases and extensibility for the less complex uses.
- moved the character race choosing logic into perl, making use
  of the new msg command if the client supports it.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 19:10:17 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.38: +5 -4 lines
Diff to previous 1.38
implement ex command support to quickly retrieve item descriptions

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Apr 3 00:21:38 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37
- fix ber encoding
- reduce image checksum length to 6 bytes (from 16)
- implement fx packet, which reduces
  face overhead to amortised 10/12 bytes per face instead of
  21/32 bytes and allows an unlimited number of faces
  instead of 2**16.

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 19:56:11 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.36: +18 -0 lines
Diff to previous 1.36
add untested ber integer encoding function

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 15:44:47 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35
- make face caching mandatory, and pester users to enable it
- implement rate-limiting, for images only right now
- implement and document output-rate command to set rate limit.
- default 1mbit.

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 00:04:59 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.34: +6 -0 lines
Diff to previous 1.34
- rewrote smooth face handling, as a side-effect, smoothing seems to work
  again and smooth faces can be reloaded.
- the server now sends the full animation for an object the first time
  it is seen, this uses slightly more bandwidth initially, but avoids
  the flickering for objects change their face later.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:17 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.33: +0 -2 lines
Diff to previous 1.33
nano-cleanups

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 21:02:54 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.32: +32 -4 lines
Diff to previous 1.32
make a horrendous hack to enable say and chat to be executed almost anytime

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Jan 20 13:47:17 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.31: +22 -22 lines
Diff to previous 1.31
comments

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:39:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
- fix crash bug
- better fork & abort (untested)

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:31 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.29: +1 -0 lines
Diff to previous 1.29
added some copyrights

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:06 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28
- made state a per-client variable
  (that does not magically make state a per-client thing!)
- rename player->socket to player->ns. its not a good name for "client",
  but it is an historical artifact, and better than "socket".

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 06:12:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
- made client a first-class crossfire-perl object
  (its attachable), but perl support is missing.
- added some client events
- fixed reply not working after logout

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 01:19:11 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.26: +9 -0 lines
Diff to previous 1.26
some source simplification

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 04:58:05 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.25: +22 -26 lines
Diff to previous 1.25
- separate all comamnds into immediate/socket-level and queued/player-level
- clean up player command handling, handle up to 8 commands/tick

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Dec 17 19:14:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
re-enable async command execution

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 17:16:52 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
- remove no_shout
- serialise command execution somewhat again :(
- avoid exceptions

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:26 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +243 -75 lines
Diff to previous 1.22
- socket i/o is completely asynchronous now
- some command sare handled immediately
- others (most palying related commands) are queued
  for later (as of now synchronous) processing
- specifying a max queue length (in seconds) is possible, but disabled
- also add some syntax sugar for network code

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 19:59:20 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +9 -10 lines
Diff to previous 1.21
the rename for sanity campaign hits
you died
- renamed stuff
- partially updated copyrights
- some cleanups

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 00:14:13 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +3 -0 lines
Diff to previous 1.20
- make client_socket accessible to perl
- on linux, record rtt and rttvar
- who shows rtt/rttvar

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 21:46:34 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +89 -153 lines
Diff to previous 1.19
- write() is now independent of server ticks and will be done immediately
- get rid of CORK hack, it is no longer necessary

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 20:39:54 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.18: +28 -33 lines
Diff to previous 1.18
- implement c++ interface to Event->io watchers
- cut number of write()'s the server does in half

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 05:09:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17
- remove some old socket mode cruft
- preliminarily added attachable client_socket interface to perl
  (untested but also unreachable from perl code atm)

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 04:30:33 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -1 lines
Diff to previous 1.16
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 02:37:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +10 -10 lines
Diff to previous 1.15
moar\! rewrite\!

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:59:10 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +37 -24 lines
Diff to previous 1.14
rewrite phase one finished

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:21:58 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.13: +10 -11 lines
Diff to previous 1.13
moar rewrite

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:12:35 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.12: +18 -22 lines
Diff to previous 1.12
(intermediate check-in for recoverability)

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 00:01:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.11: +36 -98 lines
Diff to previous 1.11
- further cleanup and rewrite
- fix a potential crash in "lock" and "mark" packets

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 21:27:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.10: +30 -22 lines
Diff to previous 1.10
continued simplifying network code, partially removed support for sc protocol 1026

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 18:51:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.9: +12 -0 lines
Diff to previous 1.9
started simplifying network code

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 18:08:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.8: +16 -27 lines
Diff to previous 1.8
started simplifying network code

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:47 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.7: +1 -60 lines
Diff to previous 1.7
removed #ifn?def WIN32 from all files

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Nov 26 19:48:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
double once more - stopid memory management does not scale

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +0 -6 lines
Diff to previous 1.5
indent

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 13:43:33 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +311 -253 lines
Diff to previous 1.4
indent

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 16:30:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
remove compression support, intiialise perl earlier etc. etc.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:38 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +157 -157 lines
Diff to previous 1.2
expand initial tabs to spaces

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Aug 18 02:06:58 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +1 -14 lines
Diff to previous 1.1
support health stats in an extensible way in map1

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:06 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_1: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a