--- crossfire/server ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: c_wiz.c
Revision 1.93mwedel 2006/09/04 02:21:05 +41 -1
Bulk of this change is updating some files to use draw_ext_info() - all
future code should use this, since there is no real reason not to and
it provides additional features. One notable change - reversed the
order of the new and old formats in draw_ext_info_format() - the
order was different than that of draw_ext_info(), which leads to confusion.
draw_ext_info_format() wasn't used in many places, so easier to change
that than all the draw_ext_info() calls. Only another 1200
new_draw_info calls left in the server.
--
doc/mediaTags: Fix some typos, clarify some behaviour (the way it works
now so that there will not be confusion in the future).
include/define.h: Remove MSG_ tags - moved to newclient.h
include/newclient.h: Synchronize with client version. Add MSG_ defines
include/newserver.h: Move some defines from here to newclient.h
server/apply.c: Reverse format parameters to draw_ext_info_format() calls.
server/c_misc.c: Rewrite to use draw_ext_info{_format} - this allows nice
formatting of tables, etc. Also general style cleanups, clarify some
messages. in help_topics(), don't do linewrap - let the client
handle it. remove bug_report() function - no longer used. Remove
explore_mode() - wasn't used. Move command_style_map_info() to
c_wiz.c since it is a wiz only command.
server/c_wiz.c: As per above, move command_style_map_info() to this file
since it is a wiz command.
server/player.c: Reverse format parameters to draw_ext_info_format() calls.
server/shop.c: Update to use draw_ext_info{_format} instead of new_draw_info()
socket/info.c: Reverse format parameters in draw_ext_info_format().
Update va_start() to use new last parameter. Remove call to
strip_media() if the client supports the tag - that should only be
used if the client does not support the tag.
socket/request.c: remove commented out MSG_TYPE values.
MSW 2006-09-03
Show difference between Revision 1.92 and 1.93
Revision 1.92akirschbaum 2006/08/27 10:19:05 +2 -2
Fix type mismatch.
Show difference between Revision 1.91 and 1.92
Revision 1.91qal21 2006/08/19 19:07:12 +4 -3
Make DM 'free' command safe on multi-tile objects.
Show difference between Revision 1.90 and 1.91
Revision 1.90ryo_saeba 2006/08/11 07:13:02 +2 -2
Help text update
Show difference between Revision 1.89 and 1.90
Revision 1.89ryo_saeba 2006/08/10 11:47:00 +5 -2
Fix minor create bug. Update inventory when using remove.
Show difference between Revision 1.88 and 1.89
Revision 1.88ryo_saeba 2006/07/28 15:19:49 +3 -2
Fix addexp not working on skills
Show difference between Revision 1.87 and 1.88
Revision 1.87gros 2006/07/26 10:20:23 +15 -1
Forbid the reset of a random map from inside that random map itself.
Workaround for bug #1528173 - "Reset command does not work for random maps".
gros 2006/07/26
Show difference between Revision 1.86 and 1.87
Revision 1.86ryo_saeba 2006/07/25 16:49:28 +5 -1
Fix a crash when DM removes an animated object
Show difference between Revision 1.85 and 1.86
Revision 1.85gros 2006/07/25 10:43:27 +10 -1
Forbids the use of reset on oneself's map while in a transport. This is a
workaround for bug #1528172
gros 2006/07/25
Show difference between Revision 1.84 and 1.85
Revision 1.84mwedel 2006/06/05 01:28:56 +8 -15
Clean up some compiler warnings. Most of the changes are related to replaced
%lld with FMT64 defines so that the format will be correct, no matter if
the 64 bit type is a long, long long, or if this is windows. #if 0 out a
bunch of code that isn't used.
--
common/exp.c: Replaced lld with FMT64
common/holy.c: #if 0 out baptize_altar(). Add banner copyright at top of file.
common/info.c, common/item.c, common/loader.l, common/loader.c, common/map.c:
common/porting.c Replaced lld with FMT64
common/time.c: Replace a bunch of variables declared as longs to be uint32.
Update various sprintf appropriately.
include/global.h: Add FMT64 and FMT64U as appropriate for different systems.
Change max_time to be a uint32
include/sockproto.h, include/sproto.h: rebuilt
server/apply.c: #if 0 out monster_apply_special
server/c_range.c: Add != 0 in assignment if statement - same meaning, clearer
on intention and avoids compiler warning.
server/c_wiz.c: Update command_kick() to take const char. Update command_speed()
to operate properly based on max_time being a uint32. Update various lld
to FMT64. Clarify ambiguous if/if/else statement in command_insert_into()
server/commands.c: Add cast to command_kick for new function prototype. #if
0 out find_command(), parse_string(), parse_command()
server/disease.c: #if 0 out find_disease(), reduce_symptoms()
server/egoitem.c: #if 0 out create_artifact(). Add copyright at top of file.
server/gods.c: #if 0 out get_god()
server/hiscore.c: Replace lld with FMT64
server/login.c: #if 0 out create_savedir_if_needed()
server/resurrection.c: Replace lld with FMT64. #if 0 out dead_character() and
dead_player_exists()
server/server.c: Remove info_keys() - hasn't been used in a long time. #if 0
out process_active_maps()
server/skill_util.c: Replace lld with FMT64
server/spell_util.c: #if 0 out check_spell_effect()
server/weather.c: #if 0 out feather_map(). Fix what I suspect is an error
in worldmap_to_weathermap() to skip over starting slashes.
socket/image.c: Add a fair number of char * casts to suppress warnings.
socket/init.c: Change buflen in init_connection() to socklen_t to match
function prototype. Add some char * casts.
socket/loop.c: Add some char * casts.
--
MSW 2006-06-04
Show difference between Revision 1.83 and 1.84
Revision 1.83akirschbaum 2006/05/21 15:09:12 +2 -2
Fix typo in comment.
Show difference between Revision 1.82 and 1.83
Revision 1.82ryo_saeba 2006/05/05 04:47:40 +1 -2
Third and last part of patch #1453869 courtesy Stefan Huehner (shuehner)
Show difference between Revision 1.81 and 1.82
Revision 1.81cavesomething 2006/02/09 20:17:01 +7 -6
make the dm stats command print Int and damage, display in sequential order, and add a help file for the command
Show difference between Revision 1.80 and 1.81
Revision 1.80ryo_saeba 2006/02/08 15:41:54 +68 -1
Add DM command insert_into <where> <what>
Show difference between Revision 1.79 and 1.80
Revision 1.79cavesomething 2006/02/07 19:52:58 +25 -1
add arrest command, and regional jails
Show difference between Revision 1.78 and 1.79
Revision 1.78akirschbaum 2006/01/01 05:58:22 +91 -19
Improve the commands learn_spell and forget_spell: now these commands accept
partial spell names and print sensible error messages if they fail.
Show difference between Revision 1.77 and 1.78
Revision 1.77akirschbaum 2005/12/18 05:45:00 +1095 -1090
Code reformatting to a consistent style and to comply with programming_guide;
should not affect behavior: mostly whitespace or comment changes; convert all
TABs into spaces; rewrite statements to improve readability.
Show difference between Revision 1.76 and 1.77
Revision 1.76ryo_saeba 2005/11/27 08:16:46 +2 -2
Add a filter to skills command
Show difference between Revision 1.75 and 1.76
Revision 1.75mwedel 2005/11/16 02:16:08 +30 -27
Commit for new blocking code. Not going to dictate all the changes -
but will outline the broad points. Note also that the
doc/Developers/objects is updated and goes into more details also.
- check for P_WALL no longer used - instead, need to use GET_MAP_MOVE_BLCOK
and check against movement type of objects.
- arch_blocked() changed to ob_blocked(), now takes object. Needed because
just looking at archetype move_ values is no longer sufficient.
- find_first_free_spot() changed to take object, since it just calls
arch_blocked()
- FLAG_FLYING removed, now in move type.
- walk_on/walk_off/fly_on/fly_off removed - now based on move_on and
move_off fields.
- Map space structure extended to hold the move_on/move_off, etc
values so that we can shortcut some processing by not having to
check every object on the space when something enters it if
move_on isn't set.
- archetypes recollected - boulders needed move_walk to properly trigger
buttons.
- Note that the new plugin code has to be fixed up for the new movement
code. Look for FIXME in plugins/cfpython/cfpython_object.c
MSW 2005-11-15
Show difference between Revision 1.74 and 1.75
Revision 1.74akirschbaum 2005/10/31 14:58:06 +3 -3
Replace undefined function max() by MAX().
Show difference between Revision 1.73 and 1.74
Revision 1.73ryo_saeba 2005/10/31 12:44:02 +35 -3
Fix a crash with create command. Forbid removing a PLAYER object.
Show difference between Revision 1.72 and 1.73
Revision 1.72gros 2005/10/18 11:54:31 +13 -27
Upgrade of the Crossfire server to version 2.0 of the plugin interface.
Upgrade of the Python plugin to version 2.0 of the plugin interface.
Gros - 18/10/05
Show difference between Revision 1.71 and 1.72
Revision 1.71cavesomething 2005/10/13 20:01:22 +13 -3
make reset command print names of players that are stopping it from working
Show difference between Revision 1.70 and 1.71
Revision 1.70ryo_saeba 2005/09/25 04:47:23 +2 -2
Fix some compilation warnings.
Show difference between Revision 1.69 and 1.70
Revision 1.69akirschbaum 2005/09/09 16:09:41 +3 -1
Allow a DM to cast spells and prayers in no-magic/no-prayer areas. Add new
command "wizcast" to toggle this setting.
Show difference between Revision 1.68 and 1.69
Revision 1.68akirschbaum 2005/09/04 11:58:12 +2 -2
common/{anim.c, image.c, los.c, map.c, porting.c, treasure.c},
include/define.h, random_maps/treasure.c,
server/{apply.c, c_misc.c, c_object.c, c_wiz.c, commands.c, daemon.c,
hiscore.c, init.c, login.c, player.c, plugins.c, resurrection.c, weather.c},
socket/{init.c, item.c, loop.c, lowlevel.c}: Use LOG() for error messages and
debug output instead of stdout/stderr. Include filename in error messages.
server/resurrection.c: Fix error message in read_player().
Show difference between Revision 1.67 and 1.68
Revision 1.67ryo_saeba 2005/08/12 08:46:34 +2 -2
Fields changed from char* to const char*, cleanup.
Show difference between Revision 1.66 and 1.67
Revision 1.66ryo_saeba 2005/08/12 03:18:59 +2 -2
Use const char* instead of char* when possible
Show difference between Revision 1.65 and 1.66
Revision 1.65akirschbaum 2005/07/18 14:07:06 +19 -3
server/plugins.c: Merge mostly identical code from #ifdef WIN32 and #else
blocks. Use opendir/readdir/closedir instead scandir for Unix because WIN32
probably does not have these functions. Prevent loading one plugin multiple
times.
include/sproto.h: Update prototypes for plugin functions.
server/c_wiz.c: Add success/failure messages to plugin and plugout commands.
Do not crash due to missing parameter.
Show difference between Revision 1.64 and 1.65
Revision 1.64akirschbaum 2005/07/17 06:22:51 +3 -3
server/c_wiz: Allow the summon and teleport commands to place the summoned
player/DM north-west of DM/player.
Show difference between Revision 1.63 and 1.64
Revision 1.63akirschbaum 2005/07/16 16:10:39 +4 -4
Fix spelling errors in string constants.
Show difference between Revision 1.62 and 1.63
Revision 1.62akirschbaum 2005/07/14 04:18:55 +2 -2
common/{button.c, treasure.c, utils.c}, server/{c_wiz.c, login.c, shop.c,
skill_util.c, spell_effect.c}, socket/{image.c, item.c}: Fix printf like
format specifiers. At least one of them fixes a means to crash the server.
Andreas Kirschbaum 2005-07-14
Show difference between Revision 1.61 and 1.62
Revision 1.61ryo_saeba 2005/03/22 17:22:42 +3 -7
Fix broken win32 compilation. Remove sleep(1) in hide commandas that causes the whole server to sleep
Show difference between Revision 1.60 and 1.61
Revision 1.60majorwoo 2005/03/21 19:54:00 +9 -5
Add's a slight pause to dm's using the hide command to make it look more realistic.
Show difference between Revision 1.59 and 1.60
Revision 1.59mwedel 2005/03/20 00:22:59 +6 -1
server/c_wiz.c: change command_free() and command_remove() to always
process the head of the object - doing this operations on the non head
will typically always cause problems.
MSW 2005-03-19
Show difference between Revision 1.58 and 1.59
Revision 1.58akirschbaum 2005/03/06 14:38:54 +2 -2
common/{map.c, readable.c, treasure.c}, crossedit/Attr.c, server/{apply.c,
attack.c, c_wiz.c, init.c, monster.c, pets.c, shop.c, skill_util.c, skills.c,
spell_attack.c, spell_effect.c, time.c}, socket/{info.c, request.c}: Add
missing newline character to LOG() messages.
Show difference between Revision 1.57 and 1.58
Revision 1.57ryo_saeba 2004/12/25 12:09:29 +4 -2
Patches #1086095 and 1088385, party password length tweak
Show difference between Revision 1.56 and 1.57
Revision 1.56ryo_saeba 2004/12/21 17:29:47 +7 -1
Fix crash when dm using free
Show difference between Revision 1.55 and 1.56
Revision 1.55ryo_saeba 2004/11/25 12:47:58 +2 -2
Apply a few patches from tracker
Show difference between Revision 1.54 and 1.55
Revision 1.54ryo_saeba 2004/09/26 04:42:34 +11 -1
Add 'stack_clear' command.
Show difference between Revision 1.53 and 1.54
Revision 1.53ryo_saeba 2004/09/05 17:11:27 +10 -1
Forgot to skip blanks when item number for dm stuff
Show difference between Revision 1.52 and 1.53
Revision 1.52mwedel 2004/08/17 01:41:04 +189 -159
server/apply.c: fix_auto_apply() - add some debugging statements, as I've
seen crashes caused by monsters with scrolls with no spells - need to
figure out how those are showing up.
server/c_wiz.c: command_kick() - fix occasional crashes when player isn't
on any map when kicked. command_create() largely rewritten so it doesn't
crash the server on any malformed values passed in, add some more features
so it should be easier to create objects.
MSW 2004-08-16
Show difference between Revision 1.51 and 1.52
Revision 1.51ryo_saeba 2004/08/15 12:03:08 +335 -34
Add item stack for DMs, to ease item manipulation
Show difference between Revision 1.50 and 1.51
Revision 1.50temitchell 2004/08/02 18:27:55 +25 -3
- add event hooks for Kick and Muzzle(toggle_shout) commands
- fix CFSetQuantity by changing the int to uintand remove
- now looks for event scripts in python/events
Show difference between Revision 1.49 and 1.50
Revision 1.49mwedel 2004/06/18 02:45:29 +41 -22
server/c_wiz.c: for command_create() - check to see if 'of' parameter
is a spell archetype name, and do the right thing if it is. This
allows things like 'create rod_heavy of spell_large_lightning'.
Note that the command_create is still a seriously broken function
in many regards.
server/rune.c: Fix write_rune() when trying to find the spell in encase
in the rune - assignment was incorrect, so it always took the last
matching spell in the players inventory, not the best matching spell.
server/spell_util.c: Change the call to prayer_failure() so that its
potency is based on how badly short the player is short of grace. Eg,
if only 1 point short, potency of 1. This changes from before where
the potency was always the difference in mana.
MSW 2004-06-17
Show difference between Revision 1.48 and 1.49
Revision 1.48mwedel 2004/06/16 02:09:44 +6 -2
server/attack.c: Fix hit_with_arrow() so that it uses the proper map
when inserting the arrow.
server/c_wiz.c: Add note about brokeness of command_create()
server/spell_effect.c: execute_word_of_recall() - don't attempt recall
if player isn't on any map.
MSW 2004-06-15
Show difference between Revision 1.47 and 1.48
Revision 1.47mwedel 2004/06/11 01:12:57 +21 -56
common/object.c: insert_map_in_ob() - remove CAN_MERGE checks after the
map translation - otherwise, we can have bogus coordinates
that are used for GET_MAP_OB.
random_maps/style.c: pick_random_object() - have it return null object
(and probably crash) instead of getting into an infinite loop.
server/c_wiz.c: command_kick() - check FLAG_FREED of player. Remove all
the broken skill/exp object granting code in command_possess() - this
is probably still a broken function.
server/spell_attack.c: mood_change() - fix get_map_ob call - wasn't using
correct coordinate variables, resulting in crash.
MSW 2004-06-10
Show difference between Revision 1.46 and 1.47
Revision 1.46mwedel 2004/06/01 01:32:06 +2 -2
add newline to end of file - prevents gcc warning message.
MSW 2004-05-31
Show difference between Revision 1.45 and 1.46
Revision 1.45ryo_saeba 2004/05/24 16:03:12 +2 -2
Missing return value :p
Show difference between Revision 1.44 and 1.45
Revision 1.44ryo_saeba 2004/05/24 16:00:17 +75 -23
new dmhide command, dm + hide
Show difference between Revision 1.43 and 1.44
Revision 1.43ryo_saeba 2004/05/16 04:06:59 +39 -2
Fix learn_spell
Show difference between Revision 1.42 and 1.43
Revision 1.42mwedel 2004/05/16 00:29:50 +29 -23
server/c_wiz.c: Modify command_banish() to record dm name, player name,
and date of command.
MSW 2004-05-15
Show difference between Revision 1.41 and 1.42
Revision 1.41ryo_saeba 2004/05/08 02:50:43 +19 -11
Nodm tweak
Show difference between Revision 1.40 and 1.41
Revision 1.40ryo_saeba 2004/03/26 15:59:28 +6 -1
Win32 fixes
Show difference between Revision 1.39 and 1.40
Revision 1.39ryo_saeba 2004/03/12 13:04:15 +16 -11
Change join/leave messages color, make DMs more 'stealthy'
Show difference between Revision 1.38 and 1.39
Revision 1.38mwedel 2004/02/16 18:22:24 +11 -6
doc/Developers/spells: Update type on casting_time - include suggested value
for times so that results are hopefully more coherent.
lib/archetypes, treasures.bld: rebuilt.
lib/treasures: Change some of the 'spelldirect' types to just the actual spells,
so that two seperate archs don't have to be maintained.
server/c_wiz.c: Add some basic sanity checking to command_remove() so that
we don't unnecessarily crash.
server/skills.c: write_scroll() - have it reset value of the scroll so that
the scrolls so inscribed by players have better chance of merging.
server/spell_attack.c: cast_cone() - if the caster is a trap, have it hit
the center space, so that characters who detonate cone traps will get hit
by the effects. Also, reduce range of cone spells if they are going
in all directions, compared to being targetted in a speciifc direction.
server/spell_util.c: cast_spell() - put lower limit on player speed_left value
when casting spells - since higher up the calling stack, the player speed
is also reduced, we need to set the lower limit here so that the player
isn't out of action longer than they should be.
MSW 2004-02-16
Show difference between Revision 1.37 and 1.38
Revision 1.37mwedel 2003/09/23 00:40:39 +24 -19
Add a little checking to 'kick' command so we don't kick a player that
is already removed, causing a crash. Also, fix up the formatting
of the command_kcik function.
MSW 2003-09-22
Show difference between Revision 1.36 and 1.37
Revision 1.36mwedel 2003/09/13 00:02:09 +45 -57
Updated code for skill + spell code. skills and spells are now objects.
tuning these now means changing the archetypes. New spells can now
be added just by making a new archetype. Lots of code cleanup
also done.
MSW 2003-09-12
Show difference between Revision 1.35 and 1.36
Revision 1.35temitchell 2003/08/21 15:00:07 +35 -35
- moved get_other_player_from_name to beginning of the file to clear
"assignment makes pointer from int without a cast" warnings up.
Show difference between Revision 1.34 and 1.35
Revision 1.34temitchell 2003/07/25 21:10:40 +46 -6
- addition of Banish command. This ad a new file for ban.c to check in
var called banish where banished IPs are stored.
- modified kick command to kill the socket and really kick the player.
- touched up the get player by name so the messages are more generic.
Show difference between Revision 1.33 and 1.34
Revision 1.33temitchell 2003/07/23 23:21:14 +31 -2
- added toggle_shout DM command to disable/enable player shouting
Show difference between Revision 1.32 and 1.33
Revision 1.32tchize 2003/06/30 14:14:13 +23 -1


