Date | Author | File/Message |
---|---|---|
2/7/06 7:52 PM | cavesomething |
add arrest command, and regional jails
(9 Files changed,
96 Lines changed)
lib/regions 1.9
(+2
-0)
include/sproto.h 1.162
(+1
-0)
include/map.h 1.34
(+3
-1)
include/libproto.h 1.85
(+1
-0)
server/commands.c 1.57
(+2
-1)
common/region.c 1.9
(+42
-1)
ChangeLog 1.550
(+10
-0)
server/c_wiz.c 1.79
(+25
-1)
doc/Developers/regions 1.4
(+10
-3)
|
2/7/06 1:54 AM | mwedel |
Code that adds transports. Transports are described more in detail in
docs/Developers/objects. --- loader.l: Add new move type ('boat'). Update move_name field to be aware of this type. common/object.c: Unrelated to transport, but more apparant with transports - fix bug with insert_ob_in_map() and multipart objects - we now only try to fix up map and coordinates if the provided coordinates are out of the map. Before, function would always use the passed map for multipart objects, which is incorrect if we have already set valid coordinates. doc/Developers/objects: Update notes for TRANSPORTS. Update move information to include MOVE_BOAT. include/define.h: Add type TRANSPORT. Add MOVE_BOAT. include/player.h: Add transport field to player structure. include/sproto.h: rebuilt. server/apply.c: Add code to handle applying of transports. Update apply_below to apply transport if player is on one. server/attack.c: Update hit_map() to look for transports, and hit any players with the damage. server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS so that code can be re-used. server/move.c: Fix handling of multipart objects in move_object() - old code didn't work right with multipart objects moving along seams of tiled maps. Add code to move_ob() to update player map position for all players in a moving transport. server/player.c: Update move_player_attack() too check of player is in tranport, and use that for map and location information. Update move_player() to handle speed related issues with transports. server/time.c: Add code to credit time back to TRANSPORT objects since we remove time in move_player() for TRANSPORTS. socket/item.c: Add add_object_to_socklist() so that same code isn't reproduced in 3 different places in the file. Update draw_look() to handle transports - send transport object itself, then objects in transport. Update esrv_send_inventory() and esrv_send_item() to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look for objects in transport if player is in transport. socket/loop.c: Remove checking of pl->map status, since draw_client_map() does that, and we need to handle if the player is in a transport. socket/request.c: Handle map drawing if player is in a transport. MSW 2006-02-06 (17 Files changed, 828 Lines changed) socket/item.c 1.37
(+119
-170)
common/object.c 1.121
(+17
-5)
socket/loop.c 1.40
(+5
-3)
include/sproto.h 1.161
(+17
-15)
include/define.h 1.105
(+4
-3)
server/apply.c 1.160
(+159
-1)
ChangeLog 1.549
(+42
-0)
doc/Developers/objects 1.20
(+25
-21)
server/move.c 1.39
(+19
-4)
server/time.c 1.86
(+10
-1)
server/player.c 1.191
(+42
-13)
common/loader.l 1.74
(+2
-1)
include/player.h 1.46
(+3
-2)
common/loader.c 1.77
(+285
-284)
server/c_object.c 1.77
(+56
-41)
socket/request.c 1.82
(+12
-6)
server/attack.c 1.121
(+11
-1)
|
2/7/06 1:30 AM | mwedel |
Recollect archetypes - some new objects, some objects modified to include
move_.. fields. MSW 2006-02-06 (9 Files changed, 10598 Lines changed) lib/crossfire.1 1.56
(+0
-0)
lib/bmaps 1.90
(+4918
-4898)
lib/faces 1.76
(+90
-0)
lib/animations 1.78
(+192
-0)
lib/crossfire.0 1.57
(+0
-0)
lib/treasures.bld 1.40
(+0
-0)
lib/smooth 1.20
(+9
-0)
lib/bmaps.paths 1.93
(+4918
-4898)
lib/archetypes 1.172
(+471
-6)
|
2/5/06 3:10 AM | mwedel |
Fix bug in previous commit (using string names for move_ values). Forgot
about the case where move_ was 0 - just save that as an int. MSW 2006-02-05 (2 Files changed, 10 Lines changed) common/loader.l 1.73
(+5
-1)
common/loader.c 1.76
(+5
-1)
|
2/4/06 11:51 PM | mwedel |
No real code change - just making formatting consistent in manual_apply().
One minor note - move check for user being a PLAYER and object be a TREASURE into the case that handles the TREASURE type - this matches with what we do for all the other item types where we care about that. MSW 2006-02-04 (1 Files changed, 177 Lines changed) server/apply.c 1.159
(+177
-174)
|
2/4/06 11:27 PM | mwedel |
movement type changes. Add move_allow field to explicitly allow certain
movement types on spaces. Add suppport for using string names instead of numeric values to specify the MOVE_ values. Add code so when saving data out, use string names instead of numeric value. --- common/loader.l: Remove save_double(), as it isn't used by any code. Add set_move() to set movement types from strings. Add get_string_move_type, which takes integer movement type and returns a string. Update load and save code to use these functions respectively. common/map.c: Change blocked_link() so that we only examine all the objects on a space if there is something alive on the space or space is otherwise blocked. There is no reason to examine all the objects on the space if the object in question can move onto it. Modify update_position() to use the move_allow field to clear bits in the move_block field. common/object.c: Add check in CAN_MERGE for move_allow. Add check for move_allow in update_object to see if we should update the space or not. doc/Developers/objects: Update Movement code section to note use of using strings to set movement types. Add note about move_allow. Section about Transports added, but code isn't there yet. include/object.h: Add move_allow to object structure. MSW 2006-02-04 (7 Files changed, 2873 Lines changed) common/map.c 1.100
(+12
-3)
common/loader.l 1.72
(+123
-22)
common/object.c 1.120
(+7
-2)
include/object.h 1.45
(+2
-1)
common/loader.c 1.75
(+2571
-2675)
doc/Developers/objects 1.19
(+133
-1)
ChangeLog 1.548
(+25
-0)
|
2/4/06 9:56 PM | mwedel |
No code change - just cleaning up the formatting of move_marker() -
indentation was all wacky. MSW 2006-02-04 (1 Files changed, 48 Lines changed) server/time.c 1.85
(+48
-46)
|
2/4/06 9:46 AM | akirschbaum |
Add trailing \\n to LOG() messages.
(1 Files changed,
5 Lines changed)
server/shop.c 1.51
(+5
-5)
|
2/3/06 7:32 PM | akirschbaum |
Fix attack messages containing random characters.
(2 Files changed,
51 Lines changed)
ChangeLog 1.547
(+5
-0)
server/attack.c 1.120
(+46
-21)
|
2/2/06 8:34 PM | cavesomething |
fix bug #1413239 related to the who command
(2 Files changed,
6 Lines changed)
ChangeLog 1.546
(+4
-0)
server/c_misc.c 1.75
(+2
-2)
|
1/31/06 10:27 PM | qal21 |
Fixed arch2xml.py script to parse comments
(1 Files changed,
6 Lines changed)
utils/arch2xml.py 1.2
(+6
-2)
|
1/30/06 11:00 AM | cavesomething |
prevent unlimited login attempts by dropping the connection after too many password failures. Document the itemcmd setup flag, and improve that for the item and item2 commands
(6 Files changed,
50 Lines changed)
ChangeLog 1.545
(+7
-0)
include/newserver.h 1.37
(+5
-1)
socket/loop.c 1.39
(+16
-2)
doc/Developers/protocol 1.17
(+10
-3)
server/login.c 1.58
(+10
-2)
socket/init.c 1.46
(+2
-1)
|
1/21/06 8:32 PM | mikeeusa |
adding to the player v player stealing setting comment explicitly showing how to enable it (this will avoid any possibility of questions on it... I assume)
(1 Files changed,
2 Lines changed)
lib/settings 1.22
(+2
-1)
|
1/21/06 10:56 AM | ryo_saeba |
Improved installer, now separates unlinked/python/test maps.
(1 Files changed,
214 Lines changed)
make_win32/make_maps_nsi.pl 1.3
(+214
-153)
|
1/15/06 10:50 AM | ryo_saeba |
Custom commands fixes. Global logout event change.
(5 Files changed,
29 Lines changed)
server/plugins.c 1.63
(+4
-3)
ChangeLog 1.544
(+10
-0)
server/apply.c 1.158
(+5
-1)
server/main.c 1.111
(+1
-3)
plugins/cfpython/cfpython.c 1.27
(+9
-7)
|
1/14/06 5:41 AM | ryo_saeba |
New files
(1 Files changed,
0 Lines changed)
make_win32/plugin_python/plugin_python.dsp 1.14
(+0
-0)
|
1/13/06 3:26 PM | akirschbaum |
socket/request.c: In ReplyCmd() make sure the reply does not cause a buffer
overflow. (2 Files changed, 6 Lines changed) socket/request.c 1.81
(+2
-2)
ChangeLog 1.543
(+4
-0)
|
1/13/06 2:59 PM | akirschbaum |
Fix mismatch 'client' and 'server' in darkness setup option.
(1 Files changed,
3 Lines changed)
doc/Developers/protocol 1.16
(+3
-3)
|
1/13/06 2:42 PM | cavesomething |
fix a crash bug in addspell packet formation
(2 Files changed,
12 Lines changed)
ChangeLog 1.542
(+4
-0)
socket/request.c 1.80
(+8
-4)
|
1/13/06 1:10 AM | mwedel |
Quick change to include proper byte counts in packet sizes for
spell - see if it will reduce the crashes. MSW 2006-01-12 (1 Files changed, 7 Lines changed) socket/request.c 1.79
(+7
-3)
|