MSW 2001/02/25: General player login cleanup. This should fix the crash
when players re-roll stats too often. So far, it also seems to
have the additional effect that calculated players on map now appears
to be correct.
common/player.c: No longer allocate the player object structure in
get_player_ob (function is really misnamed). Callers to this function
were not using the allocated function.
server/login.c: Add leave_map call when player is loaded.
server/main.c: Add leave_map function.
server/player.c: Move get_player function to start of file - can declare
it static that way. Move some initialize from add_player to get_player.
Add set_first_map function. Add appropriate calls to leave_map
and set_first_map when players join and leaves the game.
144 lines of code changed in 6 files:
Correct a small spelling mistake.
1 lines of code changed in 1 file:
When a magic_mouth has "food <value>" set, it will
be used up after being triggered <value> times.
But when it is "used up" and is triggered again, the
text is displayed: "there is no message". This is very
annoying and makes the whole thing useless.
Now I patched it so that a "used up" magic_mouth
prints no message when triggered again. It's just
like the magic_mouth would no longer exist.
--AV
11 lines of code changed in 2 files:
Added code to print out arch types.
3 lines of code changed in 1 file:
The crossfire server was not being linked with -ggdb3, add LDFLAG to fix that
problem.
3 lines of code changed in 1 file:
Mark's tool for converting your cvs source trees.
0 lines of code changed in 1 file:
Change most of the perl scripts to get edited to the magic cookie for perl is
inthe right location.
9 lines of code changed in 7 files:
Added Mark's HOWTO on converting your CVS tree to sourceforge.
33 lines of code changed in 1 file:
My first commit to sourceforge.. :-))
Fixing a real nasty bug: When a player dies on
battleground (combat arena), he used to loose 1 luck.
Fixed, but: This luck-penalty still applies for
killing another player with melee outside of an arena.
That is not a bug, it is intended.. However, it is not
really a good way to deal with potential "PKers" IMHO.
9 lines of code changed in 1 file:
Incorrect 'make clean/distclean' behaviour fixed
5 lines of code changed in 1 file:
MSW 2001-02-22
Changes so that character is inserted into the map properly at the roll
stat stage. May also fix the crashes.
21 lines of code changed in 1 file:
Test to see if mail notification is working now - MSW
1 lines of code changed in 1 file:
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.
165 lines of code changed in 16 files:
Makefile.in: Modify so that it installs the target (cfclient, gcfclient,
cfsndserv) one at a time so it works with the install script.
item.c: add insert_item_before_item function. Modify the sorting function
so it first sorts by type, then by locked/unlocked status, and then
by alphabetical order (not including the number prefix).
item_types, item_types.h: More updates of missing objects or ones that
need more specific matching rules.
x11.c: Remove a lot of duplicate code that was in place for metaserver
support - instead, just add checks to the existing X event handling
code to know not to do some things if we're in metaserver selection
mode. This fixes a bug in that resize events would not be handled
if in metaserver selection mode.
MSW 2001-02-22
199 lines of code changed in 6 files:
Smarter get_release code. Can specify version and what you want to get from the
repository.
47 lines of code changed in 1 file:
Create BININSTALL for several of the perl files to they get installed into
${prefix}/bin instead of ${prefix}/share.
Part of making the building of a server rpm easier.
12 lines of code changed in 1 file:
Rebuilt arches. New pngs, but only a few from new
artists, no serious change in the general outlook.
I've added a new archetype: "ten_kilo.arc".
This is an arch that only has one purpose: To weight ten
kilos. It is important to have for creator-button mechanisms.
998 lines of code changed in 3 files:
New pngs, only a few from new artists yet.
No serious changes for the general look.
423 lines of code changed in 80 files:
Changed crossloop to log to a more standard location the /tmp, this is necessary
so that the logrotate script for the server rpm knows where to look for the log
files.
4 lines of code changed in 1 file:
VERY alpha server spec file for server rpm. Couple of the associate files
necessary to make a nice Linux rpm as well.
get_release is a simple to that will get a cvs snapshot, tar and gzip it up so
it can be used in an rpm build.
18 lines of code changed in 5 files:
Building crossfire server rpm and I had to hack the perl scripts to get the
"right" location of perl and gzip, so just let autoconf figure it out and make
the changes for me.
15 lines of code changed in 2 files:
Building crossfire server rpm and I had to hack the perl scripts to get the
"right" location of perl and gzip, so just let autoconf figure it out and make
the changes for me.
16 lines of code changed in 7 files:
Remove -image from the list of possible options. MSW 2001-02-14
0 lines of code changed in 1 file:
Converter for xpms to png. Single square only.
0 lines of code changed in 1 file:
Added Changelog entried to spec file.
10 lines of code changed in 1 file:
Add attack.h to list of files. MSW 2001-02-12
1 lines of code changed in 1 file:
Update for 0.96.0 - MSW 2001-02-12
1 lines of code changed in 1 file:
Notes for sourceforge posting.
Changes for 0.96.0 release.
62 lines of code changed in 2 files:
Update for 0.96.0. MSW 2001-02-12
4 lines of code changed in 1 file:
add directions for setting up the settings file for metaserver support.
MSW 2001-02-12
7 lines of code changed in 1 file:
Turn the update of the metaserver off by default. Too many users
fail to configure this properly. MSW 2001-02-12
1 lines of code changed in 1 file:
Update for 0.96.0. release. MSW 2001-02-12
2 lines of code changed in 1 file:
Rebuilt images. MSW 2001-02-12
0 lines of code changed in 1 file:
CHANGES, configure configure.in crossfire-client.spec: Update for 0.96.0
release
item_types item_types.h: Add some additional items.
MSW 2001-02-12
38 lines of code changed in 6 files:
If compiled with dmalloc, add 'dmalloc command that verifies the
heap. Makes checking for memory corruption easier. MSW 2001-01-12
8 lines of code changed in 1 file:
Rebuilt the images/archetypes.
0 lines of code changed in 1 file:
I reverted a lotof the objectionable "scaled" png set
to the xpm images centered but not scaled.
The results are not too bad.
PeterM
1078 lines of code changed in 441 files:
MSW 2001/01/11:
include/rproto.h: Rebuilt for new random map code.
server/player.c: remove player insert in key_roll_stat - player is already
inserted.
server/swap.c: When swapping out map, see if it has already reached reset time,
and if so, just delete it and not save it. In flush_old_maps, now have
it check for maps that have no timeout set - this sometimes happens when
players save/die on maps.
38 lines of code changed in 5 files:
Eased the requirements for gaea priests to get
ironwood skin, insect plague, and wall of thorns
6 lines of code changed in 1 file:
Made some changes to balance Gorokh a bit.
2 lines of code changed in 1 file:
fixed a problem where doors were not being created in onions.
1 lines of code changed in 1 file:
MSW 2001/01/11:
Other than various general cleanups, the main change this code does is
that style maps (for random maps) get loaded special now - they objects
they contain are not put on the active list, and they use a private map
list so they do not appear in the output of the 'maps command.
common/arch.c, common/treasure.c,server/login.c: Update calls to load_object
common/loaderl.l,loader.c: Update lex_load to take an optional flags option.
This is currently only used so that the loader can decide if it should
call update_ob_speedto put objects on the active list or not.
Calls to lex_load updated. load_object modified to take another option
common.map.c: remove PROCESS_WHILE_LOADING and CHECK_ACTIVE_MAPS ifdefs.
update calls to load_object. Remove some dead code.
include/config.h: Remove CHECK_ACTIVE_MAPS and PROCESS_WHILE_LOADING flags.
Those options did not work, and in all likelihood, this would be done
via threading now days and not what code was there.
include/libproto.h, sproto.h: updated or various function changes.
include/map.h: Add MAP_STYLE flag.
random_maps/exit.c: Call set_map_timeout after we load the final map
so it will get swapped out.
random_maps/standalone.c: Add dummy set_map_timeout function so it compiles.
random_maps/style.c: Add load_style_map function which does the job of
actually checking to see if a style map is in memory, and if not,
loads it up. Updates the pointers so it appears on a map style map list
and not the general map list.
server/main.c: create set_map_timeout function that deals with setting the
map timeouts. Fix bug so server doesn't crash if two players kill each
other on hall of selection.
server/monster.c remove dead code.
socket/loop.c: If realloc fails, catch it and exit with meaningful
error message.
End of MSW 2001/02/11 checkin.
128 lines of code changed in 16 files:
Square spiral layouts added to documentation.
65 lines of code changed in 1 file:
Updated the notes for the current status of random map generator.
2 lines of code changed in 1 file:
Added a square spiral type of layout.
170 lines of code changed in 10 files:
Lowered unrealistic expectations on grace limits for handing out
special prayers. I mean, come ON, NO ONE should need 600 grace points
to learn a level 5 prayer!!!!!!
1 lines of code changed in 1 file:
Fix that would prevent maps from getting swapped out properly - we would
try to swap out a map the player is in the process of leaving - move
swap out code until after we have moved the player to the new map.
MSW 2001-02-08
30 lines of code changed in 1 file:
Documented the snake layout style.
48 lines of code changed in 1 file:
Added a snake-like layout. With no symmetry, it's just a progression
back-and-forth.
119 lines of code changed in 8 files:
MSW 2001/02/06:
common/porting.c: relocate clean_path from this file to server/main.c
server/main.c: relocate clean_path from porting.c. Add unclean_path.
Modify enter_unique_exit so it supports relative maps on unique maps.
Modify enter_exit so word of recall (or other forcelike fields), work
when the return point is a swapped out unique map.
79 lines of code changed in 4 files:
MSW 2001/02/05:
server/attack.c: Fix blind and paralyze - logic for reducing duration was
broken, resulting in zero duration for most characters. It should now
work properly, reducing according to the amount of protection.
16 lines of code changed in 4 files:
MSW 2001/02/02:
common/item.c: Don't have armour item types get returned as magical if they
have an armour value - that is to be expected. This eliminates the false
positives that you otherwise get on armor when you cast detect magic.
include/newserver/h: and checksum field to FaceInfo struct. Update
version_sc to 1026.
socket/init.c: calculate image checksums as we load the images.
socket/request.c: If client is at least version_Sc 1026, use face1 protocol
command that includes the checksum.
40 lines of code changed in 5 files:
MSW 2001/02/02:
Protocol: Update with new face1 command that includes checksum.
client.c: add face1 protocol command.
client.h: Update version_sc to 1026.
commands.c: Move FaceCmd from gx11.c/x11.c to this file, since it
now only does decoding of data and passes rendering off to appropriate
file. Also add Face1Cmd function that deals with checksum. Both
of these functions pass off the rendering to the same function.
gx11.c: add keepcache variable, re-do facing loading/caching - if
we have local version of face, generate checksum of it and compare
to that against what server has. finish_face_command added to
do this - called by the face functions in commands.c. Add
-keepcache command line option which will have it not request
images from server if checksum is different. Add usleep
in metserver selection area to prevent client from hogging all the cpu
time.
item.c: Add support for ^ in items file to say only match at start of
line. Useful for 'bolt' - doing substring also matched against firebolt.
item_types, item_types.h: make bolt ^bolt, add Head and hauberk to matching
criteria.
proto.h: automatic regen.
x11.c: As gx11.c above, plus: Use one font for all windows - reduces
complexity. Add easy selection of font to use with -font command
line option.
xutil.c: As gx11.c for relevant functions that are located in this file
and not x11.c
End of MSW 2001/02/02 checkin.
238 lines of code changed in 12 files:
Added a bunch of angels to the game.
7570 lines of code changed in 3 files:
Bunch of new angels, art due to pungaboiter
1758 lines of code changed in 66 files:
fixed a typo
1 lines of code changed in 1 file:
archangel randomitems added.
11 lines of code changed in 1 file:
Wrathful eye archetype for archangels.
0 lines of code changed in 1 file:
Turned down occurrence of other rings of fighting too
2 lines of code changed in 1 file:
Turned down the occurrence of Ring of War
1 lines of code changed in 1 file:
new png splitter by peterm, works on linux.
84 lines of code changed in 2 files:
Moved the angels here.
3 lines of code changed in 50 files:
MSW 2001/01/31:
client.c: Clear player inventory and look windows after disconnection
from server. Prevents client crashes.
gx11.c: various fixes - window placement no longer always centered on screen
(very obnoxious if running xinerama), various prototypes fixed up,
clear map data after clearing image data.
player.c: Add suport for 'mapredraw' command. Not that this should ever
really be needed, but the server supports it, so its nice to be able to
use it.
x11.c: Fixes prototype/casting problems when clearing pixmaps. Like gx11.c,
clear map data.
xutil.c: add better description to the unbind command.
46 lines of code changed in 6 files:
update for various fixex/changes. MSW 2001-01-31
10 lines of code changed in 1 file:
common/player.c: Use skill tools first (lockpicks, talismans, etc) before
using native skills. In this way, an object with bonus automatically
gets used.
1 lines of code changed in 1 file:
common/object.c: Fix that that spells cast on spaces with no floors get
set properly after the spell expires.
MSW 2001-01-31
4 lines of code changed in 1 file:
Fix bug - was using wrong object when the the exit coordinates were out
of the new map. IT ws using the default coordinates from the map the exit
was on, and not the new map.
MSW 2001-01-31
2 lines of code changed in 1 file:
Fix bug that resulted in higher hp if you had a negative con penalty that
was odd than you should have. Basically, if your con penalty was -3,
you would have more hp than if your con penalty was -2. Now it works
properly.
MSW 2001-01-31
6 lines of code changed in 1 file: