ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/monster.C
Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Tue Jan 6 19:17:07 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75, rel-2_76, rel-2_77, rel-2_78, rel-2_79, rel-2_80
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
*** empty log message ***

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 16:05:13 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
rmeove most shstr-strcmps

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 14:32:51 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.60: +11 -9 lines
Diff to previous 1.60
2.74

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 17:09:24 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59
*** empty log message ***

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 10:05:42 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
*** empty log message ***

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 08:56:44 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.57: +19 -13 lines
Diff to previous 1.57
*** empty log message ***

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 06:59:27 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.56: +13 -14 lines
Diff to previous 1.56
smell, remove gcfclient support, material fixes, cfpod parse fixes, refactoring

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 08:41:44 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.55: +33 -27 lines
Diff to previous 1.55
*** empty log message ***

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 07:50:05 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.54: +22 -3 lines
Diff to previous 1.54
primitive smell erasure

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 04:07:44 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.53: +18 -0 lines
Diff to previous 1.53
more smell

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 03:18:08 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.52: +5 -7 lines
Diff to previous 1.52
indent

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 02:31:19 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51
implement smell member for mapspaces, remove all traces of the old RANDOM macro

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Dec 26 13:33:22 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.50: +8 -7 lines
Diff to previous 1.50
use dakrlevel, not darkness

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Fri Dec 26 13:27:31 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.49: +24 -24 lines
Diff to previous 1.49
slight changes

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Dec 26 12:59:39 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.48: +15 -23 lines
Diff to previous 1.48
*** empty log message ***

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 18:52:58 2008 UTC (15 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
thats => that's
some more typo fixes in maps (i => I, missing commas, bad casing, etc.)

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 02:49:22 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_73
Changes since 1.46: +95 -117 lines
Diff to previous 1.46
indent

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:07:35 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
enotunderstood

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Nov 16 03:52:13 2008 UTC (15 years, 6 months ago) by root
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44
*** empty log message ***

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:31:32 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43
introduce drop_and_destroy and use it

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:20:49 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.42: +5 -3 lines
Diff to previous 1.42
do the same everywhere else

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:26 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56, rel-2_6, rel-2_61, rel-2_7, rel-2_71
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
update copyright

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:27 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, rel-2_52, rel-2_53
Changes since 1.40: +4 -4 lines
Diff to previous 1.40
update copyrights and other minor stuff to deliantra

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Aug 23 17:56:25 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.39: +1 -0 lines
Diff to previous 1.39
indeed i fucked it up again

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Aug 23 17:13:04 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.38: +3 -4 lines
Diff to previous 1.38
cleanup

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Aug 23 16:46:28 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.37: +10 -19 lines
Diff to previous 1.37
*** empty log message ***

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Wed Aug 22 20:46:46 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.36: +21 -16 lines
Diff to previous 1.36
cleanup

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.35: +10 -11 lines
Diff to previous 1.35
- 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.35 - (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.34: +3 -3 lines
Diff to previous 1.34
- 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.34 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:28:36 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.33: +17 -17 lines
Diff to previous 1.33
update copyrights in server/*.C

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu May 24 03:33:29 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.32: +1 -5 lines
Diff to previous 1.32
add books from books.pod via some most dire hacks

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat May 12 18:14:48 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
- unrelated change, replace get_attr_value/set_attr_value by a nicer to use
  stat member function. should really replace the struct values by an array.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri May 11 19:41:06 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.30: +19 -25 lines
Diff to previous 1.30
indent

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon May 7 03:05:58 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
- add two new slots for shields and combat weapons
- make slots into bitfields, they are not too speed-critical and this
  saves 16 bytes in the object structure.
- add accessors to body lcoation names etc. to perl
- use those in the body command

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu May 3 09:26:45 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
only allow one range weapon to be applied at any one time, some dynbuf fixes

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

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:30 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.26: +33 -37 lines
Diff to previous 1.26
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.26 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 12:32:16 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25
server crashed this morning because a freed golem tried to follow
his owner, triggering the assertion failure.

the golem had no owner, but the owner still had him in his range slots.

I refactored a bit of the code and rearranged it to hopefully increase
chances of this not occuring again.

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 11:50:44 2007 UTC (17 years, 1 month ago) by elmex
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24
finally fixed the inactive pet monsters and the disappearing pet monsters
of traps/runes and doors. yay!

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 21:27:19 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.23: +0 -2 lines
Diff to previous 1.23
- clean_save => unclean_save (with timestamp)
- wanr palyers when they didn't use a savebed proper

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.22: +21 -21 lines
Diff to previous 1.22
just experimenting

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:20 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.21: +22 -22 lines
Diff to previous 1.21
comments

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Jan 14 23:35:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +7 -15 lines
Diff to previous 1.20
- potentially fix the bug associated with
  2007-01-14 18:51:45.228 find_nearest_living_creature: map /mlab/cwdccastleofmarquis3 (40,44) has is_alive set but did not find a monster?

a) the mesage seemed to be totally bogus. P_IS_ALIVE means something with FLAG_IS_ALIVE is here, not a monster or anything else.
b) map flags caching was disabled due to my stupidity, probably causing high cpu usage.
c) ymmv

Revision 1.20 - (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.19: +1 -0 lines
Diff to previous 1.19
added some copyrights

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

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:55:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.17: +4 -9 lines
Diff to previous 1.17
replace update_ob_speed by ->set_speed

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:22 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
ooification

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 03:28:42 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14
further cleanups and oofication

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

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

Revision 1.12 - (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.11: +5 -5 lines
Diff to previous 1.11
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.11 - (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.10: +1 -3 lines
Diff to previous 1.10
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

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

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:10:25 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +19 -23 lines
Diff to previous 1.8
removed now obsolete generation counter checks - further slimmed down sizeof(objetc) to 616 bytes

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +1388 -1199 lines
Diff to previous 1.7
indent

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 10:01:58 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
Some cleanups.

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:42 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +7 -9 lines
Diff to previous 1.5
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.5 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 06:06:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +6 -5 lines
Diff to previous 1.4
improve thawer interface, implement some monster event support

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

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -203 lines
Diff to previous 1.2
- added ready/unready/can_apply events and their passive versions
- removed support for event_*-fields in maps
- removed support for current_weapon_script
- removed timers
- removed say/shout/Tell and related commands

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:34 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +18 -18 lines
Diff to previous 1.1
intermediate check-in, per-object events work

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