--- crossfire/socket ---


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

Filename: lowlevel.c
Revision 1.17ryo_saeba 2006/09/02 09:25:19 +10 -6
Apply patch #1550716 (Frequent crashes after client disconnects) courtesy Mark Kidder
Show difference between Revision 1.16 and 1.17
Revision 1.16akirschbaum 2006/05/21 05:35:11 +9 -9
Make socket handling more robust.
Show difference between Revision 1.15 and 1.16
Revision 1.15akirschbaum 2006/05/13 16:21:12 +2 -2
Fix server crash when sending addspell command(s).
Show difference between Revision 1.14 and 1.15
Revision 1.14akirschbaum 2006/03/18 19:51:46 +10 -10
Apply patch by Stefan Huehner: add const where appropriate.
Show difference between Revision 1.13 and 1.14
Revision 1.13ryo_saeba 2006/03/18 09:05:37 +9 -8
Massive cleaning of code. Shouldn't be any functional change.
Show difference between Revision 1.12 and 1.13
Revision 1.12akirschbaum 2005/12/05 17:34:04 +2 -2
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.11 and 1.12
Revision 1.11akirschbaum 2005/09/04 11:58:13 +3 -7
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.10 and 1.11
Revision 1.10ryo_saeba 2005/05/03 14:31:28 +4 -1
Patch #1193516 courtesy Casper1 for Hurd support
Show difference between Revision 1.9 and 1.10
Revision 1.9ryo_saeba 2003/12/14 10:28:47 +10 -10
Compilation warning cleaning
Show difference between Revision 1.8 and 1.9
Revision 1.8ryo_saeba 2003/12/02 12:51:44 +28 -10
Added & updated comments, now in doxygen-like style
Show difference between Revision 1.7 and 1.8
Revision 1.7mwedel 2003/09/13 00:02:14 +14 -1
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.6 and 1.7
Revision 1.6michtoen 2001/04/06 14:08:08 +15 -15
win32: change // to /* */
Show difference between Revision 1.5 and 1.6
Revision 1.5michtoen 2001/04/05 19:43:40 +69 -9
*** empty log message ***
Show difference between Revision 1.4 and 1.5
Revision 1.4cvs 2000/11/08 01:19:37 +9 -1
MSW 2000-11-07
common/item.c: query_base_name was not return plural version of items
with 'of' in name. Also, much of the function was not using safe_strcat,
which could result in buffer overlow problems.

common/object.c: Change update_position so that we always generate
3 images per space. This fixes players standing on top of dragon transports,
but generally works for things like monsters standing on objects.
insert_ob_in_map: change 'return' statement to 'return NULL'. Also
remove unused map pointer.
decrease_ob_nr: Fix bug for client updates when player drops item that
is then consume. It was using op->above after object was removed to
find the player. Store above pointer before we remove the object.

socket/item.c: Don't terminate pointer as returned by query_base_name -
instead, terminator buffer after we copy it. For simple object,
query_base_name may directly return a pointer to the objects name
which is only long enough to hold the name itself.

socket/lowlevel.c: Abort if we are trying to send the client a packet
longer than supported by the protocol. Since that buffer is static,
overflowing it will just create memory corruption - easier to stop
then than try and debug it later.

End of MSW checkin 2000-11-7
Show difference between Revision 1.3 and 1.4
Revision 1.3jec 2000/05/21 16:41:46 +2 -3
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.2 and 1.3
Revision 1.2azzie 1999/04/26 16:00:30 +2 -2
Fixed bug that would drop the unsent parts of a packet before buffering would
start. This would cause the client to get out of sync with commands.
-David
Show difference between Revision 1.1 and 1.2
Revision 1.1uid200 1999/04/02 13:10:03 None
Initial revision
First version
Revision 1.1.1.1uid200 1999/04/02 13:10:03 +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 19:36