--- crossfire/server ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: swap.c
Revision 1.20mwedel 2006/09/07 01:25:31 +2 -1
doc/Developers/protocol: Fix off by one on how many layers are currently
defined.
server/swap.c: When loading up temp maps, make sure timeout is set to 0 -
fixes bug 1539203.
MSW 2006-09-06
Show difference between Revision 1.19 and 1.20
Revision 1.19qal21 2006/08/12 14:38:23 +2 -2
Impliment cfpython map invalidation. Change behavoir of EVENT_MAP*
Show difference between Revision 1.18 and 1.19
Revision 1.18ryo_saeba 2006/05/05 04:26:36 +2 -2
First part of patch #1453869 courtesy Stefan Huehner (shuehner)
Show difference between Revision 1.17 and 1.18
Revision 1.17akirschbaum 2005/12/05 17:34:04 +5 -5
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.16 and 1.17
Revision 1.16gros 2005/10/18 11:54:31 +5 -15
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.15 and 1.16
Revision 1.15qal21 2005/10/16 17:51:21 +2 -2
Add support for random template maps (still need to document, and still need to add support for template maps created from non-random templates)
Show difference between Revision 1.14 and 1.15
Revision 1.14mwedel 2003/03/02 23:13:08 +17 -1
Various bug fixes.
Makefile.am, Makefile.in: Put crossedit as the last directory, so any build
errors for crossedit doesn't effect anything else.
README: Update ftp site listing.
TODO: More things aded.
aclocal.m4, configure: Add missing / when checking in /usr/local for
python headers.
common/map.c: Add some debugging in free_all_objects that checks to make sure
there are not objects remaining that belong to the map just freed -
only active if MANY_CORES is set.
random_maps/random_map.c: Increase minimum random map size to 10x10 - this
is need for square spirals to work properly I think.
server/spell_effect.c: Have perceive self tell dragon players what they are
currently focused on. Fix town portal to remove force objects from
players if destination is no longer available.
server/swap.c: Reset maps reset_time when loading them in in read_map_log() -
this is only used if recycle temp maps is on. Also, do sanity checking
on reset_time value - bogus values were observed on metalforge.
socket/request.c: Update map timeout in draw_client_map() - in this way,
we don't swap out a map within a players view only to swap it back
in.
MSW 2003-03-01
Show difference between Revision 1.13 and 1.14
Revision 1.13garbled 2002/11/26 02:57:56 +1 -3
Nuke #ifdef MAP_RESET
Show difference between Revision 1.12 and 1.13
Revision 1.12garbled 2002/11/26 02:48:20 +1 -9
Get rid of #ifdef PLUGINS (it is on by default, I didn't take out gros's
code)
Show difference between Revision 1.11 and 1.12
Revision 1.11garbled 2002/11/12 22:57:32 +3 -6
#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.10 and 1.11
Revision 1.10mwedel 2002/09/28 02:19:40 +7 -4
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
Show difference between Revision 1.9 and 1.10
Revision 1.9mwedel 2002/04/21 00:23:20 +109 -88
Various minor bugfixes. Note the changes may appear larger than they
really are due to formatting/indentation changes. Run diff -w to
supress those:
make_win32/installwin32.bat: Update for new image files.
server/c_object.c: Fix SAVE_INTERVAL #ifdef block. It failed to compile
as it was written. Simplify code, but it should have the same effect.
server/move.c: Modify push_object so that if a player swaps position
with his pet, we send a esrv_map_scroll. This should save bandwidth,
and also prevents display corruption when fog of war on the client
is in use. Add some new comments, adjust some formatting.
server/player.c: Fix minor typo in comment.
server/skills.c: Modify new_draw_info that is responsible for the
"You pray" messages to not have the NDI_UNIQUE flag so that
they can get batched up, depending on users value of output-count
server/swap.c: Remove swapped out per player unique maps from the list
of maps. Reduces cpu and memory consumption by a minor amount, and
results in a cleaner 'maps command output.
server/weather.c: Add standard crossfire banner to top of file.
Modify long long declartion to just be a long.
MSW 2002-04-20
Show difference between Revision 1.8 and 1.9
Revision 1.8gros 2001/10/14 03:12:37 +24 -3
Major changes: Added dynamic plugin support - Gros 10/14/01
Show difference between Revision 1.7 and 1.8
Revision 1.7mwedel 2001/07/31 01:54:07 +3 -3
Fix compilation bug if using recycle temp maps. MSW 2001-07-30
Show difference between Revision 1.6 and 1.7
Revision 1.6mwedel 2001/07/13 23:11:18 +17 -21
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.5 and 1.6
Revision 1.5mwedel 2001/04/07 21:37:26 +3 -2
server/player.c: Don't let players shoot arrows at themself. Also,
minor changes to use new_draw_info_format.
server/swap.c: If recycle temp maps, don't save out random maps to
get recycled. MSW 2001/04/07
Show difference between Revision 1.4 and 1.5
Revision 1.4cvs 2001/02/12 01:11:11 +22 -3
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.
Show difference between Revision 1.3 and 1.4
Revision 1.3cvs 2000/12/03 18:40:05 +3 -1
Checking for partial resistance code. Various minor errors also fixed
(compiler warnings, unused variables, Makefile.in changes, etc).
PR code also includes support to send protections to the client.
Show difference between Revision 1.2 and 1.3
Revision 1.2cvs 1999/07/13 01:03:05 +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.1uid200 1999/04/02 13:10:04 None
Initial revision
First version
Revision 1.1.1.1uid200 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


File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:51