ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/alchemy.C
Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Tue May 10 11:02:56 2022 UTC (2 years ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.66: +1 -4 lines
Diff to previous 1.66
*** empty log message ***

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Fri Nov 26 17:43:04 2021 UTC (2 years, 5 months ago) by root
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65
*** empty log message ***

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sat Dec 1 20:22:13 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
slight cleanup

Revision 1.64 - (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.63: +1 -0 lines
Diff to previous 1.63
copyright update 2018

Revision 1.63 - (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.62: +12 -12 lines
Diff to previous 1.62
remove eol whitespace

Revision 1.62 - (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.61: +1 -1 lines
Diff to previous 1.61
copyright update 2016

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

Revision 1.60 - (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.59: +1 -2 lines
Diff to previous 1.59
remove unused variables, kernel_panic

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

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun May 1 16:58:17 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.57: +7 -7 lines
Diff to previous 1.57
*** empty log message ***

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

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sat Apr 16 02:35:53 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.55: +3 -2 lines
Diff to previous 1.55
*** empty log message ***

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu May 6 22:08:07 2010 UTC (14 years ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.54: +13 -21 lines
Diff to previous 1.54
calc_alch_danger use correct skill

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Apr 30 20:43:18 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.53: +1 -3 lines
Diff to previous 1.53
indent

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Apr 28 19:59:06 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.52: +7 -7 lines
Diff to previous 1.52
-MAX_BUF

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 02:51:39 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
better need_identify

Revision 1.51 - (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.50: +13 -13 lines
Diff to previous 1.50
get rid of QUERY_FLAG/SET_FLAG/CLEAR_FLAG macros that I always hated

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

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

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

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

Revision 1.46 - (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.45: +8 -8 lines
Diff to previous 1.45
lots of cleanups

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 13:03:34 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_90
Changes since 1.44: +4 -4 lines
Diff to previous 1.44
make effectively static symbols actually static, part 2

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

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 12:27:05 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.42: +287 -288 lines
Diff to previous 1.42
remove all protos from include/*proto.h for functions that are effectively static

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Fri Oct 16 16:29:47 2009 UTC (14 years, 6 months ago) by sf-marcmagus
Branch: MAIN
CVS Tags: rel-2_82
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
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.41 - (view) (download) (annotate) - [select for diffs]
Thu Oct 15 23:02:28 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.40: +7 -19 lines
Diff to previous 1.40
improve some book messages

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

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Oct 9 23:00:39 2009 UTC (14 years, 7 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38
Fix alchemy [and other craft skills] so recipes marked as transmutation will
actually transmute an ingredient when appropriate.

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Oct 9 22:46:39 2009 UTC (14 years, 7 months ago) by sf-marcmagus
Branch: MAIN
Changes since 1.37: +17 -9 lines
Diff to previous 1.37
Fix alchemy debug logging to support shstrs.

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Apr 3 10:01:31 2009 UTC (15 years, 1 month ago) by elmex
Branch: MAIN
CVS Tags: rel-2_78, rel-2_79, rel-2_80
Changes since 1.36: +14 -14 lines
Diff to previous 1.36
fixed alchemy bug.

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 20:23:07 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
CVS Tags: rel-2_75, rel-2_76, rel-2_77
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
updated copyright

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 16:30:39 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.34: +8 -27 lines
Diff to previous 1.34
sanatized alchemy skill.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 11:41:17 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.33: +11 -11 lines
Diff to previous 1.33
*** empty log message ***

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 02:31:19 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-2_74
Changes since 1.32: +3 -2 lines
Diff to previous 1.32
implement smell member for mapspaces, remove all traces of the old RANDOM macro

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

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:20:48 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.30: +3 -4 lines
Diff to previous 1.30
do the same everywhere else

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Jul 12 22:46: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.29: +5 -16 lines
Diff to previous 1.29
re-enable fireball/bomb on failed alchemy

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:26 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
update copyright

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 23:25:09 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_52, rel-2_53
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
minor refactoring

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

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:19 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.25: +10 -11 lines
Diff to previous 1.25
- 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.25 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:09 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.24 - (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.23: +17 -17 lines
Diff to previous 1.23
update copyrights in server/*.C

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue May 1 05:48:20 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.22: +8 -4 lines
Diff to previous 1.22
big simplification, still doesn't work, but feels cleaner

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

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

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

Revision 1.21 - (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.20: +1 -9 lines
Diff to previous 1.20
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 02:07:40 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19
remove many strcmps on shstr, added fast strcmp wrapper that only etsts for inequality

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:24:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
replace amny strcpy by checked assign's

Revision 1.18 - (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.17: +22 -22 lines
Diff to previous 1.17
comments

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 21:31:44 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.16: +11 -8 lines
Diff to previous 1.16
remove debugging code

Revision 1.16 - (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.15: +1 -0 lines
Diff to previous 1.15
added some copyrights

Revision 1.15 - (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.14: +14 -14 lines
Diff to previous 1.14
- added maptile->insert and object->insert_at methods that might
  make code using it clearer.
- replaced some insert_ob_in_map calls.

Revision 1.14 - (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.13: +1 -3 lines
Diff to previous 1.13
replace update_ob_speed by ->set_speed

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: +6 -4 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: +3 -3 lines
Diff to previous 1.11
replace some function- by method-calls

Revision 1.11 - (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.10: +0 -6 lines
Diff to previous 1.10
removed #ifn?def WIN32 from all files

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 02:54:57 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.9: +5 -0 lines
Diff to previous 1.9
- rename $uptime to $UPTIME
- hopefully force alchemy to use one second delay

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Sep 15 23:11:57 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.8: +3 -7 lines
Diff to previous 1.8
dumber bug than ever imagined

Revision 1.8 - (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.7: +1 -7 lines
Diff to previous 1.7
indent

Revision 1.7 - (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.6: +725 -613 lines
Diff to previous 1.6
indent

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 14:33:45 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.5: +10 -8 lines
Diff to previous 1.5
removed ox/oy, and then added shstr stuff to the recipes in alchemy

Revision 1.5 - (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.4: +18 -20 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]
Tue Aug 29 08:01:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +307 -307 lines
Diff to previous 1.3
expand initial tabs to spaces

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 17:35:51 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
removed P_SAFE_MAP and added P_SAFE as map flag set by an item with type SAFE_FLOOR (165)

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 16:19:55 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.1: +9 -1 lines
Diff to previous 1.1
added safe map and some checks over the code to make the maps really safe!

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:03 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