Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: config.h | |||
Revision 1.71 | cavesomething | 2006/04/06 11:58:09 | +2 -2 |
Increase Archtable to 8192, the new hashing algorithm works better with a table size that is a power of 2, and the current value is very close to being exceeded anyway. Suggested by Crossfire+ Development Team http://cf.schmorp.de | |||
Show difference between Revision 1.70 and 1.71 | |||
Revision 1.70 | cavesomething | 2006/03/07 12:46:25 | +16 -23 |
Add settings permanent_experience_percentage, death_penalty_percentage and death_penalty_levels to the settings file. --- common/living.c: don't hardcode exp calculations common/init.c, include/config.h, lib/settings: set defaults for new values doc/settings: document new values include/global.h: change settings struct to hold the new values server/init.c: parse new values in the settings file. server/skill_util.c: reference new value | |||
Show difference between Revision 1.69 and 1.70 | |||
Revision 1.69 | ryo_saeba | 2005/10/29 04:34:02 | +1 -2 |
Win32 compilation fix. Plugin fix. | |||
Show difference between Revision 1.68 and 1.69 | |||
Revision 1.68 | gros | 2005/10/18 11:54:31 | +2 -2 |
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.67 and 1.68 | |||
Revision 1.67 | qal21 | 2005/10/15 02:07:31 | +2 -1 |
Add directory in preparation for template (where the template can be from the random map generator) maps. | |||
Show difference between Revision 1.66 and 1.67 | |||
Revision 1.66 | akirschbaum | 2005/08/27 16:42:06 | +5 -2 |
common/map.c: Change default values for reset_timeout, enter_x, and enter_y map headers to zero. In set_map_reset_time() use MAP_DEFAULTRESET if reset_timeout is zero. This change prevents crossedit from adding these headers by just loading and saving a map. include/config.h: Add MAP_DEFAULTRESET. | |||
Show difference between Revision 1.65 and 1.66 | |||
Revision 1.65 | mwedel | 2005/08/08 01:27:29 | +2 -2 |
include/config.h: Make DEBUG default - appears last commit changed this as unrelated to actual changes in place. include/sproto.h: Rebuild server/player.c: fire_bow() - add checks for wall/out of map. fire_bow() wasn't using right coordinates on check, which caused problems in threewide mode at edge of maps. MSW 2005-08-07 | |||
Show difference between Revision 1.64 and 1.65 | |||
Revision 1.64 | tchize | 2005/05/06 16:10:14 | +2 -2 |
added a new command to identify the type of text send to client. media tags can be included inside them. Those text types include scrolls, books, message of the day, signs, aso. See protocol doc for details | |||
Show difference between Revision 1.63 and 1.64 | |||
Revision 1.63 | cavesomething | 2005/04/14 19:41:33 | +2 -1 |
patch 1123766 to make PK luck penalty configurable | |||
Show difference between Revision 1.62 and 1.63 | |||
Revision 1.62 | ryo_saeba | 2005/03/15 15:06:20 | +2 -1 |
Apply patch #1145089 by cavesomething for region support | |||
Show difference between Revision 1.61 and 1.62 | |||
Revision 1.61 | ryo_saeba | 2004/09/12 07:52:10 | +2 -2 |
Various fixes for Win32, apply some tracker patches | |||
Show difference between Revision 1.60 and 1.61 | |||
Revision 1.60 | ryo_saeba | 2004/05/08 08:38:04 | +10 -5 |
Add settings to control armor enchantment | |||
Show difference between Revision 1.59 and 1.60 | |||
Revision 1.59 | ryo_saeba | 2004/05/08 06:11:07 | +6 -6 |
Use LOGFILE for logfile, not hardcoded value | |||
Show difference between Revision 1.58 and 1.59 | |||
Revision 1.58 | mwedel | 2004/02/16 18:35:53 | +2 -2 |
increase the size of the highscore list - 10 seems way too low for a default value. MSW 2004-02-16 | |||
Show difference between Revision 1.57 and 1.58 | |||
Revision 1.57 | mwedel | 2003/09/13 00:01:32 | +5 -2 |
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.56 and 1.57 | |||
Revision 1.56 | temitchell | 2003/08/26 19:00:45 | +2 -1 |
Added friendly_fire to attack.c, called from hit_player. Will put a cap on maxdam that is a percentage (1-100%) of damage (min 1)based on SET_FRIENDLY_FIRE value (in settings)when players attack other players in peaceful mode. Changed who, statistics commands to show this setting better and added a help file for peaceful. It would be nice to have a indicator (even a toggle button?)in the client for this as well. | |||
Show difference between Revision 1.55 and 1.56 | |||
Revision 1.55 | temitchell | 2003/07/25 21:10:40 | +2 -4 |
- 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.54 and 1.55 | |||
Revision 1.54 | mwedel | 2003/05/21 02:31:13 | +12 -1 |
common/item.c, common/utils.c, include/config.h: Add #define NEW_MATERIAL_CODE and checks in the other files for this - if this is commented out (default), then the new material naming code is disabled - material names won't be put in the items names as shown in the inventory (can still see material by examining an object), and objects that are created will be created with the default material (eg, iron for most armor/weapons, eg, brass, bronze, copper items won't show up anymore). lib/settings: Add comments from the old config.h file that describes what the options already does. Having no comments in this file or in config.h anymore is very unfriendly. MSW 2003-05-20 | |||
Show difference between Revision 1.53 and 1.54 | |||
Revision 1.53 | temitchell | 2003/04/18 02:39:39 | +1 -11 |
- taking out the bigworld emergency map section as this will be handled by a .emergency file in the map set. | |||
Show difference between Revision 1.52 and 1.53 | |||
Revision 1.52 | temitchell | 2003/04/09 20:26:44 | +12 -1 |
- add in commented section for emergency placement for use with bigworld maps | |||
Show difference between Revision 1.51 and 1.52 | |||
Revision 1.51 | mwedel | 2003/04/04 23:39:48 | +9 -9 |
acinclude.m4: Update path to find python includes, since aclocal.m4 gets derived from this file. configure.ac, configure: Add utils/scores.pl to list of files to substitute on. common/loader.l, loader.c: Add subtype for objects - will be used in future work. common/object.c: Add subtype diff check in CAN_MERGE() common/porting.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have hardcoded 777 permissions. doc/Makefile.in, doc/Makefile.am, doc/Developers/Makefile.am, doc/Developers/Makefile.in: Move some of the spell docs around and merge them together doc/Developers/objects: Add notes about subtype. doc/Developers/spells: New file, contains preliminary work on spell objects. include/config.h: Remove command about DM_MAIL and LIBDIR from file, as they are options no longer present. Update comment about SAVE_MODE, and add SAVE_DIR_MODE include/object.h: Add subtype field to object. server/login.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have hardcoded 6700 permissions. utils/Makefile.in: Updated to know about scores.pl utils/scores.pl.in: New file - reads player file to generate HTML score file. MSW 2003-04-04 | |||
Show difference between Revision 1.50 and 1.51 | |||
Revision 1.50 | mwedel | 2003/03/19 02:18:00 | +2 -2 |
increase MAX_OBJECTS to 100,000. This value may still be too low, but I have observed problems on a very active server (metalforge) where maps are getting swapped out immediately as a player transfers to a new one - this causes problems (crashes) in the caller that expects the map the object just came from to still be in memory. MSW 2003-03-18 | |||
Show difference between Revision 1.49 and 1.50 | |||
Revision 1.49 | garbled | 2002/11/26 02:57:55 | +1 -6 |
Nuke #ifdef MAP_RESET | |||
Show difference between Revision 1.48 and 1.49 | |||
Revision 1.48 | garbled | 2002/11/26 02:37:11 | +1 -8 |
get rid of #ifdef NO_AUTO_SKILL_SWITCH | |||
Show difference between Revision 1.47 and 1.48 | |||
Revision 1.47 | garbled | 2002/11/26 02:33:12 | +1 -13 |
Nuke USE_CHECKSUM. Done in a way that will not blow up on older playerfiles with a checksum. This removes the function calculate_checksum. | |||
Show difference between Revision 1.46 and 1.47 | |||
Revision 1.46 | garbled | 2002/11/26 02:08:00 | +1 -34 |
remove #ifdef DUMP_SWITCHES SECURE SHOP_LISTINGS | |||
Show difference between Revision 1.45 and 1.46 | |||
Revision 1.45 | garbled | 2002/11/26 01:55:24 | +1 -2 |
remove MORE_PRIEST_GIFTS MULTIPLE_GODS ifdefs | |||
Show difference between Revision 1.44 and 1.45 | |||
Revision 1.44 | garbled | 2002/11/26 01:48:31 | +1 -12 |
get rid of NO_CONE_PROPOGATE | |||
Show difference between Revision 1.43 and 1.44 | |||
Revision 1.43 | garbled | 2002/11/26 01:44:28 | +1 -17 |
Remove ifdefs for USE_SWAP_STATS and SORT_ROLLED_STATS | |||
Show difference between Revision 1.42 and 1.43 | |||
Revision 1.42 | garbled | 2002/11/13 19:08:56 | +1 -2 |
Nuke USE_LIGHTING and SHOP_LISTINGS from orbit. | |||
Show difference between Revision 1.41 and 1.42 | |||
Revision 1.41 | garbled | 2002/11/13 19:03:59 | +1 -24 |
FULL_RING_DESCRIPTION is default. Nuke the define from orbit. | |||
Show difference between Revision 1.40 and 1.41 | |||
Revision 1.40 | garbled | 2002/11/13 18:47:36 | +4 -14 |
Move stat_loss_on_death, use_permanent_experience, and balanced_stat_loss from command line arguments to the lib/settings file. Document, and clean up config.h | |||
Show difference between Revision 1.39 and 1.40 | |||
Revision 1.39 | garbled | 2002/11/13 18:32:55 | +18 -155 |
Add a document describing some of the settings. At the same time, pull most of the old setting cruft out of config.h, to avoid potential confusion. | |||
Show difference between Revision 1.38 and 1.39 | |||
Revision 1.38 | garbled | 2002/11/13 18:19:32 | +1 -20 |
Nuke #ifdef ALCHEMY from orbit. If you don't want alchemy cp /dev/null lib/formulae. | |||
Show difference between Revision 1.37 and 1.38 | |||
Revision 1.37 | garbled | 2002/11/12 23:49:04 | +1 -14 |
#define MOTD -> settings.motd #define DM_MAIL -> settings.dm_mail | |||
Show difference between Revision 1.36 and 1.37 | |||
Revision 1.36 | garbled | 2002/11/12 23:24:53 | +4 -5 |
#ifdef SPELLPOINT_LEVEL_DEPEND -> settings.spellpoint_level_depend #ifdef EXPLORE_MODE -> settings.explore_mode While I was here.. make explore mode actually *work*. It didn't even have an entry in the commands array. | |||
Show difference between Revision 1.35 and 1.36 | |||
Revision 1.35 | garbled | 2002/11/12 22:57:32 | +5 -5 |
#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.34 and 1.35 | |||
Revision 1.34 | garbled | 2002/11/12 18:49:46 | +5 -6 |
#ifdef CASTING_TIME -> settings.casting_time | |||
Show difference between Revision 1.33 and 1.34 | |||
Revision 1.33 | garbled | 2002/11/12 17:20:11 | +2 -2 |
#ifdef SEARCH_ITEMS -> settings.search_items | |||
Show difference between Revision 1.32 and 1.33 | |||
Revision 1.32 | garbled | 2002/11/12 17:09:11 | +3 -3 |
SET_TITLE and RESURRECTION are now settings. | |||
Show difference between Revision 1.31 and 1.32 | |||
Revision 1.31 | garbled | 2002/11/12 16:34:26 | +2 -2 |
convert #ifdef NOT_PERMADETH into settings.not_permadeth. | |||
Show difference between Revision 1.30 and 1.31 | |||
Revision 1.30 | mwedel | 2002/09/11 01:21:46 | +4 -6 |
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 | |||
Show difference between Revision 1.29 and 1.30 | |||
Revision 1.29 | mwedel | 2002/09/07 17:08:07 | +4 -4 |
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.28 and 1.29 | |||
Revision 1.28 | mwedel | 2002/07/14 23:25:40 | +3 -3 |
Update banner copyright with proper contact information. MSW 2002-07-14 | |||
Show difference between Revision 1.27 and 1.28 | |||
Revision 1.27 | mwedel | 2002/06/15 02:47:36 | +6 -23 |
TODO: Additional updates. Add support for loading the EMERGENCY_.. locations from a .emergency file in the map directory. This makes it easy to switch map distributions without the need to recompile. The emergency information is now stored in the settings structure. common/init.c: add EMERGENCY_ defines to default values in setting. Add init_emergency_mappath which loads the information. include/config.h: Remove NEW_WORLD_MAP definition, as it is no longer needed. Update some of the EMERGENCY_.. information as we don't need to include the information for the new world map. include/global.h: Add emergency_.. fields to settings structure. server/login.c, server/main.c, server/player.c: Update references from the EMERGENCY.. values to settings.emergency values. MSW 2002-06-15 | |||
Show difference between Revision 1.26 and 1.27 | |||
Revision 1.26 | mwedel | 2001/12/23 02:17:36 | +23 -5 |
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.25 and 1.26 | |||
Revision 1.25 | mwedel | 2001/07/13 23:06:50 | +1 -35 |
Map tiling checkin. include/config.h: remove RANDOM_ENCOUNTERS (no longer available) and USE_LIGHTING (now standard part and always on). include/define.h: move P_... values to map.h include/global.h: add definition for compression externals, as they are used in a few files. remove map macro functions - moved to map.h as appropriate. Add FREE_AND_CLEAR macro that frees data and then sets the pointer to NULL. include/map.h: Largely redone - many new macros, new map structure. include/object.h: remove lights object link pointer from objects. At some #defines that are the flags for update_object and insert_ob_in_map include/player.h: Add a few comments. MSW 2001-07-13 | |||
Show difference between Revision 1.24 and 1.25 | |||
Revision 1.24 | michtoen | 2001/06/13 07:52:07 | +1 -7 |
Modified Files: player.c loader.l loader.c init.c request.c newserver.h Log Message: Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c and script.c. added a new setup cmd: "newanim" a client giving the newanim cmd, will enable the new animation system. The interface is open and not server controlled at this moment. First using is to enable the player moving in 8 direction. Giving this option to a server without changed arch will invoke broken player animations. This will be changed in the future. MT 2001-06-13 | |||
Show difference between Revision 1.23 and 1.24 | |||
Revision 1.23 | michtoen | 2001/06/10 22:47:58 | +7 -1 |
add option ENABLE_PLAYER_ANIMATION_8 | |||
Show difference between Revision 1.22 and 1.23 | |||
Revision 1.22 | mwedel | 2001/06/04 01:41:02 | +25 -1 |
Checkin of code that supports larger map sizes (configurable in config.h). common/los.c: update los code since it only handled 11x11 maps. Now uses formulatic approach so any map size should be supported. This does result in a few more spaces getting blocked around corners, but it doesn't seem that bad - certainly not compared to the ability to have larger viewable maps. common/map.c, crossedit/CrEdit.c, crossedit/Edit.c, include/global.h, include/map.h,random_maps/monster.c,random_maps/special.c, random_maps/standalone.c, server/apply.c,server/c_misc.c, server/spell_effect.c,socket/info.c: change mapx,mapy to what they really point to, as it prevented using those as variable/structure element names. common/object.c: update_position - if faces for different layers are duplicate, set the duplicates to be blank to increase client update efficiency. doc/Protocol: Add map1 command description, update setup command to describe setting of mapsize. include/config.h: add MAP_CLIENT_X/Y to set maximum map size we can send to the client. include/newserver.h: add mapx, mapy values to socket structure include/player.h: Use MAP_CLIENT_X/Y for sizing arrays that hold map related information in player structure. server/player.c: As per player.h above, use appropriate sizing when initializing player stucture. server/shop.c: Update mapx,mapy like above, but re-do shop listings code as it was doing a lot more work than necessarily (I think some changes got put in for sorting, and the old object manipulation was never removed when that got done) socket/init.c: set default client map size to 11x11 in the socket. socket/item.c: LookAt - change checks for position checking (such that you can only look at things in bounds) use max viewable map size. socket/request.c: Make setup commands a little more forgiving if there are extra spaces. Add 'mapsize' command to setup command. Update old map sending code to use socket map sizes (to support even smaller than normal maps, or 13x13 or 15x15 maps). add draw_client_map1 command which implements the map1 protocol command. MSW 2001-06-03 | |||
Show difference between Revision 1.21 and 1.22 | |||
Revision 1.21 | mwedel | 2001/05/28 23:41:53 | +1 -25 |
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.20 and 1.21 | |||
Revision 1.20 | mwedel | 2001/05/11 23:04:19 | +7 -1 |
include/config.h: Add NO_POLYMORPH feature selection include/spellist.h: If NO_POLYMORPH is set, make it so that polymorph will not show up in wands/rods server/spell_util.c: Handling for NO_POLYMORPH selection MSW 2001-05-11 | |||
Show difference between Revision 1.19 and 1.20 | |||
Revision 1.19 | mwedel | 2001/05/09 01:58:12 | +19 -10 |
Various improvements to make finding memory leaks easier. common/anim.c: Add free_all_anim function common/arch.c: Modify free_all_arch to free more data common/init.c: If running under MEMORY_DEBUG, don't pre-allocate objects. common/map.c: Add free_all_maps functiion. common/object.c: Modify object allocations if using MEMORY_DEBUG to only malloc one object at a time, and not pre-allocate objects. common/readable.c: Fix memory leak. common/shstr.c: Include autoconf.h so it can pull in dmalloc.h file. include/config.h: Remove notes of what was removed a long time ago. Add MEMORY_DEBUG option. include/libproto.h, include/sockproto.h, include/sproto.h: automatic rebuild server/c_misc.c: Fix 'malloc info command so it reports right memory total for maps. Add command_style_map_info which sums up memory used by style maps. server/commands.c: Add style_info wiz command which dumps memory usage for style maps. server/init.c: Have sighup handler call cleanup function. server/main.c: Fix clean_tmp_files which could result in crash if one of the maps in memory has 0 reset time. Modify cleanup function to free more data. server/player.c: op_on_battleground: Fix compile warning about unuused variable. socket/init.c: Change name of free_all_ericserver to free_all_newserver, have it free all face data. MSW 2001-05-08 | |||
Show difference between Revision 1.18 and 1.19 | |||
Revision 1.18 | michtoen | 2001/04/06 14:08:34 | +7 -7 |
win32: change // to /* */ | |||
Show difference between Revision 1.17 and 1.18 | |||
Revision 1.17 | michtoen | 2001/04/05 19:41:39 | +21 -2 |
*** empty log message *** | |||
Show difference between Revision 1.16 and 1.17 | |||
Revision 1.16 | mwedel | 2001/03/20 01:07:47 | +2 -2 |
Updates for 0.97.0 release: archetypes rebuilt (affecting most of the lib files) Makefile.in modified to include some missing files to release works properly. Most of the scripts changed because of substitution via configure. MSW 2001-03-19 | |||
Show difference between Revision 1.15 and 1.16 | |||
Revision 1.15 | mwedel | 2001/03/19 01:58:10 | +19 -2 |
MSW 2001/03/18: common/init.c: add RESET_LOCATION_TIME initializer to settings structure. include/config.h: Add RESET_LOCATION_TIME value. If nonzero and the save was longer than the specified time in seconds, player will be returned home upon login from save. include/global.h: Add reset_loc_time field to settings structure. server/login.c: Remove some unused variables, add support to return player home as described above. server/spell_effect.c: Fix for crashes when casting control undead and your god does not have an enemy. Now properly check to make sure we are not dereferencing null pointers. | |||
Show difference between Revision 1.14 and 1.15 | |||
Revision 1.14 | mwedel | 2001/02/23 00:06:35 | +4 -3 |
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.13 and 1.14 | |||
Revision 1.13 | cvs | 2001/02/11 03:12:13 | +1 -38 |
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. | |||
Show difference between Revision 1.12 and 1.13 | |||
Revision 1.12 | cvs | 2001/01/15 16:33:32 | +1 -2 |
MSW 2000/01/15: Various fixes for friendly object code: common/button.c: Add missing call to remove_friendly_object common/friend.c: Pretty much completely re-written. add_friendly_object now checks to make sure the object being added isn't already on the list, remove_friendly_object will remove objects whose tags don't match, and added clean_friendly_list. common/object.c: No reason to use the function pointer to remove_friendly_object since that function is in the lib. common/time.c: Make DEBUG_TIME always on (no longer compile time option). other areas use the global var pticks, so if it was turned off, compile would break anyways. common/treasuer.c: No longer print debug messages on artifacts created. Cluttered log file making it hard to see more important errors. include/config.h: Remove DEBUG_TIME define. include/libproto.h: Rebuilt for clean_friendly_list function. server/main.c: rewrote do_specials to do things based on pticks variable. This allows various specials to be spread out across multiple ticks easier. Also, added clean_friendly_function to part of what this does. server/skills.c: add missing call to remove_friendly_object. Also, removed from #if 0 .. #else .. #endif code. End of MSW 2000/01/15 checkin. | |||
Show difference between Revision 1.11 and 1.12 | |||
Revision 1.11 | cvs | 2000/12/18 01:38:24 | +5 -3 |
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.10 and 1.11 | |||
Revision 1.10 | cvs | 2000/12/10 21:59:49 | +2 -2 |
MSW 2000/12/10: include/config.h: Set ARCHTABLE size to correct value. server/player.c: Have server send update item to client for players face while select class. Added esrv_new_player in Roll_Again, because without it, the client had yet to receive information on what tag the player was so could not make sense of the updated face. server/spell_effect.c: Balance issues for polymorph. Reduce maximum value for high valued objects, remove ability to polymorph generators, put maximum level on polymorphed monsters and give them saving throws against the effects. | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | avogl | 2000/12/09 15:31:36 | +2 -2 |
Set #define ARCHTABLE 5003 This should fix troubles that arose from the growing number of arches. Note that 5003 is prime as it should be. | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | peterm | 2000/10/16 14:26:38 | +3 -3 |
define.h: defines added for playerchangers and class types base 10 numbers added for the spell paths. spellist.h: fixed up summoning spells a little sproto.h: new prototypes config.h: hate RECYCLE_TMP_MAPS, turned it off --PeterM | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | cvs | 2000/08/02 01:04:49 | +75 -4 |
include/config.h, include/global.h, common/init.c, common/living.c, server/init.c, server/player.c, server/skill_util.c: Add permanent experience and balanced stat loss features (code by Garth Denley). Permanent experience make some experience in the skills permanent. Balance stat loss makes stat loss less likely/costly at low level and more costly at higher levels. These features are by default off, but can be turned on either in the config.h file or via command line options. Code checked in by MSW 8/1/2000 | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | cvs | 2000/06/21 00:03:47 | +3 -3 |
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 | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | cvs | 1999/08/22 19:26:13 | +11 -45 |
Change compress method definitions from being determined by checks on system type to having autoconf find the utilities for us. Also, add bzip2 support. Files affected: Makefile.in configure.in common/map.c server/init.c server/login.c include/config.h include/define.h include/autoconf.h.in - msw | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | cvs | 1999/07/12 23:52:27 | +1 -1 |
Add better comment in config.h about the DM_MAIL option - msw. | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | cvs | 1999/06/14 23:06:56 | +5 -3 |
Add note about DM_MAIL that it does not need to be defined. | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | cvs | 1999/04/14 19:19:47 | +2 -2 |
Makefile doesnt really belong in CVS i think config.h: I got rid of <recycle tmp maps> I hate that door.c: "none" as a door choice now causes no doors to be placed style.c: fix for compilation on Solaris contributed by a japanese guy. | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | uid200 | 1999/04/02 13:10:04 | None |
Initial revision | |||
First version | |||
Revision 1.1.1.1 | uid200 | 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 |