ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ChangeLog
(Generate patch)

Comparing deliantra/server/ChangeLog (file contents):
Revision 1.1.1.1 by root, Fri Feb 3 07:11:13 2006 UTC vs.
Revision 1.1.1.3 by elmex, Wed Mar 15 14:04:30 2006 UTC

144) Whenever making an update, please update this file, no matter how 144) Whenever making an update, please update this file, no matter how
15small - this just lets others know that the file has changed if nothing 15small - this just lets others know that the file has changed if nothing
16else. With this, include the file(s) that you changed. 16else. With this, include the file(s) that you changed.
17------------------------------------------------------------------------------ 17------------------------------------------------------------------------------
18Changes for CVS: 18Changes for CVS:
19
20common/utils.c: apply patch #1445892 (transmute_materialname crash) courtesy
21 the cf.schmorp.de development team.
22include/spellist.h: disable big unused arrays, legacy of spell code.
23server/c_object.c: merge find_best_apply_object_match and find_best_object_match
24 which are really the same.
25server/init.c: fix memory leak.
26server/monster.c: fix a monster/scroll related crash, based on patch #1447242 by
27 the cf.schmorp.de development team.
28server/player.c: fix monitor_spells not initalized (before InitConnection()).
29server/skills.c: fix merging bug with inscription.
30socket/init.c: fix monitor_spells not being initialized.
31Ryo 2006-03-14
32
33Fix bug/exploit in setup command. We were strcat'ing back data provided
34by the client.
35---
36socket/request.c: Modify SetUp() to use safe_strcat() - eliminates buffer
37 overflow issues. Add some char* casts to spell/skill requestinfo
38 to eliminate compiler warnings. Add IP address to log for incoming
39 connections.
40MSW 2006-03-13
41
42Fix possible exploit with shadow alchemy. Also improve the alchemy spell to
43yield more nuggets.
44---
45server/shop.c: In query_cost() apply the hack (to multiply non-GEM/non-MONEY
46 values by four) also if no player object is present.
47Andreas Kirschbaum 2006-03-07
48
49Add settings permanent_experience_percentage, death_penalty_percentage and
50death_penalty_levels to the settings file.
51---
52common/living.c: don't hardcode exp calculations
53common/init.c, include/config.h, lib/settings: set defaults for new values
54doc/settings: document new values
55include/global.h: change settings struct to hold the new values
56server/init.c: parse new values in the settings file.
57server/skill_util.c: reference new value
58Brendan Lally 2006-03-07
59
60Apply modified parts of patch #1439490 (Fix in random map generation) by CF
61Development Team Schmorp.de <crossfire@schmorp.de>.
62---
63random_maps/exit.c: In place_exits() check for a valid exit path before
64 dereferencing it.
65random_maps/treasure.c: In find_closest_monster() include monsters at map
66 border. In find_enclosed_spot() prevent access to out of map tiles.
67Andreas Kirschbaum 2006-03-04
68
69Apply patch #1436833 (Patch for forked lightning crash at map borders) by CF
70Development Team Schmorp.de <crossfire@schmorp.de>.
71---
72server/spell_attack.c: In forklightning() prevent access to out of map tiles.
73Andreas Kirschbaum 2006-03-04
74
75common/loader.l: Prevent excess whitespace while saving objects.
76common/loader.c: Rebuilt.
77Andreas Kirschbaum 2006-02-27
78
79Apply patch by Marc Alexander Lehmann to improve server performance.
80---
81include/map.h: Move path field to end of struct. Since this field was huge it
82 pushed all other fields to large offsets in the struct. Moving it to the
83 end of the struct mapdef should not break anything but will improve
84 performance and reduce the server code by >3500 bytes.
85Andreas Kirschbaum 2006-02-27
86
87------------------------------------------------------------------------------
88Changes for 1.9.0:
89
90lib/collect.pl.in: Again fix generation of 'editor_folder' field to make
91 sub-folder selection work again.
92lib/archetypes: Rebuilt.
93Andreas Kirschbaum 2006-02-26
94
95*/Makefile{in.am}: Fix plugin makefiles so that 'make distcheck' works. Using
96 relative path names for files to include in distribution does not work -
97 need to have a makefile in each directory.
98configure{.ac}: Updated as result of new Makefiles.
99MSW 2006-02-24
100
101Apply patch #1428057 courtesy Pippijn van Steenhoven: fix to a crashing bug in plugins
102(incoherent order of parameters).
103Also use plugin_common.h in CFAnim instead of having separate definitions.
104Modified files:
105 plugins/cfanim/cfanim.c
106 plugins/cfanim/include/cfanim.h
107 plugins/cfanim/include/cfanim_proto.h
108 plugins/common/plugin_common.c
109 plugins/common/include/plugin_common.h
110Ryo 2006-02-23
111
112Remove object type CONFUSION since it was not used anymore.
113---
114common/item.c: Remove CONFUSION entry from item_types[] array.
115include/define.h: Uncomment #define CONFUSION.
116Andreas Kirschbaum 2006-02-22
117
118lib/collect.pl.in: Fix generation of 'editor_folder' field. It did not work
119 too well for .arc files in deep subdirs.
120lib/{archetypes,bmaps.paths,crossfire.0}: Rebuilt.
121Andreas Kirschbaum 2006-02-21
122
123random_maps/random_map.c: Cause the random map generator to skip certain
124 elements if the style is set to "none".
125doc/Developers/random-maps: Document above change
126Alex Schultz 2006-02-20
127
128socket/request.c: Don't crash on trying to send a spell which doesn't have an
129 associated skill
130Brendan Lally 2006-02-20
131
132Do not allow to dimension door into monsters or earthwalls.
133---
134server/spell_effect.c: In dimension_door() do not allow destinations that are
135 P_IS_ALIVE.
136Andreas Kirschbaum 2006-02-19
137
138random_maps/style.c: In find_style() fix access to uninitialized variable.
139Andreas Kirschbaum 2006-02-19
140
141Prevent crossedit from stripping out 'maplore' map header field.
142---
143common/map.c: Add code to load/save/dump maplore information.
144include/map.h: Add new maplore field to map struct.
145Andreas Kirschbaum 2006-02-19
146
147Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static.
148---
149Affected files: common/{loader.l,los.c,map.c}, include/{libproto.h,sproto.h},
150plugins/cfanim/{cfanim.c,include/cfanim.h}, server/{apply.c,skill_util.c}
151common/loader.c: Rebuilt.
152Andreas Kirschbaum 2006-02-17
153
154common/map.c: Modify ob_blocked() to properly handly objects with a 0
155 ob->move_type. Fixes infinite loop from random map code when trying
156 to place exits.
157MSW 2006-02-16
158
159Commit forgotten file for yesterday, which have the CFAPI_INT16 define...
160 include/plugin.h
161 server/plugins.c
162Ryo 2006-02-15
163
164Minor bugfixes:
165server/apply.c: Fix apply_transport ->contr checks to actually
166 check against correct values.
167server/plugins.c: Replace CFAPI_INT16 with CFAPI_INT - there is no
168 declaration anyplace for CFAPI_INT16 so compiles fails.
169server/swamp.c: Fix swamp code so that only objects that can be
170 picked up disappear - this way, transports don't disappear into
171 oblivion.
172MSW 2006-02-15
173
174Swamps don't affect DMs anymore. Also, swamps don't remove items with
175FLAG_IS_FLOOR or FLAG_IS_OVERLAY_FLOOR.
176 server/swamp.c
177----
178Fixes to plugin system. Added "SINT16" as return type.
179 server/plugins.c: resistances are sint16, not int.
180 plugins/cfanim/include/cfanim_proto.h: fix cf_object_get_resistance declaration.
181 plugins/cfpython/cfpython_archetype.c: fix comparison function, which should return 0 or +-1.
182 plugins/cfpython/cfpython_map.c: fix comparison function.
183 plugins/cfpython/cfpython_object.c: fix broken GetResist, fix comparison function.
184 plugins/cfpython/cfpython_party.c: fix comparison function.
185 plugins/cfpython/cfpython_region.c: fix comparison function.
186 plugins/common/plugin_common.c: object resistances are sint16.
187 plugins/common/include/plugin_common.h: object resistances are sint16.
188Ryo 2006-02-14
189
190Apply modified patch #1428048 (make the log line buffered) by Marc Lehmann.
191---
192common/init.c: In init_globals() switch the log file to line buffer mode.
193Andreas Kirschbaum 2006-02-11
194
195server/apply.c: In apply_scroll() do not identify the scroll if the player
196 lacks the literacy skill.
197Andreas Kirschbaum 2006-02-10
198
199Apply slightly modified patch #1428309 (code-cleanup: const, static) by
200Stefan Huehner: add const/static to functions/variables. Remove some type
201casts.
202---
203Affected files: common/{arch.c,glue.c,image.c,init.c,readable.c,time.c},
204crossedit/stubs.c
205include/{attack.h,libproto.h,object.h,sockproto.h,spells.h,sproto.h},
206random_maps/{door.c,rproto.h,standalone.c,style.c},
207server/{alchemy.c,apply.c,c_chat.c,c_misc.c,init.c,player.c,shop.c,spell_effect.c},
208socket/{info.c,loop.c,request.c}
209Andreas Kirschbaum 2006-02-10
210
211server/c_wiz.c: make dm stats command print Int and damage. Rearrange output
212 to match the stat ordering.
213lib/wizhelp/stats: document the stats command
214lib/Makefile.am lib/Makefile.in: install the new help file
215Brendan Lally 2006-02-10
216
217Apply modified patch by Marc Alexander Lehmann to fix get_rangevector
218functions on tiled maps.
219---
220server/map.c: Add helper function adjacent_map() to check if two maps are
221 adjacent. Modify get_rangevector(), get_rangevector_from_mapcoord(), and
222 on_same_map() to use this function.
223Andreas Kirschbaum 2006-02-09
224
225server/player.c: make a player's starting items be locked, so that they
226can't accidentally drop and lose them without unlocking them first.
227Brendan Lally 2006-02-09
228
229Apply patch #1427979 (code-cleanup: add const, fix warnings) by Stefan
230Huehner.
231---
232common/{anim.c,button.c,exp.c,friend.c,image.c,item.c,living.c,los.c,map.c,
233object.c,player.c,quest.c,readable.c,recipe.c,region.c,treasure.c,utils.c},
234include/libproto.h: Add "const" to pointer function parameters.
235Andreas Kirschbaum 2006-02-09
236
237Make create food spell work for all FOOD/DRINK objects. It used to fail for
238objects where another object with the same name but type POISON does exist.
239---
240common/arch.c: Add new function find_archetype_by_object_type_name() to find
241 an archetype by item type and item name.
242include/libproto.h: Add new prototype.
243server/spell_effect.c: In cast_create_food() only search for objects of type
244 FOOD or DRINK.
245Andreas Kirschbaum 2006-02-09
246
247Added a "insert_into" command for DMs, to easily put items in other items.
248Modified filse:
249 include/sproto.h
250 server/c_wiz.c
251 server/commands.c
252Ryo 2006-02-08
253
254server/main.c: Modify enter_exit() to see if player is in a transport,
255 and if so, remove him. Can happen if player uses word of recall
256 while in a transport.
257MSW 2006-02-07
258
259Regional jails.
260---
261common/region.c, include/libproto.h, map.h: parse jail entries, new function
262 get_jail_exit to return the exit to the local jail.
263doc/Developers/regions: update
264server/c_wiz.c, commands.c, include/sproto.h: add dm command, command_arrest
265 to jail players in the correct location.
266lib/regions: add scorn and navar jails.
267Brendan Lally 2006/02/08
268
269Code that adds transports. Transports are described more in detail in
270docs/Developers/objects.
271---
272loader.l: Add new move type ('boat'). Update move_name field to be aware of
273 this type.
274common/object.c: Unrelated to transport, but more apparant with transports -
275 fix bug with insert_ob_in_map() and multipart objects - we now only
276 try to fix up map and coordinates if the provided coordinates are
277 out of the map. Before, function would always use the passed
278 map for multipart objects, which is incorrect if we have already
279 set valid coordinates.
280doc/Developers/objects: Update notes for TRANSPORTS. Update move
281 information to include MOVE_BOAT.
282include/define.h: Add type TRANSPORT. Add MOVE_BOAT.
283include/player.h: Add transport field to player structure.
284include/sproto.h: rebuilt.
285server/apply.c: Add code to handle applying of transports. Update
286 apply_below to apply transport if player is on one.
287server/attack.c: Update hit_map() to look for transports, and hit any
288 players with the damage.
289server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS
290 so that code can be re-used.
291server/move.c: Fix handling of multipart objects in move_object() -
292 old code didn't work right with multipart objects moving along seams
293 of tiled maps. Add code to move_ob() to update player map position
294 for all players in a moving transport.
295server/player.c: Update move_player_attack() too check of player is
296 in tranport, and use that for map and location information. Update
297 move_player() to handle speed related issues with transports.
298server/time.c: Add code to credit time back to TRANSPORT objects since
299 we remove time in move_player() for TRANSPORTS.
300socket/item.c: Add add_object_to_socklist() so that same code isn't
301 reproduced in 3 different places in the file. Update draw_look()
302 to handle transports - send transport object itself, then objects
303 in transport. Update esrv_send_inventory() and esrv_send_item()
304 to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look
305 for objects in transport if player is in transport.
306socket/loop.c: Remove checking of pl->map status, since draw_client_map()
307 does that, and we need to handle if the player is in a transport.
308socket/request.c: Handle map drawing if player is in a transport.
309MSW 2006-02-06
310
311movement type changes. Add move_allow field to explicitly allow certain
312movement types on spaces. Add suppport for using string names instead
313of numeric values to specify the MOVE_ values. Add code so when saving
314data out, use string names instead of numeric value.
315---
316common/loader.l: Remove save_double(), as it isn't used by any code.
317 Add set_move() to set movement types from strings.
318 Add get_string_move_type, which takes integer movement type and
319 returns a string. Update load and save code to use these functions
320 respectively.
321common/map.c: Change blocked_link() so that we only examine all the objects
322 on a space if there is something alive on the space or space is otherwise
323 blocked. There is no reason to examine all the objects on the space if
324 the object in question can move onto it.
325 Modify update_position() to use the move_allow field to clear bits
326 in the move_block field.
327common/object.c: Add check in CAN_MERGE for move_allow. Add check for
328 move_allow in update_object to see if we should update the space or
329 not.
330doc/Developers/objects: Update Movement code section to note use of using
331 strings to set movement types. Add note about move_allow. Section
332 about Transports added, but code isn't there yet.
333include/object.h: Add move_allow to object structure.
334MSW 2006-02-04
335
336Fix attack messages containing random characters.
337--
338server/attack.c: In attack_message() always initialize variables.
339Andreas Kirschbaum 2006-02-03
340
341server/c_misc.c: fix bug 1413239 Server crash with "who" command output
342using null map names
343Brendan Lally 2006-02-03
19 344
20include/newserver.h, server/login.c, socket/init.c, socket/loop.c: 345include/newserver.h, server/login.c, socket/init.c, socket/loop.c:
21 drop any connection that fails to login successfully after 346 drop any connection that fails to login successfully after
22 MAX_PASSWORD_FAILURES attempts (defaults to 5) 347 MAX_PASSWORD_FAILURES attempts (defaults to 5)
23doc/Developers/protocol: document properly the byte counts of item flags, 348doc/Developers/protocol: document properly the byte counts of item flags,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines