ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/player.C
Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 20:25:06 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.21: +3 -1 lines
Diff to previous 1.21
do not crash when trying to load nonexistant or broken players

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:41 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.20: +63 -67 lines
Diff to previous 1.20
- identified random memory corrutpion bug
- fixed most likely cause for bug above
- rewrote object loader etc. into a simple one-line lookahead
  parser.
- rewrote/cleaned up archetype, treasure, artifact, formula parser.
- some optimisations / cleanups

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 21:07:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
- use a simpler, less fancy loader base design (basically a one-line-lookahead
  top-down parser).

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Jan 10 01:32:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +3 -0 lines
Diff to previous 1.18
- remember the map path on deactivate and save
  (because enter_map isn't called for all map changes - doh)

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.17: +20 -9 lines
Diff to previous 1.17
- added $cf::WAIT_FOR_TICK*
- tuned map-scheduler and player-scheduler
- added $op->inv_recursive
- added objects_size/objects($index) and actives_size/actives($index)
  for access to the object and actives vector.
- more robust player loader
- removed _perl_data attribute support
- SIGINT/TERM/HUP are now safe as they are handled synchronously.
- replaced LOOK_OBJ by client_visible
- cleanups

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 01:28:32 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16
- fix This exit is cloed on login because the maplevel of
  players not on any map was not saved.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 19:25:52 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.15: +10 -9 lines
Diff to previous 1.15
- bugfixes, bugfixes, bugfixes

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:18:35 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.14: +4 -5 lines
Diff to previous 1.14
- 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.14 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:13 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.13: +236 -22 lines
Diff to previous 1.13
""

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

Revision 1.12 - (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.11: +0 -43 lines
Diff to previous 1.11
- 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.11 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:05 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10
- 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.10 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:25 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.9: +8 -3 lines
Diff to previous 1.9
- 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.9 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 04:30:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 21:39:56 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.7: +0 -3 lines
Diff to previous 1.7
- more ooficiation
- removed now superfluous remove calls

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 20:53:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
replace some function- by method-calls

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Sep 27 00:36:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +7 -2 lines
Diff to previous 1.5
* nuke op->contr when players log out, to avoid dereferencing them later :(
* also rename free to destroy
* do not create weird messages when people examine pseudo inventory objects

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 16:00:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +38 -26 lines
Diff to previous 1.3
indent

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 08:05:39 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
for some unexplicable reasons, it seems to run after fixing the obvious errors

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

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:00 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