… | |
… | |
14 | 4) Whenever making an update, please update this file, no matter how |
14 | 4) Whenever making an update, please update this file, no matter how |
15 | small - this just lets others know that the file has changed if nothing |
15 | small - this just lets others know that the file has changed if nothing |
16 | else. With this, include the file(s) that you changed. |
16 | else. With this, include the file(s) that you changed. |
17 | ------------------------------------------------------------------------------ |
17 | ------------------------------------------------------------------------------ |
18 | Changes for CVS: |
18 | Changes for CVS: |
|
|
19 | |
|
|
20 | lib/collect.pl.in: Fix generation of 'editor_folder' field. It did not work |
|
|
21 | too well for .arc files in deep subdirs. |
|
|
22 | lib/{archetypes,bmaps.paths,crossfire.0}: Rebuilt. |
|
|
23 | Andreas Kirschbaum 2006-02-21 |
|
|
24 | |
|
|
25 | random_maps/random_map.c: Cause the random map generator to skip certain |
|
|
26 | elements if the style is set to "none". |
|
|
27 | doc/Developers/random-maps: Document above change |
|
|
28 | Alex Schultz 2006-02-20 |
|
|
29 | |
|
|
30 | socket/request.c: Don't crash on trying to send a spell which doesn't have an |
|
|
31 | associated skill |
|
|
32 | Brendan Lally 2006-02-20 |
|
|
33 | |
|
|
34 | Do not allow to dimension door into monsters or earthwalls. |
|
|
35 | --- |
|
|
36 | server/spell_effect.c: In dimension_door() do not allow destinations that are |
|
|
37 | P_IS_ALIVE. |
|
|
38 | Andreas Kirschbaum 2006-02-19 |
|
|
39 | |
|
|
40 | random_maps/style.c: In find_style() fix access to uninitialized variable. |
|
|
41 | Andreas Kirschbaum 2006-02-19 |
|
|
42 | |
|
|
43 | Prevent crossedit from stripping out 'maplore' map header field. |
|
|
44 | --- |
|
|
45 | common/map.c: Add code to load/save/dump maplore information. |
|
|
46 | include/map.h: Add new maplore field to map struct. |
|
|
47 | Andreas Kirschbaum 2006-02-19 |
|
|
48 | |
|
|
49 | Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static. |
|
|
50 | --- |
|
|
51 | Affected files: common/{loader.l,los.c,map.c}, include/{libproto.h,sproto.h}, |
|
|
52 | plugins/cfanim/{cfanim.c,include/cfanim.h}, server/{apply.c,skill_util.c} |
|
|
53 | common/loader.c: Rebuilt. |
|
|
54 | Andreas Kirschbaum 2006-02-17 |
|
|
55 | |
|
|
56 | common/map.c: Modify ob_blocked() to properly handly objects with a 0 |
|
|
57 | ob->move_type. Fixes infinite loop from random map code when trying |
|
|
58 | to place exits. |
|
|
59 | MSW 2006-02-16 |
|
|
60 | |
|
|
61 | Commit forgotten file for yesterday, which have the CFAPI_INT16 define... |
|
|
62 | include/plugin.h |
|
|
63 | server/plugins.c |
|
|
64 | Ryo 2006-02-15 |
|
|
65 | |
|
|
66 | Minor bugfixes: |
|
|
67 | server/apply.c: Fix apply_transport ->contr checks to actually |
|
|
68 | check against correct values. |
|
|
69 | server/plugins.c: Replace CFAPI_INT16 with CFAPI_INT - there is no |
|
|
70 | declaration anyplace for CFAPI_INT16 so compiles fails. |
|
|
71 | server/swamp.c: Fix swamp code so that only objects that can be |
|
|
72 | picked up disappear - this way, transports don't disappear into |
|
|
73 | oblivion. |
|
|
74 | MSW 2006-02-15 |
|
|
75 | |
|
|
76 | Swamps don't affect DMs anymore. Also, swamps don't remove items with |
|
|
77 | FLAG_IS_FLOOR or FLAG_IS_OVERLAY_FLOOR. |
|
|
78 | server/swamp.c |
|
|
79 | ---- |
|
|
80 | Fixes to plugin system. Added "SINT16" as return type. |
|
|
81 | server/plugins.c: resistances are sint16, not int. |
|
|
82 | plugins/cfanim/include/cfanim_proto.h: fix cf_object_get_resistance declaration. |
|
|
83 | plugins/cfpython/cfpython_archetype.c: fix comparison function, which should return 0 or +-1. |
|
|
84 | plugins/cfpython/cfpython_map.c: fix comparison function. |
|
|
85 | plugins/cfpython/cfpython_object.c: fix broken GetResist, fix comparison function. |
|
|
86 | plugins/cfpython/cfpython_party.c: fix comparison function. |
|
|
87 | plugins/cfpython/cfpython_region.c: fix comparison function. |
|
|
88 | plugins/common/plugin_common.c: object resistances are sint16. |
|
|
89 | plugins/common/include/plugin_common.h: object resistances are sint16. |
|
|
90 | Ryo 2006-02-14 |
|
|
91 | |
|
|
92 | Apply modified patch #1428048 (make the log line buffered) by Marc Lehmann. |
|
|
93 | --- |
|
|
94 | common/init.c: In init_globals() switch the log file to line buffer mode. |
|
|
95 | Andreas Kirschbaum 2006-02-11 |
|
|
96 | |
|
|
97 | server/apply.c: In apply_scroll() do not identify the scroll if the player |
|
|
98 | lacks the literacy skill. |
|
|
99 | Andreas Kirschbaum 2006-02-10 |
|
|
100 | |
|
|
101 | Apply slightly modified patch #1428309 (code-cleanup: const, static) by |
|
|
102 | Stefan Huehner: add const/static to functions/variables. Remove some type |
|
|
103 | casts. |
|
|
104 | --- |
|
|
105 | Affected files: common/{arch.c,glue.c,image.c,init.c,readable.c,time.c}, |
|
|
106 | crossedit/stubs.c |
|
|
107 | include/{attack.h,libproto.h,object.h,sockproto.h,spells.h,sproto.h}, |
|
|
108 | random_maps/{door.c,rproto.h,standalone.c,style.c}, |
|
|
109 | server/{alchemy.c,apply.c,c_chat.c,c_misc.c,init.c,player.c,shop.c,spell_effect.c}, |
|
|
110 | socket/{info.c,loop.c,request.c} |
|
|
111 | Andreas Kirschbaum 2006-02-10 |
|
|
112 | |
|
|
113 | server/c_wiz.c: make dm stats command print Int and damage. Rearrange output |
|
|
114 | to match the stat ordering. |
|
|
115 | lib/wizhelp/stats: document the stats command |
|
|
116 | lib/Makefile.am lib/Makefile.in: install the new help file |
|
|
117 | Brendan Lally 2006-02-10 |
|
|
118 | |
|
|
119 | Apply modified patch by Pippijn van Steenhoven to fix get_rangevector |
|
|
120 | functions on tiled maps. |
|
|
121 | --- |
|
|
122 | server/map.c: Add helper function adjacent_map() to check if two maps are |
|
|
123 | adjacent. Modify get_rangevector(), get_rangevector_from_mapcoord(), and |
|
|
124 | on_same_map() to use this function. |
|
|
125 | Andreas Kirschbaum 2006-02-09 |
|
|
126 | |
|
|
127 | server/player.c: make a player's starting items be locked, so that they |
|
|
128 | can't accidentally drop and lose them without unlocking them first. |
|
|
129 | Brendan Lally 2006-02-09 |
|
|
130 | |
|
|
131 | Apply patch #1427979 (code-cleanup: add const, fix warnings) by Stefan |
|
|
132 | Huehner. |
|
|
133 | --- |
|
|
134 | common/{anim.c,button.c,exp.c,friend.c,image.c,item.c,living.c,los.c,map.c, |
|
|
135 | object.c,player.c,quest.c,readable.c,recipe.c,region.c,treasure.c,utils.c}, |
|
|
136 | include/libproto.h: Add "const" to pointer function parameters. |
|
|
137 | Andreas Kirschbaum 2006-02-09 |
|
|
138 | |
|
|
139 | Make create food spell work for all FOOD/DRINK objects. It used to fail for |
|
|
140 | objects where another object with the same name but type POISON does exist. |
|
|
141 | --- |
|
|
142 | common/arch.c: Add new function find_archetype_by_object_type_name() to find |
|
|
143 | an archetype by item type and item name. |
|
|
144 | include/libproto.h: Add new prototype. |
|
|
145 | server/spell_effect.c: In cast_create_food() only search for objects of type |
|
|
146 | FOOD or DRINK. |
|
|
147 | Andreas Kirschbaum 2006-02-09 |
|
|
148 | |
|
|
149 | Added a "insert_into" command for DMs, to easily put items in other items. |
|
|
150 | Modified filse: |
|
|
151 | include/sproto.h |
|
|
152 | server/c_wiz.c |
|
|
153 | server/commands.c |
|
|
154 | Ryo 2006-02-08 |
|
|
155 | |
|
|
156 | server/main.c: Modify enter_exit() to see if player is in a transport, |
|
|
157 | and if so, remove him. Can happen if player uses word of recall |
|
|
158 | while in a transport. |
|
|
159 | MSW 2006-02-07 |
|
|
160 | |
|
|
161 | Regional jails. |
|
|
162 | --- |
|
|
163 | common/region.c, include/libproto.h, map.h: parse jail entries, new function |
|
|
164 | get_jail_exit to return the exit to the local jail. |
|
|
165 | doc/Developers/regions: update |
|
|
166 | server/c_wiz.c, commands.c, include/sproto.h: add dm command, command_arrest |
|
|
167 | to jail players in the correct location. |
|
|
168 | lib/regions: add scorn and navar jails. |
|
|
169 | Brendan Lally 2006/02/08 |
|
|
170 | |
|
|
171 | Code that adds transports. Transports are described more in detail in |
|
|
172 | docs/Developers/objects. |
|
|
173 | --- |
|
|
174 | loader.l: Add new move type ('boat'). Update move_name field to be aware of |
|
|
175 | this type. |
|
|
176 | common/object.c: Unrelated to transport, but more apparant with transports - |
|
|
177 | fix bug with insert_ob_in_map() and multipart objects - we now only |
|
|
178 | try to fix up map and coordinates if the provided coordinates are |
|
|
179 | out of the map. Before, function would always use the passed |
|
|
180 | map for multipart objects, which is incorrect if we have already |
|
|
181 | set valid coordinates. |
|
|
182 | doc/Developers/objects: Update notes for TRANSPORTS. Update move |
|
|
183 | information to include MOVE_BOAT. |
|
|
184 | include/define.h: Add type TRANSPORT. Add MOVE_BOAT. |
|
|
185 | include/player.h: Add transport field to player structure. |
|
|
186 | include/sproto.h: rebuilt. |
|
|
187 | server/apply.c: Add code to handle applying of transports. Update |
|
|
188 | apply_below to apply transport if player is on one. |
|
|
189 | server/attack.c: Update hit_map() to look for transports, and hit any |
|
|
190 | players with the damage. |
|
|
191 | server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS |
|
|
192 | so that code can be re-used. |
|
|
193 | server/move.c: Fix handling of multipart objects in move_object() - |
|
|
194 | old code didn't work right with multipart objects moving along seams |
|
|
195 | of tiled maps. Add code to move_ob() to update player map position |
|
|
196 | for all players in a moving transport. |
|
|
197 | server/player.c: Update move_player_attack() too check of player is |
|
|
198 | in tranport, and use that for map and location information. Update |
|
|
199 | move_player() to handle speed related issues with transports. |
|
|
200 | server/time.c: Add code to credit time back to TRANSPORT objects since |
|
|
201 | we remove time in move_player() for TRANSPORTS. |
|
|
202 | socket/item.c: Add add_object_to_socklist() so that same code isn't |
|
|
203 | reproduced in 3 different places in the file. Update draw_look() |
|
|
204 | to handle transports - send transport object itself, then objects |
|
|
205 | in transport. Update esrv_send_inventory() and esrv_send_item() |
|
|
206 | to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look |
|
|
207 | for objects in transport if player is in transport. |
|
|
208 | socket/loop.c: Remove checking of pl->map status, since draw_client_map() |
|
|
209 | does that, and we need to handle if the player is in a transport. |
|
|
210 | socket/request.c: Handle map drawing if player is in a transport. |
|
|
211 | MSW 2006-02-06 |
|
|
212 | |
|
|
213 | movement type changes. Add move_allow field to explicitly allow certain |
|
|
214 | movement types on spaces. Add suppport for using string names instead |
|
|
215 | of numeric values to specify the MOVE_ values. Add code so when saving |
|
|
216 | data out, use string names instead of numeric value. |
|
|
217 | --- |
|
|
218 | common/loader.l: Remove save_double(), as it isn't used by any code. |
|
|
219 | Add set_move() to set movement types from strings. |
|
|
220 | Add get_string_move_type, which takes integer movement type and |
|
|
221 | returns a string. Update load and save code to use these functions |
|
|
222 | respectively. |
|
|
223 | common/map.c: Change blocked_link() so that we only examine all the objects |
|
|
224 | on a space if there is something alive on the space or space is otherwise |
|
|
225 | blocked. There is no reason to examine all the objects on the space if |
|
|
226 | the object in question can move onto it. |
|
|
227 | Modify update_position() to use the move_allow field to clear bits |
|
|
228 | in the move_block field. |
|
|
229 | common/object.c: Add check in CAN_MERGE for move_allow. Add check for |
|
|
230 | move_allow in update_object to see if we should update the space or |
|
|
231 | not. |
|
|
232 | doc/Developers/objects: Update Movement code section to note use of using |
|
|
233 | strings to set movement types. Add note about move_allow. Section |
|
|
234 | about Transports added, but code isn't there yet. |
|
|
235 | include/object.h: Add move_allow to object structure. |
|
|
236 | MSW 2006-02-04 |
|
|
237 | |
|
|
238 | Fix attack messages containing random characters. |
|
|
239 | -- |
|
|
240 | server/attack.c: In attack_message() always initialize variables. |
|
|
241 | Andreas Kirschbaum 2006-02-03 |
|
|
242 | |
|
|
243 | server/c_misc.c: fix bug 1413239 Server crash with "who" command output |
|
|
244 | using null map names |
|
|
245 | Brendan Lally 2006-02-03 |
19 | |
246 | |
20 | include/newserver.h, server/login.c, socket/init.c, socket/loop.c: |
247 | include/newserver.h, server/login.c, socket/init.c, socket/loop.c: |
21 | drop any connection that fails to login successfully after |
248 | drop any connection that fails to login successfully after |
22 | MAX_PASSWORD_FAILURES attempts (defaults to 5) |
249 | MAX_PASSWORD_FAILURES attempts (defaults to 5) |
23 | doc/Developers/protocol: document properly the byte counts of item flags, |
250 | doc/Developers/protocol: document properly the byte counts of item flags, |