ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/player.C
Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:23 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_32, rel-2_4, rel-2_41, rel-2_42, rel-2_43, rel-2_5
Changes since 1.34: +4 -4 lines
Diff to previous 1.34
update copyrights and other minor stuff to deliantra

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Sep 4 05:43:21 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.33: +0 -13 lines
Diff to previous 1.33
- implemented ref/deref "framework" that allows one to create
  semipersistent references and dereference them later
  (works only for players right now).
- (partially) expose freezer and thawer to perl.
- thawers now do next() automatically after instantiating.
- allow the thawer to record delayed dereference requests to be
  resolved, well, later (should be a different class actually
  but lets stay realistic).
- use thawers when loading maps and players and resolve delayed
  derefs after loading them before activating them.
- serialise io for no good reason.

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:17 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.32: +11 -12 lines
Diff to previous 1.32
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Jun 24 01:09:27 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.31: +2 -0 lines
Diff to previous 1.31
implement beginning of gender support, asking at character creation, showing in who and perceive self

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
- archetype is now a subclass of object.
- store archetypes in an object_vector.
- use a different startegy for archetype loading
  (reloading is MOST CERTAINLY broken).

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:21:40 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.29: +21 -21 lines
Diff to previous 1.29
update copyrights in common/*.C and util/*.C

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sun May 27 23:14:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28
remove remainign compatibility cruft

Revision 1.28 - (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.27: +2 -0 lines
Diff to previous 1.27
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.27 - (view) (download) (annotate) - [select for diffs]
Wed May 9 11:32:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue May 1 05:48:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.25: +0 -15 lines
Diff to previous 1.25
big simplification, still doesn't work, but feels cleaner

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 05:54:13 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.24: +20 -1 lines
Diff to previous 1.24
works a tad better

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.23: +0 -30 lines
Diff to previous 1.23
This is the first rough cut of the skill use system (use the STABLE tag).

Details will likely change, and combat skills do not work very well, but
it works quite well.

Players no longer have a shoottype or range slots, instead, each player
has these members:

   combat_skill/combat_ob  the currently selected skill (and weapon)
                           for direct attacks.
   ranged_skill/ranged_ob  the currently selected ranged skill (and
                           bow/spell/item)
   golem                   the currently-controlled golem, if any.

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 21:44:34 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.22: +28 -0 lines
Diff to previous 1.22
goofign around a bit: the while ranged/non-ranged system is borked and needs some serious redesign

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