Various code optimisations to help preventing peeks at maploads. Includes:
* rewritten saving of objects, removed needs for sprintf calls and most strlen calls
* modified map structures for saving of a very small amount of additionnal precalculated datas for weather
* added FAST_xxx macros for fast string manipulations
Show difference between Revision 1.31 and 1.32
Revision 1.31mwedel 2003/03/07 23:35:32 +2 -2
Patch for 64 bit experience total, as well as flexible number of levels.
Basically, max level is now dynamic, set in exp_table file. Experience
is now a 64 bit value, so much higher totals now allowed. To
allow for flexible levels, add new function - did_make_save() which is used
for players/monsters to see if they make their saving throw - this is
necessary because the savethrow[] array may not be as large as max level -
did_make_save takes this into account.
NOTE: If your updating a server, you will need to copy over/set up a
new exp_table file that has max_levels defined and at least one of the
tables uncommented. There are no longer any compiled in defaults
--
configure, configure.ac: Add AC_CHECK_SIZEOF calls for long and long long
so we can know which one to use for 64 bit support (other checks
may need to be added)
common/exp.c: Remove levels table, replace it with a 64 bit pointer.
Change init_experience to allocate appropriately sized table, have it
read max_level value from exp_table file. Replace atoi calls with
atoll to get 64 bit value. Update dump_experience to properly
print 64 bit values.
common/info.c: Update dump routines that dump exp to properly print
64 bit values.
common/init.c: Add initializing for settings.max_level value.
common/item.c: Update sprintf's to handle 64 bit output of exp (speed)
value in objects.
common/living.c: change MAX_EXP define, update MAX_EXP_IN_OBJ define,
add MAX_SAVE_LEVEL which corresponds to how large the savethrow
table is. Change MAXLEVEL to settings.max_level. Change level_exp()
to return 64 bit value, other updates in functions to use 64 bit
values. Add did_make_save() function.
common/loader.l, common/loader.c: Update load/save routins of exp to
deal with 64 bit values.
common/map.c: Update calculate_difficulty to use 64 bit values when
storing exp - unlikely to make a difference, since unlikely any map
will get to a point where it has that much exp on it.
common/porting.c: Remove dead code from save_long(), add save_long_long()
to save 64 bit values.
include/autoconf.h.in: SIZEOF_LONG and SIZEOF_LONG_LONG values added.
include/global.h: Add code to typedef sint64/uint64 types based on what
type gives us those values. Add max_level to settings array.
include/libproto.h: rebuilt.
include/living.h: Replace exp field with 64 bit value.
include/player.h: Update party kill log exp tracking to have 64 bit
values.
lib/exp_table: Udpate comments about max_level, uncomment what
was the default table so new installs have working table.
Add 5 levels to all the tables.
random_maps/monster.c: Update place_monsters to use 64 bit when storing
exp total for map/per square.
server/apply.c: Replace MAXLEVEL with settings.max_level, add
did_make_save calls where appropriate
server/c_misc.c: have statistics command properly print 64 bit
exp value.
server/c_wiz.c: Have stats command properly display 64 bit value.
server/hiscore.c: Replace exp values with 64 bit values, update to
properly load/display them.
server/player.c: replace savethrow[] reference with did_make_save()
server/skill_util.c: Update skills command to properly show 64 bit exp values.
server/spell_effect.c: replace savethrow[] reference with did_make_save(),
allow players to cast directors right beneath themselves, but other
walls must be on empty space.
MSW 2003-03-07
Show difference between Revision 1.30 and 1.31
Revision 1.30mwedel 2003/02/16 20:37:37 +3 -4
More bugfixes:
server/c_wiz.c: Fix reset command - while it deleted the maps, it made things
so that it never got removed from the map listing - instead, just let
flush_old_maps do most of the work.
server/main.c: If player tries to enter a random map that has been reset
and that we have no informatino about (eg, going up in a dungeon),
just say the exit is closed instead of making a completely random map
that usually isn't in keeping with the dungeon (and still won't lead
outdoors)
server/move.c: In move_teleporter(), change it so that if a player uses
a shop map yet there is no place to put the player, just drop him on
top of a monster - this fixes problem of players getting trapped inside
of shops in random dungeons.
MSW 2003-02-16
Show difference between Revision 1.29 and 1.30
Revision 1.29mwedel 2003/01/08 02:39:19 +3 -1
Bulk of this commit is to improve code for tiled maps - replace
wall/blocks_magic/blocks_cleric, etc with get_map_flags which
also does map tiling translation as needed. This should fix a lot
of the bugs related to map tiling (there are sure to be more out
there - all the get_map_ob still need to be checked).
Other changes - many spells stopped progressing on spaces that
blocked view - that is now removed - didn't make a lot of sense.
Other fixes - some cleric spells (eg, word of recall) checked to
see if magic was prohibited, didn't check to see if cleric
was prohibited.
Clean up some bugs in the lighting code that would cause erroneous
results. Also, allow players to see immediately around them on
outdoor maps no matter how dark the map really is - behaviour
on indoor maps is the same.
Lots of code reformatted, and lots of obsoleted/dead code removed.
Add max range to dimension door.
Fix magic map - got broken when the layer stuff was redone - was
not showing proper colors. IT also works sensibly on tiled maps
now - rather than display based on the map, it gives the player a
50x50 area centered on where the player is.
Change fire_bow - move special player fire modes into own function -
makes code much cleaner.
Hopefully this fixes more bugs than it introduces.
common/los.c, common/map.c, common/object.c, crossedit/Edit.c,
include/libproto.h, include/sockproto.h, include/map.h,
include/spellist.h, include/sproto.h, random_maps/treasure.c,
random_maps/wall.c, server/attack.c, server/c_misc.c,
server/c_wiz.c, server/disease.c, server/main.c, server/monster.c,
server/pets.c, server/player.c, server/rune.c, server/shop.c,
server/skill_util.c, server/skills.c, server/spell_effect.c,
server/spell_util.c, server/time.c, socket/info.c: See note above
server/apply.c: Limit number of times weapon can be enchanted so
that it won't overflow item_power. Modify enchant armor
to enchant as normal armor is enchanted, also only allows one
item to be enchanted.
MSW 2002-01-07
Show difference between Revision 1.28 and 1.29
Revision 1.28garbled 2002/12/18 10:39:58 +139 -1
Add new DM command "possess". This command allows a DM to possess the body
of a monster.

