September 2002 Commit Log

Number of Commits:
51
Number of Active Developers:
2
mwedel 2002-09-28 01:25 Rev.: 1741

Add help file.
MSW 2002-09-27

0 lines of code changed in 1 file:

mwedel 2002-09-28 01:19 Rev.: 1740

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

133 lines of code changed in 17 files:

mwedel 2002-09-27 00:40 Rev.: 1739

Sync up these files with changes AV made to the oldworld files (MSW, 2002/09/26):
Used the new activate_on_release flags to make
the ancient epigraphs in ancient castle work correctly.
--AndreasV

35 lines of code changed in 4 files:

mwedel 2002-09-24 00:34 Rev.: 1738

Add snprintf function if HAVE_SNPRINTF is not defined.
MSW 2002-09-23

16 lines of code changed in 1 file:

mwedel 2002-09-24 00:29 Rev.: 1737

Fix error of passing null value to LOG in item power diagnostics.
MSW 2002-09-23

1 lines of code changed in 1 file:

mwedel 2002-09-23 23:43 Rev.: 1736

server/pet.c: Add check to pet_move() to make sure the space we are
checking is within the map, and handle map tiling.
MSW 2002-09-23

12 lines of code changed in 2 files:

mwedel 2002-09-23 00:27 Rev.: 1735

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

7 lines of code changed in 3 files:

mwedel 2002-09-22 00:24 Rev.: 1734

Add langley (port_joseph) maps. Other locations updated as they
have links going to these set of maps.
MSW 2002-09-21

80090 lines of code changed in 40 files:

mwedel 2002-09-20 01:25 Rev.: 1733

More maps added to the bigworld distribution. Also some fixes
of existing maps.
MSW 2002-09-20

224233 lines of code changed in 30 files:

mwedel 2002-09-19 01:09 Rev.: 1732

Add wolfsburg to maps-bigworld. Other updated maps most likely because
they had exits pointing to wolfsburg which now point to the new locaton.
MSW 2002-09-18

359887 lines of code changed in 71 files:

mwedel 2002-09-18 00:17 Rev.: 1731

Various updates:
NOTE - You need to install the updated archetypes (included below)
if you run this code without the updated archs, you will likely find
many things do not work.
acinclude.m4 aclocal.m4 configure: more refinements for libpython detection.
common/button.c: Two push_button() changes - have it check for ACTIVATE_ON_
PUSH/RELEASE to determine if the object should get activated. Also,
change behaviour of TIMED_GATE so that multipart timed gates work.
common/loader.l, loader.c: Update with acttivate_on_push/release
doc/Developers/objects: Add notes about how to add flags to objects.
include/define.h: add new FLAG_ values
include/win32.h: update by pstolarc so it compiles on Win32.
lib/archetypes: rebuilt
MSW 2002-09-17

201 lines of code changed in 9 files:

mwedel 2002-09-17 23:52 Rev.: 1730

Update connected objects to have 'activate_on_push' and
'activate_on_release' flags - this corresponds to code changes in the
server. Remove some of the 'unused' entries, as they are in
fact in use now.
MSW 2002-09-17

234 lines of code changed in 41 files:

mwedel 2002-09-17 00:32 Rev.: 1729

Update for better python lib checking - should check for same
version of library as we found for header.
MSW 2002-09-15

58 lines of code changed in 3 files:

mwedel 2002-09-15 23:44 Rev.: 1728

Add dtabb (darcap) maps.
Update world maps to add a road to darcap from navar_city.
Update some signs. Add some low level maps from dtabb to be around
scorn - that makes more sense.
Many of the guild maps updated because the link to darcap now leads
someplace.
Add an underworld directory.
MSW 2002-09-15

372388 lines of code changed in 101 files:

mwedel 2002-09-15 22:07 Rev.: 1727

common/map.c: Fix problem with ordering in check_linked() - checking
for NO_PASS was before checks for inventory checkers, resulting in
inventory checkers that require the player to have an item not working.
MSW 2002-09-15

10 lines of code changed in 2 files:

mwedel 2002-09-14 23:39 Rev.: 1726

Add 1.4.0 banner change.
MSW 2002-09-14

3 lines of code changed in 1 file:

mwedel 2002-09-14 22:56 Rev.: 1725

Update for 1.4.0 release. Rename CREDITS to AUTHORS, add a NEWS file,
and remove utils/crossloop.tmpl which isn't need in CVS.
MSW 2002-09-14

136 lines of code changed in 6 files:

mwedel 2002-09-14 22:40 Rev.: 1724

common/image.c: Fix bug of not fulling clearing the cache entry
data after allocation. This resulted in various random crashes
when using cached image mode.
x11/x11.c: Add note about -facset.
CHANGES, Makefile.in, configure, configure.in: Update for 1.4 release
MSW 2002-09-14

1773 lines of code changed in 6 files:

mwedel 2002-09-14 21:15 Rev.: 1723

server/disease.c: Change move_disease() somehwat - before, if you were
not susceptible to a disease, it would never run its course. Yet you
would still get stuck with the symptoms. there was a case on
metalforge where a character had a symptom with no disease, and
had immunity, yet was still getting stuck with the symptoms. Not sure
if this change will help prevent that in the future or not.
include/player.h: Change item_power in player structure to be 16 bits -
8 bit values were getting overflowed.
Makefile.in, configure: rebuilt
MSW 2002-09-14

46 lines of code changed in 5 files:

mwedel 2002-09-13 00:32 Rev.: 1722

rebuild archetypes.
random_maps/square_spiral.c - fix off by one error in square_spiral.
add doc/plugins - update related makefiles.
lib/adm/map_info - reduce verbosity to only show real errors.
MSW 2002-09-12

220 lines of code changed in 8 files:

mwedel 2002-09-13 00:15 Rev.: 1721

add new archetypes by Todd Mitchell.
Correct name of the various monster skins.
Remove is_floor from thorns.arc
MSW 2002-09-12

635 lines of code changed in 76 files:

mwedel 2002-09-12 01:02 Rev.: 1720

Fix a few broken exits.
Move the Fogs map to to the unlinked directory.
MSW 2002-09-11

1084 lines of code changed in 4 files:

mwedel 2002-09-11 23:44 Rev.: 1719

Double the volume of the sounds - the old volumes were too low
with respect to standard sound volume that other applications
used. Hard to really quantify, but this seems to be much closer
in line with 'standard' volume that would be expected.
MSW 2002-09-11

109 lines of code changed in 29 files:

mwedel 2002-09-11 00:24 Rev.: 1718

Add updated file by pstolarc@theperlguru.com - needed for proper
building. MSW 2002-09-10

0 lines of code changed in 1 file:

mwedel 2002-09-11 00:21 Rev.: 1717

INSTALL: Update directions with new automake method.
common/Makefile.am, common/Makefile.in: Fix code for building the libproto.h
file - it was including loader.l and not loader.c
common/exp.c: Add init_experience() and dump_experience() functions -
init_experience() loads the experience table from a file. Add default
experience table into this file
common/init.c: Add call to init_experience()
common/living.c: Remove experience tables - players can select the one they
want by changing the exp_table file. Remove reference to new_levels[] -
only levels[] is used now for the formentioned reason.
include/config.h: Update notes about SIMPLE_EXP system.
include/libproto.h: rebuilt.
lib/Makefile.am, lib/Makefile.in: Add exp_table to list of files.
lib/exp_table: New file that contains experience information.
server/c_object.c: Modify command_take() to look for objects above the player
to pick up, then objects below. This fixes the bug with not being able
to use the take command on items from a chest the player opens without
moving off the space.
server/init.c: Add -mexp dump switch to dump the experience table. Allow
the simple experience system to be set in the settings file.
server/skill_util.c: Fix oddness in calc_skill_exp() which could result
in add amounts of exp given.
MSW 2002-09-10

334 lines of code changed in 15 files:

mwedel 2002-09-09 23:43 Rev.: 1716

Fix bug in check_enemy introduced in last checkin.
MSW 2002-09-09

1 lines of code changed in 1 file:

mwedel 2002-09-09 01:20 Rev.: 1715

Add dragonisland (stoneville) maps to bigworld distribution.
Other maps outside that directory were updated because they have
exits leading to stoneville.
MSW 2002-09-08

132213 lines of code changed in 44 files:

mwedel 2002-09-08 16:40 Rev.: 1714

Fix makefile for crossloop script.
MSW 2002-09-08

2 lines of code changed in 2 files:

mwedel 2002-09-08 16:23 Rev.: 1713

Added missing file.
MSW 2002-09-08

0 lines of code changed in 1 file:

mwedel 2002-09-07 16:59 Rev.: 1712

Add another missing file.

54 lines of code changed in 1 file:

mwedel 2002-09-07 16:55 Rev.: 1711

Rebuild/fix of makefiles:
Remove utils/flushlocks - player locking is no longer done, so no need
for that script.
Have crossedit put its proto.h file in the crossedit directory like it
did under old make system, and not in the include directory.
crossedit will probably go away sooner or later, so best to isolate
all of its code into its own directory.
MSW 2002-09-07

13 lines of code changed in 7 files:

mwedel 2002-09-07 16:44 Rev.: 1710

Add another missing file

32 lines of code changed in 1 file:

mwedel 2002-09-07 16:41 Rev.: 1709

Add another missing file.

697 lines of code changed in 1 file:

mwedel 2002-09-07 16:40 Rev.: 1708

Add missing file.

57 lines of code changed in 1 file:

mwedel 2002-09-07 16:34 Rev.: 1707

Add missing file.
MSW 2002-09-07

8 lines of code changed in 1 file:

mwedel 2002-09-07 16:24 Rev.: 1706

More automake cleanups.
MSW 2002-09-07

15 lines of code changed in 4 files:

mwedel 2002-09-07 16:08 Rev.: 1705

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.

31288 lines of code changed in 69 files:

mwedel 2002-09-07 15:41 Rev.: 1704

include/sproto.h: rebuilt
lib/help/killpets: New file
lib/Makefile.in: Add help/killpets file.
server/c_misc.c: Add command_kill_pets().
server/commands.c: add killpets command which kills your pets.
server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07

32 lines of code changed in 6 files:

mwedel 2002-09-07 15:30 Rev.: 1703

server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07

11 lines of code changed in 1 file:

avogl 2002-09-07 07:36 Rev.: 1702

Added blinding resistances to many monsters.
I have tried my best to distribute these blinding
resistances not at random, but in reasonable
and consistent ways:

Dragons and demons are now mostly immune to blinding.
IMO they have such omnipotent senses that merely
blinding their eyes doesn't help. Lesser forms of
these creatures don't have full immunity though.

The undead are well resistant to blinding as they
don't have biological eyes, which makes it harder to blind them.
Only few of them are totally immune however.

Angels are also well resistant to blinding. Being
minions of Valriel they have experience with blinding
"techniques" and thus know how to protect against it.

Also immune to blinding are creatures which just don't
have any eyes. E.g. giant worms, slimes and crawling chaos.

All humaniod monsters, including the orcish and trollish
races, remain without blinding resistance.
Most low-level monsters generally have either low or no
blinding resistance (as long as they have eyes).

Extremely vulnerable to blinding are one-eyed creatures:
Cyclopses, dreads and beholders.

[Sidenote: I have reduced cyclops experience from 400000
to 250000 which I think is still more than enough.]

--AndreasV

62 lines of code changed in 61 files:

mwedel 2002-09-06 23:55 Rev.: 1701

More bugfixes:
common/loader.l, loader.c: Fix up the handling with speed with respect
to style maps - the objects were still getting put on the active
list.
common/map.c: Fix up blocked_link() to behave more like the
blocked_two() function - inventory checkers and door handling.
Comment out blocked_two since it isn't used anymore. Modify
load_objects to remove objects on style maps from the active
list. Remove some of the debug messages about map loading.
common/object.c: Add remove_from_active_list() function for use
in map.c to remove objects from active list.
common/porting.c: Comment out debug message if open_and_uncompress()
can open a file - caller of the function should print out messages,
and it really isn't much of an error in any case.
include/libproto.h: rebuilt.
random_maps/special.c: Modify place_special_exit() - this should fix
bug of very large treasure maps - problem was if the generated map
size was too small, when generate_random_map was called, it would
generate a newly sized map that was much larger. Code was also
re-arranged some to make it a little more readable.
server/attack.c: Fix crash when creature may not have an owner and
it kills something else.
server/move.c: comment added - no code change.
socket/request.c: Fix off by one error in esrv_send_animation() -
rare condition as it only showed up when trying to send the last
animation (zombie) - only an issue if the player is put on top of
a zombie for some reason (no other space for them) - observed when
leaving the random dungeon in the undead church in scorn without
clearing out all the zombies first.
MSW 2002-09-06

181 lines of code changed in 10 files:

mwedel 2002-09-05 22:44 Rev.: 1700

CHANGES: Update build instructions for the plugin.
random_maps/square_spiral.c: Fix bug that could cause the search
function to go off the edge of the map looking for a clear space.
Doesn't happen often, but one crash did happen here.
server/monster.c: Fix some bugs with monsters and wakeup - remove
check for friendly that could never be true, and also fix
logic so that monsters will now find the players.
MSW 2002-09-12

19 lines of code changed in 4 files:

mwedel 2002-09-05 00:59 Rev.: 1699


Update maps-bigworld to keep in sync with maps (old).

19610 lines of code changed in 15 files:

mwedel 2002-09-05 00:19 Rev.: 1698

common/button.c: Fix do_mood_floor() to look at all objects on space for
something to effect, not just things above the moodfloor.
MSW 2002-09-11

3 lines of code changed in 2 files:

mwedel 2002-09-05 00:11 Rev.: 1697

server/attack.c: Add missing check to make sure the plugin exists before
we try to access the plugin function.
MSW 2002-09-11

4 lines of code changed in 2 files:

mwedel 2002-09-04 23:23 Rev.: 1696

common/readlable.c: Fix crash caused by passing null value to mon_desc -
check for non null was at end of { } do loop - check should be at the
start.
server/monster.c: Make it so that monsters with see invisible are not
immune to blind - monster can be given appropriate resistance to make
it so it is not effected by blind.
MSW 2002-09-11

12 lines of code changed in 3 files:

avogl 2002-09-04 19:41 Rev.: 1695

I had to re-adjust some of the recently changed levels
in pupland monsters. As maintainer of the pupland set I
hope it is okay when I do this, have written on the
list about it too.

Some monsters just need those levels to be able to
hit and damage high level players.
Evil Masters are a somewhat special case:
I have moved most all attributes out of the map into
the arches (So the arches contain the "real version").
The reason for this is I fear the fallback to
arch-values when these monsters happen to apply equipment.

--AndreasV

86 lines of code changed in 7 files:

mwedel 2002-09-04 00:49 Rev.: 1694

Various updates -
scorn/oldcity/oldcity2: Add some missing floor tiles.
scorn/temples/gnarg: Link in with with new maps.
world/world_105_116, world/world_127_114: Updated with gnard and
cd maps.
python: added directory - same as in old maps.
quests/cd/* - move over fro old maps, just new directory.
styles: Added directory - same as in old maps. Used for random maps.

119460 lines of code changed in 307 files:

mwedel 2002-09-03 23:17 Rev.: 1693

server/main.c: Move #endif in crypt_string to more proper place.
server/monster.c: Fix bad if statement that may have been waking up
monsters when they shouldn't have been.
MSW 2002-09-03

11 lines of code changed in 3 files:

mwedel 2002-09-02 01:04 Rev.: 1692

Fix infinite number of uses on wands - missing return.
MSW 2002-09-01

1 lines of code changed in 1 file:

mwedel 2002-09-01 00:32 Rev.: 1691

This change mostly deals with improving behaviour of pet monstes.
Most of the code is from K. Reinert - however, I did some code cleanup/
fixes related to pet monsters, so it is difficult to note where
each piece of code came from. One thing this does fix is handling of
multipart pets - these now work properly.
common/map.c: Update comment for get_rangevector() - no code change.
common/object.c: Add get_search_arr() which is used in pet monster code.
This returns a semi random scrambling of the freearr array.
doc/Developers/protocol: Update documentation about map1a protocol command.
include/libproto.h, include/sproto.h: rebuilt.
server/attack.c: Have drain attacks return 1 damage so that it is clear
that you are actually hitting your opponent. Otherwise, you would
get messages that 'you missed xyz', even though you are draining it.
This extra point of damage shouldn't change balance in any significant
way.
server/monster.c: Update hnadling of enemies for pet monsters. It should
more intelligently choose the monsters and not switch/clear the
enemy field for no reason anymore. Change find_nearest_living_creature to
use the get_search_arr() to more randomly choose direction of target -
before, there was a proclivity to always look in the north direction.
Modify can_hit() to look for closes part of enemy - otherwise, monsters
may not attack opponents even if they were right next to them because
they couldn't get to the enemies head. Remove move_object from
this function - merged with move_ob in move.c
server/move.c: Fix move_ob to use 'cleaner' code of move_object, but
also have specific features that move_ob had (player handling).
Before move_ob didn't handle multipart objects correctly, and the
two functions were largely the same. Now move_object() just calls
move_ob - the only difference in the functions is that move_ob()
takes 3 parameters instead of 2 of move_object() (added
parameter is originator). I think this should now mean multipart
player objects may now work.
server/pets.c: get_pet_enemy enhanced to be much smarter about
selecting/finding things for the pet to attack.
server/player.c: Remove commented out line of init_beforeplay
MSW 2002-08-31

398 lines of code changed in 11 files:

August 2002 »

Generated by StatSVN 0.7.0