ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/init.C
Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:00 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.68: +1 -0 lines
Diff to previous 1.68
copyright update 2018

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Sun Jan 29 02:47:04 2017 UTC (7 years, 3 months ago) by root
Branch: MAIN
Changes since 1.67: +1 -1 lines
Diff to previous 1.67
remove eol whitespace

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Wed Nov 16 23:41:59 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66
copyright update 2016

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 23:55:52 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.65: +5 -5 lines
Diff to previous 1.65
trailing space removal

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 11:25:30 2012 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
update copyrights to 2012

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sat Apr 23 04:56:45 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
update copyright to 2011

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sat Feb 26 12:50:26 2011 UTC (13 years, 2 months ago) by root
Branch: MAIN
Changes since 1.62: +7 -10 lines
Diff to previous 1.62
*** empty log message ***

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sat Feb 26 11:34:31 2011 UTC (13 years, 2 months ago) by root
Branch: MAIN
Changes since 1.61: +6 -8 lines
Diff to previous 1.61
settings cleanup

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 18:40:43 2010 UTC (13 years, 7 months ago) by root
Branch: MAIN
Changes since 1.60: +10 -4 lines
Diff to previous 1.60
resists_xxx body_xxx_yyy match

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Fri Jun 18 17:31:01 2010 UTC (13 years, 10 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]
Thu Apr 29 07:32:33 2010 UTC (14 years ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.58: +1 -8 lines
Diff to previous 1.58
*** empty log message ***

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Wed Apr 28 19:49:50 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.57: +2 -7 lines
Diff to previous 1.57
less MAX_BUF, more object_thawer dir/file convenience

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 06:05:52 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.56: +39 -73 lines
Diff to previous 1.56
attackmess parser/file format change

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 17:27:51 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55
logfile suspend/resume

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 01:04:44 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
update copyright for up to 2010

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 00:59:20 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
remove bogus 2007 copyright that was added wrongly by the script, update to affero license

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Jan 31 03:46:20 2010 UTC (14 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_93
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
*** empty log message ***

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 10:55:18 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92
Changes since 1.51: +4 -4 lines
Diff to previous 1.51
indent (remove useless use of void)

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat Nov 7 18:30:05 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.50: +24 -22 lines
Diff to previous 1.50
lots of cleanups

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 21:40:42 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_82, rel-2_90
Changes since 1.49: +0 -5 lines
Diff to previous 1.49
cleanups

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Oct 12 14:00:57 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_81
Changes since 1.48: +7 -6 lines
Diff to previous 1.48
clarify license

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon Apr 27 01:38:48 2009 UTC (15 years ago) by root
Branch: MAIN
CVS Tags: rel-2_79, rel-2_80
Changes since 1.47: +2 -0 lines
Diff to previous 1.47
*** empty log message ***

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 04:51:11 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_71, rel-2_72, rel-2_73, rel-2_74, rel-2_75, rel-2_76, rel-2_77, rel-2_78
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
*** empty log message ***

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 04:29:11 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.45: +13 -36 lines
Diff to previous 1.45
*** empty log message ***

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue May 6 17:05:17 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
Changes since 1.44: +6 -0 lines
Diff to previous 1.44
*** empty log message ***

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Apr 15 03:16:02 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: +11 -6 lines
Diff to previous 1.43
better logging, remove cruft

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Apr 11 21:09:52 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
*** empty log message ***

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Nov 10 22:41:59 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
Changes since 1.41: +9 -9 lines
Diff to previous 1.41
*** empty log message ***

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:23 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
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]
Mon Aug 20 22:09:04 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.39: +0 -18 lines
Diff to previous 1.39
- include experience table as our first generic resource file
- swizzle init code around
- do not calculate checksum in cfutil but when loading the facedata.
  this increases loading time by 20%, but since thats just 1.2s instead
  of 1.0s its not worth the extra effort of doing it beforehand.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jul 16 09:07:12 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.38: +2 -17 lines
Diff to previous 1.38
hardcode map start paths for now (and likely forever)

Revision 1.38 - (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.37: +11 -12 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]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.36: +6 -10 lines
Diff to previous 1.36
- 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.36 - (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.35: +17 -17 lines
Diff to previous 1.35
update copyrights in common/*.C and util/*.C

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu May 17 14:14:54 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.34: +3 -5 lines
Diff to previous 1.34
remove superfluous/broken settings and related code

- COZY_SERVER:
  enabled most msall adjustments, changed digestion formula to the original one,
  party member treament w.r.t. pets enforced.
- PROHIBIT_PLAYERKILL: default
- real_wiz: removed and enforced
- create_home_portals: removed and enforced
- casting_time: removed and forced to be off (was crashing anyways)
- was_wiz flag removed and treated as off usually unless it was used
  in place of flag_wiz.
- do not save or restore wiz, wizcast and wizpass flags.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu May 17 13:24:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
fix ordering in static settings initialiser that enabled catsing_time by default (leading to, of coruse, crashes). found by archaios and me

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 11:09:30 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.32: +8 -2 lines
Diff to previous 1.32
load archetypes and treasures from perl, make terasures reloadable

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 06:23:39 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
VERY EXPERIMENTAL

- change the way archetypes and treasurelists are being loaded:
  - referring to a nonexisting treasurelist will create an empty one
  - referring to a nonexisting archetype will create an empty one
  - archetypes/treasurelists will overwrite any existing object
    of the same name.

- net effect should be to allow reloading of archetypes and treasurelists
  at runtime at a later stage.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 14:18:04 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.30: +0 -1 lines
Diff to previous 1.30
move animation info into facedata and make it reloadable at runtime

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Mar 17 22:11:22 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.29: +0 -54 lines
Diff to previous 1.29
remove clockdata and base it off of the runtime; improve the tod code.

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 00:04:58 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.28: +0 -1 lines
Diff to previous 1.28
- rewrote smooth face handling, as a side-effect, smoothing seems to work
  again and smooth faces can be reloaded.
- the server now sends the full animation for an object the first time
  it is seen, this uses slightly more bandwidth initially, but avoids
  the flickering for objects change their face later.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 02:12:44 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27
- MAJOR CHANGE
- you now need to use cfutil to install arches.
- former bigfaces are broken in the server
- bigfaces are no longer supported. at all.
- use face numbers instead of pointers
  * saves lotsa space
  * saves lotsa indirections
  * saves lots(?) cpu cycles
- completely rewrote face handling
- faces can now be added at runtime
- reload will add new faces
- this does not apply to animations
- use a hastable instead of binary search (faster) for faces
- face caching is broken
- facesets are gone
- server always reports MAX_FACES to any client who asks

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 19:02:35 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.26: +0 -1 lines
Diff to previous 1.26
clean up makefiles, add dummy pod.pm

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 14:01:10 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.25: +1 -4 lines
Diff to previous 1.25
*** empty log message ***

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 03:06:00 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.24: +0 -1 lines
Diff to previous 1.24
- automake insists on naming all libdirs .../cfserver now. i have to concur :/
- correctly reattach to players on reload, this likely fixes the reload crash bug.
- init env vars very early, so perl gets to see them.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:40 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.23: +0 -1 lines
Diff to previous 1.23
- 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.23 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:18 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]
Sat Jan 6 14:42:28 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.21: +1 -0 lines
Diff to previous 1.21
added some copyrights

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:21:35 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
initialised :)

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 21:02:04 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
more use of shstr where it makes sense naturally

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -1 lines
Diff to previous 1.16
- remove recycle_tmp_maps setting (hardwired to true)
- replace object->flags by std::bitset, seems to be way
  more efficient, for some unexplainable and not looked-into reason.
  its way cleaner, too...

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 22:45:40 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +7 -7 lines
Diff to previous 1.15
- 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.15 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 02:55:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +0 -7 lines
Diff to previous 1.14
- medium decruftification
- medium cleanups
- make settings accessible to perl using cf::settings->mutator
  (completely untested)

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 00:05:24 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.13: +0 -6 lines
Diff to previous 1.13
further simplify and speed up map saving, fixed
- flag_player_sold was incorrectly saved as "player sold 1"
- flag_has_ready_range was not saved
- flag_is_dust is not in use anymore

not well tested

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

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 18:13:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +6 -56 lines
Diff to previous 1.11
presuppose iso c++0x

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 02:05:18 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +15 -21 lines
Diff to previous 1.10
preliminary uuid support

Revision 1.10 - (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.9: +354 -303 lines
Diff to previous 1.9
indent

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 23:49:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8
rationalise attackinc.h

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 13:52:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 13:34:56 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +33 -3 lines
Diff to previous 1.6
*** empty log message ***

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 09:37:11 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.5: +6 -5 lines
Diff to previous 1.5
Cleaned up code a little.

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:07:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -21 lines
Diff to previous 1.4
Changes...

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 07:57:54 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3
*** empty log message ***

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:39 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -3 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:35 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +89 -89 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)

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