Also, fix a bug in the new implementation of summon_pet()
Show difference between Revision 1.27 and 1.28
Revision 1.27garbled 2002/11/12 22:57:32 +13 -19
#ifdef REAL_WIZ -> settings.real_wiz
#ifdef RECYCLE_TMP_MAPS -> settings.recycle_tmp_maps
Even found a cute bug while fixing up real_wiz.
Show difference between Revision 1.26 and 1.27
Revision 1.26mwedel 2002/10/12 00:34:29 +10 -9
Experience cleanup - the main functional change is that no upper limit of
exp in an individual skill, save for the limit that there is an upper
limit of total exp a player can have. Thus, if a player concentrates
complete in one skill, he could get to level 110 in it. A lot of
code cleanup was done - so much had gotten added to the exp code that it
was a real mess.
common/living.c: re-arrange some of the code, so all the exp related
functions are together. remove adjust_exp(), change check_dm_add_exp_to_obj()
to check_exp_adjust. Add new functions add_player_exp(), check_exp_loss(),
check_exp_add(), subtract_player_exp().
include/libproto.h: rebuilt.
server/c_wiz.c: Update command_addexp() to use new exp functions.
server/gods.c: Update lose_priest_exp() to use new exp functions.
MSW 2002-10-11
Show difference between Revision 1.25 and 1.26
Revision 1.25mwedel 2002/09/28 02:19:40 +29 -6
Mostly bugfixes, but the addition of a wiz 'hide' command which makes the
wiz out of sight so to speak.
--
common/loader.l, common/loader.c: Fix bug where flag values were being saved
with actual value of the flag (eg, 32768, 16, etc) instead of 1/0 value -
Code effectively worked the same, just was a bit odd looking at save files.
include/player.h: Add hidden element to player structure.
include/sproto.h: Add command_hide(), update proto for players_on_map()
lib/Makefile.am, lib/Makefile.in: add wizhelp/hide file.
server/apply.c: Add error checking to converts so it doesn't crash if the
converter doesn't have a proper other_arch. Modify shopmats so that they
don't transport spell effects, like fireballs an burning hands.
server/attack.c: Modify code so players can drain other players exp.
server/c_misc.c: Modify various functions to not show info on hidden DM.
server/c_wiz.c: Add command_hide(), clean up command_invisible() a bit.
server/commands.c: Add hide command to dispatch table.
server/main.c: Add code to not update players on map for hidden dm.
server/player.c: Give hidden dm perpetual invisiblity.
server/skills.c: Only get exp if you actually stole an item - fixes abuse
whereby players who couldn't carry item could continually 'steal' it from
monster and just gain exp.
server/swap.c: modify players_on_map() to take addition arg to determine if
real players on map should be shown, or if we shouldn't count hidden dms.
socket/info.c: Modify code so that oldsockets don't get reports on high verbose
messages.
socket/metaserver.c: Modify metaserver update to not include hidden dms.
utils/Makefile.in: update datestmp.
MSW 2002-09-27
Show difference between Revision 1.24 and 1.25
Revision 1.24mwedel 2002/09/23 01:27:54 +2 -2
server/apply.c, server/c_wiz.c, server/player.c: When players saves, reset
pl->map to be NULL - otherwise, the map they saved on can reset, and the
memory pl->map points to gets re-used, so when it tries to access that memory,
it crashes. Changes to apply.c and c_wiz.c necessary to make sure we do map
cleanup before calling play_again.
MSW 2002-09-22
Show difference between Revision 1.23 and 1.24
Revision 1.23mwedel 2002/09/07 17:08:07 +3 -3
Automake patch - all files.
The changes for the source files is using confdir instead of
datadir.
Patch by Jacek Konieczny (jajcus@bnet.pl), applied by Mark Wedel,
2002-09-07.
Show difference between Revision 1.22 and 1.23
Revision 1.22mwedel 2002/07/18 00:59:17 +1 -1
Fix freeze count to 100 like the help says.
MSW 2002-07-17
Show difference between Revision 1.21 and 1.22
Revision 1.21mwedel 2002/07/17 23:45:35 +96 -56
Add dm command 'freeze' which freezes a player from doing anything for some
amount of time.
include/sproto.h: rebuilt.
lib/Makefile.in: Add freeze to wizhelp files.
lib/wizhelp/freeze: New file.
server/c_wiz.c: Add command_freeze(). Also, break out
get_other_player_from_name() - several functions need the same logic
of getting a player named X that is not us - making it a function
reduces the duplicate code. Fix some formatting for some functions.
server/commands.c: Add command_freeze to the dispatch table.
MSW 2002-07-17
Show difference between Revision 1.20 and 1.21
Revision 1.20mwedel 2002/07/14 23:57:13 +4 -4
-- Start body commit notes --
Major commit. This adds body locations which is used for equipping items.
Equipment has information which body part it gets equipped to, and monsters
have information on how which body locations they can have.

