Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: init.c | |||
Revision 1.81 | ryo_saeba | 2006/08/20 04:58:25 | +2 -1 |
Fix timers. | |||
Show difference between Revision 1.80 and 1.81 | |||
Revision 1.80 | ryo_saeba | 2006/08/05 04:57:00 | +2 -2 |
Fix bug #1534727 (create_home_portals TRUE doesn't work) | |||
Show difference between Revision 1.79 and 1.80 | |||
Revision 1.79 | qal21 | 2006/07/14 12:58:10 | +10 -1 |
Add setting to allow server admins to allow town portals to be created in apartments. Based on a patch by pippijn in the cf-ext project. | |||
Show difference between Revision 1.78 and 1.79 | |||
Revision 1.78 | tchize | 2006/06/01 13:59:14 | +2 -2 |
Fixed error with function declared as static in one place and not static in another, leading to problems in make proto | |||
Show difference between Revision 1.77 and 1.78 | |||
Revision 1.77 | ryo_saeba | 2006/05/05 04:26:35 | +52 -41 |
First part of patch #1453869 courtesy Stefan Huehner (shuehner) | |||
Show difference between Revision 1.76 and 1.77 | |||
Revision 1.76 | ryo_saeba | 2006/03/18 09:05:37 | +16 -14 |
Massive cleaning of code. Shouldn't be any functional change. | |||
Show difference between Revision 1.75 and 1.76 | |||
Revision 1.75 | ryo_saeba | 2006/03/14 11:12:28 | +6 -2 |
Fix memory leak and uninitialized variable | |||
Show difference between Revision 1.74 and 1.75 | |||
Revision 1.74 | cavesomething | 2006/03/07 12:46:26 | +25 -10 |
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.73 and 1.74 | |||
Revision 1.73 | akirschbaum | 2006/02/10 17:59:27 | +2 -2 |
Apply slightly modified patch #1428309 (code-cleanup: const, static) by Stefan Huehner: add const/static to functions/variables. Remove some type casts. | |||
Show difference between Revision 1.72 and 1.73 | |||
Revision 1.72 | akirschbaum | 2006/01/08 14:52:12 | +1 -2 |
Update to 'no_player_stealing' patch: use correct place to initialize settings structure. | |||
Show difference between Revision 1.71 and 1.72 | |||
Revision 1.71 | akirschbaum | 2006/01/08 10:31:18 | +12 -1 |
Apply modified patch #1396303 (add setting to disable stealing from players) by Terry Brown. It adds a new option "no_player_stealing" to the settings file. If set, it prevents players from stealing from other players. It defaults to ON. | |||
Show difference between Revision 1.70 and 1.71 | |||
Revision 1.70 | akirschbaum | 2005/12/05 17:34:04 | +27 -27 |
Apply patch #1371956 (code cleanup patch) by Stefan Huehner: fix old-style function declarations and prototypes to proper Ansi C syntax. This patch allows the compiler to check function arguments and also removes some warnings when compiling with -Wstrict-prototypes. | |||
Show difference between Revision 1.69 and 1.70 | |||
Revision 1.69 | akirschbaum | 2005/10/28 14:08:53 | +3 -2 |
Fix compiler warnings. Most changes do not change the program (remove unused variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix (possible) problems (fix uninitialized variables, fix printf format specifiers, fix mismatches between signed and unsigned variables, add missing return and default statements). | |||
Show difference between Revision 1.68 and 1.69 | |||
Revision 1.68 | qal21 | 2005/10/15 02:07:31 | +4 -1 |
Add directory in preparation for template (where the template can be from the random map generator) maps. | |||
Show difference between Revision 1.67 and 1.68 | |||
Revision 1.67 | akirschbaum | 2005/09/04 11:58:12 | +5 -5 |
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.66 and 1.67 | |||
Revision 1.66 | ryo_saeba | 2005/08/12 03:18:59 | +3 -3 |
Use const char* instead of char* when possible | |||
Show difference between Revision 1.65 and 1.66 | |||
Revision 1.65 | akirschbaum | 2005/07/16 16:10:39 | +27 -27 |
Fix spelling errors in string constants. | |||
Show difference between Revision 1.64 and 1.65 | |||
Revision 1.64 | ryo_saeba | 2005/07/15 08:51:51 | +1 -32 |
Glue cleaning. New plugin function. | |||
Show difference between Revision 1.63 and 1.64 | |||
Revision 1.63 | akirschbaum | 2005/07/10 07:55:31 | +2 -2 |
server/init.c: Fix error message. | |||
Show difference between Revision 1.62 and 1.63 | |||
Revision 1.62 | ryo_saeba | 2005/06/22 13:22:15 | +8 -1 |
Add service-related capability for Windows | |||
Show difference between Revision 1.61 and 1.62 | |||
Revision 1.61 | tchize | 2005/05/06 16:10:25 | +3 -1 |
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.60 and 1.61 | |||
Revision 1.60 | mwedel | 2005/04/16 23:25:55 | +2 -2 |
Various minor bugfixes. common/los.c: Patch to fix negative lighting. Use isqrt instead of sqrt, so we only want integer values anyways. include/libproto.h, include/sproto.h: Rebuilt as there were some improperly matching prototypes. random_maps/rogue_layout.c: Replace sqrt with isqrt calls. server/c_misc.c: Make name_cmp() a static declaration so it won't be put in the sproto.h file. server/init.c: Remove /* within comment string. server/monster.c: Change sqrt to isqrt MSW 2005-04-16 | |||
Show difference between Revision 1.59 and 1.60 | |||
Revision 1.59 | cavesomething | 2005/04/14 19:41:34 | +9 -1 |
patch 1123766 to make PK luck penalty configurable | |||
Show difference between Revision 1.58 and 1.59 | |||
Revision 1.58 | majorwoo | 2005/03/20 16:20:40 | +7 -1 |
This is patch #1152538 to add a server configurable who command | |||
Show difference between Revision 1.57 and 1.58 | |||
Revision 1.57 | ryo_saeba | 2005/03/15 15:06:23 | +5 -1 |
Apply patch #1145089 by cavesomething for region support | |||
Show difference between Revision 1.56 and 1.57 | |||
Revision 1.56 | akirschbaum | 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.55 and 1.56 | |||
Revision 1.55 | ryo_saeba | 2004/05/08 08:38:05 | +38 -2 |
Add settings to control armor enchantment | |||
Show difference between Revision 1.54 and 1.55 | |||
Revision 1.54 | tanner | 2004/02/04 01:46:12 | +1 -3 |
- Upstream patch http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=57744 - Mark said (via irc) just remove it | |||
Show difference between Revision 1.53 and 1.54 | |||
Revision 1.53 | temitchell | 2003/10/26 21:44:33 | +2 -1 |
- Add TRIGGER_MARKER object (type 52) a MARKER that can activated by a connected trigger. | |||
Show difference between Revision 1.52 and 1.53 | |||
Revision 1.52 | mwedel | 2003/10/26 01:56:57 | +2 -1 |
common/glue.c, common/object.c, common/player.c, include/funcpoint.h, server/init.c, server/monster.c, server/shop.c, server/skill_util.c: add find_skill_by_number() function - this replaces find_skill. Locate new function in skill_util.c, which is more a proper place than common/player.c - this change necessitated adding glue function pointers so the other common files can call it. server/spell_effect.c: Fix cast_heal() so if the spell is not one that heals hit points, don't process the code that checks for that and sets a false success value. socket/metaserver.c: Clean up formatting - no code changes. MSW 2003-10-25 | |||
Show difference between Revision 1.51 and 1.52 | |||
Revision 1.51 | mwedel | 2003/10/11 22:57:20 | +3 -1 |
If compiling with DEBUG enabled, disable the signal handlers that catch program errors. I find that the signal handler that is otherwise called tends to corrupt the stack trace/core image, making it somewhat useless. If you're running DEBUG, presumably you want usable core files. MSW 2003-10-11 | |||
Show difference between Revision 1.50 and 1.51 | |||
Revision 1.50 | mwedel | 2003/09/13 00:02:10 | +9 -4 |
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.49 and 1.50 | |||
Revision 1.49 | temitchell | 2003/08/26 19:00:47 | +9 -2 |
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.48 and 1.49 | |||
Revision 1.48 | mwedel | 2003/03/24 00:58:33 | +1 -3 |
common/glue.c, include/funcpoint.h: remove draw_func() pointer - no longer needed, so code that sets up pointer removed. lib/*: rebuilt - facings added to old player animation information. ruined_temple archetype added. server/init.c: remove set_draw() function server/player.c: remove call to draw() - socket code takes care of this. socket/info.c: remove draw() - instead, draw_client_map() can be used, as that is most the only thing draw() did anyways. socket/loop.c: Update draw() calls to draw_client_map() socket/request.c: Remove special handling for darkness==4 cases (first space that is in full darkness) - this is extra complications and causes display problems. Update draw_client_map() to include the little bit of logic that draw() had that this function did not have. MSW 2003-03-24 | |||
Show difference between Revision 1.47 and 1.48 | |||
Revision 1.47 | garbled | 2003/02/13 23:57:57 | +5 -3 |
fix compile warning generated with -Wall. | |||
Show difference between Revision 1.46 and 1.47 | |||
Revision 1.46 | garbled | 2003/02/09 01:30:49 | +1 -2 |
Remove the supplydb code. It has served it's purpose, and if we decide we want to investigate that again.. thats what cvs -r is for. | |||
Show difference between Revision 1.45 and 1.46 | |||
Revision 1.45 | garbled | 2003/01/29 18:07:09 | +118 -1 |
New materialtype system for crossfire. Based in concept on my original design, but rewritten from scratch to make it easily extensible. In a nutshell: Each of the old materialtypes (metal, glass, stone, wood) are now a class of materials. When an item in the game is created, if it does not have a specific materialname of it's own, a materialname is generated randomly from the matching entries in the "lib/materials" file. This file contains all of the saving throws, and other material specific modifications for each of the expanded materials. Materials can be manually specified in the arch with the "materialname" directive. Such as the gold coins, which are specified to be made of, you guessed it, gold. Saving throws have been slightly rewritten to use the new materialtypes, and a few other minor details associated with materialtypes have been patched up. Adding a new type of stone or wood, is as simple as adding a new entry in the lib/materials file. The game will automatically start distributing them around randomly. | |||
Show difference between Revision 1.44 and 1.45 | |||
Revision 1.44 | garbled | 2003/01/27 19:45:41 | +2 -1 |
Argh.. stupid stupid me. Forgot to check in init.c, which called read_supllydb() which initializes the supply database to NULL on boot if it doesn't exist. Without which.. chaos ensues. | |||
Show difference between Revision 1.43 and 1.44 | |||
Revision 1.43 | garbled | 2003/01/16 22:38:35 | +2 -1 |
Add a duplicator/multiplier/destroyer object type. This will duplicate a specific arch when triggered, and that arch is on top of the duplicator. It will multiply the number of items in the pile, by the level of the duplicator. If the duplicator is set to level 0, it will destroy the object. | |||
Show difference between Revision 1.42 and 1.43 | |||
Revision 1.42 | garbled | 2002/11/26 02:57:56 | +1 -6 |
Nuke #ifdef MAP_RESET | |||
Show difference between Revision 1.41 and 1.42 | |||
Revision 1.41 | garbled | 2002/11/26 02:33:12 | +1 -6 |
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.40 and 1.41 | |||
Revision 1.40 | garbled | 2002/11/26 02:08:00 | +1 -25 |
remove #ifdef DUMP_SWITCHES SECURE SHOP_LISTINGS | |||
Show difference between Revision 1.39 and 1.40 | |||
Revision 1.39 | garbled | 2002/11/26 01:44:28 | +1 -7 |
Remove ifdefs for USE_SWAP_STATS and SORT_ROLLED_STATS | |||
Show difference between Revision 1.38 and 1.39 | |||
Revision 1.38 | garbled | 2002/11/13 18:47:36 | +29 -29 |
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.37 and 1.38 | |||
Revision 1.37 | garbled | 2002/11/13 18:19:31 | +2 -4 |
Nuke #ifdef ALCHEMY from orbit. If you don't want alchemy cp /dev/null lib/formulae. | |||
Show difference between Revision 1.36 and 1.37 | |||
Revision 1.36 | garbled | 2002/11/12 23:49:04 | +15 -9 |
#define MOTD -> settings.motd #define DM_MAIL -> settings.dm_mail | |||
Show difference between Revision 1.35 and 1.36 | |||
Revision 1.35 | garbled | 2002/11/12 23:24:53 | +20 -6 |
#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.34 and 1.35 | |||
Revision 1.34 | garbled | 2002/11/12 22:57:32 | +19 -1 |
#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.33 and 1.34 | |||
Revision 1.33 | garbled | 2002/11/12 18:49:47 | +10 -1 |
#ifdef CASTING_TIME -> settings.casting_time | |||
Show difference between Revision 1.32 and 1.33 | |||
Revision 1.32 | garbled | 2002/11/12 18:26:13 | +19 -1 |
#ifdef SPELL_ENCUMBRANCE -> settings.spell_encumbrance #ifdef SPELL_FAILURE_EFFECTS -> settings.spell_failure_effects | |||
Show difference between Revision 1.31 and 1.32 | |||
Revision 1.31 | garbled | 2002/11/12 17:20:11 | +10 -1 |
#ifdef SEARCH_ITEMS -> settings.search_items | |||
Show difference between Revision 1.30 and 1.31 | |||
Revision 1.30 | garbled | 2002/11/12 17:09:11 | +20 -2 |
SET_TITLE and RESURRECTION are now settings. | |||
Show difference between Revision 1.29 and 1.30 | |||
Revision 1.29 | garbled | 2002/11/12 16:34:26 | +10 -1 |
convert #ifdef NOT_PERMADETH into settings.not_permadeth. | |||
Show difference between Revision 1.28 and 1.29 | |||
Revision 1.28 | garbled | 2002/11/08 02:54:07 | +2 -1 |
Add new command "weather". Displays the current weather conditions to the player. TODO: make it dump the weathermap data for a wiz. Add rain. Touch up snow a bit, and hunt down and kill a few minor bugs. All that is left to do for basic visual weather is hail and fog, and then messages to the player expressing conditional changes. Rain and snow only occur at dynamiclevel >= 2. | |||
Show difference between Revision 1.27 and 1.28 | |||
Revision 1.27 | garbled | 2002/10/27 22:50:39 | +10 -3 |
server/init.c: add code to read fastclock setting server/weather.c: Complete update, largely rewritten. Now the world is cut into a 100x100 matrix of weathermaps. Each one of these maps is computed at initial boot, and written to disk, following which, they are simply read from disk at boot. For each of the main weather types (pressure, humitidy, base temperature, wind direction, wind speed) the game recomputes the entire weathermap, applying smoothing algorithims, or derriving each map from it's predecessor. Weathermaps are only used if you have set your dynamiclevel to 1 or greater, and, are using the bigmap set. At this time, there is still no functional change to the game, bigmap, or not. | |||
Show difference between Revision 1.26 and 1.27 | |||
Revision 1.26 | mwedel | 2002/09/11 01:21:46 | +12 -1 |
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.25 and 1.26 | |||
Revision 1.25 | mwedel | 2002/09/07 17:08:07 | +9 -7 |
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.24 and 1.25 | |||
Revision 1.24 | 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.23 and 1.24 | |||
Revision 1.23 | avogl | 2002/03/03 14:05:58 | +2 -2 |
two fixes to my dragon-race code: - fixed stringcompares wich caused crashed with players that have race NULL. - forgot to commit "server/init.c" before, which resulted in function dragon_ability_gain() not to get bound, thus missing dragon ability gains. | |||
Show difference between Revision 1.22 and 1.23 | |||
Revision 1.22 | garbled | 2002/01/01 17:37:54 | +5 -1 |
Add the concept of overlay maps to the code. An overlay map is a map which is loaded on top of another map, replacing values in the header, and placing objects on top of other objects. This is the fundamental part of the new weather code, but also can be used to allow dynamic editing of the worldmaps by DM's eventually. garbled 2002-01-01 Phase II of the new weather system is done. Please let me know immediately if this causes any bizzare effects. | |||
Show difference between Revision 1.21 and 1.22 | |||
Revision 1.21 | garbled | 2001/12/19 04:07:41 | +57 -1 |
More basics for the weather system: document the new map header entries. New settings for the big-worldmap/weather interactions, and code to load them. No functional changes at this time. | |||
Show difference between Revision 1.20 and 1.21 | |||
Revision 1.20 | garbled | 2001/12/18 02:58:03 | +2 -1 |
Lots of changes here. Basically implement a night and day system, as well as tracking of game time. A clockdata file is now created and updated by the server to increment time. Time increases by 1 hour, approximately every 2 minutes of real time. Right now this code has virtually no effect, but as maps are updated with outdoor settings, nightfall will occur automatically. The time command has been modified to show the current game time, and the clock objects have been changed to show the game time as well. garbled 2001-12-18 | |||
Show difference between Revision 1.19 and 1.20 | |||
Revision 1.19 | mwedel | 2001/07/13 23:11:18 | +1 -6 |
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.18 and 1.19 | |||
Revision 1.18 | gros | 2001/06/14 03:52:07 | +2 -3 |
Removed 'unofficial version' warning message | |||
Show difference between Revision 1.17 and 1.18 | |||
Revision 1.17 | michtoen | 2001/06/13 07:51:58 | +1 -1 |
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.16 and 1.17 | |||
Revision 1.16 | michtoen | 2001/06/13 05:51:41 | +3 -2 |
Modified Files: aclocal.m4 configure. configure.in Makefile.in crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt common: arch.c loader.c treasure.c loader.l crossedit: Attr.c doc: README_EXTENSIONS README_SCRIPT include: autoconf.h define.h global.h includes.h loader.h object.h script.h spellist.h spells.h sproto.h version.h server: Makefile.in apply.c attack.c c_object.c gods.c init.c main.c monster.c player.c script.c script_spells.c script_types.c skills.c spell_effect.c spell_util.c time.c Log Message: Adding Scriptfire 0b11 to Crossfire. Massive changes. The facts are in the doc files. MT 2001-06-13 | |||
Show difference between Revision 1.15 and 1.16 | |||
Revision 1.15 | mwedel | 2001/05/28 23:41:53 | +2 -3 |
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.14 and 1.15 | |||
Revision 1.14 | mwedel | 2001/05/09 01:58:12 | +6 -2 |
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.13 and 1.14 | |||
Revision 1.13 | michtoen | 2001/04/06 14:07:10 | +8 -8 |
win32: change // to /* */ | |||
Show difference between Revision 1.12 and 1.13 | |||
Revision 1.12 | michtoen | 2001/04/05 19:40:18 | +14 -2 |
*** empty log message *** | |||
Show difference between Revision 1.11 and 1.12 | |||
Revision 1.11 | mwedel | 2001/03/07 01:24:30 | +2 -2 |
MSW 2001/03/06: server/spell_effect.c: Fix message when consecration fails - use the ob->name field and not the ob->title field. Also fix broken logic that checked for the floor. server/init.c: Related to 3-4 change which changed the default name of the logfile to "" so we know to use stderr. This doesn't work for daemon mode, so if the name is "", we use the default logfile instead. | |||
Show difference between Revision 1.10 and 1.11 | |||
Revision 1.10 | mwedel | 2001/03/04 20:05:19 | +2 -2 |
MSW 2001/03/04: TODO: add re-connecting player to new client if client logs in with right name/password. common/init.c: Open up the logfile with the provide filename when given the -log option. server/init.c: Make set_logfile a first pass option so the init_library has the right logfile name to work with. server/main.c: Fix crash if map has an exit path yet that file does not exist. Give proper error message. | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | cvs | 2000/11/25 22:56:05 | +2 -2 |
MSW 2000/11/25: include/patchlevel.h (removed), doc/spell-docs/Makefile (removed), include/Makefile.in, include/version.h, server/init.c, server/main.c, socket/metaserver.c: remove patchlevel.h - include the patchlevel in the version.h file, update other files to use version as a single string. | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | cvs | 2000/11/14 01:35:06 | +75 -1 |
metaserver update: common/init.c: Add meta_ fields to settings structure initialization. include/global.h: Add meta_ fields to settings structure. include/sockproto.h: Updated for new meta_ functions. lib/Makefile.in: Have it install settings file. lib/settings: Default settings file with some metaserver default value.s server/init.c: Add load_settings file. Add call to metaserver_init. server/main.c: Add call to metaserver_update in do_specials. socket/Makefile.in: Add metaserver.c to list of files. socket/metaserver.c: File that deals with metaserver related data. socket/item.c: Remove some unused variables. Unrelated to metaserver changes. socket/loop.c: Add calls to metaserver_update in block_until_new)connection. Change function so that if there are no active players, it still timeouts and does metaserver update. Basically changed to do it the way the WATCHDOG code did it. End of metaserver update. MSW 2000-11-13 | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | cvs | 2000/08/02 01:04:50 | +19 -5 |
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/16 01:07:07 | +2 -1 |
Modified how firewalls worked. Now they can be triggered with handles. | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | jec | 2000/05/26 04:50:49 | +2 -2 |
* apply() cleanup patch 26/5/2000 | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | jec | 2000/05/21 16:41:45 | +7 -7 |
common/init.c, common/loger.c, include/logger.h, server/init.c: New log level llevInfo which is the new default log level. Many other files: Use llevInfo instead of llevError where appropriate. Use 'settings.debug >= llevDebug' instead of 'settings.debug'. server/main.c: Use a marker object to track current position in the list of active objects. Using a pointer didn't work because all objects on that list can be removed from it by process_object(). One of the things this fixes is bogus "Free object on list" errors. | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | cvs | 1999/08/22 19:26:12 | +1 -3 |
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.2 and 1.3 | |||
Revision 1.2 | cvs | 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.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 |