lib/archetypes: Update to keep in sync with arch tree. Changes to
about a dozen arch's to remove the 'a' in their name. MSW 6/27/2000
3 lines of code changed in 1 file:
door/Locked/key2.arc, misc/Container/bag.arc, misc/Container/bookshelf.arc,
misc/Container/cauldron.arc, misc/Container/chest_2.arc,
misc/Container/depositbox.arc, misc/Container/key_ring.arc,
misc/Container/mailbox.arc, misc/Container/pouch.arc,
misc/Container/r_sack.arc misc/Container/sack.arc: Remove the 'a' from the
objects name. The client adds it anyways, so you see 'a a bag' for example,
but also when using the commands like 'drop that match on an item name, having
to match against the 'a ' is a bit non intuitive. MSW 6/27/2000
20 lines of code changed in 12 files:
server/c_object.c: Fix command_drop which was doing incorrect check for
invisible object - it was supposed to skip over them and only do visible
objects, instead it was doing the reverse. Fixes the 'drop command.
MSW 6/27/2000
server/input.c: Make the inventory command more robust for very long
object names - specify a maximum number of characters we will take from
the name. Without this, you could get buffer overruns that cause crashes.
No normally generated items would ever likely have names long enough to
exploit this bug however. MSW 6/27/2000
18 lines of code changed in 3 files:
INSTALL, README: Update mailing address to real-time address. MSW 6/27/2000
server/login.c: Load and save usekeys value in player save file. MSW 6/27/2000
23 lines of code changed in 4 files:
Patch by Jeffry Hantin which fixes glow objects in map.
insert_ob_in_map_simple now will call the appropriate light updating code.
Applied by MSW 6/26/2000
17 lines of code changed in 2 files:
Updated for futt.org CVS mirror site - MSW 6/26/2000
2 lines of code changed in 1 file:
server/player.c: check_pick(): Rewrite of this function to consistently
skip items that can't be picked up, and to only use a single loop over all
items on the map square.
57 lines of code changed in 2 files:
Update with new mailing list information. MSW 6/21/2000
7 lines of code changed in 1 file:
server/monster.c: Patch by Neil Muller so that corrupt/bad @match entries
will not cause the server to crash. Applied by MSW 6/21/2000
26 lines of code changed in 2 files:
lib/archetypes: rebuilt for 0.95.6
lib/collect.pl: Modify to search the archetypes directories in alphabetical
order - before I believe they were collected in basically inode order.
This should make it easier to multiple people to run the collect script
not have basically an entirely new archetyeps file. MSW 6/21/2000
7 lines of code changed in 2 files:
server/commands.c; server/c_object.c: dump_object_from_tag(): Removed
broken command. Fixes server crashes very easily triggered by players.
server/attack.c: deathstrike_player(): Check for def_lev == 0 very early
(and print error message if we find such an invalid level). Should fix
server crash in case archetypes or maps get broken again in that an
alive object has level < 1.
16 lines of code changed in 4 files:
Makefile.in: Update version to 0.95.6
include/patchlevel.h: Update to .6 for 0.95.6 release
common/porting.c, include/config.h, include/loader.h, include/skills.h,
include/spells.h, include/treasure.h, include/version.h, random_maps/style.c:
Update my mail address and copyright date. Mostly committed to sync
up my data with the CVS repository - MSW 6/20/2000
29 lines of code changed in 11 files:
Fixed a problem in treasure.c which would cause an infinite loop.
Added two new special-exit types to special.c --PeterM
30 lines of code changed in 2 files:
configure.in: Update for 0.95.6 release.
x11.c: Change MAX_BUF definition in to match that in config.h
Update README for necessary libraries.
16 lines of code changed in 5 files:
Update for 0.95.6 release - MSW 6/20/2000
3 lines of code changed in 1 file:
*** empty log message ***
1 lines of code changed in 1 file:
Made lockpicks and holy symbols join too.
2 lines of code changed in 2 files:
Changes file entry for above.
4 lines of code changed in 1 file:
Made these suckers so they'll join: added nrof field. --PeterM
1 lines of code changed in 1 file:
random_maps/treasure.c server/apply.c: made containers able to
have more than one treasure in them, made a fix to treasure.c, which would
change the options given to it in an unintended way. --PeterM 6/20/2000
8 lines of code changed in 3 files:
common/living.c: fix_player(): Bugfix: Don't reset FLAG_FLYING,
FLAG_REFL_SPELL, FLAG_REFL_MISSILE and FLAG_SEE_IN_DARK if the archetype
has these flags.
14 lines of code changed in 2 files:
Modifed the map editor so converters would be easier to edit. --PeterM
2 lines of code changed in 1 file:
Log messages.
4 lines of code changed in 1 file:
Lots of work done on random maps.
decor.c: tiling option added. (Fill the whole map).
monster.c: copy inventory
exit.c: preserved connectedness
random_map.c: new function for wrting map params
floor.c: fix a crashing bug if there's no floor
rproto.h: prototypes
treasure.c: fix a crashing bug with treasurestyle map
special.c: added a new type of special, an exit to a goldroom. --PeterM
302 lines of code changed in 8 files:
common/button.c: I needed to use a field to store 'connected' values
so I could copy sections of one map into another and have connectedness
preserved. --PeterM
lib/treasures: new treasure type "random_coin" for a style map. --PeterM
59 lines of code changed in 2 files:
fixed a conflict.
3 lines of code changed in 1 file:
server/input.c: command_cast_spell(): Bugfix: Call check_skill_to_fire()
even for wizards because this function has the important side effect
of setting the current skill and experience objects.
6 lines of code changed in 2 files:
server/apply.c: apply_treasure(): Bugfix: We need to trigger runes as
they are found in the treasure chest, because move_rune() will no longer
trigger them for us.
20 lines of code changed in 2 files:
Applied a fix from Neil Muller which makes it impossible to
identify fountains using the Alch skill. --PeterM
1 lines of code changed in 1 file:
Changed the naming scheme for random maps so they won't
grow indefinitely.
3 lines of code changed in 1 file:
Update README for necessary libraries.
configure.in, configure: Re-order testing of Xext, Imlib where we still
have the any special link flags set. Also, when finding these, explicity
set them in the X_LIBS variable and not the default, since they are only
needed for the X11 client. MSW 6/16/2000
76 lines of code changed in 3 files:
Updated the INSTALL directions - change --libdir to --datadir. MSW 6/16/2000
6 lines of code changed in 2 files:
*** empty log message ***
3 lines of code changed in 1 file:
A few improvements: extra fields for certain
objects such as creators for easier editing.
25 lines of code changed in 2 files:
Updated doc on magical walls.
6 lines of code changed in 1 file:
Comment on wall change I did.
10 lines of code changed in 1 file:
Modified how firewalls worked. Now they can be triggered with handles.
3 lines of code changed in 3 files:
Modified how firewalls worked. Can now trigger them with handles.
9 lines of code changed in 2 files:
MANSUFFIX = 6, but the Makefile wants to install into $(mandir)/man1, this
causes man not to find the manpage. Change MAN1 = $(mandir)/man6 tp MAN =
$(mandir)/man6.
1 lines of code changed in 1 file:
exit.c: won't crash if named final_map doesn't exist
room_gen_onion.c: reordered the options more sanely
special.c: fixed a crash-bug: nuke_map would nuke parts of monsters, but
not the whole monster.
13 lines of code changed in 3 files:
server/skill_util.c: Fix type in change_skill - was doing an == operation
when it should just have been an =. MSW 6/13/2000
4 lines of code changed in 2 files:
common/anim.c: animation_object() - return if object does not have a valid
animation after logging error. Before, we logged the error and would
promptly crash. MSW 6/13/2000
7 lines of code changed in 2 files:
server/apply.c: apply_treasure(): Bugfix: Set FLAG_NO_APPLY before
moving object to the top.
5 lines of code changed in 2 files:
server/time.c: move_marker(): Bugfix: Call update_ob_speed() after
changing force->speed.
4 lines of code changed in 2 files:
server/spell_util.c: move_swarm_spell(): Improved distribution of
fired objects. Fixed starting position of fired objects to be able to
hit targets immediately in front the caster. - Patch by Jeffrey Hantin.
38 lines of code changed in 2 files:
Assigned proper races to these archetypes. --PeterM
132 lines of code changed in 134 files:
Stuff I done. --PeterM
23 lines of code changed in 1 file:
common/loader.l: Fix handling of objects with no animation. Fixes server
crash if object's archetype has an animation, but object doesn't.
common/loader.l: get_ob_diff(): Bugfix: Issue a "is_animated 0" line
if the object has an animation, but doesn't have FLAG_ANIMATE.
server/apply.c: manual_apply() and monster_apply_special(): Don't check
for FLAG_UNPAID if object is applied. This should make the code more
robust if an unpaid item get's applied accidently.
server/apply.c: apply_special(): New optional flags AP_NO_MERGE and
AP_IGNORE_CURSE.
server/monster.c: find_mon_throw_ob(); server/skills.c: find_throw_ob():
Bugfix: Use AP_NO_MERGE flag to prevent unapplied object be merged with
other objects.
server/spell_effect.c: animate_weapon: Bugfixes: Correctly unapply
weapon. Don't set FLAG_APPLIED directly on weapon in golem, but use
apply_special(). Don't call esrv_send_item() when caster is not a player
(fixes server crash if monster casts this spell).
114 lines of code changed in 8 files:
Fix which gives monsters their treasures/abilities in "final maps"
PeterM
2 lines of code changed in 1 file:
Contributed code for disease fixes.
1 lines of code changed in 1 file:
Various improvements from jhantin@derringer.net:
* fixed reversed strstr() calls
* added a 'force' argument to infect_object(): if set, skip disease wc
roll
* pulled disease susceptibility checking out into its own function
* diseases in an immune carrier last forever
* diseased needles use infect_object() with the force flag set
* cast_cause_disease() sets the force flag so it always catches on the
first try
* NDI_UNIQUE on "You infect %s with %s!" only if you infect a player
50 lines of code changed in 3 files:
Races changed.
3 lines of code changed in 3 files:
common/button.c: do_mood_floor(): Bugfixes: Only players can have pets.
Call add_friendly_object() for friendly monsters.
server/spell_effect.c and server/spell_util.c: Several functions: Only
add a pet if there really is a pet's owner, and it's a player.
server/spell_effect.c: cast_charm() and cast_charm_undead(): Bugfixes:
Only players can cast these spells. This fixes server crash if
a monster casted a charm spell, and the charmed pet was killed.
Call add_friendly_object for friendly monsters.
common/friend.c: remove_friendly_object(): Use llevError for error
messages.
common/living.c: fix_player(); server/gods.c: tailor_god_spell();
server/spell_effect.c: summon_avatar() and animate_weapon(): Bugfix: Set
a string to NULL after calling free_string(). This fixes a nasty bug
that caused the string's reference count drop below 0, which resulted
in corruption of malloc()'s internal data structures (and possibly
server crashes).
server/time.c: move_creator(): Bugfix: Call free_string() to free old
values of op->name and op->title before overwriting them with new values.
common/object.c: insert_ob_in_map_simple() and insert_ob_in_map():
Check that we don't insert freed objects.
server/attack.c: hit_player_attacktype() and hit_player(): Bugfix: Check
that find_god() really found a god, and that 'god->slaying' is not NULL.
Fixes crash if a monster casted turn undead and actually hit something.
server/attack.c: hit_player(): Check that a pet's owner is a player.
Prevents server crashes if a monster has a pet monster due to a bug
somewhere. Use llevError for error message.
server/time.c: move_arrow(): Use llevDebug level for "Arrow had no
map" message.
server/c_object.c, server/spell_effect.c, server/spell_util.c: Bugfixes:
Added some missing checks for destroyed objects. Use was_destroyed()
or return value of insert_ob_in_map() to check for destroyed objects,
not FLAG_FREED or FLAG_REMOVED. Don't use op->count of destroyed objects.
server/shop.c: get_payment2(): Type of tag is 'tag_t', not 'long'.
server/spell_effect.c: animate_bomb(): Fix environment checks.
server/spell_util.c: fire_bolt(): Bugfix: Set level of bolt.
server/spell_util.c: explosion(): Bugfix: Set FLAG_NO_APPLY before
moving the exploding object to the top.
server/spell_util.c: put_a_monster(): First create the monster
completely, then just insert its head.
server/time.c: generate_monster(): Bugfix: Don't free generators that
are used up in this function. process_object() already does this.
This fixes steambolt (which is a generator but must not used up here -
generate_monster() wasn't looking at FLAG_IS_USED_UP) and all generators
which should really be used up (because process_object() didn't expect
generate_monster() to destroy the object).
222 lines of code changed in 12 files:
Fixed a problem in monster.c which would lead to crashes due to multipart
objects not being done right.
10 lines of code changed in 4 files:
server/rune.c: trap_disarm(): Bugfix: Use SK_level() to determine
disarmer's level. Fixes server crash if multisquare monster casts
"disarm".
server/attack.c: hit_map(): Use was_destroyed() to properly check for
destroyed next object. Use llevError for error messages. Skip all
objects that are (no longer) at the specified map position.
55 lines of code changed in 3 files:
Added an option to do wall-only onions.
4 lines of code changed in 2 files:
Minor mods to random map generator code: increases in buffer size,
style == none allowed for wall.c.
15 lines of code changed in 2 files:
Increased size of map path.
1 lines of code changed in 1 file:
Increased buffer size for map paths.
6 lines of code changed in 1 file:
Minor mod restricting race.
2 lines of code changed in 1 file:
Patch to marker so that we can replace old marks.
22 lines of code changed in 1 file:
New archetypes included.
0 lines of code changed in 1 file:
Comments on stuff I've done.
9 lines of code changed in 1 file:
Added race fields.
97 lines of code changed in 97 files:
Weakened a lot of these by adding race restrictions, and other
restrictions.
12 lines of code changed in 5 files:
Re-enabled the spells. I modified the code and the arcs
to make things more reasonable.
11 lines of code changed in 1 file:
Nother mod.
2 lines of code changed in 1 file:
Updated disease doc.
5 lines of code changed in 1 file:
Modified disease to allow self-limiting in generations.
If armour > 0, wc (contageousness) is reduced by armour every
time someone new is infected.
12 lines of code changed in 2 files:
Fix for experience to go into the appropriate category.
11 lines of code changed in 1 file:
Protocol: Update for png information - addition of image command.
client.c: Add support for image command. Change initializing so we get
the protocol from the server early on - we need to know it before
we tell it what facemode we want, as it may not support png
images. do protocol version check and if the server does not
support it and the user request png, fail out.
client.h: Increase versions of protocol. Add Png_Display to possible display
modes.
command.c: Add ImageCmd function which processes the image command
(used for receipt of png images). the use of the image command
can be abstracted in the future for other image formats quite easily.
config.h.in (& config.h): Add HAVE_IMLIB_H define which lets us know if
the imlib is available.
configure.in (& configure): Add detection for imlib and set the appropriate
variables so that they get linked properly. Also add check
for Imlib.h
gx11.c: Update for png support - add display_newpng command, change
XPM_SIZE to image_size and make it a variable and not a define.
Pull in appropriate imlib support, as well as rendering of
png data. Some dead code removed. display_usepng,
display_usxpm, and display_newpng functions added.
newclient.h: Add CF_FACE_PNG constant for CS communication.
proto.h: Updated for new png functions.
x11.c: Many of the same changes as gx11.c above. More work was done here
as the 24 image size was hardcoded into this file - it is
now a variable also, so supporting other image sizes in the future
should also be quite easy. Once the Png's are rendered, they are
drawn the same was as the Xpm's are, so many checks for
display_mode==Xpm_Display also check for Png_Display.
xutil.c: Support for PNG images added. Changes are mostly related to
caching code.
Changes by Mark Wedel, 6/2/2000
597 lines of code changed in 14 files:
lib/crossfire.png: Some floors modified to no longer have transperencies.
include/newserver.h: Add Send_Face_Png made, also update versions of
the protocol
include/newclient.h: Add CF_FACE_PNG constant.
socket/request.c: Add support for receiving PNG facemode request,
ad final logic to send png images to the client.
Changes by Mark Wedel, 6/2/2000
57 lines of code changed in 5 files:
Removed the transperencies from the images commited below. MSW 6/2/2000
52 lines of code changed in 16 files:
I modified spellist.h to disable the contageous deadly disease spells.
Idunno what happened to reader.c?
15 lines of code changed in 1 file:
May 2000 »