As part of this work, I also did a lot of code cleanup.

To use this, you must use up to date archetypes - the ones included
in this commit are fine - just make sure you install them. If
you don't, players will not be able to equip items.

common/arch.c: Initialize body_used to be same as body_info for
archetypes - this way when monsters are created, they can
start equipping items right away.
common/exp.c: update new_exp() - some flags it checked for before no longer
exist or have new names.
common/info.c: describe_item() now takes second parameter - update
dump_abilities to use new calling convention.
common/item.c: Add table that describes the body_info locations and
their names. Add functions that calculate item power for objects
that don't have it set. Update display functions to show
item_power in items. Update describe_monster() - use_horn/wand/rod
merged into just use_range. Modify describe_item() to take second
paramater - who the item is being described for. Show item_power
in describe_item.
common/living.c: Pull out MAXLEVEL from being defined in this file -
define in in define.h, since other files use it. Add NUM_STATS
define - replace hard coded values of having just 7 stats with it.
Update change_abil to not display that the player has a new
attacktype when equipping a bow that has it - fix_player() ignores
the attacktype of the bow, so it was incorrect information.
fix_player(): Initialize player ranges structure to null -
will get filled in by code in function, updated to deal with
updating the body_used data from body_info in the objects.
Replace instances of last_heal with gen_sp_armour. Rearrange
some code to make function more readable.
common/loader.c, common/loader.l: Remove the variable_const information - no
longer needed and confusing for new people when adding in new object
elements. Add set_body_info() - parses the string from the load file and
sets the appropriate array element. Add check_loaded_object() - does
sanity checking for an object after finished loading - replaces need for
long processing directive in the actual rules by having seperate function.
Remove unused flags from load directives (apply_once, no_pretext,
can_apply), add some new ones (item_power, gen_sp_armour), update others
to can_use_range. Replace flag_links with simple array that contains the
name for each corresponding flag. Update get_ob_diff to not use the V_
values and just include the actual string name - all recent changes have
done this, just updated for old stuff. Update get_ob_diff to save new
values that have been added.
common/object.c: clear_object: Modify to use memset to clear
the structure to zero - this is less error prone than listing
all the specific values, and probably faster. Also, makes it
easier to add new elements - no need to update object.c in most
cases.
common/player.c: Remove get_player_ob routine - this is now merged
in with get_player_ob in server/player.c. Remove generate_ext_title -
not used.
common/readable.c: Update to pass second argument to describe_item.
common/treasure.c: Update to calculate item_power of generated items.
Clean up a lot of code formatting. Update add_abilities
to use gen_sp_armour values, not last heal (note, it appears
the last_heal values weren't being used before). Update
calls to describe item to take second parameter.
doc/Developers/objects: Update will_apply notes, add note about
item_power, body location.
include/define.h: Comment out unused flags (flag_apply_once, flag_paralyzed,
flag_no_pretext, flag_ready_rod, flag_read_horn). Add flag_use_shield.
rename flag_use_wand to flag_use_range. rename flag_ready_wand to
flag_ready_range. Add flag_ready_scroll. Update ARMOUR_SPELLS access
macro. Add AP_PRINT flag to apply flags. Add CAN_APPLY_.. return types
for can_apply_object function.
include/includes.h: add strftime, mktime checks to this file.
include/libproto.h: rebuilt.
include/living.h: Add NUM_STATS define, update extern declarations
to use it for sizing.
include/loader.h: remove the V_.. info and xbm_.. externs that were not
used.
include/newserver.h: Remove ext_tile information.
include/object.h: Add Body_Locations structure, NUM_BODY_LOCATIONS define.
Add definitions for WILL_APPLY values. Clean up object structure -
formatting is now consistent, ordering of values groups values
together more logically. Update all types to use the int8/int16/int32
types. Several unused fields removed.
include/player.h: Update rangetype enum. Add unapplymode enum.
Clean up player structure - type updates, unused fields removed,
formatting fixed up.
include/spells.h: remove range_name extern. Update SpellTypeFrom
field to combine wand/rod/horn into spellMisc - none of the
spell casting code was differentiating these.
include/sproto.h: rebuilt.
lib/Makefile.in: Add new help files (applymode, bind, brace)
lib/archetypes: rebuilt for body_info, gen_sp_armour, item_power,
can_use_shield information.
lib/artifacts: updated for item_poer and gen_sp_armour changes.
lib/treasures: remove unused _force for player treasure.
plugin/plugin_python.c: Change FLAG_USE_WAND to FLAG_USE_RANGE.
server/apply.c: Move stftime, mktime to include/includes.h. Remove
draw_find() - one line function can just as easly be in the
code itself. Update calls to long_desc to pass second parameter.
move gravestone_text() to player.c file. Add direction parameter to
apply_scroll() - in this way monsters can use it properly.
Remove dead code. Update apply_special function. Add
unapply_special(), get_item_from_body_location(), unapply_for_ob(),
and can_apply_object() functions.
server/attack.c: Remove SET_FLAG(op, FLAG_PARALYZED) line - no code
was ever checking status of FLAG_PARALYZED.
server/c_misc.c: add command_body() which dumps body information for
player. Update who as idle element in player structure removed -
was not being used by anything. Add command_applymode() to
set players prefered unapply method. Remove calls to unlock_player()
in various functions - unlock_player() has not done anything
meaningful for a while.
server/c_object.c: Modify long_desc to take a second parameter
which is who is examing the object. this is needed so that we
can pass it down to some of the lower level functions.
Update calls to describe_item to pass this second parameter.
remove FLAG_NO_PRETEXT code - no archetyps were using it. When
examining objects, also tell player where to put them on.
server/c_range.c: Update legal_range() - we now store the object that
is responsible for a range in the player object, so code is
much simpler. Update change_spell() to not destroy golem
just by readying another spell - we now let players regain control
of golems after switching to another range. Update change_spell
to use item name of object for range description.
server/c_wiz.c: remove reference to count_left from player object -
field removed from structure.
server/commands.c: add new commands (applymode, body) to command dispatch
table.
server/login.c: Remove unlock_player() and lock_player() and calls to it -
current checking of names at login should be sufficient to
prevent duplicates. Remove dead code from check_name. Update
load/save code for unapply mode value. Add set_flag(op,
FLAG_USE_SHIELD) if player is allowed to use armor - needed since
flag_use_shield is really a class feature and so is not automatically
updated for old player files.
server/main.c: Remove references to count_left. memset marker object to
NULL - seems to increase stability on metalforge server.
server/monster.c: Many updates related to the body info - monsters follow some
rules as players. Add monster_should_cast_spell function - monsters will
use this for all spellcasting related actions (abilities, scrolls, wands,
etc). Update for merged rod/horn/wand ranges. Update bow use by monsters
- they don't actually need to equip it to fire - this way we don't need to
constantly swap the monsters weapons between the bow and melee item. Use
fire_bow from player.c for most of the work. Modify scroll usage -
monster will use it when player is near, not when it first picks it up.
Add FLAG_READY_SCROLL to denote the monster has a scroll to use. Also,
monster now casts it in appropriate direciton. Merge the
monster_use_wand/rod/horn into monster_use_range. Modify
check_good_weapon and check_good_armour to just look at the stats of the
two items without needing the monster to apply it first.
server/player.c: Print motd in green so it is more noticable. Update
get_player function to do work it did before as well as that of
get_player_ob. Have get_player take a parameter which is the object of
the player if he has one. Modify to use memset to clear the player
structure - more sure fire than explicitly listing values to initialize.
Remove calls to unlock_player. Modify fire_bow so that monsters can also
use the function. Add fire_misc_object() to fire_wand/rod/horn - removes
code from fire(). Add gravesetone_text() to this file.
server/shop.c: Update to pass second parameter to describe_item().
server/skill_util.c: Update check_skill_to_fire since there are fewer
rangetypes now. change range_scroll name to range_golem, as that is
a bit more accurate for what it actually does. Modify show_skills()
to show player his item power and total of items he has equipped.
server/skills.c: Add second paramater to long_desc, remove references to
count_left.
server/spell_effect.c: Add second paramater to long_desc, remove references to
count_left. Update range_scroll to range_golem
server/spell_util.c: remove references to count_left. Update messages
if player trying to cast where he can't with new range names.
socket/info.c: Update range information and how we display what it is -
we will use the object name of the range if available. Remove
reference last_known_spell, last_shoot, last_spell, last_value
player structure fields.
socket/init.c: Remove ext_title information.
socket/request.c: Add element for life_stealing in the resistance array.
Remove references to idle, count_left in player structure. remove
ext2 title information.
MSW 2002-07-14
-- End body commit notes --
Show difference between Revision 1.19 and 1.20
Revision 1.19jbontje 2002/01/16 04:51:32 +51 -1
include/player.h include/sproto.h server/c_chat.c server/player.c:
New player command 'reply', replies to the last person who told you
something.
server/c_wiz.c: New DM command 'teleport', lets a DM teleport next
to target player, it is an inverse summon.
server/commands.c: Add hooks for 'reply' and 'teleport'.
mids 2002-01-16
Show difference between Revision 1.18 and 1.19
Revision 1.18garbled 2002/01/04 00:37:09 +121 -17
Modify the create command to accept an arbitrary number of patch arguments,
allowing a dm to create and patch a number of items in one fell swoop.
Requested by Cryo.
Show difference between Revision 1.17 and 1.18
Revision 1.17garbled 2002/01/03 16:02:34 +2 -4
Allow the loader to save objects marked for save on overlay.
Show difference between Revision 1.16 and 1.17
Revision 1.16garbled 2002/01/03 15:32:57 +25 -1
Fix a few bugs in the overlay saves and loads. Add a new DM command
overlay_save to force caving/creation of an overlay.
Show difference between Revision 1.15 and 1.16
Revision 1.15mwedel 2001/12/23 02:17:36 +70 -69
common/loader.l, common/loader.c, common/object.c, include/object.h,
socket/item.c:
Remove sub_type and sub_type2 information -
these were poorly named fields and not properly implemented.
common/treasure.c: Add missing return type to change_treasure function.
crossedit/Edit.c: Add SET_MAP_FLAGS macro to set P_NEED_UPDATE flag
before calling update_position.
include/config.h: Add NEW_WORLD_MAP selection which results in proper
emergency save paths if you are using the maps-bigworld distribution.
server/c_wiz.c: Fix the formatting (indentation) of the command_create
function. No actual changes in how it runs, but the old
formatting was really terrible and inconsistent.
server/main.c: remove call to send_mapstats_cmd
server/monster.c: Update the comment style to be proper, as well
as the comments themselves.
socket/request.c: Fix up improper indentation in esrv_update_stats.
remove send_mapstats_cmd function.
MSW 2001-12-23
Show difference between Revision 1.14 and 1.15
Revision 1.14mwedel 2001/12/15 21:31:03 +4 -4
common/object.c random_maps/Makefile.in
server/c_wiz.c server/player.c server/plugins.c server/timers.c
socket/request.c: Most of the changes are to just fix compiling warnings
or errors so that it compiles on sparc solaris with the workshop
compiler (things like }; should just be }). Declaration for alphasort
was missing in plugins.c. random_maps/Makefile.in had the wrong order in
linking - the system library needs to be linked in after the crossfire
libraries.
crossedit/App.c: Fix for running on 8 bit color - colormap was not being
initialized to usuable default value.
crossedit/xutil.c: Broken code when duplicating faces for undefined
images. That code should never really be used, as pixmaps currently
are always contiguous.
MSW 2001-12-15
Show difference between Revision 1.13 and 1.14
Revision 1.13gros 2001/10/14 02:57:14 +32 -1
Major changes: Added dynamic plugin support, removed old Guile support.
- Gros 10/14/01
Show difference between Revision 1.12 and 1.13
Revision 1.12mwedel 2001/07/13 23:11:18 +6 -5
Map tiling checkin
server/Makefile.in: Remove encounter.c file. Use cproto instead of
cextract to create proto file.
server/alchemy.c,server/attack.c,server/c_object.c,server/c_wiz.c,
server/disease.c, server/login.c, server/main.c, server/monster.c,
server/move.c, server/pets.c, server/player.c, server/resurrection.c,
server/rune.c, server/shop.c,server/skill_util.c, server/skills.c,
server/spell_effect.c, server/spell_util.c, server/swap.c, server/time.c
modified to use modified insert_ob_in_map function,
use new macros to access map structure related data.
change calls to update_all_los, remove lighting related code.
server/apply.c: modified to use new insert_ob_in_map function. Update
calls to update_object. remove RANDOM_ENCOUNTER code.
for exits, modified to use the head for valid coordinates since the
other parts may not have valid values since they are not saved out to
disk anymore.
server/c_misc.c,server/hiscore.c: modified to use new map
structure/information.
server/commands.c: remove dumplights command.
server/encounter.c: removed - code no longer used
server/init.c: remove RANDOM_ENCOUNTERS code.
server/script.c: change Script_getMapObject to return NULL since there
is no longer a map object. Modify to use new insert_ob_in_map and
update_object functions.
MSW 2001-07-13
Show difference between Revision 1.11 and 1.12
Revision 1.11mwedel 2001/05/28 23:41:53 +3 -7
Make ALLOW_SKILLS standard part of game (remove #ifdef's for it)
Files affected: common/living.c common/object.c common/treasure.c
include/config.h include/player.h server/apply.c server/attack.c
server/c_move.c server/c_range.c server/c_wiz.c server/commands.c
server/init.c server/login.c server/monster.c server/player.c
server/rune.c server/skill_util.c server/spell_util.c
Make MULTIPLE_GODS standards part of game (remove #ifdefs for it)
Files affected: common/readable.c include/spellist.h include/config.h
server/attack.c server/gods.c server/skills.c server/spell_effect.c
server/spell_util.c
doc/Makefile.in, doc/Protocol: Add protocol description file here instead
of in the client distribution.
include/global.h: Move declaration of MAX_EXP_CAT near top of file
so it is set before player.h is included.
include/newclient.h: Add CS_STAT_SKILL* values for sending skill
experience information to client.
include/newserver.h: Add skillexp value to socket struct which determines
if client wants skill experience informatiion.
include/player.h: Add skill information tracking to player structure
so we can easily know when to send updates to client.
random_maps/expand2x.c: remove unused variable to prevent compiler warnings.
random_maps/square_spiral.c: Include prototype information on all systems,
not just win32 to prevent compiler warnings.
server/skill_util.c: Initialize skill pointers to make it easier to
find skill information when we want to update client.
socket/init.c: Init socket->skillexp to 0.
socket/loop.c: Fix indentation of table - whitespace change only
socket/metaserver.c: Minor fix to prevent compile warnings (on the sprintf
that composes the data to send to the metaserver)
socket/request.c: Redo SetUp function to be more compact and IMO simpler as
wll as easier to read (functionality remains the same).
VersionCmd modified to warn users of on dxclients (code on MT)
StatsCmd added to send skill information if client wants it.
The sending of skill experience is by MT, rest of the changes by me.
MSW 2001-05-28
Show difference between Revision 1.10 and 1.11
Revision 1.10mwedel 2001/04/23 01:11:48 +12 -9
server/c_wiz.c: fix shutdown and reset_map wizard commands/function
so they no longer crash the server. MSW 2001-04-22
Show difference between Revision 1.9 and 1.10
Revision 1.9mwedel 2001/03/30 01:52:24 +2 -2
include/sproto.h, server/c_wiz.c server/main.c server/player.c socket/loop.c:
Modify leave function to take a second parameter that determines if it
should print a message about the player leaving the game or not. Proper
use of this prevents duplicate XXX left the game messages. MSW 2001-03-29
Show difference between Revision 1.8 and 1.9
Revision 1.8mwedel 2001/02/23 00:06:35 +37 -40
MSW 2001/02/22:
TODO: Add some items, remove some others, remove outline of future versions,
since it was out of date.
common/loader.l,loader.c: Declare msgbuf a static outside the lex_load function.
lex_load was otherwise clearing it each time it was called, which resulted
in empty messages for the random artifacts (since the call lex_load one
line at a time). Instead, we just zero this at start of load_object.
Original reason of this change was due to purify errors - as I look at the
code, it appears even before these changes that it was clearing the buffer
properly.
common/map.c: removing pending field from map objects.
common/re-cmp.c: Comment out some code which was resulting in too many
false compares.
include/config.h: increase default for MAX_OBJECTS. 6000 is a bit small
on current systems.
include/map.h: Remove pending field from map structure.
random_maps/treasure.c: Increase size of doorlist. Fixes crash, in that
if a random map could place 8 doors around the treasure, the list
was not terminated, so the problem would eventually try to read/dereference
random memory after the array.
server/c_misc.c: Remove pending field from maps, so remove functions
and other places that referred to it (like the maps command)
server/c_wiz.c: fix up wiz map reset command. Not really tested, but
old code had some definate problems just from visual inspection.
server/main.c: Further fix for unique exits - relative paths to unique maps
from non unique maps should now work.
server/monster.c: Various fixes - one is that should get more reliable distance
values for multipart monsters. Second, modify dist_att to calculate from
closest part of monster, and not the head of the monster.
server/pets.c: Remove code dealing with pending objects.
server/player.c: Don't remove invisible objects in players inventory when
playing with permadeath mode.
server/spell_util.c: If you try to cast denied spell, it no longer costs any
spellpoints.
socket/item.c: Fix bug where it was using 'item' protocol command instead of
'item1'
End of MSW 2001/02/22 checkin.
Show difference between Revision 1.7 and 1.8
Revision 1.7cvs 2000/12/27 01:53:35 +45 -2
MSW 2000/12/26:
Checkin of Jan's new god intervention code. I haven't played around with
it much, but I haven't seen any really obvious problems.
common/living.c: remove learn_prayer_chance
common/treasure.c: Various changes to treasure generation - mostly to
deal with starting equipment and putting it in the inventory.
doc/crossfire.doc: Update docs on god intervention.
include/define.h: GT_... flags removed.
include/treasure.h: GT_... flags added. Addition flags added from
what was in define.h before.
lib/archetypes, lib/crossfire.png, lib/treasures: Updated with new
archetypes and treasures.
random_maps/standalone.c,server/rune.c,server/time.c: Calls to
create_treasure updated
server/apply.c: New functions for god intervention added, update calls
to create_treasure, other god related changes.
server/c_wiz.c: Calls to create_treasure updated, various functions to
allow DM's to learn/unlearn spells added.
server/commands.c: Various commands added to the wiz set of commands.
See commen for c_wiz.c
server/disease.c: Changes to reduce_symptoms
server/gods.c: Numerous updates for god intervention code.
server/player.c: Modifications for starting player equipment.
server/skill_util.c: Display the god the character worships when they
issue the skills command.
server/skills.c: Minor cosmetic change made to message when praying on altar.
server/spell_effect.c: Changes related to gods, cure spells, and
generation of treasures & items.
End of MSW 2000/12/26 checkin.
Show difference between Revision 1.6 and 1.7
Revision 1.6cvs 2000/12/18 01:38:25 +11 -1
MSW 2000/12/17: Various changes. Note that the scope of files in this checkin
make it appear that a lot was changed, but in fact it was mostly just
re-orginization - very little code has actually changed.
include/autoconf.h.in: Add HAVE_LIBDES to file.
include/config.h: Remove comments after defines for MAP_MIN/MAX timeouts.
This just removes some warnings during compile. comments are now
on lines by themselves.
include/player.h: remove shootstrength for player structure. It was unused.
server/Makefile.in: remove input.c file, add c_range.c file.
server/c_chat.c: remove command_last, add command_shout and command_tell
from input.c to this file. Also fix bug in command tell which
would let players crash server at will.
server/c_misc.c,server/c_object.c: Relocate many functions
from input.c into these files.
server/c_move.c, server/c_new.c: Add standard crossfire banner comment.
server/c_range.c: New file - contains range related commands,
including spell casting (relocated from input.c)
server/c_wiz.c: move command_invisible from input.c into this file.
server/commands.c: Remove unused commands (bell, last, strength)
server/input.c: removed file.
server/main.c: Change HAVE_DES_H to HAVE_LIBDES
server/player.c: When choosing a race, draw it facing south for best
presentation of image.
server/spell_util.c: Remove dead code (#if 0 shootstrength related
code)
socket/loop.c: remove unused variables.
NOTE: Due to the addition/removal of files, you will need to do
'config.status; make depend; make' from the top level directory for
everything to be compiled properly.
End of MSW 2000/12/17 checkin.
Show difference between Revision 1.5 and 1.6
Revision 1.5jec 2000/05/26 04:50:49 +3 -3
* apply() cleanup patch 26/5/2000
Show difference between Revision 1.4 and 1.5
Revision 1.4cvs 2000/04/27 02:35:01 +4 -4
common/arch.c, common/loader.l (loader.c): Modify the load routines
to strip off trailing whitespace in object names and other_arch fields -
I believe this is why altars to Sorig did not generally work, and while
generally that white space should not exist, doing a little extra checking
for it is not a bad idea - MSW 4/26/2000

Add HOLY_ALTAR type, and use that for praying over for gods and the
like.
doc/crossfire.doc: Add description of HOLY_ALTAR type and meaning
of fields.
common/map.c: Disable consecration code for altars.
include/define.h: Add type for HOLY_ALTAR
include/sproto.h: Update for change of some functions below.
server/c_wiz.c: Modify setgod command to call become_follower with
proper second arg.
server/gods.c: Change become_follower to take object pointer to god instead
of name, since the holy_altar has the pointer in its other_arch.
Modify pray_at_altar to use the new fields, as well as fixed
what seemed to be numerous bugs in that function.
sever/skills.c: Change check from ALTAR to HOLY_ALTAR, also change
check to see if HOLY_ALTAR is consecrated by looking at the
other_arch field.
server/spell_effect.c: Update consecrate so that caster must be
higher effective level than the altar, also update for
differing fields.
maps/thomas/sisters/shrine0, map/thomas/sisters/tower0: Remove
title from altars on these maps - these were the only two maps
using old style altars consecrated to a god. Since it appears the
real purpose of the altars on these maps was to trigger something
else, they were kept as old style altars.
arch/gods/altars (relocated from arch/indoors, as I think the new
location makes more logical sense): Update for new fields/format.
This also affects lib/archetypes, lib/bmaps.paths, lib/crossfire.xpm,
lib/crossfire.cfb
lib/adm/archsearch.pl: Modified to hunt out old archetypes - some of the
changes could be useful in general cases.
MSW 4/26/2000
Show difference between Revision 1.3 and 1.4
Revision 1.3jec 2000/04/17 09:18:13 +2 -2
See CHANGES file.
Show difference between Revision 1.2 and 1.3
Revision 1.2cvs 1999/07/13 01:03:04 +0 -0

Global commit for 0.95.4 - most files have no changes but just have
differing headers between my local RCS and the CVS versions and need to
get synced up.
Show difference between Revision 1.1 and 1.2
Revision 1.1uid200 1999/04/02 13:10:04 None
Initial revision
First version
Revision 1.1.1.1uid200 1999/04/02 13:10:04 +0 -0
First CVS revsion: crossfire-0.95.3
Show difference between Revision 1.1 and 1.1.1.1


File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:31