ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/plugins.C
Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 16:56:32 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
CVS Tags: STABLE, rel-2_1
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
having a) monsters as treasures b) multipart monsters as treasures
and c) multipart monsters as terasures on tiled maps... hit a big
pile of bugs again.

this change:

- implements a per-map active flag. when items are being inserted
  they are activated or deactivated according to that flag.
  this could get rid of most or even all of the explicit
  activate/deactivate calls.
- implement some glue to make instantiating multipart objects easier
  (this is used inside fix_multipart_objects and might make it possible
  to put multipart objects at map borders - those were winged before)
- do finer-grained locking as to not lead to deadlocks when insert
  recurses e.g. when loading tiled maps.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 03:05:40 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43
- reduce default output-sync to less than a second
- output-sync command now uses seconds as unit, not
  something users cannot even know.
- lots of useless const adjustments.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 3 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.42: +0 -35 lines
Diff to previous 1.42
nano-cleanups

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:47:23 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
fix dead code to confuse me less

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 14:46:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +1 -43 lines
Diff to previous 1.40
partial region cleanup

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

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 23:39:22 2007 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
started a fix of the log

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 18:10:41 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
- style maps need very special treatment
- cf has a nonzero chance of crashing in a random map

Revision 1.37 - (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.36: +8 -382 lines
Diff to previous 1.36
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.36 - (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.35: +2 -15 lines
Diff to previous 1.35
the big rename

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.34: +2 -22 lines
Diff to previous 1.34
- 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.34 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 13:56:25 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.33: +21 -29 lines
Diff to previous 1.33
an experiment

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:21:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
- improved login code
- removed some cruft code and (finally), the player_pod hack

Revision 1.32 - (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.31: +4 -19 lines
Diff to previous 1.31
- 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.31 - (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.30: +2 -2 lines
Diff to previous 1.30
- 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.30 - (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.29: +2 -1 lines
Diff to previous 1.29
- 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.29 - (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.28: +10 -7 lines
Diff to previous 1.28
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 15:30:02 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27
reverted the last change to move_apply and check_inv and fixed check_inv
differntly: as all the buttons and pedestals check themselves whether
the objects above them satisfy their conditions i thought the best
would be if check_inv would do the same. The new semantics are
compatible with the semantics used by the map makers (at least i hope that)
and won't end up in a broken state so easily now.

While fixing check_inv i documented inventory checkers in objects.pod

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 13:41:45 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
Added a parameter to move_apply that indicates whether something
moved on or off and changed check_inv to take the same additional argument.
An inventory checker is now mostly state-independend and a bad state
is corrected now if the inventory checker is activated.

While fixing that i've documented the HOLE type and FLAG_ACTIVATE_ON_(PUSH|RELEASE)
in objects.pod.

Revision 1.26 - (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.25: +1 -1 lines
Diff to previous 1.25
- hide floorbox implementation details
- use meaning (hopefully) names

Revision 1.25 - (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.24: +3 -3 lines
Diff to previous 1.24
- 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.24 - (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.23: +2 -2 lines
Diff to previous 1.23
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.23 - (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.22: +4 -4 lines
Diff to previous 1.22
further cleanups and oofication

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 00:42:04 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -4 lines
Diff to previous 1.21
added a needed abstraction

Revision 1.21 - (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.20: +8 -8 lines
Diff to previous 1.20
- more ooficiation
- removed now superfluous remove calls

Revision 1.20 - (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.19: +6 -6 lines
Diff to previous 1.19
replace some function- by method-calls

Revision 1.19 - (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.18: +0 -19 lines
Diff to previous 1.18
removed #ifn?def WIN32 from all files

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 17:28:37 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.17: +1 -21 lines
Diff to previous 1.17
removed regex comparison. this is now done with perl

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Sep 20 21:53:50 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -2 lines
Diff to previous 1.16
added many accessors and mutators to struct player, including *title* and (hint, hint) *own_title*

Revision 1.16 - (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.15: +57 -57 lines
Diff to previous 1.15
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.15 - (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.14: +1 -38 lines
Diff to previous 1.14
indent

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 21:16:12 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
cleanup

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:26:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +2 -4 lines
Diff to previous 1.12
indent

Revision 1.12 - (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.11: +3311 -2843 lines
Diff to previous 1.11
indent

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 16:51:44 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +1 -16 lines
Diff to previous 1.10
generic accessors, take one

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:08:00 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.9: +2 -13 lines
Diff to previous 1.9
Changes...

- alternative shstr representation, saves code
- use glibs splice memory allocator (seems slower)
- use simpler memory/lifetime management for objects, no recycling

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:42 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.8: +13 -42 lines
Diff to previous 1.8
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.8 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +3 -158 lines
Diff to previous 1.7
- 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.7 - (view) (download) (annotate) - [select for diffs]
Mon Aug 28 16:52:51 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6
disable old-style plug-ins, implement attach-field for map headers and map attachments

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 08:44:07 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -11 lines
Diff to previous 1.4
many, many cleanups

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

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 13:24:50 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.2: +2 -97 lines
Diff to previous 1.2
Implemented a rough outline of the new event system and made use of it
for a number of events. The corresponding plugin-events have been disabled.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 17:10:46 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +56 -8 lines
Diff to previous 1.1
converted perl to a mandatory / non-dynamic plug-in, firts step to put it fully in-core

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