ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/skills.C
Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 21:20:29 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_52
Changes since 1.51: +9 -14 lines
Diff to previous 1.51
indent

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 23:53:12 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
*** empty log message ***

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 07:01:47 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.49: +4 -16 lines
Diff to previous 1.49
see Changes

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

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

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 06:35:26 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
refactor decrease_ob* into ->decrease method.

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sat Apr 19 19:59:52 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
*** empty log message ***

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:28 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.44: +4 -4 lines
Diff to previous 1.44
update copyrights and other minor stuff to deliantra

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 03:33:17 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_3
Changes since 1.43: +4 -2 lines
Diff to previous 1.43
increase jumping max to 3 spaces or the skill level, whatever is lower. this is actualy not bad, it quadruples your potential running speed...

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 03:11:47 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
Changes since 1.42: +12 -16 lines
Diff to previous 1.42
adding backtraces really helps: the "hitter in no relation to target"
message was actually caused by the jumping skill (ninjas atcually have
it!). jumping removed the hitter from the map and only re-.addedit after
hitting, so it indeed was in no relation to target.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Aug 23 16:46:28 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.41: +4 -2 lines
Diff to previous 1.41
*** empty log message ***

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Aug 20 19:13:10 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40
- 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.40 - (view) (download) (annotate) - [select for diffs]
Sun Aug 12 05:59:25 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.39: +84 -110 lines
Diff to previous 1.39
- new type: INSCRIBABLE
- inscription only works on inscribable items (spellscrolls special cased)
- add new empty scroll, empty book and empty mailscroll archetypes
- use mailscroll in ipo.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Jul 3 06:07:07 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.38: +52 -53 lines
Diff to previous 1.38
*** empty log message ***

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.37: +10 -11 lines
Diff to previous 1.37
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.36: +2 -2 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:28:36 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.35: +16 -16 lines
Diff to previous 1.35
update copyrights in server/*.C

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sat May 19 00:31:08 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.34: +11 -9 lines
Diff to previous 1.34
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.34 - (view) (download) (annotate) - [select for diffs]
Fri May 18 13:54:52 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.33: +16 -15 lines
Diff to previous 1.33
rebalance singing and oratory, copy_doc

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri May 18 13:15:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.32: +7 -6 lines
Diff to previous 1.32
- fix oratory to correctly account to the oratory skill
- change the unapply logic to be more careful (basically
  ignore skills as they get unapplied a lot)

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu May 17 14:14:55 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.31: +9 -14 lines
Diff to previous 1.31
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.31 - (view) (download) (annotate) - [select for diffs]
Sat May 12 22:04:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.30: +0 -3 lines
Diff to previous 1.30
some floatingpoint µopts

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

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon May 7 03:05:58 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
- 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.28 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:30 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27
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.27 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 12:32:16 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.26: +2 -0 lines
Diff to previous 1.26
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.26 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:04:47 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.25: +6 -4 lines
Diff to previous 1.25
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 17:57:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24
support maps with and without .map extension, rename to .map on save

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 21:49:58 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +11 -16 lines
Diff to previous 1.23
- fix a crashing bug inside the random map generator
- do not decrease dungeon size with random map depth

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:20 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.22: +22 -22 lines
Diff to previous 1.22
comments

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

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

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 20:04:09 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.19: +8 -16 lines
Diff to previous 1.19
- added maptile->insert and object->insert_at methods that might
  make code using it clearer.
- replaced some insert_ob_in_map calls.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:55:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18
replace update_ob_speed by ->set_speed

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17
- 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.17 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 10:31:00 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
removed EXPERIENCE type.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:22 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +10 -10 lines
Diff to previous 1.15
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 03:28:42 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14
further cleanups and oofication

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

Revision 1.13 - (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.12: +9 -14 lines
Diff to previous 1.12
- more ooficiation
- removed now superfluous remove calls

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

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

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

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

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +1530 -1322 lines
Diff to previous 1.7
indent

Revision 1.7 - (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.6: +9 -13 lines
Diff to previous 1.6
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.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:38 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +694 -694 lines
Diff to previous 1.5
expand initial tabs to spaces

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
- added ready/unready/can_apply events and their passive versions
- removed support for event_*-fields in maps
- removed support for current_weapon_script
- removed timers
- removed say/shout/Tell and related commands

Revision 1.4 - (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.3: +3 -4 lines
Diff to previous 1.3
further refinements

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Aug 17 20:23:31 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -5 lines
Diff to previous 1.2
get rid of esrv_map_scroll and MapNewmapCmd, map update will handle it automatically

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Aug 14 15:18:45 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
fixed a possible crashbug with sining...

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:04 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_52: (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