ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/pets.C
Revision 1.45 - (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.44: +1 -1 lines
Diff to previous 1.44
update copyright

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Apr 15 14:21:04 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_5, rel-2_52, rel-2_53
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
*** empty log message ***

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Tue Jan 22 16:22:45 2008 UTC (16 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_41, rel-2_42, rel-2_43
Changes since 1.42: +15 -15 lines
Diff to previous 1.42
just in case, set nodrop on the freed objects map. reorder some code in get_pet_enenmy

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Jan 5 03:44:59 2008 UTC (16 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_4
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
fix possible crash bug

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
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]
Wed Sep 12 11:10:11 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.39: +3 -3 lines
Diff to previous 1.39
- rewrite/cleanup ob_blocked a little. its more efficient now, probably
  has less bugs and more bugs.
- get rid of now unused P_NO_PASS.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed Aug 15 18:11:14 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.38: +0 -17 lines
Diff to previous 1.38
fix summon golem w.r.t. head

Revision 1.38 - (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.37: +10 -11 lines
Diff to previous 1.37
- 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.37 - (view) (download) (annotate) - [select for diffs]
Tue Jun 5 13:05:02 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.36: +3 -4 lines
Diff to previous 1.36
- improve observe
- remove more cruft code
- archetype loading almost works again, reloading probbaly still borked.

Revision 1.36 - (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.35: +8 -8 lines
Diff to previous 1.35
- 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.35 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:09 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
rename arch->name to arch->archname for preparation of subclassing object

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 00:28:41 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.32: +3 -3 lines
Diff to previous 1.32
fix segfault, real cause still mysterious

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu May 17 15:55:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
another crash fix - maybe owners should always be players

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sun May 6 04:49:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30
owners sometimes are not on a map but in the inventory of somehting else

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:30 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.29: +5 -6 lines
Diff to previous 1.29
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.29 - (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.28: +9 -28 lines
Diff to previous 1.28
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.28 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 11:50:45 2007 UTC (17 years, 1 month ago) by elmex
Branch: MAIN
Changes since 1.27: +92 -92 lines
Diff to previous 1.27
finally fixed the inactive pet monsters and the disappearing pet monsters
of traps/runes and doors. yay!

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Apr 15 23:47:59 2007 UTC (17 years, 1 month ago) by elmex
Branch: MAIN
Changes since 1.26: +14 -1 lines
Diff to previous 1.26
fixed dissappearing and inactive summoned monster bug with traps and runes.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 04:12:29 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.25: +1 -0 lines
Diff to previous 1.25
- rewrote more face handling code
- automatically send smooth faces, as the client will need them anyways
  and it makes little sense to wait for the client to axk for it. of course,
  gcfclient suffers from weird ordering problems again.
- UP_OBJ_FACE was often abused in situations where other things changed,
  updated lots of spaces, probably more to be done.
- update_smooth became so small that inlining it actually clarified
  the code. similar for update_space, which is not inlined for other reasons.
- faces were not initialised properly
- add versioncheck for face data
- rewrite invisibility handling a bit: god finger etc. now makes you blink,
  blinking routine has changed to be less annoying and more useful while
  still indicating invisibleness.

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
just experimenting

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 16:19:34 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +22 -43 lines
Diff to previous 1.23
- fix a horrendous bug that might have caused all the map corruption
- optimise/modernise some map-insert-related stuff
- fix debug_desc
- remove crypt configury
- minor adjustments/cleanups

Revision 1.23 - (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.22: +22 -22 lines
Diff to previous 1.22
comments

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 01:19:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.21: +0 -4 lines
Diff to previous 1.21
more preperations for player eviction

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 23:12:03 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
use destroy_on_detah, not no_drop, for summoned stuff

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]
Wed Jan 3 20:32:13 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +19 -12 lines
Diff to previous 1.18
set no_drop flag on all inv items of created objects (e.g. pets), experimental.

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 02:30:52 2007 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17
implemented proper support for empty treasures, which
sadly occur in empty treasure lists. fixing treasurelists
to have no entries at all would be even more complicated,
but even when this is fixed, the current changes only make the
server more crash robust to bad treasures.
Also removed the 'NONE' specialcase for treasure lists. Developers
should use 'none' instead now.

Revision 1.17 - (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.16: +1 -4 lines
Diff to previous 1.16
replace update_ob_speed by ->set_speed

Revision 1.16 - (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.15: +4 -4 lines
Diff to previous 1.15
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

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: +18 -18 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: +6 -6 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: +12 -12 lines
Diff to previous 1.12
replace some function- by method-calls

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 16:11:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.11: +4 -6 lines
Diff to previous 1.11
remove golem_count, likely golems are destroyed late now

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

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

Revision 1.9 - (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.8: +1 -7 lines
Diff to previous 1.8
indent

Revision 1.8 - (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.7: +10 -13 lines
Diff to previous 1.7
removed now obsolete generation counter checks - further slimmed down sizeof(objetc) to 616 bytes

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 21:20:15 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
*** empty log message ***

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 20:55:18 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +10 -2 lines
Diff to previous 1.5
indent

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 18:15:35 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +32 -17 lines
Diff to previous 1.4
- introduce shstr_cmp for mass comparisons to shstr and make use of it
- introduce assign utility function to replace strncpy

Revision 1.4 - (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.3: +989 -825 lines
Diff to previous 1.3
indent

Revision 1.3 - (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.2: +19 -21 lines
Diff to previous 1.2
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.2 - (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.1: +539 -539 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: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_55: (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