ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
Revision 1.135 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 00:37:11 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.134: +2 -2 lines
Diff to previous 1.134
some range based for loops

Revision 1.134 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:03 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.133: +1 -0 lines
Diff to previous 1.133
copyright update 2018

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

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

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 03:48:34 2012 UTC (11 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.130: +1 -1 lines
Diff to previous 1.130
respect mapspace limits in create food/missile

Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 03:14:33 2012 UTC (11 years, 5 months ago) by root
Branch: MAIN
Changes since 1.129: +11 -8 lines
Diff to previous 1.129
introduce weight_t, make it unsigned

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

Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 02:04:11 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.127: +1 -3 lines
Diff to previous 1.127
only load the highscore file once

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Fri Jan 27 22:00:40 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.126: +0 -1 lines
Diff to previous 1.126
remove unused variables, kernel_panic

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

Revision 1.125 - (view) (download) (annotate) - [select for diffs]
Sat May 14 17:41:57 2011 UTC (12 years, 11 months ago) by root
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124
*** empty log message ***

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

Revision 1.123 - (view) (download) (annotate) - [select for diffs]
Sat May 15 23:41:06 2010 UTC (13 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.122: +1 -0 lines
Diff to previous 1.122
more fully support RANGED

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 00:36:51 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.121: +1 -1 lines
Diff to previous 1.121
*** empty log message ***

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Wed Apr 14 21:36:32 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.120: +1 -46 lines
Diff to previous 1.120
find_makr_object > mark, fix throwing

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 00:34:06 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.119: +27 -27 lines
Diff to previous 1.119
get rid of QUERY_FLAG/SET_FLAG/CLEAR_FLAG macros that I always hated

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 04:54:09 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118
*** empty log message ***

Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Tue Apr 6 03:53:29 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117
better

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 23:05:45 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116
better apply_below, get rid of player_apply

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 03:22:26 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.115: +29 -0 lines
Diff to previous 1.115
optimisations

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Sun Apr 4 02:51:57 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.114: +1 -168 lines
Diff to previous 1.114
refactoring

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Sat Apr 3 17:15:19 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113
the skill x => the x skill

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Sat Apr 3 02:27:24 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.112: +1 -1 lines
Diff to previous 1.112
interim check-in

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 03:41:24 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.111: +1 -2 lines
Diff to previous 1.111
preliminary check-in with dbeugging code

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 15:57:14 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.110: +1 -1 lines
Diff to previous 1.110
charge(s)

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

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Sat Jan 16 13:41:37 2010 UTC (14 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_93
Changes since 1.108: +1 -2 lines
Diff to previous 1.108
more utf8 marking

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 16:57:04 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92
Changes since 1.107: +1 -1 lines
Diff to previous 1.107
*** empty log message ***

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Fri Nov 13 15:41:39 2009 UTC (14 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.106: +60 -0 lines
Diff to previous 1.106
added lock/unlock patch from shawn robinson.

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Wed Nov 11 04:45:22 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.105: +4 -7 lines
Diff to previous 1.105
*** empty log message ***

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Tue Nov 10 16:29:20 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104
*** empty log message ***

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Tue Nov 10 04:38:46 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103
material overhaul

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Sun Nov 8 20:55:39 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.102: +52 -44 lines
Diff to previous 1.102
*** empty log message ***

Revision 1.102 - (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.101: +0 -1 lines
Diff to previous 1.101
lots of cleanups

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 12:49:19 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.100: +1 -1 lines
Diff to previous 1.100
make effectively static symbols actually static, part 1

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Mon Oct 19 21:48:49 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_82
Changes since 1.99: +8 -9 lines
Diff to previous 1.99
*** empty log message ***

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Fri Oct 16 16:29:47 2009 UTC (14 years, 6 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98
Make slag no_drop so it can't be dumped out of cauldrons.
Fix bug where no_drop items can be transferred between containers.

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 16:00:38 2009 UTC (14 years, 6 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.97: +11 -0 lines
Diff to previous 1.97
Add inscribable arches for other book types.
Use 'container'/weight_limit to define capacity of inscribables in characters.
Add treasures/arches to specify books with/without text.
Scorn and Navar Public Libraries use these so they don't generate inscribables.
Fix bug allowing theft of blank books from libraries.
Fix bug preventing adding an adjective to a book name if the titles are used up.
Change error message on reading empty book to be more clear.
Change error message on failed inscription [too much text] to be more informative.
Looking at an inscribable will tell you what you can do with it/what its capacity is in a hint.
Fix broken debug statements in book generation.

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

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Sun Sep 20 00:38:55 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.95: +1 -1 lines
Diff to previous 1.95
*** empty log message ***

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Thu Sep 17 00:07:04 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.94: +38 -10 lines
Diff to previous 1.94
*** empty log message ***

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Wed Sep 16 23:22:50 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.93: +12 -0 lines
Diff to previous 1.93
*** empty log message ***

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Wed Sep 16 22:50:50 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.92: +17 -8 lines
Diff to previous 1.92
*** empty log message ***

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Mon Feb 23 01:57:15 2009 UTC (15 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_78, rel-2_79, rel-2_80
Changes since 1.91: +0 -3 lines
Diff to previous 1.91
*** empty log message ***

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Sat Feb 21 06:25:46 2009 UTC (15 years, 2 months ago) by root
Branch: MAIN
Changes since 1.90: +1 -1 lines
Diff to previous 1.90
afaik, this was a disastrous bug

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Mon Jan 12 19:12:17 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_76, rel-2_77
Changes since 1.89: +5 -1 lines
Diff to previous 1.89
*** empty log message ***

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Mon Jan 12 00:17:23 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.88: +1 -0 lines
Diff to previous 1.88
added new lamp and torch system.

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 06:08:40 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87
*** empty log message ***

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 19:42:43 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75
Changes since 1.86: +1 -1 lines
Diff to previous 1.86
*** empty log message ***

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 16:35:32 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.85: +4 -3 lines
Diff to previous 1.85
fix crash bug in apply_sign

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 10:20:29 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.84: +10 -70 lines
Diff to previous 1.84
nuke old autopickup

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Mon Dec 22 21:11:27 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.83: +1 -1 lines
Diff to previous 1.83
*** empty log message ***

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Tue Oct 14 20:11:22 2008 UTC (15 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72, rel-2_73
Changes since 1.82: +4 -3 lines
Diff to previous 1.82
*** empty log message ***

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Tue Oct 7 11:10:30 2008 UTC (15 years, 7 months ago) by elmex
Branch: MAIN
Changes since 1.81: +5 -13 lines
Diff to previous 1.81
is_in_map_or_inv => is_inserted.

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Mon Oct 6 18:26:35 2008 UTC (15 years, 7 months ago) by elmex
Branch: MAIN
Changes since 1.80: +85 -31 lines
Diff to previous 1.80
refactored drop code a bit, and hopefully fixed some bugs with it.

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sun Oct 5 12:40:21 2008 UTC (15 years, 7 months ago) by elmex
Branch: MAIN
Changes since 1.79: +6 -1 lines
Diff to previous 1.79
fixed 1 minor and 1 major bug in drop_object.

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:32:50 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
destroy (true) => destroy ()

Revision 1.78 - (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.77: +3 -4 lines
Diff to previous 1.77
do the same everywhere else

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Mon Sep 22 01:46:52 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_71
Changes since 1.76: +29 -27 lines
Diff to previous 1.76
minor improvements

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 21:31:23 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
Changes since 1.75: +14 -14 lines
Diff to previous 1.75
reformatted some messages, introduced an experimental \r without any fucntion yet

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Mon Jul 14 23:57:46 2008 UTC (15 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_6, rel-2_61, rel-2_7
Changes since 1.74: +1 -1 lines
Diff to previous 1.74
introduce and use object::has_dialogue ()

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Tue May 6 21:04:37 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56
Changes since 1.73: +2 -1 lines
Diff to previous 1.73
rewrite remove/insert linking functions, hopefully faster and more correct

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Tue May 6 20:00:12 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72
*** empty log message ***

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:32:34 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.71: +3 -1 lines
Diff to previous 1.71
*** empty log message ***

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 11:26:41 2008 UTC (16 years ago) by elmex
Branch: MAIN
CVS Tags: rel-2_53
Changes since 1.70: +4 -1 lines
Diff to previous 1.70
selling of things a shop is not interested doesn't work anymore

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 07:49:57 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_52
Changes since 1.69: +23 -40 lines
Diff to previous 1.69
*** empty log message ***

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 07:01:47 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.68: +15 -61 lines
Diff to previous 1.68
see Changes

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 02:46:18 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.67: +1 -4 lines
Diff to previous 1.67
- remove all "obviously safe" uses of esrv_del_item.

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 23:35:24 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.66: +6 -2 lines
Diff to previous 1.66
- fix weight/pickup bugs, visible_to
- do more automatic nrof/weight updates
- kill funcpoint.h

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 07:01:40 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.65: +27 -68 lines
Diff to previous 1.65
- fix weight update on insert-merge
- refactor get_split_ob into ->split, taking advantage
  (partially only) of split managing client updates.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 18:48:51 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64
*** empty log message ***

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 00:44:13 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.63: +10 -17 lines
Diff to previous 1.63
reloadable archetypes, maybe

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Dec 17 08:35:49 2007 UTC (16 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_4, rel-2_41, rel-2_42, rel-2_43, rel-2_5
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
do not include @xxx messages in objetc desacriptions handed out to the user

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 12:54:32 2007 UTC (16 years, 5 months ago) by elmex
Branch: MAIN
CVS Tags: rel-2_32
Changes since 1.61: +41 -31 lines
Diff to previous 1.61
moved update_stats from the inner drop/put loop to the callers. and converted
some old messages. also hard limited pick_up now.

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Mon Nov 26 11:41:02 2007 UTC (16 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.60: +23 -0 lines
Diff to previous 1.60
implemented drop item limit and fixed small performance problem in is_in_shop()

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:26 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59
update copyrights and other minor stuff to deliantra

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Sep 30 20:22:21 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.58: +0 -76 lines
Diff to previous 1.58
- clean up message system, combine all boxes into one.
- suppress too long messages (we need a more robust solution to this problem).
- get rid of INS_MAP_LOAD, leading to slightly cleaner/faster code
  and certainly one special case less.
- insert objects manually at load time, this is both faster and also more
  correct, as loading a map is never supposed to trigger anything (and
  also for symmetry to the save code).

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Wed Jul 4 04:15:29 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
*** empty log message ***

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:19 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.56: +10 -11 lines
Diff to previous 1.56
- 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.56 - (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.55: +0 -2 lines
Diff to previous 1.55
- improve observe
- remove more cruft code
- archetype loading almost works again, reloading probbaly still borked.

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:28:35 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.54: +17 -18 lines
Diff to previous 1.54
update copyrights in server/*.C

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Thu May 17 20:27:01 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.53: +4 -2 lines
Diff to previous 1.53
- more rewrite:
  change_skill now only changes the chosen_skill, nothing else.
  new flag to suppress skill tool behaviour of readying the skill
  when applying the tool, for use in find_skill.

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu May 17 14:14:55 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.52: +0 -12 lines
Diff to previous 1.52
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.52 - (view) (download) (annotate) - [select for diffs]
Sat May 12 20:21:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.51: +10 -4 lines
Diff to previous 1.51
fix weapon speed to be more in line with documentation

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat May 12 16:06:42 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.50: +10 -17 lines
Diff to previous 1.50
almost works

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Mon May 7 07:47:33 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.49: +0 -1 lines
Diff to previous 1.49
- rework body locations to give betetr feedback and
  make use of combat and shield slots.

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon May 7 06:01:48 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48
do not output archetypes with names starting with type_ or class_, a bit of a hack

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon May 7 03:05:58 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47
- 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.47 - (view) (download) (annotate) - [select for diffs]
Thu May 3 04:50:27 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.46: +3 -0 lines
Diff to previous 1.46
- skill system is looking as if it were going somewhere, slowly.
- support a regex argument to who to limit user reports.

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 16:30:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45
need to learn c properly

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 16:19:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
why oh why those stupid bugs again and again

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 00:42:02 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
- implement a rudimentary framework for a "msg" command that
  replaces drawinfo and drawextinfo and allows for simpler usage
  in simple cases and extensibility for the less complex uses.
- moved the character race choosing logic into perl, making use
  of the new msg command if the client supports it.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:21:54 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.42: +0 -1 lines
Diff to previous 1.42
use g_slice for dynbufs

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Apr 23 18:09:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.41: +112 -123 lines
Diff to previous 1.41
- add format utility function.
- split dynbuf into dynbuf and dynbuf_text.
- use dynbuf_text for examine strings instead of
  outputting each line seperately. tried to use stringstreams
  but they add insane overheads (as does std::string, but less so).

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sun Mar 18 03:05:40 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.40: +9 -8 lines
Diff to previous 1.40
- 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.40 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 12:14:57 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.39: +0 -41 lines
Diff to previous 1.39
- run, fire, mark in perl
- no more NewServerCommands

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 21:01:10 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.38: +30 -31 lines
Diff to previous 1.38
- avoid floorbox updates when client has container open, this
  completely confused gcfclient, although completely valid by
  the protocol (and of course, cfplus didn't even notice it).

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 23:50:01 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.37: +2 -0 lines
Diff to previous 1.37
interim check-in for server upgrade

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:19 2007 UTC (17 years, 3 months ago) by pippijn
Branch: MAIN
Changes since 1.36: +26 -23 lines
Diff to previous 1.36
comments

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
- 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.35 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:14 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.34: +7 -9 lines
Diff to previous 1.34
""

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:30 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.33: +1 -0 lines
Diff to previous 1.33
added some copyrights

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 11:08:36 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +0 -16 lines
Diff to previous 1.32
add some robustness checks, add map find/load locking

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:54:59 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.31: +1 -3 lines
Diff to previous 1.31
replace update_ob_speed by ->set_speed

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +6 -6 lines
Diff to previous 1.30
- 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.30 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:05 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29
- 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.29 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:22 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +2 -2 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 05:12:52 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.27: +6 -3 lines
Diff to previous 1.27
- hide floorbox implementation details
- use meaning (hopefully) names

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

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 01:39:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.25: +9 -29 lines
Diff to previous 1.25
no generation counters anymore

Revision 1.25 - (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.24: +3 -6 lines
Diff to previous 1.24
- more ooficiation
- removed now superfluous remove calls

Revision 1.24 - (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.23: +8 -8 lines
Diff to previous 1.23
replace some function- by method-calls

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 23:35:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
reduced dependencies on old plug-in api, fixed some bugs and renamed
some methods while I was at it.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 00:59:58 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +5 -2 lines
Diff to previous 1.21
updated and applied newpickup flesh patch by benoƮt <bencha1969@yahoo.fr>

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Oct 15 02:16:35 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.20: +6 -9 lines
Diff to previous 1.20
more now invalid tag_t uses replaced by refcounting. reduced codesize quite a bit.

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:13 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 23:13:49 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.17: +31 -22 lines
Diff to previous 1.17
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

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

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 19:08:39 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.15: +0 -191 lines
Diff to previous 1.15
remove rename command and implement lots of extra perl support

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +124 -134 lines
Diff to previous 1.14
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.14 - (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.13: +1274 -1062 lines
Diff to previous 1.13
indent

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

Revision 1.12 - (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.11: +12 -14 lines
Diff to previous 1.11
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.11 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 10:51:43 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.10: +3 -8 lines
Diff to previous 1.10
removed all the broken SHOP_FLOOR checks and replaced them with the is_in_shop ()
check function.

Revision 1.10 - (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.9: +423 -423 lines
Diff to previous 1.9
expand initial tabs to spaces

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 07:34:00 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +4 -19 lines
Diff to previous 1.8
nuke transports

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Aug 28 07:07:42 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7
better but more wasteful serialisation support, perl can invoke events, fixes

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 15:24:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +3 -4 lines
Diff to previous 1.6
further refinements

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Aug 20 21:26:03 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.4: +4 -5 lines
Diff to previous 1.4
for EVENT_DROP iterate through all objects on the space now.

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Aug 17 08:07:38 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3
preventing renaming of unpaid items.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 06:23:45 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
removed debugging output

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Aug 14 04:22:05 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.1: +84 -81 lines
Diff to previous 1.1
fixed bug in cf.pm when unloading extensions.
added EVENT_DROP_ON for the trade shops and made query_cost using double

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)

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