ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/living.C
Revision 1.136 - (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.135: +1 -0 lines
Diff to previous 1.135
copyright update 2018

Revision 1.135 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 22:02:47 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.134: +1 -1 lines
Diff to previous 1.134
*** empty log message ***

Revision 1.134 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 22:02:14 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.133: +1 -1 lines
Diff to previous 1.133
*** empty log message ***

Revision 1.133 - (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.132: +23 -23 lines
Diff to previous 1.132
remove eol whitespace

Revision 1.132 - (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.131: +1 -1 lines
Diff to previous 1.131
copyright update 2016

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Wed Nov 14 05:18:17 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.130: +0 -19 lines
Diff to previous 1.130
sigh

Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 10:32:18 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
Changes since 1.129: +4 -3 lines
Diff to previous 1.129
weight-max_carry can be negative

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

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

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Fri Jan 27 22:00:39 2012 UTC (12 years, 3 months ago) by root
Branch: MAIN
Changes since 1.126: +1 -2 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:31 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 Dec 31 06:18:01 2011 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124
big min/max type change

Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Sat Apr 23 04:56:45 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:05 2010 UTC (14 years ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.122: +1 -5 lines
Diff to previous 1.122
more fully support RANGED

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Fri Apr 30 21:00:39 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.121: +5 -5 lines
Diff to previous 1.121
use shstr_tmp, speeds up change_exp and saves code

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Fri Apr 30 11:25:48 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.120: +4 -3 lines
Diff to previous 1.120
do not take stat effects from applied spells

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Fri Apr 30 09:36:32 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119
indent

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 04:56:46 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.118: +5 -10 lines
Diff to previous 1.118
raramraramraram

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

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Tue Apr 6 21:11:48 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.116: +23 -45 lines
Diff to previous 1.116
fix change_abil messages for rods

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Sun Apr 4 04:10:47 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.115: +1 -1 lines
Diff to previous 1.115
tuning

Revision 1.115 - (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.114: +29 -50 lines
Diff to previous 1.114
preliminary check-in with dbeugging code

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 18:44:21 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113
*** empty log message ***

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 17:04:37 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.112: +6 -14 lines
Diff to previous 1.112
µopt

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 16:41:45 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.111: +18 -20 lines
Diff to previous 1.111
µopt

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 16:18:39 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.110: +1 -1 lines
Diff to previous 1.110
*** empty log message ***

Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 16:17:27 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.109: +4 -4 lines
Diff to previous 1.109
*** empty log message ***

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 02:53:45 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.108: +15 -12 lines
Diff to previous 1.108
hrmpf

Revision 1.108 - (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.107: +2 -2 lines
Diff to previous 1.107
remove bogus 2007 copyright that was added wrongly by the script, update to affero license

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 00:05:45 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.106: +8 -5 lines
Diff to previous 1.106
*** empty log message ***

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Sat Jan 30 23:30:26 2010 UTC (14 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_93
Changes since 1.105: +1 -1 lines
Diff to previous 1.105
*** empty log message ***

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 17:41:07 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92
Changes since 1.104: +2 -2 lines
Diff to previous 1.104
-instance, some los fiddling

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Mon Nov 23 14:09:05 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
Changes since 1.103: +1 -2 lines
Diff to previous 1.103
*** empty log message ***

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Mon Nov 23 12:19:57 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
Changes since 1.102: +5 -7 lines
Diff to previous 1.102
indent

Revision 1.102 - (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.101: +2 -0 lines
Diff to previous 1.101
*** empty log message ***

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Mon Nov 9 18:47:55 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.100: +3 -11 lines
Diff to previous 1.100
remove max_nrof from maps, make spell updates delayed

Revision 1.100 - (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.99: +3 -3 lines
Diff to previous 1.99
lots of cleanups

Revision 1.99 - (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.98: +2 -2 lines
Diff to previous 1.98
make effectively static symbols actually static, part 1

Revision 1.98 - (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, rel-2_82
Changes since 1.97: +7 -6 lines
Diff to previous 1.97
clarify license

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Fri Aug 28 22:19:38 2009 UTC (14 years, 8 months ago) by elmex
Branch: MAIN
CVS Tags: rel-2_80
Changes since 1.96: +0 -3 lines
Diff to previous 1.96
removed attacktype == 0 check in update_stats.

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Mon Jan 12 00:17:22 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
CVS Tags: rel-2_76, rel-2_77, rel-2_78, rel-2_79
Changes since 1.95: +16 -0 lines
Diff to previous 1.95
added new lamp and torch system.

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 17:35:37 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_75
Changes since 1.94: +2 -2 lines
Diff to previous 1.94
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 00:39:48 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.93: +3 -4 lines
Diff to previous 1.93
implement primitive noise hack

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 19:56:09 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_73
Changes since 1.92: +11 -8 lines
Diff to previous 1.92
*** empty log message ***

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 03:48:19 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72
Changes since 1.91: +0 -1 lines
Diff to previous 1.91
*** empty log message ***

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:07:34 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
Changes since 1.90: +1 -0 lines
Diff to previous 1.90
enotunderstood

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 22:58:13 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.89: +15 -23 lines
Diff to previous 1.89
*** empty log message ***

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 04:09:57 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.88: +7 -11 lines
Diff to previous 1.88
*** empty log message ***

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Tue Jul 15 20:41:58 2008 UTC (15 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_6, rel-2_61, rel-2_7, rel-2_71
Changes since 1.87: +9 -26 lines
Diff to previous 1.87
goof

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Tue May 6 17:31:21 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56
Changes since 1.86: +2 -1 lines
Diff to previous 1.86
*** empty log message ***

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

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Sun May 4 19:14:23 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.84: +3 -4 lines
Diff to previous 1.84
*** empty log message ***

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Fri May 2 20:24:48 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53
Changes since 1.83: +9 -11 lines
Diff to previous 1.83
indent

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Fri May 2 20:16:24 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.82: +25 -24 lines
Diff to previous 1.82
- get rid of the only use of object_copy as an instantiated type,
  saves gobs of code (~4kb) in change_abil, is probably way faster
  and removes some very ugly code.
- this->remove in operator =, as x/y gets overwritten

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

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Sat Nov 10 03:40:17 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
Changes since 1.80: +1 -1 lines
Diff to previous 1.80
*** empty log message ***

Revision 1.80 - (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.79: +4 -4 lines
Diff to previous 1.79
update copyrights and other minor stuff to deliantra

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 01:14:12 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78
rename cf to deliantra in readme, but nowhere else

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Mon Aug 20 19:13:10 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.77: +6 -7 lines
Diff to previous 1.77
- hopefully fix say w.r.t. NDI_REPLY
- rework the disease code a bit.
- set_owene rfater inserting whne throwing or diseasing. these
  are the only cases i know where the owner is set when inserting into
  another object. *cough*

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Tue Aug 7 23:38:12 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.76: +7 -11 lines
Diff to previous 1.76
no kidding, but crossfire actually rewards a speed bonus for progressing
diseases.

this makes no sense, so I changed that to reflect what most likely was intended.

(looking at the disease code there might be still more such traps)

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Tue Aug 7 22:57:57 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.75: +1 -2 lines
Diff to previous 1.75
talk is cheap

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Tue Aug 7 22:36:18 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.74: +23 -17 lines
Diff to previous 1.74
- some optimisations
- it is incorrect to clamp digestion and other values multiple times,
  it should be summed and then clamped. otherwise the order of items
  (which is undefined) changes the results.

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Tue Aug 7 21:58:25 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.73: +66 -57 lines
Diff to previous 1.73
- lots of clamping on stats
- optimisations/bugfixes in update_stats
- disease progression now uses lots of ad-hoc clamping on various values

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Tue Jul 31 18:08:58 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.72: +23 -13 lines
Diff to previous 1.72
level up sound(s), a bit clumsy + partial rewrite of palyer_lvl_adj, should be much much fatser now to add exp

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Sun Jul 22 14:17:56 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.71: +1 -6 lines
Diff to previous 1.71
fix crash problem

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Sat Jul 21 14:37:25 2007 UTC (16 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.70: +6 -1 lines
Diff to previous 1.70
adjusted digestion algorithm and clamped in limits

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Jul 10 05:51:37 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.69: +2 -5 lines
Diff to previous 1.69
- improve dynbuf implementation further
- save now saves shstrs longer than HUGE_BUF, lets fix any brokenness remaining
  in the server...
- converted most describe_*-functions to dynbuf_text, making them likely
  faster (or maybe slower), while removing any hardcoded length limit.
- memory allocated for static dynbuf's is not being returned ever (at least
  not the initial chunk, maybe fix this?)
- implement framework for predeclared const shstrs for comparison purposes
  (shstrinc.h).
- enabled and enforced new material code.
- implement hack to clean up book titles.
- increases HUGE_BUF to 10240, to be similar to mac network packet size.

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Wed Jul 4 18:03:48 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68
charge itempower for ALL applied items, not just the wielded weapon. this change includes a lot of items it didn't include before, though, to simply the code.

Revision 1.68 - (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.67: +11 -12 lines
Diff to previous 1.67
- 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.67 - (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.66: +27 -27 lines
Diff to previous 1.66
- 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.66 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.65 - (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.64: +17 -17 lines
Diff to previous 1.64
update copyrights in common/*.C and util/*.C

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sat May 26 15:44:02 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.63: +6 -6 lines
Diff to previous 1.63
- restore after combined mainboard+harddisk crash
- cleanup/fixes for 2.1 release
- fix invoke to actually do work
- refactor invoke shortcuts, gcc cannot inline
  varargs functions.
- optimised invoke to 4-5 insns in the common case.
- optimised (For no good reason) the int-to-ascii
  conversions of dynbuf_text into division-less and
  branchless code (of which I am pretty proud).
- actually move players to their savebed when they did
  not use one and the map has been reste in the meantime.
  does not kill (yet) when too long.
- enter_map is now handled completely in perl.
- goto is now using generation counting to ensure that only the
  most-recently-issues goto will succeed.
- make some heavy use of __builtin_expect to streamline
  rare callbacks even more.
- optimised thawer.

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Tue May 22 10:49:57 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.62: +39 -31 lines
Diff to previous 1.62
- fix players frozen on movers
- allow overriding of existing spells

implement town portal:
- new fields portasl_maap|x|y for regions
- new ext town_portsla completelyx implementing it
- some debugging code, some check code

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sat May 19 00:31:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
A player must never apply two skills. crossfire always has and will ever
complain about that.

Nevertheless, levitation (and ONLY levitation) gets applied in addition to
other skills. Now that cannot work with the new skill system. Introduce a
special flag for levitation only so it only gets half-applied.

This probably fixes quite a number of older "has two skills applied"
messages.

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Fri May 18 15:05:08 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.60: +1 -3 lines
Diff to previous 1.60
- change weapon speed inside server to be the real speed value.
- send speed and weapon_sp as actions/second to the client.
  this breaks cfclient which divides speed/weapon_speed,
  but makes more sense.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Fri May 18 01:01:01 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59
more skill tuning:
- clear_skill is gone, use change_skill (0) instead.
- change_skill now clears the current_weapon.
- more intelligent weapon switching on unapply.
- be more clever when initially applying weapons
  on player load/connect.
- survive wrong setting of READY_WEAPON.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu May 17 00:33:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
- do not require an item for the use magic item skill.
  thats because it is often used for "misc" objects such as scrolls,
  which do not get applied as ranged weapons. not requiring an item
  is not likely to be a big deal anyways.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Wed May 16 23:40:06 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.57: +4 -1 lines
Diff to previous 1.57
- always force-apply cursed weapons even when not "wielded".

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:32:26 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.56: +4 -11 lines
Diff to previous 1.56
breath life into completely broken skill tools

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun May 13 15:13:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.55: +5 -20 lines
Diff to previous 1.55
lots of little changes:
- fix MIN/MAX_AC/WC and use them
- abstratc weapon speed into player->weapon_speed, as
  it is just way too confusing and probably needs frequent updates :)
- use ob_speed/weapon_sp * 0.5 as an arbitrary real attack speed
  .5 needs tuning, elsewhere, but ahs been put in as a stopgap measure.
- fix speed issues, properly use weapon_sp (if a bit lagged)
- clear current weapon when readying skills because a skill might already
  be readied implicitly.

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat May 12 19:41:02 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.54: +4 -5 lines
Diff to previous 1.54
more weapon balancing

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat May 12 19:30:18 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.53: +11 -6 lines
Diff to previous 1.53
mark current weapon with star

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sat May 12 19:07:21 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52
more bow fixes

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat May 12 18:34:19 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.51: +0 -38 lines
Diff to previous 1.51
now heavily optimise indexed stat access without sacrificing abstraction

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat May 12 18:23:51 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.50: +25 -45 lines
Diff to previous 1.50
*** empty log message ***

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat May 12 18:14:47 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.49: +45 -92 lines
Diff to previous 1.49
- 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.49 - (view) (download) (annotate) - [select for diffs]
Sat May 12 17:26:51 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.48: +12 -12 lines
Diff to previous 1.48
*** empty log message ***

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Fri May 11 19:41:05 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.47: +12 -14 lines
Diff to previous 1.47
indent

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon May 7 03:05:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46
- 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.46 - (view) (download) (annotate) - [select for diffs]
Tue May 1 05:48:19 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.45: +30 -39 lines
Diff to previous 1.45
big simplification, still doesn't work, but feels cleaner

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.44: +52 -39 lines
Diff to previous 1.44
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.44 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 21:44:34 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
goofign around a bit: the while ranged/non-ranged system is borked and needs some serious redesign

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 18:34:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
partially undo bow changes - this is conceptually impossible

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 18:32:18 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41
partially undo bow changes - this is conceptually impossible

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 18:11:39 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
treat bows as weapons w.r.t. attacktype (need to check for viability)

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 18:11:21 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.39: +56 -48 lines
Diff to previous 1.39
indent, avoid lots of double<=>float conversions

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 14:39:55 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.38: +22 -16 lines
Diff to previous 1.38
*** empty log message ***

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 04:14:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
allow gen_hp and other stuff for bows, too - hopefulyl those use stats correctly

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 03:44:35 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.36: +13 -12 lines
Diff to previous 1.36
considerably change the balancing of missile weapons:

- treat bows as weapons in update_stats.
- completely change calculation of attacktype, damage and wc
  inside fire_bow.

this should make missile weapons much stronger and hopefully more
competitive. the formulas are probably broken, but hopefully at least an
improvement.

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 12:32:14 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.35: +6 -8 lines
Diff to previous 1.35
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.35 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 04:12:27 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34
- 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.34 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 03:01:32 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.33: +3 -4 lines
Diff to previous 1.33
indent

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:36 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
- experimentall.y determine minimum random map size (12)
- harden random map generator by stresstesting
- reduced codesize while increasing readability (RANDOM => rndm)
- fixed a likely unimportant bug in random_roll64
- possibly broke lots of code

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Jan 20 22:09:50 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.31: +2 -3 lines
Diff to previous 1.31
- move util/world.png to server/lib/
  (should go to maps/world.png, but I will not fiddle around with that now)
- compile worldmap to world.pst and install it.
- rename FLAG_NO_SAVE to FLAG_NO_MAP_SAVE
- define FABS to fabs, as intended
- fix all(?) the FABS(int) calls

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:09 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
just experimenting

Revision 1.30 - (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.29: +22 -22 lines
Diff to previous 1.29
comments

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 15:41:09 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +10 -10 lines
Diff to previous 1.28
indent

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 00:22:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
bad style causes bugs

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 20:39:48 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26
fix stat change messages

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:18:35 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25
- move most last_* values into socket, where they belong
- this actually saved a lot of space in the text segment,
  which might mean less complicated pointer accesses, because
  the data is no where it belongs, mostly.

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

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 16:19:31 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23
- word of recall activated the player indirectly
- implement maptile->xy_find and xy_load
- separate find and load, even on C level
- generate map_leave/enter and map_change events even for tiled map changes
  (experimental)
- implement mainloop freezeing by start/stop, not skipping ticks
- no map updates when player !active

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

Revision 1.22 - (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.21: +1 -1 lines
Diff to previous 1.21
replace update_ob_speed by ->set_speed

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 06:53:39 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
so thats where those values were being used

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:30:49 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.19: +12 -2 lines
Diff to previous 1.19
remove object_pod/object_keep hacks

Revision 1.19 - (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.18: +303 -299 lines
Diff to previous 1.18
- 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.18 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 10:31:00 2006 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.17: +8 -8 lines
Diff to previous 1.17
removed EXPERIENCE type.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:32:16 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
- simplify headerfiles (this is the 21st century)
- remove long long hacks for printf etc.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:06:58 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
lld -> I64_PFd

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:46 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.14: +0 -4 lines
Diff to previous 1.14
removed #ifn?def WIN32 from all files

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 12:49:03 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.13: +12 -10 lines
Diff to previous 1.13
just some reformatting

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Dec 4 17:48:35 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.12: +0 -4 lines
Diff to previous 1.12
- changed uint64 to sint64 for levels
- removed obsolete debugging code

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

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

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 02:06:19 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +168 -173 lines
Diff to previous 1.9
indent

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

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 22:09:19 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 21:48:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
fix a few ugly pod-constructs on non-pod objects, and a few newly introduced bugs

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +12 -27 lines
Diff to previous 1.4
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.4 - (view) (download) (annotate) - [select for diffs]
Fri Sep 1 17:16:47 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.3: +77 -55 lines
Diff to previous 1.3
added SK_EXP_SKILL_ONLY

Revision 1.3 - (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.2: +782 -782 lines
Diff to previous 1.2
expand initial tabs to spaces

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +1 -7 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: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