ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/request.C
Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Sun Mar 4 19:36:12 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.67: +6 -6 lines
Diff to previous 1.67
remove default_smoothed images - unused.
remove references to mythical sdefault.001 / default_smoothed.111 image
from server code.

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:17 2007 UTC (17 years, 3 months ago) by pippijn
Branch: MAIN
Changes since 1.66: +3 -30 lines
Diff to previous 1.66
nano-cleanups

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 04:04:23 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.65: +8 -1 lines
Diff to previous 1.65
- tell player about each region as she enters.
- region longnames no longer are prefixed with in, change accordingly.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Jan 21 21:28:27 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64
mark watchers as reentrant, some FABS => fabs

Revision 1.64 - (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.63: +22 -22 lines
Diff to previous 1.63
comments

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 17:50:11 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62
- rename Animations => animation
- rename New_Face => facetile
- add but do not implement some generic loader framework classes

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Wed Jan 10 01:16:54 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.61: +23 -0 lines
Diff to previous 1.61
aggressively prefetch tiled maps around the player
- prefetch maps on every tick
- prefetch maps and block the player when entering maps

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:18:36 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.60: +53 -50 lines
Diff to previous 1.60
- move most last_* values into socket, where they belong
- this actually saved a lot of space in the text segment,
  which might mean less complicated pointer accesses, because
  the data is no where it belongs, mostly.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:15 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.59: +1 -5 lines
Diff to previous 1.59
""

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

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 16:19:32 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.57: +27 -24 lines
Diff to previous 1.57
- word of recall activated the player indirectly
- implement maptile->xy_find and xy_load
- separate find and load, even on C level
- generate map_leave/enter and map_change events even for tiled map changes
  (experimental)
- implement mainloop freezeing by start/stop, not skipping ticks
- no map updates when player !active

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 00:08:08 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.56: +0 -1 lines
Diff to previous 1.56
- save before testing the map on swap_out, as save cedes and players
  might hop on the map while the map saves, changing its status.

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 12:28:47 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.55: +4 -0 lines
Diff to previous 1.55
set original flag so decay object doesn't go wild

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:11 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:54:44 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
the big rename

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.52: +6 -0 lines
Diff to previous 1.52
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 09:41:55 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.51: +13 -21 lines
Diff to previous 1.51
- reorder stuff so that the endlessly sucky gcfclient doesn't get confused

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.50: +4 -35 lines
Diff to previous 1.50
- preliminary check in, stuff is rudimentarily working
- moved most of the player creation process into a perl coroutine
- changed internal design of player management to not reuse
  and morph the object in funny ways. should be safer and much
  nicer to handle.
- got rid of some annoying hacks, such as clear()
  (TODO: get rid of player_pod and other stuff now unnecessary?)

Revision 1.50 - (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.49: +38 -32 lines
Diff to previous 1.49
- 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.49 - (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.48: +11 -4 lines
Diff to previous 1.48
- 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.48 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 11:36:39 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.47: +17 -22 lines
Diff to previous 1.47
- mapspace caches are now reevaluated only on-demand only
- "heavily" optimised get_map_flags - it might be MUCH faster now
- some cleanups
- some deoptimisaton in update_object - enabling it makes some
  bigfaces disappear when they are not fully visible. why?

Revision 1.47 - (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.46: +12 -19 lines
Diff to previous 1.46
some source simplification

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 05:12:52 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.45: +5 -9 lines
Diff to previous 1.45
- hide floorbox implementation details
- use meaning (hopefully) names

Revision 1.45 - (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.44: +6 -0 lines
Diff to previous 1.44
- separate all comamnds into immediate/socket-level and queued/player-level
- clean up player command handling, handle up to 8 commands/tick

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 21:40:26 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.43: +112 -283 lines
Diff to previous 1.43
- clean up some code
- fix some possible (minor) bugs
- use a bitset for anims_sent
- fix a memory leak
- removed dead code

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 20:16:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.42: +1 -6 lines
Diff to previous 1.42
WHAT FUCKING SHIT WAS THAT CODE DOING???

Revision 1.42 - (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.41: +1 -6 lines
Diff to previous 1.41
- 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.41 - (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.40: +25 -37 lines
Diff to previous 1.40
the rename for sanity campaign hits
you died
- renamed stuff
- partially updated copyrights
- some cleanups

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 04:21:29 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.39: +44 -0 lines
Diff to previous 1.39
while goofing around, trying to understand the command code
- did some reindentation
- which lead me to find some dead code
- which lead me to some optimisations and more dead code

fun.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 03:53:44 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.38: +4 -15 lines
Diff to previous 1.38
streamlined packet processing a bit, experimentally enabled more immediate paclets

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 22:45:41 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.37: +2 -7 lines
Diff to previous 1.37
- implement event watcher autoncancellation on reload
- used it everywhere
- removed lots of compatibility cruft
  - configure does no longer check for mandatory unix functionality/headers
  - confgiure now runs much faster

Revision 1.37 - (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.36: +24 -24 lines
Diff to previous 1.36
- implement c++ interface to Event->io watchers
- cut number of write()'s the server does in half

Revision 1.36 - (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.35: +27 -37 lines
Diff to previous 1.35
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.35 - (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.34: +23 -23 lines
Diff to previous 1.34
moar\! rewrite\!

Revision 1.34 - (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.33: +33 -137 lines
Diff to previous 1.33
rewrite phase one finished

Revision 1.33 - (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.32: +21 -36 lines
Diff to previous 1.32
moar rewrite

Revision 1.32 - (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.31: +28 -21 lines
Diff to previous 1.31
(intermediate check-in for recoverability)

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 00:23:59 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
moar rewrite

Revision 1.30 - (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.29: +3 -2 lines
Diff to previous 1.29
- further cleanup and rewrite
- fix a potential crash in "lock" and "mark" packets

Revision 1.29 - (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.28: +3 -3 lines
Diff to previous 1.28
continued simplifying network code, partially removed support for sc protocol 1026

Revision 1.28 - (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.27: +144 -179 lines
Diff to previous 1.27
started simplifying network code

Revision 1.27 - (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.26: +49 -56 lines
Diff to previous 1.26
started simplifying network code

Revision 1.26 - (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.25: +5 -7 lines
Diff to previous 1.25
removed #ifn?def WIN32 from all files

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 14:51:16 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.24: +38 -48 lines
Diff to previous 1.24
indent, properly clear map

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 22:05:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.23: +15 -0 lines
Diff to previous 1.23
add mapcell flags support and define #0 to be has_dialogue

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 10:35:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22
argh

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 10:12:50 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.21: +11 -9 lines
Diff to previous 1.21
indent

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:13 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 23:13:49 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

Revision 1.19 - (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.18: +1 -7 lines
Diff to previous 1.18
indent

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 19:08:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.17: +9 -9 lines
Diff to previous 1.17
remove rename command and implement lots of extra perl support

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:09 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.16: +27 -9 lines
Diff to previous 1.16
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.16 - (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.15: +1897 -1603 lines
Diff to previous 1.15
indent

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 20:03:21 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
Entirely removed cfpython.

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 17:14:10 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
removed && 0 for healthbars

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:43 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
THIS CODE WILL NOT COMPILE
use the STABLE tag instead.

- major changes in object lifetime and memory management
- replaced manual refcounting by shstr class
- removed quest system
- many optimisations
- major changes

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

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 07:34:01 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.10: +2 -6 lines
Diff to previous 1.10
nuke transports

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 17:11:54 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
converted more events, broken per-object events (needs map support), lots of fixes

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Aug 24 17:29:30 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8
- fix extmap protocol
- lay foundation for new event interface (not used, not tested)
- "slow down" in-game time specials

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Aug 24 10:58:39 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +32 -10 lines
Diff to previous 1.7
send player tag as extmap attribute

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Aug 21 07:13:32 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +29 -10 lines
Diff to previous 1.6
workaorund for client mapscroll overflow

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Aug 19 03:54:23 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.5: +14 -3 lines
Diff to previous 1.5
send width of monster when sending health

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Aug 19 02:57:05 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4
*** empty log message ***

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

Revision 1.3 - (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.2: +102 -97 lines
Diff to previous 1.2
support health stats in an extensible way in map1

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Aug 17 20:23:32 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +98 -90 lines
Diff to previous 1.1
get rid of esrv_map_scroll and MapNewmapCmd, map update will handle it automatically

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_0: (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