| 1 |
2020-01-11 Nicolas weeger |
| 2 |
* utils/cre/CREMainWindow.{h,cpp}: Add export of alchemy relationship to .dot file. |
| 3 |
|
| 4 |
2020-01-08 Nicolas Weeger |
| 5 |
* server/quest.c: Use media tags for quest information. |
| 6 |
|
| 7 |
2021-01-07 Daniel Hawkins |
| 8 |
* types/spell_effect/spell_effect.c: Drop unpaid items when word of recall triggers. |
| 9 |
This prevents abuse of balms of return home in shops. |
| 10 |
|
| 11 |
2021-01-06 Daniel Hawkins |
| 12 |
* server/skill_util.c: Disallow use of unapid skill tools in use_skill() |
| 13 |
|
| 14 |
2021-01-02 Nicolas Weeger |
| 15 |
* plugins/cfcitybell/cfcitybell.c: Add the bell of Valkyrie's temple. |
| 16 |
* server/player.c: Change message type for keys from 'attack' to 'item'. |
| 17 |
|
| 18 |
2020-12-29 Nicolas Weeger |
| 19 |
* socket/item.c: Don't send item's animation if FLAG_ANIMATE isn't set. |
| 20 |
* server/quest.c: Add a client specific command to display quest information. |
| 21 |
|
| 22 |
2020-12-21 Nicolas Weeger |
| 23 |
* common/readable.c, |
| 24 |
server/knowledge.c: Fix monster knowledge not correctly saved. |
| 25 |
|
| 26 |
2020-12-15 Nicolas Weeger |
| 27 |
* server/monster.c: Fix invalid call to fix_object. |
| 28 |
* server/player.c: Fix reset of pickup mode at player death. |
| 29 |
|
| 30 |
2020-12-14 Nicolas Weeger |
| 31 |
* common/map.c, |
| 32 |
common/path.c, |
| 33 |
server/c_misc.c, |
| 34 |
server/server.c: Use tilde (~) for player-unique map paths. |
| 35 |
Patch https://sourceforge.net/p/crossfire/patches/384/ by Kevin Zheng. |
| 36 |
|
| 37 |
2020-12-13 Nicolas Weeger |
| 38 |
* server/monster.c, |
| 39 |
test/bugs/bugtrack/Makefile.am, |
| 40 |
test/bugs/bugtrack/check_883.c: Fix bug https://sourceforge.net/p/crossfire/bugs/883/ |
| 41 |
"Monsters will not apply weapons in their inventory", add relevant unit test. |
| 42 |
|
| 43 |
2020-12-12 Nicolas Weeger |
| 44 |
* common/artifact.c: Copy key-values from artifact to object. |
| 45 |
* server/alchemy.c: Apply patch https://sourceforge.net/p/crossfire/patches/349/ |
| 46 |
by Daniel Ziem. |
| 47 |
* plugins/cfpython/cfpython_object.c, plugins/common/include/plugin_common.h, |
| 48 |
plugins/common/plugin_common.c: Mark 'CastAbility' as obsolete. |
| 49 |
|
| 50 |
2020-12-10 Nicolas Weeger |
| 51 |
* socket/request.c: add speech bubble to NPCs. |
| 52 |
Patch by Kevin Zheng, slightly adjusted. |
| 53 |
|
| 54 |
2020-12-08 Nicolas Weeger |
| 55 |
* common/arch.c, |
| 56 |
common/loader.l, |
| 57 |
common/object.c, |
| 58 |
include/object.h |
| 59 |
server/attack.c: remove 'discrete_damage', unused. |
| 60 |
* common/loader.l: use a larger buffer when loading artifacts to not wrap long messages. |
| 61 |
|
| 62 |
2020-12-02 Nicolas Weeger |
| 63 |
* random_maps/treasure.c: remove unused code. |
| 64 |
* random_maps/treasure.c, |
| 65 |
* include/random_maps/random_map.h, |
| 66 |
* random_maps/random_map.c, |
| 67 |
* random_maps/reader.l: allow style maps for chests found in random maps. |
| 68 |
|
| 69 |
2020-12-01 Nicolas Weeger |
| 70 |
* types/spellbook/spellbook.c: Fix invalid array indice leading to crash. |
| 71 |
|
| 72 |
2020-11-28 Daniel Hawkins |
| 73 |
* types/spellbook/spellbook.c: Make sure an unidentified spellbook at least tells you |
| 74 |
what you can already see in the viewport, rather than "That is: " without a name. |
| 75 |
* server/c_object.c: Prevent the flavor text for magic to appear when the item is not |
| 76 |
yet identified. |
| 77 |
|
| 78 |
2020-11-27 Daniel Hawkins |
| 79 |
* server/skills.c: Make trapped doors detonate traps when lockpicked on the first attempt. |
| 80 |
|
| 81 |
2020-11-23 Nicolas Weeger |
| 82 |
* common/anim.c: change function prototype. |
| 83 |
* server/attack.c: use a default "attack" anim_suffix for attacks. Apply |
| 84 |
anim_suffix to monsters too. |
| 85 |
|
| 86 |
2020-11-11 Daniel Hawkins and Kevin Zheng |
| 87 |
* socket/request.c, |
| 88 |
server/player.c: Make the handling to prevent createplayer command abuse |
| 89 |
more robust. Also address some socket state issues while here. |
| 90 |
And fix a segfault from incorrectly removing pl->ob->contr in create_player_cmd. |
| 91 |
|
| 92 |
2020-11-08 Daniel Hawkins |
| 93 |
* server/rune.c: Fix segfault when showing an unanimated trap. |
| 94 |
|
| 95 |
2020-11-02 Daniel Hawkins |
| 96 |
* plugins/citylife/citylife.c: Fix an off-by-one in the number of NPCs to spawn on |
| 97 |
map load, and fix the location and inclusion of spawn points in northern Scorn. |
| 98 |
Fixed NPCs loaded on map load from having their inventory drop when killed. |
| 99 |
|
| 100 |
2020-10-23 Daniel Hawkins |
| 101 |
* server/spell_util.c: Make no-magic tiles block magic before spells can be bungled. |
| 102 |
|
| 103 |
2020-10-22 Daniel Hawkins |
| 104 |
* server/player.c: Refactor code to remove confusion, poison, and disease on death |
| 105 |
into its own function. |
| 106 |
|
| 107 |
2020-10-21 Daniel Hawkins |
| 108 |
* socket/request.c: Make sure to remove player's object if they send |
| 109 |
createplayer for a character with a different name than the current one. |
| 110 |
* server/c_object.c: Fix a nullpointer dereference when a skill tool lacks a |
| 111 |
skill message. |
| 112 |
|
| 113 |
2020-10-20 Rebecca Kelly |
| 114 |
* types/spellbook/spellbook.c, server/c_object.c: display the description of |
| 115 |
a spell or skill when examining an object that contains it such as a |
| 116 |
wand, spellbook, or skillscroll. These descriptions are sent with the |
| 117 |
SPELL_INFO message type so that clients can differentiate them from |
| 118 |
their surroundings when colourizing. |
| 119 |
|
| 120 |
2020-10-20 Rebecca Kelly |
| 121 |
* types/spellbook/spellbook.c: spellbooks will now list their spell level, |
| 122 |
casting skill, and paths in the detailed object name, e.g. "grimoire of |
| 123 |
poison cloud (a fourth level sorcery) (paths: Missiles)", in much the |
| 124 |
same way equipment will list its stats. |
| 125 |
Since this information is now available in the object name, the message |
| 126 |
telling you what spell a spellbook contains when you successfully read |
| 127 |
it will appear only if you identified the book in the process of reading. |
| 128 |
|
| 129 |
2020-10-18 Daniel Hawkins |
| 130 |
* server/server.c: Add a message stating when initialization finishes. |
| 131 |
|
| 132 |
2020-10-14 Daniel Hawkins |
| 133 |
* server/shop.c: Add an event hook for when an item is bought. |
| 134 |
* include/plugin.h: Add an event descriptor for the new buying event. |
| 135 |
|
| 136 |
2020-10-10 Daniel Hawkins |
| 137 |
* common/readable.c: Fix generation of book names for recipes whose product lack a title. |
| 138 |
While here, add some more book name combinations. |
| 139 |
|
| 140 |
2020-10-10 Daniel Hawkins |
| 141 |
* server/spell_attack.c: Adjust handling of aggravation to prevent shenanigans and prepare it for |
| 142 |
use as a legitimate spell. |
| 143 |
|
| 144 |
2020-10-03 Daniel Hawkins |
| 145 |
* server/c_wiz.c: Don't interpret blank lines in dm_file as malformed entries. |
| 146 |
Prevent buffer overrun in `plugin command. |
| 147 |
* server/c_misc.c: Use StringBuffer to fix buffer overflow from malicious/malformed bowmode command. |
| 148 |
|
| 149 |
2020-10-02 Daniel Hawkins |
| 150 |
* plugins/cfpython/cfpython.c: Set context->event to NULL when running python-based commands. |
| 151 |
It was possible to segfault from it not being a valid address if malloc used |
| 152 |
recycled memory. |
| 153 |
|
| 154 |
2020-09-30 Daniel Hawkins |
| 155 |
* server/player.c: Prevent check_pick() from processing on a non-player. |
| 156 |
* server/skills.c: Prevent stop_jump() from calling check_pick() for non-players. |
| 157 |
|
| 158 |
2020-09-19 Preston Crow |
| 159 |
* server/commands.c,server/player.c: Add 'face' command to have the |
| 160 |
player face a given direction without taking any action. |
| 161 |
|
| 162 |
2020-09-17 Daniel Hawkins |
| 163 |
* server/build_map.c: Disallow use of unpaid building materials. |
| 164 |
Mentioned by Titus on the Discord/IRC a few weeks back. |
| 165 |
|
| 166 |
2020-09-17 Preston Crow |
| 167 |
* server/apply.c: Apply command: Pass through and honor '-a' and '-u' |
| 168 |
flags for containers and add a new flag '-o' to fully open a container |
| 169 |
in your inventory. |
| 170 |
|
| 171 |
2020-09-17 Preston Crow |
| 172 |
* include/global.h,lib/config/settings,server/init.c,socket/request.c: |
| 173 |
Add a config option MIN_NAME to restrict very short account and |
| 174 |
character names. It defaults to 1, and doesn't impact existing |
| 175 |
accounts or characters, so it can be changed on existing servers |
| 176 |
with no negative impacts. |
| 177 |
|
| 178 |
2020-09-13 Rebecca Kelly |
| 179 |
* types/spellbook/spellbook.c: change the order of the messages when you |
| 180 |
successfully read a spellbook to make them read a bit better. |
| 181 |
|
| 182 |
2020-09-10 Rebecca Kelly |
| 183 |
* server/player.c: use object_can_merge() to deduplicate starting inventory. |
| 184 |
This fixes an issue where all spellbooks of a given school were |
| 185 |
considered equivalent by the deduplicator, resulting in most caster |
| 186 |
characters only getting one spellbook when they should have gotten 2-3. |
| 187 |
Note that players may still get fewer spellbooks if multiple books were |
| 188 |
generated holding the same spell. |
| 189 |
|
| 190 |
2020-09-08 Daniel Hawkins |
| 191 |
* server/apply.c: Refactor class face apply to allow for custom class faces on races that |
| 192 |
lack noclassfacechange. |
| 193 |
|
| 194 |
2020-09-07 Daniel Hawkins |
| 195 |
* server/monster.c: Don't allow monsters to pick up items that are on their spaces while being thrown. |
| 196 |
This fixes an occasional "Thrown object had no map" error that resulted from monsters picking |
| 197 |
thrown items mid-flight and the item not being transitioned back to it's non-thrown form. |
| 198 |
|
| 199 |
2020-09-06 Daniel Hawkins |
| 200 |
* common/button.c: Add check for an unpaid flag that matches the check_inv trigger's unpaid flag. |
| 201 |
This allows for us to optionally look exclusively for unapid items, but by default exclude |
| 202 |
unpaid items from the search. |
| 203 |
|
| 204 |
2020-09-06 Daniel Hawkins |
| 205 |
* server/plugins.c: Fix invalid pointer dereference when calculating perm_exp. |
| 206 |
Turns out the other end of the plugin was expecting this, but I didn't do it right here. |
| 207 |
|
| 208 |
2020-09-05 Daniel Hawkins |
| 209 |
* server/skill_util.c: Add check for not unpaid when searching an inventory for a skill tool. |
| 210 |
This makes it behave like it would it it were manually applied: it does not apply. |
| 211 |
|
| 212 |
2020-09-05 Daniel Hawkins |
| 213 |
* server/player.c, |
| 214 |
include/libproto.h, |
| 215 |
common/object.c: Add a function to retrieve an item from inventory that is not unpaid. |
| 216 |
Used it to prevent unpaid keys from being used as if they weren't. |
| 217 |
|
| 218 |
2020-09-01 Daniel Hawkins |
| 219 |
* server/plugins.c, |
| 220 |
plugins/common/plugin_common.c, |
| 221 |
plugins/common/include/plugin_common.h, |
| 222 |
plugins/cfpython/cfpython_object.c, |
| 223 |
include/plugin.h: Move a reference to settings struct instance into plugins.c, |
| 224 |
since it could not be seen on the plugin-side (at least when using GCC 9) |
| 225 |
|
| 226 |
2020-08-30 Preston Crow |
| 227 |
* server/skill_util.c: 'skills' command output is fixed-width format |
| 228 |
with a '-l' option for long display with full perm exp information. |
| 229 |
|
| 230 |
2020-08-30 Preston Crow |
| 231 |
* types/teleporter/teleporter.c: Use subtype or other_arch to restrict |
| 232 |
teleporters to specific object types. |
| 233 |
|
| 234 |
2020-08-30 Preston Crow |
| 235 |
* common/living.c, |
| 236 |
common/loader.l, |
| 237 |
common/object.c, |
| 238 |
include/global.h, |
| 239 |
include/object.h, |
| 240 |
server/plugins.c, |
| 241 |
server/skill_util.c: Change from tracking perm_exp to total_exp, so any |
| 242 |
rounding is done when it is used, not as it is accumulated. |
| 243 |
|
| 244 |
2020-08-15 Daniel Hawkins |
| 245 |
* socket/sounds.c: Adjust sound volume based on proximity to player. |
| 246 |
This makes things like the bullet squares in random maps more bearable. |
| 247 |
|
| 248 |
2020-08-14 Daniel Hawkins |
| 249 |
* server/server.c: Partially revert fix, since assumption that all speeds would |
| 250 |
be positive did not hold for custom creatures on random maps. |
| 251 |
|
| 252 |
2020-08-11 Daniel Hawkins |
| 253 |
* common/living.c, |
| 254 |
server/server.c, |
| 255 |
common/loader.l: Load speed as positive number, and then set a minimum speed |
| 256 |
for monsters. Fixes bug #854. |
| 257 |
|
| 258 |
2020-08-06 Daniel Hawkins |
| 259 |
* plugins/cfpython/cfpython_object.c: Expose item_power to the python API as a R/W value. |
| 260 |
* common/living.c: Add code to handle giving experience to weapons, so that we can handle weapons that get stronger over time. |
| 261 |
|
| 262 |
2020-01-16 Daniel Hawkins |
| 263 |
* socket/loop.c: Replace assertion of nonnull cmd in handle_cmd with a check |
| 264 |
that rejects the null command but keeps the server running. |
| 265 |
|
| 266 |
2019-12-29 Daniel Hawkins |
| 267 |
* common/artifact.c: Reduce severity of artifacts with no chance to debug. |
| 268 |
There are use cases where no artifact chance makes sense. |
| 269 |
They can be obsoleted, craftable, quest items, or anything else that shouldn't |
| 270 |
appear in random loot. |
| 271 |
|
| 272 |
2019-12-05 Daniel Hawkins |
| 273 |
* server/monster.c: Reduce calls to monster_compute_path. |
| 274 |
|
| 275 |
2019-12-04 Daniel Hawkins |
| 276 |
* socket/request.c: Reduce dereferences in draw_client_map2. |
| 277 |
|
| 278 |
2019-12-03 Daniel Hawkins |
| 279 |
* common/los.c: Reduce recursion overhead in set_wall() by checking to see if the tile has already been set. |
| 280 |
* include/sockproto.h: Remove draw_client_map2. It was only used in request.c |
| 281 |
* socket/request.c: Make draw_client_map2 a static function. |
| 282 |
|
| 283 |
2019-12-01 Daniel Hawkins |
| 284 |
* common/los.c, |
| 285 |
server/player.c, |
| 286 |
server/c_wiz.c, |
| 287 |
include/libproto.h: Adjust some trivial cases of los calculations to use player structure directly. |
| 288 |
* socket/loop.c: Add detail to message indicating a tick took too long. |
| 289 |
|
| 290 |
2019-11-30 Daniel Hawkins |
| 291 |
* lib/artifacts: Add an artifact for new kite shield arch. Requires r21039. |
| 292 |
|
| 293 |
2019-11-29 Daniel Hawkins |
| 294 |
* lib/artifacts: Remove horn of sirens for artifact list, since it is a god-given item. |
| 295 |
Fixes Bug #861. |
| 296 |
|
| 297 |
2019-08-11 Daniel Hawkins |
| 298 |
* lib/artifacts: Add artifacts for white/black leather cloaks. |
| 299 |
* lib/formulae: Add formulae to craft white/black leather cloaks and leather armour. |
| 300 |
* common/recipe.c: Add check handling for when one recipe is done with a cauldron and |
| 301 |
another using a tool and both use the same ingredients. |
| 302 |
|
| 303 |
2019-04-22 Rick Tanner |
| 304 |
* server/spell_util.c: Patch #357 Balancing changes to the summoning branch |
| 305 |
Failed summons via Summoning skill no longer cost spell points. |
| 306 |
|
| 307 |
2019-03-15 Daniel Hawkins |
| 308 |
* common/arch.c: Dynamically generate is_type_valid(). |
| 309 |
* common/is_valid_types_gen.pl: Dynamically generate is_type_valid(). |
| 310 |
* common/Makefile.am: Add build rules to dynamically generate is_type_valid(). |
| 311 |
(Patched with a non-defective version on 2019-03-20) |
| 312 |
|
| 313 |
2019-01-03 Daniel Hawkins |
| 314 |
* server/skills.c: Fix encumbered throw logic to penalize high encumbrance |
| 315 |
instead of reward it. |
| 316 |
|
| 317 |
2018-12-31 Daniel Hawkins |
| 318 |
* utils/crossloop.web.in: Make SRCDIR be determined on the fly. |
| 319 |
This reduces the number of variables that need to be changed before use. |
| 320 |
* common/readable.c: Add more book titles. |
| 321 |
|
| 322 |
2018-12-30 Daniel Hawkins |
| 323 |
* server/player.c: Simplify melee weapon pickup logic, since tables and chairs |
| 324 |
haven't been weapons since 2011. |
| 325 |
|
| 326 |
2018-12-24 Daniel Hawkins |
| 327 |
* server/c_object.c: Fix "gods...retrieves" to agree in plurality. |
| 328 |
* plugins/cfcitybell/*: Refactor city temple bell event to be its own non-Python unit. |
| 329 |
* plugins/Makefile.am: Add the new independent citybell plugin to the build tree. |
| 330 |
* configure.ac: Add config rules to allow for the city bells to be disabled. |
| 331 |
|
| 332 |
2018-12-23 Daniel Hawkins |
| 333 |
* common/links.c: Better utilize the calloc function to set the dynamic allocated |
| 334 |
lists to 0 as it is allocated. |
| 335 |
* socket/request.c: Rewrite spell_client_use to use a switch statement instead of ifs. |
| 336 |
|
| 337 |
2018-12-22 Daniel Hawkins |
| 338 |
* server/hiscore.c: Adjust i+1 followed by i++ to be ++i; |
| 339 |
(Reverted due to out-of-bounds error w/ optimization by ryo_saeba on 26 Dec) |
| 340 |
|
| 341 |
2018-10-28 Daniel Hawkins |
| 342 |
* common/living.c, |
| 343 |
common/artifact.c: Make items that have the confused flag set confuse the wielder. |
| 344 |
* lib/artifacts: Add a helmet of Confusion to utilize the new item-sourced confusion. |
| 345 |
|
| 346 |
2018-10-24 Daniel Hawkins |
| 347 |
* common/readable.c: Make text from the messages file not get split at buffer boundaries. |
| 348 |
* server/player.c, |
| 349 |
common/living.c: Make dragon ability gain levels specified in magic field in treasurelist. |
| 350 |
|
| 351 |
2018-10-23 Daniel Hawkins |
| 352 |
* common/readable.c: Add "illuminated text" as a religion book name. |
| 353 |
* server/c_object.c: Refactor a loop through the player's inventory to better use the op->contr->mark pointer. |
| 354 |
|
| 355 |
2018-10-22 Daniel Hawkins |
| 356 |
* random_maps/style.c: Remove superfluous use of buffer and snprintf. |
| 357 |
* include/global.h, |
| 358 |
common/loader.l, |
| 359 |
common/init.c, |
| 360 |
common/arch.c: Remove ::warn_archetypes and make loader use try_find_archetype. |
| 361 |
* common/recipe.c: Refactor recipe creation to use calloc instead of malloc. |
| 362 |
|
| 363 |
2018-09-24 Daniel Hawkins |
| 364 |
* types/Makefile.am: Add new mimic type file to build. |
| 365 |
* server/ob_types.c: Initialize the apply hook for mimics. |
| 366 |
* include/typesproto.h: Function prototype for apply hook initialization. |
| 367 |
* include/object.h: Add MIMIC type and update max type number. |
| 368 |
* types/mimic/mimic.c: Add code for MIMIC type. |
| 369 |
* common/item.c: Add new type to the table defined here. Make it like container. |
| 370 |
* random_maps/treasure.c: Make a very slim chance of a mimic replacing a chest when diffiuclty > 5. |
| 371 |
|
| 372 |
2018-06-02 Daniel Hawkins |
| 373 |
* server/time.c: Simplify the code for determining the placement of a new object in change_object(). |
| 374 |
|
| 375 |
2018-05-31 Daniel Hawkins |
| 376 |
* server/attack.c: Fix double application of resistance for life stealing attacktype. |
| 377 |
Also, add more complex algorithm for slowness to reduce >1 speed sometimes. |
| 378 |
|
| 379 |
2018-05-28 Daniel Hawkins |
| 380 |
* common/living.c: Simplification of bracer/force/armor AC/WC code in fix_object: |
| 381 |
if we don't replace the best value, don't waste time subtracting and adding the same |
| 382 |
value to the object. |
| 383 |
Also, fix bug #823 by directly applying bracer ac and wc for serpentmen players. |
| 384 |
* server/monster.c: Skip performance shortcuts in monster_compute_path for |
| 385 |
multitile monsters. |
| 386 |
|
| 387 |
2018-05-23 Daniel Hawkins |
| 388 |
* server/attack.c: Make death attacks do no damage when the monster cannot |
| 389 |
be affected by that death attack. Also make the order of the strstr check |
| 390 |
work for multiple races defined on the creature, and only one on the weapon. |
| 391 |
Make the strstr reorder on triple-damage calc, too. |
| 392 |
* server/init.c: Change race loading logic so that a race defined in lib/races |
| 393 |
is added to an arch's race field, rather than replace it. This allows for |
| 394 |
"slay vampire" and other slaying fields that aren't a normal race to actually |
| 395 |
function while still preserving summon lists for summon cult monster. |
| 396 |
|
| 397 |
2018-05-21 Daniel Hawkins |
| 398 |
* server/attack.c: Make death attacks relevant. |
| 399 |
|
| 400 |
2018-05-19 Daniel Hawkins |
| 401 |
* server/player.c: Load background music when moving through tiled maps. |
| 402 |
|
| 403 |
2018-02-12 Daniel Hawkins |
| 404 |
* server/monster.c: Refactor to reduce calls to ob_blocked by remembering prior blocked tiles from the same run. |
| 405 |
This causes a small but noticable (~5%) reduction in overall pathing cost. |
| 406 |
Do a quick check in monster_compute_path to ensure there are multiple ways the monster can move around |
| 407 |
before attempting to go through the whole pathing algorithm. This yields significant performance improvements. |
| 408 |
|
| 409 |
2018-02-11 Daniel Hawkins |
| 410 |
* common/map.c: Refactor get_map_from_coord() to be iterative instead of recursive. |
| 411 |
|
| 412 |
2018-02-03 Daniel Hawkins |
| 413 |
* server/time.c: Improve change_object to handle multi-tile monster changes. |
| 414 |
* test/unit/server/check_monster_change.c: Add unit test for changing monsters. |
| 415 |
* test/unit/server/Makefile.am: Add new unit test to the build instructions. |
| 416 |
|
| 417 |
2018-01-24 Daniel Hawkins |
| 418 |
* server/login.c: Prevent memory leak of party_name on attempted login of a player with negative hp. |
| 419 |
|
| 420 |
2018-01-23 Daniel Hawkins |
| 421 |
* common/anim.c: Reduce calls to realloc on animation load. Handle failed realloc gracefully. |
| 422 |
|
| 423 |
2018-01-22 Daniel Hawkins |
| 424 |
* server/plugins.c: Fix redundant call to va_end in cfapi_object_move. |
| 425 |
|
| 426 |
2018-01-21 Daniel Hawkins |
| 427 |
* common/init.c: Use strspn for finding the first non-whitespace character in attackmess, |
| 428 |
and allow for tabs to be used as whitespace. |
| 429 |
* socket/request.c: Reorder conditions to prevent segfault if pl is null in esrv_remove_spell. |
| 430 |
|
| 431 |
2018-01-18 Daniel Hawkins |
| 432 |
* lib/artifacts: Fix boots/gauntlets that should posess a damage value that don't. Fixes bug #832. |
| 433 |
|
| 434 |
2018-01-14 Daniel Hawkins |
| 435 |
* server/skills.c: Fix segfault from check for transport when monster uses |
| 436 |
jumping skill. |
| 437 |
|
| 438 |
2018-01-13 Daniel Hawkins |
| 439 |
* lib/artifacts: Make goblin leaders generate facing forward and animate the |
| 440 |
artifact monsters so the versions that have animations use the animation frames. |
| 441 |
|
| 442 |
2018-01-08 Daniel Hawkins |
| 443 |
* common/artifact.c: Expand identified face use of pre-identified items, even |
| 444 |
if the type otherwise need identifying. This makes gems appear with the correct face. |
| 445 |
|
| 446 |
2018-01-07 Daniel Hawkins |
| 447 |
* common/artifact.c: Make artifacts of items that do not need identifying |
| 448 |
appear using their identified face and animation. In particular, this makes |
| 449 |
the randomly-generated tougher monsters (e.g. goblin leaders) differentiable |
| 450 |
from the normal monsters in the room. |
| 451 |
|
| 452 |
2018-01-02 Daniel Hawkins |
| 453 |
* server/shop.c: Make shop pricing treat unidentified items as if they were |
| 454 |
the normal version of the item. Fixes Bug #812. |
| 455 |
|
| 456 |
2017-09-02 Daniel Hawkins |
| 457 |
* random_maps/main.c: Expand test generator options to allow |
| 458 |
layout choice. |
| 459 |
|
| 460 |
2017-08-26 Daniel Hawkins |
| 461 |
* types/spellbook/spellbook.c: Identify spellbooks of spells you already know |
| 462 |
when applying them. Also make the message name the spell. |
| 463 |
|
| 464 |
2017-08-23 Daniel Hawkins |
| 465 |
* server/attack.c: Add message and set a new flag for indicating a player is paralyzed. |
| 466 |
* server/player.c: Add message for end of paralysis and disallow blindly eating |
| 467 |
while paralyzed. |
| 468 |
* server/monster.c: Make sure monsters unset paralyze flag when they can move again. |
| 469 |
* include/define.h: Creation of FLAG_PARALYZED flag. |
| 470 |
* common/loader.l: Allow for the paralyzed flag to exist in objects saved to file. |
| 471 |
|
| 472 |
2017-08-15 Daniel Hawkins |
| 473 |
* server/skills.c: Disallow jumping while in a transport. |
| 474 |
|
| 475 |
2017-08-13 Daniel Hawkins |
| 476 |
* server/c_wiz.c: Update error message for set_god. |
| 477 |
|
| 478 |
2017-08-09 Daniel Hawkins |
| 479 |
* common/living.c: Fix incomplete totaling of equipped item power |
| 480 |
in fix_object(). Should fix bug #648. |
| 481 |
|
| 482 |
2017-08-05 Daniel Hawkins |
| 483 |
* server/time.c: Make firewalls choose their direction to cast based on direction, |
| 484 |
not sp. Fixes bug #834. |
| 485 |
* common/button.c: Fix rotation of firewalls to also use direction. |
| 486 |
Fix the animation problem that caused a segfault, too. Solves bug #835. |
| 487 |
|
| 488 |
2017-07-29 Rick Tanner |
| 489 |
* lib/help/statistics.en: Update statistics help file with information on |
| 490 |
damage per second, and time played. |
| 491 |
|
| 492 |
2017-07-27 Daniel Hawkins |
| 493 |
* server/c_misc.c: Add damage per second calculation to "statistics" |
| 494 |
command. |
| 495 |
|
| 496 |
2017-07-24 Kevin Zheng |
| 497 |
* server/attack.c: Play attack sounds on the map |
| 498 |
* server/commands.c: Allow players to forget spells |
| 499 |
|
| 500 |
2017-06-17 Daniel Hawkins |
| 501 |
* server/attack.c: Update display for pk to only show when player kills a |
| 502 |
player other than self. |
| 503 |
|
| 504 |
2017-05-31 Rick Tanner |
| 505 |
* lib/help/nextkey.en: New help file for nextkey command |
| 506 |
* lib/help/prevkey.en: New help file for prevkey command |
| 507 |
|
| 508 |
2017-05-20 Kevin Zheng |
| 509 |
* socket/sounds.c: Play region music if a map doesn't have music |
| 510 |
|
| 511 |
2017-02-18 Daniel Hawkins |
| 512 |
* server/monster.c: Prevent monster_compute_path from being called for |
| 513 |
confused monsters. |
| 514 |
|
| 515 |
2016-06-03 Daniel Hawkins |
| 516 |
* common/map.c: Only check for null tile map if we tried to load; |
| 517 |
if we didn't try to load, tile map was already non-null. |
| 518 |
|
| 519 |
2016-05-23 Daniel Hawkins |
| 520 |
* common/map.c: Prevent a potential segfault in get_map_from_coord() and |
| 521 |
out_of_map() if load_and_link_tiled_map() returns a null map. It was |
| 522 |
used before it was verified in previous behavior. Updated the documentation |
| 523 |
for each function to state the initial map passed to it must not be NULL. |
| 524 |
|
| 525 |
2016-05-22 Daniel Hawkins |
| 526 |
* server/server.c: Move the static string reference into the condition |
| 527 |
branch, since we only use it on that branch. |
| 528 |
|
| 529 |
2016-05-21 Daniel Hawkins |
| 530 |
* common/los.c: Refactored set_wall() to recycle a couple variables to |
| 531 |
reduce recursion overhead. |
| 532 |
* plugins/cfanim/cfanim.c: Refactored get_boolean() to not use strncmp(), |
| 533 |
since it was only checking the first character anyway. |
| 534 |
* common/player.c: Changed a malloc() with a memset() to 0 into a calloc(). |
| 535 |
* lib/attackmess: Change 'acrobaticly' to 'acrobatically'. |
| 536 |
|
| 537 |
2016-05-18 Daniel Hawkins |
| 538 |
* common/map.c: Add new maps to the front of the mapstruct linked list |
| 539 |
since there does not appear to be any order preference in the rest of |
| 540 |
the codebase. |
| 541 |
Remove a redundant memset to 0 after a calloc(). Also check for null |
| 542 |
to prevent potential segfaults. |
| 543 |
Optimize out newx and newy in get_map_flags(). x and y are already copies. |
| 544 |
Optimize out check_dir in compute_monster_path(). |
| 545 |
Optimize the initialization of distance to use memset() instead of a loop. |
| 546 |
|
| 547 |
2016-05-17 Daniel Hawkins |
| 548 |
* common/living.c: Change the depletion message for Con loss to differentiate |
| 549 |
it from the permanent stat loss message. |
| 550 |
* server/monster.c: Additional optimizations in monster_compute_path(). |
| 551 |
|
| 552 |
2016-05-16 Daniel Hawkins |
| 553 |
* server/knowledge.c: Use malloc instead of calloc where all struct values |
| 554 |
are subsequently set. |
| 555 |
|
| 556 |
2016-05-15 Daniel Hawkins |
| 557 |
* server/monster.c: Remove redundant hp value check in monster_do_living(). |
| 558 |
Adjusted the run_away health check to use integers instead of floats. |
| 559 |
This causes a 1-higher threshold for some maxhp values if run_away is |
| 560 |
13, 21, 26, 39, 42, 52, 53, 59, 65, 71, 78, or 84. |
| 561 |
* server/attack.c: Made same adjustment to run_away calc as in monster.c. |
| 562 |
In this manner, the rounding change occurs on both set and unset of FLAG_RUN_AWAY. |
| 563 |
* server/arch.c: Refactor some comparisons in is_type_valid() to use a switch statement. |
| 564 |
|
| 565 |
2016-05-14 Daniel Hawkins |
| 566 |
* server/monster.c: Optimizations in monster_compute_path(). |
| 567 |
* common/object.c: Reimplement the absdir() function to avoid loops. |
| 568 |
|
| 569 |
2016-05-07 Daniel Hawkins |
| 570 |
* configure.ac: Change some of the "#" Comments to "dnl" comments. |
| 571 |
They didn't need to go into the generated config file, so they won't be. |
| 572 |
|
| 573 |
2016-05-02 Daniel Hawkins |
| 574 |
* doc/spell-docs/tome-of-magic.txt: Made some manual edits to effects of |
| 575 |
spells. Still far from complete. |
| 576 |
* doc/spell-docs/Makefile.am: Tweaked the cleanfiles so that 'make clean' |
| 577 |
cleans up all the generated PostScript files. |
| 578 |
|
| 579 |
2016-01-11 Daniel Hawkins |
| 580 |
* doc/scripts/bonus_extract.pl: Refactor shop bonus to match actual implementation. |
| 581 |
|
| 582 |
2015-12-25 Daniel Hawkins |
| 583 |
* configure.ac: Add check for librt and link it in if found. |
| 584 |
|
| 585 |
2015-12-18 Daniel Hawkins |
| 586 |
* doc/spell-docs/spell-summary.ps: Removed. Replaced by a text file for |
| 587 |
easier maintenance in the future. |
| 588 |
* doc/spell-docs/spell-summary.txt: New text file with the information |
| 589 |
formerly stored in spell-summary.ps. |
| 590 |
* doc/spell-docs/create_ps.sh: Add a new command to generate spell-summary.ps. |
| 591 |
* configure.ac: Removed check for memcmp(), srand(), and size_t. |
| 592 |
These should all be definied correctly in a C99 compiler, which we require. |
| 593 |
* include/win32.h: Removed reference to HAVE_SRAND macro from autoconfig.h. |
| 594 |
* include/define.h: Cleaned up RANDOM and SRANDOM macro definitions. |
| 595 |
Since we require C99, there should not be a situation where not even srand is found. |
| 596 |
|
| 597 |
2015-12-15 Daniel Hawkins |
| 598 |
* doc/spell-docs/create_ps.sh: Abstracted the PostScript generation |
| 599 |
out of the perl script. Also add spell-info.ps to the generated |
| 600 |
documents. |
| 601 |
* doc/spell-docs/Makefile.am: Adjusted make definitions to |
| 602 |
accomodate for new script. |
| 603 |
* doc/spell-docs/spell-info.ps: Removed. Generated from spell-info.txt. |
| 604 |
* doc/spell-docs/spell-lists.pl: Removed PostScript output. |
| 605 |
* doc/spell-docs/tome-of-magic.ps: Removed. Generated from |
| 606 |
tome-of-magic.txt. |
| 607 |
|
| 608 |
2015-12-13 Daniel Hawkins |
| 609 |
* server/skill_util.c: Fix phantom miss messages that should occur only with [Fire]+attack. |
| 610 |
|
| 611 |
2015-12-12 Daniel Hawkins |
| 612 |
* doc/Makefile.am: Add build target for making documentation archive |
| 613 |
with new dynamically generated spell lists. |
| 614 |
* doc/spell-docs/Makefile.am: Add build target for dynamic generation of spell lists. |
| 615 |
Also, clean up the EXTRA_DIST declaration. |
| 616 |
* doc/spell-docs/spell-lists.pl: Added a perl script to dynamically generate spell lists. |
| 617 |
* doc/spell-docs/README: Updated to mention effort to upgrade docs. |
| 618 |
* doc/spell-docs/prayer-list.ps: Removed. Now dynamically generated from spell-lists.pl. |
| 619 |
* doc/spell-docs/prayer-list.txt: Removed. Now dynamically generated from spell-lists.pl. |
| 620 |
* doc/spell-docs/spell-list.ps: Removed. Now dynamically generated from spell-lists.pl. |
| 621 |
|
| 622 |
2015-12-11 Daniel Hawkins |
| 623 |
* doc/scripts/bonus-extract.pl: Refactor old bonus-extract, |
| 624 |
replacing it with a perl script that gets the bonuses from |
| 625 |
stat_bonus. |
| 626 |
* doc/playbook-html/Makefile.am: Change the bonus.html build target to run the new script. |
| 627 |
* doc/playbook-html/bonus-extract: Removed. |
| 628 |
* doc/playbook/Makefile.am: Change the bonus.tex build target to run the new script. |
| 629 |
* doc/playbook/bonus-extract: Removed. |
| 630 |
|
| 631 |
2015-12-10 Daniel Hawkins |
| 632 |
* server/account.c: Add [ to the blocked characters. |
| 633 |
It causes improper message printing on the client side. |
| 634 |
This does not effect existing characters, only new ones. |
| 635 |
|
| 636 |
2015-12-09 Kevin Zheng |
| 637 |
* socket/info.c: Log messages that are broadcast to all players |
| 638 |
|
| 639 |
2015-12-07 Daniel Hawkins |
| 640 |
* doc/scripts/gods-extract.pl: Refactor old gods-extract AWK scripts into a perl script. |
| 641 |
While we're here, also reimplement protections, immunities, and vulnerabilities. |
| 642 |
* doc/playbook-html/Makefile.am: Point to the new gods-extract script. |
| 643 |
* doc/playbook-html/gods-extract: Removed. |
| 644 |
* doc/playbook/Makefile.am: Point to the new gods-extract script. |
| 645 |
* doc/playbook/gods-extract: Removed. |
| 646 |
|
| 647 |
2015-12-06 Nicolas Weeger |
| 648 |
* server/c_object.c: Display whether pickup is enabled or inhibited. |
| 649 |
|
| 650 |
2015-12-06 Nicolas Weeger |
| 651 |
Display animations when a spell is blocked, bungled, or town portal failed. |
| 652 |
* include/object.h |
| 653 |
* server/spell_util.c |
| 654 |
|
| 655 |
2015-11-25 Kevin Zheng |
| 656 |
* server/daemon.c: Remove server '-detach' flag |
| 657 |
|
| 658 |
2015-11-21 Andreas Kirschbaum |
| 659 |
* common/artifact.c: Do not truncate face names. |
| 660 |
|
| 661 |
2015-11-10 Daniel Hawkins |
| 662 |
* doc/scripts/levels-extract.pl: Created a new level extraction tool |
| 663 |
for the documentation that works with modern server code and |
| 664 |
is utilized for both html and latex outputs. |
| 665 |
* doc/playbook/Makefile.am: Point to the new perl script for level extraction. |
| 666 |
* doc/playbook/levels-extract: Removed. It was designed to find a hardcoded |
| 667 |
exp table in living.c. |
| 668 |
* doc/playbook-html/Makefile.am: Point to the new perl script for level extraction. |
| 669 |
* doc/playbook-html/levels-extract: Removed. It was designed to find a hardcoded |
| 670 |
exp table in living.c. |
| 671 |
|
| 672 |
2015-05-31 Daniel Hawkins |
| 673 |
* common/living.c: Fixed a bug introduced in r19972 that made skill |
| 674 |
experience based off total level instead of skill level. |
| 675 |
|
| 676 |
2015-05-28 Daniel Hawkins |
| 677 |
* server/player.c: Tweak the starvation calculation to not use a loop. |
| 678 |
Tweak the similar_direction calculation to use modulus instead of |
| 679 |
a switch statement. |
| 680 |
|
| 681 |
2015-05-25 Daniel Hawkins |
| 682 |
* configure.ac: Made the configure script exit if lex and flex are not found. |
| 683 |
* utils/cfarches.xsl: Refactored can_use_xxx to be displayed in a single |
| 684 |
cell. Also completed the set of can_use_xxx options. |
| 685 |
Added XSL Transformation output for body slots. |
| 686 |
|
| 687 |
2015-05-24 Daniel Hawkins |
| 688 |
* common/living.c: Fixed a bug in which the player's experience would |
| 689 |
endlessly loop in the level below maxlevel. |
| 690 |
|
| 691 |
2015-05-22 Daniel Hawkins |
| 692 |
* utils/cfarches.xsl: Refactored resistances to be displayed in a single |
| 693 |
cell for each arch. Also added the rest of the resistances to the |
| 694 |
XSL transformation. |
| 695 |
Added attacktype to the generated HTML table. |
| 696 |
Added plural names to the name display. |
| 697 |
|
| 698 |
2015-05-21 Daniel Hawkins |
| 699 |
* utils/arch2xml.py: Tweaked whitespace of tag output. |
| 700 |
Then added HTML/XML escapes for &, <, and > inside comments and messages. |
| 701 |
Fixed the arch tag writing mechanism to give each object its own arch |
| 702 |
instead of each file getting its own arch tag. |
| 703 |
Made empty comment lines be ignored instead of printed as [#]. |
| 704 |
* utils/cfarches.xsl: Adjusted headings to be actual HTML table headings. |
| 705 |
|
| 706 |
2015-05-20 Daniel Hawkins |
| 707 |
* lib/artifacts: Adjusted several item messages for clarity and grammar. |
| 708 |
* server/c_object.c: Don't show item story (msg) unless it has been |
| 709 |
identified. |
| 710 |
|
| 711 |
2015-05-19 Daniel Hawkins (SilverNexus) |
| 712 |
* test/toolkit/toolkit_crossedit.c: Retired old crossedit test toolkit. |
| 713 |
It was never implemented, and crossedit has been gone for years. |
| 714 |
|
| 715 |
2015-05-16 Daniel Hawkins (SilverNexus) |
| 716 |
* utils/scores.pl.in: Made experience table be dynamically |
| 717 |
read in from the server's installed exp_table file. |
| 718 |
|
| 719 |
2015-05-15 Daniel Hawkins (SilverNexus) |
| 720 |
* random_maps/special.c: Fix fountain material to prevent fountains |
| 721 |
that are actually potions from being destroyed. |
| 722 |
|
| 723 |
2015-03-24 Rick Tanner |
| 724 |
* lib/config/metaserver2: Add entries for additional metaservers, one |
| 725 |
in the US and the other in EU. |
| 726 |
|
| 727 |
2015-03-18 Kevin Zheng |
| 728 |
* server/shop.c: Adjust item enchantment price bonus |
| 729 |
|
| 730 |
2015-02-18 Kevin Zheng |
| 731 |
* server/shop.c: Prevent shops from claiming 'worthless' sold items |
| 732 |
* configure.ac: Ask for a C99 compiler |
| 733 |
|
| 734 |
2015-02-17 Kevin Zheng |
| 735 |
* plugins/: Remove old shop functions from plugin interface |
| 736 |
|
| 737 |
2014-12-21 Kevin Zheng |
| 738 |
* server/shop.c: Overhaul shop prices |
| 739 |
* server/shop.c: Skip shop price adjustment when approximating |
| 740 |
|
| 741 |
2014-12-09 Kevin Zheng |
| 742 |
* server/shop.c: Change the value of unidentified items |
| 743 |
* common/object.c: Fix object_set_msg() to append missing newlines |
| 744 |
|
| 745 |
2014-08-26 SilverNexus |
| 746 |
* lib/formulae: Added formulae incorporating leather from r19607. |
| 747 |
|
| 748 |
2014-06-21 Kevin Zheng |
| 749 |
* utils/crossloop.in: This script now reads its configuration from a |
| 750 |
file. Changes should be made in the new file, not in the script itself. |
| 751 |
|
| 752 |
2014-06-11 SilverNexus |
| 753 |
* lib/checkarch.pl: Rename old checkarch script, since it isn't |
| 754 |
part of the build process and isn't dynamically generated, either. |
| 755 |
* lib/Makefile.am: Remove checkarch script from makefile, since |
| 756 |
no references are made to it. |
| 757 |
|
| 758 |
2014-05-27 SilverNexus |
| 759 |
* lib/formulae: Added smithery formulas to smelt ores into bars. |
| 760 |
|
| 761 |
2014-05-27 SilverNexus |
| 762 |
* common/object.c: Fix inventory weight calculation bug from merging objects. |
| 763 |
|
| 764 |
2014-05-20 SilverNexus |
| 765 |
* debian/cross-edit.files, |
| 766 |
* debian/control, |
| 767 |
* debian/rules: Retire crossedit construction from debian files. |
| 768 |
|
| 769 |
2014-05-19 SilverNexus |
| 770 |
* utils/add_throw: Retire add_throw script, skills have been |
| 771 |
with the newer system for a while now. I think it may have |
| 772 |
been in excess of fifteen years. |
| 773 |
|
| 774 |
2014-05-19 SilverNexus |
| 775 |
* socket/loop.c, |
| 776 |
* socket/request.c, |
| 777 |
* include/sockproto.h: Retire support for mapredraw command. |
| 778 |
It hasn't been used since 1.10.0 client in 2007. |
| 779 |
On the server side, its been an empty function since 2005. |
| 780 |
|
| 781 |
2014-05-17 Andreas Kirschbaum |
| 782 |
|
| 783 |
* For all files being written: add error checks and retain the |
| 784 |
previous file contents if a write error occurs. |
| 785 |
|
| 786 |
2014-05-15 SilverNexus |
| 787 |
* server/c_misc.c: Don't allow account-bound characters to change |
| 788 |
character password. It did not affect the account password, anyway. |
| 789 |
|
| 790 |
2014-05-13 SilverNexus |
| 791 |
* server/c_misc.c: Fix in-game version command. Previous behavior |
| 792 |
displayed "Crossfire FULL_VERSION". |
| 793 |
|
| 794 |
2014-05-10 Kevin Zheng |
| 795 |
* socket/loop.c: Implement 'heartbeat' to check client connection. |
| 796 |
|
| 797 |
2014-04-19 Kevin Zheng |
| 798 |
* server/server.c: Improve server shutdown command. |
| 799 |
|
| 800 |
2014-04-18 Kevin Zheng |
| 801 |
* utils/crossloop.in: Add crash notification to crossloop. |
| 802 |
|
| 803 |
2014-04-17 Kevin Zheng |
| 804 |
* server/init.c: Remove outdated "-o" flag. |
| 805 |
|
| 806 |
2014-04-12 Kevin Zheng |
| 807 |
* utils/cfmeta-rrd: Retire since it no longer works with new metaserver. |
| 808 |
* utils/checkInternalPrototype.sh: Retire in favor of compiler flags. |
| 809 |
* utils/crossfire-loop.c: Retire in favor of shell script. |
| 810 |
* utils/get_release.in: Retire since CVS is gone. |
| 811 |
* utils/update_rp: Retire since CVS is gone. |
| 812 |
|
| 813 |
2014-04-07 Kevin Zheng |
| 814 |
* utils/crossloop.in: Remove flags related to non-default plugins. |
| 815 |
|
| 816 |
2014-04-06 Kevin Zheng |
| 817 |
* server/init.c: Clean up and sort command-line arguments. |
| 818 |
* server/move.c: Clean up "start to attack" message. |
| 819 |
* server/server.c: Retire des_crypt(3) in favor of crypt(3). |
| 820 |
|
| 821 |
============================================================================== |
| 822 |
Changes for 1.71.0 |
| 823 |
============================================================================== |
| 824 |
|
| 825 |
2014-03-29 Kevin Zheng |
| 826 |
* server/server.c: Fix emergency map. |
| 827 |
|
| 828 |
2014-03-17 Kevin Zheng |
| 829 |
* devel/crossfire-config.c: Retire build parameter dumper. |
| 830 |
|
| 831 |
2014-03-04 Kevin Zheng |
| 832 |
* configure.ac: Disable newspaper and logger plugin by default. |
| 833 |
* server/: Reduce unnecessary startup verbosity. |
| 834 |
* server/misc.c: Shorten log level messages. |
| 835 |
|
| 836 |
2014-01-01 Nicolas Weeger |
| 837 |
* common/map.c: Ensure objects are on a valid map position. |
| 838 |
|
| 839 |
2013-11-29 SilverNexus |
| 840 |
* server/attack.c: Added damage for when a player burns an equipped |
| 841 |
item (e.g. with flint and steel). Should help balance the utility of |
| 842 |
the flint and steel. |
| 843 |
|
| 844 |
2013-11-10 SilverNexus |
| 845 |
Fix for bug #762: Permadeath segfault on dead character load. |
| 846 |
|
| 847 |
* socket/request.c: do not send dead characters' information to the client |
| 848 |
* include/account_char.h: add a flag for dead characters |
| 849 |
* server/player.c: add account name to dead player's slaying field |
| 850 |
* server/account_char.c: add handling for new flag for dead characters |
| 851 |
* server/resurrection.c: make resurrection reset the dead character |
| 852 |
flag on a successful resurrection |
| 853 |
|
| 854 |
2013-09-07 Andreas Kirschbaum |
| 855 |
Properly track cast spells. Fixes infrequent server crashes due to 100% |
| 856 |
CPU load. |
| 857 |
|
| 858 |
2013-07-18 Nicolas Weeger |
| 859 |
Fix for bug #755: Player 'freezes' after boarded wagon is destroyed |
| 860 |
server/attack.c: reset player's contr->transport to NULL. |
| 861 |
|
| 862 |
2013-01-11 Karla Stenger |
| 863 |
* server/apply.c: Fixed wrong check for applied flag when closing |
| 864 |
container to open another one. |
| 865 |
|
| 866 |
2012-11-27 Karla Stenger |
| 867 |
* common/item.c: Add "(glowing)" to rings and amulets' description. |
| 868 |
|
| 869 |
2012-07-01 Nicolas Weeger |
| 870 |
Fix for bug #3536508: Broken firewall with missile swarm. |
| 871 |
|
| 872 |
2012-06-26 MSW |
| 873 |
Modify handle_client() to process more than one socket command per tick. |
| 874 |
This chops about half a second off time spent in negotiate_connection() |
| 875 |
on local client/server - probably bigger difference for remote servers. |
| 876 |
Also, as code was, if using image caching, no further processing would |
| 877 |
happen after first askface, so this should improve performance notably in |
| 878 |
those cases. |
| 879 |
|
| 880 |
2012-06-10 Nicolas Weeger |
| 881 |
Apply patch #3532595: Restrict account creation, by Eddward DeVilla. |
| 882 |
|
| 883 |
============================================================================== |
| 884 |
Changes for 1.70.0 |
| 885 |
============================================================================== |
| 886 |
|
| 887 |
Hack to make the server work on FreeBSD 9. |
| 888 |
Nicolas Weeger 2012-02-07 |
| 889 |
|
| 890 |
Make artifacts hide their properties when not identified. |
| 891 |
Nicolas Weeger 2012-01-28 |
| 892 |
|
| 893 |
Do not fail build when not building in a working copy. |
| 894 |
Andreas Kirschbaum 2012-01-19 |
| 895 |
|
| 896 |
Implement feature request #1676810: Throw specific items. |
| 897 |
Throwing will now use marked item, or items in a 'quiver of throwing items'. |
| 898 |
Nicolas Weeger 2011-12-30 |
| 899 |
|
| 900 |
Improve 'probe' spell. Over level 15, a status bar is displayed over the target. |
| 901 |
Duration and precision are based on the level. |
| 902 |
Requires arch revision 16342 or higher. |
| 903 |
Nicolas Weeger 2011-12-28 |
| 904 |
|
| 905 |
Fix bug #3440456: Animated bolts. |
| 906 |
Adjust animate_object() to correctly handle FLAG_IS_TURNABLE, |
| 907 |
and make object_update_turn_face() a mere wrapper to that function. |
| 908 |
Nicolas Weeger 2011-12-18 |
| 909 |
|
| 910 |
Add logic to do svn version check between plugin and server - this prevents |
| 911 |
incompatible plugins from being used. |
| 912 |
MSW 2011-11-26 |
| 913 |
|
| 914 |
New server argument: -disable-plugin. |
| 915 |
Disables a plugin from its name, 'All' to disable all. |
| 916 |
Nicolas Weeger 2011-11-20 |
| 917 |
|
| 918 |
New server setting: "special_break_map". |
| 919 |
Controls whether submaps in random maps can break the walls to be placed. |
| 920 |
On (can break) by default for historical reasons. |
| 921 |
Nicolas Weeger 2011-11-20 |
| 922 |
|
| 923 |
Rewrite the i18n system. This makes it easier to use strings in the code, |
| 924 |
instead of arbitrary identifiers. |
| 925 |
Nicolas Weeger 2011-11-12 |
| 926 |
|
| 927 |
Improve artifact support. |
| 928 |
Add an 'artifact' field to 'object', that is saved and loaded, to keep trace |
| 929 |
of what (optional) artifact an item was created with. |
| 930 |
This enables artifact modifications on existing items. |
| 931 |
Nicolas Weeger 2011-11-01 |
| 932 |
|
| 933 |
Apply patch #3428070: Autoreconf Warnings, by Steven Johnson. |
| 934 |
It is for 'client', but fixes the same bug on server. |
| 935 |
Nicolas Weeger 2011-10-27 |
| 936 |
|
| 937 |
Fix bug #2005689: 2.0 Creator creates items with duplicate names. |
| 938 |
Have creator objects clear the title instead of setting both it and the name. |
| 939 |
Nicolas Weeger 2011-10-22 |
| 940 |
|
| 941 |
Fix invalid expression. |
| 942 |
Nicolas Weeger 2011-10-21 |
| 943 |
|
| 944 |
Add sys/socket.h to includes, since newserver.h needs it on some systems, and |
| 945 |
every file includes that. Remove it from files which previously included it, |
| 946 |
since includes.h takes care of that now. |
| 947 |
MSW 2011-10-08 |
| 948 |
|
| 949 |
Fix face issue with artifacts, eg gems. |
| 950 |
Nicolas Weeger 2011-09-24 |
| 951 |
|
| 952 |
Fix account-related potential crashes. |
| 953 |
Nicolas Weeger 2011-09-12 |
| 954 |
|
| 955 |
Remove curl/types.h include, which is obsolete. |
| 956 |
Nicolas Weeger 2011-09-10 |
| 957 |
|
| 958 |
Enable server to listen to IPV6 ports, as well as IPV4. |
| 959 |
Maurice Massar 2011-09-10 |
| 960 |
|
| 961 |
Relax check for valid listening ports to allow 1..65535. |
| 962 |
Andreas Kirschbaum 2011-09-08 |
| 963 |
|
| 964 |
Fix experience for cure disease going to invalid skill (lockpicking for instance). |
| 965 |
Nicolas Weeger 2011-08-14 |
| 966 |
|
| 967 |
Fix crash when a spellbook a player is reading gets identified, merges and |
| 968 |
thus changes. |
| 969 |
Nicolas Weeger 2011-08-13 |
| 970 |
|
| 971 |
Enable altars to have a special animation when there is a god intervention. |
| 972 |
Nicolas Weeger 2011-08-11 |
| 973 |
|
| 974 |
Inform player of changes in wc, ac and speed. |
| 975 |
Nicolas Weeger 2011-08-07 |
| 976 |
|
| 977 |
Update character speed and other attributes when consuming items from |
| 978 |
inventory. |
| 979 |
Andreas Kirschbaum 2011-08-05 |
| 980 |
|
| 981 |
Correctly display changes due to 'bless' spell. Add spell expiry. |
| 982 |
Nicolas Weeger 2011-08-04 |
| 983 |
|
| 984 |
Implement "blessed 1" for TREASURE items: such items never create bad or |
| 985 |
cursed items (GT_ONLY_GOOD). |
| 986 |
Andreas Kirschbaum 2011-08-04 |
| 987 |
|
| 988 |
Add potion of 'testing monsters', casting probe. |
| 989 |
Add recipe for it. |
| 990 |
Both patches courtesy Khaleh. |
| 991 |
Nicolas Weeger 2011-07-30 |
| 992 |
|
| 993 |
Give the alchemy level to generated potions. Fix documentation. |
| 994 |
Nicolas Weeger 2011-07-30 |
| 995 |
|
| 996 |
Remove socket_info.nconn which gets invalid in some cases. |
| 997 |
Nicolas Weeger 2011-07-24 |
| 998 |
|
| 999 |
Add protocol to send quest updates to client. |
| 1000 |
Add optional face to quests. |
| 1001 |
Nicolas Weeger 2011-07-23 |
| 1002 |
|
| 1003 |
Make container's contents browsable like the ground view. |
| 1004 |
Nicolas Weeger 2011-07-10 |
| 1005 |
|
| 1006 |
Randomize chests in random maps. |
| 1007 |
Nicolas Weeger 2011-07-08 |
| 1008 |
|
| 1009 |
Make immunity reduce symptoms when not totally immune. |
| 1010 |
This enables partial disease resistances. |
| 1011 |
Nicolas Weeger 2011-07-08 |
| 1012 |
|
| 1013 |
Display recipes a player knows that can use an item when examining it. |
| 1014 |
Nicolas Weeger 2011-07-08 |
| 1015 |
|
| 1016 |
Tentative fix for bug #3349111: invidious server crash. |
| 1017 |
Don't decrease socket_info.nconns if the socket is not available. |
| 1018 |
In some cases nconns gets decreased too much, which leads to issues. |
| 1019 |
The real fix would be to figure why there is a double decrease... |
| 1020 |
Nicolas Weeger 2011-07-05 |
| 1021 |
|
| 1022 |
Forbid un-locking items not in direct player's inventory. |
| 1023 |
Nicolas Weeger 2011-07-05 |
| 1024 |
|
| 1025 |
Tentative fix for bug #3349111: invidious server crash. |
| 1026 |
Do not destroy init_socket[0], instead try to reopen the listening socket. |
| 1027 |
Do not try to check its status if not valid. |
| 1028 |
Nicolas Weeger 2011-07-02 |
| 1029 |
|
| 1030 |
Correctly link all regions to their parent. Warn if not found. |
| 1031 |
Nicolas Weeger 2011-07-02 |
| 1032 |
|
| 1033 |
Remove NEW_MATERIAL_CODE support. |
| 1034 |
Nicolas Weeger 2011-06-29 |
| 1035 |
|
| 1036 |
Fix crash with detect monster on custom monsters. |
| 1037 |
Reference count wasn't uptodate, thus archetype would be freed. |
| 1038 |
Nicolas Weeger 2011-06-28 |
| 1039 |
|
| 1040 |
Rewrite picture loading logic to not be dependant on picture number |
| 1041 |
in the various bmaps and crossfire.x files. |
| 1042 |
Remove picture number in crossfire.x files. |
| 1043 |
Nicolas Weeger 2011-06-26 |
| 1044 |
|
| 1045 |
Remove stray spaces from outputs of applymode, bowmode, petmode, usekeys. |
| 1046 |
Andreas Kirschbaum 2011-06-25 |
| 1047 |
|
| 1048 |
Remove obsolete type 44 EXPERIENCE. |
| 1049 |
Nicolas Weeger 2011-06-25 |
| 1050 |
|
| 1051 |
Allow non weapon attacks to have animation suffixes. |
| 1052 |
Nicolas Weeger 2011-06-25 |
| 1053 |
|
| 1054 |
Redirect Python's stderr and stdout to the Crossfire log. |
| 1055 |
Uses technique and code from |
| 1056 |
http://stackoverflow.com/questions/4307187/how-to-catch-python-stdout-in-c-code |
| 1057 |
Nicolas Weeger 2011-06-23 |
| 1058 |
|
| 1059 |
Don't open Python script file if cached. |
| 1060 |
Nicolas Weeger 2011-06-23 |
| 1061 |
|
| 1062 |
Do not crash due to corrupted name/password protocol packets. |
| 1063 |
Andreas Kirschbaum 2011-06-19 |
| 1064 |
|
| 1065 |
Send golem's hp and maxhp as part of statistics, so client can display that. |
| 1066 |
Nicolas Weeger 2011-06-12 |
| 1067 |
|
| 1068 |
Give access to jail's information for a region to the plugins. |
| 1069 |
Nicolas Weeger 2011-06-09 |
| 1070 |
|
| 1071 |
Use a specific field (wc_increase_rate, like skills) for summoning creature's |
| 1072 |
wc improvement by level. |
| 1073 |
Nicolas Weeger 2011-06-05 |
| 1074 |
|
| 1075 |
Fix for bug #3309792: Invidious server crash. |
| 1076 |
Don't try to send animation 0, instead clear FLAG_ANIMATE. |
| 1077 |
Set a bug face for animation 0, just in case. |
| 1078 |
Nicolas Weeger 2011-06-01 |
| 1079 |
|
| 1080 |
Correctly update improved weapon's weight in inventory. |
| 1081 |
Nicolas Weeger 2011-05-29 |
| 1082 |
|
| 1083 |
Ensure account information is stored at creation and character linking. |
| 1084 |
Nicolas Weeger 2011-05-29 |
| 1085 |
|
| 1086 |
Implement account password change. |
| 1087 |
Nicolas Weeger 2011-05-23 |
| 1088 |
|
| 1089 |
Tentative fix for bug #3127973: 'detect monster' effect badly positioned. |
| 1090 |
Nicolas Weeger 2011-05-22 |
| 1091 |
|
| 1092 |
Fix crash with character creation using jxclient. |
| 1093 |
Nicolas Weeger 2011-05-22 |
| 1094 |
|
| 1095 |
Prevent converters from creating unpaid coins. |
| 1096 |
Andreas Kirschbaum 2011-05-21 |
| 1097 |
|
| 1098 |
Fix Lythander's pipe not having spell it should. |
| 1099 |
Nicolas Weeger 2011-05-21 |
| 1100 |
|
| 1101 |
Fix god's knowledge handling always considering the god information as new. |
| 1102 |
Nicolas Weeger 2011-05-07 |
| 1103 |
|
| 1104 |
Allow messages from lib/messages to be stored through knowledge system. |
| 1105 |
Nicolas Weeger 2011-05-07 |
| 1106 |
|
| 1107 |
Improve messages (lib/messages): add relative chance, so messages can be |
| 1108 |
more frequent than others. |
| 1109 |
Nicolas Weeger 2011-05-07 |
| 1110 |
|
| 1111 |
Remove hard coded stat values - the stat bonuses (as well as max stat) can |
| 1112 |
be set in a file that is read at load time. The default lib/stat_bonus |
| 1113 |
file has bonuses exactly the same as the old hard coded values (or in |
| 1114 |
case of Charisma, as close as could be done with the change). Note: |
| 1115 |
you must do a 'make install' in the lib directory after this update, |
| 1116 |
otherwise, your server will be missing the stat bonuses and fail to run. |
| 1117 |
Automake/autoconf should automatically be run to know about the stat_bonus |
| 1118 |
file. |
| 1119 |
MSW 2011-05-01 |
| 1120 |
|
| 1121 |
Fix type conversion error and logic mistake resulting in really high prices |
| 1122 |
when selling items in some situations. |
| 1123 |
See the end of query_cost() in server/shop.c for more details. |
| 1124 |
This may fix bug #3163782: Inscription glitch brings 'unimaginable amount of platinum'. |
| 1125 |
Nicolas Weeger 2011-03-22 |
| 1126 |
|
| 1127 |
============================================================================== |
| 1128 |
Changes for 1.60.0 |
| 1129 |
============================================================================== |
| 1130 |
|
| 1131 |
lib/collect.pl.in: Remove default line which just generates an error when |
| 1132 |
server starts up and doesn't do anything. |
| 1133 |
server/init.c: Update copyright date & owners that is displayed when program |
| 1134 |
starts up. |
| 1135 |
MSW 2011-01-26 |
| 1136 |
|
| 1137 |
Add another flag to add_player() to have it supress harmless, but perhaps |
| 1138 |
confusing message, about swapping stats - on new clients, all stats are |
| 1139 |
set up in the client - message will still be printed for older clients. |
| 1140 |
MSW 2011-01-22 |
| 1141 |
|
| 1142 |
Remove metaserver1 support from server. |
| 1143 |
lib/settings: Remove settings for metaserver1, add not to update metaserver2 |
| 1144 |
server/init.c, socket/metaserver.c: Remove code |
| 1145 |
MSW 2011-01-22 |
| 1146 |
|
| 1147 |
Don't put artifacts on active list. This fixes boots of mobility and also avoids |
| 1148 |
an [Error] in the log. |
| 1149 |
Nicolas Weeger 2011-01-08 |
| 1150 |
|
| 1151 |
Fix memory leak in formula code. |
| 1152 |
Nicolas Weeger 2011-01-08 |
| 1153 |
|
| 1154 |
Don't make 2 fountains in random maps, one is enough. |
| 1155 |
Nicolas Weeger 2011-01-08 |
| 1156 |
|
| 1157 |
Fix broken fountains in random maps. |
| 1158 |
Nicolas Weeger 2011-01-08 |
| 1159 |
|
| 1160 |
test/unit/common/check_living.c: Modify some hard coded array sizes to use |
| 1161 |
the defined values. Remove randomly generated input values and put those |
| 1162 |
into arrays - the test only works with specific input values, and randomly |
| 1163 |
generating them only works if one is using the same random number generator. |
| 1164 |
test/unit/common/check_item.c: Disable this test if not using glibc - its |
| 1165 |
checking requires specific random number sequence - however, since many |
| 1166 |
of the RANDOM() calls are from within libcommon, not easy to hard code |
| 1167 |
the values. |
| 1168 |
INSTALL: Update notes on make check - only works with default values. |
| 1169 |
MSW 2010-12-26 |
| 1170 |
|
| 1171 |
Change the Animations structure to use New_Face* instead of indexes. |
| 1172 |
Nicolas Weeger 2010-12-05 |
| 1173 |
|
| 1174 |
Accept skill names with spaces (sense curse/sense magic) in addexp |
| 1175 |
command. |
| 1176 |
Andreas Kirschbaum 2010-12-04 |
| 1177 |
|
| 1178 |
Fix some compilers errors in CRE - 0b is non standard constant declaration, |
| 1179 |
some compilers do not like a semicolon after Q_PROPERTY declarations, and |
| 1180 |
it seemed some include files were missing. |
| 1181 |
MSW 2010-11-26 |
| 1182 |
|
| 1183 |
Added function to python plugin for getting the material name and materil |
| 1184 |
number of objects. Returns python dict. (Affects cfpython_object.c and |
| 1185 |
cfpython_object_private.h) |
| 1186 |
Alestan 2010-11-25 |
| 1187 |
|
| 1188 |
Takes in account the magic of a cauldron when the chance of successfully |
| 1189 |
making a recipe is calculated (adds (cauldron->magic+1)/2 to the skill_level |
| 1190 |
in the calculation). |
| 1191 |
Khaleh 2010-11-24 |
| 1192 |
|
| 1193 |
Allow cost_string_from_value() callers to specify maximum coin to use. |
| 1194 |
This enables the guild script to display the account balance with amberium |
| 1195 |
instead of platinum, while leaving shops in platinum. |
| 1196 |
Nicolas Weeger 2010-11-22 |
| 1197 |
|
| 1198 |
Few shop fixes: |
| 1199 |
1) limit total paid for unpaid items to be per item, not per group - |
| 1200 |
otherwise, player just has to sell items in smaller bunches which |
| 1201 |
doesn't make much sense. |
| 1202 |
2) Change the minor randomization of shop values to be based on |
| 1203 |
map reset time - in this way, values will change slightly, bug |
| 1204 |
if you are splitting a larger group, you will get consistent values |
| 1205 |
(and if you logout and log back in, as long as the map hasn't reset, |
| 1206 |
will also get same value) |
| 1207 |
3) Reset value strings for sold items to cap at platinum - fixes problem |
| 1208 |
when selling valuable items that message said you got paid in jade |
| 1209 |
coins, when in fact you did not. |
| 1210 |
MSW 2010-11-21 |
| 1211 |
|
| 1212 |
Enable traps to have unlimited uses, with the 'lifesave' flag. |
| 1213 |
Nicolas Weeger 2010-11-20 |
| 1214 |
|
| 1215 |
Automatically attempt to lockpick doors when not running. |
| 1216 |
This apparently doesn't alter readied spell or such, so should be ok. |
| 1217 |
Nicolas Weeger 2010-11-20 |
| 1218 |
|
| 1219 |
Fix bug 3028405 - Too high bargaining experience when selling containers - |
| 1220 |
due to variations in shop pricing (probably another bug), it can sometimes be |
| 1221 |
the case that bargaining skill results in a higher price (by 1 sp) - I think |
| 1222 |
this might just be a rounding error - however, since the value being used |
| 1223 |
was unsigned, this overflowed into high value, meaning high exp. Change |
| 1224 |
that to unsigned, and now no overflow and not lots of exp. |
| 1225 |
MSW 2010-11-19 |
| 1226 |
|
| 1227 |
Add code to have identified objects merge together with like objects. |
| 1228 |
identify() modified to return object, which may be merged object. |
| 1229 |
examine() modified to stop processing once it does a skill ident |
| 1230 |
on an item, since the pointer is has may now be invalid. |
| 1231 |
MSW 2010-11-18 |
| 1232 |
|
| 1233 |
Add ability for server to provide choice of starting items for new - |
| 1234 |
characters - add support for sending that data and receiving and validating |
| 1235 |
the responses. Add DRAGON_FOCUS type which changes the dragon focus. |
| 1236 |
---- |
| 1237 |
common/arch.c: Update type checking. Remove check for < 0 - since |
| 1238 |
unsigned value is passed in, that will never happen. |
| 1239 |
doc/Developers/protocol: Add information about choice handling. |
| 1240 |
include/define.h: Add dragon_focus type. |
| 1241 |
server/ob_types.c: Add call to init_type_dragon_focus() |
| 1242 |
socket/requestinfo.c: Include choice options in race/class information |
| 1243 |
we send to client. |
| 1244 |
socket/request.c: Add handling of item choices during character creation. |
| 1245 |
types/Makefile.am, types/dragon_focus/dragon_focus.c: Add code to |
| 1246 |
handle applying dragon focus object. |
| 1247 |
MSW 2010-11-14 |
| 1248 |
|
| 1249 |
Tentative fix fox unability to create characters with some clients. |
| 1250 |
Nicolas Weeger 2010-11-14 |
| 1251 |
|
| 1252 |
Correctly copy initial map information when using advanced character creation. |
| 1253 |
This ensures that if a player dies she'll come back to the initial spot |
| 1254 |
instead of the hall of selection. |
| 1255 |
Fix for bug #3108219: Wrong map upon player death. |
| 1256 |
Nicolas Weeger 2010-11-14 |
| 1257 |
|
| 1258 |
Make skill tools be picked up by the 'magical device' category. |
| 1259 |
This implements part of feature request #3094026: auto-pickup option for |
| 1260 |
lockpick/flint&steel/torch archetypes |
| 1261 |
Nicolas Weeger 2010-11-14 |
| 1262 |
|
| 1263 |
Adjust alchemy success chance to not depend on the ingredients, |
| 1264 |
but only the recipe difficulty as defined in lib/formulae and the skill. |
| 1265 |
Nicolas Weeger 2010-11-07 |
| 1266 |
|
| 1267 |
Adjust alchemy danger computation: remove name length, but take into |
| 1268 |
account weight and cursed or damned item status. |
| 1269 |
Nicolas Weeger 2010-11-07 |
| 1270 |
|
| 1271 |
Have singing honor the 'no_mood_change' flag. |
| 1272 |
Nicolas Weeger 2010-11-06 |
| 1273 |
|
| 1274 |
Partial fix for #3093752: Too hard to get experience in oratory (part 3). |
| 1275 |
Allow orating to monsters with a message (why not?). This also |
| 1276 |
enables to orate to monsters on signs. |
| 1277 |
While we're at it, honor the 'no_mood_change' flag for oratory. |
| 1278 |
Nicolas Weeger 2010-11-06 |
| 1279 |
|
| 1280 |
Partial fix for #3093752: Too hard to get experience in oratory (part 2). |
| 1281 |
Set monster's skill to oratory (in this case) so experience for killing |
| 1282 |
something goes there. |
| 1283 |
Nicolas Weeger 2010-11-06 |
| 1284 |
|
| 1285 |
Partial fix for #3093752: Too hard to get experience in oratory (part 1). |
| 1286 |
Compute skill exp before setting monster's exp to 0. |
| 1287 |
Nicolas Weeger 2010-11-06 |
| 1288 |
|
| 1289 |
Fix broken magic map spell for "small" maps. |
| 1290 |
Nicolas Weeger 2010-11-06 |
| 1291 |
|
| 1292 |
Integrate some lore from the wiki to the messages file. |
| 1293 |
Nicolas Weeger 2010-11-06 |
| 1294 |
|
| 1295 |
Fix possibility of arithmetic overflow in the function buf_overflow(). |
| 1296 |
Arvid Norlander 2010-10-25 |
| 1297 |
|
| 1298 |
Enable Python 2.7 to be used. Prefer 3.1 over 3.0. |
| 1299 |
Arvid Norlander 2010-10-24 |
| 1300 |
|
| 1301 |
Remove 'Fontindex' type and use 'uint16', for coherence. |
| 1302 |
Nicolas Weeger 2010-10-24 |
| 1303 |
|
| 1304 |
server/player.c: Bug fix for new character creation - give racial items |
| 1305 |
before applying class so special racial faces stick. |
| 1306 |
MSW 2010-10-23 |
| 1307 |
|
| 1308 |
Update for advanced (in game) character creation: |
| 1309 |
common/init.c: Add check for new subtype for finding first map. |
| 1310 |
doc/Developers/protocol: Fix formatting, add starting map information. |
| 1311 |
include/shared/newclient.h: Add types for map requestinfo data. |
| 1312 |
include/map.h: Add new map subtypes. |
| 1313 |
include/player.h: Add new ADD_PLAYER_... values for add_player() |
| 1314 |
include/sockproto.h: updated |
| 1315 |
include/sproto.h: updated |
| 1316 |
server/player.c: Change add_player() to have second parameter be a |
| 1317 |
bitmask value and not true/false. Add apply_race_and_class(). |
| 1318 |
server/apply.c: Reformat apply_changes_to_player() and have it take new |
| 1319 |
parameter which determines if class stat bonus can exceed racial maximum. |
| 1320 |
socket/loop.c: Handle startingmap requestinfo requrest. |
| 1321 |
socket/lowlevel.c: Add SockList_AddLen16Data() for cases were we want |
| 1322 |
to send a length prefixed block of data that is >255 bytes long. |
| 1323 |
socket/request.c: Update for loginmethod 2. Update decode_name_password() |
| 1324 |
to support passing length of data back to server via parameter. Handle |
| 1325 |
new character creation data from client. |
| 1326 |
socket/requestinfo.c: Add command to send choice of starting maps |
| 1327 |
to the client. |
| 1328 |
types/player_changer/player_changer.c: Add new parameter to call of |
| 1329 |
apply_changes_to_player() |
| 1330 |
MSW 2010-10-20 |
| 1331 |
|
| 1332 |
Prevent duplicate freeing of socket_struct entries. |
| 1333 |
Andreas Kirschbaum 2010-10-18 |
| 1334 |
|
| 1335 |
Correctly enable plugins to handle THROW and STOP events for projectiles. |
| 1336 |
Nicolas Weeger 2010-10-10 |
| 1337 |
|
| 1338 |
Change from using memory.h to using string.h, include memory.h as well |
| 1339 |
but make use of the check for it we already have in configure... That |
| 1340 |
header shouldn't be needed, but who knows... Also Update the output of |
| 1341 |
the -o flag to be more relevant... |
| 1342 |
Arvid Norlander 2010-10-10 |
| 1343 |
|
| 1344 |
Fix incorrect check in test/bugs/bugtrack/check_2879249.c. |
| 1345 |
Arvid Norlander 2010-10-10 |
| 1346 |
|
| 1347 |
Fix bug that caused server to sometimes crash on account login. |
| 1348 |
Arvid Norlander 2010-10-10 |
| 1349 |
|
| 1350 |
Give access to 'cost_string_from_value' to the Python plugin. |
| 1351 |
Nicolas Weeger 2010-10-10 |
| 1352 |
|
| 1353 |
Use all coin types when displaying prices. |
| 1354 |
Nicolas Weeger 2010-10-10 |
| 1355 |
|
| 1356 |
Do not make symbols globally visible by default on *nix (when supported), |
| 1357 |
on Windows this is always the case. To prevent hidden errors (since most |
| 1358 |
developers seem to test on *nix), use -fvisibility=hidden when GCC is used |
| 1359 |
and make the MODULEAPI and CF_PLUGIN macros use __attribute__ to mark those |
| 1360 |
as visible. This will not break on any compiler not supporting this, but will |
| 1361 |
prevent future hidden errors of this type. |
| 1362 |
A further advantage with this is that it reduces risk of symbol name collision |
| 1363 |
between various dynamic objects. |
| 1364 |
Arvid Norlander 2010-10-09 |
| 1365 |
|
| 1366 |
Add missing CF_PLUGIN in cflogger. This would only fail on Windows since by |
| 1367 |
default on *nix, all symbols are exported. Thus this error went unnoticed |
| 1368 |
until I tried with -fvisibility=hidden and setting the MODULEAPI and CF_PLUGIN |
| 1369 |
macros use __attribute__((visibility("default"))... |
| 1370 |
Arvid Norlander 2010-10-09 |
| 1371 |
|
| 1372 |
Fix some serious compiler warnings (missing declaration of function, fixed by |
| 1373 |
adding an #include; wrong type for argument to snprintf, fixed by changing to |
| 1374 |
use the proper variable) in the test suites. |
| 1375 |
Arvid Norlander 2010-10-08 |
| 1376 |
|
| 1377 |
Fix case where a size_t* and an int* were confused. On my system that |
| 1378 |
resulted in rare data corruption sometimes when the function in question |
| 1379 |
was called. |
| 1380 |
Arvid Norlander 2010-10-08 |
| 1381 |
|
| 1382 |
Fix format string used to include pid in temporary filenames. It was |
| 1383 |
%hx (short) but in reality pids are these days 32-bit. Change to %x and |
| 1384 |
cast the parameter to unsignd int. |
| 1385 |
Arvid Norlander 2010-10-08 |
| 1386 |
|
| 1387 |
Add missing -I in utils/Makefile.am, otherwise mapper.c doesn't find |
| 1388 |
global.h. |
| 1389 |
Arvid Norlander 2010-10-06 |
| 1390 |
|
| 1391 |
Don't crash when there is a mood floor with speed in a container. |
| 1392 |
Fix for bug #3079991: server crash from bad map object. |
| 1393 |
Nicolas Weeger 2010-10-03 |
| 1394 |
|
| 1395 |
Discard items of type PLAYER during map loading. |
| 1396 |
Fix for bug #3079997: server crash from misc type object in a petshop. |
| 1397 |
Nicolas Weeger 2010-10-03 |
| 1398 |
|
| 1399 |
New pickup type, 'container'. |
| 1400 |
Partial fix for bug #3075860: Auto-pickup fails to pickup certain items. |
| 1401 |
Nicolas Weeger 2010-10-02 |
| 1402 |
|
| 1403 |
Use 'magic devices' for weapon and armour improvers during pickup. |
| 1404 |
Partial fix for bug #3075860: Auto-pickup fails to pickup certain items. |
| 1405 |
Nicolas Weeger 2010-10-02 |
| 1406 |
|
| 1407 |
Extend 'reset' to enable to reset unique player maps and unique squares in maps. |
| 1408 |
Nicolas Weeger 2010-09-29 |
| 1409 |
|
| 1410 |
Fix bug #1811411: Ground view is not correctly updated. |
| 1411 |
Correctly send face and name information when there is a player on an item |
| 1412 |
that is being identified. |
| 1413 |
Nicolas Weeger 2010-09-26 |
| 1414 |
|
| 1415 |
Simplify door-opening with keys for player, bypassing hit_player(). |
| 1416 |
This should partly fix bug #1811331: discrete damage bug. |
| 1417 |
Nicolas Weeger 2010-09-26 |
| 1418 |
|
| 1419 |
Fix bug #2072850: Inconsistent limits for damage stat. |
| 1420 |
Nicolas Weeger 2010-09-26 |
| 1421 |
|
| 1422 |
Tentative fix for bug #2020224: buggy(?) crafting yields. |
| 1423 |
Don't call again attempt_recipe(), as that would give again artifact properties |
| 1424 |
to the item. Instead, use the item in the cauldron. |
| 1425 |
Nicolas Weeger 2010-09-26 |
| 1426 |
|
| 1427 |
Partial fix for bug #3075860: Auto-pickup fails to pickup certain items. |
| 1428 |
Correctly pick weapons. |
| 1429 |
Nicolas Weeger 2010-09-26 |
| 1430 |
|
| 1431 |
Fix bug #2938887: problem with casting unknown spell. |
| 1432 |
Change the display logic, don't show all spells when no matching spell. |
| 1433 |
Nicolas Weeger 2010-09-26 |
| 1434 |
|
| 1435 |
Directors should not move doors. |
| 1436 |
This fixes bug #3059451: force (smover) throws doors off hinges. |
| 1437 |
Nicolas Weeger 2010-09-21 |
| 1438 |
|
| 1439 |
Ignore 'FLAG_OBJ_ORIGINAL' for merging purposes. This fixes a merging bug with |
| 1440 |
unique maps. |
| 1441 |
Nicolas Weeger 2010-09-12 |
| 1442 |
|
| 1443 |
Fix broken DM 'follow' command. |
| 1444 |
Nicolas Weeger 2010-09-12 |
| 1445 |
|
| 1446 |
Add unit test exposing a weight reduction issue with containers. |
| 1447 |
Fix said weight reduction bug. |
| 1448 |
Nicolas Weeger 2010-09-11 |
| 1449 |
|
| 1450 |
Fix fishing rod not being correctly applied with ready_skill. |
| 1451 |
This fixes the second part of bug #3060474. |
| 1452 |
Nicolas Weeger 2010-09-08 |
| 1453 |
|
| 1454 |
Fix do_harvest() not checking if player can actually carry what is harvested. |
| 1455 |
This fixes bug #3060474: fishing puts more fishes into inventory than you can carry. |
| 1456 |
Nicolas Weeger 2010-09-08 |
| 1457 |
|
| 1458 |
Fix examine_monster() to handle critically hit cases. |
| 1459 |
Nicolas Weeger 2010-09-08 |
| 1460 |
|
| 1461 |
Unit tests: correctly initialise the config dir (for experience and such). |
| 1462 |
Nicolas Weeger 2010-09-06 |
| 1463 |
|
| 1464 |
CRE: fix item's chance in treasure display. Show % and chance out of total. |
| 1465 |
Nicolas Weeger 2010-09-04 |
| 1466 |
|
| 1467 |
CRE: extract various things to 'ResourcesManager'. |
| 1468 |
This gets back archetypes and treasure sorting, without messing the |
| 1469 |
treasure list's ordering. |
| 1470 |
Nicolas Weeger 2010-09-04 |
| 1471 |
|
| 1472 |
Add key_value 'no_mood_change' that when set to 1 on a monster |
| 1473 |
prevents spells like charm or pacify to have any effect. |
| 1474 |
Nicolas Weeger 2010-09-04 |
| 1475 |
|
| 1476 |
Don't join party again at startup if formed automatically. |
| 1477 |
This leads to party removal, and memory corruption. |
| 1478 |
Nicolas Weeger 2010-09-02 |
| 1479 |
|
| 1480 |
Fix bug #3055569: godenchanting is still buggy. |
| 1481 |
The enchanting code was bypassing attacktypes if weapon was already enchanted. |
| 1482 |
Also fix wrong name check. |
| 1483 |
Nicolas Weeger 2010-09-02 |
| 1484 |
|
| 1485 |
Fix Python Object.Say to automatically use the dialog system if in a dialog context. |
| 1486 |
This makes the object talk after the player, like expected, without |
| 1487 |
needing to change all scripts. |
| 1488 |
Also, 'Say' is almost always used in reply to something said, |
| 1489 |
so it makes sense. |
| 1490 |
Nicolas Weeger 2010-09-02 |
| 1491 |
|
| 1492 |
Fix broken Python Object.Take (inverted parameters). |
| 1493 |
Nicolas Weeger 2010-09-02 |
| 1494 |
|
| 1495 |
server/player.c: Move clearing of monitor_spells to initial socket allocation. |
| 1496 |
Fixes bug where spell updates would cease if player used a savebed and |
| 1497 |
then played again on same server. |
| 1498 |
MSW 2010-08-30 |
| 1499 |
|
| 1500 |
Tentative fix for bug #3054686: unarmed combat xp goes to sorcery by default. |
| 1501 |
When checking for chosen_skill, talismans were taking into account, which |
| 1502 |
is a mistake. |
| 1503 |
Nicolas Weeger 2010-08-29 |
| 1504 |
|
| 1505 |
Fix broken special foods. Duration wasn't updated as needed, making |
| 1506 |
the force expire immediately. |
| 1507 |
Nicolas Weeger 2010-08-28 |
| 1508 |
|
| 1509 |
Fix jumping skill: now jumping into a monster or player attacks it. |
| 1510 |
Andreas Kirschbaum 2010-08-26 |
| 1511 |
|
| 1512 |
Check head parts of multi-part objects when using the skills jumping, singing, or oratory. |
| 1513 |
Andreas Kirschbaum 2010-08-26 |
| 1514 |
|
| 1515 |
Fix possible crash using the singing skill. |
| 1516 |
neodeno 2010-08-26 |
| 1517 |
|
| 1518 |
Remove new lines in town portal messages. |
| 1519 |
Nicolas Weeger 2010-08-16 |
| 1520 |
|
| 1521 |
Fix container-related crash, when a plugin removes the container or equivalent. |
| 1522 |
Nicolas Weeger 2010-08-16 |
| 1523 |
|
| 1524 |
server/c_range.c: |
| 1525 |
Fix missing assignment of spell in player object - only results in crashes if |
| 1526 |
casting time is used. |
| 1527 |
MSW 2010-08-14 |
| 1528 |
|
| 1529 |
Fix wrong attack roll adjust for player in the dark with xray. |
| 1530 |
Nicolas Weeger 2010-08-14 |
| 1531 |
|
| 1532 |
Wrap player state change to a function. |
| 1533 |
Nicolas Weeger 2010-08-14 |
| 1534 |
|
| 1535 |
Correctly inform player of lost overall level at death. |
| 1536 |
Nicolas Weeger 2010-08-14 |
| 1537 |
|
| 1538 |
Make Python's Object.Anim a String in both read and write. |
| 1539 |
Raise an error if invalid animation is set. |
| 1540 |
Nicolas Weeger 2010-08-14 |
| 1541 |
|
| 1542 |
Make Python's Object.Face a String in both read and write. |
| 1543 |
Raise an error if invalid face is set. |
| 1544 |
Nicolas Weeger 2010-08-14 |
| 1545 |
|
| 1546 |
Fix accidentally broke 'tell' command. |
| 1547 |
Nicolas Weeger 2010-08-10 |
| 1548 |
|
| 1549 |
Fix broken 'curse' spell. |
| 1550 |
Nicolas Weeger 2010-08-08 |
| 1551 |
|
| 1552 |
Merge split lines in artifacts messages. |
| 1553 |
Nicolas Weeger 2010-08-08 |
| 1554 |
|
| 1555 |
Don't change decor's move_block in random maps, this messes item merging. |
| 1556 |
Nicolas Weeger 2010-08-07 |
| 1557 |
|
| 1558 |
Fix mover-related crash if in an inventory. |
| 1559 |
Nicolas Weeger 2010-08-07 |
| 1560 |
|
| 1561 |
Change plugin hooks prototype, don't return anything. Make functions static. |
| 1562 |
Nicolas Weeger 2010-08-07 |
| 1563 |
|
| 1564 |
Change event listener prototype for plugins to return int instead of void*. |
| 1565 |
Nicolas Weeger 2010-08-07 |
| 1566 |
|
| 1567 |
Remove unused 'command_' return values. Change function prototype to make |
| 1568 |
'params' const. Fix some const discarding. |
| 1569 |
Nicolas Weeger 2010-08-05 |
| 1570 |
|
| 1571 |
Make some DM functions static. Move 'command_dumpbelow' to c_wiz.c. |
| 1572 |
Nicolas Weeger 2010-08-05 |
| 1573 |
|
| 1574 |
Remove old 'ring_desc' function. |
| 1575 |
Nicolas Weeger 2010-08-05 |
| 1576 |
|
| 1577 |
Don't send the view when dropping items, that makes appear an opened |
| 1578 |
container was closed. |
| 1579 |
Nicolas Weeger 2010-08-04 |
| 1580 |
|
| 1581 |
Don't switch to golem mode if summon failed. |
| 1582 |
Nicolas Weeger 2010-08-04 |
| 1583 |
|
| 1584 |
CRE: tool to create base for smoothed face from a face. |
| 1585 |
Nicolas Weeger 2010-08-02 |
| 1586 |
|
| 1587 |
Fix bug #2546538: odd rune spell behavior. |
| 1588 |
Don't check grace cost against player's grace if no grace cost. |
| 1589 |
Nicolas Weeger 2010-08-01 |
| 1590 |
|
| 1591 |
Don't display attenuation or repell if denied. |
| 1592 |
Fixes part of #2941923: 11 bugs, alchemy, spell attunement, npc shops, client (WIN). |
| 1593 |
Nicolas Weeger 2010-08-01 |
| 1594 |
|
| 1595 |
Fix bug #3018536: duplication of items in containers. |
| 1596 |
Correctly free the removed item's inventory. |
| 1597 |
Also fix invalid carrying field. |
| 1598 |
Nicolas Weeger 2010-08-01 |
| 1599 |
|
| 1600 |
Remove deprecated function. |
| 1601 |
Nicolas Weeger 2010-08-01 |
| 1602 |
|
| 1603 |
Fix knowledge for recipes not displaying the required cauldron. |
| 1604 |
Nicolas Weeger 2010-08-01 |
| 1605 |
|
| 1606 |
CRE: correctly display artifacts that can be made via alchemy. |
| 1607 |
Nicolas Weeger 2010-08-01 |
| 1608 |
|
| 1609 |
Fix lighter message containing 'NULL'. |
| 1610 |
Nicolas Weeger 2010-08-01 |
| 1611 |
|
| 1612 |
Fix a unit test. |
| 1613 |
Nicolas Weeger 2010-08-01 |
| 1614 |
|
| 1615 |
CRE: add a 'spell table' report. |
| 1616 |
Nicolas Weeger 2010-07-29 |
| 1617 |
|
| 1618 |
Replace some calls to describe_item() with the StringBuffer version. |
| 1619 |
Nicolas Weeger 2010-07-29 |
| 1620 |
|
| 1621 |
Rewrite 'describe_item' to use StringBuffer. |
| 1622 |
Nicolas Weeger 2010-07-29 |
| 1623 |
|
| 1624 |
Rewrite 'describe_resistance' to use StringBuffer. |
| 1625 |
Nicolas Weeger 2010-07-29 |
| 1626 |
|
| 1627 |
Changes related to new character creation code - add new settings value |
| 1628 |
which determine stat ranges, split out the requestinfo replies to its |
| 1629 |
own file (request.c was getting a bit large), add handling for 'newcharinfo' |
| 1630 |
requestinfo, document this in the protocol file. NOTE: you will need to |
| 1631 |
re-run automake & configure to pick up the new source file. |
| 1632 |
--- |
| 1633 |
common/init.c: Initialize new fields in setting structure to default values. |
| 1634 |
doc/Developers/protocol: Add documentation on newcharinfo |
| 1635 |
include/global.h: Add new fields in settings structure for starting stat info. |
| 1636 |
lib/settings: Add new starting stat values to file. |
| 1637 |
server/init.c: Add logic to load new settings value from file. |
| 1638 |
server/player.c: Remove hard coded value, change to use settings value. |
| 1639 |
socket/Makefile.am: Add requestinfo.c file |
| 1640 |
socket/loop.c: Add callback for newcharinfo requestinfo. |
| 1641 |
socket/request.c, requestinfo.c: Move requestinfo handling to its own file, |
| 1642 |
and new function for newcharinfo handling. |
| 1643 |
--- |
| 1644 |
MSW 2010-07-28 |
| 1645 |
|
| 1646 |
Rewrite 'describe_monster' to use StringBuffer. |
| 1647 |
Nicolas Weeger 2010-07-28 |
| 1648 |
|
| 1649 |
Rewrite 'ring_desc' to use StringBuffer. |
| 1650 |
Nicolas Weeger 2010-07-28 |
| 1651 |
|
| 1652 |
Remove unused variable. Document. |
| 1653 |
Nicolas Weeger 2010-07-28 |
| 1654 |
|
| 1655 |
Remove static variable. |
| 1656 |
Nicolas Weeger 2010-07-28 |
| 1657 |
|
| 1658 |
Remove commented out code. |
| 1659 |
Nicolas Weeger 2010-07-28 |
| 1660 |
|
| 1661 |
Remove global variables. |
| 1662 |
Nicolas Weeger 2010-07-28 |
| 1663 |
|
| 1664 |
Fix documentation. |
| 1665 |
Nicolas Weeger 2010-07-28 |
| 1666 |
|
| 1667 |
Explicit why the 'accounts' file can't be opened, to help debug. |
| 1668 |
Nicolas Weeger 2010-07-28 |
| 1669 |
|
| 1670 |
Abort at startup if a creature one can summon has no move_type defined. |
| 1671 |
Add a redundant check for move_type 0 when summoning, set it to walk |
| 1672 |
in this case. This is a fix enforcer for bug #2791003. |
| 1673 |
Nicolas Weeger 2010-07-26 |
| 1674 |
|
| 1675 |
For the throwing skill, prefer items with 'is_thrown'. |
| 1676 |
This makes the player throw eg throwing daggers before other items. |
| 1677 |
Nicolas Weeger 2010-07-23 |
| 1678 |
|
| 1679 |
CRE: alchemy recipes report. |
| 1680 |
Nicolas Weeger 2010-07-21 |
| 1681 |
|
| 1682 |
CRE: display if artifacts can be generated through alchemy. |
| 1683 |
Nicolas Weeger 2010-07-21 |
| 1684 |
|
| 1685 |
Correctly generate readable of specified type if set. |
| 1686 |
This fixes a bug in Scorn (and elsewhere) library where |
| 1687 |
you could have alchemy recipes in the god section. |
| 1688 |
Nicolas Weeger 2010-07-19 |
| 1689 |
|
| 1690 |
CRE: bullet-like spells damage and cost report, praying only. |
| 1691 |
Nicolas Weeger 2010-07-18 |
| 1692 |
|
| 1693 |
CRE: add 'damage' to object wrapper. |
| 1694 |
Nicolas Weeger 2010-07-18 |
| 1695 |
|
| 1696 |
CRE: disable tree sorting for resource window, as that prevents reading |
| 1697 |
the treasure lists correctly. |
| 1698 |
Nicolas Weeger 2010-07-18 |
| 1699 |
|
| 1700 |
Add 'knowledge search <text>' to filter knowledge. |
| 1701 |
Nicolas Weeger 2010-07-14 |
| 1702 |
|
| 1703 |
Remove unused parameters. |
| 1704 |
Nicolas Weeger 2010-07-14 |
| 1705 |
|
| 1706 |
Don't display in summary functions, but in higher level. |
| 1707 |
Nicolas Weeger 2010-07-14 |
| 1708 |
|
| 1709 |
Don't display in detail functions, but in higher level. |
| 1710 |
Nicolas Weeger 2010-07-14 |
| 1711 |
|
| 1712 |
Enable knowledge filter, with additional parameter to 'knowledge list'. |
| 1713 |
Nicolas Weeger 2010-07-14 |
| 1714 |
|
| 1715 |
CRE: fix displayed alchemy formulae count. |
| 1716 |
Nicolas Weeger 2010-07-10 |
| 1717 |
|
| 1718 |
CRE: parse race-specific maps if they exist. |
| 1719 |
Nicolas Weeger 2010-07-05 |
| 1720 |
|
| 1721 |
Abort() on empty archetype name. |
| 1722 |
Nicolas Weeger 2010-07-05 |
| 1723 |
|
| 1724 |
Extract some code from enter_exit(). |
| 1725 |
server/server.c |
| 1726 |
Nicolas Weeger 2010-06-26 |
| 1727 |
|
| 1728 |
Add item type validity check when loading something. |
| 1729 |
Nicolas Weeger 2010-06-26 |
| 1730 |
|
| 1731 |
CRE: take 'npctoken' and 'setnpctoken' into account for message display. |
| 1732 |
Nicolas Weeger 2010-06-23 |
| 1733 |
|
| 1734 |
CRE: display actual item values for artifacts, as suggested by Leaf. |
| 1735 |
Nicolas Weeger 2010-06-20 |
| 1736 |
|
| 1737 |
CRE: add 'exit' command, add status bar tips to menu commands. |
| 1738 |
Nicolas Weeger 2010-06-20 |
| 1739 |
|
| 1740 |
CRE: read comments from quest pre/post scripts, to display in the dropdown list. |
| 1741 |
Nicolas Weeger 2010-06-19 |
| 1742 |
|
| 1743 |
Add 'purge_quests' DM command to unload quest definition. |
| 1744 |
Useful when modifying quest files, to avoid restarting server. |
| 1745 |
Nicolas Weeger 2010-06-19 |
| 1746 |
|
| 1747 |
Remove unused variables. |
| 1748 |
Nicolas Weeger 2010-06-19 |
| 1749 |
|
| 1750 |
CRE: message rule duplication. |
| 1751 |
Nicolas Weeger 2010-06-19 |
| 1752 |
|
| 1753 |
Correctly mark quests as completed during state loading. |
| 1754 |
Nicolas Weeger 2010-06-19 |
| 1755 |
|
| 1756 |
Remove cf_darcap plugin, as everything is now done through Python scripts |
| 1757 |
and the quest system. |
| 1758 |
Nicolas Weeger 2010-06-19 |
| 1759 |
|
| 1760 |
CRE: enable step reordering. |
| 1761 |
Nicolas Weeger 2010-06-19 |
| 1762 |
|
| 1763 |
Fix suspicious (and duplicate) artifact change. Update documentation. |
| 1764 |
common/artifact.h |
| 1765 |
lib/artifacts |
| 1766 |
Nicolas Weeger 2010-06-13 |
| 1767 |
|
| 1768 |
CRE: display artifact values, as a dump for now. |
| 1769 |
Nicolas Weeger 2010-06-13 |
| 1770 |
|
| 1771 |
CRE: word wrap for messages. |
| 1772 |
Nicolas Weeger 2010-06-13 |
| 1773 |
|
| 1774 |
CRE: quest step description is multiline too, for edition. |
| 1775 |
Nicolas Weeger 2010-06-13 |
| 1776 |
|
| 1777 |
CRE: redesign the quest steps panel, to have inplace edition. |
| 1778 |
This gives a better overview of the steps. |
| 1779 |
Nicolas Weeger 2010-06-13 |
| 1780 |
|
| 1781 |
Make the plugin calls to player titles respect the custom titles the player |
| 1782 |
has set. |
| 1783 |
server/plugins.c, plugins/common, plugins/cfpython |
| 1784 |
Brendan Lally 2010-06-08 |
| 1785 |
|
| 1786 |
Expose one knowledge function to plugin. |
| 1787 |
Nicolas Weeger 2010-06-06 |
| 1788 |
|
| 1789 |
CRE: display alchemy's index. |
| 1790 |
Nicolas Weeger 2010-06-06 |
| 1791 |
|
| 1792 |
Use 'const' for parameters. |
| 1793 |
Nicolas Weeger 2010-06-06 |
| 1794 |
|
| 1795 |
CRE: "setwhen" basic edition support. |
| 1796 |
Nicolas Weeger 2010-06-03 |
| 1797 |
|
| 1798 |
CRE: read and write 'setwhen' quest support, no modification for now. |
| 1799 |
Nicolas Weeger 2010-06-03 |
| 1800 |
|
| 1801 |
server/quest.c, quest step conditions, used to advance quests when another |
| 1802 |
quest(s) are at the 'right' step(s) |
| 1803 |
Brendan Lally 2010-05-30 |
| 1804 |
|
| 1805 |
server/quest.c, #define the state numbers in the quest parsing code |
| 1806 |
Brendan Lally 2010-05-30 |
| 1807 |
|
| 1808 |
Use a specific message to query animation state, fix isn't enough. |
| 1809 |
Nicolas Weeger 2010-05-30 |
| 1810 |
|
| 1811 |
Fix crash in cfanim. |
| 1812 |
Nicolas Weeger 2010-05-30 |
| 1813 |
|
| 1814 |
Change log level to error for various things in cf_anim. |
| 1815 |
Nicolas Weeger 2010-05-30 |
| 1816 |
|
| 1817 |
New variable to cf_anim. Enable object state querying (using 'fix') |
| 1818 |
to know if an object is animated. |
| 1819 |
Nicolas Weeger 2010-05-30 |
| 1820 |
|
| 1821 |
CRE: don't hardcode pre and post conditions files. |
| 1822 |
Nicolas Weeger 2010-05-30 |
| 1823 |
|
| 1824 |
CRE: add 'npctoken' and 'setnpctoken' pre and post conditions. |
| 1825 |
Nicolas Weeger 2010-05-30 |
| 1826 |
|
| 1827 |
Add DM 'purge_quest_state' command to make it easy to fix quest state |
| 1828 |
through manual file editing without restarting server. |
| 1829 |
Nicolas Weeger 2010-05-30 |
| 1830 |
|
| 1831 |
CRE: enable message rule reordering. |
| 1832 |
Nicolas Weeger 2010-05-30 |
| 1833 |
|
| 1834 |
CRE: expand resource tree if only one item. |
| 1835 |
Nicolas Weeger 2010-05-29 |
| 1836 |
|
| 1837 |
CRE: enable new message file creation. |
| 1838 |
Nicolas Weeger 2010-05-29 |
| 1839 |
|
| 1840 |
CRE: enable message rule addition or removal. |
| 1841 |
Nicolas Weeger 2010-05-29 |
| 1842 |
|
| 1843 |
Fix CRE crash when not enough reply data. |
| 1844 |
Nicolas Weeger 2010-05-29 |
| 1845 |
|
| 1846 |
Disable cf_darcap's plugin handleDeath function, replaced by a Python script. |
| 1847 |
Nicolas Weeger 2010-05-29 |
| 1848 |
|
| 1849 |
Expose 'Map.InsertAround' to Python. |
| 1850 |
Nicolas Weeger 2010-05-29 |
| 1851 |
|
| 1852 |
Remove unused "oldmessage" parameter from draw_ext_info, draw_ext_info_format, |
| 1853 |
ext_info_map, ext_info_map_except, and ext_info_map_except2 functions and |
| 1854 |
calls. |
| 1855 |
Kevin Bulgrien 2010-05-28 |
| 1856 |
|
| 1857 |
Fix socket/info.c::draw_ext_message() comments to be more informative and to |
| 1858 |
update them to more completely describe current behavior. |
| 1859 |
Remove the socket/info.c::draw_ext_message() socket/info.c::print_message() |
| 1860 |
call to fix bug 2984255 and to remove inappropriate log file clutter. |
| 1861 |
Remove socket/info.c::print_message() as LOG() is the proper method of logging |
| 1862 |
messages. It is obvious that the function has been modified from its |
| 1863 |
original implementation as it expects a player pointer but does not use it. |
| 1864 |
The only function that called it was draw_ext_info(), and it only did so |
| 1865 |
when the player pointer was NULL or when a player's contr pointer was NULL. |
| 1866 |
It appears that print_message() used to be a mechanism by which an old |
| 1867 |
client could get simple messages without any formatting (based on out-dated |
| 1868 |
comments in draw_ext_info()'s header), but that functionality is long gone. |
| 1869 |
Note: draw_ext_info()'s oldmessage parameter is completely useless, unused, |
| 1870 |
and should be set to NULL. Really it should be removed and all calls to |
| 1871 |
draw_ext_info() cleaned up likewise. |
| 1872 |
Kevin Bulgrien 2010-05-27 |
| 1873 |
|
| 1874 |
Quest parent edition in CRE. |
| 1875 |
Nicolas Weeger 2010-05-26 |
| 1876 |
|
| 1877 |
Permit Quests to define parents, display only parent quests in the quest |
| 1878 |
lists and fold child quests into the parent's description. The same |
| 1879 |
behaviour is used for the quest summary with the -mq flag |
| 1880 |
server/quest.c |
| 1881 |
Brendan Lally 2010-05-25 |
| 1882 |
|
| 1883 |
Display warning if an animation only has one face. |
| 1884 |
Nicolas Weeger 2010-05-24 |
| 1885 |
|
| 1886 |
Support for building utils/mapper.c as crossfire-mapper. The utility is not |
| 1887 |
built by default as it requires libgd (not normally required by the server). |
| 1888 |
crossfire-mapper is not needed to run a server, but it is useful for making |
| 1889 |
crossfire world maps for publishing via web server. To build this utility, |
| 1890 |
specify --enable-mapper when running ./configure. |
| 1891 |
Kevin Bulgrien 2010-05-24 |
| 1892 |
|
| 1893 |
Add missing function prototypes. Use 'const' where possible. |
| 1894 |
Nicolas Weeger 2010-05-23 |
| 1895 |
|
| 1896 |
Speed up compilation with precompiled headers. |
| 1897 |
Nicolas Weeger 2010-05-22 |
| 1898 |
|
| 1899 |
Reply edition panel. |
| 1900 |
Nicolas Weeger 2010-05-22 |
| 1901 |
|
| 1902 |
Fix various crashes. |
| 1903 |
Nicolas Weeger 2010-05-22 |
| 1904 |
|
| 1905 |
'pre' and 'post' conditions edition. |
| 1906 |
Nicolas Weeger 2010-05-22 |
| 1907 |
|
| 1908 |
Extract widget, enable 'message' edition. |
| 1909 |
Nicolas Weeger 2010-05-22 |
| 1910 |
|
| 1911 |
Preliminary rule edition ("match" only for now). Rule file saving support. |
| 1912 |
Nicolas Weeger 2010-05-22 |
| 1913 |
|
| 1914 |
Downcast type, remove const, which apparently cause issues. |
| 1915 |
Nicolas Weeger 2010-05-21 |
| 1916 |
|
| 1917 |
Update help text for filters. |
| 1918 |
Nicolas Weeger 2010-05-21 |
| 1919 |
|
| 1920 |
Don't display an empty menu on right click. |
| 1921 |
Nicolas Weeger 2010-05-19 |
| 1922 |
|
| 1923 |
Add Race to the set of things that can be filtered on in CRE |
| 1924 |
Brendan Lally 2010-05-19 |
| 1925 |
|
| 1926 |
Implement requestinfo for race_info and class_info. Note there is a bug with |
| 1927 |
the archetypes in that many archetypes have type==37 (CLASS) which are not |
| 1928 |
actually class descriptors. |
| 1929 |
socket/request.c: New functions to send class/race information. |
| 1930 |
doc/Developers/protocol: Update document for format of race/class_info |
| 1931 |
requestinfo. |
| 1932 |
MSW 2010-05-18 |
| 1933 |
|
| 1934 |
Improve quest edition, now can add or remove steps. Can add new quests. |
| 1935 |
Nicolas Weeger 2010-05-16 |
| 1936 |
|
| 1937 |
Indicate quest end steps. Enable edition of the 'can restart?' flag. |
| 1938 |
Nicolas Weeger 2010-05-16 |
| 1939 |
|
| 1940 |
Remove unused class. |
| 1941 |
Nicolas Weeger 2010-05-16 |
| 1942 |
|
| 1943 |
Fix crash if wanting to start an unknown quest. |
| 1944 |
Nicolas Weeger 2010-05-16 |
| 1945 |
|
| 1946 |
Highlight rules when the same token. |
| 1947 |
Nicolas Weeger 2010-05-15 |
| 1948 |
|
| 1949 |
Preliminary message file (.msg) support. No edition yet. |
| 1950 |
Nicolas Weeger 2010-05-15 |
| 1951 |
|
| 1952 |
Update the tree if the quest code changes. Enables quest step edition. |
| 1953 |
Nicolas Weeger 2010-05-15 |
| 1954 |
|
| 1955 |
Quest edition, not complete but some fields already. |
| 1956 |
Nicolas Weeger 2010-05-15 |
| 1957 |
|
| 1958 |
Show existing quests, and their various steps. |
| 1959 |
Nicolas Weeger 2010-05-15 |
| 1960 |
|
| 1961 |
Fix typedef definition issue when building CRE. |
| 1962 |
Nicolas Weeger 2010-05-15 |
| 1963 |
|
| 1964 |
Make various pointers const. |
| 1965 |
Nicolas Weeger 2010-05-15 |
| 1966 |
|
| 1967 |
Correctly initialize variable. Make pointers const. |
| 1968 |
Nicolas Weeger 2010-05-15 |
| 1969 |
|
| 1970 |
Clean code. |
| 1971 |
Nicolas Weeger 2010-05-13 |
| 1972 |
|
| 1973 |
Correctly initialize variables. |
| 1974 |
Nicolas Weeger 2010-05-13 |
| 1975 |
|
| 1976 |
Make buffer bigger to avoid truncation, warn if still truncation. |
| 1977 |
Nicolas Weeger 2010-05-13 |
| 1978 |
|
| 1979 |
Remove unused code. |
| 1980 |
Nicolas Weeger 2010-05-09 |
| 1981 |
|
| 1982 |
Make variables 'const'. |
| 1983 |
Nicolas Weeger 2010-05-09 |
| 1984 |
|
| 1985 |
Expose rt_xxx to Python scripts through 'Crossfire.ReplyType'. |
| 1986 |
Nicolas Weeger 2010-05-08 |
| 1987 |
|
| 1988 |
Add 'rt_say', give explicit values. Extract texts to function. |
| 1989 |
Nicolas Weeger 2010-05-08 |
| 1990 |
|
| 1991 |
Add Crossfire.AddReply, Crossfire.SetPlayerMessage and Crossfire.NPCSay wrappers |
| 1992 |
to the Python plugin. |
| 1993 |
Nicolas Weeger 2010-05-08 |
| 1994 |
|
| 1995 |
Transmit talk information to plugins. Make a specific "say" plugin command. |
| 1996 |
Nicolas Weeger 2010-05-08 |
| 1997 |
|
| 1998 |
Keep NPC messages only, in case NPCs are removed during the dialog. |
| 1999 |
Nicolas Weeger 2010-05-08 |
| 2000 |
|
| 2001 |
Extract talk_info to dialog.h. Use sstring for various messages. |
| 2002 |
Nicolas Weeger 2010-05-08 |
| 2003 |
|
| 2004 |
Update Man Page |
| 2005 |
Brendan Lally 2010-05-07 |
| 2006 |
|
| 2007 |
Add -mq as a command line option to dump a list of the quests that the |
| 2008 |
server recognises. |
| 2009 |
Brendan Lally 2010-05-07 |
| 2010 |
|
| 2011 |
Improve dialog system. Use "You" for the player saying something. |
| 2012 |
Don't send multiple texts when @reply is used in dialogs. |
| 2013 |
Nicolas Weeger 2010-05-06 |
| 2014 |
|
| 2015 |
Include -mexp as one of the command line options listed in the help text. |
| 2016 |
Brendan Lally 2010-05-06 |
| 2017 |
|
| 2018 |
Doxygen fixes. |
| 2019 |
Nicolas Weeger 2010-05-06 |
| 2020 |
|
| 2021 |
Make parameters and return values const when applicable. |
| 2022 |
Nicolas Weeger 2010-05-06 |
| 2023 |
|
| 2024 |
Extract artifact functions to their own file. |
| 2025 |
Nicolas Weeger 2010-05-06 |
| 2026 |
|
| 2027 |
Don't send warnings on the server log from the DM's 'create' command. |
| 2028 |
Nicolas Weeger 2010-05-06 |
| 2029 |
|
| 2030 |
Make proto. |
| 2031 |
Nicolas Weeger 2010-05-06 |
| 2032 |
|
| 2033 |
ANSI C89 fix. |
| 2034 |
server/quest.c |
| 2035 |
Nicolas Weeger 2010-05-04 |
| 2036 |
|
| 2037 |
server/player.c: don't switch to account mode if no account name (else segfault). |
| 2038 |
This could happen if the client sends the setup command but starts playing without |
| 2039 |
actually logging in. |
| 2040 |
Nicolas Weeger 2010-05-01 |
| 2041 |
|
| 2042 |
Enforce 2 characters minimum for account passwords, else accounts with 1 |
| 2043 |
character can't create new characters. Some code cleaning. |
| 2044 |
socket/request.c |
| 2045 |
Nicolas Weeger 2010-05-01 |
| 2046 |
|
| 2047 |
server/account_char.c: Modify to use the map name, not path for character |
| 2048 |
listing if that data is available - gives nicer output. |
| 2049 |
socket/request.c: Add numeric face number for character information, add |
| 2050 |
standard handling to send face number to client before use. |
| 2051 |
test/unit/common/check_living.c: Minor change to make it C89 compliant. |
| 2052 |
MSW 2010-04-26 |
| 2053 |
|
| 2054 |
server/quest.c: Allow quest definition files to 'include' other quest definition |
| 2055 |
files. Make the error messages from the quest file parsing code more |
| 2056 |
explicit to make tracking down errors easier. Add quest_get_by_code() which |
| 2057 |
quest_get() now acts as a wrapper to, so that error messages can be given if |
| 2058 |
a quest is defined multiple times. |
| 2059 |
Change the default quest file to world.quests so that old servers will still |
| 2060 |
work properly (but without the new syntax) |
| 2061 |
Brendan Lally 2010-04-26 |
| 2062 |
|
| 2063 |
Clear hp fixing code. |
| 2064 |
Nicolas Weeger 2010-04-26 |
| 2065 |
|
| 2066 |
Clean player grace fixing code. |
| 2067 |
Nicolas Weeger 2010-04-26 |
| 2068 |
|
| 2069 |
Clean player sp fixing code. |
| 2070 |
Nicolas Weeger 2010-04-26 |
| 2071 |
|
| 2072 |
Extract part of fix_object() to fix_player(), to make the function more manageable. |
| 2073 |
Nicolas Weeger 2010-04-26 |
| 2074 |
|
| 2075 |
Rename POTION_EFFECT to POTION_RESIST_EFFECT to better describe what it is. |
| 2076 |
Nicolas Weeger 2010-04-26 |
| 2077 |
|
| 2078 |
Warn players of the end of resistance effects. |
| 2079 |
Nicolas Weeger 2010-04-26 |
| 2080 |
|
| 2081 |
Some unit tests for fix_object(). |
| 2082 |
Nicolas Weeger 2010-04-26 |
| 2083 |
|
| 2084 |
server/skills.c, server/c_object.c, include/sproto.h: Make the 'examine' |
| 2085 |
command id of objects. |
| 2086 |
* Move the detect curse and detect magic logic out into separate functions |
| 2087 |
* Make the id skills use the item types array to figure out which objects |
| 2088 |
they should identify |
| 2089 |
* For any object which is examined, use the player's skills to attempt to |
| 2090 |
detect magic, sense curse and then perform a skill-based id of objects. |
| 2091 |
Brendan Lally 2010-04-26 |
| 2092 |
|
| 2093 |
============================================================================== |
| 2094 |
Changes for 1.50.0 |
| 2095 |
============================================================================== |
| 2096 |
|
| 2097 |
server/attack.c: Don't make doors (or other objects) harder to hit because |
| 2098 |
they lack a move type. Remove unused variable. |
| 2099 |
MSW 2010-04-25 |
| 2100 |
|
| 2101 |
Fix a missing whitespace issue that makes books read like "which gives the |
| 2102 |
recipientImmunity to magic". |
| 2103 |
Kevin Bulgrien 2010-04-25 |
| 2104 |
|
| 2105 |
Add ability to send face number (instead of name) - add new definition |
| 2106 |
to newclient.h, update protocol doc. First commit is so shared newclient.h |
| 2107 |
file can get used. |
| 2108 |
Files affected: include/shared/newclient.h doc/Developers/protocol |
| 2109 |
MSW 2010-04-24 |
| 2110 |
|
| 2111 |
Replace [NULL] from response to command-line `crossfire-server -v` with the |
| 2112 |
same text that is sent back to a client when it requests server version. |
| 2113 |
Make `crossfire-server -help` information for -v more accurate to current |
| 2114 |
function. |
| 2115 |
Kevin Bulgrien 2010-04-24 |
| 2116 |
|
| 2117 |
CRE: expose 'item' as an Object instead of an Archetype to scripting engine. |
| 2118 |
Makes things much easier. |
| 2119 |
Nicolas Weeger 2010-04-22 |
| 2120 |
|
| 2121 |
CRE: ac and wc as properties for objects. |
| 2122 |
Nicolas Weeger 2010-04-22 |
| 2123 |
|
| 2124 |
random_maps/treasure.c |
| 2125 |
- Make sure random map dungeon level numbers on signs and keys match up and |
| 2126 |
make sense. This is an off-by-one issue. |
| 2127 |
include/map.h |
| 2128 |
- Change mapstruct members enter_x and enter_y to sint16 since it appears that |
| 2129 |
most other server code uses sint16 types for map coordinates, and the change |
| 2130 |
results in dropping some -Wconversion warnings. Use of -1,-1 in an exit is |
| 2131 |
now the way to mark it the defaults set in the map are used without having |
| 2132 |
to set them in the exit. It may be odd to have -1,-1 in a map (mapstruct), |
| 2133 |
but it still seems better to have type consistency. Also fix up the broken |
| 2134 |
doxygen comment on these items, and add some content detail. |
| 2135 |
Kevin Bulgrien 2010-04-21 |
| 2136 |
|
| 2137 |
Simplify code. |
| 2138 |
Nicolas Weeger 2010-04-21 |
| 2139 |
|
| 2140 |
CRE: export attack types values to scripting. |
| 2141 |
Nicolas Weeger 2010-04-18 |
| 2142 |
|
| 2143 |
CRE: export object's attacktype to scripting. |
| 2144 |
Nicolas Weeger 2010-04-18 |
| 2145 |
|
| 2146 |
CRE: display items count, and if filtered total count. |
| 2147 |
Nicolas Weeger 2010-04-18 |
| 2148 |
|
| 2149 |
Fix unit test for accounts when tmp files are still around. |
| 2150 |
Nicolas Weeger 2010-04-18 |
| 2151 |
|
| 2152 |
Fix invalid attack roll handling in easy cases. |
| 2153 |
Nicolas Weeger 2010-04-18 |
| 2154 |
|
| 2155 |
CRE: export some properties for formulae. |
| 2156 |
Nicolas Weeger 2010-04-18 |
| 2157 |
|
| 2158 |
CRE: set a better progress caption. |
| 2159 |
Nicolas Weeger 2010-04-17 |
| 2160 |
|
| 2161 |
CRE: show report generation progress, enable cancelling. |
| 2162 |
Nicolas Weeger 2010-04-17 |
| 2163 |
|
| 2164 |
CRE: button to copy report contents to clipboard. |
| 2165 |
Nicolas Weeger 2010-04-17 |
| 2166 |
|
| 2167 |
CRE: expose maps to report interfaces. |
| 2168 |
Nicolas Weeger 2010-04-17 |
| 2169 |
|
| 2170 |
CRE: keep map level while we're at it. |
| 2171 |
Nicolas Weeger 2010-04-17 |
| 2172 |
|
| 2173 |
CRE: expand maps node if only maps, resize columns to meaningful size. |
| 2174 |
Nicolas Weeger 2010-04-17 |
| 2175 |
|
| 2176 |
CRE: display an empty panel by default, to force a decent size. |
| 2177 |
Nicolas Weeger 2010-04-17 |
| 2178 |
|
| 2179 |
CRE: display item property in treasure panel. |
| 2180 |
Nicolas Weeger 2010-04-16 |
| 2181 |
|
| 2182 |
CRE: report definition is now managed like filters. |
| 2183 |
Add quick item filter. |
| 2184 |
Nicolas Weeger 2010-04-16 |
| 2185 |
|
| 2186 |
CRE: wrap object name and experience. |
| 2187 |
Nicolas Weeger 2010-04-16 |
| 2188 |
|
| 2189 |
CRE: change disposition for resource window. |
| 2190 |
Nicolas Weeger 2010-04-15 |
| 2191 |
|
| 2192 |
CRE: display region information when one is selected. |
| 2193 |
Nicolas Weeger 2010-04-15 |
| 2194 |
|
| 2195 |
CRE: experience display. |
| 2196 |
Nicolas Weeger 2010-04-15 |
| 2197 |
|
| 2198 |
CRE: load data in the thread, no need to freeze everything. |
| 2199 |
Nicolas Weeger 2010-04-14 |
| 2200 |
|
| 2201 |
CRE: display map name, and exits to and from. |
| 2202 |
Nicolas Weeger 2010-04-14 |
| 2203 |
|
| 2204 |
CRE improvements. Keep region information for maps. |
| 2205 |
Display map list by region, with map experience. |
| 2206 |
Nicolas Weeger 2010-04-14 |
| 2207 |
|
| 2208 |
Fix for bug 2985631 - can not create a new character if you have a long |
| 2209 |
account password. Simple solution is to just truncat password. |
| 2210 |
MSW 2010-04-11 |
| 2211 |
|
| 2212 |
Add some minimal new character support. Work in progress, but added code |
| 2213 |
that at least hands off the username/password to server. |
| 2214 |
--- |
| 2215 |
doc/Developers/protocol: Add some docs on createplayer protocol command. |
| 2216 |
include/sockproto.h, include/sproto.h: Update with new functions. |
| 2217 |
server/login.c: Add code to update account for new characters. |
| 2218 |
server/player.c: Make set_first_map() non static. Change add_player() |
| 2219 |
to take second argument and return the newly created player object. |
| 2220 |
Fix roll_again() output to use <> instead of [], since later are |
| 2221 |
markup commands. |
| 2222 |
socket/loop.c: Add callback for createplayer protocol command. |
| 2223 |
socket/request.c: Add create_player_cmd(). Update add_player to take |
| 2224 |
second argument. |
| 2225 |
types/savebed/savebed.c: Add warning message and prevent player from |
| 2226 |
saving if they have 0 exp and the character won't be saved. |
| 2227 |
Otherwise, it seems to work but does nothing. |
| 2228 |
--- |
| 2229 |
MSW 2010-04-07 |
| 2230 |
|
| 2231 |
Keep rough monster experience for maps. Dump region experience after parsing. |
| 2232 |
utils/cre/CREMapInformation.{h,cpp} CREMapInformationManager.{cpp,h} |
| 2233 |
Nicolas Weeger 2010-04-07 |
| 2234 |
|
| 2235 |
Don't send pickup information if not explicitely asked for. |
| 2236 |
server/c_object.c |
| 2237 |
Nicolas Weeger 2010-04-07 |
| 2238 |
|
| 2239 |
Fix potential crash when changing class. |
| 2240 |
plugins/cflogger/cflogger.c |
| 2241 |
Nicolas Weeger 2010-04-07 |
| 2242 |
|
| 2243 |
Fix crash if 'add_me' was sent multiple times. |
| 2244 |
socket/request.c |
| 2245 |
Nicolas Weeger 2010-04-07 |
| 2246 |
|
| 2247 |
Commit account management code. Seems mature enough for general use - probably |
| 2248 |
a few bugs. What this adds is an account that characters use to log in, |
| 2249 |
at which point they then choose what character they want to play. |
| 2250 |
--- |
| 2251 |
doc/Developers/protocol: Fix some formatting, clarify some points, make |
| 2252 |
some revisions to account protocol commands. |
| 2253 |
include/account_char.h: Move MAX_CHARACTERS_PER_ACCOUNT to this |
| 2254 |
file so other files to access it. |
| 2255 |
include/newserver.h: Add login_method to socket structure. |
| 2256 |
include/sockproto.h: Update for new functions. |
| 2257 |
include/sproto.h: Update for new functions. |
| 2258 |
lib/Makefile.am: Have it make account directory if it does not exist. |
| 2259 |
server/account.c: Fix bug related to loading when only 1 character |
| 2260 |
is associated with account. Change account_exists() to return |
| 2261 |
proper name of account. Clean up some function declarations |
| 2262 |
and bugs. Add some new functions to get character/account |
| 2263 |
data. |
| 2264 |
server/account_char.c: Fix typo and minor errors in error message. |
| 2265 |
server/c_misc.c: Update check_login() for 2 params |
| 2266 |
server/init.c: Add call to load account information. |
| 2267 |
server/login.c: Save account information. Modify check_login() for |
| 2268 |
account logins which bypass password checking. |
| 2269 |
server/player.c: Make get_player() non static. Add enhancements |
| 2270 |
for new login code in play again. |
| 2271 |
socket/init.c: initialize login_method to 0. |
| 2272 |
socket/loop.c: Add new protocol commands with callbacks. |
| 2273 |
socket/request.c: Add loginmethod setup command. Add several new functions |
| 2274 |
to handle account management functionality. |
| 2275 |
test/unit/server/check_account.c: Update for new return semantics for |
| 2276 |
account_exists() |
| 2277 |
--- |
| 2278 |
MSW 2010-04-06 |
| 2279 |
|
| 2280 |
Add more extended statistics information: applied stats. These allow |
| 2281 |
clients to distinguish between depleted stats and stat changes due to gear |
| 2282 |
or skills. |
| 2283 |
Andreas Kirschbaum 2010-04-03 |
| 2284 |
|
| 2285 |
socket/request.c |
| 2286 |
- Fix segfault when client requests spellmon 2. |
| 2287 |
Kevin Bulgrien 2010-04-02 |
| 2288 |
|
| 2289 |
socket/init.c |
| 2290 |
- Remove duplicate initializer. |
| 2291 |
Kevin Bulgrien 2010-04-01 |
| 2292 |
|
| 2293 |
Fix invalid function call. Add function prototypes. |
| 2294 |
plugins/cfpython/cfpython_object.c |
| 2295 |
plugins/common/include/plugin_common.h |
| 2296 |
Nicolas Weeger 2010-04-01 |
| 2297 |
|
| 2298 |
include/shared/newclient.h |
| 2299 |
- Rename the confusing MSG_TYPE_DIALOG_MAGIC_MOUTH to |
| 2300 |
MSG_TYPE_DIALOG_MAGIC_EAR since only magic ears are MSG_TYPE_DIALOG. |
| 2301 |
- Add a new MSG_TYPE_SIGN subtype of MSG_TYPE_SIGN_MAGIC_MOUTH since magic |
| 2302 |
mouths are distinctly different from all other signs, and this might mean a |
| 2303 |
client might want to handle their messages uniquely. |
| 2304 |
server/monster.c |
| 2305 |
- Rename MSG_TYPE_DIALOG_MAGIC_MOUTH to MSG_TYPE_DIALOG_MAGIC_EAR to match up |
| 2306 |
with newclient.h changes. |
| 2307 |
common/readable.c |
| 2308 |
- Add a new MSG_TYPE_SIGN subtype MSG_TYPE_SIGN_MAGIC_MOUTH in conjunction |
| 2309 |
with changes made to newclient.h. |
| 2310 |
Kevin Bulgrien 2010-03-30 |
| 2311 |
|
| 2312 |
- Commit some edits made in conjunction with wiki edits a while back: |
| 2313 |
- Sort the normal commands alphabetically. |
| 2314 |
- Move gsay to the communications command list. |
| 2315 |
- Move printlos out of the communications command list to the normal list. |
| 2316 |
- Move cointoss and orcknuckle out from among the emote commands and put them |
| 2317 |
next to the non-emotion commands in the communications commands group. They |
| 2318 |
still do not seem to be communication commands, but that's where they were |
| 2319 |
already and I don't feel like debating it at the moment. |
| 2320 |
Kevin Bulgrien 2010-03-29 |
| 2321 |
|
| 2322 |
- Add extra detail to the apply command help (lib/help/apply.en) |
| 2323 |
Kevin Bulgrien 2010-03-29 |
| 2324 |
|
| 2325 |
Add a patch written by Funnyman3595 to add Object.Split and Object.Clone to |
| 2326 |
the methods which can be used by python scripts through the plugin. |
| 2327 |
plugins/cfpython/include/cfpython_object_private.h |
| 2328 |
server/plugins.c |
| 2329 |
plugins/cfpython/cfpython_object.c |
| 2330 |
plugins/common/plugin_common.c |
| 2331 |
Brendan Lally 2010-03-30 |
| 2332 |
|
| 2333 |
Changes to the way the server handles quests: |
| 2334 |
Rather than a separate end_quest() function, quest steps may contain the |
| 2335 |
line 'finishes_quest' advancing to any step that contains that line finishes |
| 2336 |
the quest. All references to end_quest are removed. |
| 2337 |
The stage number for completed, unrestartable quests is preserved, and the |
| 2338 |
step description (called 'outcome') is shown for completed quests also. |
| 2339 |
The quest list command output is reworked, it defaults to showing the number |
| 2340 |
of completed quests, and listing the active ones, but 'quest list all' can |
| 2341 |
be used to show all of the quests whether completed or not. |
| 2342 |
plugins/cf_darcap/cf_darcap.c |
| 2343 |
plugins/common/include/plugin_common.h |
| 2344 |
plugins/common/plugin_common.c |
| 2345 |
plugins/cfpython/cfpython_object.c |
| 2346 |
plugins/cfpython/include/cfpython_object_private.h |
| 2347 |
include/plugin.h |
| 2348 |
server/quest.c |
| 2349 |
server/plugins.c |
| 2350 |
Brendan Lally 2010-03-29 |
| 2351 |
|
| 2352 |
Replace the numbers in the map2 command handling with some #define's |
| 2353 |
include/shared/newclient.h |
| 2354 |
socket/request.c |
| 2355 |
Brendan Lally 2010-03-28 |
| 2356 |
|
| 2357 |
Don't drop the inventory of items marked as 'no drop' |
| 2358 |
common/object.c |
| 2359 |
Brendan Lally 2010-03-28 |
| 2360 |
|
| 2361 |
Massive CRE improvements. |
| 2362 |
Filters are now defined globally. Report window, to display things (will be improved soon). |
| 2363 |
Nicolas Weeger 2010-03-27 |
| 2364 |
|
| 2365 |
Don't list invisible items as part of the contents of chests when applied. |
| 2366 |
types/treasure/treasure.c |
| 2367 |
Brendan Lally 2010-03-26 |
| 2368 |
|
| 2369 |
Town portal now has an animation instead of being immediate. |
| 2370 |
server/spell_effect.c |
| 2371 |
Nicolas Weeger 2010-03-25 |
| 2372 |
|
| 2373 |
Have disappearing FLAG_IS_USED_UP items put their inventory on the ground, not on pile top. |
| 2374 |
server/time.c |
| 2375 |
Nicolas Weeger 2010-03-25 |
| 2376 |
|
| 2377 |
Add new flag to object_free() to force inventory contents on the ground instead on pile top. |
| 2378 |
common/object.c |
| 2379 |
include/object.h |
| 2380 |
Nicolas Weeger 2010-03-25 |
| 2381 |
|
| 2382 |
Add '!' to pickup to toggle the mode. |
| 2383 |
lib/help/pickup.en |
| 2384 |
server/c_object.c |
| 2385 |
Nicolas Weeger 2010-03-25 |
| 2386 |
|
| 2387 |
Basic help text for filtering. |
| 2388 |
Nicolas Weeger 2010-03-25 |
| 2389 |
|
| 2390 |
Basic filtering on artifacts and formulaes. |
| 2391 |
Nicolas Weeger 2010-03-24 |
| 2392 |
|
| 2393 |
Enable filtering on archetypes (name and clone's type). |
| 2394 |
Nicolas Weeger 2010-03-24 |
| 2395 |
|
| 2396 |
Add requestinfo/replyinfo mechanisms to get the news/rules/motd file. In |
| 2397 |
this way, client does not need to parse drawinfo commands, and this |
| 2398 |
functionality is needed in account based logins since the login code path is |
| 2399 |
different. Add setup command for loginmethod - work in progress |
| 2400 |
but needed for testing. |
| 2401 |
--- |
| 2402 |
socket/request.c: Add setup loginmethod, add send_file() to send files |
| 2403 |
socket/loop.c: Update requestinfo handling to deal with motd/news/rules |
| 2404 |
doc/Developers/protocol: Clarify some areas of protocol. Add information |
| 2405 |
about requestinfo/replyinfo for news/rules/motd |
| 2406 |
MSW 2010-03-23 |
| 2407 |
|
| 2408 |
As per discussion on IRC, some changes to hopefully improve balance - will |
| 2409 |
await feedback: |
| 2410 |
common/living.c: Don't have the magic of an item affect wc. Only if wc |
| 2411 |
is explicitly set does it improve the character. |
| 2412 |
server/skills.c: Tweak lockpicking - give the skill level more relevence. |
| 2413 |
Have difficulty increase exp gained. |
| 2414 |
MSW 2010-03-23 |
| 2415 |
|
| 2416 |
Fix EVENT_SAY for items in a container. |
| 2417 |
server/monster.c |
| 2418 |
Nicolas Weeger 2010-03-22 |
| 2419 |
|
| 2420 |
Reformat and spellcheck all help texts and default rules/motd/news files. |
| 2421 |
Andreas Kirschbaum 2010-03-21 |
| 2422 |
|
| 2423 |
Add help for 'title' command. |
| 2424 |
Andreas Kirschbaum 2010-03-21 |
| 2425 |
|
| 2426 |
Send updated ground view when num_look_objects is received. |
| 2427 |
socket/request.c |
| 2428 |
Nicolas Weeger 2010-03-20 |
| 2429 |
|
| 2430 |
Extract function to find player from socket. |
| 2431 |
include/sproto.h |
| 2432 |
server/player.c |
| 2433 |
socket/request.c |
| 2434 |
Nicolas Weeger 2010-03-20 |
| 2435 |
|
| 2436 |
Don't send empty "stats " commands. |
| 2437 |
socket/request.c |
| 2438 |
Nicolas Weeger 2010-03-20 |
| 2439 |
|
| 2440 |
Add extended statistics information: race stats, natural stats. |
| 2441 |
This enables clients to display depletion and such. |
| 2442 |
doc/Developers/protocol |
| 2443 |
include/newserver.h player.h |
| 2444 |
include/shared/newclient.h README |
| 2445 |
socket/init.c request.c |
| 2446 |
Nicolas Weeger 2010-03-20 |
| 2447 |
|
| 2448 |
Fix crash with "cast" command having no arguments. |
| 2449 |
Andreas Kirschbaum 2010-03-19 |
| 2450 |
|
| 2451 |
Cache map information. |
| 2452 |
utils/cre/ |
| 2453 |
CREArchetypePanel.cpp |
| 2454 |
CREArchetypePanel.h |
| 2455 |
CREMainWindow.cpp |
| 2456 |
CREMainWindow.h |
| 2457 |
CREMapInformationManager.h |
| 2458 |
CREMapInformationManager.cpp |
| 2459 |
CREMapInformation.cpp |
| 2460 |
CREMapInformation.h |
| 2461 |
CREResourcesWindow.cpp |
| 2462 |
CREResourcesWindow.h |
| 2463 |
cre.pro |
| 2464 |
Nicolas Weeger 2010-03-17 |
| 2465 |
|
| 2466 |
Basic settings for map cache directory, and associated dialog. |
| 2467 |
utils/cre/cre.{cpp,pro} CRESettings.{cpp,h} CRESettingsDialog.{cpp,h} |
| 2468 |
Nicolas Weeger 2010-03-14 |
| 2469 |
|
| 2470 |
Add relevant debug flags to compilation. |
| 2471 |
utils/cre/.qmake.cache |
| 2472 |
Nicolas Weeger 2010-03-14 |
| 2473 |
|
| 2474 |
Use archetype name instead of archetype itself. Show map name in list too. |
| 2475 |
utils/cre/CREArchetypePanel.cpp CREMapInformation.{cpp,h} CREMapInformationManager.{cpp,h} CREMainWindow.cpp CREUtils.{cpp,h} |
| 2476 |
Nicolas Weeger 2010-03-14 |
| 2477 |
|
| 2478 |
Remove obsolete map fields in header. |
| 2479 |
common/map.c |
| 2480 |
Nicolas Weeger 2010-03-14 |
| 2481 |
|
| 2482 |
Basic map browsing. Report archetype use in maps. |
| 2483 |
Modified files: |
| 2484 |
utils/cre/cre.pro CREArchetypePanel.cpp CREMainWindow.{cpp,h} |
| 2485 |
New files: |
| 2486 |
utils/cre/CREMapInformationManager.{cpp,h} CREMapInformation.{cpp,h} |
| 2487 |
Nicolas Weeger 2010-03-14 |
| 2488 |
|
| 2489 |
Sort alphabetically by default. |
| 2490 |
utils/cre/CREAnimationPanel.cpp CREArchetypePanel.cpp CREResourcesWindow.cpp |
| 2491 |
Nicolas Weeger 2010-03-14 |
| 2492 |
|
| 2493 |
Display archetype use in other_arch and treasure lists. |
| 2494 |
utils/cre/CREArchetypePanel.{cpp,h} |
| 2495 |
Nicolas Weeger 2010-03-14 |
| 2496 |
|
| 2497 |
Rename field 'class' to 'character_class' because that's a reserved C++ |
| 2498 |
keyword and thus conflicts for CRE building. |
| 2499 |
Nicolas Weeger 2010-03-14 |
| 2500 |
|
| 2501 |
Update account handling - add character specific handling for the accounts, |
| 2502 |
add test case, and add some missing svn keywords. Still some more |
| 2503 |
work to be done here |
| 2504 |
--- |
| 2505 |
doc/Developers/protocol: Clean up formatting some. |
| 2506 |
include/Makefile.am: Add new file |
| 2507 |
include/account_char.h: New file for account information |
| 2508 |
include/global.h: Include account_char.h |
| 2509 |
include/newserver.h: Add references to account information to socket |
| 2510 |
include/sproto.h: Add function prototypes |
| 2511 |
socket/init.c: And initialization & cleanup for account info in socket |
| 2512 |
server/Makefile.am: Add new file |
| 2513 |
server/account.c: Add creation time to account record |
| 2514 |
server/account_char.c: New file - character management |
| 2515 |
server/login.c: Add code to update character info in socket. |
| 2516 |
server/server.c: Add periodic saving of account information. |
| 2517 |
test/unit/server/Makefile.am: Update for new file |
| 2518 |
test/unit/server/check_account_char.c: New file - test for character |
| 2519 |
management |
| 2520 |
MSW 2010-03-14 |
| 2521 |
|
| 2522 |
Enable sacrificed items on altars and such to be alive, if asked for. |
| 2523 |
server/common/button.c |
| 2524 |
Nicolas Weeger 2010-03-13 |
| 2525 |
|
| 2526 |
Fix some object_free_drop_inventory() to object_free2(). |
| 2527 |
server/apply.c c_wiz.c login.c plugins.c server.c skills.c spell_effect.c |
| 2528 |
Nicolas Weeger 2010-03-13 |
| 2529 |
|
| 2530 |
Do not send negative area for empty magicmap responses. |
| 2531 |
Andreas Kirschbaum 2010-03-12 |
| 2532 |
|
| 2533 |
Do not run EVENT_DESTROY plugin events for merged objects. |
| 2534 |
Andreas Kirschbaum 2010-03-08 |
| 2535 |
|
| 2536 |
Properly free inventory of merged objects. |
| 2537 |
Andreas Kirschbaum 2010-03-08 |
| 2538 |
|
| 2539 |
Rename object_free() to object_free_drop_inventory() to hint about |
| 2540 |
possible side-effects. |
| 2541 |
Andreas Kirschbaum 2010-03-08 |
| 2542 |
|
| 2543 |
Properly distinguish between text and binary files. |
| 2544 |
Andreas Kirschbaum 2010-03-07 |
| 2545 |
|
| 2546 |
Correctly reset los when mapsize changes. |
| 2547 |
socket/request.c |
| 2548 |
Nicolas Weeger 2010-03-07 |
| 2549 |
|
| 2550 |
Load regions before trying to load the initial map. |
| 2551 |
common/init.c |
| 2552 |
Nicolas Weeger 2010-03-07 |
| 2553 |
|
| 2554 |
Fix crash when plugin removed dropped item. |
| 2555 |
server/c_object.c |
| 2556 |
Nicolas Weeger 2010-03-07 |
| 2557 |
|
| 2558 |
Misc Win32 fixes. |
| 2559 |
Nicolas Weeger 2010-03-06 |
| 2560 |
|
| 2561 |
Fix possible segmentation fault when shutting down the server. |
| 2562 |
Andreas Kirschbaum 2010-03-04 |
| 2563 |
|
| 2564 |
Don't call server functions directly from plugins. |
| 2565 |
Nicolas Weeger 2010-02-28 |
| 2566 |
|
| 2567 |
Make object_dump() and get_ob_diff() use const object*. |
| 2568 |
Nicolas Weeger 2010-02-28 |
| 2569 |
|
| 2570 |
CRE: display archetype information. |
| 2571 |
Nicolas Weeger 2010-02-28 |
| 2572 |
|
| 2573 |
CRE: try the object name if archetype isn't found for artifact display. |
| 2574 |
Nicolas Weeger 2010-02-28 |
| 2575 |
|
| 2576 |
CRE: display 'yes' and 'no' sub lists. |
| 2577 |
Nicolas Weeger 2010-02-28 |
| 2578 |
|
| 2579 |
Only consider items of the right knowledge type, to avoid dumb crashes. |
| 2580 |
Nicolas Weeger 2010-02-28 |
| 2581 |
|
| 2582 |
Correctly handle NONE subtreasure list in treasure list. |
| 2583 |
Nicolas Weeger 2010-02-28 |
| 2584 |
|
| 2585 |
Simplify code. |
| 2586 |
Nicolas Weeger 2010-02-28 |
| 2587 |
|
| 2588 |
Extract 'remove_depletion' function from potion. Give access to plugins to it, |
| 2589 |
add to Python wrappers. |
| 2590 |
Nicolas Weeger 2010-02-28 |
| 2591 |
|
| 2592 |
Use ARCH_DEPLETION instead of hardcoding the value. |
| 2593 |
Nicolas Weeger 2010-02-28 |
| 2594 |
|
| 2595 |
Rewrite spellpath_msg() to use stringbuffer. |
| 2596 |
Nicolas Weeger 2010-02-13 |
| 2597 |
|
| 2598 |
Fix memory leak. |
| 2599 |
Nicolas Weeger 2010-02-13 |
| 2600 |
|
| 2601 |
Rewrite artifact_msg() to use stringbuffer, not complete. |
| 2602 |
Nicolas Weeger 2010-02-13 |
| 2603 |
|
| 2604 |
Fix stupid infinite loop. |
| 2605 |
Nicolas Weeger 2010-02-13 |
| 2606 |
|
| 2607 |
Track god-information knowledge. |
| 2608 |
Nicolas Weeger 2010-02-07 |
| 2609 |
|
| 2610 |
Extract describe_god() from god_info_msg(), use StringBuffer. |
| 2611 |
Nicolas Weeger 2010-02-07 |
| 2612 |
|
| 2613 |
Make artifact description more random (for items it can apply to), |
| 2614 |
correctly handle forbidden items. |
| 2615 |
Nicolas Weeger 2010-02-07 |
| 2616 |
|
| 2617 |
Fix artifact description to use item's name, not archetype name. |
| 2618 |
Nicolas Weeger 2010-02-07 |
| 2619 |
|
| 2620 |
Keep track of monster knowledge. |
| 2621 |
Nicolas Weeger 2010-02-07 |
| 2622 |
|
| 2623 |
Tweak knowledge functions, preparing for additional items. |
| 2624 |
Nicolas Weeger 2010-02-07 |
| 2625 |
|
| 2626 |
Remove support for lib/treasures file from lib/collect.pl. |
| 2627 |
Andreas Kirschbaum 2010-02-01 |
| 2628 |
|
| 2629 |
Remind player of spell consumption when casting. |
| 2630 |
Nicolas Weeger 2010-01-31 |
| 2631 |
|
| 2632 |
Extend alchemy to describe item combinations/transformations. |
| 2633 |
Nicolas Weeger 2010-01-31 |
| 2634 |
|
| 2635 |
Ensure formulae with 0 chance are never listed. |
| 2636 |
Nicolas Weeger 2010-01-31 |
| 2637 |
|
| 2638 |
Tighten up string checking for accounts, since they will get used for |
| 2639 |
filenames. Add new checks for these new allowed characters. |
| 2640 |
Files: server/account.c test/unit/server/check_account.c |
| 2641 |
MSW 2010-01-21 |
| 2642 |
|
| 2643 |
Add 'spellmon 2' setup option, to send more spell information. |
| 2644 |
This includes if the spell needs arguments (another spell, ...) |
| 2645 |
and if the spell requires items to be cast. |
| 2646 |
Nicolas Weeger 2010-01-24 |
| 2647 |
|
| 2648 |
Enable spells to consume items to be cast. |
| 2649 |
Nicolas Weeger 2010-01-24 |
| 2650 |
|
| 2651 |
When talked to, NPCs now stay still a few ticks before moving - only if random movement. |
| 2652 |
Nicolas Weeger 2010-01-24 |
| 2653 |
|
| 2654 |
Give access to quest-related functions to the Python plugin. |
| 2655 |
Nicolas Weeger 2010-01-24 |
| 2656 |
|
| 2657 |
Tweak Spike's quest (Darcap) so it can be done again and again. |
| 2658 |
Nicolas Weeger 2010-01-24 |
| 2659 |
|
| 2660 |
Plugin access to 'quest_was_completed' function. |
| 2661 |
Nicolas Weeger 2010-01-24 |
| 2662 |
|
| 2663 |
Track quests already completed once, so we can avoid giving a super reward |
| 2664 |
all the time. |
| 2665 |
Nicolas Weeger 2010-01-24 |
| 2666 |
|
| 2667 |
Revamp quests, use a definition file to factorize things. |
| 2668 |
Nicolas Weeger 2010-01-24 |
| 2669 |
|
| 2670 |
General cleanup related to protocol and documentation. Make many setup |
| 2671 |
options that have been around for a while standard. |
| 2672 |
MSW 2010-01-19 |
| 2673 |
-- |
| 2674 |
doc/Developers/protocol: Clean this up - remove obsolete commands, |
| 2675 |
document protocol commands consistently, stating what type |
| 2676 |
of data the different commands expect. Update for new account |
| 2677 |
based protocol commands (not yet implemented) |
| 2678 |
include/shared/newclient.h: Formatting fixes, add MSG_TYPE_ADMIN_ERROR |
| 2679 |
include/newserver.h: Remove fields from socket structure which are now |
| 2680 |
considered standard. |
| 2681 |
include/sockproto.h: Add print_ext_msg() |
| 2682 |
socket/image.c: Remove code that handles setfacemode |
| 2683 |
socket/info.c: Always use drawextinfo |
| 2684 |
socket/init.c: remove initializations for what are now standard options. |
| 2685 |
socket/loop.c: Remove setfacemode, setsound, toggleextendedinfos, |
| 2686 |
toggleextendedtext protocol commands. |
| 2687 |
socket/request.c: Remove obsolete setup options. Put options that |
| 2688 |
should be removed (but clients are using them as version tests) to |
| 2689 |
end of routine. Remove toggle_extended_infos_cmd() - now default. |
| 2690 |
Remove toggle_extended_text_cmd() - server now uses drawextinfo |
| 2691 |
exclusively. Remove set_sound_cmd(). Update map_newmap_cmd() |
| 2692 |
to assume client supports newmap command. |
| 2693 |
-- |
| 2694 |
|
| 2695 |
Fix various missing return values and warnings in functions. |
| 2696 |
Nicolas Weeger 2010-01-18 |
| 2697 |
|
| 2698 |
Player knowledge management. See server/knowledge.c for more technical information, |
| 2699 |
and doc/knowledge for playing information. |
| 2700 |
Nicolas Weeger 2010-01-18 |
| 2701 |
|
| 2702 |
Fix a crash when using shutdown. |
| 2703 |
Nicolas Weeger 2010-01-17 |
| 2704 |
|
| 2705 |
Implement a quest in Darcap, just to test stuff - no combat, just get items :) |
| 2706 |
Nicolas Weeger 2010-01-17 |
| 2707 |
|
| 2708 |
Low-level quest status handling. |
| 2709 |
Nicolas Weeger 2010-01-17 |
| 2710 |
|
| 2711 |
New property for plugins to get the raw name without any modification. |
| 2712 |
Nicolas Weeger 2010-01-17 |
| 2713 |
|
| 2714 |
Invalidate parsed dialog when setting the message through a plugin. |
| 2715 |
Nicolas Weeger 2010-01-17 |
| 2716 |
|
| 2717 |
Add 'min_level' for alchemy formulae. |
| 2718 |
Nicolas Weeger 2010-01-16 |
| 2719 |
|
| 2720 |
Failing at mushroom of Gourmet only yields ashes instead of some |
| 2721 |
random nasty effect. |
| 2722 |
Nicolas Weeger 2010-01-16 |
| 2723 |
|
| 2724 |
Remind player when doing alchemy in wizard mode. |
| 2725 |
Nicolas Weeger 2010-01-16 |
| 2726 |
|
| 2727 |
Add 'failure_arch' and 'failure_message' to formulas, to have specific |
| 2728 |
archetypes be generated in case of failure instead of a random effect. |
| 2729 |
Nicolas Weeger 2010-01-16 |
| 2730 |
|
| 2731 |
Punishment for players selling holy relics from the St Andreas church. |
| 2732 |
Nicolas Weeger 2010-01-09 |
| 2733 |
|
| 2734 |
New object event for plugins: selling (object is being sold by activator). |
| 2735 |
Nicolas Weeger 2010-01-09 |
| 2736 |
|
| 2737 |
Plugin utility function cf_map_insert_object_around(). |
| 2738 |
Nicolas Weeger 2010-01-09 |
| 2739 |
|
| 2740 |
The Darcap church is now a sacred place, don't kill ghosts there! |
| 2741 |
Nicolas Weeger 2010-01-09 |
| 2742 |
|
| 2743 |
Give the price in coins instead of platinum only. |
| 2744 |
Nicolas Weeger 2010-01-09 |
| 2745 |
|
| 2746 |
Export query_cost_string and cost_string_from_value to plugins. |
| 2747 |
Nicolas Weeger 2010-01-09 |
| 2748 |
|
| 2749 |
Add account handling code. This is work in progress - the checked in |
| 2750 |
piece is the backend piece. Protocol updates and client interface are |
| 2751 |
next steps to do. As part of this, split_string() was modified to take |
| 2752 |
as an argument the seperator - this is useful because the account code |
| 2753 |
stores the player names in a semicolon separated list. |
| 2754 |
MSW 2010-01-07 |
| 2755 |
--- |
| 2756 |
common/image.c: Update call to split_string() |
| 2757 |
common/utils.c: Modify split_string() to take as an argument the seperator - |
| 2758 |
this makes it more useful/general purpose. |
| 2759 |
include/libproto.h: Update split_string() prototype |
| 2760 |
include/sproto.h: Add prototypes for account.c |
| 2761 |
server/Makefile.am: Add account.c |
| 2762 |
server/hiscore.c: Update call to split_string() |
| 2763 |
server/swap.c: Update call to split_string() |
| 2764 |
test/unit/server/Makefile.am: Add check_account test. |
| 2765 |
test/unit/server/check_account.c: functional tests for account code. |
| 2766 |
test/unit/common/check_utils.c: Update split_string() call |
| 2767 |
|
| 2768 |
|
| 2769 |
First version of a Darcap handling plugin. For now handles the barman |
| 2770 |
in the tavern. |
| 2771 |
Nicolas Weeger 2009-12-28 |
| 2772 |
|
| 2773 |
Correctly make monster face its direction when using move_to. |
| 2774 |
Nicolas Weeger 2009-12-12 |
| 2775 |
|
| 2776 |
Fix monster_compute_path. |
| 2777 |
Nicolas Weeger 2009-12-12 |
| 2778 |
|
| 2779 |
Pass an empty string rather than NULL to command_function if no parameters |
| 2780 |
are given. |
| 2781 |
Andreas Kirschbaum 2009-12-20 |
| 2782 |
|
| 2783 |
server/c_misc.c: Fix overflow in showing how much time character has been |
| 2784 |
played - use 64 bit interim values. |
| 2785 |
MSW 2009-12-12 |
| 2786 |
|
| 2787 |
Prevent DMs from using 'quit', else they aren't actually deleted. |
| 2788 |
Nicolas Weeger 2009-12-12 |
| 2789 |
|
| 2790 |
Try to fix disappearing dragon abilities when converting to a god. |
| 2791 |
Nicolas Weeger 2009-12-12 |
| 2792 |
|
| 2793 |
Track how many ticks the character has been played. Piece of information |
| 2794 |
tracking easy to add in. Output is shown in the statistics command. |
| 2795 |
MSW 2009-12-07 |
| 2796 |
|
| 2797 |
Send 'pickup' update to clients requesting it when the player |
| 2798 |
uses the 'pickup' command directly. |
| 2799 |
Nicolas Weeger 2009-12-06 |
| 2800 |
|
| 2801 |
Honore the 'NO_PICK' flag for generated BOOKS even if empty. |
| 2802 |
Nicolas Weeger 2009-12-05 |
| 2803 |
|
| 2804 |
test/unit/common/check_time.c: Remove apparent debugging output which doesn't |
| 2805 |
really belong. |
| 2806 |
MSW 2009-12-01 |
| 2807 |
|
| 2808 |
Fix some crashes on malformed input in alchemy loading code. |
| 2809 |
Arvid Norlander 2009-11-29 |
| 2810 |
|
| 2811 |
Fix potential NULL dereference in poisoning code in server/attack.c. |
| 2812 |
Arvid Norlander 2009-11-28 |
| 2813 |
|
| 2814 |
Implement proper error handling on malformed regions file. Also added a |
| 2815 |
new fatal() message to refer to the last error (used in region parsing, |
| 2816 |
will be used elsewhere soon too). |
| 2817 |
Arvid Norlander 2009-11-28 |
| 2818 |
|
| 2819 |
Fix a potential NULL dereference due to passing a potential NULL pointer to |
| 2820 |
qsort(). |
| 2821 |
Arvid Norlander 2009-11-28 |
| 2822 |
|
| 2823 |
Fix uninitialised value on a empty attackmess file. The issue should never |
| 2824 |
happen in practice however. |
| 2825 |
Arvid Norlander 2009-11-28 |
| 2826 |
|
| 2827 |
Fix some dead initialisations (value assigned never used). |
| 2828 |
Arvid Norlander 2009-11-28 |
| 2829 |
|
| 2830 |
We already used the generic autoconf INSTALL. Update it to a newer version |
| 2831 |
(autoreconf automatically updated it). |
| 2832 |
Arvid Norlander 2009-11-28 |
| 2833 |
|
| 2834 |
Add missing prototype to include/sproto.h |
| 2835 |
Arvid Norlander 2009-11-28 |
| 2836 |
|
| 2837 |
Add correct text to highscore table for players disconnecting from the |
| 2838 |
game. |
| 2839 |
Andreas Kirschbaum 2009-11-22 |
| 2840 |
|
| 2841 |
Make utils/cre actually build and link. |
| 2842 |
Nicolas Weeger 2009-11-16 |
| 2843 |
|
| 2844 |
Not finding an archetype in second_arch_pass indicates a mistake in |
| 2845 |
archetypes file, so it's better to just exit so it gets fixed instead |
| 2846 |
of leading to issues later on. |
| 2847 |
Nicolas Weeger 2009-11-16 |
| 2848 |
|
| 2849 |
Rewrite hiscore.c module. Now the highscore file is read once when the |
| 2850 |
server is started and written whenever it changes. Adding new entries and |
| 2851 |
generating output for the 'hiscore command do not anymore read the |
| 2852 |
highscore file from disk. |
| 2853 |
Andreas Kirschbaum 2009-11-15 |
| 2854 |
|
| 2855 |
Remove support for undefined translations 'nl', 'de', and 'it'. Removes |
| 2856 |
some error messages at startup. |
| 2857 |
Andreas Kirschbaum 2009-11-14 |
| 2858 |
|
| 2859 |
Remove 'explore' mode. |
| 2860 |
Andreas Kirschbaum 2009-11-14 |
| 2861 |
|
| 2862 |
Fix formatting of 'hiscore' command output. |
| 2863 |
Andreas Kirschbaum 2009-11-13 |
| 2864 |
|
| 2865 |
Omit objects below the floor from the ground view. |
| 2866 |
Andreas Kirschbaum 2009-10-29 |
| 2867 |
|
| 2868 |
Fix exit location for the goto command in server/c_wiz.c (was broken when exit |
| 2869 |
coordinates recently changed so that (-1,-1) meant default coordinates). |
| 2870 |
Arvid Norlander 2009-10-29 |
| 2871 |
|
| 2872 |
Disable [Debug] messages by default. Use the -d command-line option to |
| 2873 |
enable debug messages. |
| 2874 |
Andreas Kirschbaum 2009-10-25 |
| 2875 |
|
| 2876 |
Fix incorrect error message for throwing skill when no throwable object |
| 2877 |
was found. |
| 2878 |
Andreas Kirschbaum 2009-10-25 |
| 2879 |
|
| 2880 |
Fix checks for incorrect/missing parameters of 'abil' command. |
| 2881 |
Andreas Kirschbaum 2009-10-25 |
| 2882 |
|
| 2883 |
Adapt regression test to changed spell parameters (r12127). |
| 2884 |
Andreas Kirschbaum 2009-10-24 |
| 2885 |
|
| 2886 |
Fix #2879249 (SIGSEGV on transport moving across some edges of tiled maps). |
| 2887 |
Andreas Kirschbaum 2009-10-23 |
| 2888 |
|
| 2889 |
Change exits pointing to new map's default coordinates from (0,0) to |
| 2890 |
(-1,-1). This allows exits to point to (0,0). |
| 2891 |
Andreas Kirschbaum 2009-10-23 |
| 2892 |
|
| 2893 |
The hiscore command requests 50 high scores, but for some reason the command |
| 2894 |
that outputs the scores arbitrarily returns only 49. Removed a needless |
| 2895 |
decrement of the max parameter. Now the command returns 50. |
| 2896 |
Kevin Bulgrien 2009-08-31 |
| 2897 |
|
| 2898 |
Remove i18n strings and help files that used to support the output-sync and |
| 2899 |
output-count functionality. |
| 2900 |
Kevin Bulgrien 2009-08-31 |
| 2901 |
|
| 2902 |
Remove output-count and output-sync from the server. Remove the output buffer |
| 2903 |
defines and declarations, along with the outputs_sync and outputs_count items. |
| 2904 |
Remove now unused flush_output_element(), check_output_buffers(), various |
| 2905 |
comments, calls to removed functions, output-sync and output-count command |
| 2906 |
support, player struct outputs_sync and outputs_count members. This mod does |
| 2907 |
attempt to preserve player file compatibility with older server versions by |
| 2908 |
always saving legacy defaults to the player file outputs_sync and count |
| 2909 |
parameters. Re-ran make cproto to add missing items fix brokenness in the |
| 2910 |
proto files. NOTE: References to I18N_MSG_CMISC_099, 100, 101, 102, 103, and |
| 2911 |
104 were removed, but the messages themselves were not removed and no attempt |
| 2912 |
was made to see if other references still exist. |
| 2913 |
Kevin Bulgrien 2009-08-13 |
| 2914 |
|
| 2915 |
Fix bug 2835449 pickup is broken by changing server/login.c check_login() to |
| 2916 |
read the pickup value saved in the player file as an unsigned value instead |
| 2917 |
of as a signed value. Unfortunately corrupted player files still have the |
| 2918 |
debug bit set, and this fix does not address that issue. To fix the player |
| 2919 |
file, zero out the pickup value, or adjust the value to turn off the debug |
| 2920 |
bit. |
| 2921 |
Kevin Bulgrien 2009-08-11 |
| 2922 |
|
| 2923 |
Fix regression introduced at revision 12136 by commenting an uncommented line |
| 2924 |
in experience table D (Table C is supposed to be used). Reported by MarkM / |
| 2925 |
knotwork. Causes server start failure [Error] Experience for level 116 is |
| 2926 |
lower than previous level (0 <= 67200000000). |
| 2927 |
Kevin Bulgrien 2009-08-10 |
| 2928 |
|
| 2929 |
Set perm XP to 50 and select experience table C to match the metalforge server |
| 2930 |
configuration. |
| 2931 |
Meflin 2009-08-08 |
| 2932 |
|
| 2933 |
Fix for tracker #2825935 `cast consecrate` regression introduced at revision |
| 2934 |
11827, Sat Jun 13 2009 in server/spell_effect.c that resulted in "You are |
| 2935 |
not standing over an altar!" even when standing on an altar. The regression |
| 2936 |
caused the altar check to iterate over character inventory instead of |
| 2937 |
objects below the character. Various spelling issues also corrected. |
| 2938 |
Kevin Bulgrien 2009-08-03 |
| 2939 |
|
| 2940 |
Fix whitespace issue with an attack message "viciously strikes". |
| 2941 |
Kevin Bulgrien 2009-08-01 |
| 2942 |
|
| 2943 |
Disembark transport when using dimension door from inside. |
| 2944 |
Andreas Kirschbaum 2009-07-14 |
| 2945 |
|
| 2946 |
Fix some grammar in server/login.c. |
| 2947 |
Kevin Bulgrien 2009-07-11 |
| 2948 |
|
| 2949 |
Fix some crashes observed on invidious due to access to uninitialized |
| 2950 |
variables. |
| 2951 |
Andreas Kirschbaum 2009-07-11 |
| 2952 |
|
| 2953 |
Fix player save file parser. Now usekeys and applymode settings are |
| 2954 |
retained between logins. Fixes #2819301 (usekeys setting no longer |
| 2955 |
persists across logout.) |
| 2956 |
Andreas Kirschbaum 2009-07-10 |
| 2957 |
|
| 2958 |
Fix some memory leaks when updating object->msg. |
| 2959 |
Andreas Kirschbaum 2009-07-09 |
| 2960 |
|
| 2961 |
Fix for bug 2.0 wraith feed auto-ready bug? - ID: 1989153 - unarmed skill |
| 2962 |
selection is hardcoded. Add a command - 'unarmed_skill' in which player |
| 2963 |
can specify what unarmed skill to use by default instead of the server using |
| 2964 |
its built in defaults. |
| 2965 |
--- |
| 2966 |
common/player.c: clear unarmed_skill field in clear_player() |
| 2967 |
include/sproto.h: Add definition for command_unarmed_skill() |
| 2968 |
include/player.h: add unarmed_skill field to player structure. |
| 2969 |
lib/Makefile.am,lib/help/unarmed_skill.en : Add help file for unarmed_skill |
| 2970 |
server/c_misc.c: Add command_unarmed_skill() to set/get preferred unarmed |
| 2971 |
skill. |
| 2972 |
server/commands.c: Add unarmed_skill to command listing. |
| 2973 |
server/login.c: Add code to load/save unarmed_skill value. Since there |
| 2974 |
are several saved/loaded string values, pull processing of that out |
| 2975 |
and make the string value available to all values. Updated some of |
| 2976 |
the other users in the login function. |
| 2977 |
server/player.c: Set unarmed_skill to NULL for new players. |
| 2978 |
server/skill_util.c: Modify find_best_player_hth_skill() to look at |
| 2979 |
unarmed_skill if set. |
| 2980 |
MSW 2009-07-02 |
| 2981 |
|
| 2982 |
Fix bolt spells: do not hit caster. Do not allow casting into walls. |
| 2983 |
Andreas Kirschbaum 2009-06-29 |
| 2984 |
|
| 2985 |
Fix trajectory of thrown objects. Formerly some objects did speed up again |
| 2986 |
after they should have fallen to the ground. |
| 2987 |
Andreas Kirschbaum 2009-06-24 |
| 2988 |
|
| 2989 |
Fix incorrect player counts in /maps command output for logged out players. |
| 2990 |
Andreas Kirschbaum 2009-06-24 |
| 2991 |
|
| 2992 |
Fix alchemy failure effect: now the cauldron actually explodes. |
| 2993 |
Andreas Kirschbaum 2009-06-24 |
| 2994 |
|
| 2995 |
Add help file for "chat" command. |
| 2996 |
Andreas Kirschbaum 2009-06-24 |
| 2997 |
|
| 2998 |
Fix monster movement code. Now multi-tiled monsters are much smarter |
| 2999 |
attacking the player. |
| 3000 |
Andreas Kirschbaum 2009-06-24 |
| 3001 |
|
| 3002 |
Fix monster movement code. Now monsters opening door and/or destroying |
| 3003 |
earthwalls works. Makes multi-tiled monsters more agile. |
| 3004 |
Andreas Kirschbaum 2009-06-24 |
| 3005 |
|
| 3006 |
Make monsters hit doors with attack damage rather than fixed 1000 damage. |
| 3007 |
Andreas Kirschbaum 2009-06-24 |
| 3008 |
|
| 3009 |
Make bullet swarm spells fire three tiles wide. |
| 3010 |
Andreas Kirschbaum 2009-06-23 |
| 3011 |
|
| 3012 |
Change movement of ball spells. |
| 3013 |
Andreas Kirschbaum 2009-06-22 |
| 3014 |
|
| 3015 |
Make missile and ball spells hit targets adjacent to the caster. Formerly the |
| 3016 |
spell did start one tile away. |
| 3017 |
Andreas Kirschbaum 2009-06-22 |
| 3018 |
|
| 3019 |
Limit missile spells to turn at most one direction per turn. |
| 3020 |
Andreas Kirschbaum 2009-06-22 |
| 3021 |
|
| 3022 |
Make missile and ball spells target a random part for multi-tiled objects. |
| 3023 |
Andreas Kirschbaum 2009-06-22 |
| 3024 |
|
| 3025 |
Fix array out-of-bounds accesses for monsters having stats > 30. Makes |
| 3026 |
trolls pick up boulders. |
| 3027 |
Andreas Kirschbaum 2009-06-22 |
| 3028 |
|
| 3029 |
Do not teleport character to savebed when re-logging in in a random map. |
| 3030 |
Andreas Kirschbaum 2009-06-21 |
| 3031 |
|
| 3032 |
Make monsters take the shortest route to the player. |
| 3033 |
Andreas Kirschbaum 2009-06-20 |
| 3034 |
|
| 3035 |
Suppress error messages about non-existing items for "apply -a" on already |
| 3036 |
applied items or "apply -u" un unapplied items. |
| 3037 |
Andreas Kirschbaum 2009-06-20 |
| 3038 |
|
| 3039 |
Make singing and oratory skills work against multi-tiled monsters. |
| 3040 |
Andreas Kirschbaum 2009-06-20 |
| 3041 |
|
| 3042 |
Retain unaggressive flag for splitting monsters. |
| 3043 |
Andreas Kirschbaum 2009-06-19 |
| 3044 |
|
| 3045 |
Prevent black puddings from jumping over walls. |
| 3046 |
Andreas Kirschbaum 2009-06-19 |
| 3047 |
|
| 3048 |
Insert dropped objects below the player. |
| 3049 |
Andreas Kirschbaum 2009-06-18 |
| 3050 |
|
| 3051 |
Allow monsters to pick up "throwable" items as weapons. |
| 3052 |
Andreas Kirschbaum 2009-06-18 |
| 3053 |
|
| 3054 |
Change weight check for monsters in object_get_pick(): replace |
| 3055 |
"item_weight <= picker_weight/3" with |
| 3056 |
"total_picker_weight does not exceed get_weight_limit(picker)". This allows |
| 3057 |
hill giants to pick up boulders and prevents vampires from carrying unlimited |
| 3058 |
weight. |
| 3059 |
Andreas Kirschbaum 2009-06-17 |
| 3060 |
|
| 3061 |
Allow monsters to apply items even if they do not know the needed skill. |
| 3062 |
Requiring the appropriate can_xxx flag is good enough. |
| 3063 |
Andreas Kirschbaum 2009-06-17 |
| 3064 |
|
| 3065 |
Add shopitems type 'none' matching items with 'type 0'. Prevents some error |
| 3066 |
messages in the server log. |
| 3067 |
Andreas Kirschbaum 2009-06-17 |
| 3068 |
|
| 3069 |
Fix monsters applying items generated from treasure lists: do not apply items |
| 3070 |
before all treasures have been created. Without this fix applying of weapons |
| 3071 |
did sometimes fail because the needed skill was generated after the weapon. |
| 3072 |
Andreas Kirschbaum 2009-06-17 |
| 3073 |
|
| 3074 |
Include "hostile" attribute in (pk) messages. |
| 3075 |
Andreas Kirschbaum 2009-06-16 |
| 3076 |
|
| 3077 |
Fix owner check ("The weapon does not recognize you as its owner.") for bows |
| 3078 |
and character names which are a prefix of the owner's name. |
| 3079 |
Andreas Kirschbaum 2009-06-16 |
| 3080 |
|
| 3081 |
Fix incorrect experience calculation when disarming traps/runes as |
| 3082 |
reported by Alex Tokar. |
| 3083 |
Andreas Kirschbaum 2009-06-14 |
| 3084 |
|
| 3085 |
Move party related code into party.c module. Fix PARTY_KILL_LOG compile-time |
| 3086 |
option. Reliably print party join/leave messages. Properly leave the party |
| 3087 |
when the client connection breaks or when the character logs out. Properly |
| 3088 |
clean up empty parties. |
| 3089 |
Andreas Kirschbaum 2009-06-14 |
| 3090 |
|
| 3091 |
Add command parameter validation as reported by Alex Tokar. |
| 3092 |
Andreas Kirschbaum 2009-06-14 |
| 3093 |
|
| 3094 |
Extract code accessing or manipulating the player's title into player.c |
| 3095 |
module. Fixes #2017797 (Multiple 'the' displayed in hiscore output). Needs |
| 3096 |
update to existing 'settings' files: remove all occurrences of "%T" from |
| 3097 |
who_format and who_wiz_format. |
| 3098 |
Andreas Kirschbaum 2009-06-14 |
| 3099 |
|
| 3100 |
Do not switch a monster's enemy at each attack. This allows pets to |
| 3101 |
concentrate on one enemy when being attacked by multiple enemies. |
| 3102 |
Do not change monster's enemy from pet to player whenever the player's pet |
| 3103 |
attacks the monster. |
| 3104 |
Make pets using ranged weapons work correctly on tiled maps. |
| 3105 |
Make pets using skills work correctly on tiled maps. |
| 3106 |
Make pet movement work correctly on tiled maps. |
| 3107 |
Andreas Kirschbaum 2009-06-14 |
| 3108 |
|
| 3109 |
Rewrite loops iterating over inv/env/below/above object lists with macros |
| 3110 |
that are not affected by objects being modified/removed/freed within the |
| 3111 |
loop. |
| 3112 |
Andreas Kirschbaum 2009-06-13 |
| 3113 |
|
| 3114 |
Apply patch by Dany Talbot fixing #1990214 (2.0 godenchant bug?). |
| 3115 |
Andreas Kirschbaum 2009-06-10 |
| 3116 |
|
| 3117 |
Fix #1961814 (scripting failing to drop items). Also fixes "drop 1 cauldron" |
| 3118 |
command. |
| 3119 |
Andreas Kirschbaum 2009-06-10 |
| 3120 |
|
| 3121 |
Fix rod generation: make sure it can hold enough spell points. Now all light |
| 3122 |
rods get spell points for 3 changes, heavy rods for 6 charges. |
| 3123 |
Andreas Kirschbaum 2009-06-10 |
| 3124 |
|
| 3125 |
Merge HORNs (type 35) into RODs (type 3). |
| 3126 |
Andreas Kirschbaum 2009-06-10 |
| 3127 |
|
| 3128 |
Fix monsters not using wands/staffs/rods. |
| 3129 |
Andreas Kirschbaum 2009-06-09 |
| 3130 |
|
| 3131 |
Remove support for obsolete attributes can_use_rod, can_use_wand, and |
| 3132 |
can_use_horn. These attributes have been read/written from/to map files but |
| 3133 |
not used for anything. |
| 3134 |
Andreas Kirschbaum 2009-06-09 |
| 3135 |
|
| 3136 |
include/shared: Add as a non-external directory. |
| 3137 |
include/shared/newclient.h: Added client/trunk/common/shared/newclient.h |
| 3138 |
revision 11674 to transfer control of newclient.h from client area to |
| 3139 |
server area. |
| 3140 |
include/shared/README: Add a file with a brief note stating that the client |
| 3141 |
references the files in this directory using an SVN external property. |
| 3142 |
Kevin Bulgrien 2009-05-09 |
| 3143 |
|
| 3144 |
include: After advice of Ragnor against svn:externals without -r, deleted the |
| 3145 |
svn:externals pointing to client/trunk/common/shared, after also coming to |
| 3146 |
the conclusion that this needs to be controlled in server vs. client so that |
| 3147 |
any client software base that wants to use this file can specify the version |
| 3148 |
of the file they want instead of the server having to pick one from |
| 3149 |
somewhere else. |
| 3150 |
Kevin Bulgrien 2009-05-09 |
| 3151 |
|
| 3152 |
include: Added svn:externals pointing to client/trunk/common/shared |
| 3153 |
include/includes.h |
| 3154 |
include/Makefile.am |
| 3155 |
include/newclient.h: Removed. Duplicate file. |
| 3156 |
socket/item.c |
| 3157 |
socket/image.c |
| 3158 |
socket/request.c |
| 3159 |
socket/lowlevel.c |
| 3160 |
server/c_range.c |
| 3161 |
server/shop.c |
| 3162 |
server/player.c: changed references of newclient.h to shared/newclient.h. |
| 3163 |
Kevin Bulgrien 2009-05-09 |
| 3164 |
|
| 3165 |
server/c_object.c: Fix crash when picking up some flying objects. |
| 3166 |
Andreas Kirschbaum 2009-04-20 |
| 3167 |
|
| 3168 |
Fix for bug 2281692 - CFDialog conversation NPC answer precedes PC speech. |
| 3169 |
server/monster.c: ext_info_map() wasn't called until after the event logic. |
| 3170 |
Instead, for players, we can draw it immediately - we only need to perhaps do |
| 3171 |
something special for monsters. In this way, conversation is in the correct |
| 3172 |
order. |
| 3173 |
MSW 2009-04-14 |
| 3174 |
|
| 3175 |
Apply #2753395 (help file for the wimpy command). |
| 3176 |
Andreas Kirschbaum 2009-04-11 |
| 3177 |
|
| 3178 |
Fix for bug 2602566 - Players can nest containers. pick_up() has largely |
| 3179 |
same functionality, but lots of changes to remove the series of gotos and |
| 3180 |
generally just clean it up. |
| 3181 |
server/c_object.c: Clean up function pick_up(). Modify put_object_in_sack() |
| 3182 |
to not allow containers to be put in containers. |
| 3183 |
MSW 2009-04-07 |
| 3184 |
|
| 3185 |
Fix for bug include/autoconf.h.in - customize stack of weapons bug. |
| 3186 |
This commit also fixes some other things, like update name not getting |
| 3187 |
sent to the client when doing the prepare. |
| 3188 |
types/weapon_improver/weapon_improver.c: All changes in prepare_weapon(): |
| 3189 |
Split stack of weapons so other items don't disappear. Move the |
| 3190 |
draw_info() call after updating the weapon name, so it uses new |
| 3191 |
weapon name. Add call to esrv_update_item() to update the name |
| 3192 |
of the weapon. |
| 3193 |
MSW 2009-04-05 |
| 3194 |
|
| 3195 |
common/friend.c, common/exp.c, common/button.c, common/object.c, common/utils.c: |
| 3196 |
Fix some bad format strings for LOG(). |
| 3197 |
Arvid Norlander 2009-03-04 |
| 3198 |
|
| 3199 |
common/map.c: Based on profiling of charm monster on a large map with Chinese |
| 3200 |
dragons, optimise get_map_flags() a bit by avoiding a call to out_of_map(), |
| 3201 |
get_map_from_coord() performs the needed checks and we need to call it anyway. |
| 3202 |
Also fix typos in the documentation for get_map_from_coord(). |
| 3203 |
Arvid Norlander 2009-03-03 |
| 3204 |
|
| 3205 |
server/attack.c: Fix crash bug introduced in r11584 (Fix for bug 1922771: xp non |
| 3206 |
zero in meditation). Bug triggered by charming chinese dragons. |
| 3207 |
Arvid Norlander 2009-03-03 |
| 3208 |
|
| 3209 |
Work in progress skill rebalance code. This should not affect play in any |
| 3210 |
way - while it introduces some new skills, those skills are not available |
| 3211 |
right now (players need to choose class that doesn't exist). |
| 3212 |
--- |
| 3213 |
doc/Developers/spells: Fix some typos, add info on elemental shield. |
| 3214 |
include/skills.h: Add new magic skills. Update defines related to that. |
| 3215 |
Change terminator of unarmed_skills[] to 0, so type is defined as |
| 3216 |
unsigned so -1 doesn't work. |
| 3217 |
include/spells.h: Add new spell type - elemental shield. |
| 3218 |
server/player.c: Don't remove spell objects from new characters - this |
| 3219 |
makes it possible to give starting characters set of spells. |
| 3220 |
This shouldn't make any difference - if characters have spells they |
| 3221 |
shouldn't, this suggests an issue with treasurelists. |
| 3222 |
server/skill_util.c: Modify find_skill_by_name() to take comma separated |
| 3223 |
list of skill names. This is used for common spells to all spell |
| 3224 |
casting skills (something like detect magic) - don't want 4 versions |
| 3225 |
of it, and don't want to require character to know a particular |
| 3226 |
skill for something basic. Also add handling for new skills. |
| 3227 |
server/skills.c: Add note about problems of raising monsters Wis on |
| 3228 |
failed steal attempt. No actual code change. |
| 3229 |
server/spell_effect.c: Update for auras that provide resistances. |
| 3230 |
server/spell_util.c: Add handling for elemental shield spell. |
| 3231 |
-- |
| 3232 |
MSW 2009-03-02 |
| 3233 |
|
| 3234 |
Fix for bug 1830750: Buffer overflow with stat depletion via rabies |
| 3235 |
(note it wasn't an actual buffer overflow by integer overflow). Fix was to |
| 3236 |
modify check_stat_bounds() to take parameters for valid range, and add check |
| 3237 |
for it for the disease a well as temporary calculations in fix_object. |
| 3238 |
--- |
| 3239 |
common/living.c: Modify check_stat_bounds() as described above. Update |
| 3240 |
existing calls and add new call in fix_object() |
| 3241 |
include/libproto.h: Update with no prototype. |
| 3242 |
server/disease.c: Update disease function to use get_attr_value/ |
| 3243 |
set_attr_value. Add call to check_stat_bounds to make sure disease |
| 3244 |
stats are within range. |
| 3245 |
server/player.c: Update calls to check_stat_bounds() |
| 3246 |
MSW 2009-03-02 |
| 3247 |
|
| 3248 |
test/toolkit/toolkit_common.c, test/include/toolkit_common.h: Fix a lot of |
| 3249 |
compiler warnings in the unit tests by adding a missing prototype to a header |
| 3250 |
and correcting another prototype. |
| 3251 |
server/c_misc.c: Fix trivially player triggered uninitialised read in the |
| 3252 |
language command. |
| 3253 |
common/object.c: Use "%s" to LOG() when dumping objects instead of passing |
| 3254 |
the dump as format string. Fix some compile warnings about variable shadowing. |
| 3255 |
Arvid Norlander 2009-03-02 |
| 3256 |
|
| 3257 |
common/anim.c: Use "%s" to LOG() when dumping objects instead of passing |
| 3258 |
the dump as format string. |
| 3259 |
common/image.c: Fix LOG() with too formatstring/parameter mismatch. |
| 3260 |
common/init.c: Fix a compiler warning when using MEMORY_DEBUG, fix an |
| 3261 |
uninitialised read if tod data file exists but is invalid (default to sane |
| 3262 |
value instead, as is done if the file doesn't exist at all). |
| 3263 |
common/map.c: Fix a potential uninitialised read. |
| 3264 |
Arvid Norlander 2009-03-02 |
| 3265 |
|
| 3266 |
macros/cf_python.m4: Support Python 3 but prefer Python 2 when possible. This |
| 3267 |
is because Python 3 is still rather experimental. To force building against a |
| 3268 |
specific Python version use --with-python=path where path is replaced with the |
| 3269 |
install prefix for Python. |
| 3270 |
Arvid Norlander 2009-02-27 |
| 3271 |
|
| 3272 |
plugins/cfpython/cjson.c: Add support for Python 3. For Python 3 we always |
| 3273 |
encode to Bytes but can decode both Bytes and Unicode. For decoded strings the |
| 3274 |
default is to use Unicode under Python 3 (and under 2.x we still default to |
| 3275 |
String). |
| 3276 |
plugins/cfpython/cfpython: Support for Python 3. This involves some changes for |
| 3277 |
Python 2.x too in order to make it possible to maintain the code. Some of the |
| 3278 |
Python 3.x specific code for caching bytecode is rather messy and could be |
| 3279 |
probably be improved. The way the constant modules are created has been |
| 3280 |
changed to support both Python 2.x and 3.x (now using PyModule_New()). |
| 3281 |
Arvid Norlander 2009-02-27 |
| 3282 |
|
| 3283 |
server/attack.c: Fix for bug 1922771: xp non zero in meditation. In |
| 3284 |
poison_living(), do some more work to find proper skill to set to credit |
| 3285 |
the exp gain - for players, op->skill doesn't look like it is set, |
| 3286 |
but op->chosen_skill is. |
| 3287 |
MSW 2009-02-26 |
| 3288 |
|
| 3289 |
autogen.sh: Error out if the various programs called aren't successful. This |
| 3290 |
means we can hopefully get the first error in bug reports instead of errors |
| 3291 |
caused by the first error later. |
| 3292 |
Arvid Norlander 2009-02-26 |
| 3293 |
|
| 3294 |
server/attack.c: Fix for bug 2019648: Too high experience gain with draining |
| 3295 |
monsters. Don't add more exp to monsters than the player lost by draining. |
| 3296 |
Record original exp of player before draining and use that as a check in |
| 3297 |
MIN() statement - because from old code, divisor is twice as much as |
| 3298 |
we remove, very likely the old method will be less than actual lost exp. |
| 3299 |
MSW 2009-02-25 |
| 3300 |
|
| 3301 |
server/attack.c: Fix for bug 2021012: Do insane damage in arena - if |
| 3302 |
characters are on battleground, do not reduce damage for them |
| 3303 |
being friendly. |
| 3304 |
MSW 2009-02-24 |
| 3305 |
|
| 3306 |
Fix for bug 1988417 - rebalanced WC bug. |
| 3307 |
common/living.c: Remove unneeded if op->type==PLAYER right after closing |
| 3308 |
brace for same if clause. Move character_load to top of that code |
| 3309 |
block. Fix wc calculation so now if skill_level>=1 and not >1. |
| 3310 |
Fix fallback method to divide characters overall level in calculating |
| 3311 |
wc to give more sane results. Add key/value wc_increase_rate so |
| 3312 |
skills can be better tuned instead of having it hardcoded (it is |
| 3313 |
still hardcoded as a fallback if that isn't set) |
| 3314 |
doc/Developers/skills: Update some notes on values in combat skills, |
| 3315 |
especially the wc_increase_rate. |
| 3316 |
MSW 2009-02-22 |
| 3317 |
|
| 3318 |
plugins/cfpython/cfpython_archetype.c, plugins/cfpython/cfpython_object.c, |
| 3319 |
plugins/cfpython/cfpython_party.c, plugins/cfpython/cfpython_region.c, |
| 3320 |
plugins/cfpython/cfpython_map.c, |
| 3321 |
plugins/cfpython/include/cfpython_object_private.h, |
| 3322 |
plugins/cfpython/include/cfpython_map_private.h, |
| 3323 |
plugins/cfpython/include/cfpython_party_private.h, |
| 3324 |
plugins/cfpython/include/cfpython_region_private.h, |
| 3325 |
plugins/cfpython/include/cfpython_archetype_private.h: Implement the function |
| 3326 |
tp_richcompare, since Python 3.x no longer uses tp_compare. tp_richcompare can |
| 3327 |
also be used on Python 2.x. Also fix broken compare for players since |
| 3328 |
tp_richcompare and tp_compare are not inherited if tp_hash is non-NULL. |
| 3329 |
Also fix type definition head initialisation for Python 3.x. |
| 3330 |
plugins/cfpython/include/cfpython_region_private.h: Fix a typo that resulted in |
| 3331 |
Python showing region type name as Crossfire.Party. |
| 3332 |
plugins/cfpython/cfpython_map.c: Fix several crash bugs related to swapped out |
| 3333 |
maps. |
| 3334 |
Arvid Norlander 2009-02-19 |
| 3335 |
|
| 3336 |
server/c_range.c, server/init.c, server/shop.c, server/login.c, server/c_wiz.c: |
| 3337 |
Fix some format string bugs (found using the GCC format __attribute__ for some |
| 3338 |
crossfire functions). |
| 3339 |
server/c_wiz.c: Add some missing [fixed] to style_info output. |
| 3340 |
Arvid Norlander 2009-02-17 |
| 3341 |
|
| 3342 |
socket/item.c, socket/loop.c, socket/lowlevel.c, socket/metaserver.c: Fix some |
| 3343 |
format string bugs (found using the GCC format __attribute__ for some |
| 3344 |
crossfire functions). |
| 3345 |
Arvid Norlander 2009-02-17 |
| 3346 |
|
| 3347 |
common/map.c: Make a function static. |
| 3348 |
common/loader.l, common/object.c, common/readable.c: Fix some format string bugs |
| 3349 |
(found using the GCC format __attribute__ for some crossfire functions). |
| 3350 |
Arvid Norlander 2009-02-17 |
| 3351 |
|
| 3352 |
common/map.c: Properly fill in op->more for multipart objects in containers. |
| 3353 |
Multipart objects in containers can happen for customised monsters in |
| 3354 |
generator inventories. This happened on /darcap/raffle/raffle1_u3. |
| 3355 |
Arvid Norlander 2009-02-17 |
| 3356 |
|
| 3357 |
README: Update the README file somewhat. It mentioned CVS and various other |
| 3358 |
outdated things. |
| 3359 |
Arvid Norlander 2009-02-16 |
| 3360 |
|
| 3361 |
This is another step towards Python 3.x support, however in this commit there |
| 3362 |
are mostly fixes for various bugs in the existing found when working on the |
| 3363 |
porting. Also this commit drops support for Python 2.3 and older. This support |
| 3364 |
was already broken (some code already used modern features). |
| 3365 |
--- |
| 3366 |
plugins/cfpython/include/cfpython.h: We need more python-version dependant |
| 3367 |
defines so rewrite the checks to be cleaner as well. |
| 3368 |
plugins/cfpython/include/cfpython_object.h: Add a variant of the EXISTCHECK() |
| 3369 |
macro that also verifies that the type matches (to fix some crashes). |
| 3370 |
plugins/cfpython/include/cfpython_party_private.h, |
| 3371 |
plugins/cfpython/include/cfpython_region_private.h, |
| 3372 |
plugins/cfpython/include/cfpython_archetype_private.h: Fix the method calling |
| 3373 |
conventions to match was actually being done in the code. |
| 3374 |
plugins/cfpython/include/cfpython_object_private.h, |
| 3375 |
plugins/cfpython/include/cfpython_map_private.h, |
| 3376 |
plugins/cfpython/cfpython_object.c, plugins/cfpython/cfpython_map.c: Fix out |
| 3377 |
of date PyNumberMethods structs. Handle the int/long unification in Python 3 |
| 3378 |
as well. Change to calling convention METH_NOARGS when no arguments were |
| 3379 |
passed to the methods. Change to METH_O when a single object argument was |
| 3380 |
passed. Add checks for correct type of objects where that was missing (could |
| 3381 |
result in crashes before, if there were bugs in the python scripts, now such |
| 3382 |
bugs will just throw a python exception). |
| 3383 |
plugins/cfpython/cfpython.c: Change to calling convention METH_NOARGS when no |
| 3384 |
arguments were passed to the methods. |
| 3385 |
macros/cf_python.m4: Remove checks for Python 2.3 and older. |
| 3386 |
Arvid Norlander 2009-02-14 |
| 3387 |
|
| 3388 |
plugins/cfpython/cfpython.c, plugins/cfpython/cfpython_map.c, |
| 3389 |
plugins/cfpython/include/cfpython_archetype_private.h, |
| 3390 |
plugins/cfpython/include/cfpython_region_private.h, |
| 3391 |
plugins/cfpython/include/cfpython_party_private.h, |
| 3392 |
plugins/cfpython/include/cfpython_map_private.h, |
| 3393 |
plugins/cfpython/include/cfpython_object_private.h, |
| 3394 |
plugins/cfpython/include/cfpython.h, plugins/cfpython/cfpython_object.c: Some |
| 3395 |
of the changes needed to support Python 3: Adding some compatibility defines |
| 3396 |
to support some stuff on both Python 2 and Python 3. This also means we now |
| 3397 |
support unicode strings in a few places we didn't before. Also properly handle |
| 3398 |
"hash not supported" under Python 2.6 or later. |
| 3399 |
Arvid Norlander 2009-02-13 |
| 3400 |
|
| 3401 |
server/apply.c, server/skills.c, server/player.c, server/spell_attack.c: Add a |
| 3402 |
comment marking some variables set but then never used (found with compiler |
| 3403 |
warnings). Unsure about what the correct way to solve them are (that is: |
| 3404 |
should the variable assignment be removed, or should the variable be used |
| 3405 |
somewhere). |
| 3406 |
server/c_misc.c, common/map.c, common/object.c: Fix some format strings using %d |
| 3407 |
when %u should have been used. |
| 3408 |
Arvid Norlander 2009-02-13 |
| 3409 |
|
| 3410 |
plugins/cfpython/include/cfpython_proto.h, plugins/cfpython/cfpython.c: Fix |
| 3411 |
broken give command. Was broken due to MSW removing -Bsymbolic when building |
| 3412 |
plugins about half a year ago. Also change some other symbols to static in the |
| 3413 |
plugins to avoid more issues like this. |
| 3414 |
plugins/cflogger/include/cflogger_proto.h, plugins/cflogger/cflogger.c, |
| 3415 |
plugins/citylife/include/citylife_proto.h, plugins/citylife/citylife.c, |
| 3416 |
plugins/cfrhg/include/cfrhg_proto.h, plugins/cfrhg/cfrhg.c, |
| 3417 |
plugins/cfanim/include/cfanim.h, plugins/cfanim/include/cfanim_proto.h, |
| 3418 |
plugins/cfanim/cfanim.c, plugins/cfnewspaper/include/cfnewspaper_proto.h, |
| 3419 |
plugins/cfnewspaper/cfnewspaper.c: More changes in the same style as the above |
| 3420 |
python changes to reduce possible symbol lookup conflicts. Also make some |
| 3421 |
functions static. |
| 3422 |
plugins/cfrhg/include/cfrhg_proto.h, plugins/cfrhg/cfrhg.c: Fix a typo in cfrhg |
| 3423 |
(was "cfrgh" in one place). |
| 3424 |
Arvid Norlander 2009-02-12 |
| 3425 |
|
| 3426 |
common/treasure.c: Restore item_power if GT_MINIMAL is passed into |
| 3427 |
fix_generated_item(). Fixes bug 2590465: Anvils making items without |
| 3428 |
item power |
| 3429 |
MSW 2009-02-11 |
| 3430 |
|
| 3431 |
lib/Makefile.am: replace make with $(MAKE) - needed if using non default |
| 3432 |
make, or otherwise have special set up. |
| 3433 |
MSW 2009-02-11 |
| 3434 |
|
| 3435 |
lib/attackmess: Fix for bug# [ 2565212 ] Output quirk with wraith feed ability |
| 3436 |
(You You). Removed 'You' text from the attack messages file. |
| 3437 |
Rick Tanner 2009-02-11 |
| 3438 |
|
| 3439 |
lib/.collect-stamp, lib/smooth: Both of these are generated by make collect, |
| 3440 |
remove them from SVN. The latter file also showed up a lot in svn diff because |
| 3441 |
the locally generated copy no longer matched the svn version and no one |
| 3442 |
committed the change. |
| 3443 |
lib/: Add those two removed files to svn:ignore. |
| 3444 |
lib/Makefile.am: Update to match change, also add some other auto generated |
| 3445 |
files to MAINTAINERCLEANFILES. |
| 3446 |
Arvid Norlander 2009-02-10 |
| 3447 |
|
| 3448 |
include/living.h, include/player.h: Rearrange member order in some structs to |
| 3449 |
reduce wasted space due to alignment. |
| 3450 |
Arvid Norlander 2009-02-10 |
| 3451 |
|
| 3452 |
plugins/cfnewspaper/cfnewspaper.c: Remove unused function. |
| 3453 |
Arvid Norlander 2009-02-10 |
| 3454 |
|
| 3455 |
types/README: Fix indentation. |
| 3456 |
Arvid Norlander 2009-02-10 |
| 3457 |
|
| 3458 |
test/templates/logresult.xsl: Fix case of tag, must be lower case since it |
| 3459 |
generates XHTML, not HTML. |
| 3460 |
check-fragment.am: Make report generation work for out of tree builds. We now |
| 3461 |
copy the xsl files to test/logs/ before everything else, instead of after. We |
| 3462 |
also use the copy now, instead of using the file in test/templates/. |
| 3463 |
Arvid Norlander 2009-02-10 |
| 3464 |
|
| 3465 |
test/templates/crossfire-logo-unit-failed.png, |
| 3466 |
test/templates/crossfire-logo-unit-success.png, |
| 3467 |
test/templates/txtlog.png, test/templates/failure.png, |
| 3468 |
test/templates/success.png, test/templates/error.png, |
| 3469 |
test/templates/crossfire-logo-unit.png: Recompress png images for smaller file |
| 3470 |
size. |
| 3471 |
Arvid Norlander 2009-02-10 |
| 3472 |
|
| 3473 |
check-fragment.am: Add a define -DBUILD_ROOT to support out of tree builds |
| 3474 |
properly. |
| 3475 |
test/unit/common/check_object.c, test/unit/common/check_loader.c, |
| 3476 |
test/unit/common/check_arch.c, test/unit/common/check_item.c: make check |
| 3477 |
should now works for out of tree builds. Not well tested yet. Not functional |
| 3478 |
changes for in-tree builds. |
| 3479 |
Arvid Norlander 2009-02-10 |
| 3480 |
|
| 3481 |
include/Makefile.am: Make svnversion.h work properly when the build tree is |
| 3482 |
not the source tree. |
| 3483 |
Arvid Norlander 2009-02-10 |
| 3484 |
|
| 3485 |
include/object.h: Small spelling correction in comment. |
| 3486 |
utils/mapper.c: Fix a crash when generating tiled (non-world) maps (such as for |
| 3487 |
greenway) and the user used -limit. |
| 3488 |
Arvid Norlander 2009-02-10 |
| 3489 |
|
| 3490 |
plugins/cfpython/cfpython_object.c, |
| 3491 |
plugins/cfpython/include/cfpython_object_private.h: Add Object_GetAnimated() |
| 3492 |
to be able to read this property (it used to be write only from python). |
| 3493 |
Arvid Norlander 2009-02-10 |
| 3494 |
|
| 3495 |
plugins/cfpython/cfpython_object.c, |
| 3496 |
plugins/cfpython/include/cfpython_object_private.h: Make it possible to set |
| 3497 |
Object.Identified as well as get it. This was used by some python scripts |
| 3498 |
(though it didn't actually work). |
| 3499 |
Arvid Norlander 2009-02-09 |
| 3500 |
|
| 3501 |
utils/mapper.c: Fix a segfault when generating world map and not all input maps |
| 3502 |
was found (could happen using -limit). |
| 3503 |
Arvid Norlander 2009-02-08 |
| 3504 |
|
| 3505 |
utils/mapper.c: Change // style comment to /**/ style. Add missing include. Make |
| 3506 |
some variables and functions static (fixing GCC warnings about missing |
| 3507 |
prototypes). Change some 0 to NULL for pointers to make code clearer. |
| 3508 |
Arvid Norlander 2009-02-08 |
| 3509 |
|
| 3510 |
utils/mapper.c: Change all sprintf() to snprintf(). Also fix a crash due to |
| 3511 |
division by zero when using -limit and we didn't get as far as processing any |
| 3512 |
maps with non-zero elevation. |
| 3513 |
Arvid Norlander 2009-02-08 |
| 3514 |
|
| 3515 |
utils/mapper.c: Remove some unused variables. Get rid of zero length snprintf() |
| 3516 |
(caused GCC warning). |
| 3517 |
Arvid Norlander 2009-02-08 |
| 3518 |
|
| 3519 |
include/libproto.h, common/dialog.c, common/init.c, common/object.c, |
| 3520 |
common/button.c, common/region.c, common/living.c, common/time.c, |
| 3521 |
common/recipe.c, common/map.c, common/arch.c, common/treasure.c: Make a lot |
| 3522 |
of functions that aren't used outside one file in common/ static. |
| 3523 |
Arvid Norlander 2009-02-07 |
| 3524 |
|
| 3525 |
common/readable.c, common/object.c, common/map.c, include/libproto.h: Use size_t |
| 3526 |
instead of int for buffer sizes. |
| 3527 |
common/readable.c, include/libproto.h: Make some functions not used elsewhere |
| 3528 |
static. |
| 3529 |
common/readable.c: Get rid of sprintf(). |
| 3530 |
Arvid Norlander 2009-02-07 |
| 3531 |
|
| 3532 |
common/porting.c: Fix format string. |
| 3533 |
Arvid Norlander 2009-02-07 |
| 3534 |
|
| 3535 |
common/player.c: Remove unused variables. |
| 3536 |
Arvid Norlander 2009-02-07 |
| 3537 |
|
| 3538 |
types/mood_floor/mood_floor.c: Use NULL instead of 0 for pointers. |
| 3539 |
types/player_mover/player_mover.c: Assigning a floating point constant to an |
| 3540 |
integer variable makes no sense. |
| 3541 |
Arvid Norlander 2009-02-07 |
| 3542 |
|
| 3543 |
include/libproto.h, include/ob_methods.h, include/typesproto.h, |
| 3544 |
common/ob_methods.c, types/common/describe.c, types/legacy/legacy_describe.c: |
| 3545 |
Use size_t when working with buffer sizes. |
| 3546 |
include/sproto.h, server/attack.c, server/spell_util.c: Attack type should be |
| 3547 |
uint32 and not int. |
| 3548 |
Arvid Norlander 2009-02-07 |
| 3549 |
|
| 3550 |
types/shop_inventory/shop_inventory.c: Use size_t not int when working with |
| 3551 |
list sizes. The variable i is used for several things, but using size_t should |
| 3552 |
be safe for all uses of it. |
| 3553 |
Arvid Norlander 2009-02-07 |
| 3554 |
|
| 3555 |
types/deep_swamp/deep_swamp.c: Replace sprintf() with snprintf(). |
| 3556 |
Arvid Norlander 2009-02-07 |
| 3557 |
|
| 3558 |
common/readable.c: Fix a snprintf() with non-constant format string and no |
| 3559 |
parameters passed. |
| 3560 |
Arvid Norlander 2009-02-07 |
| 3561 |
|
| 3562 |
types/detector/detector.c: Fix GCC warning caused by a declaration of an |
| 3563 |
unimplemented, unused static function. |
| 3564 |
Arvid Norlander 2009-02-07 |
| 3565 |
|
| 3566 |
plugins/cfpython/include/cfpython_object_private.h, |
| 3567 |
plugins/cfpython/include/cfpython_map_private.h, |
| 3568 |
plugins/cfpython/include/cfpython_party_private.h, |
| 3569 |
plugins/cfpython/include/cfpython_region_private.h, |
| 3570 |
plugins/cfpython/include/cfpython_archetype_private.h, |
| 3571 |
plugins/cfpython/cfpython.c: Fix some minor issues (variables that should have |
| 3572 |
been static, using 0 instead of NULL [leading to more confusing code]). |
| 3573 |
Arvid Norlander 2009-02-07 |
| 3574 |
|
| 3575 |
plugins/cfanim/cfanim.c, plugins/cflogger/cflogger.c: Fix some minor issues |
| 3576 |
(variables that should have been static, using 0 instead of NULL, leading to |
| 3577 |
more confusing code) found using the static analysis tool "sparse". |
| 3578 |
Arvid Norlander 2009-02-07 |
| 3579 |
|
| 3580 |
server/init.c: Avoid some warnings by casting function to one with the right |
| 3581 |
type before calling. Also convert some char* to const char* and make the |
| 3582 |
variable options static. |
| 3583 |
Arvid Norlander 2009-02-06 |
| 3584 |
|
| 3585 |
server/pets.c, server/player.c, server/plugins.c: Fix some minor issues (such as |
| 3586 |
using 0 instead of NULL [leading to more confusing code], using snprintf with |
| 3587 |
no format arguments [use strncpy instead], using int instead of tag_t [which |
| 3588 |
is typedefed to unsigned int]). |
| 3589 |
Arvid Norlander 2009-02-06 |
| 3590 |
|
| 3591 |
socket/info.c, server/alchemy.c, server/gods.c: Fix some minor issues (using 0 |
| 3592 |
instead of NULL [leading to confusing code], casting const char* to char*). |
| 3593 |
Arvid Norlander 2009-02-06 |
| 3594 |
|
| 3595 |
include/global.h: Get rid of some warnings by making some "char*" "const char*" |
| 3596 |
in the Settings struct. |
| 3597 |
Arvid Norlander 2009-02-06 |
| 3598 |
|
| 3599 |
server/player.c: Make sure unpaid items are removed at death even on non-shop |
| 3600 |
floors. |
| 3601 |
Arvid Norlander 2009-02-06 |
| 3602 |
|
| 3603 |
server/spell_effect.c: Fix part of bug #2457751 |
| 3604 |
"Unpaid items work for some things...". Staff to snake and animate weapon no |
| 3605 |
longer works on unpaid items. |
| 3606 |
Arvid Norlander 2009-02-06 |
| 3607 |
|
| 3608 |
common/readable.c: Passing the same buffer as both the output buffer as a |
| 3609 |
parameter in the format to s(n)printf invokes undefined behaviour. Avoid doing |
| 3610 |
that. Tests showed that glibc treated the buffer as empty, resulting in |
| 3611 |
ignoring whatever was in the buffer before. |
| 3612 |
Arvid Norlander 2009-02-06 |
| 3613 |
|
| 3614 |
common/item.c: Make item_types_size static, it isn't used elsewhere. |
| 3615 |
Arvid Norlander 2009-02-06 |
| 3616 |
|
| 3617 |
server/attack.c: Fix rare abort() with spells like dragonfire on multi-tile |
| 3618 |
objects. Required some single tile object to be on top of the multi-tile |
| 3619 |
object. |
| 3620 |
Arvid Norlander 2009-02-04 |
| 3621 |
|
| 3622 |
server/spell_attack.c: Fix bug #2353025 "2.0, holy wrath and ret. strike freeze |
| 3623 |
server". This happened because explosion spells use stats.maxhp as a unique ID |
| 3624 |
to avoid running out of control. This one was properly set by bullet spells, |
| 3625 |
but not by smite spells. Fix this. |
| 3626 |
Arvid Norlander 2009-02-04 |
| 3627 |
|
| 3628 |
server/spell_util.c: Put cap on level used for cast_magic_storm() in |
| 3629 |
prayer_failure() - otherwise, spell can hang the server as it |
| 3630 |
gets cast at super high level. |
| 3631 |
MSW 2009-02-04 |
| 3632 |
|
| 3633 |
common/button.c: Fix bug #2457751 "Unpaid items work for some things...". Now |
| 3634 |
dropping unpaid items on altars no longer works. |
| 3635 |
Arvid Norlander 2009-02-03 |
| 3636 |
|
| 3637 |
Fix out-of-bounds accessess to xxx_bonus[] (and similar) arrays. |
| 3638 |
Andreas Kirschbaum |
| 3639 |
|
| 3640 |
common/living.c: |
| 3641 |
random_maps/wall.c, random_maps/style.c, random_maps/door.c, random_maps/exit.c, |
| 3642 |
random_maps/random_map.c, random_maps/rogue_layout.c, random_maps/test.c, |
| 3643 |
random_maps/special.c, random_maps/floor.c, random_maps/monster.c, |
| 3644 |
random_maps/standalone.c, random_maps/treasure.c: Fix some minor issues |
| 3645 |
(variables that should have been static, using 0 instead of NULL [leading to |
| 3646 |
more confusing code], mismatching prototype and so on) found using the static |
| 3647 |
analysis tool "sparse" (made for Linux kernel originally). |
| 3648 |
Arvid Norlander 2009-02-03 |
| 3649 |
|
| 3650 |
random_maps/reader.l, common/loader.l, include/libproto.h: The shared yyerror() |
| 3651 |
in loader.l didn't work properly in reader.l (which was the intention). |
| 3652 |
Instead it caused memory errors (and potentially segfaults) when called. This |
| 3653 |
was due to yyerror() accessing the static variable yytext, which is unique to |
| 3654 |
each file. Since yytext in loader.l was often freed already when yyerror() in |
| 3655 |
reader.l was called this would cause memory errors. If it wasn't yet freed it |
| 3656 |
would instead report irrelevant data in the error message. Thus duplicate the |
| 3657 |
routine to both of the files, and make them both static. |
| 3658 |
Arvid Norlander 2009-02-03 |
| 3659 |
|
| 3660 |
Encapsulate access to xxx_bonus[] (and similar) arrays with accessor functions |
| 3661 |
get_xxx_bonus(). |
| 3662 |
--- |
| 3663 |
common/living.c: Make arrays static. Add accessor functions. |
| 3664 |
common/living.h: Remove arrays. Add accessor function prototypes. |
| 3665 |
*.c: Replace xxx_bonus[stat] with get_xxx_bonus(stat). |
| 3666 |
Andreas Kirschbaum 2009-02-03 |
| 3667 |
|
| 3668 |
common/object.c, common/exp.c, common/time.c, common/recipe.c, common/arch.c, |
| 3669 |
common/map.c, common/los.c: Fix some minor issues (variables that should have |
| 3670 |
been static, using 0 instead of NULL, leading to more confusing code) found |
| 3671 |
using the static analysis tool "sparse" (made for Linux kernel originally). |
| 3672 |
Arvid Norlander 2009-02-03 |
| 3673 |
|
| 3674 |
plugins/cfpython/include/cfpython.h, plugins/cfpython/cfpython.c: |
| 3675 |
To make porting to Python 3 in the future easier, enable the forward |
| 3676 |
compatibility warning flag if crossfire is compiled against Python 2.6, this |
| 3677 |
will result in warnings to stderr about "DeprecationWarning" if incompatible |
| 3678 |
code is found. Several issues has already been fixed recently (thanks to |
| 3679 |
having this enabled locally). Compiling Crossfire against Python 2.5 or older |
| 3680 |
still works (of course). Also add a missing include causing warnings under |
| 3681 |
Python 2.6. |
| 3682 |
Arvid Norlander 2009-02-03 |
| 3683 |
|
| 3684 |
common/shstr.c: Use the correct return type from hashstr() current code assumed |
| 3685 |
sizeof(int) == sizeof(long) == sizeof(void*) which is incorrect for many |
| 3686 |
systems (such as x86_64). There was another potential (as in: would not happen |
| 3687 |
with current hash table size) issue in the same code with mixing signed and |
| 3688 |
unsigned. Also fixed. |
| 3689 |
Arvid Norlander 2009-02-03 |
| 3690 |
|
| 3691 |
server/plugins.c: Fix possible buffer overflow when initializing plugins. |
| 3692 |
Andreas Kirschbaum 2009-02-03 |
| 3693 |
|
| 3694 |
doc/Developers/smooth.pdf, doc/Developers/img/sgrass.base.111.eps, |
| 3695 |
doc/Developers/img/smoothlevel.eps, doc/Developers/img/canvas_smooth.eps, |
| 3696 |
doc/Developers/smooth.tex: smooth.pdf was broken (due to someone using |
| 3697 |
svn:eol-style on it [as far as I can tell], pdf are binary files and shouldn't |
| 3698 |
be mangled like that!). Also the pdf couldn't be re-generated from smooth.tex |
| 3699 |
since some of the image files were missing. (They were erroneously removed in |
| 3700 |
revision 3560). Add the three *.eps needed back. Then regenerate the pdf. |
| 3701 |
Also some cosmetic changes to the file. |
| 3702 |
Arvid Norlander 2009-02-03 |
| 3703 |
|
| 3704 |
doc/Developers/sound, doc/Developers/*.dox, doc/Developers/types/*.dox, |
| 3705 |
doc/Developers/fields/*.dox: Set svn:eol-style to native. Correct a few files |
| 3706 |
that were stored with CRLF. |
| 3707 |
Arvid Norlander 2009-02-03 |
| 3708 |
|
| 3709 |
include/define.h, include/libproto.h, common/item.c, common/readable.c, |
| 3710 |
common/loader.l: Make safe_strcat() (defined in include/define.h for some |
| 3711 |
odd reason) use size_t instead of int for buffer size, since this includes |
| 3712 |
changing a pointer to int into a pointer to size_t update all calls to |
| 3713 |
safe_strcat() to use size_t for that. |
| 3714 |
Arvid Norlander 2009-02-02 |
| 3715 |
|
| 3716 |
common/object.c, include/config.h: Document the different levels of MEMORY_DEBUG |
| 3717 |
and add a third level that calls free() instead of adding back to free list |
| 3718 |
in order to more properly detect use after free. |
| 3719 |
Arvid Norlander 2009-02-01 |
| 3720 |
|
| 3721 |
common/object.c, include/config.h: Workaround to make MEMORY_DEBUG usable, |
| 3722 |
currently we can't realloc on allocation to ensure the backtrace is correct |
| 3723 |
(as the comment in the code described) since a lot of stuff access objects |
| 3724 |
after freeing and fixing these are non-trivial. So disable realloc() for now |
| 3725 |
unless MEMORY_DEBUG is defined to a value greater than 1. Also fix one of the |
| 3726 |
accesses after free_object() (was in clean_friendly_list()). |
| 3727 |
Arvid Norlander 2009-02-01 |
| 3728 |
|
| 3729 |
common/re-cmp.c: Correct some #ifdef to use the correct variable name |
| 3730 |
(SAFE_CHECKS not SAFE_CHECK). |
| 3731 |
Arvid Norlander 2009-02-01 |
| 3732 |
|
| 3733 |
include/define.h: Update comment about INORGANIC (type 73) including |
| 3734 |
dragon scales. Making them type flesh had negative consequences such |
| 3735 |
as making them edible and causing them to weigh 50000Kg instead of 25Kg |
| 3736 |
each. |
| 3737 |
Rick Tanner 2009-01-31 |
| 3738 |
|
| 3739 |
common/player.c, include/libproto.h, server/player.c: Fix a few memory leaks |
| 3740 |
if player selects "play again" after logging out. |
| 3741 |
Arvid Norlander 2009-01-29 |
| 3742 |
|
| 3743 |
plugins/cfpython/cfpython.c: Remove some Py_DECREF() calls in the python module. |
| 3744 |
This fixes bug #2459929 (DECREF error, bombs server if python is strict). |
| 3745 |
However, I'm not sure this is the correct way to fix that bug. |
| 3746 |
Arvid Norlander 2009-01-29 |
| 3747 |
|
| 3748 |
macros/cf_python.m4: Add python 2.6 to the python path search lists as well. |
| 3749 |
Arvid Norlander 2009-01-28 |
| 3750 |
|
| 3751 |
include/newserver.h, socket/init.c, socket/request.c: Remove MapMode |
| 3752 |
type/mapmode field since only one mode is supported. |
| 3753 |
Andreas Kirschbaum 2009-01-28 |
| 3754 |
|
| 3755 |
common/shstr.c, common/arch.c, common/path.c: Fix some int that should have been |
| 3756 |
size_t, found using splint. |
| 3757 |
common/arch.c: Also fix an "int" that should have been "unsigned long". |
| 3758 |
include/libproto.h, include/path.h: Update prototypes where needed for these int |
| 3759 |
to size_t changes. |
| 3760 |
Arvid Norlander 2009-01-28 |
| 3761 |
|
| 3762 |
macros/libtool.m4: Removed this file as it depends on which libtool version is |
| 3763 |
installed on the system running autogen.sh. configure will fail with an error |
| 3764 |
if version doesn't match between this file and the generated (non-versioned) |
| 3765 |
file utils/ltmain.sh. autogen.sh will install the correct version of |
| 3766 |
macros/libtool.m4 as long as a newer version doesn't exist. Thus removing this |
| 3767 |
file from SVN is the correct way to solve the issue. This file _should_ |
| 3768 |
however be included in release tarballs since utils/ltmain.sh will also be |
| 3769 |
included there. |
| 3770 |
macros/: Added svn:ignore for libtool.m4 |
| 3771 |
Arvid Norlander 2009-01-27 |
| 3772 |
|
| 3773 |
server/plugins.c: Set plugins_list to NULL when unloading plugins at exit to |
| 3774 |
prevent some possible issues if someone tries to mess with plugins afterwards. |
| 3775 |
Arvid Norlander 2009-01-26 |
| 3776 |
|
| 3777 |
include/libproto.h, common/arch.c: Make hasharch() in arch.c static since it |
| 3778 |
wasn't (and shouldn't be) used anywhere else. |
| 3779 |
Arvid Norlander 2009-01-26 |
| 3780 |
|
| 3781 |
test/unit/common/check_shstr.c: Fix small memory leak in the shstr unit test. |
| 3782 |
common/arch.c: Make free_all_archs() also clear the hash table for archetypes, |
| 3783 |
this fixes an invalid read in test/unit/common/check_arch.c. |
| 3784 |
Arvid Norlander 2009-01-26 |
| 3785 |
|
| 3786 |
Use a subdirectory for aclocal macros instead of the old-style acinclude.m4. |
| 3787 |
This will make it simpler to maintain and update to current upstream copies of |
| 3788 |
the various autoconf macros. This commit does not update to current upstream |
| 3789 |
copies, but extracts the version crossfire used from the old acinclude.m4. |
| 3790 |
--- |
| 3791 |
autogen.sh: Updated commands to match for this change. |
| 3792 |
include/autoconf.h.in: Auto-regenerated by autotools, no functionality changes. |
| 3793 |
macros/: Added |
| 3794 |
macros/libtool.m4: Auto imported by aclocal, previously aclocal copied this |
| 3795 |
directly into the (non-versioned) file aclocal.m4. |
| 3796 |
macros/cf_xslt.m4, macros/cf_python.m4, macros/libcurl.m4, macros/check.m4: |
| 3797 |
Extracted from acinclude.m4. |
| 3798 |
acinclude.m4: Removed. |
| 3799 |
Makefile.am: Added matching ACLOCAL_AMFLAGS line. |
| 3800 |
--- |
| 3801 |
Arvid Norlander 2009-01-26 |
| 3802 |
|
| 3803 |
lib/Makefile.am, lib/adm/collect_images.pl: Make out of tree builds work. Note |
| 3804 |
that the arch symlink in lib should be placed in the build tree. Further: the |
| 3805 |
Perl script change might be suboptimal, I'm not a Perl expert. |
| 3806 |
Arvid Norlander 2009-01-25 |
| 3807 |
|
| 3808 |
types/transport/transport.c: Add missing braces to if clause in |
| 3809 |
transport_type_process(). |
| 3810 |
MSW 2009-01-24 |
| 3811 |
|
| 3812 |
Server part of client window resizing. When server gets a mapsize request, |
| 3813 |
it now clears its map data so it does a complete refresh of the map to the |
| 3814 |
client. This fixes drawing issues. |
| 3815 |
--- |
| 3816 |
include/sockproto.h: Change map_newmap_cmd() definition |
| 3817 |
server/move.c, server/plugins.c, server/server.c, server/spell_effect.c: |
| 3818 |
Change call to map_newmap_cmd() |
| 3819 |
socket/request.c: Add call to map_new_cmd() in setup area. Change |
| 3820 |
map_newmap_cmd() to take a socket structure instead of player - |
| 3821 |
the setup only has socket pointer and not player pointer to use. |
| 3822 |
--- |
| 3823 |
MSW 2009-01-24 |
| 3824 |
|
| 3825 |
test/unit/server/check_c_party.c: Fix failing regression test. (Access to |
| 3826 |
uninitialized variable.) |
| 3827 |
Andreas Kirschbaum 2009-01-24 |
| 3828 |
|
| 3829 |
test/unit/common/check_object.c: Make the test_count_free test work in a build |
| 3830 |
with MEMORY_DEBUG turned on as well. |
| 3831 |
Arvid Norlander 2009-01-24 |
| 3832 |
|
| 3833 |
common/image.c: Fix crash if read_bmap_names() is called more than once. |
| 3834 |
Needed for debugging regression tests. |
| 3835 |
test/unit/common/check_object.c: Fix failing regression test. (Access to |
| 3836 |
non-existent face.) |
| 3837 |
Andreas Kirschbaum 2009-01-24 |
| 3838 |
|
| 3839 |
common/readable.c, common/dialog.c, common/loader.l, common/treasure.c, |
| 3840 |
common/image.c, socket/item.c: Add missing ending \n to LOG() calls. |
| 3841 |
Arvid Norlander 2009-01-24 |
| 3842 |
|
| 3843 |
socket/info.c: Fix stack smashing in magic_mapping_mark() on maps wider than 50 |
| 3844 |
tiles. |
| 3845 |
Arvid Norlander 2009-01-24 |
| 3846 |
|
| 3847 |
test/unit/common/check_item.c: Fix failing regression test. |
| 3848 |
Andreas Kirschbaum 2009-01-24 |
| 3849 |
|
| 3850 |
plugins/common/hashtable.c: Rewrite the code documentation to doxygen style. |
| 3851 |
Arvid Norlander 2009-01-23 |
| 3852 |
|
| 3853 |
plugins/cflogger/cflogger.c: Make non-direct kills (kill by spell, kill by |
| 3854 |
poison, kill by golem and so on) register properly. |
| 3855 |
Arvid Norlander 2009-01-23 |
| 3856 |
|
| 3857 |
plugins/cflogger/cflogger.c: Slight error in last commit, turns out time table |
| 3858 |
can't use real time as primary key. Change database schema to format 3. |
| 3859 |
Upgrades directly from version 1 not run into the issue. |
| 3860 |
Arvid Norlander 2009-01-23 |
| 3861 |
|
| 3862 |
plugins/cflogger/cflogger.c: Clean out some of the messy and broken SQL (didn't |
| 3863 |
use indexes, was missing important constraints and so on) in cflogger. This |
| 3864 |
includes introducing a new version of the SQL schema used. The database will |
| 3865 |
be automatically upgraded at next run. Be aware of that older versions were |
| 3866 |
missing a check for too new format, thus once you upgraded the format you |
| 3867 |
should not run it with an older version of the server. Changes to the schema |
| 3868 |
includes adding some indexes and similar. |
| 3869 |
Arvid Norlander 2009-01-22 |
| 3870 |
|
| 3871 |
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Now handles |
| 3872 |
random maps the way the source code comments claims it does. |
| 3873 |
plugins/cfnewspaper/cfnewspaper.c: Make info about kills from a specific region |
| 3874 |
work. |
| 3875 |
Arvid Norlander 2009-01-22 |
| 3876 |
|
| 3877 |
common/object.c: Add missing newline to log message that is shown if |
| 3878 |
MEMORY_DEBUG is defined. |
| 3879 |
Arvid Norlander 2009-01-21 |
| 3880 |
|
| 3881 |
common/arch.c: Fix memory leak in archetypes when discrete damage is used. |
| 3882 |
Arvid Norlander 2009-01-21 |
| 3883 |
|
| 3884 |
server/plugins.c: Remove forgotten debug output. |
| 3885 |
plugins/cflogger/cflogger.c, plugins/cfnewspaper/cfnewspaper.c: Add missing |
| 3886 |
newline in log output. |
| 3887 |
plugins/cfnewspaper/cfnewspaper.c: Close the second sqlite database as well. |
| 3888 |
Arvid Norlander 2009-01-21 |
| 3889 |
|
| 3890 |
server/plugins.c, server/server.c: Run closePlugin() in the various plugins at |
| 3891 |
server shutdown. Previously it was only run when the wiz command plugout was |
| 3892 |
used. This change is needed to properly close the sqlite database handles in |
| 3893 |
cflogger and cfnewspaper. |
| 3894 |
include/sproto.h: Run make proto in server/ to include the newly added |
| 3895 |
cleanupPlugins() in server/plugins.c. This caused some other changes, such as |
| 3896 |
reordering and adding some other functions. |
| 3897 |
Arvid Norlander 2009-01-21 |
| 3898 |
|
| 3899 |
server/plugins.c: Fix broken error checking in plugin loading code. |
| 3900 |
Arvid Norlander 2009-01-21 |
| 3901 |
|
| 3902 |
common/readable.c: Fix a rare bug that caused the use of an uninitialised |
| 3903 |
variable in god_info_msg() for gods denies summoning (such as valkyrie). |
| 3904 |
Arvid Norlander 2009-01-21 |
| 3905 |
|
| 3906 |
doc/Developers/objects, lib/artifacts: Remove obsolete fields color_fg and |
| 3907 |
color_bg. |
| 3908 |
lib/adm/map_info: Remove support for color_fg/color_bg fields. |
| 3909 |
Andreas Kirschbaum 2008-12-12 |
| 3910 |
|
| 3911 |
server/login.c: Clear shootype value when player leaves game - otherwise |
| 3912 |
it will point to bad value in ranges[] array. |
| 3913 |
MSW 2008-11-25 |
| 3914 |
|
| 3915 |
lib/collect.pl.in: Prepend an underscore to names generated for implicitly |
| 3916 |
defined animations. |
| 3917 |
Andreas Kirschbaum 2008-11-23 |
| 3918 |
|
| 3919 |
Rewrite SockList handling to not malloc/free buffers but use stack |
| 3920 |
space instead. Encapsulate most accesses to SockList instances into |
| 3921 |
lowlevel.c. |
| 3922 |
Andreas Kirschbaum 2008-11-21 |
| 3923 |
|
| 3924 |
common/treasure.c: Do not call tailor_readable_ob() with invalid msgtype |
| 3925 |
parameter. |
| 3926 |
common/readable.c: Detect and report errors when saving bookarch file. |
| 3927 |
common/readable.c: Remove trailing whitespace from generated book |
| 3928 |
contents. |
| 3929 |
common/readable.c: Do not call get_titlelist() for invalid indices. |
| 3930 |
common/readable.c: Fix 'bookarch' parser to strip trailing spaces but not |
| 3931 |
leading spaces. Fix possible memory leak when reading the 'bookarch' |
| 3932 |
file. Detect and report syntax errors. |
| 3933 |
Andreas Kirschbaum 2008-11-20 |
| 3934 |
|
| 3935 |
common/readable.c: Fix 'messages' file parser to strip trailing spaces but |
| 3936 |
not leading spaces. Issue warning messages if messages are truncated. |
| 3937 |
Detect and report syntax errors rather than crash. |
| 3938 |
common/readable.c: Fix incorrect random expression -- condition was always |
| 3939 |
false. |
| 3940 |
socket/image.c: Accelerate "replyinfo image_sums" processing. |
| 3941 |
doc/Developers/protocol: Fix documentation for "replyinfo image_sums" |
| 3942 |
format. |
| 3943 |
Andreas Kirschbaum 2008-11-19 |
| 3944 |
|
| 3945 |
socket/request.c, doc/Developers/protocol: Properly check "setup" |
| 3946 |
settings; document allowed values. |
| 3947 |
socket/request.c: Properly check input read from client socket. |
| 3948 |
Andreas Kirschbaum 2008-11-18 |
| 3949 |
|
| 3950 |
Apply patch #2305993: Random Item generation difficutly table expansion, |
| 3951 |
courtesy meflin. |
| 3952 |
common/treasure.c |
| 3953 |
include/treasure.h |
| 3954 |
Nicolas Weeger 2008-11-17 |
| 3955 |
|
| 3956 |
Allow transports to not occupy the same spaces depending on the facing direction. |
| 3957 |
common/map.c: tweak various move_type checks for transport |
| 3958 |
doc/Developers/objects: update with special flag |
| 3959 |
server/player.c: special handling for transport facings |
| 3960 |
Nicolas Weeger 2008-11-16 |
| 3961 |
|
| 3962 |
Reduce selling cost of Gourmet Mushrooms. They were to easy to exploit |
| 3963 |
and abuse for massive cash influx. Requested change by meflin. |
| 3964 |
/lib/artifacts |
| 3965 |
Rick Tanner 2008-11-11 |
| 3966 |
|
| 3967 |
Tentative fix for bug #1982043: Ruggilli immolation. |
| 3968 |
server/disease.c: don't remove god-diven diseases. |
| 3969 |
Nicolas Weeger 2008-11-11 |
| 3970 |
|
| 3971 |
Fix for bug #2259992: I dont know how to apply the ... * (unpaid). |
| 3972 |
include/ob_methods.h: new return value for methods. |
| 3973 |
server/apply.c: don't display anything if player already warned. |
| 3974 |
Nicolas Weeger 2008-11-11 |
| 3975 |
|
| 3976 |
Tentative fix for bug #2094038: Monk Confusion... |
| 3977 |
server/gods.c: don't try to update the 'no weapon' flag if the player is |
| 3978 |
forbidden weapons, that messes with things. |
| 3979 |
Nicolas Weeger 2008-11-10 |
| 3980 |
|
| 3981 |
Remove obsolete 'color_fg' handling. |
| 3982 |
common/image.c |
| 3983 |
Nicolas Weeger 2008-11-10 |
| 3984 |
|
| 3985 |
Merge smoothing information in New_Face, to simplify some. |
| 3986 |
common/image.c |
| 3987 |
include/face.h |
| 3988 |
Nicolas Weeger 2008-11-09 |
| 3989 |
|
| 3990 |
Apply patch #2040854: Patch to compile on OSX PPC, and to comply with ANSI C, by elliotbay. |
| 3991 |
Basically put an array definition in the .c instead of the .h. |
| 3992 |
plugins/cfpython/include/cfpython.h |
| 3993 |
plugins/cfpython/cfpython.c |
| 3994 |
Nicolas Weeger 2008-11-09 |
| 3995 |
|
| 3996 |
Fix for bug #2249875: 2.0 random say crashes. |
| 3997 |
Remove 'duplicate_dialog_information()', and merely clear FLAG_DIALOG_PARSED in |
| 3998 |
object copy so dialog is correctly parsed again when needed. |
| 3999 |
common/dialog.c object.c |
| 4000 |
include/libproto.h |
| 4001 |
Nicolas Weeger 2008-11-09 |
| 4002 |
|
| 4003 |
Initial import of Crossfire Resource Editor, tool to manage various resources like |
| 4004 |
artifacts, archetypes, faces, animations, treasures. |
| 4005 |
For now it only lets the user view, but edition is planned. |
| 4006 |
This is a C++/Qt program, not part of the regular build system. |
| 4007 |
utils/cre/*cpp *h: CRE files. |
| 4008 |
Nicolas Weeger 2008-11-08 |
| 4009 |
|
| 4010 |
Rename map's 'template' field which conflicts with C++ compilers. |
| 4011 |
Also change 'region' and 'shopitems' in some structures to the underlying structure |
| 4012 |
instead of the typedef, for the same confusion reason. |
| 4013 |
common/anim.c map.c |
| 4014 |
include/map.h |
| 4015 |
random_maps/random_map.h |
| 4016 |
server/server.c swap.c |
| 4017 |
Nicolas Weeger 2008-11-08 |
| 4018 |
|
| 4019 |
Tentative fix for bug #2018391: Zero-cap or capless containers, also stacking containers. |
| 4020 |
Split containers when reading/applying them (coherent with eg rings when applied). |
| 4021 |
Also ensure that a sack is split when putting things into it anyway. |
| 4022 |
include/sproto.h: function now visible to others. |
| 4023 |
server/apply.c c_object.c: split containers |
| 4024 |
socket/item.c: don't crash if object isn't a player. |
| 4025 |
test/unit/server/check_c_object.c: write some tests for put_object_in_sack(). |
| 4026 |
Nicolas Weeger 2008-10-31 |
| 4027 |
|
| 4028 |
Fix for bug #2081472: short int encoding for food value in payment altars. |
| 4029 |
include/living.h object.h: make food and last_eat sint32 so no overflow. |
| 4030 |
Nicolas Weeger 2008-10-31 |
| 4031 |
|
| 4032 |
Fix for bug #2140899: crash server by reading scroll on ground. |
| 4033 |
types/scroll/scroll.c: keep scroll's inventory name in case inventory |
| 4034 |
is removed. |
| 4035 |
Nicolas Weeger 2008-10-05 |
| 4036 |
|
| 4037 |
Add a function called tempnam_secure(), unlike the old tempnam_local() it should |
| 4038 |
be secure against race conditions. Replaced one of the two uses of tempnam_local |
| 4039 |
with tempnam_secure, the other one is a bit tricker. It may or may not work on |
| 4040 |
Windows, but it should be easy for someone with access to a Windows system to |
| 4041 |
add an #ifdef for that. |
| 4042 |
include/libproto.h |
| 4043 |
common/porting.c |
| 4044 |
server/login.c |
| 4045 |
Arvid Norlander 2008-09-25 |
| 4046 |
|
| 4047 |
Fix for bug #1985944: problem with trigger_markers (object type 52). |
| 4048 |
types/marker/marker.c |
| 4049 |
Arvid Norlander 2008-09-25 |
| 4050 |
|
| 4051 |
Fix for bug #2021042: level inscription indefinately with 1 scroll. |
| 4052 |
server/skills.c: don't allow to write when blind. |
| 4053 |
Nicolas Weeger 2008-09-19 |
| 4054 |
|
| 4055 |
Tentative fix for bug #2028467: confusing changing things it should not. |
| 4056 |
server/spell_util.c: correctly count items. |
| 4057 |
Nicolas Weeger 2008-09-19 |
| 4058 |
|
| 4059 |
Fix for bug #2088893: Assertion in cfanim.c globalEventListener on client connect. |
| 4060 |
Renamed all globalEventListener to put a plugin-specific prefix. |
| 4061 |
plugins/cfanim/include/cfanim_proto.h |
| 4062 |
plugins/cfanim/cfanim.c |
| 4063 |
plugins/cflogger/include/cflogger_proto.h |
| 4064 |
plugins/cflogger/cflogger.c |
| 4065 |
plugins/cfnewspaper/include/cfnewspaper_proto.h |
| 4066 |
plugins/cfnewspaper/cfnewspaper.c |
| 4067 |
plugins/cfpython/include/cfpython_proto.h |
| 4068 |
plugins/cfpython/cfpython.c |
| 4069 |
plugins/cfrhg/include/cfrhg_proto.h |
| 4070 |
plugins/cfrhg/cfrhg.c |
| 4071 |
plugins/citylife/include/citylife_proto.h |
| 4072 |
plugins/citylife/citylife.c |
| 4073 |
Nicolas Weeger 2008-09-19 |
| 4074 |
|
| 4075 |
Add new setup option "num_look_objects": allows clients to set the size |
| 4076 |
of the ground view. Clients not sending this option default to 50 which |
| 4077 |
is the previously hard-coded size. Fixes some off-by-one issues; now |
| 4078 |
always exactly the requested number of objects are sent. |
| 4079 |
trunk/include/newserver.h |
| 4080 |
trunk/socket/item.c |
| 4081 |
trunk/socket/init.c |
| 4082 |
trunk/socket/request.c |
| 4083 |
trunk/doc/Developers/protocol |
| 4084 |
Andreas Kirschbaum 2008-09-06 |
| 4085 |
|
| 4086 |
Automatic strip of trailing whitespaces. This stripped a trailing whitespace in |
| 4087 |
ChangeLog, that is why ChangeLog is listed too. |
| 4088 |
ChangeLog |
| 4089 |
make_win32/plugin_python/plugin_python.rc |
| 4090 |
make_win32/plugin_anim/plugin_anim.dsp |
| 4091 |
make_win32/crossfire.rc |
| 4092 |
make_win32/plugin_common/plugin_common.dsp |
| 4093 |
make_win32/INSTALL_WIN32.txt |
| 4094 |
make_win32/Release_notes.txt |
| 4095 |
Arvid Norlander 2008-09-02 |
| 4096 |
|
| 4097 |
Small code fixes found using GCC compiler warnings (bad format strings, |
| 4098 |
unreachable return, missing return, unclear {} in a #define when used in a if.) |
| 4099 |
include/global.h |
| 4100 |
socket/item.c |
| 4101 |
socket/loop.c |
| 4102 |
socket/metaserver.c |
| 4103 |
server/shop.c |
| 4104 |
server/swap.c |
| 4105 |
server/spell_util.c |
| 4106 |
server/resurrection.c |
| 4107 |
server/server.c |
| 4108 |
server/login.c |
| 4109 |
server/c_wiz.c |
| 4110 |
Arvid Norlander 2008-09-02 |
| 4111 |
|
| 4112 |
Added %a in the default format string for the 'who' command, because the |
| 4113 |
'afk' command is useless if nobody can see the AFK status of players who |
| 4114 |
use it. |
| 4115 |
lib/settings |
| 4116 |
Raphaël Quinet 2008-08-27 |
| 4117 |
|
| 4118 |
Inform other party members when a player leaves a party by joining or |
| 4119 |
creating another party, not only when the player uses "party leave". |
| 4120 |
server/c_party.c |
| 4121 |
Raphaël Quinet 2008-08-25 |
| 4122 |
|
| 4123 |
Some plugin-related fixes. |
| 4124 |
server/c_object.c: EVENT_DROP should be called before the item is removed, |
| 4125 |
else can't prevent dropping. |
| 4126 |
server/monster.c: enable items in player/npc's inventory to react, too |
| 4127 |
Nicolas Weeger 2008-08-16 |
| 4128 |
|
| 4129 |
Added new subtype 4 ST_MAT_WINDOW for building materials. This allows the |
| 4130 |
player to build windows in existing walls (if these walls have a corresponding |
| 4131 |
window archetype). Fixed an issue in apply_builder_floor() that could cause a |
| 4132 |
floor to be removed twice when a wall was replaced by a floor. |
| 4133 |
include/define.h |
| 4134 |
server/build_map.c |
| 4135 |
Raphaël Quinet 2008-08-04 |
| 4136 |
|
| 4137 |
Bug fix: when building a new floor on top of an old floor, the old one was |
| 4138 |
never removed, resulting in a stack of floors in some buildable areas. |
| 4139 |
server/build_map.c |
| 4140 |
Raphaël Quinet 2008-08-03 |
| 4141 |
|
| 4142 |
Fix for bug #2028541: Any object using a non-default move_slow_penalty was |
| 4143 |
always saved with the value 0 because the code was using FAST_SAVE_LONG |
| 4144 |
instead of FAST_SAVE_DOUBLE for a floating-point value. |
| 4145 |
common/loader.l |
| 4146 |
Raphaël Quinet 2008-08-02 |
| 4147 |
|
| 4148 |
Change regions file name to 'regions.reg'. |
| 4149 |
include/config.h |
| 4150 |
Nicolas Weeger 2008-08-02 |
| 4151 |
|
| 4152 |
If an object of type CHECK_INV blocks movement (e.g. move_block all) and if |
| 4153 |
it contains a message, then display that message to those who are blocked. |
| 4154 |
This allows the inventory checkers to behave a bit like locked doors. |
| 4155 |
common/map.c |
| 4156 |
Raphaël Quinet 2008-07-31 |
| 4157 |
|
| 4158 |
Allow other archetypes than fingers to be given as trophies in arena battles. |
| 4159 |
In order to do that, the battleground should have other_arch set to the |
| 4160 |
archetype to be generated. If no other_arch is set, then fingers will be |
| 4161 |
generated as before. Also, the trophies will have their value, type and |
| 4162 |
material set to 0 so that they cannot be used nor destroyed. |
| 4163 |
include/sproto.h |
| 4164 |
server/attack.c |
| 4165 |
server/disease.c |
| 4166 |
server/pets.c |
| 4167 |
server/player.c |
| 4168 |
server/spell_util.c |
| 4169 |
Raphaël Quinet 2008-07-28 |
| 4170 |
|
| 4171 |
lib/smooth: updated by 'make collect' after Ryo's changes to the archetypes. |
| 4172 |
Raphaël Quinet 2008-07-28 |
| 4173 |
|
| 4174 |
plugins/*/Makefile.am: Remove -Xlinker -export-dynamic -Xlinker -Bsymbolic |
| 4175 |
from extra LDFLAGS. Those are gnu specific linker options which cause |
| 4176 |
the plugins to fail to compile when not using gld. I've tested the build |
| 4177 |
without those options with gld on linux, and all works fine, so not sure |
| 4178 |
if those are still needed - in theory, libtool should cover that. If |
| 4179 |
those options are still needed, configure.ac should get updated with a |
| 4180 |
a better test. |
| 4181 |
MSW 2008-07-24 |
| 4182 |
|
| 4183 |
Automatic style fix: replace "foo* bar" by "foo *bar", remove extra spaces |
| 4184 |
inside parentheses, etc. This was done after an analysis of the code revealed |
| 4185 |
that less than 20% of the pointer declarations were using the other style. |
| 4186 |
Same for the parentheses. Having a consistent style in all files should make |
| 4187 |
it a bit easier to maintain the code. |
| 4188 |
common/anim.c |
| 4189 |
common/arch.c |
| 4190 |
common/button.c |
| 4191 |
common/dialog.c |
| 4192 |
common/friend.c |
| 4193 |
common/glue.c |
| 4194 |
common/holy.c |
| 4195 |
common/image.c |
| 4196 |
common/init.c |
| 4197 |
common/item.c |
| 4198 |
common/languages.c |
| 4199 |
common/logger.c |
| 4200 |
common/los.c |
| 4201 |
common/map.c |
| 4202 |
common/object.c |
| 4203 |
common/ob_methods.c |
| 4204 |
common/ob_types.c |
| 4205 |
common/path.c |
| 4206 |
common/player.c |
| 4207 |
common/porting.c |
| 4208 |
common/readable.c |
| 4209 |
common/recipe.c |
| 4210 |
common/re-cmp.c |
| 4211 |
common/shstr.c |
| 4212 |
common/stringbuffer.c |
| 4213 |
common/treasure.c |
| 4214 |
common/utils.c |
| 4215 |
devel/devel.c |
| 4216 |
include/attack.h |
| 4217 |
include/dialog.h |
| 4218 |
include/global.h |
| 4219 |
include/languages.h |
| 4220 |
include/libproto.h |
| 4221 |
include/map.h |
| 4222 |
include/object.h |
| 4223 |
include/ob_methods.h |
| 4224 |
include/path.h |
| 4225 |
include/player.h |
| 4226 |
include/plugin.h |
| 4227 |
include/sockproto.h |
| 4228 |
include/spells.h |
| 4229 |
include/sproto.h |
| 4230 |
include/stringbuffer.h |
| 4231 |
plugins/cfanim/cfanim.c |
| 4232 |
plugins/cfanim/include/cfanim.h |
| 4233 |
plugins/cflogger/cflogger.c |
| 4234 |
plugins/cfnewspaper/cfnewspaper.c |
| 4235 |
plugins/cfpython/cfpython_archetype.c |
| 4236 |
plugins/cfpython/cfpython.c |
| 4237 |
plugins/cfpython/cfpython_map.c |
| 4238 |
plugins/cfpython/cfpython_object.c |
| 4239 |
plugins/cfpython/cfpython_party.c |
| 4240 |
plugins/cfpython/cfpython_region.c |
| 4241 |
plugins/cfpython/cjson.c |
| 4242 |
plugins/cfpython/include/cfpython_archetype.h |
| 4243 |
plugins/cfpython/include/cfpython_archetype_private.h |
| 4244 |
plugins/cfpython/include/cfpython.h |
| 4245 |
plugins/cfpython/include/cfpython_map.h |
| 4246 |
plugins/cfpython/include/cfpython_map_private.h |
| 4247 |
plugins/cfpython/include/cfpython_object.h |
| 4248 |
plugins/cfpython/include/cfpython_object_private.h |
| 4249 |
plugins/cfpython/include/cfpython_party.h |
| 4250 |
plugins/cfpython/include/cfpython_party_private.h |
| 4251 |
plugins/cfpython/include/cfpython_region.h |
| 4252 |
plugins/cfpython/include/cfpython_region_private.h |
| 4253 |
plugins/cfrhg/cfrhg.c |
| 4254 |
plugins/citylife/citylife.c |
| 4255 |
plugins/common/hashtable.c |
| 4256 |
plugins/common/include/plugin_common.h |
| 4257 |
plugins/common/plugin_common.c |
| 4258 |
plugins/template/include/plugin_template.h |
| 4259 |
plugins/template/plugin_template.c |
| 4260 |
random_maps/floor.c |
| 4261 |
random_maps/maze_gen.c |
| 4262 |
random_maps/rproto.h |
| 4263 |
random_maps/standalone.c |
| 4264 |
random_maps/treasure.c |
| 4265 |
server/alchemy.c |
| 4266 |
server/apply.c |
| 4267 |
server/attack.c |
| 4268 |
server/build_map.c |
| 4269 |
server/c_chat.c |
| 4270 |
server/c_misc.c |
| 4271 |
server/c_object.c |
| 4272 |
server/c_party.c |
| 4273 |
server/c_wiz.c |
| 4274 |
server/disease.c |
| 4275 |
server/gods.c |
| 4276 |
server/hiscore.c |
| 4277 |
server/init.c |
| 4278 |
server/login.c |
| 4279 |
server/monster.c |
| 4280 |
server/move.c |
| 4281 |
server/player.c |
| 4282 |
server/plugins.c |
| 4283 |
server/server.c |
| 4284 |
server/shop.c |
| 4285 |
server/skills.c |
| 4286 |
server/skill_util.c |
| 4287 |
server/spell_attack.c |
| 4288 |
server/spell_effect.c |
| 4289 |
server/spell_util.c |
| 4290 |
server/swap.c |
| 4291 |
server/time.c |
| 4292 |
server/timers.c |
| 4293 |
server/win32.c |
| 4294 |
socket/info.c |
| 4295 |
socket/init.c |
| 4296 |
socket/item.c |
| 4297 |
socket/loop.c |
| 4298 |
socket/request.c |
| 4299 |
socket/sounds.c |
| 4300 |
test/bugs/bugtrack/check_1727944.c |
| 4301 |
test/toolkit/toolkit_common.c |
| 4302 |
test/toolkit/toolkit_crossedit.c |
| 4303 |
test/toolkit/toolkit_map.c |
| 4304 |
test/toolkit/toolkit_random_maps.c |
| 4305 |
test/toolkit/toolkit_server.c |
| 4306 |
test/toolkit/toolkit_socket.c |
| 4307 |
test/unit/common/check_arch.c |
| 4308 |
test/unit/common/check_item.c |
| 4309 |
test/unit/common/check_loader.c |
| 4310 |
test/unit/common/check_object.c |
| 4311 |
test/unit/common/check_shstr.c |
| 4312 |
test/unit/common/stubs_common.c |
| 4313 |
test/unit/random_maps/stubs_random.c |
| 4314 |
test/unit/server/check_attack.c |
| 4315 |
test/unit/server/check_c_object.c |
| 4316 |
test/unit/server/check_c_party.c |
| 4317 |
test/unit/socket/stubs_socket.c |
| 4318 |
types/altar/altar.c |
| 4319 |
types/armour_improver/armour_improver.c |
| 4320 |
types/book/book.c |
| 4321 |
types/button/button.c |
| 4322 |
types/cf_handle/cf_handle.c |
| 4323 |
types/check_inv/check_inv.c |
| 4324 |
types/clock/clock.c |
| 4325 |
types/common/common_apply.c |
| 4326 |
types/common/describe.c |
| 4327 |
types/common/projectile.c |
| 4328 |
types/container/container.c |
| 4329 |
types/converter/converter.c |
| 4330 |
types/deep_swamp/deep_swamp.c |
| 4331 |
types/director/director.c |
| 4332 |
types/exit/exit.c |
| 4333 |
types/food/food.c |
| 4334 |
types/hole/hole.c |
| 4335 |
types/identify_altar/identify_altar.c |
| 4336 |
types/lamp/lamp.c |
| 4337 |
types/legacy/legacy_describe.c |
| 4338 |
types/lighter/lighter.c |
| 4339 |
types/marker/marker.c |
| 4340 |
types/pedestal/pedestal.c |
| 4341 |
types/player_mover/player_mover.c |
| 4342 |
types/poison/poison.c |
| 4343 |
types/potion/potion.c |
| 4344 |
types/power_crystal/power_crystal.c |
| 4345 |
types/savebed/savebed.c |
| 4346 |
types/scroll/scroll.c |
| 4347 |
types/shop_inventory/shop_inventory.c |
| 4348 |
types/shop_mat/shop_mat.c |
| 4349 |
types/sign/sign.c |
| 4350 |
types/skillscroll/skillscroll.c |
| 4351 |
types/spellbook/spellbook.c |
| 4352 |
types/spell_effect/spell_effect.c |
| 4353 |
types/spinner/spinner.c |
| 4354 |
types/transport/transport.c |
| 4355 |
types/trap/common_trap.c |
| 4356 |
types/trapdoor/trapdoor.c |
| 4357 |
types/treasure/treasure.c |
| 4358 |
types/trigger_altar/trigger_altar.c |
| 4359 |
types/trigger_button/trigger_button.c |
| 4360 |
types/trigger_pedestal/trigger_pedestal.c |
| 4361 |
types/trigger/trigger.c |
| 4362 |
types/weapon_improver/weapon_improver.c |
| 4363 |
utils/bwp.c |
| 4364 |
utils/gridarta-types-convert.c |
| 4365 |
utils/mapper.c |
| 4366 |
Raphaël Quinet 2008-07-20 |
| 4367 |
|
| 4368 |
Style fixes in files that were using foo[ bar ] instead of foo[bar], slight |
| 4369 |
reformatting of Win32 code. There were only 30 occurences of foo[ bar ] among |
| 4370 |
3958 lines using array indexes or declarations, so it is clear that the common |
| 4371 |
style is to avoid spaces inside the brackets. |
| 4372 |
common/object.c |
| 4373 |
plugins/cfnewspaper/cfnewspaper.c |
| 4374 |
server/c_party.c |
| 4375 |
server/win32.c |
| 4376 |
server/c_misc.c |
| 4377 |
server/c_object.c |
| 4378 |
server/apply.c |
| 4379 |
socket/info.c |
| 4380 |
utils/mapper.c |
| 4381 |
Raphaël Quinet 2008-07-20 |
| 4382 |
|
| 4383 |
Win32 compilation fixes. |
| 4384 |
include/win32.h: some #define to fix things. |
| 4385 |
make_win32/crossfire32.dsp: add missing files. |
| 4386 |
make_win32/plugin_python/plugin_python.dsp: add missing files. |
| 4387 |
socket/loop.c: function doesn't exist, so we'll suppose the socket is ok for now. |
| 4388 |
Nicolas Weeger 2008-07-19 |
| 4389 |
|
| 4390 |
Fix for bug #2017790 "Cannot build talking books, listening books or signs". |
| 4391 |
Fixed the incorrect usage of the function can_build_over(), refactored and |
| 4392 |
simplified the code, made functions static, added test to prevent the same wall |
| 4393 |
from being rebuilt several times, do not remove the marking rune prematurely if |
| 4394 |
a listening book cannot be built. |
| 4395 |
include/sproto.h |
| 4396 |
server/build_map.c |
| 4397 |
Raphaël Quinet 2008-07-19 |
| 4398 |
|
| 4399 |
Fix bug #2009686 "party password does not work if 8 characters long". 8 chars |
| 4400 |
long passwords broke with party_rejoin to auto rejoin on login due to 9 char |
| 4401 |
buffer and assuming the last char would always be an \n. |
| 4402 |
server/login.c |
| 4403 |
Arvid Norlander 2008-07-18 |
| 4404 |
|
| 4405 |
Fix bug #2017648 "applying devourer weap causes crash", this was a division by |
| 4406 |
zero bug that affected any "personalized blessings" weapons with a willpower in |
| 4407 |
the range 0-1000. Also fix some minor issues in the same code block (reordering |
| 4408 |
tests and reusing a variable instead of fetching it using get_ob_key_value |
| 4409 |
twice). |
| 4410 |
server/apply.c |
| 4411 |
Arvid Norlander 2008-07-17 |
| 4412 |
|
| 4413 |
In debug log message, check for null value and substitute as needed - it is |
| 4414 |
not universal that printf("%s", NULL) will not crash. |
| 4415 |
MSW 2008-07-07 |
| 4416 |
|
| 4417 |
Fix for bug #2009802 "alchemy experience not stored correctly": Remove useless |
| 4418 |
and dangerous casts to uint16 because both source and destination variables |
| 4419 |
are of type int, and the experience points for several recipes do not fit in |
| 4420 |
16 bits. |
| 4421 |
common/recipe.c |
| 4422 |
Raphaël Quinet 2008-07-03 |
| 4423 |
|
| 4424 |
Partially update metaserver specification. |
| 4425 |
doc/metaserver |
| 4426 |
Andreas Kirschbaum 2008-06-27 |
| 4427 |
|
| 4428 |
Don't reset image checksum. |
| 4429 |
common/image.c |
| 4430 |
Nicolas Weeger 2008-06-21 |
| 4431 |
|
| 4432 |
Fix for bug #1990016 "No message when using skills over an empty cauldron" |
| 4433 |
server/alchemy.c |
| 4434 |
Raphaël Quinet 2008-06-14 |
| 4435 |
|
| 4436 |
Add missing newlines in copyright header in some plugin source/header files. |
| 4437 |
plugins/cfpython/include/cfpython.h |
| 4438 |
plugins/cfpython/include/cfpython_object_private.h |
| 4439 |
plugins/cfpython/include/cfpython_map.h |
| 4440 |
plugins/cfpython/cfpython_map.c |
| 4441 |
plugins/cfnewspaper/cfnewspaper.c |
| 4442 |
Arvid Norlander 2008-06-13 |
| 4443 |
|
| 4444 |
Reformat all header files in include/ to fit with current coding style standard, |
| 4445 |
a combination of using the astyle tool and manual review afterwards. |
| 4446 |
include/define.h |
| 4447 |
include/treasure.h |
| 4448 |
include/commands.h |
| 4449 |
include/win32.h |
| 4450 |
include/shstr.h |
| 4451 |
include/timers.h |
| 4452 |
include/config.h |
| 4453 |
include/object.h |
| 4454 |
include/loader.h |
| 4455 |
include/attack.h |
| 4456 |
include/race.h |
| 4457 |
include/logger.h |
| 4458 |
include/newserver.h |
| 4459 |
include/image.h |
| 4460 |
include/ob_methods.h |
| 4461 |
include/re-cmp.h |
| 4462 |
include/living.h |
| 4463 |
include/book.h |
| 4464 |
include/player.h |
| 4465 |
include/plugin.h |
| 4466 |
include/material.h |
| 4467 |
include/metaserver2.h |
| 4468 |
include/spellist.h |
| 4469 |
include/global.h |
| 4470 |
include/skills.h |
| 4471 |
include/spells.h |
| 4472 |
include/includes.h |
| 4473 |
include/god.h |
| 4474 |
include/map.h |
| 4475 |
include/tod.h |
| 4476 |
include/newclient.h |
| 4477 |
Arvid Norlander 2008-06-13 |
| 4478 |
|
| 4479 |
First step in fixing bug #1992235 (citylife/rabies potential DOS). Make citylife |
| 4480 |
NPCs undead. |
| 4481 |
plugins/citylife/citylife.c |
| 4482 |
Arvid Norlander 2008-06-12 |
| 4483 |
|
| 4484 |
Reformat all files in server/ to fit with current coding style standard, a |
| 4485 |
combination of using the astyle tool and manual review afterwards. |
| 4486 |
server/c_range.c |
| 4487 |
server/weather.c |
| 4488 |
server/c_party.c |
| 4489 |
server/commands.c |
| 4490 |
server/win32.c |
| 4491 |
server/init.c |
| 4492 |
server/daemon.c |
| 4493 |
server/timers.c |
| 4494 |
server/spell_attack.c |
| 4495 |
server/attack.c |
| 4496 |
server/c_move.c |
| 4497 |
server/rune.c |
| 4498 |
server/shop.c |
| 4499 |
server/swap.c |
| 4500 |
server/pets.c |
| 4501 |
server/skill_util.c |
| 4502 |
server/spell_util.c |
| 4503 |
server/disease.c |
| 4504 |
server/c_chat.c |
| 4505 |
server/alchemy.c |
| 4506 |
server/resurrection.c |
| 4507 |
server/c_new.c |
| 4508 |
server/player.c |
| 4509 |
server/gods.c |
| 4510 |
server/build_map.c |
| 4511 |
server/c_misc.c |
| 4512 |
server/time.c |
| 4513 |
server/ban.c |
| 4514 |
server/skills.c |
| 4515 |
server/move.c |
| 4516 |
server/server.c |
| 4517 |
server/c_object.c |
| 4518 |
server/c_wiz.c |
| 4519 |
server/plugins.c |
| 4520 |
server/apply.c |
| 4521 |
server/monster.c |
| 4522 |
server/spell_effect.c |
| 4523 |
server/hiscore.c |
| 4524 |
Arvid Norlander 2008-06-12 |
| 4525 |
|
| 4526 |
Reformat all files in random_maps/ to fit with current coding style standard, a |
| 4527 |
combination of using the astyle tool and manual review afterwards. |
| 4528 |
random_maps/wall.c |
| 4529 |
random_maps/style.c |
| 4530 |
random_maps/snake.c |
| 4531 |
random_maps/door.c |
| 4532 |
random_maps/room_gen_onion.c |
| 4533 |
random_maps/exit.c |
| 4534 |
random_maps/square_spiral.c |
| 4535 |
random_maps/random_map.c |
| 4536 |
random_maps/rogue_layout.c |
| 4537 |
random_maps/room_gen_spiral.c |
| 4538 |
random_maps/test.c |
| 4539 |
random_maps/special.c |
| 4540 |
random_maps/floor.c |
| 4541 |
random_maps/maze_gen.c |
| 4542 |
random_maps/monster.c |
| 4543 |
random_maps/standalone.c |
| 4544 |
random_maps/expand2x.c |
| 4545 |
random_maps/treasure.c |
| 4546 |
random_maps/decor.c |
| 4547 |
Arvid Norlander 2008-06-12 |
| 4548 |
|
| 4549 |
Reformat all files in socket/ to fit with current coding style standard, a |
| 4550 |
combination of using the astyle tool and manual review afterwards. Also fix |
| 4551 |
copy-and-paste typo from svn output in changelog below. |
| 4552 |
socket/item.c |
| 4553 |
socket/image.c |
| 4554 |
socket/init.c |
| 4555 |
socket/request.c |
| 4556 |
socket/loop.c |
| 4557 |
socket/lowlevel.c |
| 4558 |
socket/info.c |
| 4559 |
socket/sounds.c |
| 4560 |
socket/metaserver.c |
| 4561 |
Arvid Norlander 2008-06-12 |
| 4562 |
|
| 4563 |
Reformat common/loader.l a bit too. Update info in common/README. Clean up |
| 4564 |
some trailing whitespaces in some header files. |
| 4565 |
common/loader.l |
| 4566 |
common/README |
| 4567 |
make_win32/plugin_python/resource.h |
| 4568 |
make_win32/resource.h |
| 4569 |
Arvid Norlander 2008-06-12 |
| 4570 |
|
| 4571 |
Reformat all files in common/ to fit with current coding style standard, a |
| 4572 |
combination of using the astyle tool and manual review afterwards. |
| 4573 |
common/item.c |
| 4574 |
common/readable.c |
| 4575 |
common/dialog.c |
| 4576 |
common/shstr.c |
| 4577 |
common/object.c |
| 4578 |
common/languages.c |
| 4579 |
common/button.c |
| 4580 |
common/holy.c |
| 4581 |
common/logger.c |
| 4582 |
common/image.c |
| 4583 |
common/re-cmp.c |
| 4584 |
common/ob_methods.c |
| 4585 |
common/region.c |
| 4586 |
common/living.c |
| 4587 |
common/info.c |
| 4588 |
common/player.c |
| 4589 |
common/exp.c |
| 4590 |
common/stringbuffer.c |
| 4591 |
common/recipe.c |
| 4592 |
common/friend.c |
| 4593 |
common/map.c |
| 4594 |
common/arch.c |
| 4595 |
common/links.c |
| 4596 |
common/porting.c |
| 4597 |
common/ob_types.c |
| 4598 |
common/anim.c |
| 4599 |
common/treasure.c |
| 4600 |
common/glue.c |
| 4601 |
common/los.c |
| 4602 |
Arvid Norlander 2008-06-12 |
| 4603 |
|
| 4604 |
Get rid of a GCC warning, fix a typo in a comment. |
| 4605 |
include/libproto.h |
| 4606 |
common/loader.l |
| 4607 |
server/time.c |
| 4608 |
Arvid Norlander 2008-06-12 |
| 4609 |
|
| 4610 |
Reformat some files to fit with current coding style standard, a combination of |
| 4611 |
astyle and manual review afterwards. |
| 4612 |
common/utils.c |
| 4613 |
common/init.c |
| 4614 |
common/time.c |
| 4615 |
common/porting.c |
| 4616 |
Arvid Norlander 2008-06-11 |
| 4617 |
|
| 4618 |
Remove some auto generated (by autoconf/automake) files from svn. Updated |
| 4619 |
svn:ignore to match. Also updated svn:ignore for other places. |
| 4620 |
Removed: |
| 4621 |
utils/depcomp |
| 4622 |
utils/config.guess |
| 4623 |
utils/config.sub |
| 4624 |
utils/mkinstalldirs |
| 4625 |
utils/missing |
| 4626 |
utils/install-sh |
| 4627 |
Property change on: |
| 4628 |
. |
| 4629 |
utils |
| 4630 |
test/bugs/bugtrack |
| 4631 |
Arvid Norlander 2008-06-11 |
| 4632 |
|
| 4633 |
Reformat some files to fit with current coding style standard, a combination of |
| 4634 |
astyle and manual review afterwards. Also fix bad date in ChangeLog I entered |
| 4635 |
below (copy and paste blergh). |
| 4636 |
server/init.c |
| 4637 |
server/disease.c |
| 4638 |
server/login.c |
| 4639 |
server/main.c |
| 4640 |
Arvid Norlander 2008-06-11 |
| 4641 |
|
| 4642 |
Reformat two files to fit with current coding style standard, a combination of |
| 4643 |
astyle and manual review afterwards. |
| 4644 |
server/move.c |
| 4645 |
server/server.c |
| 4646 |
Arvid Norlander 2008-06-11 |
| 4647 |
|
| 4648 |
Prevent running the crossfire server as root on *nix systems. Give an explaining |
| 4649 |
error message. It will also prevent running it as suid (intentional). |
| 4650 |
server/server.c |
| 4651 |
Arvid Norlander 2008-06-11 |
| 4652 |
|
| 4653 |
Temporary work around a crash in move_disease() that is very hard to reproduce, |
| 4654 |
and I haven't managed to find the cause for. |
| 4655 |
server/disease.c |
| 4656 |
Arvid Norlander 2008-06-11 |
| 4657 |
|
| 4658 |
Make more functions and variables in plugins static. Clean up some indention in plugins. |
| 4659 |
plugins/cflogger/cflogger.c |
| 4660 |
plugins/cfanim/include/cfanim.h |
| 4661 |
plugins/cfanim/include/cfanim_proto.h |
| 4662 |
plugins/cfanim/cfanim.c |
| 4663 |
plugins/cfnewspaper/cfnewspaper.c |
| 4664 |
Arvid Norlander 2008-06-05 |
| 4665 |
|
| 4666 |
Clean up in plugins, fix a lot of gcc warnings (in plugins), update prototype |
| 4667 |
headers in plugins, make some functions static. Also update build system for |
| 4668 |
cflogger to make it not include common plugin stuff in header. Followed example |
| 4669 |
set by cfnewspaper's Makefile.am. Make the template plugin include prototype |
| 4670 |
header. (It is a good idea to do so, for various reasons.) Also add some missing |
| 4671 |
newlines at end of copyright header comments in some files. Also make some |
| 4672 |
variables const (in python plugin) in order to fix gcc warnings and to make |
| 4673 |
code cleaner (a string literal is always a const char* in C90 or later, but |
| 4674 |
char* is allowed for compatibility reasons, though it will actually be a const). |
| 4675 |
configure.ac |
| 4676 |
plugins/cflogger/include/cflogger_proto.h |
| 4677 |
plugins/cflogger/include/cflogger.h |
| 4678 |
plugins/cflogger/Makefile.am |
| 4679 |
plugins/cflogger/cflogger.c |
| 4680 |
plugins/citylife/citylife.c |
| 4681 |
plugins/cfrhg/cfrhg.c |
| 4682 |
plugins/cfpython/include/cfpython_proto.h |
| 4683 |
plugins/cfpython/include/cfpython_object.h |
| 4684 |
plugins/cfpython/cfpython.c |
| 4685 |
plugins/template/create_plugin.sh |
| 4686 |
plugins/template/plugin_template.c |
| 4687 |
plugins/cfnewspaper/include/cfnewspaper.h |
| 4688 |
plugins/cfnewspaper/include/cfnewspaper_proto.h |
| 4689 |
plugins/cfnewspaper/cfnewspaper.c |
| 4690 |
Added: |
| 4691 |
plugins/citylife/include/citylife_proto.h |
| 4692 |
plugins/cfrhg/include/cfrhg_proto.h |
| 4693 |
Removed: |
| 4694 |
plugins/cflogger/include/Makefile.am |
| 4695 |
Arvid Norlander 2008-06-04 |
| 4696 |
|
| 4697 |
Spellcheck and update documentation. Updated CVS commit guide lines to refer |
| 4698 |
to SVN (and current practice). Added missing docs for "music" command to |
| 4699 |
protocol docs. |
| 4700 |
doc/Developers/objects |
| 4701 |
doc/Developers/mapguide |
| 4702 |
doc/Developers/protocol |
| 4703 |
doc/Developers/key-value |
| 4704 |
doc/Developers/spells |
| 4705 |
doc/Developers/svn |
| 4706 |
doc/Developers/README |
| 4707 |
doc/Developers/map-technical |
| 4708 |
doc/Developers/random-maps |
| 4709 |
Moved: |
| 4710 |
doc/Developers/cvs to doc/Developers/svn |
| 4711 |
Arvid Norlander 2008-06-02 |
| 4712 |
|
| 4713 |
Add missing call to init_gods in check_item unit test that caused a crash at |
| 4714 |
-O1 or higher (sometimes). That however broke other parts of the test suite |
| 4715 |
that depends on a certain sequence of random numbers. (Very brittle code!) Fix |
| 4716 |
so it matches the new generated random order. |
| 4717 |
test/unit/common/check_item.c |
| 4718 |
Arvid Norlander 2008-06-01 |
| 4719 |
|
| 4720 |
Add some missing "extern" keywords that caused warnings. Change some EXTERN to |
| 4721 |
extern (as EXTERN is undefined in some files, but that caused issues in a few |
| 4722 |
cases). Add some missing "const" keywords to devel/devel.c and fix a typo in |
| 4723 |
a comment. Remove some unused variables from random_maps. |
| 4724 |
include/timers.h |
| 4725 |
include/global.h |
| 4726 |
devel/devel.c |
| 4727 |
random_maps/room_gen_onion.c |
| 4728 |
random_maps/room_gen_spiral.c |
| 4729 |
server/timers.c |
| 4730 |
Arvid Norlander 2008-06-01 |
| 4731 |
|
| 4732 |
Set svn:eol-style to native on *.c and *.h files that were missing it. |
| 4733 |
server/ob_methods.c |
| 4734 |
server/ob_types.c |
| 4735 |
test/unit/server/comet_perf.c |
| 4736 |
test/bugs/bugtrack/check_1727944.c |
| 4737 |
plugins/cflogger/include/cflogger_proto.h |
| 4738 |
plugins/cflogger/include/cflogger.h |
| 4739 |
plugins/cflogger/cflogger.c |
| 4740 |
plugins/citylife/include/citylife.h |
| 4741 |
plugins/citylife/citylife.c |
| 4742 |
plugins/cfrhg/include/cfrhg.h |
| 4743 |
plugins/cfrhg/cfrhg.c |
| 4744 |
plugins/cfpython/cjson.c |
| 4745 |
plugins/cfnewspaper/include/cfnewspaper.h |
| 4746 |
plugins/cfnewspaper/include/cfnewspaper_proto.h |
| 4747 |
plugins/cfnewspaper/cfnewspaper.c |
| 4748 |
include/dialog.h |
| 4749 |
include/languages.h |
| 4750 |
include/image.h |
| 4751 |
include/ob_methods.h |
| 4752 |
include/typesproto.h |
| 4753 |
include/metaserver2.h |
| 4754 |
include/stringbuffer.h |
| 4755 |
include/ob_types.h |
| 4756 |
common/dialog.c |
| 4757 |
common/languages.c |
| 4758 |
common/ob_methods.c |
| 4759 |
common/stringbuffer.c |
| 4760 |
common/ob_types.c |
| 4761 |
utils/mapper.c |
| 4762 |
utils/gridarta-types-convert.c |
| 4763 |
utils/bwp.c |
| 4764 |
types/gate/gate.c |
| 4765 |
types/marker/marker.c |
| 4766 |
types/player_changer/player_changer.c |
| 4767 |
types/shop_inventory/shop_inventory.c |
| 4768 |
types/food/food.c |
| 4769 |
types/lamp/lamp.c |
| 4770 |
types/arrow/arrow.c |
| 4771 |
types/book/book.c |
| 4772 |
types/peacemaker/peacemaker.c |
| 4773 |
types/identify_altar/identify_altar.c |
| 4774 |
types/trigger_button/trigger_button.c |
| 4775 |
types/pedestal/pedestal.c |
| 4776 |
types/cf_handle/cf_handle.c |
| 4777 |
types/poisoning/poisoning.c |
| 4778 |
types/trap/common_trap.c |
| 4779 |
types/trap/trap.c |
| 4780 |
types/trap/rune.c |
| 4781 |
types/duplicator/duplicator.c |
| 4782 |
types/thrown_object/thrown_object.c |
| 4783 |
types/poison/poison.c |
| 4784 |
types/converter/converter.c |
| 4785 |
types/detector/detector.c |
| 4786 |
types/shop_mat/shop_mat.c |
| 4787 |
types/director/director.c |
| 4788 |
types/weapon_improver/weapon_improver.c |
| 4789 |
types/spinner/spinner.c |
| 4790 |
types/blindness/blindness.c |
| 4791 |
types/container/container.c |
| 4792 |
types/trigger_pedestal/trigger_pedestal.c |
| 4793 |
types/deep_swamp/deep_swamp.c |
| 4794 |
types/teleporter/teleporter.c |
| 4795 |
types/trigger_altar/trigger_altar.c |
| 4796 |
types/hole/hole.c |
| 4797 |
types/armour_improver/armour_improver.c |
| 4798 |
types/common/describe.c |
| 4799 |
types/common/projectile.c |
| 4800 |
types/common/common_apply.c |
| 4801 |
types/check_inv/check_inv.c |
| 4802 |
types/spellbook/spellbook.c |
| 4803 |
types/trapdoor/trapdoor.c |
| 4804 |
types/treasure/treasure.c |
| 4805 |
types/clock/clock.c |
| 4806 |
types/spell_effect/spell_effect.c |
| 4807 |
types/transport/transport.c |
| 4808 |
types/power_crystal/power_crystal.c |
| 4809 |
types/skillscroll/skillscroll.c |
| 4810 |
types/lighter/lighter.c |
| 4811 |
types/scroll/scroll.c |
| 4812 |
types/mood_floor/mood_floor.c |
| 4813 |
types/creator/creator.c |
| 4814 |
types/sign/sign.c |
| 4815 |
types/altar/altar.c |
| 4816 |
types/trigger/trigger.c |
| 4817 |
types/legacy/process.c |
| 4818 |
types/legacy/legacy_describe.c |
| 4819 |
types/legacy/apply.c |
| 4820 |
types/player_mover/player_mover.c |
| 4821 |
types/potion/potion.c |
| 4822 |
types/exit/exit.c |
| 4823 |
types/savebed/savebed.c |
| 4824 |
types/button/button.c |
| 4825 |
Arvid Norlander 2008-06-01 |
| 4826 |
|
| 4827 |
Update 'make collect' so that it does not complain about files that are not |
| 4828 |
really junk: CHANGES, TODO, *.xcf* (including *.xcf.gz or *.xcf.bz2), *.doc |
| 4829 |
and *.txt. |
| 4830 |
lib/collect.pl.in |
| 4831 |
Raphaël Quinet 2008-06-01 |
| 4832 |
|
| 4833 |
Scripted removal of trailing whitespaces, also removing excessive newlines at |
| 4834 |
end of files (one final newline should be all). |
| 4835 |
plugins/cfpython/cjson.c |
| 4836 |
socket/metaserver.c |
| 4837 |
common/languages.c |
| 4838 |
common/button.c |
| 4839 |
common/time.c |
| 4840 |
random_maps/treasure.c |
| 4841 |
server/spell_attack.c |
| 4842 |
server/resurrection.c |
| 4843 |
server/player.c |
| 4844 |
server/skills.c |
| 4845 |
server/move.c |
| 4846 |
server/c_object.c |
| 4847 |
server/hiscore.c |
| 4848 |
INSTALL |
| 4849 |
Arvid Norlander 2008-06-01 |
| 4850 |
|
| 4851 |
Change even more sprintf to snprintf. |
| 4852 |
socket/init.c |
| 4853 |
socket/loop.c |
| 4854 |
socket/info.c |
| 4855 |
random_maps/random_map.c |
| 4856 |
server/c_party.c |
| 4857 |
server/init.c |
| 4858 |
server/rune.c |
| 4859 |
server/swap.c |
| 4860 |
server/pets.c |
| 4861 |
server/disease.c |
| 4862 |
server/alchemy.c |
| 4863 |
server/resurrection.c |
| 4864 |
server/gods.c |
| 4865 |
server/player.c |
| 4866 |
server/c_misc.c |
| 4867 |
server/ban.c |
| 4868 |
server/skills.c |
| 4869 |
server/login.c |
| 4870 |
server/c_wiz.c |
| 4871 |
server/spell_effect.c |
| 4872 |
server/hiscore.c |
| 4873 |
Arvid Norlander 2008-05-31 |
| 4874 |
|
| 4875 |
Change some more sprintf to snprintf. |
| 4876 |
common/readable.c |
| 4877 |
common/languages.c |
| 4878 |
common/holy.c |
| 4879 |
common/logger.c |
| 4880 |
common/image.c |
| 4881 |
common/region.c |
| 4882 |
common/living.c |
| 4883 |
common/exp.c |
| 4884 |
common/recipe.c |
| 4885 |
common/arch.c |
| 4886 |
common/porting.c |
| 4887 |
common/anim.c |
| 4888 |
common/treasure.c |
| 4889 |
socket/metaserver.c |
| 4890 |
types/food/food.c |
| 4891 |
types/weapon_improver/weapon_improver.c |
| 4892 |
Arvid Norlander 2008-05-31 |
| 4893 |
|
| 4894 |
Change some sprintf to snprintf. |
| 4895 |
socket/image.c |
| 4896 |
socket/item.c |
| 4897 |
socket/request.c |
| 4898 |
Arvid Norlander 2008-05-30 |
| 4899 |
|
| 4900 |
Fix use of uninitialised variables in the plugin API and remove some dead code |
| 4901 |
from the plugin API (as in: never called from plugin_common.c) Also cleanup |
| 4902 |
indention in map.h, change order of members in some structs in face.h to pack |
| 4903 |
them a bit better. |
| 4904 |
include/face.h |
| 4905 |
include/map.h |
| 4906 |
plugins/common/plugin_common.c |
| 4907 |
server/plugins.c |
| 4908 |
Arvid Norlander 2008-05-29 |
| 4909 |
|
| 4910 |
Fix the member order in global.h to match the one in init.c. Fix some extern |
| 4911 |
with wrong type (was char* instead of const char* const). Change some prototypes |
| 4912 |
to use const pointers. Change to strtol if it exists, and only fall back to |
| 4913 |
strtol_local if it doesn't. |
| 4914 |
common/object.c |
| 4915 |
common/porting.c |
| 4916 |
common/treasure.c |
| 4917 |
include/attack.h |
| 4918 |
include/global.h |
| 4919 |
include/libproto.h |
| 4920 |
include/sproto.h |
| 4921 |
server/login.c |
| 4922 |
server/spell_util.c |
| 4923 |
server/time.c |
| 4924 |
Arvid Norlander 2008-05-29 |
| 4925 |
|
| 4926 |
Fix a case of assigning and passing a string literal (const char*) as a char*. |
| 4927 |
Also pack one structure a bit better. |
| 4928 |
random_maps/random_map.c |
| 4929 |
random_maps/random_map.h |
| 4930 |
random_maps/rproto.h |
| 4931 |
random_maps/special.c |
| 4932 |
Arvid Norlander 2008-05-29 |
| 4933 |
|
| 4934 |
Make server send size and data in one packet, this fix is suboptimal though as |
| 4935 |
it uses memcpy to do so, it should use writev instead. |
| 4936 |
socket/lowlevel.c |
| 4937 |
Arvid Norlander 2008-05-29 |
| 4938 |
|
| 4939 |
Change the order of some members in some of the large and often used structs in |
| 4940 |
order to pack them better. This will mainly help on x86_64, but also a bit on x86. |
| 4941 |
No actual functionality change. Some structs could be packed even better but that |
| 4942 |
would destroy the logical sectioning of the members in groups. |
| 4943 |
include/living.h |
| 4944 |
include/map.h |
| 4945 |
include/newserver.h |
| 4946 |
include/object.h |
| 4947 |
include/player.h |
| 4948 |
Arvid Norlander 2008-05-27 |
| 4949 |
|
| 4950 |
Fix some more snprintf using a non-constant string as format parameter, and no |
| 4951 |
arguments to format string. Also change some more // comments to /**/, as crossfire |
| 4952 |
is C89 not C99. Add some missing prototypes to headers. Add missing value to a return. |
| 4953 |
Change from using strcasestr (GNU specific) to the already existing strcasestr_local |
| 4954 |
in one place. |
| 4955 |
plugins/cflogger/cflogger.c |
| 4956 |
plugins/cfnewspaper/cfnewspaper.c |
| 4957 |
plugins/common/include/plugin_common.h |
| 4958 |
server/hiscore.c |
| 4959 |
server/login.c |
| 4960 |
socket/lowlevel.c |
| 4961 |
server/move.c |
| 4962 |
server/player.c |
| 4963 |
server/plugins.c |
| 4964 |
server/server.c |
| 4965 |
server/shop.c |
| 4966 |
server/spell_effect.c |
| 4967 |
Arvid Norlander 2008-05-27 |
| 4968 |
|
| 4969 |
Fix some snprintf using a non-constant string as format parameter, and no |
| 4970 |
arguments to format string. Also change some // comments to /**/, as crossfire |
| 4971 |
is C89 not C99. |
| 4972 |
common/anim.c |
| 4973 |
common/init.c |
| 4974 |
common/map.c |
| 4975 |
common/readable.c |
| 4976 |
common/shstr.c |
| 4977 |
Arvid Norlander 2008-05-25 |
| 4978 |
|
| 4979 |
Removed unused .cvsignore files, after all we use SVN since a long time. |
| 4980 |
.cvsignore |
| 4981 |
*/.cvsignore |
| 4982 |
*/*/.cvsignore |
| 4983 |
*/*/*/.cvsignore |
| 4984 |
Arvid Norlander 2008-05-25 |
| 4985 |
|
| 4986 |
Add length parameter for some functions to be able to use snprintf instead of |
| 4987 |
sprintf in those. Fixed a char* that should have been const char* in plugin code. |
| 4988 |
Fixed some typos in protocol documentation. Also fixed indention in some code while |
| 4989 |
I was working on it anyway. |
| 4990 |
doc/Developers/protocol |
| 4991 |
include/sockproto.h |
| 4992 |
plugins/common/include/plugin_common.h |
| 4993 |
plugins/common/plugin_common.c |
| 4994 |
server/plugins.c |
| 4995 |
socket/info.c |
| 4996 |
socket/request.c |
| 4997 |
Arvid Norlander 2008-05-25 |
| 4998 |
|
| 4999 |
Cleanup the autoconf and automake stuff somewhat: |
| 5000 |
* Removed tests for X libraries (as the map editor is no longer a part of the server) |
| 5001 |
* Ran autoupdate to update the syntax (where it could do so). |
| 5002 |
* Add some missing checks |
| 5003 |
* Make check for gethostbyname try libc first, no need to get nsl version. |
| 5004 |
* Use AS_HELP_STRING to format help strings. |
| 5005 |
* General cleanup and reformatting to make it easier to maintain. |
| 5006 |
* Update automake syntax in some files. |
| 5007 |
acinclude.m4 |
| 5008 |
check-fragment.am |
| 5009 |
configure.ac |
| 5010 |
include/autoconf.h.in |
| 5011 |
test/toolkit/Makefile.am |
| 5012 |
Arvid Norlander 2008-05-24 |
| 5013 |
|
| 5014 |
Fix for bug #1965528. Not sure if it fixes all cases of the bug. |
| 5015 |
server/shop.c |
| 5016 |
Arvid Norlander 2008-05-21 |
| 5017 |
|
| 5018 |
Change a lot of static variables to static const, as they are never modified. |
| 5019 |
Also remove some non-needed nested (inside a function) extern. Also fix some |
| 5020 |
compiler warning in cfanim (on x86_64 int is not same size as long int!). |
| 5021 |
common/exp.c |
| 5022 |
common/logger.c |
| 5023 |
common/los.c |
| 5024 |
common/item.c |
| 5025 |
common/object.c |
| 5026 |
common/readable.c |
| 5027 |
common/time.c |
| 5028 |
common/treasure.c |
| 5029 |
plugins/cfanim/cfanim.c |
| 5030 |
server/c_object.c |
| 5031 |
server/c_misc.c |
| 5032 |
server/monster.c |
| 5033 |
server/player.c |
| 5034 |
server/server.c |
| 5035 |
socket/loop.c |
| 5036 |
socket/request.c |
| 5037 |
Arvid Norlander 2008-05-21 |
| 5038 |
|
| 5039 |
Fix wrong format string for 64-bit unsigned values. Fix confusing error log message |
| 5040 |
in shop code (confusing due to not refering to the correct function). |
| 5041 |
include/global.h |
| 5042 |
server/shop.c |
| 5043 |
Arvid Norlander 2008-05-21 |
| 5044 |
|
| 5045 |
Remove an unused static const array. Not referenced anywhere. |
| 5046 |
common/item.c |
| 5047 |
Arvid Norlander 2008-05-21 |
| 5048 |
|
| 5049 |
Add a 'message' command, that will display a message on the whole map the victim is on. |
| 5050 |
plugins/cfanim/cfanim.c |
| 5051 |
Nicolas Weeger 2008-05-20 |
| 5052 |
|
| 5053 |
Clean some log messages. Add the option to specify the animation to play |
| 5054 |
through the 'message' sent as part of the event. |
| 5055 |
plugins/cfanim/cfanim.c |
| 5056 |
plugins/cfanim/include/cfanim_proto.h |
| 5057 |
Nicolas Weeger 2008-05-20 |
| 5058 |
|
| 5059 |
The current configure.ac was already set to use the utils directory for auxillary |
| 5060 |
files, so the config.guess and config.sub in the top source directory were not |
| 5061 |
used, thus moved them to utils directory. (Before, locally created copies by |
| 5062 |
autogen.sh placed in utils/ would were used. Try removing them if svn complains |
| 5063 |
about already existing files). Also force update of all autoconf/automake files |
| 5064 |
to last versions. Also fix a minor issue with "inline" and "void" being in wrong |
| 5065 |
order in a function (gcc will handle it, but the C standard doesn't allow it). |
| 5066 |
INSTALL |
| 5067 |
common/map.c |
| 5068 |
utils/depcomp |
| 5069 |
utils/install-sh |
| 5070 |
utils/missing |
| 5071 |
utils/mkinstalldirs |
| 5072 |
Moved: |
| 5073 |
config.guess to utils/config.guess |
| 5074 |
config.sub to utils/config.sub |
| 5075 |
Arvid Norlander 2008-05-20 |
| 5076 |
|
| 5077 |
Fix some cases of using snprintf function with potentially untrusted data as |
| 5078 |
format parameter. Change two sprintf into snprintf. Add return value for all |
| 5079 |
code paths in a non-void returning function. |
| 5080 |
common/path.c |
| 5081 |
server/c_chat.c |
| 5082 |
server/c_misc.c |
| 5083 |
server/c_wiz.c |
| 5084 |
Arvid Norlander 2008-05-20 |
| 5085 |
|
| 5086 |
Update svn:ignore property for various directories in the server source, |
| 5087 |
in order to make it simpler to work with. |
| 5088 |
(Lots of directories in the source tree, too many to list here) |
| 5089 |
Arvid Norlander 2008-05-20 |
| 5090 |
|
| 5091 |
Apply Patch #1966455: Fix for cut off NPC dialog messages. |
| 5092 |
common/dialog.c |
| 5093 |
Arvid Norlander 2008-05-20 |
| 5094 |
|
| 5095 |
Apply Patch #1966113: Fix uninitialised range vector in monster.c. |
| 5096 |
server/monster.c |
| 5097 |
Arvid Norlander 2008-05-20 |
| 5098 |
|
| 5099 |
Increase base book max size, to try to get more various messages. |
| 5100 |
include/book.h |
| 5101 |
Nicolas Weeger 2008-05-19 |
| 5102 |
|
| 5103 |
Apply Patch #1967076: Fix crash in use command. |
| 5104 |
command/c_object.c |
| 5105 |
Arvid Norlander 2008-05-19 |
| 5106 |
|
| 5107 |
Apply patch #1965969: Unit test for common/path.c. |
| 5108 |
common/path.c |
| 5109 |
test/unit/common/check_path.c Makefile.am |
| 5110 |
Arvid Norlander 2008-05-17 |
| 5111 |
|
| 5112 |
Apply patch #1964563: Fix compile error when "MEMORY_DEBUG" is defined in config.h. |
| 5113 |
server/server.c |
| 5114 |
Arvid Norlander 2008-05-16 |
| 5115 |
|
| 5116 |
Apply patch #1964058: Fix missing \0 in buffer in add_object_to_socklist. |
| 5117 |
socket/item.c |
| 5118 |
Arvid Norlander 2008-05-16 |
| 5119 |
|
| 5120 |
Apply patch #1964051: Valgrind error fix: Bad format string. |
| 5121 |
lib/i18n/messages.en messages.fr |
| 5122 |
Arvid Norlander 2008-05-16 |
| 5123 |
|
| 5124 |
Fix incorrect boundary of the object type array, courtesy of Arvid Norlander. |
| 5125 |
include/define.h |
| 5126 |
Yann "gros" Chachkoff 2008-05-16 |
| 5127 |
|
| 5128 |
Fix memory leaks, courtesy Arvid Norlander. |
| 5129 |
common/dialog.c |
| 5130 |
Andreas Kirschbaum 2008-05-23 |
| 5131 |
|
| 5132 |
Added the possibility to build the server outside of its source directory. |
| 5133 |
plugins/citylife/Makefile.am |
| 5134 |
plugins/cfrhg/Makefile.am |
| 5135 |
plugins/template/Makefile.am |
| 5136 |
plugins/cfnewspaper/Makefile.am |
| 5137 |
Arvid Norlander 2008-05-14 |
| 5138 |
|
| 5139 |
Fixed bug #1962926 "Fix for crash on division by zero", courtesy of Arvid Norlander |
| 5140 |
common/item.c |
| 5141 |
Yann "gros" Chachkoff 2008-05-13 |
| 5142 |
|
| 5143 |
Removed 'context' stuff as it isn't used here. Clean event handling. |
| 5144 |
plugins/cfanim/cfanim.c |
| 5145 |
plugins/cfanim/include/cfanim.h cfanim_proto.h |
| 5146 |
Nicolas Weeger 2008-05-12 |
| 5147 |
|
| 5148 |
Add 'moveto' command, and 'byname' victim type. Fix potential memory leak. |
| 5149 |
Enable moves to take more than one tick. |
| 5150 |
doc/Developers/plugins.doc/cfanim/animfiles.txt |
| 5151 |
plugins/cfanim/cfanim.c |
| 5152 |
plugins/cfanim/include/cfanim.h cfanim_proto.h |
| 5153 |
Nicolas Weeger 2008-05-12 |
| 5154 |
|
| 5155 |
Wrapper for move_to(). Fix invalid move_to parameter order. |
| 5156 |
plugins/common/include/plugin_common.h |
| 5157 |
plugins/common/plugin_common.c |
| 5158 |
Nicolas Weeger 2008-05-12 |
| 5159 |
|
| 5160 |
Give access to find_string() to plugins. Fix invalid manual_apply parameter order. |
| 5161 |
include/sproto.h |
| 5162 |
server/plugins.c |
| 5163 |
Nicolas Weeger 2008-05-12 |
| 5164 |
|
| 5165 |
Detect correct prototype for strerror_r() courtesy Arvid Norlander. |
| 5166 |
common/porting.c |
| 5167 |
configure.ac |
| 5168 |
include/autoconf.h.in |
| 5169 |
include/libproto.h |
| 5170 |
Andreas Kirschbaum 2008-05-12 |
| 5171 |
|
| 5172 |
Ansi C compatibility improvements courtesy Arvid Norlander: |
| 5173 |
include/attack.h: do not redeclare variable |
| 5174 |
socket/lowlevel.c: use #include <errno.h> |
| 5175 |
(lots of files): use prototypes |
| 5176 |
Andreas Kirschbaum 2008-05-12 |
| 5177 |
|
| 5178 |
Fix possible buffer overflows courtesy Arvid Norlander. |
| 5179 |
common/init.c |
| 5180 |
Andreas Kirschbaum 2008-05-12 |
| 5181 |
|
| 5182 |
Give access to move_to() to plugins. |
| 5183 |
plugins/common/include/plugin_common.h |
| 5184 |
plugins/common/plugin_common.c |
| 5185 |
server/plugins.c |
| 5186 |
Nicolas Weeger 2008-05-12 |
| 5187 |
|
| 5188 |
Rewrite NPC communication system. See doc/objects 'J. NPC's Speak out' for more information, |
| 5189 |
or check doc/Developers/dialog.dox, or the maps/test/say map. |
| 5190 |
common/loader.l Makefile.am object.c |
| 5191 |
doc/Developers/mainpage.dox objects |
| 5192 |
include/define.h Makefile.am object.h libproto.h typesproto.h |
| 5193 |
server/c_chat.c monster.c |
| 5194 |
New files: |
| 5195 |
common/dialog.c |
| 5196 |
doc/Developers/dialog.dox |
| 5197 |
include/dialog.h |
| 5198 |
Nicolas Weeger 2008-05-11 |
| 5199 |
|
| 5200 |
Add 'move_to' function, that can be used later on for eg plugins |
| 5201 |
(should replace Python's CFMove). |
| 5202 |
include/sproto.h |
| 5203 |
server/monster.c move.c |
| 5204 |
Nicolas Weeger 2008-05-11 |
| 5205 |
|
| 5206 |
Merge NPC and MAGIC_EAR handling, add comments, fix prototype to use const. |
| 5207 |
include/sproto.h |
| 5208 |
server/monster.c |
| 5209 |
Nicolas Weeger 2008-05-11 |
| 5210 |
|
| 5211 |
Document a few things. |
| 5212 |
plugins/cfanim/cfanim.c |
| 5213 |
plugins/cfanim/include/cfanim_proto.h |
| 5214 |
Nicolas Weeger 2008-05-10 |
| 5215 |
|
| 5216 |
Fix bombs being really too powerful. |
| 5217 |
server/spell_attack.c: set the maxhp (for spell merging) for bombs too. |
| 5218 |
Nicolas Weeger 2008-05-10 |
| 5219 |
|
| 5220 |
Make the 'second' timemode work. Don't set FLAG_WIZ* on non player object. |
| 5221 |
Correctly remove event if unique. |
| 5222 |
plugins/cfanim/cfanim.c |
| 5223 |
plugins/cfanim/include/cfanim_proto.h |
| 5224 |
Nicolas Weeger 2008-05-10 |
| 5225 |
|
| 5226 |
Fix a few warnings. |
| 5227 |
include/sproto.h: add prototype for query_cost_string(). |
| 5228 |
test/toolkit/toolkit_common.c: make argument const. |
| 5229 |
Nicolas Weeger 2008-05-10 |
| 5230 |
|
| 5231 |
Rename some functions, fix documentation. |
| 5232 |
doc/Developers/login.dox |
| 5233 |
include/sockproto.h |
| 5234 |
server/init.c server.c |
| 5235 |
socket/init.c loop.c request.c |
| 5236 |
Nicolas Weeger 2008-05-10 |
| 5237 |
|
| 5238 |
Implement feature request #1961031: 'drop food' and 'drop flesh' buttons would be nice. |
| 5239 |
lib/help/dropall.{fr,en}: update help text. |
| 5240 |
server/c_object.c: extend 'dropall' to accept 'food' and 'flesh'. |
| 5241 |
Nicolas Weeger 2008-05-10 |
| 5242 |
|
| 5243 |
Fix bug #1846018: artifact monster graphics broken. |
| 5244 |
common/treasure.c: animation is part of things artifact can change. |
| 5245 |
lib/artifacts: add correct animations to monsters. |
| 5246 |
Nicolas Weeger 2008-05-09 |
| 5247 |
|
| 5248 |
|
| 5249 |
Also extract NPC messages for friendly living things. |
| 5250 |
utils/mapper.c |
| 5251 |
Nicolas Weeger 2008-05-08 |
| 5252 |
|
| 5253 |
Potential fix for bug #1928570: x-ray vision now needs a push start. |
| 5254 |
server/spell_effect.c: use FLAG_NO_FIX_PLAYER to not mess with our values. |
| 5255 |
Nicolas Weeger 2008-05-08 |
| 5256 |
|
| 5257 |
Fix a potential underflow, forbid players to create too powerful missiles. |
| 5258 |
server/spell_effect.c |
| 5259 |
Nicolas Weeger 2008-05-08 |
| 5260 |
|
| 5261 |
Remove unpaid items when returning a player to his savebed for map reset or |
| 5262 |
after server-specific timeout. |
| 5263 |
include/sproto.h |
| 5264 |
server/login.c player.c |
| 5265 |
Nicolas Weeger 2008-05-08 |
| 5266 |
|
| 5267 |
Generate NPC information page. |
| 5268 |
utils/mapper.c |
| 5269 |
Nicolas Weeger 2008-05-08 |
| 5270 |
|
| 5271 |
Better and more logical fix for bug #1936178: Trying to remove removed object causes server crash. |
| 5272 |
random_maps/treasure.c: remove doors after door replacing. |
| 5273 |
Nicolas Weeger 2008-05-08 |
| 5274 |
|
| 5275 |
Fix artifact reading to (kind of) trim strings. Fix add missing artifacts |
| 5276 |
to fix alchemy warning. |
| 5277 |
common/treasure.c |
| 5278 |
lib/artifacts |
| 5279 |
Nicolas Weeger 2008-05-08 |
| 5280 |
|
| 5281 |
Tentative fix for bug #1936178: Trying to remove removed object causes server crash. |
| 5282 |
random_maps/treasure.c: update doorlist to process when removing a door. |
| 5283 |
Nicolas Weeger 2008-05-08 |
| 5284 |
|
| 5285 |
Tentative fix for bug #1956908: bolt wc can overflow. |
| 5286 |
server/player.c: cap modifiers so we don't overflow wc. |
| 5287 |
Nicolas Weeger 2008-05-07 |
| 5288 |
|
| 5289 |
Fix bug #1929084: Wrong artifact stats on forged items. Use 'legal_artifact_combination' |
| 5290 |
to check that the item matches the artifact. |
| 5291 |
common/recipe.c treasure.c |
| 5292 |
include/libproto.h |
| 5293 |
Nicolas Weeger 2008-05-07 |
| 5294 |
|
| 5295 |
common/loader.l: remove obsolete code. |
| 5296 |
Nicolas Weeger 2008-05-07 |
| 5297 |
|
| 5298 |
Add min/max monster level information to maps. |
| 5299 |
utils/mapper.c |
| 5300 |
utils/templates/map_monster_before.template: added the fields to the default template. |
| 5301 |
Nicolas Weeger 2008-05-07 |
| 5302 |
|
| 5303 |
Remove unused #ifdef and useless LOG. |
| 5304 |
common/map.c |
| 5305 |
Nicolas Weeger 2008-05-06 |
| 5306 |
|
| 5307 |
Provide a more explicit message when attempting to write down a spell with |
| 5308 |
no marked scroll, as per bug #1910805. |
| 5309 |
server/skills.c |
| 5310 |
Yann Chachkoff 2008-04-20 |
| 5311 |
|
| 5312 |
New plugin: random house generator. Check cfrhg.c for details. |
| 5313 |
Still basic, but should be a good start. |
| 5314 |
configure.ac |
| 5315 |
plugins/Makefile.am |
| 5316 |
Added: |
| 5317 |
cfrhg/include/cfrhg.h |
| 5318 |
cfrhg/cfrhg.c Makefile.am |
| 5319 |
Nicolas Weeger 2008-04-12 |
| 5320 |
|
| 5321 |
Extract duplicator handling to its own type file. |
| 5322 |
common/button.c |
| 5323 |
include/sproto.h typesproto.h |
| 5324 |
random_maps/standalone.c |
| 5325 |
server/ob_types.c time.c |
| 5326 |
test/unit/common/stubs_common.c |
| 5327 |
test/unit/random_maps/stubs_random.c |
| 5328 |
test/unit/socket/stubs_socket.c |
| 5329 |
utils/bwp.c mapper.c |
| 5330 |
types/Makefile.am |
| 5331 |
New file: |
| 5332 |
types/duplicator/duplicator.c |
| 5333 |
Nicolas Weeger 2008-04-11 |
| 5334 |
|
| 5335 |
Extract detector handling to its own type file. |
| 5336 |
include/sproto.h typesproto.h |
| 5337 |
server/ob_types.c time.c |
| 5338 |
types/Makefile.am |
| 5339 |
types/legacy/process.c |
| 5340 |
New file: |
| 5341 |
types/detector/detector.c |
| 5342 |
Nicolas Weeger 2008-04-11 |
| 5343 |
|
| 5344 |
Extract mood floor handling to its own type file. |
| 5345 |
common/button.c |
| 5346 |
include/sproto.h typesproto.h |
| 5347 |
server/ob_types.c |
| 5348 |
types/Makefile.am |
| 5349 |
types/legacy/process.c |
| 5350 |
New file: |
| 5351 |
types/mood_floor/mood_floor.c |
| 5352 |
Nicolas Weeger 2008-04-09 |
| 5353 |
|
| 5354 |
Extract marker handling to its own type file. |
| 5355 |
common/button.c |
| 5356 |
include/sproto.h typesproto.h |
| 5357 |
random_maps/standalone.c |
| 5358 |
server/ob_types.c time.c |
| 5359 |
test/unit/common/stubs_common.c |
| 5360 |
test/unit/random_maps/stubs_random.c |
| 5361 |
test/unit/socket/stubs_socket.c |
| 5362 |
utils/bwp.c mapper.c |
| 5363 |
types/legacy/process.c |
| 5364 |
types/Makefile.am |
| 5365 |
New file: |
| 5366 |
types/marker/marker.c |
| 5367 |
Nicolas Weeger 2008-04-09 |
| 5368 |
|
| 5369 |
Extract creator handling to its own type file. |
| 5370 |
common/button.c |
| 5371 |
include/sproto.h typesproto.h |
| 5372 |
random_maps/standalone.c |
| 5373 |
server/ob_types.c time.c |
| 5374 |
test/unit/common/stubs_common.c |
| 5375 |
test/unit/random_maps/stubs_random.c |
| 5376 |
test/unit/socket/stubs_socket.c |
| 5377 |
utils/bwp.c mapper.c |
| 5378 |
types/legacy/process.c |
| 5379 |
types/Makefile.am |
| 5380 |
New file: |
| 5381 |
types/creator/creator.c |
| 5382 |
Nicolas Weeger 2008-04-09 |
| 5383 |
|
| 5384 |
Extract teleporter handling to its own type file. |
| 5385 |
common/button.c |
| 5386 |
include/sproto.h typesproto.h |
| 5387 |
random_maps/standalone.c |
| 5388 |
server/ob_types.c time.c |
| 5389 |
test/unit/common/stubs_common.c |
| 5390 |
test/unit/random_maps/stubs_random.c |
| 5391 |
test/unit/socket/stubs_socket.c |
| 5392 |
utils/bwp.c mapper.c |
| 5393 |
types/legacy/process.c |
| 5394 |
types/Makefile.am |
| 5395 |
New file: |
| 5396 |
types/teleporter/teleporter.c |
| 5397 |
Nicolas Weeger 2008-04-08 |
| 5398 |
|
| 5399 |
include/libproto.h: missing register_trigger prototype. |
| 5400 |
Nicolas Weeger 2008-04-08 |
| 5401 |
|
| 5402 |
New 'ob_trigger' object function. |
| 5403 |
common/ob_methods.c ob_types.c |
| 5404 |
include/libproto.h ob_methods.h |
| 5405 |
Nicolas Weeger 2008-04-08 |
| 5406 |
|
| 5407 |
Move most of the object system's logic to common, to prepare for more refactoring |
| 5408 |
and easier calling from the common library. |
| 5409 |
common/Makefile.am |
| 5410 |
include/libproto.h sproto.h |
| 5411 |
random_maps/standalone.c |
| 5412 |
server/ob_methods.c ob_types.c |
| 5413 |
test/unit/common/stubs_common.c |
| 5414 |
test/unit/random_maps/stubs_random.c |
| 5415 |
test/unit/socket/stubs_socket.c |
| 5416 |
utils/bwp.c mapper.c |
| 5417 |
Added files: |
| 5418 |
common/ob_methods.c ob_types.c: duplicated from server/ and cleaned |
| 5419 |
Nicolas Weeger 2008-04-08 |
| 5420 |
|
| 5421 |
Make type's type coherent. |
| 5422 |
common/object.c |
| 5423 |
include/libproto.h |
| 5424 |
Nicolas Weeger 2008-04-06 |
| 5425 |
|
| 5426 |
Move conversion to lower case to calling function. |
| 5427 |
server/c_new.c |
| 5428 |
Nicolas Weeger 2008-04-06 |
| 5429 |
|
| 5430 |
Link to quest's definition instead of the page itself. |
| 5431 |
utils/mapper.c |
| 5432 |
Nicolas Weeger 2008-04-02 |
| 5433 |
|
| 5434 |
Sort maps on the quest page. |
| 5435 |
utils/mapper.c |
| 5436 |
Nicolas Weeger 2008-04-02 |
| 5437 |
|
| 5438 |
Remove obsolete get_map_ob define, replaced by GET_MAP_OB. |
| 5439 |
common/button.c map.c utils.c |
| 5440 |
include/map.h |
| 5441 |
plugins/common/plugin_common.c |
| 5442 |
random_maps/decor.c exit.c special.c standalone.c style.c treasure.c wall.c |
| 5443 |
server/alchemy.c apply.c attack.c c_wiz.c disease.c monster.c move.c pets.c |
| 5444 |
player.c plugins.c resurrection.c rune.c shop.c skill_util.c skills.c |
| 5445 |
spell_attack.c spell_effect.c spell_util.c time.c |
| 5446 |
socket/item.c |
| 5447 |
utils/bwp.c mapper.c |
| 5448 |
types/common/projectile.c |
| 5449 |
types/exit/exit.c |
| 5450 |
types/peacemaker/peacemaker.c |
| 5451 |
types/shop_inventory/shop_inventory.c |
| 5452 |
types/spell_effect/spell_effect.c |
| 5453 |
Nicolas Weeger 2008-03-30 |
| 5454 |
|
| 5455 |
Remove static buffer. |
| 5456 |
server/player.c |
| 5457 |
Nicolas Weeger 2008-03-30 |
| 5458 |
|
| 5459 |
common/living.c: remove unneeded test. |
| 5460 |
Nicolas Weeger 2008-03-30 |
| 5461 |
|
| 5462 |
Move function is_legal_2ways_exit() to relevant file, remove legacy function. |
| 5463 |
include/sproto.h |
| 5464 |
server/apply.c |
| 5465 |
types/exit/exit.c |
| 5466 |
Nicolas Weeger 2008-03-30 |
| 5467 |
|
| 5468 |
Extract blindness to its own file. |
| 5469 |
include/sproto.h typesproto.h |
| 5470 |
server/ob_types.c time.c |
| 5471 |
types/legacy/process.c |
| 5472 |
types/Makefile.am |
| 5473 |
Added file: |
| 5474 |
types/blindness/blindness.c |
| 5475 |
Nicolas Weeger 2008-03-30 |
| 5476 |
|
| 5477 |
Change test order to speed up some, fix comments. |
| 5478 |
server/c_object.c |
| 5479 |
Nicolas Weeger 2008-03-30 |
| 5480 |
|
| 5481 |
Rename a few xxx_player() functions to xxx_living() for coherence. |
| 5482 |
include/sproto.h |
| 5483 |
server/apply.c attack.c skills.c spell_effect.c spell_util.c |
| 5484 |
Nicolas Weeger 2008-03-30 |
| 5485 |
|
| 5486 |
Remove global variables. Make functions static. |
| 5487 |
random_maps/maze_gen.c maze_gen.h rproto.h |
| 5488 |
Nicolas Weeger 2008-03-30 |
| 5489 |
|
| 5490 |
Remove unused parameter, rename to better name. |
| 5491 |
server/attack.c |
| 5492 |
Nicolas Weeger 2008-03-30 |
| 5493 |
|
| 5494 |
Extract player_changer to its own file. |
| 5495 |
include/sproto.h typesproto.h |
| 5496 |
server/ob_types.c time.c |
| 5497 |
types/legacy/process.c |
| 5498 |
types/Makefile.am |
| 5499 |
Added file: |
| 5500 |
types/player_changer/player_changer.c |
| 5501 |
Nicolas Weeger 2008-03-29 |
| 5502 |
|
| 5503 |
Remove obsolete code, tweak comment. |
| 5504 |
server/time.c |
| 5505 |
Nicolas Weeger 2008-03-29 |
| 5506 |
|
| 5507 |
Remove autohook inserted in items, and use was_destroyed() to check item's validity. |
| 5508 |
plugins/cfpython/include/cfpython_object.h: keep item's count, change check macros. |
| 5509 |
plugins/cfpython/cfpython_map.c: fix wrong EXISTCHECK_INT to MAPEXISTCHECK_INT. |
| 5510 |
plugins/cfpython/cfpython_object.c: remove autohook stuff, use item's count. |
| 5511 |
plugins/cfpython/cfpython.c: remove autohook handling. |
| 5512 |
Nicolas Weeger 2008-03-29 |
| 5513 |
|
| 5514 |
Tweak documentation generation. |
| 5515 |
doc/playbook/Makefile.am: factorize code to make it easy to generate PDFs, |
| 5516 |
fix many pic issues. |
| 5517 |
doc/scripts/makeps.pl: add "pdf" output support. |
| 5518 |
Nicolas Weeger 2008-03-29 |
| 5519 |
|
| 5520 |
Remove unused variable. Use safe string functions. |
| 5521 |
server/alchemy.c |
| 5522 |
Nicolas Weeger 2008-03-29 |
| 5523 |
|
| 5524 |
Use try_find_archetype() instead of find_archetype() and remove the nroferrors |
| 5525 |
handling. |
| 5526 |
random_maps/wall.c |
| 5527 |
Nicolas Weeger 2008-03-29 |
| 5528 |
|
| 5529 |
Remove unused parameter. |
| 5530 |
random_maps/random_map.c rproto.h snake.c square_spiral.c test.c |
| 5531 |
Nicolas Weeger 2008-03-29 |
| 5532 |
|
| 5533 |
Use StringBuffer to remove static buffers. |
| 5534 |
include/sproto.h |
| 5535 |
server/c_object.c shop.c |
| 5536 |
Nicolas Weeger 2008-03-29 |
| 5537 |
|
| 5538 |
Fix accidentally broken connection. |
| 5539 |
socket/request.c |
| 5540 |
Nicolas Weeger 2008-03-29 |
| 5541 |
|
| 5542 |
Remove unused parameter. |
| 5543 |
include/sproto.h |
| 5544 |
server/spell_effect.c spell_util.c |
| 5545 |
Nicolas Weeger 2008-03-29 |
| 5546 |
|
| 5547 |
Use safe string functions. |
| 5548 |
server/build_map.c |
| 5549 |
Nicolas Weeger 2008-03-29 |
| 5550 |
|
| 5551 |
Use flags instead of hardcoded values for monster's will_apply. |
| 5552 |
include/object.h |
| 5553 |
server/monster.c move.c |
| 5554 |
Nicolas Weeger 2008-03-29 |
| 5555 |
|
| 5556 |
Remove unused return value. |
| 5557 |
include/sproto.h |
| 5558 |
server/player.c |
| 5559 |
socket/request.c |
| 5560 |
Nicolas Weeger 2008-03-29 |
| 5561 |
|
| 5562 |
Remove unused return value. |
| 5563 |
include/sproto.h |
| 5564 |
server/player.c |
| 5565 |
Nicolas Weeger 2008-03-29 |
| 5566 |
|
| 5567 |
Remove static buffer. |
| 5568 |
server/hiscore.c |
| 5569 |
Nicolas Weeger, 2008-03-29 |
| 5570 |
|
| 5571 |
Remove static buffer, simplify code. |
| 5572 |
server/hiscore.c |
| 5573 |
Nicolas Weeger, 2008-03-29 |
| 5574 |
|
| 5575 |
Make god-related object const to avoid modification. |
| 5576 |
common/holy.c readable.c |
| 5577 |
include/libproto.h sproto.h |
| 5578 |
server/attack.c c_wiz.c gods.c pets.c spell_attack.c spell_effect.c |
| 5579 |
Nicolas Weeger, 2008-03-29 |
| 5580 |
|
| 5581 |
Clean code, use player-finding function. |
| 5582 |
server/c_wiz.c |
| 5583 |
Nicolas Weeger, 2008-03-29 |
| 5584 |
|
| 5585 |
Remove global variables, make them in a structure. Make function static. |
| 5586 |
random_maps/rproto.h treasure.c |
| 5587 |
Nicolas Weeger, 2008-03-29 |
| 5588 |
|
| 5589 |
Remove global variable, remove suspect tests. |
| 5590 |
random_maps/treasure.c |
| 5591 |
Nicolas Weeger, 2008-03-29 |
| 5592 |
|
| 5593 |
Remove obsolete other_arch field which was used for spell in firewall. |
| 5594 |
server/time.c |
| 5595 |
Nicolas Weeger, 2008-03-29 |
| 5596 |
|
| 5597 |
Remove free_map()'s second parameter, unused. |
| 5598 |
common/map.c |
| 5599 |
include/libproto.h |
| 5600 |
server/swap.c |
| 5601 |
test/unit/server/comet_perf.c |
| 5602 |
Nicolas Weeger, 2008-03-29 |
| 5603 |
|
| 5604 |
Use 'const char*' instead of 'char*'. |
| 5605 |
server/c_party.c c_wiz.c |
| 5606 |
Nicolas Weeger, 2008-03-29 |
| 5607 |
|
| 5608 |
Fix non meaningful return value of summon_hostile_monsters(). |
| 5609 |
server/spell_util.c |
| 5610 |
Nicolas Weeger, 2008-03-29 |
| 5611 |
|
| 5612 |
Use 'const char*' instead of 'char*'. |
| 5613 |
include/sproto.h |
| 5614 |
server/swap.c |
| 5615 |
Nicolas Weeger, 2008-03-29 |
| 5616 |
|
| 5617 |
Write 'describe_item' unit tests. |
| 5618 |
test/unit/common/check_item.c Makefile.am |
| 5619 |
Nicolas Weeger, 2008-03-25 |
| 5620 |
|
| 5621 |
Generate global elevation map. |
| 5622 |
utils/mapper.c |
| 5623 |
Nicolas Weeger, 2008-03-25 |
| 5624 |
|
| 5625 |
Factorize code. |
| 5626 |
common/friend.c |
| 5627 |
Nicolas Weeger, 2008-03-24 |
| 5628 |
|
| 5629 |
Correctly point to tiled group instead of non existing map page. |
| 5630 |
utils/mapper.c |
| 5631 |
Nicolas Weeger, 2008-03-24 |
| 5632 |
|
| 5633 |
Use region's name instead of the filename in maps's pages. |
| 5634 |
utils/mapper.c |
| 5635 |
Nicolas Weeger, 2008-03-24 |
| 5636 |
|
| 5637 |
Remove trailing newlines in quest/map description. |
| 5638 |
utils/mapper.c |
| 5639 |
Nicolas Weeger, 2008-03-24 |
| 5640 |
|
| 5641 |
Tweak documentation so some programs in utils/ are part of Doxygen's output. |
| 5642 |
Doxyfile |
| 5643 |
utils/bwp.c gridarta-types-convert.c mapper.c |
| 5644 |
Nicolas Weeger, 2008-03-23 |
| 5645 |
|
| 5646 |
Tweak documentation, remove unused parameters. |
| 5647 |
plugins/citylife/citylife.c |
| 5648 |
Nicolas Weeger, 2008-03-23 |
| 5649 |
|
| 5650 |
Fix memory leak. |
| 5651 |
utils/mapper.c |
| 5652 |
Nicolas Weeger, 2008-03-23 |
| 5653 |
|
| 5654 |
Fix documentation, no functional change. |
| 5655 |
common/button.c image.c info.c init.c item.c player.c time.c treasure.c |
| 5656 |
plugins/cfpython/cfpython_map.c |
| 5657 |
random_maps/exit.c random_map.h treasure.c |
| 5658 |
server/apply.c plugins.c rune.c spell_effect.c |
| 5659 |
types/button/button.c |
| 5660 |
types/exit/exit.c |
| 5661 |
types/legacy/apply.c |
| 5662 |
types/spell_effect/spell_effect.c |
| 5663 |
types/trap/rune.c |
| 5664 |
types/treasure/treasure.c |
| 5665 |
Nicolas Weeger, 2008-03-23 |
| 5666 |
|
| 5667 |
Fix protocol issues regarding sent items: do not send invisible items. |
| 5668 |
common/object.c |
| 5669 |
Andreas Kirschbaum 2008-03-21 |
| 5670 |
|
| 5671 |
Fix protocol issues regarding face caching. |
| 5672 |
socket/request.c |
| 5673 |
Andreas Kirschbaum 2008-03-21 |
| 5674 |
|
| 5675 |
Implement strerror_local() for systems not having strerror_r(). |
| 5676 |
common/porting.c |
| 5677 |
Andreas Kirschbaum 2008-03-20 |
| 5678 |
|
| 5679 |
Fix some integer overflows in experience calculations. |
| 5680 |
common/exp.c |
| 5681 |
common/living.c |
| 5682 |
include/libproto.h |
| 5683 |
include/sproto.h |
| 5684 |
server/attack.c |
| 5685 |
server/skill_util.c |
| 5686 |
Andreas Kirschbaum, 2008-03-08 |
| 5687 |
|
| 5688 |
Fix i18n bug resulting in erroneous output for 'statistics' command. |
| 5689 |
include/languages.h |
| 5690 |
Kevin Bulgrien, 2008-03-02 |
| 5691 |
|
| 5692 |
Generate a global list of monsters in maps, and list monsters on each map. |
| 5693 |
utils/templates/map.template |
| 5694 |
utils/mapper.c |
| 5695 |
Added files: |
| 5696 |
utils/templates/map_monster_after.template map_monster_before.template |
| 5697 |
map_monster_between.template map_no_monster.template map_monster_one.template |
| 5698 |
Nicolas Weeger, 2008-02-23 |
| 5699 |
|
| 5700 |
Generate a list of special equipment in maps. Not yet listed in the map page itself. |
| 5701 |
utils/mapper.c |
| 5702 |
Nicolas Weeger, 2008-02-22 |
| 5703 |
|
| 5704 |
Smarter pic generation for tiled maps. Fix crash if no map for quest. |
| 5705 |
utils/mapper.c |
| 5706 |
Nicolas Weeger, 2008-02-16 |
| 5707 |
|
| 5708 |
Remove obsolete functions (related to weather). |
| 5709 |
random_maps/standalone.c |
| 5710 |
utils/bwp.c mapper.c |
| 5711 |
test/unit/common/stubs_common.c |
| 5712 |
test/unit/random_maps/stubs_random.c |
| 5713 |
test/unit/socket/stubs_socket.c |
| 5714 |
Nicolas Weeger, 2008-02-17 |
| 5715 |
|
| 5716 |
Fix shifted pic for eg Titan. |
| 5717 |
common/object.c: make get_multi_size() non static so can be used elsewhere. |
| 5718 |
include/libproto.h |
| 5719 |
utils/mapper.c |
| 5720 |
Nicolas Weeger, 2008-02-17 |
| 5721 |
|
| 5722 |
Remove ltostr10 and doubletostr10. They were using static buffer, and |
| 5723 |
are nicely replaced by stringbuffer_append_printf() or snprintf(). |
| 5724 |
common/loader.l object.c porting.c |
| 5725 |
include/libproto.h |
| 5726 |
server/time.c |
| 5727 |
test/unit/common/check_loader.c |
| 5728 |
Nicolas Weeger, 2008-02-17 |
| 5729 |
|
| 5730 |
Unit test for get_ob_diff(). |
| 5731 |
test/unit/common/check_loader.c |
| 5732 |
test/unit/common/Makefile.am |
| 5733 |
Nicolas Weeger, 2008-02-17 |
| 5734 |
|
| 5735 |
Tileset support, through '-tileset=' option. Default 'standard' tileset. |
| 5736 |
utils/mapper.c |
| 5737 |
Nicolas Weeger, 2008-02-16 |
| 5738 |
|
| 5739 |
Remove left-over from weather code. |
| 5740 |
common/map.c utils.c |
| 5741 |
include/map.h plugin.h sproto.h |
| 5742 |
plugins/cfpython/include/cfpython_map_private.h |
| 5743 |
plugins/cfpython/cfpython_map.c |
| 5744 |
plugins/common/include/plugin_common.h |
| 5745 |
plugins/common/plugin_common.c |
| 5746 |
server/c_misc.c init.c plugins.c weather.c |
| 5747 |
Nicolas Weeger, 2008-02-16 |
| 5748 |
|
| 5749 |
Fix various warnings, remove unused variables/code. |
| 5750 |
common/button.c languages.c |
| 5751 |
server/attack.c c_misc.c spell_util.c |
| 5752 |
socket/request.c sounds.c |
| 5753 |
types/gate/gate.c |
| 5754 |
Nicolas Weeger, 2008-02-14 |
| 5755 |
|
| 5756 |
Add 'race_restriction' key/value field, that enables to restrict an item |
| 5757 |
to being appliable only for certain races. |
| 5758 |
doc/Developers/objects |
| 5759 |
server/apply.c |
| 5760 |
Nicolas Weeger, 2008-02-14 |
| 5761 |
|
| 5762 |
Remove unused functions. |
| 5763 |
common/porting.c |
| 5764 |
include/libproto.h |
| 5765 |
Nicolas Weeger, 2008-02-13 |
| 5766 |
|
| 5767 |
Better tiled maps handling. Now tiled maps are considered as one map, and |
| 5768 |
all links will point to the group. |
| 5769 |
utils/mapper.c |
| 5770 |
Nicolas Weeger, 2008-02-13 |
| 5771 |
|
| 5772 |
Kind of update a few things. |
| 5773 |
doc/handbook.ps |
| 5774 |
doc/playbook/appA.tex chap3.tex |
| 5775 |
Nicolas Weeger, 2008-02-09 |
| 5776 |
|
| 5777 |
Fix broken pics. |
| 5778 |
doc/playbook/items-extract |
| 5779 |
doc/playbook/Makefile.am |
| 5780 |
Nicolas Weeger, 2008-02-09 |
| 5781 |
|
| 5782 |
socket/loop.c request.c: fix missing parameter. |
| 5783 |
Nicolas Weeger, 2008-02-09 |
| 5784 |
|
| 5785 |
Use 'anim_suffix' in class selection to try to find a race/class animation. |
| 5786 |
server/apply.c |
| 5787 |
Nicolas Weeger, 2008-02-09 |
| 5788 |
|
| 5789 |
Some bases for sending race/class info to client. Not finished. |
| 5790 |
doc/Developers/protocol: update. |
| 5791 |
include/sockproto.h |
| 5792 |
socket/loop.c request.c |
| 5793 |
Nicolas Weeger, 2008-02-09 |
| 5794 |
|
| 5795 |
Helper stringbuffer function. |
| 5796 |
common/stringbuffer.c |
| 5797 |
include/stringbuffer.h |
| 5798 |
Nicolas Weeger, 2008-02-09 |
| 5799 |
|
| 5800 |
Get quest information from map's lore. Generate quest index. |
| 5801 |
utils/mapper.c |
| 5802 |
utils/templates/map.template |
| 5803 |
Added files: |
| 5804 |
templates/map_no_quest.template map_one_quest.template map_with_quests.template |
| 5805 |
quests.template quests_map.template quests_quest.template |
| 5806 |
Nicolas Weeger, 2008-02-08 |
| 5807 |
|
| 5808 |
Include level of map in variables. Generate global map index by level. |
| 5809 |
utils/mapper.c |
| 5810 |
Added files: |
| 5811 |
utils/templates/level.template level_map.template level_value.template |
| 5812 |
Nicolas Weeger, 2008-02-08 |
| 5813 |
|
| 5814 |
Documentation, no functional change. |
| 5815 |
common/anim.c: remove todo, done. |
| 5816 |
doc/Developers/compound_animations.dox: added. |
| 5817 |
doc/Developers/custom_attributes.dox: first version. |
| 5818 |
doc/Developers/mainpage.dox: add the previous 2 pages. |
| 5819 |
Nicolas Weeger, 2008-02-07 |
| 5820 |
|
| 5821 |
Add stringbuffer_append_printf(), stringbuffer_append_stringbuffer(), and |
| 5822 |
stringbuffer_finish_shared(). |
| 5823 |
common/stringbuffer.c |
| 5824 |
include/stringbuffer.h |
| 5825 |
Andreas Kirschbaum 2008-02-07 |
| 5826 |
|
| 5827 |
Change heading of high score command output to match the actual highscore data |
| 5828 |
by using <> instead of [] around max grace, hp, and sp. The reason is that |
| 5829 |
when [max x] gets to a client that supports mediaTags, the text is treated |
| 5830 |
as a tag, and a log message is created about an unknown tag. |
| 5831 |
server/hiscore.c |
| 5832 |
Kevin Bulgrien, 2008-02-06 |
| 5833 |
|
| 5834 |
Use map's name on the slaying page. |
| 5835 |
utils/mapper.c |
| 5836 |
Nicolas Weeger, 2008-02-05 |
| 5837 |
|
| 5838 |
Add exits leading to a map. Changes tag to be coherent. |
| 5839 |
utils/mapper.c |
| 5840 |
utils/templates/map.template map_with_exit.template |
| 5841 |
Added templates: |
| 5842 |
utils/templates/map_exit_to.template map_no_exit_to.template map_with_exit_to.template |
| 5843 |
Nicolas Weeger, 2008-02-05 |
| 5844 |
|
| 5845 |
Extract map page writing to separate function. Make names coherent. |
| 5846 |
Delay map loading, reducing memory consumption. Use map name in exit list. |
| 5847 |
Fix documentation. |
| 5848 |
utils/mapper.c |
| 5849 |
Nicolas Weeger, 2008-02-05 |
| 5850 |
|
| 5851 |
Always get map's name at cost of memory use. |
| 5852 |
utils/mapper.c |
| 5853 |
Nicolas Weeger, 2008-02-05 |
| 5854 |
|
| 5855 |
Parameter to toggle exit info generation. |
| 5856 |
utils/mapper.c |
| 5857 |
Nicolas Weeger, 2008-02-05 |
| 5858 |
|
| 5859 |
Simplify code. |
| 5860 |
utils/mapper.c |
| 5861 |
Nicolas Weeger, 2008-02-05 |
| 5862 |
|
| 5863 |
Fix warnings. |
| 5864 |
utils/mapper.c |
| 5865 |
Nicolas Weeger, 2008-02-04 |
| 5866 |
|
| 5867 |
Get the real map's name. |
| 5868 |
utils/mapper.c |
| 5869 |
Nicolas Weeger, 2008-02-04 |
| 5870 |
|
| 5871 |
Keep pointer to region instead of just the name. |
| 5872 |
utils/mapper.c |
| 5873 |
Nicolas Weeger, 2008-02-03 |
| 5874 |
|
| 5875 |
Major refactoring, to prepare for more fun things. |
| 5876 |
utils/mapper.c |
| 5877 |
Nicolas Weeger, 2008-02-03 |
| 5878 |
|
| 5879 |
Generate information on 'slaying' fields. Not complete yet, missing |
| 5880 |
FORCE created by markers and other things. |
| 5881 |
utils/mapper.c |
| 5882 |
Nicolas Weeger, 2008-02-03 |
| 5883 |
|
| 5884 |
Add lore information to map page. |
| 5885 |
utils/mapper.c |
| 5886 |
Added files: |
| 5887 |
utils/templates/map_lore.template map_no_lore.template |
| 5888 |
Nicolas Weeger, 2008-02-03 |
| 5889 |
|
| 5890 |
common/object.c: fix memory leak. |
| 5891 |
Nicolas Weeger, 2008-02-03 |
| 5892 |
|
| 5893 |
Remove weather code, unused and messy. |
| 5894 |
include/global.h sproto.h tod.h |
| 5895 |
common/init.c map.c |
| 5896 |
lib/i18n/messages.en messages.fr settings |
| 5897 |
server/c_misc.c commands.c init.c weather.c |
| 5898 |
Nicolas Weeger, 2008-02-01 |
| 5899 |
|
| 5900 |
Fix for bug #1882265: Server failure when all exp_table entries commented out. |
| 5901 |
common/exp.c: exit() in case of errors. |
| 5902 |
lib/exp_table: enable a table by default. |
| 5903 |
Nicolas Weeger, 2008-02-01 |
| 5904 |
|
| 5905 |
plugins/cfanim/cfanim.c, |
| 5906 |
plugins/cfanim/include/cfanim.h, |
| 5907 |
plugins/cfanim/include/cfanim_proto.h: |
| 5908 |
Changed the name of variables that some C compilers considered as |
| 5909 |
keywords. |
| 5910 |
Yann "gros" Chachkoff 2008-02-01 |
| 5911 |
|
| 5912 |
socket/request.c: trash obsolete code (and version is checked for >= 1027 anyway). |
| 5913 |
Nicolas Weeger, 2008-01-30 |
| 5914 |
|
| 5915 |
configure.in: Remove to eliminate autoconf complaints that configure.ac and |
| 5916 |
configure.in exist. |
| 5917 |
include/define.h: Add a comment to HOLE. |
| 5918 |
include/, include/.cvsignore: svnversion.h should not be controlled in SVN so |
| 5919 |
ignore it. Changed svn:ignore property accordingly. |
| 5920 |
Kevin Bulgrien 2008-01-30 |
| 5921 |
|
| 5922 |
include/Makefile.am: Use hint at http://www.in-ulm.de/~mascheck/various/echo/ |
| 5923 |
to try to remove a portability issue regarding use of echo -n. |
| 5924 |
Kevin Bulgrien 2008-01-29 |
| 5925 |
|
| 5926 |
Fix for bug 1850524 - SDL clients crash when entering boat. Bogus scroll |
| 5927 |
values were being sent on mapscroll, but only the SDL client did anything |
| 5928 |
with the mapscroll variables, so only it saw problems. |
| 5929 |
--- |
| 5930 |
types/transport/transport.c: Store away player x and y positions so we |
| 5931 |
can do proper comparisions. Move update of applier values out of |
| 5932 |
if coordinates are different, since those need to get updated in all |
| 5933 |
cases. |
| 5934 |
MSW 2008-01-27 |
| 5935 |
|
| 5936 |
Changes for SVN: |
| 5937 |
Fix for #1878361: "Hill Giants no longer throw boulders" |
| 5938 |
Modified files: |
| 5939 |
server/skills.c |
| 5940 |
Yann "gros" Chachkoff, 2008-01-27 |
| 5941 |
|
| 5942 |
Fix for #1878323: "trunk server crashes when praying on alter" |
| 5943 |
Modified files: |
| 5944 |
server/gods.c |
| 5945 |
Yann "gros" Chachkoff, 2008-01-27 |
| 5946 |
|
| 5947 |
New plugin: citylife. Adds NPCs to town, to make them more lively. |
| 5948 |
See the plugin documentation for more details. |
| 5949 |
Modified files: |
| 5950 |
configure.ac: build new plugin. |
| 5951 |
doc/Developers/mainpage.dox: link to plugin documentation. |
| 5952 |
plugins/Makefile.am: build new plugin. |
| 5953 |
Added files: |
| 5954 |
plugins/citylife/include/citylife.h |
| 5955 |
plugins/citylife/citylife.c |
| 5956 |
plugins/citylife/Makefile.am |
| 5957 |
Nicolas Weeger, 2008-01-27 |
| 5958 |
|
| 5959 |
Fix template plugin generation and compilation. |
| 5960 |
plugins/template/plugin_template.c: fix compilation and parameter order for strncpy. |
| 5961 |
plugins/template/create_plugin.sh: missing "exit" to quit if no name. |
| 5962 |
Nicolas Weeger, 2008-01-26 |
| 5963 |
|
| 5964 |
utils/mapper.c: new option, "-regionslink", to generate a .dot file containing |
| 5965 |
relationship between regions. New option "-noworldmap" to not generate the full |
| 5966 |
world map. Use region's longname instead of the short name in regions index. |
| 5967 |
Change world map size from 30xtiles to 50xtiles. |
| 5968 |
Nicolas Weeger, 2008-01-26 |
| 5969 |
|
| 5970 |
.cvsignore files created in types subdirectories and svn:ignore set. |
| 5971 |
Kevin Bulgrien |
| 5972 |
|
| 5973 |
Spelling mistakes corrected. |
| 5974 |
README |
| 5975 |
configure.ac |
| 5976 |
doc/crossfire-server.man |
| 5977 |
Kevin Bulgrien |
| 5978 |
|
| 5979 |
Solved an issue about the portability of strerror_r. |
| 5980 |
common/porting.c |
| 5981 |
Yann "gros" Chachkoff, 2008-01-25 |
| 5982 |
|
| 5983 |
Add F_BLESSED to send blessed status to client. |
| 5984 |
include/newclient.h |
| 5985 |
socket/item.c |
| 5986 |
Nicolas Weeger, 2008-01-24 |
| 5987 |
|
| 5988 |
plugins/cfpython/cfpython.c: add EVENT_USER to defined constants. |
| 5989 |
Nicolas Weeger, 2008-01-24 |
| 5990 |
|
| 5991 |
Documentation, no functional change. |
| 5992 |
common/treasure.c: link functions to the relevant page. |
| 5993 |
doc/Developers/collect.dox: new file. |
| 5994 |
doc/Developers/mainpage.dox: link to collect process. |
| 5995 |
doc/Developers/treasure_list.dox: add much content. |
| 5996 |
Nicolas Weeger, 2008-01-16 |
| 5997 |
|
| 5998 |
Commit combat rebalancing. Combat is slower now, so less deadly. If player |
| 5999 |
is idle, they get faster hp/sp regen. Allow generators to have limit on |
| 6000 |
number of monsters they generate before disappearing. Starting characters |
| 6001 |
all have same stat total (re-rolling may make the distribution different, |
| 6002 |
but total will be the same). Add weapon_speed as an object attributed, |
| 6003 |
and also add weapon_speed_left - distinct values fixes some odd speed |
| 6004 |
bugs. Change encumberance for players - character can carry some portion |
| 6005 |
with no slowdown. Allow more tuning for races (hp/sp/grace can be |
| 6006 |
customized more) |
| 6007 |
--- |
| 6008 |
common/exp.c: Refine exp calculator (for dump) for monsters. This |
| 6009 |
isn't used in play, but system gave too much bonus for resistances |
| 6010 |
and speed, resulting in skewed exp values when using the dump values. |
| 6011 |
common/living.c: Greatly reduce speed bonuses for high dex. Reduce |
| 6012 |
damage and to hit bonuses from strength. Remove max_carry. Improve |
| 6013 |
disease handling - player gets speed penalty from worse disease. |
| 6014 |
Change speed benefits from magical devices. For players, give them |
| 6015 |
extra hp/sp/grace based upon what the archetype says. Reduce |
| 6016 |
rate of increase of wc and damage from melee skill. Implement new |
| 6017 |
encumberance calculations. Add code to calculate weapon speed. |
| 6018 |
common/loader.l: Add support for loading an saving weapon_speed and |
| 6019 |
weapon_speed_left. |
| 6020 |
doc/Developers/objects: Update notes for the generators to detail |
| 6021 |
generator_limit |
| 6022 |
doc/Developers/protocol: Add note about sc protocol 1029 (change way weapon |
| 6023 |
speed is calculated) |
| 6024 |
include/config.h: Add new defines related to encumberance handling. Also |
| 6025 |
add new define related to characters base weapon speed |
| 6026 |
include/newclient.h: Add MSG_TYPE_ATTACK_MISS |
| 6027 |
include/newserver.h: Bump up SC_VERSION because of weapon_speed handling. |
| 6028 |
include/object.h: Add weapon_speed, weapon_speed_left to object structure. |
| 6029 |
include/player.h: remove weapon_sp from player structure. |
| 6030 |
lib/exp_table: Add new experience table to slows down character advancment. |
| 6031 |
(table D) |
| 6032 |
server/attack.c: Display all attack messages, not just a portion of them. |
| 6033 |
With slower combat, this is still reasonable, and is useful in debugging |
| 6034 |
stages of combat. If not all messages are to be displayed, this should |
| 6035 |
really be controlled by listen level and not random choice. |
| 6036 |
server/login.c: Remove load/save support of weapon_sp in player file. |
| 6037 |
Now an object attribute handled in common/loader.l |
| 6038 |
server/player.c: Keep rolling stat until total is 105 (arbitrary value) - |
| 6039 |
good for testing balance since all characters are closer in power. Add |
| 6040 |
code to handle weapon_speed properly. |
| 6041 |
server/server.c: Add weapon_speed_left handling. Give boost to players |
| 6042 |
sp/hp/grace/food consumption when player is 'resting' |
| 6043 |
server/skills.c: Change throw calculation based on new character encumberance |
| 6044 |
server/skill_util.c: Add 'you miss foo' messages when attacking - otherwise |
| 6045 |
hard to know what is going on. |
| 6046 |
server/time.c: Modify generator code for max limiting of monsters. |
| 6047 |
Functions that actually generate monsters were modified to return if |
| 6048 |
in fact they generated a monster, so that generator_limit only happens |
| 6049 |
if in fact that number of monsters were generated, not attempted to |
| 6050 |
generate (otherwise generators go poof in room full of monsters |
| 6051 |
because there is no space to make new monster). |
| 6052 |
socket/request.c: Pull weapon_speed from object, not player structure |
| 6053 |
when sending to client |
| 6054 |
--- |
| 6055 |
MSW 2008-01-13 |
| 6056 |
|
| 6057 |
Fix invalid check in test unit, resulting in failure. |
| 6058 |
test/unit/common/check_object.c |
| 6059 |
Nicolas Weeger 2008-01-13 |
| 6060 |
|
| 6061 |
Fix buffer overflows in get_ob_diff(), dump_object(), and dump_arch(). |
| 6062 |
Introduce a new module stringbuffer which implements a buffer that can hold |
| 6063 |
variable-sized strings. |
| 6064 |
Makefile.am |
| 6065 |
common/anim.c arch.c loader.l object.c |
| 6066 |
include/global.h libproto.h Makefile.am |
| 6067 |
server/c_misc.c c_wiz.c server.c |
| 6068 |
types/gate/gate.c |
| 6069 |
Added files: |
| 6070 |
common/stringbuffer.c |
| 6071 |
include/stringbuffer.h |
| 6072 |
Andreas Kirschbaum 2008-01-12 |
| 6073 |
|
| 6074 |
Added more French help translations. |
| 6075 |
lib/help/motd.fr |
| 6076 |
lib/help/news.fr |
| 6077 |
lib/help/output-count.fr |
| 6078 |
lib/help/output.fr |
| 6079 |
lib/help/output-sync.fr |
| 6080 |
lib/help/party.fr |
| 6081 |
lib/help/party_rejoin.fr |
| 6082 |
lib/help/peaceful.fr |
| 6083 |
lib/help/petmode.fr |
| 6084 |
lib/help/pickup.fr |
| 6085 |
lib/help/quit.fr |
| 6086 |
lib/help/rename.fr |
| 6087 |
lib/help/rules.fr |
| 6088 |
lib/help/save.fr |
| 6089 |
lib/help/shout.fr |
| 6090 |
lib/help/showpets.fr |
| 6091 |
lib/help/skills.fr |
| 6092 |
lib/help/take.fr |
| 6093 |
lib/help/use.fr |
| 6094 |
lib/help/usekeys.fr |
| 6095 |
lib/help/whereabouts.fr |
| 6096 |
Yann Chachkoff (gros) 2008-01-10 |
| 6097 |
|
| 6098 |
Make 'player quits the game' in the same style as entered/leave messages. |
| 6099 |
server/player.c |
| 6100 |
Nicolas Weeger 2008-01-07 |
| 6101 |
|
| 6102 |
Documentation, no functional changes. |
| 6103 |
doc/Developers/custom_attributes.dox: added |
| 6104 |
include/define.h: document a few things. |
| 6105 |
types/treasure/treasure.c: fix @file directive. |
| 6106 |
Nicolas Weeger 2008-01-06 |
| 6107 |
|
| 6108 |
Add documentation generated by the converter program. |
| 6109 |
This way, people don't have to get Gridarta to generate it. |
| 6110 |
doc/Developers/fields/field_* |
| 6111 |
doc/Developers/types/type_* |
| 6112 |
Nicolas Weeger 2008-01-06 |
| 6113 |
|
| 6114 |
New small program to extract information from Gridarta's types.xml file and |
| 6115 |
generate doxygen documentation. |
| 6116 |
New files: |
| 6117 |
doc/Developers/fields/README |
| 6118 |
doc/Developers/types/README |
| 6119 |
utils/gridarta-types-convert.c |
| 6120 |
Modified file: |
| 6121 |
doc/Developers/mainpage.dox |
| 6122 |
Nicolas Weeger 2008-01-06 |
| 6123 |
|
| 6124 |
Fix multipart holes not animating properly. |
| 6125 |
server/time.c: use convenient animate_object function. |
| 6126 |
Nicolas Weeger 2008-01-05 |
| 6127 |
|
| 6128 |
Handle invalid file descriptors more gracefully. |
| 6129 |
socket/init.c: reset a file descriptor when closing it. |
| 6130 |
socket/loop.c: try to look up bad file descriptors and drop them. |
| 6131 |
Nicolas Weeger 2008-01-04 |
| 6132 |
|
| 6133 |
Fix crash on invalid bulletwalls. |
| 6134 |
server/time.c: ensure other_arch is not NULL. |
| 6135 |
Nicolas Weeger 2008-01-03 |
| 6136 |
|
| 6137 |
Fix plugin-related potential crash. |
| 6138 |
server/plugins.c: ensure msg has a newline at the end, else bad things happen. |
| 6139 |
Nicolas Weeger 2008-01-03 |
| 6140 |
|
| 6141 |
Win32 compilation fixes. |
| 6142 |
server/c_misc.c plugins.c: variable declaration/use order. |
| 6143 |
Nicolas Weeger 2008-01-03 |
| 6144 |
|
| 6145 |
Win32 compilation fixes. |
| 6146 |
plugins/cfpython/include/cfpython_proto.h: missing CF_PLUGIN. |
| 6147 |
plugins/cfpython/cjson.c: variable order. |
| 6148 |
Nicolas Weeger 2008-01-03 |
| 6149 |
|
| 6150 |
Win32 compilation fixes. |
| 6151 |
include/win32.h: #define sleep. |
| 6152 |
plugins/cfanim/include/cfanim_proto.h: missing CF_PLUGIN. |
| 6153 |
Nicolas Weeger 2008-01-03 |
| 6154 |
|
| 6155 |
Fix variable being used while not initialized. |
| 6156 |
server/player.c |
| 6157 |
Nicolas Weeger 2007-12-28 |
| 6158 |
|
| 6159 |
Merge documentation change from wiki. |
| 6160 |
doc/Developers/objects |
| 6161 |
Kevin Bulgrien 2007-12-28 |
| 6162 |
|
| 6163 |
Fix variable being used while not initialized. |
| 6164 |
server/player.c |
| 6165 |
Nicolas Weeger 2007-12-28 |
| 6166 |
|
| 6167 |
No functional change, reformat object types defines for export to wiki page. |
| 6168 |
include/define.h |
| 6169 |
Kevin Bulgrien 2007-12-27 |
| 6170 |
|
| 6171 |
Fix spurious errors in log from plugins. |
| 6172 |
common/arch.c: new function try_find_archetype(). |
| 6173 |
include/libproto.h: new prototype. |
| 6174 |
server/plugins.c: replace find_archetype() by try_find_archetype(). |
| 6175 |
Nicolas Weeger 2007-12-27 |
| 6176 |
|
| 6177 |
plugins/cfpython/cfpython.c: fix invalid options when empty parameter. |
| 6178 |
Nicolas Weeger 2007-12-26 |
| 6179 |
|
| 6180 |
Add support for user-defined events. Those can be called from the Python plugin. |
| 6181 |
server/plugins.c |
| 6182 |
plugins/common/include/plugin_common.h |
| 6183 |
plugins/common/plugin_common.c |
| 6184 |
plugins/cfpython/cfpython_object.c |
| 6185 |
plugins/cfpython/include/cfpython_object_private.h |
| 6186 |
plugins/cfpython/cfpython.c |
| 6187 |
include/sproto.h |
| 6188 |
include/plugin.h |
| 6189 |
Yann Chachkoff (gros) 2007-12-23 |
| 6190 |
|
| 6191 |
Add error information to CrossfireMap.TriggerConnected, make magice_ear scriptable |
| 6192 |
server/monster.c |
| 6193 |
plugins/cfpython/cfpython_map.c |
| 6194 |
Tchize 2007-12-22 |
| 6195 |
|
| 6196 |
Change skill animation to use anim_suffix instead of the name. |
| 6197 |
server/skill_util.c |
| 6198 |
Nicolas Weeger 2007-12-21 |
| 6199 |
|
| 6200 |
Fix missing animation first pic. Change animate_object to not alter the state, |
| 6201 |
but merely ensure the pic is valid. Move state/face changing upstream. |
| 6202 |
common/anim.c |
| 6203 |
server/player.c server.c time.c |
| 6204 |
Nicolas Weeger 2007-12-16 |
| 6205 |
|
| 6206 |
More compound animations. Make animations loop instead of resetting all the time. |
| 6207 |
Fix missing first animation pic in some cases. |
| 6208 |
common/anim.c |
| 6209 |
server/skill_util.c |
| 6210 |
Nicolas Weeger 2007-12-16 |
| 6211 |
|
| 6212 |
Add line/row info to cjson module upon error |
| 6213 |
Tchize 2007-12-18 |
| 6214 |
|
| 6215 |
Added my missing entries to Changelog |
| 6216 |
Tchize 2007-12-18 |
| 6217 |
|
| 6218 |
Add try_find_animation() for compound animations, LOG() again in find_animation(). |
| 6219 |
common/anim.c |
| 6220 |
include/libproto.h |
| 6221 |
Nicolas Weeger 2007-12-16 |
| 6222 |
|
| 6223 |
Fix incorrect "setup sound FALSEFALSE" response. |
| 6224 |
socket/request.c |
| 6225 |
Andreas Kirschbaum 2007-12-18 |
| 6226 |
|
| 6227 |
Add Object.NoDamage and Object.RandomMovement to Python Crossfire Object. |
| 6228 |
plugins/cfpython/cfpython_object.c |
| 6229 |
plugins/cfpython/include/cfpython_object_private.h |
| 6230 |
Nicolas Weeger 2007-12-16 |
| 6231 |
|
| 6232 |
Add 'apply' sound, sounds for spell casting. Give more sounds when emitter is in |
| 6233 |
something on a map. |
| 6234 |
doc/Developers/sound |
| 6235 |
server/apply.c spell_util.c |
| 6236 |
socket/sounds.c |
| 6237 |
Nicolas Weeger 2007-12-16 |
| 6238 |
|
| 6239 |
New sound support. Check doc/Developers/sound. |
| 6240 |
common/loader.l |
| 6241 |
doc/Developers/protocol sound |
| 6242 |
include/newserver.h object.h sockproto.h sounds.h |
| 6243 |
server/apply.c attack.c player.c server.c spell_effect.c spell_util.c |
| 6244 |
socket/request.c sounds.c |
| 6245 |
types/cf_handle/cf_handle.c |
| 6246 |
types/clock/clock.c |
| 6247 |
types/hole/hole.c |
| 6248 |
types/poison/poison.c |
| 6249 |
types/spellbook/spellbook.c |
| 6250 |
types/trapdoor/trapdoor.c |
| 6251 |
types/trigger/trigger.c |
| 6252 |
Nicolas Weeger 2007-12-16 |
| 6253 |
|
| 6254 |
Do not forget background music when swapping map. |
| 6255 |
common/map.c |
| 6256 |
Andreas Kirschbaum 2007-12-15 |
| 6257 |
|
| 6258 |
Do not include stray \n character in background_music field. Do not modify |
| 6259 |
const strings. |
| 6260 |
common/map.c common/region.c |
| 6261 |
Andreas Kirschbaum 2007-12-15 |
| 6262 |
|
| 6263 |
Remove unused variables. |
| 6264 |
common/image.c |
| 6265 |
include/define.h global.h |
| 6266 |
Nicolas Weeger 2007-12-15 |
| 6267 |
|
| 6268 |
Extract some code from massive move_monster(). |
| 6269 |
server/monster.c |
| 6270 |
Nicolas Weeger 2007-12-15 |
| 6271 |
|
| 6272 |
Remove redundant check. |
| 6273 |
server/player.c: can_detect_enemy() calls on_same_map(). |
| 6274 |
Nicolas Weeger 2007-12-15 |
| 6275 |
|
| 6276 |
Factorise wand charge draining code. |
| 6277 |
include/sproto.h |
| 6278 |
server/monster.c player.c spell_util.c |
| 6279 |
Nicolas Weeger 2007-12-15 |
| 6280 |
|
| 6281 |
Real path-finding algorithm for monsters. Pretty basic, but works for now. |
| 6282 |
server/monster.c |
| 6283 |
Nicolas Weeger 2007-12-10 |
| 6284 |
|
| 6285 |
Fix trailing newline in i18n messing display. Convert \n to "real" newline. |
| 6286 |
common/languages.c |
| 6287 |
Nicolas Weeger 2007-12-09 |
| 6288 |
|
| 6289 |
Have player's language be a variable in player instead of a key/value. |
| 6290 |
Makes things faster, no key lookup, and it's only useful for players anyway. |
| 6291 |
common/languages.c |
| 6292 |
include/player.h |
| 6293 |
server/c_misc.c login.c player.c |
| 6294 |
Nicolas Weeger 2007-12-09 |
| 6295 |
|
| 6296 |
Factorize compound animation code. |
| 6297 |
common/anim.c |
| 6298 |
include/libproto.h |
| 6299 |
server/apply.c attack.c spell_util.c |
| 6300 |
Nicolas Weeger 2007-12-09 |
| 6301 |
|
| 6302 |
Fix 0 destination coordinates warning for final exit of random maps. |
| 6303 |
random_maps/exit.c |
| 6304 |
Nicolas Weeger 2007-12-02 |
| 6305 |
|
| 6306 |
Enable a special exit to final map in random maps, through the |
| 6307 |
'final_exit_archetype' field. |
| 6308 |
random_maps/exit.c random_map.c random_map.h reader.l |
| 6309 |
Nicolas Weeger 2007-12-02 |
| 6310 |
|
| 6311 |
Add death animation to objects, through the key 'death_animation' (which should |
| 6312 |
be an archetype). |
| 6313 |
server/attack.c: check for a death animation to insert. |
| 6314 |
Nicolas Weeger 2007-12-02 |
| 6315 |
|
| 6316 |
Fix bug #1828785: Possible false positive in the alchemy formula list. |
| 6317 |
common/recipe.c: don't warn of same index id if not same cauldron. |
| 6318 |
Nicolas Weeger 2007-12-01 |
| 6319 |
|
| 6320 |
Fix bug #1825685: "Got no region..." when creating weather. |
| 6321 |
server/init.c: delay weather initialisation after other ones. |
| 6322 |
Nicolas Weeger 2007-12-01 |
| 6323 |
|
| 6324 |
Fix some nrof issues when many items. Always return real money value. |
| 6325 |
server/c_object.c: divide before multiply to avoid some overflows. |
| 6326 |
server/c_wiz.c: nrof is uint32. |
| 6327 |
server/shop.c: nrof is uint32. Money we know the real value. |
| 6328 |
Nicolas Weeger 2007-12-01 |
| 6329 |
|
| 6330 |
Fix bug #1827100: Curse dection not working or problem with containers ? |
| 6331 |
server/alchemy.c: ensure cursed items can be identified. |
| 6332 |
server/skills.c: cauldrons are always checked for curse status, it is important to know it. |
| 6333 |
Nicolas Weeger 2007-12-01 |
| 6334 |
|
| 6335 |
Fix bug #1841391: Item Power and pickup bug. |
| 6336 |
common/object.c: check item_power for merging test. |
| 6337 |
Nicolas Weeger 2007-12-01 |
| 6338 |
|
| 6339 |
Fix bug #1833943: Buffer overflow in item power calculation. |
| 6340 |
include/define.h: MAX_WEAPON_ITEM_POWER set to 100. |
| 6341 |
server/gods.c: make god refuse to enchant an already powerful item. |
| 6342 |
types/weapon_improver/weapon_improver.c: change enchant logic to not enchant already powerful items. |
| 6343 |
Nicolas Weeger 2007-12-01 |
| 6344 |
|
| 6345 |
Fix bugs #825265: Broken container images and #799392: 2.0 server mat container = chest. |
| 6346 |
server/apply.c: store custom container image at container opening, and restore it later. |
| 6347 |
Nicolas Weeger 2007-12-01 |
| 6348 |
|
| 6349 |
Adapted the compound animations code so that it properly works with multipart |
| 6350 |
monsters. |
| 6351 |
server/apply.c |
| 6352 |
server/attack.c |
| 6353 |
server/spell_util.c |
| 6354 |
Yann Chachkoff (gros) 2007-11-25 |
| 6355 |
|
| 6356 |
------------------------------------------------------------------------ |
| 6357 |
r7575 | tchize | 2007-11-25 16:27:46 +0100 (dim, 25 nov 2007) | 2 lines |
| 6358 |
Chemins modifiés : |
| 6359 |
M server/attack.c |
| 6360 |
|
| 6361 |
Fix sigsegv when arrows are thrown by monster and hit (no wrapped object) |
| 6362 |
|
| 6363 |
------------------------------------------------------------------------ |
| 6364 |
r7573 | tchize | 2007-11-25 16:06:45 +0100 (dim, 25 nov 2007) | 4 lines |
| 6365 |
Chemins modifiés : |
| 6366 |
M server/attack.c |
| 6367 |
|
| 6368 |
probable fix for [ 1835332 ]. At least, now, the experiences for |
| 6369 |
throwing object is rewarded to a skill. |
| 6370 |
-- |
| 6371 |
|
| 6372 |
|
| 6373 |
Refactor poisoning code. |
| 6374 |
server/time.c |
| 6375 |
server/ob_types.c |
| 6376 |
include/sproto.h |
| 6377 |
include/typesproto.h |
| 6378 |
types/poisoning/poisoning.c |
| 6379 |
types/legacy/process.c |
| 6380 |
types/Makefile.am |
| 6381 |
Alex Schultz 2007-11-28 |
| 6382 |
|
| 6383 |
Added support for compound item apply animations |
| 6384 |
server/apply.c |
| 6385 |
Yann Chachkoff (gros) 2007-11-25 |
| 6386 |
|
| 6387 |
Refactor peacemaker code. |
| 6388 |
server/ob_types.c |
| 6389 |
server/spell_effect.c |
| 6390 |
include/sproto.h |
| 6391 |
include/typesproto.h |
| 6392 |
types/peacemaker/peacemaker.c |
| 6393 |
types/legacy/process.c |
| 6394 |
types/Makefile.am |
| 6395 |
Alex Schultz 2007-11-25 |
| 6396 |
|
| 6397 |
Refactor gate code. |
| 6398 |
server/time.c |
| 6399 |
server/ob_types.c |
| 6400 |
include/sproto.h |
| 6401 |
include/typesproto.h |
| 6402 |
types/gate/gate.c |
| 6403 |
types/legacy/process.c |
| 6404 |
types/Makefile.am |
| 6405 |
Alex Schultz 2007-11-23 |
| 6406 |
|
| 6407 |
Refactor savebed, poison, cf_handle, treasure, and weapon_improver code. |
| 6408 |
Generalize 'killer' message for poison objects. |
| 6409 |
server/ob_types.c |
| 6410 |
server/apply.c |
| 6411 |
server/attack.d |
| 6412 |
include/sproto.h |
| 6413 |
include/typesproto.h |
| 6414 |
types/legacy/apply.c |
| 6415 |
types/Makefile.am |
| 6416 |
types/savebed/savebed.c |
| 6417 |
types/poison/poison.c |
| 6418 |
types/cf_handle/cf_handle.c |
| 6419 |
types/treasure/treasure.c |
| 6420 |
types/weapon_improver/weapon_improver.c |
| 6421 |
Alex Schultz 2007-11-21 |
| 6422 |
------------------------------------------------------------------------ |
| 6423 |
r7550 | tchize | 2007-11-20 20:35:08 +0100 (mar, 20 nov 2007) | 3 lines |
| 6424 |
Chemins modifiés : |
| 6425 |
M common/map.c |
| 6426 |
|
| 6427 |
Fix for [ 1825248 ] Logging missing apartment map for player as error |
| 6428 |
The "can not load original map" message are now debug level for player appartments, but stay error level for normal maps |
| 6429 |
|
| 6430 |
------------------------------------------------------------------------ |
| 6431 |
r7549 | tchize | 2007-11-20 20:25:26 +0100 (mar, 20 nov 2007) | 2 lines |
| 6432 |
Chemins modifiés : |
| 6433 |
M common/map.c |
| 6434 |
|
| 6435 |
Fix for [ 1823026 ] Server accepts map files missing size attributes |
| 6436 |
|
| 6437 |
------------------------------------------------------------------------ |
| 6438 |
r7547 | tchize | 2007-11-20 19:03:14 +0100 (mar, 20 nov 2007) | 2 lines |
| 6439 |
Chemins modifiés : |
| 6440 |
M server/c_object.c |
| 6441 |
|
| 6442 |
Fix #1825589 Cheat bug with containers (access to locked container without key) |
| 6443 |
|
| 6444 |
------------------------------------------------------------------------ |
| 6445 |
r7545 | tchize | 2007-11-20 00:18:12 +0100 (mar, 20 nov 2007) | 5 lines |
| 6446 |
Chemins modifiés : |
| 6447 |
M plugins/cfpython/Makefile.am |
| 6448 |
M plugins/cfpython/cfpython.c |
| 6449 |
A plugins/cfpython/cjson.c |
| 6450 |
|
| 6451 |
JSON notation support for parameters |
| 6452 |
This notation will make it easier to customize script from editor interface. |
| 6453 |
For performances reasons, the JSON parser is C implemented. It's LGPL but |
| 6454 |
was converted to GPL for crossfire |
| 6455 |
|
| 6456 |
------------------------------------------------------------------------ |
| 6457 |
r7531 | tchize | 2007-11-18 19:03:18 +0100 (dim, 18 nov 2007) | 2 lines |
| 6458 |
Chemins modifiés : |
| 6459 |
M server/time.c |
| 6460 |
|
| 6461 |
Fixed a sigsegv when maker is outside of map |
| 6462 |
-------------- |
| 6463 |
|
| 6464 |
Added support for compound spellcasting animations |
| 6465 |
server/spell_util.c |
| 6466 |
common/object.c |
| 6467 |
Yann Chachkoff (gros) 2007-11-18 |
| 6468 |
|
| 6469 |
Added support for compound attack animations (displaying a custom animation |
| 6470 |
sequence when attacking with a weapon) |
| 6471 |
server/attack.c |
| 6472 |
server/time.c |
| 6473 |
server/server.c |
| 6474 |
include/object.h |
| 6475 |
include/global.h |
| 6476 |
common/loader.l |
| 6477 |
common/anim.c |
| 6478 |
Yann Chachkoff (gros) 2007-11-18 |
| 6479 |
|
| 6480 |
Added support for changing the FLAG_ANIMATED from cfpython. |
| 6481 |
plugins/cfpython/cfpython_object.c |
| 6482 |
plugins/cfpython/include/cfpython_object_private.h |
| 6483 |
Yann Chachkoff (gros) 2007-11-18 |
| 6484 |
|
| 6485 |
Misc fixes, no functional change. |
| 6486 |
common/languages.c: convert to UTF-8, fix comment, add missing new line at end. |
| 6487 |
doc/Developers/object.dox: fix references. |
| 6488 |
include/spellist.h: fix comment. |
| 6489 |
lib/i18n/messages.fr: convert to UTF-8. |
| 6490 |
server/c_misc.c hiscore.c: fix comments. |
| 6491 |
Nicolas Weeger 2007-11-17 |
| 6492 |
|
| 6493 |
------------------------------------------------------------------------ |
| 6494 |
r7518 | tchize | 2007-11-17 18:31:20 +0100 (sam, 17 nov 2007) | 6 lines |
| 6495 |
Chemins modifiés : |
| 6496 |
M plugins/cfpython/cfpython_object.c |
| 6497 |
|
| 6498 |
Added a "removed" check in CrossfireObject.InsertInto |
| 6499 |
This check is needed because backend proprety of |
| 6500 |
cfapi issue error messages when it's not the case and |
| 6501 |
the python CrossfireObject.RemoveObject issue a free |
| 6502 |
that make object unusable. |
| 6503 |
------------------- |
| 6504 |
|
| 6505 |
|
| 6506 |
Adds basical i18n support for help and "static" server strings. |
| 6507 |
Modified files: |
| 6508 |
common/init.c Makefile.am |
| 6509 |
include/includes.h libproto.h sproto.h |
| 6510 |
lib/Makefile.am |
| 6511 |
server/c_misc.c commands.c |
| 6512 |
Added files: |
| 6513 |
server/trunk/common/languages.c |
| 6514 |
include/languages.h |
| 6515 |
lib/help/*.en |
| 6516 |
lib/i18n/messages.fr messages.en |
| 6517 |
Removed files: |
| 6518 |
lib/help/* (old help files) |
| 6519 |
Yann Chachkoff (gros) 2007-11-17 |
| 6520 |
------------------------------------------------------------------------ |
| 6521 |
r7508 | tchize | 2007-11-16 14:24:51 +0100 (ven, 16 nov 2007) | 10 lines |
| 6522 |
Chemins modifiés : |
| 6523 |
M common/button.c |
| 6524 |
M common/time.c |
| 6525 |
M include/autoconf.h.in |
| 6526 |
M include/libproto.h |
| 6527 |
M include/sproto.h |
| 6528 |
M include/tod.h |
| 6529 |
M plugins/cfanim/include/cfanim_proto.h |
| 6530 |
M plugins/cfpython/cfpython.c |
| 6531 |
M plugins/cfpython/cfpython_map.c |
| 6532 |
M plugins/cfpython/cfpython_object.c |
| 6533 |
M plugins/cfpython/include/cfpython_map_private.h |
| 6534 |
M plugins/cfpython/include/cfpython_object_private.h |
| 6535 |
M plugins/cfpython/include/cfpython_proto.h |
| 6536 |
M plugins/common/include/plugin_common.h |
| 6537 |
M plugins/common/plugin_common.c |
| 6538 |
M server/plugins.c |
| 6539 |
M test/unit/common/Makefile.am |
| 6540 |
M test/unit/common/check_time.c |
| 6541 |
|
| 6542 |
Plugins Added Trigger, updated TimeOfDay and glowRadius |
| 6543 |
Add support to trigger a specific "connected" from plugins |
| 6544 |
Add support to get timeofday names (seasons, months, weeks, day, period of day) |
| 6545 |
Add in timeofday the notion of period of the day (Night, Morning, Noon, etc) |
| 6546 |
Fixed glowRadius setter priperty in plugin interface so changes are reflected to user's UI |
| 6547 |
Add EVENT_TRIGGER call to all objects triggered in a connected chain |
| 6548 |
autogen.sh invoked |
| 6549 |
|
| 6550 |
Note: those changes were necessary to build some basic tod based scripts |
| 6551 |
|
| 6552 |
------------------------------------------------------------------------ |
| 6553 |
r7502 | tchize | 2007-11-09 18:58:49 +0100 (ven, 09 nov 2007) | 2 lines |
| 6554 |
Chemins modifiés : |
| 6555 |
M include/version.h |
| 6556 |
|
| 6557 |
removed FIXME comment, kbulgrien fixed it. |
| 6558 |
----------------------- |
| 6559 |
|
| 6560 |
|
| 6561 |
Adding svnversion.h to SVN was not a good idea. It will get re-committed over |
| 6562 |
and over even though that was not the intent. Removed. Move include prior to |
| 6563 |
all other directories to be sure svnversion.h is built prior to inclusion in |
| 6564 |
any other source file. |
| 6565 |
Makefile.am |
| 6566 |
include/svnversion.h |
| 6567 |
include/version.h |
| 6568 |
Kevin Bulgrien 2007-11-09 |
| 6569 |
|
| 6570 |
Add Log() support to python scripts |
| 6571 |
David Delbecq (tchize) 2007-11-09 |
| 6572 |
|
| 6573 |
Add SVN version to the server version (as -rnnnn suffix) reported at server |
| 6574 |
startup, by the player "version" command, and by the metaservers. The method |
| 6575 |
to for adding the SVN version information was copied from the client. The |
| 6576 |
expanded version information should not be generated if the sources are built |
| 6577 |
outside of an SVN checkout. |
| 6578 |
configure.ac |
| 6579 |
server/init.c |
| 6580 |
server/server.c |
| 6581 |
include/version.h |
| 6582 |
include/svnversion.h |
| 6583 |
include/Makefile.am |
| 6584 |
socket/metaserver.c |
| 6585 |
Kevin Bulgrien 2007-11-08 |
| 6586 |
|
| 6587 |
Remove support for spellcasting objects using sp/dam fields. |
| 6588 |
common/loader.l |
| 6589 |
Andreas Kirschbaum 2007-11-04 |
| 6590 |
|
| 6591 |
Fix collect script to not insert editor_folder lines into nested inventory |
| 6592 |
objects. |
| 6593 |
lib/collect.pl.in |
| 6594 |
Andreas Kirschbaum 2007-11-03 |
| 6595 |
|
| 6596 |
Adapt alchemy formulas to changed archetypes. |
| 6597 |
lib/formulae: rename "shoes" to "pair of shoes". |
| 6598 |
Andreas Kirschbaum 2007-11-03 |
| 6599 |
|
| 6600 |
Remove useless 'start_holding' field. |
| 6601 |
include/object.h |
| 6602 |
server/server.c |
| 6603 |
Nicolas Weeger 2007-10-28 |
| 6604 |
|
| 6605 |
Remove unused 'tooltype' field. |
| 6606 |
common/loader.l |
| 6607 |
include/object.h |
| 6608 |
Nicolas Weeger 2007-10-28 |
| 6609 |
|
| 6610 |
Fix for bug #1693250: loader.c isn't correctly generated. |
| 6611 |
configure.ac: remove AM_MAINTAINER_MODE macro, no one remembers |
| 6612 |
why it was set. |
| 6613 |
Nicolas Weeger 2007-10-27 |
| 6614 |
|
| 6615 |
server/login.c: Fix file handle leaks in save_player() and check_login(). |
| 6616 |
Andreas Kirschbaum 2007-10-25 |
| 6617 |
|
| 6618 |
Don't remove inventory if player save fails. Warn online DMs. |
| 6619 |
server/login.c |
| 6620 |
Nicolas Weeger 2007-10-24 |
| 6621 |
|
| 6622 |
Fix for bug #1815251: Multiple 'the' displayed in party who. |
| 6623 |
Moved player listing code to own function, call it from command_who and party who. |
| 6624 |
Move 'who' format checking to load_settings(). |
| 6625 |
include/sproto.h |
| 6626 |
server/c_misc.c c_party.c init.c |
| 6627 |
Nicolas Weeger 2007-10-20 |
| 6628 |
|
| 6629 |
common/map.c: Add misisng call to unlink() empty unique maps. Fixes bug |
| 6630 |
1799361 - Permadeath corpse reproduction. Bug is more general - any unique |
| 6631 |
object could be duplicated, so long as it was the only unique object on |
| 6632 |
the map. |
| 6633 |
MSW 2007-10-03 |
| 6634 |
|
| 6635 |
server/pets.c: Add missing call to get_map_from_coord() - summoned big |
| 6636 |
creatures on tiled maps end up having incorrect map/coordinate data set, |
| 6637 |
resulting in crash. Fixes bug 1800719 |
| 6638 |
MSW 2007-10-02 |
| 6639 |
|
| 6640 |
server/c_object.c: Add call to fix_object() in pick_up_ob() - this causes |
| 6641 |
player weight & speed to be recalculated - fixes bug 1799411 where this |
| 6642 |
wasn't happening. |
| 6643 |
MSW 2007-10-01 |
| 6644 |
|
| 6645 |
server/c_range.c: Bug fix for [ 1804610 ] cast : info.c:message_callback: |
| 6646 |
unidentified messages. Text output to the gtk2 client may not contain text |
| 6647 |
enclosed in square brackets... which is probably a bug in and of itself. |
| 6648 |
socket/info.c: doxygenated parameters for draw_ext_info() and |
| 6649 |
draw_ext_info_format(). |
| 6650 |
Kevin Bulgrien 2007-09-30 |
| 6651 |
|
| 6652 |
server/plugins.c: fix wrong #define leading to crashes. |
| 6653 |
Nicolas Weeger 2007-09-28 |
| 6654 |
|
| 6655 |
common/map.c: Move update_buttons() from ready_map_name() to |
| 6656 |
load_original_map() - in this way, button state is not reset when |
| 6657 |
swapping a map back into memory, but button state is still verified |
| 6658 |
at first load. Fixes bug 1706075. |
| 6659 |
MSW 2007-09-27 |
| 6660 |
|
| 6661 |
server/gods.c: modify god_enchants_weapon() to increase item_power of weapon |
| 6662 |
by 1 each time god improves it. This make sense, but also fixes bug |
| 6663 |
1696807 - if the weapon has item_power 0, when player logs on, game |
| 6664 |
will calculate new item power, which may be quite surprising to |
| 6665 |
character. If item_power is set, new item_power won't be calculated. |
| 6666 |
Note: For trunk, item_power was not recalculated, but I think the changing |
| 6667 |
of item_power is just good for some balance. |
| 6668 |
MSW 2007-09-27 |
| 6669 |
|
| 6670 |
Fix some hiscore changes - some functions were not passing in quiet flag |
| 6671 |
when they should have been, etc. |
| 6672 |
-- |
| 6673 |
server/apply.c: Remove some code that sees if player can save - update_score() |
| 6674 |
does this, so no reason to have it in both places. |
| 6675 |
server/hiscore.c: Add check not to save 0 scores. |
| 6676 |
server/login.c: Be quiet for backup saves. |
| 6677 |
server/server.c: Be quiet for backup saves. |
| 6678 |
--- |
| 6679 |
MSW 2007-09-27 |
| 6680 |
|
| 6681 |
Face/animation related plugin functions. |
| 6682 |
--- |
| 6683 |
Enable a plugin to find a face, and change face or animation. Make property |
| 6684 |
name coherent with others. |
| 6685 |
include/plugin.h sproto.h |
| 6686 |
plugins/cfanim/cfanim.c |
| 6687 |
server/plugins.c |
| 6688 |
--- |
| 6689 |
Add wrapper for find_face(). |
| 6690 |
plugins/common/include/plugin_common.h |
| 6691 |
plugins/common/plugin_common.c |
| 6692 |
--- |
| 6693 |
Add Object.AnimSpeed and Object.Anim, fix face handling. |
| 6694 |
plugins/cfpython/cfpython_object.c |
| 6695 |
plugins/cfpython/include/cfpython_object_private.h |
| 6696 |
--- |
| 6697 |
Add Crossfire.FindFace() and Crossfire.FindAnimation() |
| 6698 |
plugins/cfpython/cfpython.c |
| 6699 |
--- |
| 6700 |
doc/Developers/python.ps: updated |
| 6701 |
Nicolas Weeger 2007-09-27 |
| 6702 |
|
| 6703 |
Couple bug fixes related to 1713188 - dropall performance issues. |
| 6704 |
--- |
| 6705 |
include/config.h: Increase SOCKETBUFSIZE - should help reduce premature |
| 6706 |
dropped connections. |
| 6707 |
server/c_object.c: Improve dropall logic - instead of calling fix_object() for |
| 6708 |
each object dropped, call it just once for the entire stack - should |
| 6709 |
improve performance considerably. This also fixes sending updated |
| 6710 |
weight information to the client for each object dropped (player weight |
| 6711 |
1000, player weight 995, player weight 992, etc), so may help on dropped |
| 6712 |
connections. |
| 6713 |
MSW 2007-09-26 |
| 6714 |
|
| 6715 |
common/object.c: Modify can_pick() so you are not allowed to pick up |
| 6716 |
multipart objects. insert_ob_in_ob() doesn't let it happen, but |
| 6717 |
this way, at least the player gets a message. Also cleaned up function |
| 6718 |
so it is easier to read. |
| 6719 |
MSW 2007-09-26 |
| 6720 |
|
| 6721 |
Adding the minor, medium and major Potions of Life to the treasure list so |
| 6722 |
they can be found in shops, dungeons, et al. |
| 6723 |
-- |
| 6724 |
server/branches/1.x/lib/treasures |
| 6725 |
-- |
| 6726 |
RJT 2007-09-26 |
| 6727 |
|
| 6728 |
Renamed "potion of invulnerability" to "potion of shielding." Hopefully this will |
| 6729 |
remove player confusion as to why one takes damage from all attack types (except |
| 6730 |
physical) when drinking this potion. |
| 6731 |
-- |
| 6732 |
arch/trunk/potion/potioninv.arc |
| 6733 |
maps/trunk/pup_land/begin/adv |
| 6734 |
server/trunk/lib/treasures |
| 6735 |
--- |
| 6736 |
RJT 2007-09-26 |
| 6737 |
|
| 6738 |
Add support for periodic updating of hiscore information for players - fixes |
| 6739 |
bug 1735262. Main change was to modify check_score() to take a flag that |
| 6740 |
determines if messages related to high score placement should be displayed |
| 6741 |
or not. |
| 6742 |
-- |
| 6743 |
include/sproto.h: Rebuilt because of change to check_score() |
| 6744 |
server/apply.c: Change calls to check_score() to take quiet flag. |
| 6745 |
server/c_wiz.c: Change calls to check_score() to take quiet flag. |
| 6746 |
server/hiscore.c: Modify check_score to take quiet flag, update function |
| 6747 |
not to print messages if it is set. |
| 6748 |
server/login.c: Change calls to check_score() to take quiet flag. |
| 6749 |
server/player.c: Change calls to check_score() to take quiet flag. |
| 6750 |
server/server.c: Add calls to check_score() when doing autosaves as well |
| 6751 |
as when player connection is unexpected terminated. |
| 6752 |
-- |
| 6753 |
MSW 2007-09-25 |
| 6754 |
|
| 6755 |
Always destroy projectiles having no_drop when they stop being a |
| 6756 |
projectile. This prevents arrows and weapons fired from summoned monsters |
| 6757 |
to stick to the ground/into the victim's inventory. |
| 6758 |
-- |
| 6759 |
common/objects.c: Remove static modifier from free_object2(). |
| 6760 |
server/attack.c: In hit_with_arrow() destroy no_drop arrows. |
| 6761 |
server/time.c: In stop_item() and fix_stopped_arrow() destroy no_drop |
| 6762 |
projectiles. Add new function free_no_drop() to check for and destroy |
| 6763 |
objects having no_drop. |
| 6764 |
Andreas Kirschbaum 2007-09-20 |
| 6765 |
|
| 6766 |
Fix bug 1763098 - wrong key placement in random maps. The key placement breaks |
| 6767 |
if there is a normal door next to the locked door, so modify code to remove |
| 6768 |
normal doors next to locked doors. On broken test map, this change results |
| 6769 |
in key being placed in right area. |
| 6770 |
-- |
| 6771 |
random_maps/treasure.c: Update some comments on keyplace(), since the comments |
| 6772 |
did not go into limitations on what keyplace does. Add |
| 6773 |
remove_adjacent_doors() to remove the doors, and call to function from |
| 6774 |
lock_and_hide_doors() |
| 6775 |
MSW 2007-09-18 |
| 6776 |
|
| 6777 |
Fix bug 1790456 - dropall with count drops more than 'count' of each |
| 6778 |
object. |
| 6779 |
server/c_object.c: in command_dropall(), after each call to drop(), |
| 6780 |
set op->contr->count back to original value - drop() sets it to 0. |
| 6781 |
MSW 2007-09-17 |
| 6782 |
|
| 6783 |
Add ability to specify port that crossfire listens to in settings file. |
| 6784 |
Handy when you want to run 2 servers on same host and don't want to |
| 6785 |
mess with command line options. |
| 6786 |
-- |
| 6787 |
lib/settings: Add port variable and comment on its usage. |
| 6788 |
server/init.c: Add code to handle port value in settings file. |
| 6789 |
MSW 2007-09-17 |
| 6790 |
|
| 6791 |
Fix chaos attacktypes when used from a weapon - Fixes bug 1795875. |
| 6792 |
Problem was target of attack was getting attacktype changed, and |
| 6793 |
attacker was never getting chaos attacktypes. |
| 6794 |
-- |
| 6795 |
include/attack.h: move ATTACKS array and Chaos_Attacks structure |
| 6796 |
here. server/attack.c now needs that data, so having it only in |
| 6797 |
server/spell_util.c no longer works. |
| 6798 |
server/attack.c: Remove call to shuffle_attack(), instead just update |
| 6799 |
the local type (attack type) variable. |
| 6800 |
server/spell_util.c: Remove ATTACKS array - moved to include/attack.h. |
| 6801 |
MSW 2007-09-16 |
| 6802 |
|
| 6803 |
Fix problems with player updating client with spell handling - should all |
| 6804 |
work now. |
| 6805 |
-- |
| 6806 |
server/login.c: Move esvr_add_spells() and fix_object() to after |
| 6807 |
esvr_new_player() - when client gets new player protocol from server, |
| 6808 |
it purges all info it has, including spell data. |
| 6809 |
server/player.c: Remove the line that clears the monitor_spells in the |
| 6810 |
socket structure. With the clear there, if you play a new character on |
| 6811 |
the same server (savebed, a to play again), this second character |
| 6812 |
doesn't get any spells. |
| 6813 |
socket/request.c: Check to see if pl->spell_state is non null in |
| 6814 |
esrv_update_spells() - in this way, server doesn't try to update |
| 6815 |
spells on client before the first add_player_spells() is called. |
| 6816 |
-- |
| 6817 |
MSW 2007-09-16 |
| 6818 |
|
| 6819 |
server/pets.c: Always mark inventory objects as FLAG_NO_DROP, not only |
| 6820 |
objects created from randomitems attribute and having nrof=0. Always |
| 6821 |
expand randomitems; do not omit it for player summoned monsters or |
| 6822 |
golems. |
| 6823 |
Andreas Kirschbaum 2007-09-16 |
| 6824 |
|
| 6825 |
Add a message when explore mode is disabled. Add help file for this command. |
| 6826 |
lib/Makefile.am |
| 6827 |
server/c_misc.c |
| 6828 |
Added file: |
| 6829 |
lib/help/explore |
| 6830 |
Nicolas Weeger 2007-09-16 |
| 6831 |
|
| 6832 |
Fix many objects getting applied with 'a' key. |
| 6833 |
server/apply.c: use METHOD_OK for success, not 1. |
| 6834 |
Nicolas Weeger 2007-09-15 |
| 6835 |
|
| 6836 |
Fix player teleported on wrong HallOfSelection for race if dying before class selection. |
| 6837 |
server/player.c |
| 6838 |
Nicolas Weeger 2007-09-15 |
| 6839 |
|
| 6840 |
Add an 'empty' command, that puts all contents of a (or all) container either |
| 6841 |
on ground or in player's opened container. |
| 6842 |
include/sproto.h |
| 6843 |
lib/Makefile.am |
| 6844 |
server/c_object.c commands.c |
| 6845 |
Added file: |
| 6846 |
lib/help/empty |
| 6847 |
Nicolas Weeger 2007-09-09 |
| 6848 |
|
| 6849 |
lib/metaserver2: Update with official metaserver2 location. MSW 2007-08-31 |
| 6850 |
|
| 6851 |
Remove support for obsolete 'fly_on/fly_off/walk_on/walk_off' attributes. |
| 6852 |
-- |
| 6853 |
doc/Developers/objects: Update documentation about no_pass attribute. |
| 6854 |
doc/{checkarch,collect}.pl.in: Check for move_on/off instead. |
| 6855 |
common/loader.l: Remove support for fly_on/fly_off/walk_on/walk_off |
| 6856 |
attributes. |
| 6857 |
Andreas Kirschbaum 2007-08-25 |
| 6858 |
|
| 6859 |
Fix incorrect lookup_spell_by_name() that prevented eg marking runes to work. |
| 6860 |
server/spell_util.c |
| 6861 |
Nicolas Weeger 2007-08-23 |
| 6862 |
|
| 6863 |
Fix mistake in check logic, preventing from building connected items. |
| 6864 |
server/build_map.c |
| 6865 |
Nicolas Weeger 2007-08-23 |
| 6866 |
|
| 6867 |
Fix bug #1779574: can destroy outer walls in lone town apartment, level 2. |
| 6868 |
server/build_map.c: fix can_build_over(), add missing check. |
| 6869 |
Nicolas Weeger 2007-08-23 |
| 6870 |
|
| 6871 |
lib/help/{fire,fire_stop}: Add help for "fire" and "fire_stop" commands. |
| 6872 |
Andreas Kirschbaum 2007-08-22 |
| 6873 |
|
| 6874 |
Don't display an evil error message when trying to reset a map with a player on. |
| 6875 |
server/c_wiz.c |
| 6876 |
Nicolas Weeger 2007-08-20 |
| 6877 |
|
| 6878 |
Write when an item is glowing. |
| 6879 |
common/item.c: add "glowing" to glowing items. |
| 6880 |
types/legacy/legacy_describe.c: LAMP have some description, too. |
| 6881 |
Nicolas Weeger 2007-08-20 |
| 6882 |
|
| 6883 |
Fix item update on ground. Factorize code. Add increase_ob_nr() function. |
| 6884 |
include/libproto.h |
| 6885 |
common/object.c |
| 6886 |
Nicolas Weeger 2007-08-18 |
| 6887 |
|
| 6888 |
Various small fixes. |
| 6889 |
common/exp.c: fix comment. |
| 6890 |
include/plugin.h: make fname const char*. |
| 6891 |
server/c_party.c: say something if no parameter to gsay. |
| 6892 |
server/c_wiz.c: remove some useless tests. |
| 6893 |
server/init.c: make get_racelink() abort() if memory failure. |
| 6894 |
server/monster.c: fix comment. |
| 6895 |
Nicolas Weeger 2007-08-16 |
| 6896 |
|
| 6897 |
Fix spurious function replace_insert_ob_in_map(), document it. |
| 6898 |
Implement unit test for that. |
| 6899 |
common/object.c |
| 6900 |
test/unit/common/check_object.c |
| 6901 |
Nicolas Weeger 2007-08-16 |
| 6902 |
|
| 6903 |
Partial fix for #1772759: Too much alchemy causes client crash. |
| 6904 |
common/object.c: correctly send/remove object when in container the player is |
| 6905 |
looking into. |
| 6906 |
Nicolas Weeger 2007-08-12 |
| 6907 |
|
| 6908 |
Fix plugin documentation, add some .ps version made from the wiki. |
| 6909 |
This fixes bug #1537236: cfpython 2.0 - documentation missing. |
| 6910 |
doc/plugins |
| 6911 |
doc/Developers/Makefile.am plugins python README |
| 6912 |
Added files: |
| 6913 |
doc/Developers/plugins.ps python.ps |
| 6914 |
Nicolas Weeger 2007-08-12 |
| 6915 |
|
| 6916 |
Save maps into a .savefile first, then rename if success. Flush files. |
| 6917 |
This should fix bug #1542893: Full disk destroys player's apartment. |
| 6918 |
common/map.c |
| 6919 |
include/map.h |
| 6920 |
server/c_wiz.c swap.c |
| 6921 |
Nicolas Weeger 2007-08-12 |
| 6922 |
|
| 6923 |
Don't delete (partial) map from memory in case of save error, warn DMs. |
| 6924 |
include/libproto.h map.h sproto.h |
| 6925 |
common/loader.l map.c |
| 6926 |
server/c_wiz.c login.c swap.c |
| 6927 |
Nicolas Weeger 2007-08-11 |
| 6928 |
|
| 6929 |
Add new NDI_ALL_DMS to send a message to all connected DMs. Used in case of errors. |
| 6930 |
include/newclient.h |
| 6931 |
socket/info.c |
| 6932 |
Nicolas Weeger 2007-08-11 |
| 6933 |
|
| 6934 |
server/player.c: fix find_better_arrow() comment, allow parameter to be NULL. |
| 6935 |
Nicolas Weeger 2007-08-11 |
| 6936 |
|
| 6937 |
doc/Developers/map.dox: add some real content. |
| 6938 |
Nicolas Weeger 2007-08-09 |
| 6939 |
|
| 6940 |
doc/playbook-html/Makefile.am,doc/spoiler-html/Makefile.am: Update the |
| 6941 |
clean directive to remove the png files, since that is what is now |
| 6942 |
used, and not gif files. |
| 6943 |
MSW 2007-08-08 |
| 6944 |
|
| 6945 |
Server support for Metaserver2: |
| 6946 |
acinclude.m4: Add LIBCURL_CHECK_CONFIG macro, used by configure. |
| 6947 |
configure.ac: Add check for pthread, LIBCURL. Extra |
| 6948 |
logic to display if we will build with metaserver2 support |
| 6949 |
lib/Makefile.am: add metaserver2 to list of files to install. |
| 6950 |
lib/metaserver2: Settings file for metaserver2 support. |
| 6951 |
server/init.c: Add call to metaserver2_init() during startup. |
| 6952 |
include/metaserver2.h: Header file include metaserver2 related data. |
| 6953 |
include/autoconf.h.in: Rebuilt |
| 6954 |
include/sockproto.h: Rebuilt with new metaserver2 functions. |
| 6955 |
socket/metaserver.c: metaserver2 update logic added. |
| 6956 |
MSW 2007-08-08 |
| 6957 |
|
| 6958 |
Remove useless parameter. |
| 6959 |
include/sproto.h |
| 6960 |
server/pets.c server.c swap.c |
| 6961 |
Nicolas Weeger 2007-08-06 |
| 6962 |
|
| 6963 |
Rename remove_door2() to remove_locked_door(). |
| 6964 |
include/sproto.h |
| 6965 |
server/player.c time.c |
| 6966 |
types/legacy/process.c |
| 6967 |
Nicolas Weeger 2007-08-06 |
| 6968 |
|
| 6969 |
Documentation, no functional change. |
| 6970 |
doc/Developers/login.dox: new file. |
| 6971 |
doc/Developers/mainpage.dox |
| 6972 |
include/define.h player.h |
| 6973 |
socket/init.c |
| 6974 |
Nicolas Weeger 2007-08-06 |
| 6975 |
|
| 6976 |
Various fixes. |
| 6977 |
server/c_misc.c: display information for weather even if turned off. |
| 6978 |
server/commands.c: make 'archs' a wizard command. |
| 6979 |
Nicolas Weeger 2007-08-05 |
| 6980 |
|
| 6981 |
Use safe string functions. Removed unused parameters. Rename init_spells() to check_spells(). |
| 6982 |
common/recipe.c |
| 6983 |
include/sproto.h |
| 6984 |
server/init.c spell_effect.c spell_util.c |
| 6985 |
Nicolas Weeger 2007-08-05 |
| 6986 |
|
| 6987 |
Use safe string functions. Removed unused parameters. |
| 6988 |
include/sproto.h |
| 6989 |
server/skill_util.c skills.c |
| 6990 |
Nicolas Weeger 2007-08-05 |
| 6991 |
|
| 6992 |
Use safe string functions. |
| 6993 |
common/living.c |
| 6994 |
include/sproto.h |
| 6995 |
server/c_misc.c skill_util.c |
| 6996 |
Nicolas Weeger 2007-08-05 |
| 6997 |
|
| 6998 |
Remove unused defines, functions and parameters. |
| 6999 |
common/living.c |
| 7000 |
include/commands.h map.h sproto.h |
| 7001 |
server/c_misc.c c_party.c login.c player.c resurrection.c win32.c |
| 7002 |
socket/request.c |
| 7003 |
Nicolas Weeger 2007-08-05 |
| 7004 |
|
| 7005 |
Remove unused parameter. |
| 7006 |
include/sproto.h |
| 7007 |
server/server.c |
| 7008 |
test/unit/server/comet_perf.c |
| 7009 |
Nicolas Weeger 2007-08-05 |
| 7010 |
|
| 7011 |
Remove unused command_generate(). |
| 7012 |
include/sproto.h |
| 7013 |
server/c_wiz.c |
| 7014 |
Nicolas Weeger 2007-08-05 |
| 7015 |
|
| 7016 |
include/config.h: fix default emergency path/coordinates. |
| 7017 |
Nicolas Weeger 2007-08-05 |
| 7018 |
|
| 7019 |
Merge NewServerCommands to ServerCommands, remove unused SocketCommands declaration. |
| 7020 |
include/commands.h |
| 7021 |
server/c_new.c commands.c |
| 7022 |
Nicolas Weeger 2007-08-05 |
| 7023 |
|
| 7024 |
Remove unused parameter from fire_bow(). |
| 7025 |
include/sproto.h |
| 7026 |
server/monster.c player.c |
| 7027 |
Nicolas Weeger 2007-08-05 |
| 7028 |
|
| 7029 |
Remove unused parameter from fatal_signal(), make signal handlers static. |
| 7030 |
include/sproto.h |
| 7031 |
server/init.c |
| 7032 |
Nicolas Weeger 2007-08-05 |
| 7033 |
|
| 7034 |
Remove unused loading field. |
| 7035 |
include/player.h |
| 7036 |
server/c_wiz.c server.c |
| 7037 |
Nicolas Weeger 2007-08-05 |
| 7038 |
|
| 7039 |
include/newserver.h: fix documentation. |
| 7040 |
Nicolas Weeger 2007-08-05 |
| 7041 |
|
| 7042 |
Documentation, no functional change. |
| 7043 |
Doxyfile |
| 7044 |
common/living.c map.c object.c |
| 7045 |
doc/Developers/mainpage.dox |
| 7046 |
include/artifact.h attack.h commands.h config.h define.h face.h global.h god.h |
| 7047 |
image.h includes.h living.h loader.h logger.h map.h material.h newclient.h object.h |
| 7048 |
skills.h spells.h |
| 7049 |
random_maps/random_map.h room_gen_onion.c room_gen_spiral.c special.c treasure.c |
| 7050 |
test/unit/server/check_c_object.c |
| 7051 |
server/apply.c attack.c c_chat.c c_object.c shop.c |
| 7052 |
Nicolas Weeger 2007-08-05 |
| 7053 |
|
| 7054 |
Documentation, no functional change. |
| 7055 |
include/newclient.h newserver.h ob_methods.h ob_types.h object.h path.h player.h |
| 7056 |
plugin.h re-cmp.h recipe.h shstr.h skills.h sounds.h spellist.h spells.h |
| 7057 |
tod.h treasure.h win32.h |
| 7058 |
server/skill_util.c spell_util.c time.c weather.c win32.c |
| 7059 |
Nicolas Weeger 2007-08-04 |
| 7060 |
|
| 7061 |
Documentation, no functional change. |
| 7062 |
common/shstr.c |
| 7063 |
include/race.h |
| 7064 |
server/commands.c daemon.c hiscore.c init.c login.c main.c server.c |
| 7065 |
Nicolas Weeger 2007-08-03 |
| 7066 |
|
| 7067 |
Fix compilation, document compile command line. |
| 7068 |
utils/mapper.c |
| 7069 |
Nicolas Weeger 2007-07-31 |
| 7070 |
|
| 7071 |
Move read_client_images() from socket/ to common/. |
| 7072 |
common/image.c |
| 7073 |
include/image.h libproto.h sockproto.h |
| 7074 |
socket/image.c |
| 7075 |
Nicolas Weeger 2007-07-31 |
| 7076 |
|
| 7077 |
Documentation, no functional change. |
| 7078 |
server/apply.c c_chat.c c_object.c c_party.c c_range.c ob_methods.c ob_types.c |
| 7079 |
player.c resurrection.c |
| 7080 |
Nicolas Weeger 2007-07-29 |
| 7081 |
|
| 7082 |
Documentation, no functional change. |
| 7083 |
server/c_move.c c_new.c move.c |
| 7084 |
Nicolas Weeger 2007-07-29 |
| 7085 |
|
| 7086 |
Documentation, no functional change. |
| 7087 |
server/c_wiz.c |
| 7088 |
Nicolas Weeger 2007-07-27 |
| 7089 |
|
| 7090 |
Documentation, no functional change. |
| 7091 |
Doxyfile: enable svn:keywords property. Various tweaks. |
| 7092 |
New files: |
| 7093 |
doc/Developers/archetype.dox artifact.dox client.dox connected.dox general.dox |
| 7094 |
mainpage.dox map.dox misc.dox object.dox player.dox region.dox treasure_list.dox |
| 7095 |
Nicolas Weeger 2007-07-27 |
| 7096 |
|
| 7097 |
Documentation, no functional change. |
| 7098 |
plugins/common/include/plugin_common.h |
| 7099 |
plugins/common/plugin_common.c |
| 7100 |
server/spell_attack.c spell_effect.c |
| 7101 |
Nicolas Weeger 2007-07-26 |
| 7102 |
|
| 7103 |
Documentation, no functional change. |
| 7104 |
include/sproto.h: fix paramss to params for coherence. |
| 7105 |
server/c_misc.c |
| 7106 |
Nicolas Weeger 2007-07-25 |
| 7107 |
|
| 7108 |
server/plugins.c: sanity checks on parameters for usual crashing culprit. |
| 7109 |
Nicolas Weeger 2007-07-25 |
| 7110 |
|
| 7111 |
Documentation, no functional change. |
| 7112 |
server/pets.c swap.c |
| 7113 |
Nicolas Weeger 2007-07-23 |
| 7114 |
|
| 7115 |
Remove unused return values. Fix wrong return for cure_disease. Remove hardcoded value. |
| 7116 |
include/sproto.h |
| 7117 |
server/disease.c |
| 7118 |
Nicolas Weeger 2007-07-17 |
| 7119 |
|
| 7120 |
Change function return type for coherence with experience. |
| 7121 |
common/exp.c info.c |
| 7122 |
include/libproto.h |
| 7123 |
Nicolas Weeger 2007-07-17 |
| 7124 |
|
| 7125 |
Remove obsolete color_bg handling. |
| 7126 |
common/image.c |
| 7127 |
lib/collect.pl.in |
| 7128 |
Nicolas Weeger 2007-07-17 |
| 7129 |
|
| 7130 |
No functional changes - various cleanups to reduce number of compiler warnings |
| 7131 |
when compiled with -Wall - makes it easier to catch real errors. Most things |
| 7132 |
changed/fixed are missing returns in non void functions, missing includes, |
| 7133 |
declared but unused variables, not escaping #include sproto in CEXTRACT |
| 7134 |
checks. MSW 2007-07-16 |
| 7135 |
-- |
| 7136 |
Changed files: |
| 7137 |
common/object.c common/button.c common/logger.c common/loader.l |
| 7138 |
common/living.c common/map.c common/treasure.c common/glue.c |
| 7139 |
include/libproto.h include/define.h include/sproto.h |
| 7140 |
plugins/cfpython/cfpython.c |
| 7141 |
plugins/cfanim/cfanim.c |
| 7142 |
random_maps/standalone.c |
| 7143 |
server/apply.c server/attack.c server/c_chat.c server/c_object.c |
| 7144 |
server/c_wiz.c server/ob_methods.c server/ob_types.c |
| 7145 |
server/shop.c server/skill_util.c server/skills.c server/time.c |
| 7146 |
socket/item.c socket/lowlevel.c socket/info.c |
| 7147 |
test/toolkit/toolkit_common.c |
| 7148 |
test/unit/random_maps/stubs_random.c test/unit/server/check_attack.c |
| 7149 |
test/unit/server/check_c_party.c test/unit/server/check_c_object.c |
| 7150 |
test/unit/server/comet_perf.c test/unit/common/check_object.c |
| 7151 |
test/unit/common/stubs_common.c test/unit/socket/stubs_socket.c |
| 7152 |
types/shop_inventory/shop_inventory.c types/common/common_apply.c |
| 7153 |
types/spellbook/spellbook.c types/skillscroll/skillscroll.c |
| 7154 |
|
| 7155 |
server/Makefile.am: Don't include main.c when building sproto.h |
| 7156 |
MSW 2007-07-16 |
| 7157 |
|
| 7158 |
test/unit/server/Makefile.am, test/bugs/bugtrack/Makefile.am: |
| 7159 |
Remove duplicate build directions for libtypes.a |
| 7160 |
MSW 2007-07-16 |
| 7161 |
|
| 7162 |
common/shstr.c, include/shstr.h, server/c_misc.c: Move SS_STATISTICS from |
| 7163 |
shstr.h to shstr.c - c_misc.c also includes the file, |
| 7164 |
and got warnings about unused static variables. - MSW 2007-07-16 |
| 7165 |
|
| 7166 |
Add support for using png files for html handbook and spoiler - png support |
| 7167 |
is common enough in browsers now days that don't need to convert to gif. |
| 7168 |
Reduces tool requirements to build documents (as it is a simple copy |
| 7169 |
for the png, vs actual conversion), and speeds up building the files |
| 7170 |
dramatically. |
| 7171 |
-- |
| 7172 |
doc/scripts/makeps.pl: Add png output handling. What this amounts to is |
| 7173 |
doing a hard link to the original png file. |
| 7174 |
doc/playbook-html/Makefile.am, doc/spoiler-html/Makefile.am: Use png |
| 7175 |
output for images now, not gif. |
| 7176 |
MSW 2007-07-16 |
| 7177 |
|
| 7178 |
plugins/cfpython/cfpython_object.c: don't try to insert a NULL object. |
| 7179 |
Nicolas Weeger 2007-07-16 |
| 7180 |
|
| 7181 |
Remove "random_move" field, "random_movement" exists. |
| 7182 |
common/loader.l |
| 7183 |
utils/bwp.c |
| 7184 |
Nicolas Weeger 2007-07-16 |
| 7185 |
|
| 7186 |
Remove obsolete/unused things. |
| 7187 |
common/glue.c item.c map.c utils.c |
| 7188 |
include/define.h |
| 7189 |
plugins/cfpython/cfpython.c |
| 7190 |
socket/request.c |
| 7191 |
Nicolas Weeger 2007-07-15 |
| 7192 |
|
| 7193 |
Remove unused field. |
| 7194 |
include/newserver.h |
| 7195 |
socket/init.c request.c |
| 7196 |
Nicolas Weeger 2007-07-15 |
| 7197 |
|
| 7198 |
Fix spoilers generation. giftrans is now disabled. |
| 7199 |
doc/playbook/Makefile.am |
| 7200 |
doc/playbook-html/Makefile.am |
| 7201 |
doc/scripts/Makefile.in makeps.pl |
| 7202 |
doc/spoiler/Makefile.am |
| 7203 |
doc/spoiler-html/Makefile.am |
| 7204 |
doc/spoiler-html/spoiler.html: removed as it's generated by make archive |
| 7205 |
Nicolas Weeger 2007-07-15 |
| 7206 |
|
| 7207 |
server/skills.c: Fix crash - using incorrect map pointer in call |
| 7208 |
to get_map_ob |
| 7209 |
MSW 2007-07-11 |
| 7210 |
|
| 7211 |
Tentative fix for bug #1746208: Critical crash with 'printlos'. |
| 7212 |
common/los.c: use safe string functions. Use 0/100 for view instead of 0-100. |
| 7213 |
Nicolas Weeger 2007-07-11 |
| 7214 |
|
| 7215 |
socket/request.c: In map sending routine, use object anim_speed if so for |
| 7216 |
animation speed instead of object speed. Allows for zero speed objects |
| 7217 |
to be animated, also matches behavior for inventory items. |
| 7218 |
MSW 2007-07-09 |
| 7219 |
|
| 7220 |
Documentation, no functional change. |
| 7221 |
common/object.c |
| 7222 |
server/rune.c |
| 7223 |
Nicolas Weeger 2007-07-09 |
| 7224 |
|
| 7225 |
Remove superfluous calls to esrv_del_item (since remove_ob calls it if needed). |
| 7226 |
Remove now unused send_removed_object function. Change esrv_send_item to esrv_update_item. |
| 7227 |
common/item.c |
| 7228 |
server/c_object.c c_wiz.c gods.c player.c plugins.c shop.c skills.c spell_effect.c time.c |
| 7229 |
types/spell_effect/spell_effect.c |
| 7230 |
Nicolas Weeger 2007-07-09 |
| 7231 |
|
| 7232 |
Update face information below player if it changes. Add P_PLAYER mapflag |
| 7233 |
field, as well as pointer to player on space making it easy to find |
| 7234 |
players on a space. Fix for bug 1735459 |
| 7235 |
--- |
| 7236 |
common/map.c: Modify update_position() to look for player and |
| 7237 |
update MapSpace accordingly. |
| 7238 |
common/object.c: update_object(): If player is object, update map |
| 7239 |
attributes immediately. Add handling for face or object changes. |
| 7240 |
include/map.h: Add SET/GET_MAP_PLAYER, player * to MapSpace, P_PLAYER |
| 7241 |
flag |
| 7242 |
--- |
| 7243 |
MSW 2007-07-08 |
| 7244 |
|
| 7245 |
Documentation, no functional change. Change some #define to enum for grouping purposes. |
| 7246 |
include/map.h |
| 7247 |
Nicolas Weeger 2007-07-08 |
| 7248 |
|
| 7249 |
Try to factor esrv_del_item and esrv_send_item into remove_ob() and |
| 7250 |
insert_ob_in_ob(). Fix calls to esrv_send_item that are really esrv_update_item(). |
| 7251 |
common/object.c treasure.c |
| 7252 |
include/newclient.h |
| 7253 |
random_maps/standalone.c |
| 7254 |
server/apply.c attack.c c_object.c c_wiz.c gods.c player.c plugins.c skills.c shop.c spell_effect.c time.c |
| 7255 |
socket/item.c |
| 7256 |
test/unit/common/stubs_common.c |
| 7257 |
types/armour_improver/armour_improver.c |
| 7258 |
types/lamp/lamp.c |
| 7259 |
types/lighter/lighter.c |
| 7260 |
Nicolas Weeger 2007-07-05 |
| 7261 |
|
| 7262 |
Remove crossedit-related documentation, replace with Gridarta. |
| 7263 |
Removed: |
| 7264 |
doc/Crossedit.doc crossedit.man |
| 7265 |
Modified: |
| 7266 |
doc/Makefile.am |
| 7267 |
doc/Developers/objects mapguide random-maps testplans |
| 7268 |
Nicolas Weeger 2007-07-05 |
| 7269 |
|
| 7270 |
server/c_range.c: don't lose golem if only consulting the spell list. |
| 7271 |
Nicolas Weeger 2007-07-05 |
| 7272 |
|
| 7273 |
Hopefully fix invalid player count on map. Now handled by remove_ob() and |
| 7274 |
insert_ob_in_map() directly. Also handled by leave() as the player leaves badly |
| 7275 |
the game in this case. Remove now unused leave_map() function. |
| 7276 |
common/object.c |
| 7277 |
include/map.h sproto.h |
| 7278 |
server/apply.c login.c player.c server.c |
| 7279 |
Nicolas Weeger 2007-07-04 |
| 7280 |
|
| 7281 |
Fix bug #1735283: shining amulet of repulsion behaves strangely. |
| 7282 |
common/object.c: remove stacking logic for blockview items, obsolete with map_layer. |
| 7283 |
Nicolas Weeger 2007-07-02 |
| 7284 |
|
| 7285 |
lib/help/skills, lib/Makefile.am: Add help for skills command. |
| 7286 |
Andreas Kirschbaum 2007-07-02 |
| 7287 |
|
| 7288 |
Documentation, no functional changes. |
| 7289 |
include/timers.h |
| 7290 |
server/timers.c |
| 7291 |
Nicolas Weeger 2007-07-01 |
| 7292 |
|
| 7293 |
Change behavior of shop mats: do not fail if the destination shop mat is |
| 7294 |
blocked. This prevents players from being trapped inside shops if the outside |
| 7295 |
shop mat has been blocked with earthwalls. |
| 7296 |
--- |
| 7297 |
server/move.c: In teleport() place player on destination shop mat even if |
| 7298 |
it is blocked. |
| 7299 |
Andreas Kirschbaum 2007-06-27 |
| 7300 |
|
| 7301 |
server/attack.c: don't say '(pk)' if duel, makes it easier to check for real pk. |
| 7302 |
Nicolas Weeger 2007-06-22 |
| 7303 |
|
| 7304 |
Party unit tests (partial). |
| 7305 |
test/unit/server/check_c_party.c Makefile.am |
| 7306 |
Nicolas Weeger 2007-06-22 |
| 7307 |
|
| 7308 |
server/c_party.c: fix mistake in party removal. |
| 7309 |
Nicolas Weeger 2007-06-22 |
| 7310 |
|
| 7311 |
common/shstr.c: Remove C++ style comment. |
| 7312 |
include/map.h, include/player.h: Fix 'comma at end of enumerator list' warnings. |
| 7313 |
types/food/food.c: Fix missing math.h include. (Harmless but caused a warning) |
| 7314 |
Alex Schultz 2007-06-21 |
| 7315 |
|
| 7316 |
server/time.c: make detectors able to find players (slaying set to 'player'). |
| 7317 |
Nicolas Weeger 2007-06-20 |
| 7318 |
|
| 7319 |
server/plugins.c: add PLUGIN_DEBUG to log plugin activity, off by default |
| 7320 |
(log gets filled with debug info which is not usually relevant). |
| 7321 |
Nicolas Weeger 2007-06-18 |
| 7322 |
|
| 7323 |
server/skills.c: correctly copy spell's path_repelled field when inscribing a |
| 7324 |
scroll, so casting from said scroll works with MOVING_BALL. |
| 7325 |
Nicolas Weeger 2007-06-18 |
| 7326 |
|
| 7327 |
server/login.c: Fix crash at login if player is set to rejoin party, and that |
| 7328 |
party does not exist - shouldn't try to use partyname from null structure. |
| 7329 |
MSW 2007-06-17 |
| 7330 |
|
| 7331 |
Documentation, no functional change. |
| 7332 |
server/skill_util.c skills.c |
| 7333 |
Fix variable name confusion Doxygen. |
| 7334 |
random_maps/standalone.c |
| 7335 |
test/unit/random_maps/stubs_random.c |
| 7336 |
test/unit/common/stubs_common.c |
| 7337 |
test/unit/socket/stubs_socket.c |
| 7338 |
utils/bwp.c mapper.c |
| 7339 |
Nicolas Weeger 2007-06-17 |
| 7340 |
|
| 7341 |
Documentation, no functional change. |
| 7342 |
server/disease.c gods.c spell_effect.c |
| 7343 |
Nicolas Weeger 2007-06-17 |
| 7344 |
|
| 7345 |
Fix bug #1735464: Reset command does not accept relative names. |
| 7346 |
server/c_wiz.c |
| 7347 |
Nicolas Weeger 2007-06-16 |
| 7348 |
|
| 7349 |
Remove Crossedit, replaced by Gridarta. See http://sourceforge.net/projects/gridarta |
| 7350 |
for more information. |
| 7351 |
Removed paths: |
| 7352 |
crossedit |
| 7353 |
test/unit/crossedit |
| 7354 |
Modified paths: |
| 7355 |
acinclude.m4 configure.ac Makefile.am |
| 7356 |
include/autoconf.h.in define.h global.h object.h |
| 7357 |
common/button.c init.c loader.l map.c object.c |
| 7358 |
server/init.c login.c |
| 7359 |
test/bugs/bugtrack/check_1727944.c |
| 7360 |
test/unit/Makefile.am |
| 7361 |
Nicolas Weeger 2007-06-13 |
| 7362 |
|
| 7363 |
Add some unit tests. |
| 7364 |
test/unit/server/check_c_object.c Makefile.am |
| 7365 |
test/unit/common/check_object.c |
| 7366 |
Nicolas Weeger 2007-06-13 |
| 7367 |
|
| 7368 |
Tentative optimizations, shouldn't cause issues but need testing. |
| 7369 |
common/object.c: fix_object() doesn't need to be called all the time. |
| 7370 |
server/c_object.c: why is player/monster removed then inserted? if special case, |
| 7371 |
please document why |
| 7372 |
Nicolas Weeger 2007-06-10 |
| 7373 |
|
| 7374 |
Partial fix for #1735275: Server sends incorrect spell info data. |
| 7375 |
server/login.c: send spell before calling fix_object() which updates spells. |
| 7376 |
Nicolas Weeger 2007-06-10 |
| 7377 |
|
| 7378 |
Tentative fix for #1735272: Server sends invalid item tags |
| 7379 |
server/plugins.c: don't send invisible objects, they're never sent to the client. |
| 7380 |
Nicolas Weeger 2007-06-10 |
| 7381 |
|
| 7382 |
test/bugs/bugtrack/check_1727944.c: fix ininitialized variable, reduce # of tests |
| 7383 |
as the test isn't that meaningful. |
| 7384 |
Nicolas Weeger 2007-06-10 |
| 7385 |
|
| 7386 |
Disable unimplemented tests, remove quests tests. |
| 7387 |
test/unit/common/Makefile.am |
| 7388 |
test/unit/common/check_quest.c: removed |
| 7389 |
test/unit/random_maps/Makefile.am |
| 7390 |
test/unit/server/Makefile.am |
| 7391 |
test/unit/socket/Makefile.am |
| 7392 |
Nicolas Weeger 2007-06-10 |
| 7393 |
|
| 7394 |
Fix accidentally broken unit test. |
| 7395 |
test/unit/common/check_arch.c: use correct type/subtype. |
| 7396 |
Nicolas Weeger 2007-06-10 |
| 7397 |
|
| 7398 |
Fix Win32 compilation. |
| 7399 |
common/loader.l logger.c re-cmp.c |
| 7400 |
make_win32/crossfire32.dsp installwin32.bat |
| 7401 |
plugins/cfanim/include/cfanim_proto.h |
| 7402 |
plugins/cfpython/cfpython_object.c |
| 7403 |
random_maps/floor.c treasure.c |
| 7404 |
Nicolas Weeger 2007-06-10 |
| 7405 |
|
| 7406 |
utils/mapper.c: fix compilation. Fix exit without path not displayed. |
| 7407 |
Nicolas Weeger 2007-06-10 |
| 7408 |
|
| 7409 |
Remove obsolete player_cmd(). |
| 7410 |
doc/Developers/protocol |
| 7411 |
include/sockproto.h |
| 7412 |
socket/loop.c request.c |
| 7413 |
Nicolas Weeger 2007-06-10 |
| 7414 |
|
| 7415 |
lib/artifacts: update header. |
| 7416 |
Nicolas Weeger 2007-06-09 |
| 7417 |
|
| 7418 |
Fix bug #1729829: Server using access to check for file existance. |
| 7419 |
Also remove obsolete old player directory mode support. |
| 7420 |
server/login.c |
| 7421 |
Nicolas Weeger 2007-06-09 |
| 7422 |
|
| 7423 |
Fix bug #1730874: +dam on bracers not working. |
| 7424 |
common/living.c: bracers can give damage too. |
| 7425 |
Nicolas Weeger 2007-06-09 |
| 7426 |
|
| 7427 |
common/loader.l: remove obsolete checks and conversions. |
| 7428 |
Nicolas Weeger 2007-06-09 |
| 7429 |
|
| 7430 |
Remove obsolete 'map1' and 'map1a' modes. |
| 7431 |
doc/Developers/protocol |
| 7432 |
include/newserver.h |
| 7433 |
socket/init.c request.c |
| 7434 |
Nicolas Weeger 2007-06-09 |
| 7435 |
|
| 7436 |
Remove obsolete 'item' command, always assume 'item2'. |
| 7437 |
doc/Developers/protocol |
| 7438 |
include/newserver.h |
| 7439 |
socket/init.c item.c request.c |
| 7440 |
Nicolas Weeger 2007-06-09 |
| 7441 |
|
| 7442 |
Assume clients always use 64b experience mode (commit for that support: MSW 2003-05-17). |
| 7443 |
include/newserver.h |
| 7444 |
socket/init.c request.c |
| 7445 |
Nicolas Weeger 2007-06-09 |
| 7446 |
|
| 7447 |
Remove obsolete old_mode support. Remove unused log_kill stuff. |
| 7448 |
include/newserver.h sockproto.h sproto.h |
| 7449 |
socket/init.c info.c |
| 7450 |
server/attack.c c_misc.c commands.c |
| 7451 |
Nicolas Weeger 2007-06-09 |
| 7452 |
|
| 7453 |
Remove obsolete image/face/face1 support. Increment protocol version to 1028. |
| 7454 |
doc/Developers/protocol |
| 7455 |
include/newserver.h |
| 7456 |
socket/image.c init.c request.c |
| 7457 |
Nicolas Weeger 2007-06-09 |
| 7458 |
|
| 7459 |
server/{ob_types.c, apply.c}, include/{sproto.h, typesproto.h}, |
| 7460 |
types/{food/food.c, legacy/apply.c, Makefile.am}: Refactor food applying. |
| 7461 |
include/libproto.h: Update prototypes. |
| 7462 |
Alex Schultz 2007-06-09 |
| 7463 |
|
| 7464 |
Remove badly implemented quest support. |
| 7465 |
Removed files: |
| 7466 |
common/quest.c |
| 7467 |
doc/Developers/quests |
| 7468 |
include/quest.h |
| 7469 |
lib/help/quests |
| 7470 |
Modified files: |
| 7471 |
common/Makefile.am |
| 7472 |
include/define.h libproto.h Makefile.am sproto.h |
| 7473 |
lib/Makefile.am |
| 7474 |
plugins/cfpython/cfpython.c |
| 7475 |
server/c_misc.c commands.c monster.c time.c |
| 7476 |
Nicolas Weeger 2007-06-09 |
| 7477 |
|
| 7478 |
doc/Developers/testplans: update. |
| 7479 |
Nicolas Weeger 2007-06-09 |
| 7480 |
|
| 7481 |
Remove party spell support. Not really tested, badly implemented. |
| 7482 |
include/spells.h |
| 7483 |
server/spell_util.c |
| 7484 |
Nicolas Weeger 2007-06-09 |
| 7485 |
|
| 7486 |
server/{attack.c, ob_types.c, apply.c, monster.c}, include/{sproto.h, |
| 7487 |
typesproto.h}, types/{scroll/scroll.c, legacy/apply.c, potion/potion.c, |
| 7488 |
Makefile.am: Refactor SCROLL and POTION applying. |
| 7489 |
server/ob_methods.c, include/sproto.h: Make METHOD_UNHANDLED cause fallback to |
| 7490 |
other callbacks. |
| 7491 |
types/skillscroll/skillscroll.c, types/spellbook/spellbook.c: Use METHOD_OK |
| 7492 |
instead of METHOD_ERROR when the applier is not a player. |
| 7493 |
Alex Schultz 2007-06-08 |
| 7494 |
|
| 7495 |
server/ob_types.c, server/apply.c, types/spellbook/spellbook.c, |
| 7496 |
types/skillscroll/skillscroll.c. types/legacy/apply.c, types/Makefile.am, |
| 7497 |
include/typesproto.h, include/sproto.h: |
| 7498 |
Refactor apply for skillscrolls and spellbooks. |
| 7499 |
server/daemon.c: Remove extraenous parameter for become_daemon. |
| 7500 |
include/sproto.h: Update sproto.h |
| 7501 |
Alex Schultz 2007-06-07 |
| 7502 |
|
| 7503 |
Documentation, no functional change. |
| 7504 |
server/shop.c |
| 7505 |
types/trap/rune.c |
| 7506 |
Nicolas Weeger 2007-06-07 |
| 7507 |
|
| 7508 |
server/rune.c, include/typesproto.h, types/trap/{trap.c, rune.c, common_trap.c}, |
| 7509 |
types/rune/rune.c, types/legacy/process.c, types/Makefile.am: Refactor some |
| 7510 |
rune and trap code. |
| 7511 |
Alex Schultz 2007-06-06 |
| 7512 |
|
| 7513 |
common/button.c: document, no functional change. |
| 7514 |
Nicolas Weeger 2007-06-06 |
| 7515 |
|
| 7516 |
Create the 'bugs/bugtrack' directories for the unit test framework. Add test for a bug. |
| 7517 |
configure.ac: add new directories |
| 7518 |
doc/Developers/testplans: update |
| 7519 |
test/Makefile.am: add directory |
| 7520 |
New files: |
| 7521 |
test/bugs/bugtrack/check_1727944.c Makefile.am |
| 7522 |
test/bugs/Makefile.am |
| 7523 |
Nicolas Weeger 2007-06-04 |
| 7524 |
|
| 7525 |
common/utils.c: don't try to decay a non head object, this leads to abort() from remove_ob(). |
| 7526 |
Nicolas Weeger 2007-06-04 |
| 7527 |
|
| 7528 |
Add Crossfire.Object.Skill property. |
| 7529 |
plugins/cfpython/include/cfpython_object_private.h |
| 7530 |
plugins/cfpython/cfpython_object.c |
| 7531 |
plugins/common/plugin_common.c: fix a crash when a NULL value. |
| 7532 |
Nicolas Weeger 2007-06-04 |
| 7533 |
|
| 7534 |
common/living.c: don't ignore exp gained in a skill you don't know yet. |
| 7535 |
Nicolas Weeger 2007-06-04 |
| 7536 |
|
| 7537 |
Fix wrong return values. |
| 7538 |
types/book/book.c |
| 7539 |
types/clock/clock.c |
| 7540 |
types/power_crystal/power_crystal.c |
| 7541 |
types/sign/sign.c |
| 7542 |
Nicolas Weeger 2007-06-03 |
| 7543 |
|
| 7544 |
types/shop_inventory/shop_inventory.c: fix documentation. |
| 7545 |
Nicolas Weeger 2007-06-03 |
| 7546 |
|
| 7547 |
Fix multipart altars not working correctly. |
| 7548 |
types/altar/altar.c |
| 7549 |
types/trigger_altar/trigger_altar.c |
| 7550 |
types/trigger_pedestal/trigger_pedestal.c |
| 7551 |
Nicolas Weeger 2007-06-03 |
| 7552 |
|
| 7553 |
Apply patch #1638868: Ident skills cover larger area with exp courtesy Aaron Baugher. |
| 7554 |
server/skills.c |
| 7555 |
Nicolas Weeger 2007-06-03 |
| 7556 |
|
| 7557 |
server/apply.c: wrong return value when handled by a plugin. |
| 7558 |
Nicolas Weeger 2007-06-03 |
| 7559 |
|
| 7560 |
Fix lamp-related issues. |
| 7561 |
common/map.c: don't clear FLAG_APPLY for lamps, as it indicates on/off. |
| 7562 |
server/apply.c: lamps don't change apply status when being 'unapplied'. |
| 7563 |
types/lamp/lamp.c: lamps can only be (un)applied when in inventory. |
| 7564 |
Nicolas Weeger 2007-06-02 |
| 7565 |
|
| 7566 |
common/object.c: simplify insert_ob_in_ob when merging. Correctly update the light. |
| 7567 |
Nicolas Weeger 2007-06-02 |
| 7568 |
|
| 7569 |
Move ob_apply logic for LAMP objects to the ob_method system. |
| 7570 |
include/typesproto.h |
| 7571 |
server/apply.c ob_types.c |
| 7572 |
types/lamp/lamp.c |
| 7573 |
types/legacy/apply.c |
| 7574 |
types/ChangeLog Makefile.am |
| 7575 |
Nicolas Weeger 2007-06-02 |
| 7576 |
|
| 7577 |
Move ob_apply logic for ARMOUR_IMPROVER objects to the ob_method system. |
| 7578 |
include/sproto.h typesproto.h |
| 7579 |
server/apply.c ob_types.c |
| 7580 |
types/armour_improver |
| 7581 |
types/armour_improver/armour_improver.c |
| 7582 |
types/legacy/apply.c |
| 7583 |
types/Changelog Makefile.am |
| 7584 |
Nicolas Weeger 2007-06-02 |
| 7585 |
|
| 7586 |
Rename MENU to SHOP_INVENTORY, better match. |
| 7587 |
Move ob_apply logic for SHOP_INVENTORY objects to the ob_method system. |
| 7588 |
common/item.c |
| 7589 |
include/define.h typesproto.h |
| 7590 |
plugins/cfpython/cfpython.c |
| 7591 |
server/shop.c ob_types.c |
| 7592 |
types/legacy/apply.c |
| 7593 |
types/shop_inventory/shop_inventory.c |
| 7594 |
types/ChangeLog |
| 7595 |
types/Makefile.am |
| 7596 |
Nicolas Weeger 2007-06-02 |
| 7597 |
|
| 7598 |
Fix wrong check for object applying. |
| 7599 |
Move ob_apply logic for LIGHTER objects to the ob_method system. |
| 7600 |
include/sproto.h typesproto.h |
| 7601 |
server/ob_types.c |
| 7602 |
server/apply.c: use METHOD_xxx for test values. |
| 7603 |
types/ChangeLog |
| 7604 |
types/legacy/apply.c |
| 7605 |
types/lighter/lighter.c: added. |
| 7606 |
Nicolas Weeger 2007-06-02 |
| 7607 |
|
| 7608 |
Remove obsolete oldsocket stuff. |
| 7609 |
include/newserver.h sockproto.h sproto.h |
| 7610 |
server/commands.c |
| 7611 |
socket/info.c loop.c lowlevel.c |
| 7612 |
Nicolas Weeger 2007-06-02 |
| 7613 |
|
| 7614 |
Fix uninitialized memory / invalid memory access. |
| 7615 |
common/arch.c treasure.c |
| 7616 |
Nicolas Weeger 2007-06-01 |
| 7617 |
|
| 7618 |
Fix bug #1729192: Writing any spellscroll requires positive grace. |
| 7619 |
server/skills.c |
| 7620 |
Nicolas Weeger 2007-06-01 |
| 7621 |
|
| 7622 |
Implement feature request #1724356: logging improvements. |
| 7623 |
Apply modified patch from Wart. |
| 7624 |
New settings log_timestamp and log_timestamp_format to control behaviour. |
| 7625 |
Log player creation. |
| 7626 |
common/init.c logger.c |
| 7627 |
include/global.h |
| 7628 |
lib/settings |
| 7629 |
server/c_misc.c init.c |
| 7630 |
Nicolas Weeger 2007-05-30 |
| 7631 |
|
| 7632 |
Fix bug #1726632: After useing a # of times on the forge.. |
| 7633 |
server/alchemy.c: item may change, so its weight too. This leads to invalid carrying. |
| 7634 |
Nicolas Weeger 2007-05-30 |
| 7635 |
|
| 7636 |
Documentation, fix indentation. No functional change. |
| 7637 |
server/ban.c build_map.c |
| 7638 |
Nicolas Weeger 2007-05-29 |
| 7639 |
|
| 7640 |
lib/formulae: fix bug #1726561: formulae for potion_heal needs supreme potion of life. |
| 7641 |
Nicolas Weeger 2007-05-28 |
| 7642 |
|
| 7643 |
utils/mapper.c: add a world map of used and unused exits / blocking zones / roads. |
| 7644 |
Nicolas Weeger 2007-05-28 |
| 7645 |
|
| 7646 |
common/button.c: calming mood floors should calm attacking monsters. |
| 7647 |
Nicolas Weeger 2007-05-27 |
| 7648 |
|
| 7649 |
server/c_move.c: remove extra space. |
| 7650 |
Nicolas Weeger 2007-05-27 |
| 7651 |
|
| 7652 |
server/attack.c: document code, no functional change. |
| 7653 |
Nicolas Weeger 2007-05-26 |
| 7654 |
|
| 7655 |
server/apply.c: food/drink can't be eaten if no_pick is set. |
| 7656 |
Nicolas Weeger 2007-05-26 |
| 7657 |
|
| 7658 |
server/c_misc.c: use region's longname for 'mapinfo', neater than name. |
| 7659 |
Nicolas Weeger 2007-05-26 |
| 7660 |
|
| 7661 |
lib/messages: some more stories. |
| 7662 |
Nicolas Weeger 2007-05-26 |
| 7663 |
|
| 7664 |
Document code, no functional change. |
| 7665 |
common/arch.c |
| 7666 |
include/define.h |
| 7667 |
server/apply.c |
| 7668 |
Nicolas Weeger 2007-05-25 |
| 7669 |
|
| 7670 |
Implement feature request #1653768: Pants/legs |
| 7671 |
common/item.c |
| 7672 |
include/object.h |
| 7673 |
Nicolas Weeger 2007-05-24 |
| 7674 |
|
| 7675 |
server/time.c: allow plugins to override the usual move process. |
| 7676 |
Nicolas Weeger 2007-05-24 |
| 7677 |
|
| 7678 |
Add party rejoin at login. New command 'party_rejoin' to control the behaviour. |
| 7679 |
include/player.h sproto.h |
| 7680 |
server/c_party.c commands.c login.c player.c |
| 7681 |
lib/help/party_rejoin |
| 7682 |
lib/Makefile.am |
| 7683 |
Nicolas Weeger 2007-05-21 |
| 7684 |
|
| 7685 |
Misc memory fixes. Remove obsolete "inventory" line. |
| 7686 |
common/image.c links.c loader.l player.c re-cmp.c shstr.c treasure.c |
| 7687 |
Nicolas Weeger 2007-05-20 |
| 7688 |
|
| 7689 |
Document save_object(s) and save_map() options, add enum for doc linking. |
| 7690 |
common/loader.l map.c |
| 7691 |
crossedit/Edit.c |
| 7692 |
include/map.h |
| 7693 |
random_maps/standalone.c |
| 7694 |
server/c_wiz.c server.c swap.c weather.c |
| 7695 |
Nicolas Weeger 2007-05-20 |
| 7696 |
|
| 7697 |
Fix bug #1713140: sustenance overflow. |
| 7698 |
include/player.h: change digestion from sint8 to sint16. Change other fields |
| 7699 |
the same to avoid potential overflows. |
| 7700 |
Nicolas Weeger 2007-05-20 |
| 7701 |
|
| 7702 |
server/disease.c: Add check to make sure symptom was not destroyed |
| 7703 |
when victim dies - otherwise we get double remove/free. |
| 7704 |
MSW 2007-05-19 |
| 7705 |
|
| 7706 |
Static buffer removal, remove unused parameters, use safe string functions. |
| 7707 |
random_maps/decor.c door.c exit.c expand2x.c floor.c monster.c random_map.c |
| 7708 |
rproto.h style.c treasure.c wall.c |
| 7709 |
server/server.c |
| 7710 |
Nicolas Weeger 2007-05-18 |
| 7711 |
|
| 7712 |
server/weather.c: remove static buffer. |
| 7713 |
Nicolas Weeger 2007-05-17 |
| 7714 |
|
| 7715 |
server/server.c: player count tracking will get false if moving from a map to the same. |
| 7716 |
Nicolas Weeger 2007-05-17 |
| 7717 |
|
| 7718 |
Remove obsolete funcpoint.h file. |
| 7719 |
include/funcpoint.h: removed |
| 7720 |
include/global.h Makefile.am |
| 7721 |
crossedit/xutil.c |
| 7722 |
common/arch.c button.c item.c living.c logger.c los.c map.c object.c player.c time.c treasure.c utils.c |
| 7723 |
Nicolas Weeger 2007-05-17 |
| 7724 |
|
| 7725 |
Don't pass variables that aren't needed, remove prototype confusion. Document. |
| 7726 |
server/weather.c |
| 7727 |
Nicolas Weeger 2007-05-17 |
| 7728 |
|
| 7729 |
Change weather_effect() to use mapstruct* instead of filename. |
| 7730 |
common/map.c |
| 7731 |
crossedit/stubs.c |
| 7732 |
include/funcpoint.h sproto.h |
| 7733 |
random_maps/standalone.c |
| 7734 |
server/weather.c |
| 7735 |
test/unit/common/stubs_common.c |
| 7736 |
test/unit/crossedit/stubs_crossedit.c |
| 7737 |
test/unit/random_maps/stubs_random.c |
| 7738 |
test/unit/socket/stubs_socket.c |
| 7739 |
utils/bwp.c mapper.c |
| 7740 |
Nicolas Weeger 2007-05-17 |
| 7741 |
|
| 7742 |
server/weather.c: fix mountain cave being covered and rendered invisible. |
| 7743 |
Nicolas Weeger 2007-05-17 |
| 7744 |
|
| 7745 |
test/unit/server/check_attack.c: some tests for hit_player. |
| 7746 |
Nicolas Weeger 2007-05-17 |
| 7747 |
|
| 7748 |
server/ob_types.c, types/Makefile.am, types/item_transformer/item_transformer.c: |
| 7749 |
Remove code for the obsolete item_transformer type. |
| 7750 |
Alex Schultz 2007-05-16 |
| 7751 |
|
| 7752 |
Add spell merging code - this makes the server run much faster when many |
| 7753 |
spell objects are in use. For more details, see doc/Developers/spells |
| 7754 |
--- |
| 7755 |
common/init.c: And declaration/initialization of statistics values. |
| 7756 |
common/object.c: Add handling of spell_tags in object structure (free, |
| 7757 |
copy. Add merge_spell() function. Add call to function from |
| 7758 |
insert_ob_in_map(). Remove was_destroyed() function - now macro. |
| 7759 |
doc/Developers/spells: Add notes on performance numbers and how spell |
| 7760 |
merging works. |
| 7761 |
include/global.h: Add statistics structure used to hold various |
| 7762 |
statistic related variables - added since I added a few points to collect |
| 7763 |
data for my testing. |
| 7764 |
include/libproto.h: remove was_destroyed() declaration. |
| 7765 |
include/object.h: Make was_destroyed() a macro, moving it here. Also add |
| 7766 |
information related to spell tags in object structure. |
| 7767 |
server/server.c: change process_events() to be a non static function, |
| 7768 |
so that test programs can call it/use it. |
| 7769 |
server/spell_util.c: Change ok_to_put_more() to look at the spell_tags |
| 7770 |
in the object for match spell instances. |
| 7771 |
test/unit/server/Makefile.am: Remove double dependency of libraries - not |
| 7772 |
needed. Add dependency for libtypes.a. Add comet_perf test case. |
| 7773 |
test/unit/server/comet_perf.c: New file/test, used to test both performance |
| 7774 |
improvments as well as consistency of results. |
| 7775 |
types/spell_effect/spell_effect.c: Modify explosion() to set op->range=0 |
| 7776 |
after spell has propogated to neighboring spaces. Call merge_spell() |
| 7777 |
after setting range to zero. |
| 7778 |
MSW 2007-05-14 |
| 7779 |
|
| 7780 |
Remove now obsolete 'item_transformer' type, replaced by 'use' command. |
| 7781 |
common/item.c |
| 7782 |
include/define.h |
| 7783 |
plugins/cfpython/cfpython.c |
| 7784 |
server/apply.c |
| 7785 |
types/item_transformer/item_transformer.c |
| 7786 |
Nicolas Weeger 2007-05-13 |
| 7787 |
|
| 7788 |
Remove (legacy_)apply_container that wasn't used - called only for non players, |
| 7789 |
but starts by returning if applier is not a player. |
| 7790 |
Rename (legacy_)esrv_apply_container to (legacy_)apply_container. |
| 7791 |
include/sproto.h |
| 7792 |
server/apply.c player.c |
| 7793 |
types/container/container.c |
| 7794 |
types/legacy/apply.c |
| 7795 |
Nicolas Weeger 2007-05-13 |
| 7796 |
|
| 7797 |
Fix unit test pics (those are dummy ones, to be replaced someday). Add more tests to objects. |
| 7798 |
test/templates/checkTextResult.xsl: put dummy stuff so it works (copied from logresult.xsl) |
| 7799 |
test/templates/crossfire-logo-unit.png |
| 7800 |
test/templates/crossfire-logo-unit-failed.png |
| 7801 |
test/templates/crossfire-logo-unit-success.png |
| 7802 |
test/templates/error.png |
| 7803 |
test/templates/failure.png |
| 7804 |
test/templates/success.png |
| 7805 |
test/templates/txtlog.png |
| 7806 |
test/toolkit/toolkit_common.c: use multipart-aware function |
| 7807 |
test/unit/common/check_object.c: implement more tests |
| 7808 |
test/unit/common/check_shstr.c: don't try to add_string(NULL) if MANY_CORES is set, abort(). |
| 7809 |
test/unit/server/Makefile.am: add libtypes.a to server. |
| 7810 |
Nicolas Weeger 2007-05-13 |
| 7811 |
|
| 7812 |
Remove obsolete fields. |
| 7813 |
common/loader.l |
| 7814 |
include/attack.h |
| 7815 |
Nicolas Weeger 2007-05-13 |
| 7816 |
|
| 7817 |
server/skill_util.c: fix wrong 'skills' display when no god is whoreshipped. |
| 7818 |
Nicolas Weeger 2007-05-10 |
| 7819 |
|
| 7820 |
server/disease.c: fix bug #1713112: rabies infects audience of the arena. |
| 7821 |
Nicolas Weeger 2007-05-09 |
| 7822 |
|
| 7823 |
server/c_wiz.c: fix multipart object creation. |
| 7824 |
Nicolas Weeger 2007-05-09 |
| 7825 |
|
| 7826 |
server/plugins.c: fix wrong parameter order. |
| 7827 |
Nicolas Weeger 2007-05-08 |
| 7828 |
|
| 7829 |
Add 'Crossfire.Object.Race' attribute. |
| 7830 |
plugins/cfpython/cfpython_object.c |
| 7831 |
plugins/cfpython/include/cfpython_object_private.h |
| 7832 |
Nicolas Weeger 2007-05-08 |
| 7833 |
|
| 7834 |
New command: 'use <item> with <item>', which enables complex item transformation. |
| 7835 |
doc/Developers/item_transformation |
| 7836 |
include/sproto.h |
| 7837 |
lib/help/use |
| 7838 |
server/c_object.c commands.c |
| 7839 |
Nicolas Weeger 2007-05-08 |
| 7840 |
|
| 7841 |
Remove obsolete object types. |
| 7842 |
common/item.c |
| 7843 |
include/define.h |
| 7844 |
plugins/python/cfpython.c |
| 7845 |
Nicolas Weeger 2007-05-08 |
| 7846 |
|
| 7847 |
server/alchemy.c: Doxygen documentation, no functional change. |
| 7848 |
Nicolas Weeger 2007-05-08 |
| 7849 |
|
| 7850 |
utils/mapper.c: new parameter, -listunusedmaps, that'll generate a maps.unused file. |
| 7851 |
Nicolas Weeger 2007-05-07 |
| 7852 |
|
| 7853 |
server/plugins.c: fix plugin unloading which didn't call the closePlugin function. |
| 7854 |
server/c_wiz.c: document. |
| 7855 |
Nicolas Weeger 2007-05-07 |
| 7856 |
|
| 7857 |
Apply patch #1713563: Reopen log file on SIGHUP, courtesy Kari Pahula. |
| 7858 |
common/logger.c |
| 7859 |
include/global.h |
| 7860 |
server/init.c |
| 7861 |
Nicolas Weeger 2007-05-05 |
| 7862 |
|
| 7863 |
Apply patch #1713564, Open log file only once with -detach, courtesy Kari Pahula. |
| 7864 |
include/sproto.h |
| 7865 |
server/daemon.c init.c |
| 7866 |
Nicolas Weeger 2007-05-05 |
| 7867 |
|
| 7868 |
Implement feature request #1657735: Server setting for handling 'incorrect' converters. |
| 7869 |
New server setting, 'allow_broken_converters', that controls what to do. |
| 7870 |
common/init.c |
| 7871 |
include/global.h |
| 7872 |
lib/settings |
| 7873 |
server/init.c |
| 7874 |
types/converter/converter.c |
| 7875 |
Nicolas Weeger 2007-05-05 |
| 7876 |
|
| 7877 |
types/legacy/apply.c: fix broken LIGHTER. |
| 7878 |
Nicolas Weeger 2007-05-05 |
| 7879 |
|
| 7880 |
Fix some type issues in plugin. Wrap change_abil(). Add set_resist(). Add duration property. |
| 7881 |
include/plugin.h sproto.h |
| 7882 |
plugins/common/include/plugin_common.h |
| 7883 |
plugins/common/plugin_common.c |
| 7884 |
plugins/cfpython/include/cfpython_object_private.h |
| 7885 |
plugins/cfpython/cfpython_object.c |
| 7886 |
server/plugins.c |
| 7887 |
Nicolas Weeger 2007-05-05 |
| 7888 |
|
| 7889 |
random_maps/random_map.c: initialize random map's reset time, so town portal works |
| 7890 |
correctly there too. |
| 7891 |
Nicolas Weeger 2007-05-04 |
| 7892 |
|
| 7893 |
Fix misc compilation warnings. Remove duplicate function. |
| 7894 |
include/sproto.h |
| 7895 |
plugins/common/include/plugin_common.h |
| 7896 |
plugins/common/plugin_common.c |
| 7897 |
plugins/cfpython/cfpython.c cfpython_object.c |
| 7898 |
server/plugins.c |
| 7899 |
Nicolas Weeger 2007-04-30 |
| 7900 |
|
| 7901 |
server/c_misc.c: ensure you can't harvest items already harvested, or skills and such. |
| 7902 |
Nicolas Weeger 2007-04-30 |
| 7903 |
|
| 7904 |
server/monster.c: fix bug #1709618: Text message is too long/truncated. |
| 7905 |
Nicolas Weeger 2007-04-30 |
| 7906 |
|
| 7907 |
Partially implement feature request #1668158: Better nethack implementation. |
| 7908 |
Random maps now have a new 'multiple_floors' parameter that, if set, will |
| 7909 |
make the different rooms of the map have different floors. |
| 7910 |
All floors are still taken from the same floor style, for coherence. |
| 7911 |
doc/Developers/random-maps |
| 7912 |
random_maps/floor.c reader.l random_map.c random_map.h |
| 7913 |
Nicolas Weeger 2007-04-29 |
| 7914 |
|
| 7915 |
random_maps/wall.c: walls should always block, even if they sometimes allow |
| 7916 |
some movement. |
| 7917 |
Nicolas Weeger 2007-04-29 |
| 7918 |
|
| 7919 |
server/rune.c: trap's message can be NULL (random maps for instance). |
| 7920 |
Nicolas Weeger 2007-04-29 |
| 7921 |
|
| 7922 |
Return result of cf_object_move(). |
| 7923 |
plugins/common/include/plugin_common.h |
| 7924 |
plugins/common/plugin_common.c |
| 7925 |
Add 'Crossfire.Object.Move' method. |
| 7926 |
plugins/cfpython/cfpython_object.c |
| 7927 |
plugins/cfpython/include/cfpython_object_private.h |
| 7928 |
Nicolas Weeger 2007-04-29 |
| 7929 |
|
| 7930 |
Give read-only access to map->unique to plugins. Add Crossfire.Map.Unique property. |
| 7931 |
include/plugin.h |
| 7932 |
plugins/cfpython/include/cfpython_map_private.h |
| 7933 |
plugins/cfpython/cfpython_map.c |
| 7934 |
server/plugins.c |
| 7935 |
Nicolas Weeger 2007-04-29 |
| 7936 |
|
| 7937 |
plugins/common/plugin_common.c: wrong param type. |
| 7938 |
Nicolas Weeger 2007-04-29 |
| 7939 |
|
| 7940 |
plugins/cfanim/cfanim.c: fixed a crash occuring when ghosting a DM. Made the |
| 7941 |
Animator work by making it listening to the time event. Fixed the bug that |
| 7942 |
left the player invisible after having been ghosted. |
| 7943 |
Made the paralyze option of animation files to work. |
| 7944 |
Fixed crashes when more than an animator was running simultaneously. |
| 7945 |
Yann Chachkoff 2007-04-29 |
| 7946 |
|
| 7947 |
server/plugins.c, plugins/cfpython/cfpython_object.c: Fix type mismatch in |
| 7948 |
varargs function parameters. |
| 7949 |
Andreas Kirschbaum 2007-04-28 |
| 7950 |
|
| 7951 |
server/disease.c: fix bug #1706986: Rabies can infect a DM. DMs are now immune |
| 7952 |
and non contagious. |
| 7953 |
Nicolas Weeger 2007-04-28 |
| 7954 |
|
| 7955 |
Change the version string from 1.9.1 to 2.0-dev for trunk. |
| 7956 |
Alex Schultz 2007-04-28 |
| 7957 |
|
| 7958 |
socket/loop.c: fix unitialized variable. |
| 7959 |
Nicolas Weeger 2007-04-28 |
| 7960 |
|
| 7961 |
plugins/cfpython/cfpython_object.c: fix wrong property set (value is int). |
| 7962 |
Nicolas Weeger 2007-04-28 |
| 7963 |
|
| 7964 |
server/player.c: No need to copy faces_sent - just use the data already |
| 7965 |
there, and set ns->faces_sent to NULL so we know there is no data there. |
| 7966 |
socket/init.c: Allocate ns->faces_sent if not there. |
| 7967 |
MSW 2007-04-25 |
| 7968 |
|
| 7969 |
socket/init.c: Change free calls with FREE_AND_CLEAR - were getting double |
| 7970 |
frees - since pointer wasn't reset, was no way for program to know not |
| 7971 |
to have the data cleared again. |
| 7972 |
MSW 2007-04-24 |
| 7973 |
|
| 7974 |
server/disease.c: In move symptom() stop processing if victim dies. This |
| 7975 |
prevents access to freed objects. |
| 7976 |
server/gods.c: In tailor_god_spell() do not pass NULL value to add_string(). |
| 7977 |
server/spell_effect.c, server/alchemy.c: Fix format arguments of calls to |
| 7978 |
draw_ext_info_format(). |
| 7979 |
server/disease.c: In move_symptom() fix possible buffer overflow when creating |
| 7980 |
symptom names. |
| 7981 |
Andreas Kirschbaum 2007-04-25 |
| 7982 |
|
| 7983 |
server/spell_effect.c: In polymorph_item() fix possible access to freed |
| 7984 |
object. |
| 7985 |
common/los.c: In update_los() fix array out-of-bounds access for clients using |
| 7986 |
25x25 map size. |
| 7987 |
Andreas Kirschbaum 2007-04-24 |
| 7988 |
|
| 7989 |
Clean old code related to single player directory. |
| 7990 |
include/sproto.h |
| 7991 |
server/login.c player.c |
| 7992 |
Nicolas Weeger 2007-04-23 |
| 7993 |
|
| 7994 |
Implement feature request #1560389: improve inscription logic. |
| 7995 |
New server command, "inscribe", that makes it easy to send spell and scroll information. |
| 7996 |
'setup inscribe 1' will return 'inscribe 1', so client know they can use this command. |
| 7997 |
doc/Developers/protocol |
| 7998 |
include/sockproto.h |
| 7999 |
socket/item.c loop.c request.c |
| 8000 |
Nicolas Weeger 2007-04-23 |
| 8001 |
|
| 8002 |
Add background music support to maps, change 'socket.sound' field signification. |
| 8003 |
Add SockList_AddString helper function. |
| 8004 |
common/map.c |
| 8005 |
include/map.h newserver.h sockproto.h sounds.h |
| 8006 |
server/c_misc.c server.c |
| 8007 |
socket/lowlevel.c sounds.c |
| 8008 |
Nicolas Weeger 2007-04-22 |
| 8009 |
|
| 8010 |
server/apply.c: remove legacy spellbook handling. |
| 8011 |
Nicolas Weeger 2007-04-22 |
| 8012 |
|
| 8013 |
Second and last part of feature request #1543553: Inventories in artifacts/archetypes. |
| 8014 |
It's now possible to put "arch" in archetypes, they'll be correctly handled. |
| 8015 |
Like any other object, you can customize it. |
| 8016 |
common/arch.c loader.l |
| 8017 |
Nicolas Weeger 2007-04-22 |
| 8018 |
|
| 8019 |
server/server.c: Add some debug to see if objects are on swapped out |
| 8020 |
maps in process_objects() |
| 8021 |
socket/loop.c: Hopeful fix for old bug - can be rare cases where |
| 8022 |
next player gets freed, so code tries to process garbage player |
| 8023 |
and crashes. |
| 8024 |
MSW 2007-04-21 |
| 8025 |
|
| 8026 |
lib/artifacts: fix bug #1673804: Items "of Occidental Mages" use obsolete |
| 8027 |
event_xxx fields. |
| 8028 |
Nicolas Weeger 2007-04-21 |
| 8029 |
|
| 8030 |
Partially implement feature request #1543553: Inventories in artifacts/archetypes. |
| 8031 |
It's now possible to have items in artifacts, they'll be inserted in object. |
| 8032 |
Doesn't yet work with archetypes, since you could possibly reference an archetype |
| 8033 |
defined *after* the current archetype. |
| 8034 |
common/arch.c: do a deep object copy instead of a partial one |
| 8035 |
common/loader.l: handle inventories during artifact load |
| 8036 |
common/object.c: put copy_object_with_inv |
| 8037 |
common/treasure.c: add inventory from artifact |
| 8038 |
include/libproto.h: updated prototypes |
| 8039 |
random_maps/random_map.c rproto.h: moved copy_object_with_inv to common lib |
| 8040 |
Nicolas Weeger 2007-04-21 |
| 8041 |
|
| 8042 |
Implement EVENT_TELL. |
| 8043 |
plugins/cfpython/cfpython.c |
| 8044 |
plugins/template/plugin_template.c |
| 8045 |
server/c_chat.c plugins.c |
| 8046 |
Nicolas Weeger 2007-04-21 |
| 8047 |
|
| 8048 |
Add discrete damage type for weapons, and probably also spells and such. |
| 8049 |
common/loader.l object.c |
| 8050 |
include/object.h |
| 8051 |
server/attack.c |
| 8052 |
Nicolas Weeger 2007-04-21 |
| 8053 |
|
| 8054 |
server/spell_attack.c: wrong argument to ob_process, leading to infinite recursion. |
| 8055 |
Nicolas Weeger 2007-04-21 |
| 8056 |
|
| 8057 |
server/apply.c: potions of life now won't affect player if their level is too low. |
| 8058 |
Nicolas Weeger 2007-04-20 |
| 8059 |
|
| 8060 |
server/attack.c: enable plugins to prevent attacks. |
| 8061 |
Nicolas Weeger 2007-04-18 |
| 8062 |
|
| 8063 |
server/plugins.c: fix wrong return type. |
| 8064 |
Nicolas Weeger 2007-04-18 |
| 8065 |
|
| 8066 |
plugins/cfpython/cfpython_object.c: don't insert hooks in 'more' parts of items. |
| 8067 |
plugins/cfpython/cfpython.c: player list (GetPlayers()), activate 'clock' event. |
| 8068 |
--- |
| 8069 |
Give access to player list to plugins. Fix mishandling of multipart objects. |
| 8070 |
include/plugin.h |
| 8071 |
server/plugins.c |
| 8072 |
Nicolas Weeger 2007-04-17 |
| 8073 |
|
| 8074 |
common/region.c: don't crash if no regions file found. |
| 8075 |
Nicolas Weeger 2007-04-15 |
| 8076 |
|
| 8077 |
Wrap change_exp() function. Make 'exp' property the same as others. |
| 8078 |
Also fix a crash: don't insert destroy hooks in archetype clones. |
| 8079 |
include/sproto.h |
| 8080 |
plugins/cfpython/cfpython_object.c |
| 8081 |
plugins/cfpython/include/Makefile.in |
| 8082 |
plugins/cfpython/include/cfpython_object_private.h |
| 8083 |
plugins/common/include/plugin_common.h |
| 8084 |
plugins/common/plugin_common.c |
| 8085 |
Nicolas Weeger 2007-04-15 |
| 8086 |
|
| 8087 |
server/plugins.c: wrong case - FLAG_FRIENDLY is not the same as friendlylist :) |
| 8088 |
plugins/cfpython/cfpython_object.c: add 'IsPet' and 'AttackMovement' |
| 8089 |
plugins/cfpython/include/cfpython_object_private.h |
| 8090 |
Nicolas Weeger 2007-04-15 |
| 8091 |
|
| 8092 |
server/skills.c: EVENT_TRIGGER for magical scroll writing. |
| 8093 |
Nicolas Weeger 2007-04-15 |
| 8094 |
|
| 8095 |
server/cfpython.c: add AttackType, AttackTypeNumber, EventType constants. |
| 8096 |
Nicolas Weeger 2007-04-15 |
| 8097 |
|
| 8098 |
common/living.c: fix comments. |
| 8099 |
common/object.c: dump owner too. |
| 8100 |
server/plugins.c: check values for cfapi_map_get_object_at(). Handle FLAG_FRIENDLY |
| 8101 |
and friendlist. |
| 8102 |
Nicolas Weeger 2007-04-15 |
| 8103 |
|
| 8104 |
Enable plugins to change the 'path' property of a map. |
| 8105 |
plugins/cfpython/cfpython_map.c |
| 8106 |
plugins/cfpython/include/cfpython_map_private.h |
| 8107 |
plugins/common/include/plugin_common.h |
| 8108 |
plugins/common/plugin_common.c |
| 8109 |
Nicolas Weeger 2007-04-15 |
| 8110 |
|
| 8111 |
Add plugin wrapper for cf_get_empty_map(). Add 'Object.GodGiven' and 'Crossfire.CreateMap'. |
| 8112 |
plugins/cfpython/cfpython.c |
| 8113 |
plugins/cfpython/cfpython_object.c |
| 8114 |
plugins/cfpython/include/cfpython_object_private.h |
| 8115 |
plugins/common/include/plugin_common.h |
| 8116 |
plugins/common/plugin_common.c |
| 8117 |
Nicolas Weeger 2007-04-14 |
| 8118 |
|
| 8119 |
Remove obsolete command_build function. |
| 8120 |
include/sproto.h |
| 8121 |
server/c_object.c commands.c |
| 8122 |
Nicolas Weeger 2007-04-14 |
| 8123 |
|
| 8124 |
Correctly clear god information. |
| 8125 |
common/holy.c |
| 8126 |
Nicolas Weeger 2007-04-14 |
| 8127 |
|
| 8128 |
Remove unused godlink::pantheon field. |
| 8129 |
common/holy.c |
| 8130 |
include/god.h |
| 8131 |
Nicolas Weeger 2007-04-14 |
| 8132 |
|
| 8133 |
Remove unused (and obsolete) current_weapon_script field. |
| 8134 |
Remove now unused find_best_weapon_used_match(). |
| 8135 |
common/loader.l object.c |
| 8136 |
crossedit/Attr.c |
| 8137 |
include/libproto.h object.h |
| 8138 |
server/apply.c skill_util.c |
| 8139 |
test/unit/common/check_arch.c check_object.c |
| 8140 |
Nicolas Weeger 2007-04-14 |
| 8141 |
|
| 8142 |
Replace plugin light change with call to map_change_light() for coherence checking. |
| 8143 |
Remove obsolete properties. |
| 8144 |
include/sproto.h |
| 8145 |
plugins/cfpython/cfpython_map.c |
| 8146 |
plugins/cfpython/include/cfpython_map_private.h |
| 8147 |
plugins/common/include/plugin_common.h |
| 8148 |
plugins/common/plugin_common.c |
| 8149 |
server/plugins.c |
| 8150 |
Nicolas Weeger 2007-04-14 |
| 8151 |
|
| 8152 |
server/monster.c: make monsters use the same 'say' format than players. |
| 8153 |
Nicolas Weeger 2007-04-12 |
| 8154 |
|
| 8155 |
Remove '_speak' hook and related functions. '_say' exists, and is the same. |
| 8156 |
plugins/cfanim/cfanim.c |
| 8157 |
plugins/cfpython/cfpython_object.c |
| 8158 |
plugins/cfpython/include/cfpython_object_private.h |
| 8159 |
plugins/common/include/plugin_common.h |
| 8160 |
plugins/common/plugin_common.c |
| 8161 |
server/plugins.c |
| 8162 |
Nicolas Weeger 2007-04-12 |
| 8163 |
|
| 8164 |
Plugin API changes. More void* conversion removing. |
| 8165 |
plugins/cfanim/cfanim.c |
| 8166 |
plugins/cflogger/cflogger.c |
| 8167 |
plugins/cfnewspaper/cfnewspaper.c |
| 8168 |
plugins/cfpython/cfpython.c |
| 8169 |
plugins/common/include/plugin_common.h |
| 8170 |
plugins/common/plugin_common.c |
| 8171 |
plugins/template/plugin_template.c |
| 8172 |
server/plugins.c |
| 8173 |
Nicolas Weeger 2007-04-12 |
| 8174 |
|
| 8175 |
server/init.c: add -conf documentation to help. |
| 8176 |
Nicolas Weeger 2007-04-12 |
| 8177 |
|
| 8178 |
server/skill_util.c: In init_skill() do not crash for SKILL objects having |
| 8179 |
incorrect subtype. |
| 8180 |
Andreas Kirschbaum 2007-04-11 |
| 8181 |
|
| 8182 |
Fix bug #1696810: skill items autoapply. Now skilltool will be used even if |
| 8183 |
skill can be used without, to benefit from its bonuses. |
| 8184 |
server/skill_util.c |
| 8185 |
Nicolas Weeger 2007-04-10 |
| 8186 |
|
| 8187 |
Fix parameter for Doxygen, no functional change. |
| 8188 |
plugins/common/plugin_common.c |
| 8189 |
plugins/common/include/plugin_common.h |
| 8190 |
Nicolas Weeger 2007-04-09 |
| 8191 |
|
| 8192 |
More API changes. |
| 8193 |
server/plugins.c |
| 8194 |
plugins/cfpython/cfpython_object.c |
| 8195 |
plugins/common/include/plugin_common.h |
| 8196 |
plugins/common/plugin_common.c |
| 8197 |
Nicolas Weeger 2007-04-09 |
| 8198 |
|
| 8199 |
More API changes. |
| 8200 |
server/plugins.c |
| 8201 |
plugins/cfanim/cfanim.c |
| 8202 |
plugins/cfpython/cfpython_object.c |
| 8203 |
plugins/common/include/plugin_common.h |
| 8204 |
plugins/common/plugin_common.c |
| 8205 |
Nicolas Weeger 2007-04-09 |
| 8206 |
|
| 8207 |
More API changes. |
| 8208 |
server/plugins.c |
| 8209 |
plugins/cflogger/include/cflogger_proto.h: remove plugin_common functions. |
| 8210 |
plugins/cfpython/cfpython_object.c |
| 8211 |
plugins/common/include/plugin_common.h |
| 8212 |
plugins/common/plugin_common.c |
| 8213 |
Nicolas Weeger 2007-04-08 |
| 8214 |
|
| 8215 |
Have create_pathname() return buf to simplify code. |
| 8216 |
common/map.c |
| 8217 |
include/libproto.h |
| 8218 |
Nicolas Weeger 2007-04-08 |
| 8219 |
|
| 8220 |
Remove unused function. |
| 8221 |
include/sproto.h |
| 8222 |
plugins/common/include/plugin_common.h |
| 8223 |
plugins/common/plugin_common.c |
| 8224 |
plugins/cfpython/cfpython_object.c |
| 8225 |
server/plugins.c |
| 8226 |
Nicolas Weeger 2007-04-08 |
| 8227 |
|
| 8228 |
Map-property type checking. Remove some unused void* return values. |
| 8229 |
plugins/common/include/plugin_common.h |
| 8230 |
plugins/common/plugin_common.c |
| 8231 |
server/plugins.c |
| 8232 |
Nicolas Weeger 2007-04-08 |
| 8233 |
|
| 8234 |
Change map plugin API to not use static vars. Remove old hooks (replaced by other means). |
| 8235 |
include/plugin.h sproto.h |
| 8236 |
plugins/common/include/plugin_common.h |
| 8237 |
plugins/common/plugin_common.c |
| 8238 |
plugins/cfpython/cfpython_map.c |
| 8239 |
plugins/cfpython/cfpython.c |
| 8240 |
plugins/cfnewspaper/cfnewspaper.c |
| 8241 |
server/plugins.c |
| 8242 |
Nicolas Weeger 2007-04-08 |
| 8243 |
|
| 8244 |
common/init.c: abort() if first map doesn't exist. Better than crashing later on. |
| 8245 |
Nicolas Weeger 2007-04-08 |
| 8246 |
|
| 8247 |
Fix bug #1695764: Charm monsters - shared experience broken. |
| 8248 |
Add new share_exp() function, working like change_exp() but party-aware. |
| 8249 |
common/living.c |
| 8250 |
include/libproto.h |
| 8251 |
server/attack.c |
| 8252 |
server/spell_attack.c |
| 8253 |
Nicolas Weeger 2007-04-07 |
| 8254 |
|
| 8255 |
Fix Doxygen stuff, no functional changes. |
| 8256 |
types/clock/clock.c |
| 8257 |
types/spell_effect/spell_effect.c |
| 8258 |
types/exit/exit.c |
| 8259 |
Nicolas Weeger 2007-04-07 |
| 8260 |
|
| 8261 |
Enable polymorph spell. Will need tweaking, quite certainly. |
| 8262 |
include/sproto.h |
| 8263 |
server/spell_util.c |
| 8264 |
server/spell_effect.c |
| 8265 |
Nicolas Weeger 2007-04-07 |
| 8266 |
|
| 8267 |
Add 'Crossfire.WhatIsEvent()' to get event object. |
| 8268 |
plugins/cfpython/cfpython_object.c: don't put a destroy hook in a destroy hook :) |
| 8269 |
plugins/cfpython/cfpython.c: WhatIsEvent() |
| 8270 |
Nicolas Weeger 2007-04-07 |
| 8271 |
|
| 8272 |
Change plugin object event interface to send the event object itself, instead of |
| 8273 |
its slaying/name values. |
| 8274 |
plugins/cfanim/include/cfanim.h |
| 8275 |
plugins/cfanim/cfanim.c |
| 8276 |
plugins/cfnewspaper/cfnewspaper.c |
| 8277 |
plugins/cfpython/include/cfpython.h |
| 8278 |
plugins/cfpython/cfpython.c |
| 8279 |
plugins/template/include/plugin_template.h |
| 8280 |
plugins/template/plugin_template.c |
| 8281 |
server/plugins.c |
| 8282 |
Nicolas Weeger 2007-04-07 |
| 8283 |
|
| 8284 |
server/swap.c: fix crash with map reset (parameter is map, not path). |
| 8285 |
Nicolas Weeger 2007-04-06 |
| 8286 |
|
| 8287 |
Add 'Object.Count' property (read-only). |
| 8288 |
plugins/cfpython/cfpython_object.c |
| 8289 |
plugins/cfpython/include/cfpython_object_private.h |
| 8290 |
Nicolas Weeger 2007-04-06 |
| 8291 |
|
| 8292 |
Fix wrong set/get key checks. |
| 8293 |
plugins/common/plugin_common.c |
| 8294 |
server/plugins.c |
| 8295 |
Nicolas Weeger 2007-04-06 |
| 8296 |
|
| 8297 |
Add 'Object.Enemy' property. |
| 8298 |
plugins/cfpython/cfpython_object.c |
| 8299 |
plugins/cfpython/include/cfpython_object_private.h |
| 8300 |
Nicolas Weeger 2007-04-06 |
| 8301 |
|
| 8302 |
types/legacy/apply.c: fix scrolls not taking direction into account. |
| 8303 |
Nicolas Weeger 2007-04-06 |
| 8304 |
|
| 8305 |
Remove support for obsolete 'no_pass' attribute. |
| 8306 |
-- |
| 8307 |
doc/Developers/{objects,spells,map-technical}: Update documentation about |
| 8308 |
no_pass attribute. |
| 8309 |
lib/adm/getfaces.pl: Scan for move_blocked instead of no_pass. |
| 8310 |
common/loader.l: Remove support for no_pass attribute. |
| 8311 |
crossedit/Attr.c: Remove no_pass from the list of valid attribute names. |
| 8312 |
Andreas Kirschbaum 2007-04-05 |
| 8313 |
|
| 8314 |
types/exit/exit.c: Fix bad definition of exit_type_apply. |
| 8315 |
-- |
| 8316 |
types/{legacy/apply.c, clock/clock.c}, server/ob_types.c: Move apply logic for |
| 8317 |
clocks out of legacy area in the ob_method system. |
| 8318 |
-- |
| 8319 |
types/{legacy/apply.c, exit/exit.c}: Move apply logic for exits out of legacy |
| 8320 |
area in the ob_method system. |
| 8321 |
Alex Schultz 2007-04-05 |
| 8322 |
|
| 8323 |
Tweak harvesting skill per Lalo's suggestions. If a living object is harvested, |
| 8324 |
goes to map instead of in the inventory. Also make the key/value checks more meaningful. |
| 8325 |
server/c_misc.c |
| 8326 |
Nicolas Weeger 2007-04-04 |
| 8327 |
|
| 8328 |
server/{spell_attack.c, spell_util.c, spell_effect.c}, include/{libproto.h, |
| 8329 |
sproto.h}, types/{spell_effect/spell_effect.c, legacy/process.c}: Move |
| 8330 |
ob_process logic for SPELL_EFFECT objects to the ob_method system. |
| 8331 |
-- |
| 8332 |
plugins/cfpython/cfpython.c: Remove LIGHTNING from cfpython type constants. |
| 8333 |
-- |
| 8334 |
types/legacy/process.c, common/item.c, include/define.h, server/spell_util.c: |
| 8335 |
Remove old LIGHTNING(12) type. |
| 8336 |
Alex Schultz 2007-04-03 |
| 8337 |
|
| 8338 |
Remove obsolete Flying/CanPassThru properties. |
| 8339 |
plugins/cfpython/include/cfpython_object_private.h |
| 8340 |
plugins/cfpython/cfpython_object.c |
| 8341 |
Nicolas Weeger 2007-04-03 |
| 8342 |
|
| 8343 |
Clean some old stuff, unused functions, ... |
| 8344 |
common/arch.c |
| 8345 |
common/holy.c |
| 8346 |
common/image.c |
| 8347 |
common/item.c |
| 8348 |
common/loader.l: remove "empty" fields. Those are legacy, and should be removed in maps/archs. |
| 8349 |
common/los.c |
| 8350 |
common/porting.c |
| 8351 |
common/quest.c |
| 8352 |
common/treasure.c |
| 8353 |
include/define.h |
| 8354 |
include/map.h |
| 8355 |
include/spelllist.h |
| 8356 |
server/apply.c |
| 8357 |
server/attack.c |
| 8358 |
server/c_object.c |
| 8359 |
server/disease.c |
| 8360 |
server/gods.c: remove unused follower_remove_similar_item() and misc functions. |
| 8361 |
server/login.c: remove "old player file removing" code, shouldn't be needed anymore. |
| 8362 |
server/monster.c |
| 8363 |
server/player.c |
| 8364 |
server/resurrection.c |
| 8365 |
server/server.c |
| 8366 |
server/skills.c |
| 8367 |
server/spell_attack.c |
| 8368 |
server/spell_effect.c |
| 8369 |
server/spell_util.c |
| 8370 |
server/weather.c |
| 8371 |
socket/loop.c |
| 8372 |
socket/lowlevel.c |
| 8373 |
socket/request.c |
| 8374 |
Nicolas Weeger 2007-04-03 |
| 8375 |
|
| 8376 |
New skill: "harvesting", get something from some place - example: fishing. |
| 8377 |
include/skills.h sproto.h |
| 8378 |
server/c_misc.c skill_util.c |
| 8379 |
Nicolas Weeger 2007-04-03 |
| 8380 |
|
| 8381 |
types/{example.c, README}: Merge example.c into README. |
| 8382 |
Alex Schultz 2007-04-03 |
| 8383 |
|
| 8384 |
Remove obsolete "Directionxxx" and "CostFlagxxx", replaced by constants. |
| 8385 |
plugins/cfpython/cfpython.c |
| 8386 |
Nicolas Weeger 2007-04-02 |
| 8387 |
|
| 8388 |
Add 'MessageFlag' constant, holding the NDI_xxx values, to Python. |
| 8389 |
plugins/cfpython/cfpython.c |
| 8390 |
Nicolas Weeger 2007-04-02 |
| 8391 |
|
| 8392 |
configure.ac: Add AM_PROG_CC_C_O macro so it properly handles the types |
| 8393 |
directory. |
| 8394 |
MSW 2007-04-01 |
| 8395 |
|
| 8396 |
Document random map files (except test.c and some .h). |
| 8397 |
plugins/common/include/plugin_common.h: fix parameter name. |
| 8398 |
plugins/common/plugin_common.c: fix parameter name. |
| 8399 |
random_maps/*.c |
| 8400 |
random_maps/random_maps.h: replace #define by enum to be linkable for Doxygen. |
| 8401 |
Nicolas Weeger 2007-04-01 |
| 8402 |
|
| 8403 |
Fix bug #1672117: elves etc don't fire over move_allow flying tiles. |
| 8404 |
Logic for monster_use_bow() was changed to make monsters fire only |
| 8405 |
horizontally/vertically/in diagonals, and also fire over terrain |
| 8406 |
they can't cross but which lets an arrow go over. |
| 8407 |
server/monster.c |
| 8408 |
server/player.c: note about move_type |
| 8409 |
Nicolas Weeger 2007-03-31 |
| 8410 |
|
| 8411 |
Fix wrong type/missing value. Fix some comments. |
| 8412 |
plugins/common/plugin_common.c |
| 8413 |
server/plugins.c |
| 8414 |
Nicolas Weeger 2007-03-31 |
| 8415 |
|
| 8416 |
Change partially map plugin API. Add cf_map_has_been_loaded() to plugins. |
| 8417 |
plugins/cfanim/cfanim.c |
| 8418 |
plugins/cfpython/cfpython.c |
| 8419 |
plugins/cfpython/cfpython_map.c |
| 8420 |
plugins/common/include/plugin_common.h |
| 8421 |
plugins/common/plugin_common.c |
| 8422 |
server/plugins.c |
| 8423 |
Nicolas Weeger 2007-03-31 |
| 8424 |
|
| 8425 |
crossedit/Attr.c: Remove obsolete 'flying' attribute. |
| 8426 |
Andreas Kirschbaum 2007-03-26 |
| 8427 |
|
| 8428 |
Implement feature request #1560387: DM follow command. |
| 8429 |
include/player.h sproto.h |
| 8430 |
server/c_wiz.c commands.c |
| 8431 |
server/server.c: also fix wrong player count with hidden DMs. |
| 8432 |
Nicolas Weeger 2007-03-25 |
| 8433 |
|
| 8434 |
Fix broken banish command: loop logic was weird (skipping one file?). |
| 8435 |
server/ban.c |
| 8436 |
Nicolas Weeger 2007-03-25 |
| 8437 |
|
| 8438 |
New plugin: cfnewspaper. |
| 8439 |
As its name implies, it will (in the future) generate an ingame newspaper. |
| 8440 |
Currently, it will only list player and monster deaths for last ingame day. |
| 8441 |
It's still very basic, and hopefully will be improved :) |
| 8442 |
Note that it requires the database generated by cflogger. |
| 8443 |
configure configure.ac |
| 8444 |
plugins/Makefile.[am|in] |
| 8445 |
plugins/cfnewspaper/include/cfnewspaper.h cfnewspaper_proto.h |
| 8446 |
plugins/cfnewspaper/cfnewspaper.c Makefile.[am|in] |
| 8447 |
Nicolas Weeger 2007-03-25 |
| 8448 |
|
| 8449 |
Fix cflogger. |
| 8450 |
plugins/cflogger/cflogger.c |
| 8451 |
--- |
| 8452 |
Add missing directories for cflogger plugin. |
| 8453 |
plugins/Makefile.[am|in] |
| 8454 |
--- |
| 8455 |
Change misc functions plugin API. |
| 8456 |
server/plugins.c |
| 8457 |
plugins/common/include/plugin_common.h |
| 8458 |
plugins/common/plugin_common.c |
| 8459 |
plugins/cfanim/cfanim.c |
| 8460 |
plugins/cfpython/cfpython.c |
| 8461 |
plugins/cfpython/cfpython_object.c |
| 8462 |
plugins/template/plugin_template.c |
| 8463 |
--- |
| 8464 |
server/apply.c: doc update. |
| 8465 |
include/global.h: doc update. |
| 8466 |
--- |
| 8467 |
Remove common plugin functions from proto. |
| 8468 |
plugins/cfanim/Makefile.[am|in] |
| 8469 |
plugins/cfanim/include/cfanim_proto.h |
| 8470 |
--- |
| 8471 |
common/object.c: add 'inv' field for object dump. |
| 8472 |
Nicolas Weeger 2007-03-25 |
| 8473 |
|
| 8474 |
doc/Developers/objects: Mark 'flying' attribute as obsolete. |
| 8475 |
common/loader.l: In check_loaded_object() remove code to support legacy |
| 8476 |
attribute 'flying'. |
| 8477 |
Andreas Kirschbaum 2007-03-25 |
| 8478 |
|
| 8479 |
common/loader.l: In check_loaded_object() remove code to update legacy |
| 8480 |
playermover objects after map loading. |
| 8481 |
Andreas Kirschbaum 2007-03-25 |
| 8482 |
|
| 8483 |
common/loader.l: In check_loaded_object() remove code to update legacy |
| 8484 |
monster objects after map loading. |
| 8485 |
Andreas Kirschbaum 2007-03-24 |
| 8486 |
|
| 8487 |
server/c_wiz.c: fix missing treasure generation for create command in some cases. |
| 8488 |
Nicolas Weeger 2007-03-24 |
| 8489 |
|
| 8490 |
plugins/cfpython/cfpython_object.c, |
| 8491 |
plugins/cfpython/include/cfpython_object_private.h, include/define.h, |
| 8492 |
common/exp.c, common/loader.l: Remove FLAG_PICK_UP since it was not actually |
| 8493 |
used, and since it was saved under "pick_up" which clashes with another |
| 8494 |
attribute. |
| 8495 |
Andreas Kirschbaum 2007-03-23 |
| 8496 |
|
| 8497 |
common/shstr.c, include/libproto.h: Use the new sstring typedef in shstr.c |
| 8498 |
Alex Schultz 2007-03-22 |
| 8499 |
|
| 8500 |
Change party, region, friendlylist plugin API. |
| 8501 |
include/sproto.h |
| 8502 |
plugins/cfanim/include/cfanim_proto.h |
| 8503 |
plugins/common/include/plugin_common.h |
| 8504 |
plugins/common/plugin_common.c |
| 8505 |
server/plugins.c |
| 8506 |
Nicolas Weeger 2007-03-22 |
| 8507 |
|
| 8508 |
Change archetype plugin API. |
| 8509 |
plugins/cfanim/include/cfanim_proto.h |
| 8510 |
plugins/common/include/plugin_common.h |
| 8511 |
plugins/common/plugin_common.c |
| 8512 |
server/plugins.c |
| 8513 |
Nicolas Weeger 2007-03-21 |
| 8514 |
|
| 8515 |
server/egoitem.c: Removed blank file. |
| 8516 |
Alex Schultz 2007-03-21 |
| 8517 |
|
| 8518 |
Changes to plugin API: start to use a (type)* parameter instead of returning a value |
| 8519 |
cast to void*. This removes static variables. |
| 8520 |
Also add Object.PermExp and Object.ExpMul to Python. |
| 8521 |
include/plugin.h: add CFAPI_MOVETYPE type. |
| 8522 |
plugins/common/include/plugin_common.h: add many wrappers. |
| 8523 |
plugins/common/plugin_common.c: wrappers, new calling syntax. |
| 8524 |
plugins/cfpython/cfpython_object.c: clean calls to common plugin. |
| 8525 |
plugins/cfpython/include/cfpython_object_private.h: some more properties. |
| 8526 |
server/plugins.c: change cfapi_object_get_property. |
| 8527 |
--- |
| 8528 |
include/global.h: new type, 'sstring', to be used for shared strings. |
| 8529 |
--- |
| 8530 |
common/loader.l: fix crash when object is missing archetype. |
| 8531 |
Nicolas Weeger 2007-03-21 |
| 8532 |
|
| 8533 |
server/monster.c: documentation and indent, no functional change. |
| 8534 |
Nicolas Weeger 2007-03-18 |
| 8535 |
|
| 8536 |
Fix 'make distclean': |
| 8537 |
acinclude.m4: Use -I./${srcdir} for crossedit check - otherwise, when |
| 8538 |
building in alternate directory, doesn't fine files correctly. |
| 8539 |
configure.*: Add new makefiles. |
| 8540 |
check-fragment.am, test/unit/crossedit/Makefile.am, |
| 8541 |
test/unit/common/Makefile.am,test/toolkit/Makefile.am: Add support for building in alternate directory, which |
| 8542 |
make distclean does - using relative directories to find files |
| 8543 |
does not work. Some files should also be in the buildir, not srcdir. |
| 8544 |
Have Makefiels remove .autrun.xml with distclean |
| 8545 |
Makefile.am: Remove to config files on make distclean |
| 8546 |
test/include/Makefile.*, test/templates/Makefile.*: Add missing Makefiles |
| 8547 |
test/unit/random_maps/Makefile.am,test/unit/socket/Makefile.am, |
| 8548 |
test/unit/Makefile.am: remove .autorun.xml file as part of distclean |
| 8549 |
test/unit/server/Makefile.am: Remove LDFLAGS from Makefile.am - automake |
| 8550 |
says don't mess with those - use AM_LDFLAGS instead. Remove |
| 8551 |
.autrun.xml file with distclean |
| 8552 |
test/Makefile.am: Add include, templates to subdir list. Have |
| 8553 |
make clean remove log files, .autorun.xml file. |
| 8554 |
crossedit/Makefile.am: Fix indentation of stubs.c (use tab, not spaces) |
| 8555 |
other files: Rebuilt as part of running autogen.sh |
| 8556 |
MSW 2007-03-25 |
| 8557 |
|
| 8558 |
Implement feature request #1528522: Initial items should be applied/worn. |
| 8559 |
server/player.c |
| 8560 |
--- |
| 8561 |
server/apply.c skill_util.c: keep the AP_NOPRINT flag for subcalls. |
| 8562 |
--- |
| 8563 |
server/c_wiz.c: update DM's view when using nodm. |
| 8564 |
--- |
| 8565 |
server/apply.c: update player's view when turning on/off a lamp. |
| 8566 |
--- |
| 8567 |
server/spell_util.c: ignore sp/gr/time cost for DM casting spells. |
| 8568 |
--- |
| 8569 |
common/object.c: when inserting an object, need to fix 'map' too, if not |
| 8570 |
set later, will crash. |
| 8571 |
--- |
| 8572 |
Implement feature request #1680229: dmhide - glowing things. |
| 8573 |
common/map.c: totally ignore hidden DMs for map update. |
| 8574 |
--- |
| 8575 |
Implement feature request #1669464: Need new command - dmtell. |
| 8576 |
include/sproto.h |
| 8577 |
server/c_chat.c commands.c |
| 8578 |
--- |
| 8579 |
server/c_wiz.c: enable 'teleport' to use a partial name. |
| 8580 |
server/c_misc: 'listen' should be positive. |
| 8581 |
--- |
| 8582 |
Fix bug #1668283: Crossfire.CreateObjectByName is faulty, by applying |
| 8583 |
patch (feature request) #1682802: CreateObjectByName fix/change. |
| 8584 |
Code by Yann Chackhoff. |
| 8585 |
Also fix a crash when teleporting a newly created object. |
| 8586 |
server/plugins.c |
| 8587 |
--- |
| 8588 |
Fix bug #1671102: Generic destroy can remove permanent buttons. The code was |
| 8589 |
doing a wrong check related to marked item/destroyer. |
| 8590 |
Fix bug #1657675: multi-tile buildable object bug (note: one .x11 image though). |
| 8591 |
code now uses multi-tile aware function to generate object, and correctly |
| 8592 |
checks all relevant spots for building. |
| 8593 |
server/build_map.c |
| 8594 |
--- |
| 8595 |
plugins/template/create_plugin.sh: plugin generation script. |
| 8596 |
plugins/template/include/plugin_template.h: remove unused file, fix comment. |
| 8597 |
--- |
| 8598 |
Random map functions for plugins. |
| 8599 |
plugins/common/include/plugin_common.h |
| 8600 |
plugins/common/plugin_common.c |
| 8601 |
--- |
| 8602 |
Give access to random map generation to plugins. |
| 8603 |
include/sproto.h |
| 8604 |
server/plugins.c |
| 8605 |
--- |
| 8606 |
Allow one to give a prebuilt layout (.#<> and such) for random map generation. |
| 8607 |
random_maps/random_map.c rproto.h standalone.c |
| 8608 |
server/server.c |
| 8609 |
--- |
| 8610 |
plugins/template/plugin_template.c: use cf_log instead of printf, fix missing |
| 8611 |
CF_PLUGIN (Win32 specific). |
| 8612 |
--- |
| 8613 |
server/c_object.c: missing ;, missing buffer reinitialisation. |
| 8614 |
server/login.c: wrong function call. |
| 8615 |
--- |
| 8616 |
lib/races: remove obsolete player races. |
| 8617 |
lib/treasures: remove lists put into individual .trs files. |
| 8618 |
Nicolas Weeger 2007-03-17 |
| 8619 |
|
| 8620 |
types/Makefile.am: Build object files in their own directories instead of in types/ |
| 8621 |
--- |
| 8622 |
server/login.c: Make error messages for invalid usernames more useful. |
| 8623 |
--- |
| 8624 |
server/c_object.c: Change examine to use "Those are" instead of "That is" for |
| 8625 |
more than one object. |
| 8626 |
Alex Schultz 2007-03-16 |
| 8627 |
|
| 8628 |
Apply patch #1660388: Code-cleanup: () -> (void) courtesy Stefan Huehner. |
| 8629 |
server/timers.c weather.c ob_methods.c |
| 8630 |
test/unit/common/stubs_common.c |
| 8631 |
test/unit/crossedit/stubs_crossedit.c |
| 8632 |
test/unit/random_maps/stubs_random.c |
| 8633 |
test/unit/socket/stubs_socket.c |
| 8634 |
test/toolkit/toolkit_common.c |
| 8635 |
common/init.c treasure.c |
| 8636 |
crossedit/stubs.c |
| 8637 |
types/altar/altar.c |
| 8638 |
types/arrow/arrow.c |
| 8639 |
types/book/book.c |
| 8640 |
types/button/button.c |
| 8641 |
types/check_inv/check_inv.c |
| 8642 |
types/container/container.c |
| 8643 |
types/converter/converter.c |
| 8644 |
types/deep_swamp/deep_swamp.c |
| 8645 |
types/director/director.c |
| 8646 |
types/exit/exit.c |
| 8647 |
types/hole/hole.c |
| 8648 |
types/identify_altar/identify_altar.c |
| 8649 |
types/item_transformer/item_transformer.c |
| 8650 |
types/pedestal/pedestal.c |
| 8651 |
types/player_mover/player_mover.c |
| 8652 |
types/power_crystal/power_crystal.c |
| 8653 |
types/rune/rune.c |
| 8654 |
types/shop_mat/shop_mat.c |
| 8655 |
types/sign/sign.c |
| 8656 |
types/spell_effect/spell_effect.c |
| 8657 |
types/spinner/spinner.c |
| 8658 |
types/thrown_object/thrown_object.c |
| 8659 |
types/transport/transport.c |
| 8660 |
types/trap/trap.c |
| 8661 |
types/trapdoor/trapdoor.c |
| 8662 |
types/trigger/trigger.c |
| 8663 |
types/trigger_altar/trigger_altar.c |
| 8664 |
types/trigger_button/trigger_button.c |
| 8665 |
types/trigger_pedestal/trigger_pedestal.c |
| 8666 |
Ryo 2007-03-13 |
| 8667 |
|
| 8668 |
Win32 compilation fixes. |
| 8669 |
common/shstr.c: missing Windows include. |
| 8670 |
plugins/cfanim/include/cfanim_proto.h: missing CF_PLUGIN export. |
| 8671 |
plugins/cfpython/include/cfpython_proto.h |
| 8672 |
plugins/cfpython/include/cfpython.h: DEBUG fix (Python doesn't provide the |
| 8673 |
good debug library). |
| 8674 |
plugins/common/hashtable.c: missing Windows include. |
| 8675 |
--- |
| 8676 |
utils/mapper.c: new "warnnnopath" option to display exits without slaying field. |
| 8677 |
Ryo 2007-03-08 |
| 8678 |
|
| 8679 |
Fix bug #1673713: event_attack in (sword etc) weapon doesn't work. |
| 8680 |
server/attack.c: fix EVENT_ATTACK weirdness. |
| 8681 |
--- |
| 8682 |
Fix compilation warnings, mostly missing #include. |
| 8683 |
common/exp.c holy.c item.c living.c map.c porting.c readable.c recipe.c shstr.c |
| 8684 |
treasure.c utils.c: missing #includes. |
| 8685 |
common/object.c: don't declare variables in the middle of code. Missing #include. |
| 8686 |
include/libproto.h: missing find_multi_free_spot_within_radius. |
| 8687 |
include/sockproto.h: missing send_exp_table. |
| 8688 |
lib/races: fix dwarf player archetype (was using old one). |
| 8689 |
plugins/cfpython/cfpython.c: unused variable. |
| 8690 |
random_maps/maze_gen.c random_map.c room_gen_onion.c square_spiral.c: missing #include. |
| 8691 |
server/plugins.c: unused variable. |
| 8692 |
server/ob_methods.c: missing include. |
| 8693 |
server/ob_types.c: missing include. |
| 8694 |
server/time.c: unused variable. |
| 8695 |
socket/image.c: use right type for faceset. |
| 8696 |
types/*.c: add missing #include <sproto.h>. |
| 8697 |
types/legacy/legacy_describe.c: unused variable. |
| 8698 |
--- |
| 8699 |
Implement feature request #1560416: give warning when spell is about to expire. |
| 8700 |
Player will be warned when left duration is one fifth, then one twenty-fifth. |
| 8701 |
Two new functions are introduced, check_spell_expiry() and store_spell_expiry(). |
| 8702 |
include/sproto.h |
| 8703 |
server/spell_effect.c spell_util.c time.c |
| 8704 |
--- |
| 8705 |
Implement feature request #1675158: dmhide - "detect monster" will reveal DM. |
| 8706 |
spell_effect.c: detection doesn't concern DMs. |
| 8707 |
Ryo 2007-03-06 |
| 8708 |
|
| 8709 |
Some documentation, no functional change. |
| 8710 |
include/define.h face.h gods.h living.h |
| 8711 |
Ryo 2007-03-05 |
| 8712 |
|
| 8713 |
Implement feature request #1560396: flag to set fixed buying/selling prices. |
| 8714 |
Three keys are used, "price_adjustment", "price_adjustment_sell" and "price_adjustment_buy". |
| 8715 |
price_adjustment overrides the 2 other keys. Value should be numeric/decimal, anything that |
| 8716 |
atof() will recognize as a float. |
| 8717 |
server/shop.c |
| 8718 |
Ryo 2007-03-05 |
| 8719 |
|
| 8720 |
Add Object.Owner (read/write) and Crossfire.GetFriendlyList. |
| 8721 |
plugins/cfpython/include/cfpython_object_private.h |
| 8722 |
plugins/cfpython/cfpython.c |
| 8723 |
plugins/cfpython/cfpython_object.c |
| 8724 |
--- |
| 8725 |
Add cf_friendlylist_get_first / cf_friendlylist_get_next to browser friendlylist. |
| 8726 |
Add cf_object_set_object_property. |
| 8727 |
plugins/common/include/plugin_common.h |
| 8728 |
plugins/common/plugin_common.c |
| 8729 |
--- |
| 8730 |
Give access to friendlylist to plugins, through cfapi_friendlylist_get_next(). |
| 8731 |
include/sproto.h |
| 8732 |
server/plugins.c |
| 8733 |
--- |
| 8734 |
common/object.c: let set_owner accept owner NULL (-> clear_owner()). |
| 8735 |
--- |
| 8736 |
Implement feature request #1669443: dmhide - players can still send 'tell. |
| 8737 |
server/c_chat.c: DM are now shown as not logger with regard to tell/reply. |
| 8738 |
--- |
| 8739 |
server/c_object.c: call EVENT_PICKUP which was forgotten somewhere along the way. |
| 8740 |
server/plugins.c: don't remove/free removed/freed objects, log mistake. This closes |
| 8741 |
bug #1670465: server doesn't have check to see if it is removing removed |
| 8742 |
Ryo 2007-03-04 |
| 8743 |
|
| 8744 |
Fix some potential / real crashes under Windows. |
| 8745 |
common/readable.c: wrong field cleared. Set to NULL after clear. Wrong buffer size. |
| 8746 |
--- |
| 8747 |
socket/info.c: old_format is sometimes NULL, use new_format. |
| 8748 |
--- |
| 8749 |
Fix a potential crash related to map swapping: swap_map can delete map. |
| 8750 |
include/sproto.h |
| 8751 |
server/c_wiz.c swap.c |
| 8752 |
Ryo 2007-03-03 |
| 8753 |
|
| 8754 |
utils/mapper.c: display map name before loading it, makes it easier to debug maps :) |
| 8755 |
Ryo 2007-03-02 |
| 8756 |
|
| 8757 |
Add cf_object_set_float_property. |
| 8758 |
plugins/common/include/plugin_common.h |
| 8759 |
plugins/common/plugin_common.c |
| 8760 |
--- |
| 8761 |
Add SpeedLeft to Python plugin. Fix wrong type for speed. |
| 8762 |
plugins/cfpython/include/cfpython_object_private.h |
| 8763 |
plugins/cfpython/cfpython_object.c |
| 8764 |
--- |
| 8765 |
Fix wrong type for speed. |
| 8766 |
server/plugins.c |
| 8767 |
Ryo 2007-02-28 |
| 8768 |
|
| 8769 |
include/typesproto.h, types/*/*.c: Make functions static where possible and |
| 8770 |
reasonable. |
| 8771 |
Alex Schultz 2007-02-24 |
| 8772 |
|
| 8773 |
server/player.c: wrong call order. |
| 8774 |
plugins/cfpython/cfpython.c: fix crash when Python and server are compiled with |
| 8775 |
different versions of MS's DLLs. |
| 8776 |
Ryo 2007-02-24 |
| 8777 |
|
| 8778 |
Fix some comments from // to /* */ |
| 8779 |
common/map.c |
| 8780 |
include/ob_types.h |
| 8781 |
server/c_wiz.c gods.c pets.c server.c |
| 8782 |
---- |
| 8783 |
Some Win32 compilation fixes. |
| 8784 |
server/apply.c player.c plugins.c |
| 8785 |
Ryo 2007-02-23 |
| 8786 |
|
| 8787 |
Rebuild prototypes. |
| 8788 |
include/{sproto.h, typesproto.h} |
| 8789 |
--- |
| 8790 |
Move arrow and thrown object code into types/ |
| 8791 |
server/time.c, types/{arrow/arrow.c, thrown_object/thrown_object.c, |
| 8792 |
common/projectiles.c, legacy/process.c} |
| 8793 |
--- |
| 8794 |
Change move_arrow calls to ob_process. |
| 8795 |
server/{player.c, skills.c} |
| 8796 |
Alex Schultz 2007-02-19 |
| 8797 |
|
| 8798 |
Fix uninitialized variables. |
| 8799 |
server/weather.c: wrong temperature initialisation. |
| 8800 |
socket/init.c: init newsocket->want_pickup |
| 8801 |
Ryo 2007-02-18 |
| 8802 |
|
| 8803 |
Replace "type_to_archetype" by "get_archetype_by_type_subtype". |
| 8804 |
common/arch.c map.c |
| 8805 |
include/libproto.h |
| 8806 |
test/unit/common/check_arch.c |
| 8807 |
Ryo 2007-02-18 |
| 8808 |
|
| 8809 |
Whitespace formatting (indents and tab removal) and long-line cleanup |
| 8810 |
server/c_new.c |
| 8811 |
socket/request.c |
| 8812 |
Aaron Baugher 2007-02-18 |
| 8813 |
|
| 8814 |
Implement feature request 1025952: GTK Client - Save Pickup options. |
| 8815 |
New setup command, 'want_pickup', which makes server send 'pickup xxx' when |
| 8816 |
player joins. |
| 8817 |
Modified files; |
| 8818 |
doc/Developers/protocol |
| 8819 |
include/newserver.h sockproto.h |
| 8820 |
server/login.c |
| 8821 |
socket/request.c |
| 8822 |
Ryo 2007-02-18 |
| 8823 |
|
| 8824 |
Make containers with an other_arch face display it when opened. |
| 8825 |
server/apply.c |
| 8826 |
Aaron Baugher 2007-02-15 |
| 8827 |
|
| 8828 |
New server settings: allow_denied_spells_writing, for inscription. |
| 8829 |
common/init.c |
| 8830 |
include/global.h |
| 8831 |
server/init.c skills.c |
| 8832 |
Ryo 2007-02-15 |
| 8833 |
|
| 8834 |
Whitespace and long-line cleanup |
| 8835 |
socket/item.c |
| 8836 |
socket/image.c |
| 8837 |
Aaron Baugher 2007-02-15 |
| 8838 |
|
| 8839 |
server/shop.c: handle "no money" case when player tries to exit shop. |
| 8840 |
--- |
| 8841 |
Fix a crash with object handling by plugins. |
| 8842 |
cfpython/cfpython_map.c: don't assume op exists after inserting in map. |
| 8843 |
Ryo 2007-02-15 |
| 8844 |
|
| 8845 |
Remove static buffers from path_combine and path_combine_and_normalize. |
| 8846 |
common/path.c map.c |
| 8847 |
include/libproto.h path.h |
| 8848 |
server/server.c |
| 8849 |
utils/mapper.c |
| 8850 |
--- |
| 8851 |
common/map.c: add buffer's size to prevent overflows. |
| 8852 |
Ryo 2007-02-14 |
| 8853 |
|
| 8854 |
Invalidate player's view if teleporting. Call update_ob_speed when changing speed. |
| 8855 |
server/plugins.c |
| 8856 |
Ryo 2007-02-12 |
| 8857 |
|
| 8858 |
Remove unused field object::refcount from unit testing |
| 8859 |
test/unit/check_object.c |
| 8860 |
gros 2007-02-12 |
| 8861 |
|
| 8862 |
lib/smooth updated in conjunction with arch update (revision 5421). |
| 8863 |
Kevin Bulgrien 2007-02-11 |
| 8864 |
|
| 8865 |
Remove unused field object::refcount. |
| 8866 |
common/object.c |
| 8867 |
include/object.c plugins.h |
| 8868 |
server/plugins.c |
| 8869 |
Fix speed logic, implementing feature request #1624544: Armour speed limit |
| 8870 |
common/living.c |
| 8871 |
Fix missing call, resulting in corrupted output. |
| 8872 |
server/c_object.c |
| 8873 |
Fix mishandling of weapon/shield/armour restriction. Fix crash with NULL value. |
| 8874 |
server/gods.c |
| 8875 |
Ryo 2007-02-11 |
| 8876 |
|
| 8877 |
Formatting clean-up: |
| 8878 |
server/apply.c: fixed indentation, untabified, broke long lines |
| 8879 |
Aaron Baugher 2007-02-11 |
| 8880 |
|
| 8881 |
|
| 8882 |
Make armour handling coherent between gods, monsters and such. |
| 8883 |
Cloaks and bracers are not armour. |
| 8884 |
common/item.c utils.c: fix tests with macros. |
| 8885 |
include/define.h: update macro, new IS_SHIELD. |
| 8886 |
server/apply.c monster.c player.c: use macros. |
| 8887 |
Ryo 2007-02-11 |
| 8888 |
|
| 8889 |
Remove last static buffers, use safe string functions. |
| 8890 |
common/readable.c |
| 8891 |
include/libproto.h |
| 8892 |
--- |
| 8893 |
Remove obsolete long_desc(), replaced by ob_describe(), get rid of static buffer. |
| 8894 |
include/sproto.h |
| 8895 |
server/c_object.c ob_methods.c skills.c spell_effect.c |
| 8896 |
types/book/book.c |
| 8897 |
types/identify_altar/identify_altar.c |
| 8898 |
--- |
| 8899 |
Fix compilation warnings. |
| 8900 |
include/global.h: remove duplicate DELETE_STRING (FREE_AND_CLEAR_STR), cast to void*. |
| 8901 |
plugins/cfpython/include/cfpython.h: Python defines HAVE_GETTIMEOFDAY, but we do too. |
| 8902 |
plugins/cfpython/cfpython.c: explicit cast to wanted type. |
| 8903 |
plugins/common/hashtable.c: add missing include for malloc(). |
| 8904 |
--- |
| 8905 |
Remove static buffer for strerror_local(). |
| 8906 |
common/anim.c image.c map.c porting.c |
| 8907 |
include/libproto.h |
| 8908 |
server/c_misc.c deamon.c hiscore.c init.c login.c resurrection.c |
| 8909 |
socket/init.c loop.c lowlevel.c |
| 8910 |
--- |
| 8911 |
Remove some static variables. Return values from server. |
| 8912 |
plugins/cfpython/cfpython_object.c |
| 8913 |
plugins/cfanim/include/cfanim_proto.h |
| 8914 |
plugins/common/include/plugin_common.h |
| 8915 |
plugins/common/plugin_common.c |
| 8916 |
server/plugins.c |
| 8917 |
--- |
| 8918 |
Update cf_object_[gs]et key to use parameter instead of void* return. |
| 8919 |
include/plugin.h |
| 8920 |
plugins/cfpython/cfpython_object.c |
| 8921 |
plugins/cfanim/include/cfanim_proto.h |
| 8922 |
plugins/common/include/plugin_common.h |
| 8923 |
plugins/common/plugin_common.c |
| 8924 |
server/plugins.c |
| 8925 |
--- |
| 8926 |
Remove static variables from plugin API, use parameters instead. |
| 8927 |
plugins/common/plugin_common.c |
| 8928 |
server/plugins.c |
| 8929 |
Ryo 2007-10-11 |
| 8930 |
|
| 8931 |
Remove "sstable" command for players, which is called "ssdumptable" for DMs. |
| 8932 |
include/sproto.h |
| 8933 |
server/commands.c c_mist.c |
| 8934 |
--- |
| 8935 |
Remove static buffer fur ss_dump_table. Use SS_ flags. Use LOG instead of direct fprintf. |
| 8936 |
common/shstr.c |
| 8937 |
include/libproto.h |
| 8938 |
server/c_misc.c |
| 8939 |
--- |
| 8940 |
include/global.h: errmsg isn't used anymore. |
| 8941 |
--- |
| 8942 |
Remove errmsg use for ss_dump_statistics. |
| 8943 |
common/shstr.c |
| 8944 |
include/libproto.h |
| 8945 |
server/c_misc.c |
| 8946 |
--- |
| 8947 |
Fix get_split_ob not returning failure message (was through errmsg). |
| 8948 |
common/object.c |
| 8949 |
include/libproto.h |
| 8950 |
server/apply.c c_object.c player.c plugins.c skills.c spell_effect.c |
| 8951 |
Ryo 2007-02-11 |
| 8952 |
|
| 8953 |
Remove errmsg use for dump_object and dump_arch. Merge dump_object and dump_object2. |
| 8954 |
common/anim.c arch.c object.c |
| 8955 |
crossedit/Attr.c |
| 8956 |
include/libproto.h |
| 8957 |
server/c_misc.c c_wiz.c server.c time.c |
| 8958 |
test/unit/common/check_object.c |
| 8959 |
Ryo 2007-02-11 |
| 8960 |
|
| 8961 |
server/weather.c: Fix possible buffer overflows. |
| 8962 |
server/gods.c: Use correct format specifier in sprintf(). |
| 8963 |
server/spell_util.c: Fix return statements with no value in non-void |
| 8964 |
function. |
| 8965 |
server/time.c, include/libproto.h: Make log_time() static. |
| 8966 |
server/apply.c: Fix return statements with no value in non-void function. |
| 8967 |
common/living.c: Fix incorrect "extern" definition for "levels". |
| 8968 |
server/c_range.c: Fix possible buffer overflows. |
| 8969 |
server/server.c: Fix possible buffer overflows. |
| 8970 |
common/map.c: Fix possible buffer overflows; Reduce memory used by |
| 8971 |
load_map_header(). |
| 8972 |
common/readable: Improve performance by minimizing string copies. |
| 8973 |
server/c_object.c: Fix possible buffer overflows. |
| 8974 |
common/item.c: Fix possible buffer overflows; improve performance by |
| 8975 |
minimizing string copies; fix bugs because of missing braces; make sure |
| 8976 |
all strings are \0-terminated. |
| 8977 |
Andreas Kirschbaum 2007-02-10 |
| 8978 |
|
| 8979 |
Misc LOG fixes (mostly add missing newline), no functional change. |
| 8980 |
common/anim.c arch.c holy.c image.c init.c [also fix missing init value] porting.c readable.c |
| 8981 |
recipe.c region.c treasure.c |
| 8982 |
server/init.c weather.c |
| 8983 |
Ryo 2007-02-10 |
| 8984 |
|
| 8985 |
Implement feature request #1653770: Sockpuppeting fix (no exp when perm exp is hit). |
| 8986 |
Implement feature request #1560385: Players killing other players should get no exp. |
| 8987 |
Two new settings are added, pk_max_experience and pk_max_experience_percent. Check |
| 8988 |
settings file to see how they work. |
| 8989 |
Also, experience gained for killing a player never exceed experience that player can lose |
| 8990 |
considering permanent experience. |
| 8991 |
Modified files: |
| 8992 |
common/init.c |
| 8993 |
include/global.h |
| 8994 |
lib/settings |
| 8995 |
server/attack.c init.c |
| 8996 |
--- |
| 8997 |
common/porting.c: add missing variable type. |
| 8998 |
Ryo 2007-02-10 |
| 8999 |
|
| 9000 |
Use const char* instead of char*, use thread-safe strerror_r, fix potential memory leak. |
| 9001 |
common/porting.c |
| 9002 |
include/libproto.h |
| 9003 |
--- |
| 9004 |
Remove static buffer from get_string_move_type(). |
| 9005 |
common/loader.l |
| 9006 |
--- |
| 9007 |
common/object.c: don't use global errmsg variable for errors, just LOG() them. |
| 9008 |
--- |
| 9009 |
Remove static buffer from create_template_pathname(). |
| 9010 |
common/map.c |
| 9011 |
include/libproto.h |
| 9012 |
server/server.c |
| 9013 |
--- |
| 9014 |
Remove static buffer from create_pathname(). |
| 9015 |
common/map.c |
| 9016 |
include/libproto.h |
| 9017 |
server/plugins.c server.c |
| 9018 |
utils/mapper.c |
| 9019 |
--- |
| 9020 |
Remove static buffer from create_overlay_pathname(). |
| 9021 |
common/map.c |
| 9022 |
include/libproto.h |
| 9023 |
server/c_wiz.c plugins.c |
| 9024 |
--- |
| 9025 |
Remove static buffer from create_items_path(), and play it safe with length. |
| 9026 |
common/map.c |
| 9027 |
--- |
| 9028 |
Remove static buffer for query_base_name(). |
| 9029 |
common/button.c item.c object.c |
| 9030 |
include/libproto.h |
| 9031 |
server/alchemy.c apply.c c_objects.c c_range.c player.c plugins.c shop.c |
| 9032 |
socket/info.c item.c |
| 9033 |
types/item_transformer/item_transformer.c |
| 9034 |
--- |
| 9035 |
Remove static buffer for get_ob_diff(). |
| 9036 |
common/object.c loader.l |
| 9037 |
include/libproto.h |
| 9038 |
server/c_wiz.c |
| 9039 |
Ryo 2007-02-10 |
| 9040 |
|
| 9041 |
No functional changes, just compilation warnings / Doxygen stuff. |
| 9042 |
--- |
| 9043 |
Add missing includes. |
| 9044 |
types/book/book.c |
| 9045 |
types/identify_altar/identify_altar.c (also fix missing argument) |
| 9046 |
types/item_transformer/item_transformer.c |
| 9047 |
types/transport/transport.c |
| 9048 |
--- |
| 9049 |
Add newline at end. |
| 9050 |
types/common/common_apply.c |
| 9051 |
types/trigger/trigger.c |
| 9052 |
--- |
| 9053 |
Add Doxygen path info to distinguish files. |
| 9054 |
common/button.c |
| 9055 |
random_maps/exit.c |
| 9056 |
server/alchemy.c apply.c rune.c spell_effect.c |
| 9057 |
types/button/button.c |
| 9058 |
types/exit/exit.c |
| 9059 |
types/rune/rune.c |
| 9060 |
types/spell_effect/spell_effect.c |
| 9061 |
utils/bwp.c |
| 9062 |
Ryo 2007-02-09 |
| 9063 |
|
| 9064 |
Remove static buffer from ob_describe(). Make op some parameter const. |
| 9065 |
include/ob_methods.h sproto.h typesproto.h |
| 9066 |
server/c_object.c ob_methods.c |
| 9067 |
types/common/describe.c |
| 9068 |
types/legacy/megacy_describe.c |
| 9069 |
Ryo 2007-02-09 |
| 9070 |
|
| 9071 |
Doxyfile: Adjust Doxyfile options to create more information in the |
| 9072 |
documentation. |
| 9073 |
Alex Schultz 2007-02-09 |
| 9074 |
|
| 9075 |
Remove static buffer from query_short_name(). |
| 9076 |
common/item.c object.c |
| 9077 |
include/libproto.h |
| 9078 |
server/gods.c player.c plugins.c skills.c spell_effect.c |
| 9079 |
Ryo 2007-02-09 |
| 9080 |
|
| 9081 |
common/item.c: fix documentation. |
| 9082 |
-- |
| 9083 |
Remove some more static buffers. |
| 9084 |
common/item.c info.c readable.c |
| 9085 |
include/libproto.h |
| 9086 |
server/plugins.c spell_effect.c |
| 9087 |
types/common/describe.c |
| 9088 |
Ryo 2007-02-09 |
| 9089 |
|
| 9090 |
Fix a few compiler warnings. Most were just unused variables, but |
| 9091 |
some in server/c_object.c had returns without values. |
| 9092 |
Files: server/c_object.c server/monster.c server/player.c server/weather.c |
| 9093 |
MSW 2007-02-08 |
| 9094 |
|
| 9095 |
Remove static buffer for query_name(). |
| 9096 |
common/item.c |
| 9097 |
include/libproto.h |
| 9098 |
server/apply.c attack.c build_map.c c_object.c c_range.c c_wiz.c gods.c monster.c move.c player.c plugins.c |
| 9099 |
server.c shop.c skill_util.c spell_attack.c spell_util.c |
| 9100 |
common/living.c object.c readable.c |
| 9101 |
socket/item.c |
| 9102 |
types/common/describe.c |
| 9103 |
types/converter/converter.c |
| 9104 |
types/example.c |
| 9105 |
types/item_transformer/item_transformer.c |
| 9106 |
types/legacy/apply.c legacy_describe.c |
| 9107 |
types/transport/transport.c |
| 9108 |
Ryo 2007-02-08 |
| 9109 |
|
| 9110 |
More generator enhancements: |
| 9111 |
|
| 9112 |
Added a generator_max field to generators. If this field is set, the |
| 9113 |
generator will only create this many objects on the map at one time. |
| 9114 |
It sets a generator_code key/value in itself and any objects it creates, |
| 9115 |
so it can identify them when counting. This code is taken from the new |
| 9116 |
generator_name field if it exists, or the "name" field otherwise. |
| 9117 |
server/time.c: added the scan for child objects to generate_monster, |
| 9118 |
and setting the code to child objects in the generate_monster_* |
| 9119 |
routines. |
| 9120 |
Aaron Baugher 2007-02-08 |
| 9121 |
|
| 9122 |
common/button.c: fix memory leak if map is NULL. |
| 9123 |
--- |
| 9124 |
Some static buffer removal, replaced by buffer + size parameters. |
| 9125 |
common/item.c: use const char* for constants. Remove some static buffers. |
| 9126 |
Remove unused function. |
| 9127 |
common/holy.c readable.c: adjust to functions. |
| 9128 |
include/libproto.h: new function prototypes. |
| 9129 |
server/apply.c c_object.c: changes to function calls. |
| 9130 |
Ryo 2007-02-08 |
| 9131 |
|
| 9132 |
|
| 9133 |
Enhancing generator ability: |
| 9134 |
Add a "generator_radius" field to generators; objects are created randomly |
| 9135 |
within this radius of the generator. |
| 9136 |
server/time.c: changed calls to find free spot |
| 9137 |
common/object.c: added function find_multi_free_spot_within_radius, |
| 9138 |
which is called from server/time.c |
| 9139 |
Aaron Baugher 2007-02-08 |
| 9140 |
|
| 9141 |
|
| 9142 |
Makefile.am, Makefile.in (and Makefiles in subdirs): Put types in list of |
| 9143 |
SUBDIRS before server so that compilation happens in correct order - |
| 9144 |
server area requires types to be up to date. |
| 9145 |
MSW 2007-02-07 |
| 9146 |
|
| 9147 |
Make players change place with pets from party members instead of pushing |
| 9148 |
them away. |
| 9149 |
--- |
| 9150 |
server/player.c: In move_player_attack() check for pets from party members |
| 9151 |
in addition to own pets. |
| 9152 |
server/move.c: In push_ob() check for pets from party members in addition |
| 9153 |
to own pets. |
| 9154 |
Andreas Kirschbaum 2007-02-07 |
| 9155 |
|
| 9156 |
Implement feature request #1652066: Python: get user's savebed location and x,y coords. |
| 9157 |
--- |
| 9158 |
New properties for player: |
| 9159 |
server/plugins.c |
| 9160 |
include/plugin.h |
| 9161 |
--- |
| 9162 |
Python properties: |
| 9163 |
plugins/cfpython/include/cfpython_object_private.h |
| 9164 |
plugins/cfpython/cfpython_object.c |
| 9165 |
Ryo 2007-02-06 |
| 9166 |
|
| 9167 |
utils/mapper.c: new command-line option "-addmap=<map>", to add a map to process. |
| 9168 |
Now also take into account player_changer a an exit. Flag "rowmaps" to generate |
| 9169 |
maps with random tiles instead of items. |
| 9170 |
Ryo 2007-02-04 |
| 9171 |
|
| 9172 |
plugins/cfpython/cfpython_object.c: Fix missing braces. |
| 9173 |
Alex Schultz 2007-02-03 |
| 9174 |
|
| 9175 |
plugins/cflogger/cflogger.c: Add missing return value in store_time(). |
| 9176 |
plugins/cflogger/cflogger.c: Add missing call to va_end(). |
| 9177 |
Andreas Kirschbaum 2007-01-29 |
| 9178 |
|
| 9179 |
utils/bwp.c: fix sort (sort by object's name). Fix memory leaks. |
| 9180 |
Ryo 2007-01-28 |
| 9181 |
|
| 9182 |
Implement feature request #822087: Apply below. |
| 9183 |
'apply' now has a new flag, '-b', that specified an item on the ground. |
| 9184 |
lib/help/apply: updated. |
| 9185 |
server/c_object.c: look for item on ground/in container. |
| 9186 |
Ryo 2007-01-21 |
| 9187 |
|
| 9188 |
Refactoring of move_apply -> move_on for several object classes. |
| 9189 |
Removed obsolete server/swamp.c file. |
| 9190 |
See types/ChangeLog for details. |
| 9191 |
server/apply.c |
| 9192 |
server/swamp.c |
| 9193 |
server/time.c |
| 9194 |
Yann Chachkoff 2007-01-21 |
| 9195 |
|
| 9196 |
Some changes to the mapper. |
| 9197 |
utils/mapper.c: some code cleaning. New tags. |
| 9198 |
utils/templates/map.template map_with_exit.template: use new tags, legend. |
| 9199 |
Ryo 2007-01-21 |
| 9200 |
|
| 9201 |
server/spell_util.c: Consider all stats when swapping random stats due to |
| 9202 |
a failed spell. |
| 9203 |
Andreas Kirschbaum 2007-01-21 |
| 9204 |
|
| 9205 |
Implement feature request #656195: More effects of confusion. |
| 9206 |
Three effects can happen: |
| 9207 |
* one item is transformed temporarily to flowers |
| 9208 |
* 2 random statistics are temporarily swapped |
| 9209 |
* a random spell is cast. |
| 9210 |
A new force type is introduced, FORCE_TRANSFORMED_ITEM, which does some |
| 9211 |
magic when it expires. |
| 9212 |
Modified files: |
| 9213 |
include/spells.h |
| 9214 |
server/spell_util.c time.c |
| 9215 |
Ryo 2007-01-20 |
| 9216 |
|
| 9217 |
Partially revert patch from 2006-31-12: girdles are not armours for wearing restrictions. |
| 9218 |
server/apply.c player.c |
| 9219 |
Ryo 2007-01-20 |
| 9220 |
|
| 9221 |
configure.ac: add --disable-logger flag to not build cflogger plugin, courtesy gros. |
| 9222 |
---- |
| 9223 |
Implement partially feature request #656194: It should be possible to curse and bless. |
| 9224 |
Added 2 new spells, 'curse item' and 'bless item', that work on marked item. |
| 9225 |
Also changed the spell name matching logic, to always return if a perfect match is found. |
| 9226 |
include/spells.h sproto.h |
| 9227 |
server/spell_effect.c spell_util.c |
| 9228 |
Ryo 2007-01-15 |
| 9229 |
|
| 9230 |
types/{dummy.c, Makefile.in, Makefile.am}, include/typesproto.h: Remove dummy |
| 9231 |
file now that it's no longer necessary |
| 9232 |
Alex Schultz 2007-01-14 |
| 9233 |
|
| 9234 |
Implement feature request #817585: altars don't take group of same logical item. |
| 9235 |
Checking logic is now modified to take into account other items apart last dropped item. |
| 9236 |
This is mainly done by changing check_altar_sacrifice(). |
| 9237 |
common/button.c: improve check_altar_sacrifice(). |
| 9238 |
include/libproto.h: update prototype for check_altar_sacrifice(). |
| 9239 |
server/apply.c: don't remove items, we don't care what we should remove. |
| 9240 |
|
| 9241 |
---- |
| 9242 |
Implement feature request #778211: allow avatars and holy servants to be random. |
| 9243 |
Changed determine_holy_arch to return one random item instead of first matching one. |
| 9244 |
server/gods.c |
| 9245 |
---- |
| 9246 |
Rename 'new_save_map' to 'save_map'. |
| 9247 |
common/map.c |
| 9248 |
crossedit/Edit.c |
| 9249 |
include/libproto.h |
| 9250 |
random_maps/standalone.c |
| 9251 |
server/c_wiz.c server.c swap.c weather.c |
| 9252 |
---- |
| 9253 |
common/map.c: fix memory leak. |
| 9254 |
server/skill_util.c: give a dummy name if skill doesn't have it. Avoids crashing later on :) |
| 9255 |
Ryo 2007-01-14 |
| 9256 |
|
| 9257 |
Apply long standing patch #1382884: change to player wraith race courtesy Anton Oussik. |
| 9258 |
lib/attackmess: new attack messages for feeding. |
| 9259 |
lib/treasures: give feeding skill to wraith. |
| 9260 |
server/attack.c: feeding skill, life stealing. |
| 9261 |
server/skill_util.c: new skill. |
| 9262 |
server/player.c: wraiths don't regenerate hp. |
| 9263 |
server/apply.c: wraiths don't get anything by eating food. |
| 9264 |
include/libproto.h: new functions. |
| 9265 |
include/attack.h: new attack message type. |
| 9266 |
include/skills.h: new skill. |
| 9267 |
common/player.c: wraith-related functions. |
| 9268 |
Ryo 2007-01-14 |
| 9269 |
|
| 9270 |
Apply patch #1631685: Monster flag set on all monster parts courtesy Aaron Baugher. |
| 9271 |
common/arch.c |
| 9272 |
Ryo 2007-01-14 |
| 9273 |
|
| 9274 |
Object types refactoring: TRIGGER. |
| 9275 |
See types ChangeLog for details. |
| 9276 |
---- |
| 9277 |
Object types refactoring: TRANSPORT, BOOK, POWER_CRYSTAL, BOOK. |
| 9278 |
See types ChangeLog for details. |
| 9279 |
Modified files: |
| 9280 |
include/ob_methods.h include/ob_types.h |
| 9281 |
server/ob_methods.c server/ob_types.c |
| 9282 |
server/apply.c server/c_object.c server/time.c |
| 9283 |
Added files: |
| 9284 |
types/transport/transport.c types/power_crystal/power_crystal.c |
| 9285 |
types/book/book.c types/item_transformer/item_transformer.c |
| 9286 |
types/legacy/apply.c types/legacy/legacy_describe.c types/legacy/process.c |
| 9287 |
types/common/describe.c |
| 9288 |
Removed files: |
| 9289 |
server/egoitem.c |
| 9290 |
Yann Chachkoff 2007-01-14 |
| 9291 |
|
| 9292 |
New util: mapper.c, which generates HTML pages to browse maps. |
| 9293 |
See the file itself for information and such. |
| 9294 |
---- |
| 9295 |
Moved structures outside a .c so other programs can access it. |
| 9296 |
include/image.h: new file, client-side image structures. |
| 9297 |
socket/image.c: moved data to include. |
| 9298 |
---- |
| 9299 |
utils/mapper.c: new program, map browser generator. |
| 9300 |
utils/templates/*.template: template files for mapper. |
| 9301 |
Ryo 2007-01-13 |
| 9302 |
|
| 9303 |
Some Win32 fixes: binmode for Perl, binary mode for opened files. |
| 9304 |
common/porting.c |
| 9305 |
lib/adm/collect_images.pl |
| 9306 |
lib/collect.pl.in |
| 9307 |
socket/item.c: variables should be declared at function start. |
| 9308 |
Ryo 2007-01-13 |
| 9309 |
|
| 9310 |
server/gods.c: Clean up follower_remove_given_items() |
| 9311 |
Alex Schultz 2007-01-10 |
| 9312 |
|
| 9313 |
Win32 compilation fixes: variables should be declared at function start. |
| 9314 |
socket/item.c |
| 9315 |
server/gods.c resurrection.c |
| 9316 |
Ryo 2007-01-09 |
| 9317 |
|
| 9318 |
New plugin: 'cflogger', which logs things to a sqlite3 database. |
| 9319 |
Warning: the database size may grow a lot, you'll have to check manually. |
| 9320 |
Logged events: |
| 9321 |
* players join/leave/creation/quit |
| 9322 |
* map load/unload/reset/enter/leave |
| 9323 |
* kills, whenever a player is concerned |
| 9324 |
* ingame/real time links |
| 9325 |
Note that the plugin is not yet part of the autobuild process. |
| 9326 |
|
| 9327 |
Added files: |
| 9328 |
cflogger/include/cflogger.h cflogger_proto.h Makefile.[am|in] |
| 9329 |
cflogger/cflogger.c Makefile.[am|in] |
| 9330 |
Ryo 2007-01-07 |
| 9331 |
|
| 9332 |
common/loader.l: Remove call to yylex_destroy() - at least on my linux |
| 9333 |
box, I get an unresolved symbol during link time (maybe different |
| 9334 |
versions of flex?) |
| 9335 |
MSW 2007-01-04 |
| 9336 |
|
| 9337 |
Make some commands DM only, and not visible to players. |
| 9338 |
server/commands.c |
| 9339 |
Ryo 2007-01-04 |
| 9340 |
|
| 9341 |
server/gods.c: Apply patch #1627442 by Aaron Baugher, to fix bug #1551735. Works |
| 9342 |
by using a key_value of "divine_giver_name" to objects that are given by a god. |
| 9343 |
Alex Schultz 2007-01-04 |
| 9344 |
|
| 9345 |
Fix a logic mistake: code should be called unless cursed and good only, not if good |
| 9346 |
only set (since t->item is never NULL). This would make empty spellbooks and crash. |
| 9347 |
common/treasure.c |
| 9348 |
Ryo 2007-01-03 |
| 9349 |
|
| 9350 |
include/book.h: Doxygenify header file and add licence. No functional changes. |
| 9351 |
Alex Schultz 2007-01-03 |
| 9352 |
|
| 9353 |
Check len of client-sent commands. |
| 9354 |
socket/item.c: a few checks. |
| 9355 |
Ryo 2007-01-02 |
| 9356 |
|
| 9357 |
Implement feature request #1443844: Lock in 1.9.0 is ethernal. |
| 9358 |
Added new 'lock' command, locking/unlocking specified item. |
| 9359 |
include/sproto.h |
| 9360 |
server/c_object.c commands.c |
| 9361 |
Ryo 2007-01-02 |
| 9362 |
|
| 9363 |
Massive doxygenation of code. Reformat indentation. No functional change. |
| 9364 |
include/artifact.h |
| 9365 |
Ryo 2007-01-02 |
| 9366 |
|
| 9367 |
Implement feature request #1555532: Disallow enchanting armour/weapons while wearing/wielding it. |
| 9368 |
Weapon/armour will be unequipped (unless cursed) if that would mean the player can't wear it anymore. |
| 9369 |
server/apply.c |
| 9370 |
Ryo 2007-01-02 |
| 9371 |
|
| 9372 |
Fixed some mistakes in the alchemical formulae |
| 9373 |
lib/formulae |
| 9374 |
Yann Chachkoff 2007-01-02 |
| 9375 |
|
| 9376 |
Removed unused defines, documentation fixes, no functional change. |
| 9377 |
common/treasure.c: add some links for GT_xxx. |
| 9378 |
include/treasure.h: add anchor 'GT_xxx'. |
| 9379 |
Ryo 2007-01-01 |
| 9380 |
|
| 9381 |
server/player.c: fix wrong message displayed. Make sp test coherent with draining for rod/horn. |
| 9382 |
Ryo 2007-01-01 |
| 9383 |
|
| 9384 |
Implement feature request #656191: Add blessings and curses to scrolls. |
| 9385 |
---- |
| 9386 |
New flags: 'blessed', 'known_blessed'. |
| 9387 |
common/item.c |
| 9388 |
common/loader.l: new flag, and fix mistake on array size. |
| 9389 |
include/define.h |
| 9390 |
---- |
| 9391 |
Randomly set blessed/cursed on scrolls and spellbooks. |
| 9392 |
common/treasure.c |
| 9393 |
---- |
| 9394 |
Blessed/cursed/damned effect for scrolls and books. |
| 9395 |
server/apply.c: effects, and also there should be a failure even if settings is no. |
| 9396 |
---- |
| 9397 |
server/spell_effect.c: add a check to be done. |
| 9398 |
Ryo 2007-01-01 |
| 9399 |
|
| 9400 |
Implement feature request #1536177: "Orc Knuckle" requires no dice. |
| 9401 |
If there is an "dice" archetype in server arches, this command will |
| 9402 |
require the player to have at least 4 dice to play. There is a 5% |
| 9403 |
chance to lose one dice at each play. Dice can be made through alchemy |
| 9404 |
(finding the recipe is left as an exercise to the player). |
| 9405 |
Note that the check is on the name 'dice', so you can have multiple |
| 9406 |
archetypes for that name, they'll be all taken into account. |
| 9407 |
server/c_chat.c: change command. |
| 9408 |
lib/formulae: add recipe. |
| 9409 |
---- |
| 9410 |
ChangeLog: fix date info (it's not american, but ISO) |
| 9411 |
Ryo 2007-01-01 |
| 9412 |
|
| 9413 |
Corrected garbage being displayed when examining an object, caused by an uninitialized buffer. |
| 9414 |
server/c_object.c |
| 9415 |
Yann Chachkoff 2007-01-01 |
| 9416 |
|
| 9417 |
server/{player.c, gods.c, apply.c, monster.c}: Fix bug #1543130 and make |
| 9418 |
handling of can_use_armour and can_use_shield consistant. |
| 9419 |
Alex Schultz 2006-12-31 |
| 9420 |
|
| 9421 |
Some memory fixes. |
| 9422 |
common/arch.c: split code to make free_arch(). |
| 9423 |
common/exp.c: free levels memory. |
| 9424 |
common/init.c: add free_globals(). |
| 9425 |
common/loader.l: add free_loader() to clean allocated memory. |
| 9426 |
common/object.c: call free_arch() instead of free() to free temporary archetype. |
| 9427 |
common/treasure.c: clear correctly the artifacts. |
| 9428 |
include/libproto.h: new functions. |
| 9429 |
include/sproto.h: new functions. |
| 9430 |
server/init.c: call cleanup() instead of exit() when doing dumps. Free some memory. |
| 9431 |
server/server.c: call some free_xxx() stuff. |
| 9432 |
server/weather.c: add free_weather(). |
| 9433 |
---- |
| 9434 |
Use const char* instead of char* |
| 9435 |
common/apply.c gods.c |
| 9436 |
Ryo 2006-12-31 |
| 9437 |
|
| 9438 |
Implemented proposal #1497089: fix for some random items. |
| 9439 |
lib/artifacts, lib/formulae |
| 9440 |
Changed the title of several treasures from Gaea to Vitality, and from |
| 9441 |
Ruggilli to Blazing Fires, to match better the personality of those gods. |
| 9442 |
Yann Chachkoff 2006-12-30 |
| 9443 |
|
| 9444 |
Some memory fixes. |
| 9445 |
common/arch.c: arch should free after object, since free_object2() checks the archetype. |
| 9446 |
common/loader.l: when doing line mode (from artifact loading), we should clear the buffer, |
| 9447 |
else it is lost, resulting in 16kb memory leak (not nice!). |
| 9448 |
common/object.c: warning about archetype needed for free_object2(). |
| 9449 |
Ryo 2006-12-30 |
| 9450 |
|
| 9451 |
Fix for bug #1539120: talisman of Evocation grants wrong skill. |
| 9452 |
Changed the name of the "Talisman of Evocation" artifact to "Talisman of Creation", |
| 9453 |
so there is no confusion with the skill name. |
| 9454 |
|
| 9455 |
Last part of the fix for bug #1612838 |
| 9456 |
common/treasure.c: Changed the formula used to compute the item_power of a |
| 9457 |
generated artifact treasure. |
| 9458 |
Yann Chachkoff 2006-12-30 |
| 9459 |
|
| 9460 |
Partial fix for bug #1612838: Problem with item_power code |
| 9461 |
server/apply.c |
| 9462 |
Now armours get +3*magic increase to their item_power field. |
| 9463 |
Corrected stupid mistakes made when fixing bug #1528525 |
| 9464 |
Yann Chachkoff 2006-12-30 |
| 9465 |
|
| 9466 |
Another Win32 compilation fix. |
| 9467 |
common/player.c: variable definition is a function start. |
| 9468 |
Ryo 2006-12-30 |
| 9469 |
|
| 9470 |
Fix for bug #1573294: Flesh displays speed +x and gives lot identification exp. |
| 9471 |
common/item.c |
| 9472 |
Patch initially submitted by Aaron Baugher |
| 9473 |
Yann Chachkoff 2006-12-30 |
| 9474 |
|
| 9475 |
Fix for bug #1528525: Sometimes "bad" initial items are created. |
| 9476 |
common/treasure.c |
| 9477 |
Changed the behavior of create_one_treasure, that will now not generate a |
| 9478 |
treasure whose base object is cursed or damned when the GT_ONLY_GOOD flag is set. |
| 9479 |
Yann Chachkoff 2006-12-30 |
| 9480 |
|
| 9481 |
Fix for Win32 compilation. |
| 9482 |
plugins/common/hashtable.c: missing #include for Windows. |
| 9483 |
Ryo 2009-12-29 |
| 9484 |
|
| 9485 |
common/c_misc.c lib/settings |
| 9486 |
Fix for bug #1622609: Specific flags no longer displayed with 'who command |
| 9487 |
Replaced [] by <> in the who output command, as [] are reserved for the various |
| 9488 |
formatting tags. |
| 9489 |
Yann Chachkoff 2006-12-29 |
| 9490 |
|
| 9491 |
Massive doxygenation of code. Reformat indentation. No functional change. |
| 9492 |
common/object.c path.c player.c porting.c quest.c readable.c recipe.c re-cmp.c |
| 9493 |
region.c shstr.c time.c treasure.c utils.c |
| 9494 |
doc/Developers/programming_guide: add rule for function comments. |
| 9495 |
Ryo 2006-12-29 |
| 9496 |
|
| 9497 |
Fix previous broken commit. |
| 9498 |
common/arch.c |
| 9499 |
Massive doxygenation of code. Reformat indentation. No functional change. |
| 9500 |
common/friend.c glue.c holy.c image.c info.c init.c item.c links.c living.c loader.l |
| 9501 |
logger.c los.c map.c |
| 9502 |
Ryo 2006-12-28 |
| 9503 |
|
| 9504 |
Massive doxygenation of code. Reformat indentation. No functional change. |
| 9505 |
Doxyfile: extract also static and private stuff. |
| 9506 |
common/anim.c arch.c button.c exp.c |
| 9507 |
Ryo 2006-12-27 |
| 9508 |
|
| 9509 |
Fix for bug #1622575: Range attack switches to punching on contact, |
| 9510 |
applied patch courtesy Aaron Baugher |
| 9511 |
server/skill_util.c: use good flag to not switch. |
| 9512 |
Ryo 2006-12-27 |
| 9513 |
|
| 9514 |
Fix some crashes observed on metalforge: |
| 9515 |
common/treasure.c: When generating flesh items from custom monsters, |
| 9516 |
update other_arch of the flesh item to point back to the original |
| 9517 |
base archetype, not the custom archetype. |
| 9518 |
random_maps/treasure.c: Create the key object before we reference it |
| 9519 |
in find_first_free_spot() |
| 9520 |
MSW 2006-12-26 |
| 9521 |
|
| 9522 |
Make method/property coherent for Python objects. |
| 9523 |
plugins/cfpython/cfpython_archetype.c cfpython_party.c cfpython_region.c |
| 9524 |
plugins/cfpython/include/cfpython_archetype_private.h cfpython_party_private.h cfpython_region_private.h |
| 9525 |
Ryo 2006-12-26 |
| 9526 |
|
| 9527 |
Implemented FR #1539153: Blessed weapons should have an owner. |
| 9528 |
Added option personalized_blessings to activate that feature. |
| 9529 |
server/apply.c |
| 9530 |
server/gods.c |
| 9531 |
server/init.c |
| 9532 |
include/global.h |
| 9533 |
Yann Chachkoff 2006-12-26 |
| 9534 |
|
| 9535 |
Fix for bug #1527978: summon fog spell is somewhat broken. |
| 9536 |
Summon now occurs either randomly around (when casting on oneself), |
| 9537 |
or around, either clockwise or anticlockwise. |
| 9538 |
server/pets.c |
| 9539 |
Ryo 2006-12-26 |
| 9540 |
|
| 9541 |
Implement feature request #1617446 :add "glow radius" to perceive self |
| 9542 |
server/spell_effect.c |
| 9543 |
Ryo 2006-12-26 |
| 9544 |
|
| 9545 |
Add "Crossfire.Object.LastEat. More return fixes. |
| 9546 |
plugins/cfpython/include/cfpython_object_private.h: add "Subtype". |
| 9547 |
plugins/cfpython/cfpython_object.c: add "Subtype". |
| 9548 |
server/plugins.c: fix wrong return values. |
| 9549 |
Ryo 2006-12-26 |
| 9550 |
|
| 9551 |
Fix wrong return values for plugin calls. Add "Crossfire.Object.Subtype" property. |
| 9552 |
plugins/cfpython/include/cfpython_object_private.h: add "Subtype". |
| 9553 |
plugins/cfpython/cfpython_object.c: add "Subtype". |
| 9554 |
server/plugins.c: fix wrong return values. |
| 9555 |
Ryo 2006-12-26 |
| 9556 |
|
| 9557 |
types/example.c: Add quick example file. |
| 9558 |
Alex Schultz 2006-12-26 |
| 9559 |
|
| 9560 |
server/player.c: Added a supplementary check on attacked objects, so that an |
| 9561 |
alive object that has its FLAG_MONSTER set is always a preferred target over |
| 9562 |
an alive object without that flag. |
| 9563 |
Fix for the bug mentioned in #1551404 |
| 9564 |
|
| 9565 |
server/skill_util.c: Corrected the flags passed to change_exp when failing |
| 9566 |
to properly write a spell scroll, which resulted in loss of experience in |
| 9567 |
the wrong skill. |
| 9568 |
Fix for the bug mentioned in #1530000 |
| 9569 |
Yann Chachkoff 2006-12-26 |
| 9570 |
|
| 9571 |
lib/{Makefile.in,adm/map_info,collect.pl.in,Makefile.am}: ignore .svn rather |
| 9572 |
than CVS. |
| 9573 |
Andreas Kirschbaum 2006-12-24 |
| 9574 |
|
| 9575 |
server/c_chat.c: In command_tell() do not crash when extendedTextInfos are |
| 9576 |
enabled. |
| 9577 |
Andreas Kirschbaum 2006-12-22 |
| 9578 |
|
| 9579 |
common/loader.l: Fix some problems related to curse spell monster |
| 9580 |
handling. Specifically, coordinates of custom monsters was not |
| 9581 |
being saved (always set to 0,0), which caused crashes for multipart |
| 9582 |
monsters upon load. Also, speed was being set to 0, resulting in |
| 9583 |
customized monsters not having any speed. |
| 9584 |
MSW 2006-12-21 |
| 9585 |
|
| 9586 |
server/shop.c: Remove unused switch statement. |
| 9587 |
Alex Schultz 2006-12-17 |
| 9588 |
|
| 9589 |
No change, just remove unused code in #if 0 |
| 9590 |
server/commands.c |
| 9591 |
server/shop.c |
| 9592 |
Ryo 2006-12-17 |
| 9593 |
|
| 9594 |
Fix a crash due to non-checking of parameters. |
| 9595 |
socket/item.c |
| 9596 |
Ryo 2006-12-13 |
| 9597 |
|
| 9598 |
Tentative fix for bug #1551398: Curse spell breaks customized monsters. |
| 9599 |
The server will now create a "temporary" archetype when loading a customized monster. |
| 9600 |
This archetype will have the same name, but not be part of regular archetype list. |
| 9601 |
It'll be removed when last object using it is removed. |
| 9602 |
A new field "reference_count" is added to archetype structure, to store how many |
| 9603 |
objects reference that temporary archetype (think of item duplication with customized archetype). |
| 9604 |
This fix has been roughly tested, but could certainly use more tests. |
| 9605 |
Modified files: |
| 9606 |
common/loader.l: handle customized monsters |
| 9607 |
common/object.c: increment reference_count if copying a temporary archetype. Decrement it when freeing an |
| 9608 |
object, and free archetype if needed |
| 9609 |
common/treasure.c: add "artifact_init" to signal start/end of artifact loading, required for temporary archetypes handling. |
| 9610 |
include/object.h: new "reference_count" field |
| 9611 |
Ryo 2006-12-09 |
| 9612 |
|
| 9613 |
Tentative fix for bugs |
| 9614 |
#1605033: Random map gets blocked |
| 9615 |
#1522796: Random map, locked door(s) and no key |
| 9616 |
Random map generator will try harder to put keys, and not lock if no spot found |
| 9617 |
(can happen if chest is surrounded by locked doors blocking the corridor). |
| 9618 |
Modified files: |
| 9619 |
random_maps/rproto.h |
| 9620 |
random_maps/treasures.c |
| 9621 |
Ryo 2006-12-03 |
| 9622 |
|
| 9623 |
Cosmetic fixes only, before bugfix. |
| 9624 |
random_maps/treasures.c: fix indentation. |
| 9625 |
Ryo 2006-12-03 |
| 9626 |
|
| 9627 |
Fix for bug #1556723: Broken Show invisible - scrolls, wands, staves and rods |
| 9628 |
server/spell_effect.c: use the item's level, and not computed level, to see if should be shown. |
| 9629 |
Ryo 2006-12-03 |
| 9630 |
|
| 9631 |
Fix for bug #1569017: Healing gives grace cost to target. |
| 9632 |
Information sent to client is now stored in a special structure, to not |
| 9633 |
conflict with spell fields. Note that this doesn't fix player files. |
| 9634 |
common/player.c: free spell information, new function for spell state. |
| 9635 |
include/libproto.h: new function. |
| 9636 |
include/player.h: new structure, new field in player structure. |
| 9637 |
socket/request.c: use spell information instead of spell fields. |
| 9638 |
Ryo 2006-12-02 |
| 9639 |
|
| 9640 |
Merge patch #1558073: newpickup flesh courtesy bencha |
| 9641 |
include/define.h |
| 9642 |
server/c_object.c player.c |
| 9643 |
Ryo 2006-11-29 |
| 9644 |
|
| 9645 |
Implement feature request #1555887: Thief player - should have bargaining as default skill |
| 9646 |
lib/treasures: add skill to class items. |
| 9647 |
Ryo 2006-11-26 |
| 9648 |
|
| 9649 |
Fix bug #1539207: "Max speed" attribute does not work |
| 9650 |
common/living.c: armor's max_speed should always be taken into account. |
| 9651 |
Ryo 2006-11-26 |
| 9652 |
|
| 9653 |
Fix indentation and comments, cosmetic changes only. |
| 9654 |
common/living.c |
| 9655 |
server/pets.c: |
| 9656 |
Ryo 2006-11-26 |
| 9657 |
|
| 9658 |
Fix bug #1599307: |
| 9659 |
server/shop.c: In pay_from_container() handle non-standard MONEY objects when |
| 9660 |
buying items. |
| 9661 |
Andreas Kirschbaum 2006-11-19 |
| 9662 |
|
| 9663 |
socket/info.c: In draw_ext_info() do not crash for out of memory. |
| 9664 |
Andreas Kirschbaum 2006-11-19 |
| 9665 |
|
| 9666 |
server/rune.c: If skill is NULL in dispel_rune(), just return as server |
| 9667 |
will otherwise crash in trap_disarm() |
| 9668 |
server/spell_util.c: Fix bug in that runes that hold other spells (glyphs, |
| 9669 |
firetraps, magic runes, etc) do not find a skill object, and thus |
| 9670 |
player doesn't get exp. Instead, for runes, try to find owner, and |
| 9671 |
then the relevant skill object. |
| 9672 |
MSW 2006-11-18 |
| 9673 |
|
| 9674 |
Documentation tweaks. |
| 9675 |
include/object.h: doxygen-like comments. |
| 9676 |
Doxyfile: created with some defaults. |
| 9677 |
Ryo 2006-11-18 |
| 9678 |
|
| 9679 |
Rename fix_player to fix_object, since it works for other items. |
| 9680 |
common/item.c living.c object.c |
| 9681 |
include/define.h libproto.h skills.h |
| 9682 |
server/apply.c attack.c c_misc.c c_object.c c_wiz.c disease.c gods.c |
| 9683 |
login.c player.c plugins.c shop.c skills.c skill_util.c spell_attack.c |
| 9684 |
spell_effect.c time.c |
| 9685 |
Ryo 2006-11-18 |
| 9686 |
|
| 9687 |
|
| 9688 |
Fix bug #598649: Building apartments use multiple materials per tile |
| 9689 |
server/build_map.c: don't redo same floor. |
| 9690 |
---- |
| 9691 |
socket/info.c: fix spurious logic, fix indent. |
| 9692 |
Ryo 2006-11-18 |
| 9693 |
|
| 9694 |
Tentative fix for bug #1519089: item cannot afford in container can be taken from store. |
| 9695 |
server/shop.c: do a real recursion in can_pay. |
| 9696 |
Ryo 2006-11-16 |
| 9697 |
|
| 9698 |
include\{treasure.h path.h face.h commands.h win32.h shstr.h timers.h |
| 9699 |
config.h funcpoint.h object.h loader.h attack.h race.h newserver.h |
| 9700 |
re-cmp.h living.h book.h plugproto.h player.h artifact.h material.h |
| 9701 |
plugin.h spellist.h skills.h spells.h recipe.h god.h sounds.h map.h |
| 9702 |
tod.h newclient.h}: Clean up anti-double-include mechanisms. |
| 9703 |
---- |
| 9704 |
include/arch.h: Removing unused file. |
| 9705 |
include/Makefile.am: Remove reference to arch.h |
| 9706 |
common/arch.c: Remove reference to arch.h |
| 9707 |
Alex Schultz 2006-11-14 |
| 9708 |
|
| 9709 |
Fix bug #1573296: arena : spells with "target" doesn't works |
| 9710 |
server/spell_util.c: spell_find_dir should consider players when on battleground. |
| 9711 |
---- |
| 9712 |
Fix bug #1594696: Altar created with creator - consecration |
| 9713 |
server/time.c: copy creator's level, as per behaviour before function rewrite. |
| 9714 |
Ryo 2006-11-13 |
| 9715 |
|
| 9716 |
doc/Developers/protocol: Add documentation about exp_table requestinfo |
| 9717 |
addition |
| 9718 |
socket/loop.c: Add call to send_exp_table() in request_info_cmd() |
| 9719 |
socket/request.c: Add send_exp_table() to use a replyinfo exp_table to |
| 9720 |
send data to client. |
| 9721 |
MSW 2006-11-03 |
| 9722 |
|
| 9723 |
socket/loop.c: Fix replyinfo, in that it was using incorrect length parameter |
| 9724 |
when replying to unsupported requests. |
| 9725 |
MSW 2006-11-02 |
| 9726 |
|
| 9727 |
Fix for bug #1547517: DM issue with containers |
| 9728 |
server/apply.c: move_apply shouldn't exit if opened container. |
| 9729 |
Ryo 2006-10-29 |
| 9730 |
|
| 9731 |
Update code so everything uses draw_ext_info(), and remove new_draw_info(). |
| 9732 |
For the most part, everything is just a simple update of function name/ |
| 9733 |
parameters. In some places, there was some other cleanup, like |
| 9734 |
inconsistent whitespace being made consistent. A few places were |
| 9735 |
changed to use the varargs version, so no longer needed a local snprintf. |
| 9736 |
Many places where used to remove the hard formatting (combine several |
| 9737 |
calls into one so that the client can do the word wrap/formatting, since |
| 9738 |
assuming the width of the client never was really accurate) |
| 9739 |
Dead code was removed, rather than being updated. |
| 9740 |
For old clients, it will continue to use the old protocol commands, so |
| 9741 |
this doesn't break client compatibility in any way. |
| 9742 |
-- |
| 9743 |
Files affected: |
| 9744 |
common/arch.c, common/button.c, common/living.c, common/los.c. common/map.c, |
| 9745 |
common/quest.cm common/time.c, common/treasure.c |
| 9746 |
crossedit/stubs.c |
| 9747 |
random_maps/standalone.c |
| 9748 |
include/funcpoint.h, include/newclient.h, include/sockproto.h |
| 9749 |
server/alchemy.c, server/apply.c, server/attack.c, server/build_map.c, |
| 9750 |
server/c_chat.c, server/c_wiz.c, server/c_new.c, server/c_object.c, |
| 9751 |
server/c_range.c, server/c_party.c, server/commands.c, server/disease.c, |
| 9752 |
server/gods.c, server/hiscore.c, server/login.c, server/monster.c, |
| 9753 |
server/move.c, server/pets.c, server/player.c, server/plugins.c |
| 9754 |
server/resurrection.c, server/rune.c, server/server.c, server/skill_util.c, |
| 9755 |
server/skills.c, server/spell_attack.c, server/spell_effect.c, |
| 9756 |
server/spell_util.c, server/swamp.c, server/time.c |
| 9757 |
socket/info.c, socket/item.c, socket/request.c |
| 9758 |
test/unit/common/stubs_common.c |
| 9759 |
test/unit/crossedit/stubs_crossedit.c, test/unit/random_maps/stubs_random.c |
| 9760 |
-- |
| 9761 |
MSW 2006-10-28 |
| 9762 |
|
| 9763 |
Implement feature request #1551406: Add player's name to disease symptoms |
| 9764 |
server/disease.c: add player's name. |
| 9765 |
Ryo 2006-10-28 |
| 9766 |
|
| 9767 |
/plugins/cfpython/{cfpython.c, cfpython_map.c, cfpython_object.c}: Remove |
| 9768 |
redundent checks in values passed to Crossfire_Foobar_wrap() functions. |
| 9769 |
Alex Schultz 2006-10-27 |
| 9770 |
|
| 9771 |
Fix for bug #1573381 (death attacks does works on skull) |
| 9772 |
server/attack.c: check for undead when no slaying set for hitter in deathstrike_player. |
| 9773 |
Ryo 2006-10-22 |
| 9774 |
|
| 9775 |
Fix for bug #1553636 (Crashbug: reset/swaped map after use of "overlay_save"). |
| 9776 |
Make command coherent with ingame command (command_overlay_save since overlay_save). |
| 9777 |
Add 'overlay_reset' command to reset a saved overlay. |
| 9778 |
common/map.c: if flag is 2, map is still valid (non destructive save). |
| 9779 |
include/sproto.h: rename function, new function. |
| 9780 |
server/c_wiz.c: no need to save and reload the map for overlay. Rename function. New function. |
| 9781 |
server/commands.c: rename function, new function. |
| 9782 |
Ryo 2006-10-22 |
| 9783 |
|
| 9784 |
common/loader.l: Make it so that long msg/endmsg won't overflow temp buffer |
| 9785 |
by using safe_strcat. Will result in long messages being truncated, but |
| 9786 |
better than crashes. |
| 9787 |
server/pets.c: Check for existance of object existance after call to |
| 9788 |
follow_owner() in remove_all_pets(). Can be cases where put is killed |
| 9789 |
when moving to new map. |
| 9790 |
MSW 2006-10-18 |
| 9791 |
|
| 9792 |
server/apply.c: If the captain of a transport exits the transport, make the |
| 9793 |
next player on the transport the captain. |
| 9794 |
server/server.c: Like change to apply.c to make player another player captain |
| 9795 |
if one leaves the game. But in addition, in all cases, we need to clean |
| 9796 |
up the transport->contr pointer, which will otherwise cause crashes. |
| 9797 |
MSW 2006-10-12 |
| 9798 |
|
| 9799 |
common/readable.c: Rewrite god_info_msg() - a buffer overflow crash was seen |
| 9800 |
on metalforge, and the old code had lots of dangerous string operations |
| 9801 |
(non safe strcats, sprintf with overlapping buffers). No code is |
| 9802 |
functionally equivalant, just uses safe string funtions. |
| 9803 |
MSW 2006-10-12 |
| 9804 |
|
| 9805 |
doc/Developers/objects updated to better describe @match use in objects. Many |
| 9806 |
objects contain useless case handling keys like @match Hello|hello because |
| 9807 |
mapmakers do not know how @match works. Also add mention of the limited |
| 9808 |
regular expression support that applies to match keys. |
| 9809 |
Kevin R. Bulgrien 2006-10-08 |
| 9810 |
|
| 9811 |
Make converters inside shops work again. |
| 9812 |
--- |
| 9813 |
server/c_object.c: Sell item after dropping because converters do not accept |
| 9814 |
unpaid items. |
| 9815 |
Andreas Kirschbaum 2006-10-08 |
| 9816 |
|
| 9817 |
Fix bug where in players could unequip cursed weapons by switching to a hand |
| 9818 |
to hand skill (punching, karate, etc). |
| 9819 |
-- |
| 9820 |
include/define.h: Add AP_NOPRINT flag. |
| 9821 |
server/apply.c: Modify the apply_special() code to take AP_NOPRINT option, |
| 9822 |
which as implies, causes messages not to be printed. Used in change |
| 9823 |
to skill_util.c, since the code thre prints better message about uequipping |
| 9824 |
of weapon. |
| 9825 |
server/skill_util.c: Do some cleanup of unused vars in do_skill(). Modify |
| 9826 |
attack_hth() to call apply_special() to unequip weapon (that takes care |
| 9827 |
of checking cursed status, etc). |
| 9828 |
-- |
| 9829 |
MSW 2006-10-05 |
| 9830 |
|
| 9831 |
server/rune.c: Fix mistake in revision 4979, causing get_rangevector to be called |
| 9832 |
with an uninitialized env. |
| 9833 |
Alex Schultz 2006-10-04 |
| 9834 |
|
| 9835 |
server/c_misc.c: Fix incorrect use of FMT64 in commant_statistics(). |
| 9836 |
Alex Schultz 2006-10-02 |
| 9837 |
|
| 9838 |
server/monster.c: Revert message formatting of NPC responses back to the |
| 9839 |
two-line format. Fix a possible buffer overflow when players talk to |
| 9840 |
certain NPCs. |
| 9841 |
Andreas Kirschbaum 2006-10-02 |
| 9842 |
|
| 9843 |
server/rune.c: Cleanup spring_trap() and clean some questionable logic. |
| 9844 |
server/attack.c: Cause spell traps to be triggered when containers with traps |
| 9845 |
are destroyed by a spell effect. |
| 9846 |
Alex Schultz 2006-09-25 |
| 9847 |
|
| 9848 |
doc/Makefile.am, server/Makefile.am, utils/crossloop.in, utils/crossloop.pl.in, |
| 9849 |
utils/crossloop.tmpl.in, utils/crossloop.web.in, utils/crossloop.pl.tmpl.in, |
| 9850 |
doc/crossfire-server.man: Rename crossfire binary to crossfire-server. Make |
| 9851 |
changes to account for that in crossloop and the man page. |
| 9852 |
Alex Schultz 2006-09-20 |
| 9853 |
|
| 9854 |
server/plugins.c: Change cfapi_object_say() to use either command_say() or |
| 9855 |
npc_say() depending on if the object is a player. Fixes bug #1534889. |
| 9856 |
server/monster.c, include/sproto: Move code for NPCs to talk from the code that |
| 9857 |
handles NPC replies into npc_say(). |
| 9858 |
server/spell_effect.c: Implement proposed alchemy changes from the mailing list. |
| 9859 |
Make value of nuggets given range from 5% to 40%. Depends on archetype |
| 9860 |
changes to the alchemy spell and nuggets. (Without archetype changes will |
| 9861 |
give obscenely low value.) |
| 9862 |
server/spell_util.c, include/sproto.h: Make min_casting_level() non-static. |
| 9863 |
Alex Schultz 2006-09-16 |
| 9864 |
|
| 9865 |
server/alchemy.c: Make shadow alchemy and random alchemy failures ignore the |
| 9866 |
'cauldron' type being used. Fixes bug #1551385. |
| 9867 |
Alex Schultz 2006-09-15 |
| 9868 |
|
| 9869 |
lib/README: Large update to the ancient readme file describing the files in lib. |
| 9870 |
Alex Schultz 2006-09-12 |
| 9871 |
|
| 9872 |
common/treasure.c, include/treasure.h: Add MAX_SPELLITEM_LEVEL set to 110. |
| 9873 |
include/living.h: Set MAXLEVEL to 115. |
| 9874 |
doc/settings: Document create_home_portals outside of comments in lib/settings. |
| 9875 |
server/player.c: Comment cleanup. No code changes. |
| 9876 |
server/apply.c: Add check to auto-dropping of applied transports to not |
| 9877 |
drop in shops. |
| 9878 |
common/treasure.c: Make fix_flesh_item only run when the donor is a |
| 9879 |
monster. Fixes bug #1555569. |
| 9880 |
Alex Schultz 2006-09-10 |
| 9881 |
|
| 9882 |
server/apply.c, server/c_object.c, server/player.c: Use is_in_shop() to |
| 9883 |
check if it's in a a shop. |
| 9884 |
server/shop.c, include/sproto.h: Add is_in_shop() and coords_in_shop() |
| 9885 |
based on addition of is_in_shop() in cf+ by elmex. |
| 9886 |
server/apply.c: When applying a transport which is in an inventory, drop |
| 9887 |
the transport. |
| 9888 |
server/c_object.c, include/sproto.h: Make drop_object return a pointer to |
| 9889 |
the dropped object, NULL otherwise. |
| 9890 |
Alex Schultz 2006-09-09 |
| 9891 |
|
| 9892 |
common/treasure.c: add exp and other_arch to flesh; more info about |
| 9893 |
the original monster, to be used in spells or scripts. |
| 9894 |
Lalo Martins 2006-09-10 |
| 9895 |
|
| 9896 |
doc/Developers/protocol: Fix off by one on how many layers are currently |
| 9897 |
defined. |
| 9898 |
server/swap.c: When loading up temp maps, make sure timeout is set to 0 - |
| 9899 |
fixes bug 1539203. |
| 9900 |
MSW 2006-09-06 |
| 9901 |
|
| 9902 |
lib/collect.pl.in: Explicitly ignore backup files (*~), just because they |
| 9903 |
really annoy me. |
| 9904 |
Lalo Martins 2006-09-06 |
| 9905 |
|
| 9906 |
server/gods.c: Make get_god_for_race() safe for gods of no race. |
| 9907 |
Alex Schultz 2006-09-06 |
| 9908 |
|
| 9909 |
server/shop.c: Make (real) sure shops won't give amber/jade |
| 9910 |
Lalo Martins 2006-09-06 |
| 9911 |
|
| 9912 |
Apply patch #551467 (type mismatch in surround_flag3() can cause SIGSEGV) |
| 9913 |
courtesy Mark Kidder. |
| 9914 |
random_maps/rproto.h wall.c |
| 9915 |
Ryo 2006-09-04 |
| 9916 |
|
| 9917 |
Bulk of this change is updating some files to use draw_ext_info() - all |
| 9918 |
future code should use this, since there is no real reason not to and |
| 9919 |
it provides additional features. One notable change - reversed the |
| 9920 |
order of the new and old formats in draw_ext_info_format() - the |
| 9921 |
order was different than that of draw_ext_info(), which leads to confusion. |
| 9922 |
draw_ext_info_format() wasn't used in many places, so easier to change |
| 9923 |
that than all the draw_ext_info() calls. Only another 1200 |
| 9924 |
new_draw_info calls left in the server. |
| 9925 |
-- |
| 9926 |
doc/mediaTags: Fix some typos, clarify some behaviour (the way it works |
| 9927 |
now so that there will not be confusion in the future). |
| 9928 |
include/define.h: Remove MSG_ tags - moved to newclient.h |
| 9929 |
include/newclient.h: Synchronize with client version. Add MSG_ defines |
| 9930 |
include/newserver.h: Move some defines from here to newclient.h |
| 9931 |
server/apply.c: Reverse format parameters to draw_ext_info_format() calls. |
| 9932 |
server/c_misc.c: Rewrite to use draw_ext_info{_format} - this allows nice |
| 9933 |
formatting of tables, etc. Also general style cleanups, clarify some |
| 9934 |
messages. in help_topics(), don't do linewrap - let the client |
| 9935 |
handle it. remove bug_report() function - no longer used. Remove |
| 9936 |
explore_mode() - wasn't used. Move command_style_map_info() to |
| 9937 |
c_wiz.c since it is a wiz only command. |
| 9938 |
server/c_wiz.c: As per above, move command_style_map_info() to this file |
| 9939 |
since it is a wiz command. |
| 9940 |
server/player.c: Reverse format parameters to draw_ext_info_format() calls. |
| 9941 |
server/shop.c: Update to use draw_ext_info{_format} instead of new_draw_info() |
| 9942 |
socket/info.c: Reverse format parameters in draw_ext_info_format(). |
| 9943 |
Update va_start() to use new last parameter. Remove call to |
| 9944 |
strip_media() if the client supports the tag - that should only be |
| 9945 |
used if the client does not support the tag. |
| 9946 |
socket/request.c: remove commented out MSG_TYPE values. |
| 9947 |
MSW 2006-09-03 |
| 9948 |
|
| 9949 |
plugins/common/hashtable.c: make Win32 define of uintptr_t more correct. |
| 9950 |
Alex Schultz 2006-09-03 |
| 9951 |
|
| 9952 |
plugins/common/hashtable.c: fix Win32 compilation. |
| 9953 |
server/spell_effect.c: missing return value. |
| 9954 |
---- |
| 9955 |
Potential fix for bug #1551307 (crash in python plugin). If event_destroy is |
| 9956 |
not found, set del_event to NULL. And don't dare you call remove_ob on it! :) |
| 9957 |
plugins/cfpython/cfpython_object.c |
| 9958 |
---- |
| 9959 |
Fix for bug #1551371 (No-magic prevents monsters from casting spells) |
| 9960 |
server/skill_util.c: ignore no_spell/no_magic for monsters. |
| 9961 |
---- |
| 9962 |
Fix for bug #1551386 (Alchemy with unpaid items). |
| 9963 |
include/sproto.h: new function declaration. |
| 9964 |
server/alchemy.c: check for unpaid items/cauldrons in new function. |
| 9965 |
server/skill_util.c: move alchemy code to other function. |
| 9966 |
Ryo 2006-09-03 |
| 9967 |
|
| 9968 |
server/attack.c: Store away victim_map in hit_with_arrow() - what could |
| 9969 |
otherwise happen is that victim is a player, and killed and ends up |
| 9970 |
on new map, so that victim->map points at the wrong map. |
| 9971 |
MSW 2006-09-02 |
| 9972 |
|
| 9973 |
server/swamp.c: swamp will now kill players with woodsman, but slower than |
| 9974 |
players without that skill. Feature request #1539125 by Andreas Kirschbaum. |
| 9975 |
socket/lowlevel.c: apply patch #1550716 (Frequent crashes after client disconnects) |
| 9976 |
courtesy Mark Kidder |
| 9977 |
Ryo 2006-09-02 |
| 9978 |
|
| 9979 |
server/attack.c: Move kill_player() after we set up the pl->killer string. |
| 9980 |
Needed just so right message is on grave stone - also prevents crashes, |
| 9981 |
as if the hitter is poison or disease, kill_player() will remove those. |
| 9982 |
MSW 2006-08-30 |
| 9983 |
|
| 9984 |
lib/attackmess: Fix missing space in a 'type 17' attack message. |
| 9985 |
Alex Schultz 2006-08-30 |
| 9986 |
|
| 9987 |
server/player.c: Fix logic error in fire_bow and avoid unnecessary messages. |
| 9988 |
Fixes bug #1547699. |
| 9989 |
Alex Schultz 2006-08-28 |
| 9990 |
|
| 9991 |
Add plugin access to move fields. Add sint64 type to plugin. 'AddExp' wrapper. |
| 9992 |
include/plugin.h |
| 9993 |
plugins/common/plugin_common.c |
| 9994 |
plugins/common/include/plugin_common.h |
| 9995 |
server/plugins.c |
| 9996 |
----- |
| 9997 |
Add 'object->env' and move_xxx wrappers to Object. |
| 9998 |
plugins/cfpython/cfpython_object.c |
| 9999 |
plugins/cfpython/include/cfpython_object_private.h |
| 10000 |
----- |
| 10001 |
Add constants for many things. Note that they aren't real constants and can |
| 10002 |
be changed from a Python script. But it's the case for everything, so... |
| 10003 |
plugins/cfpython/cfpython.c |
| 10004 |
Ryo 2006-08-27 |
| 10005 |
|
| 10006 |
Removed obsolete 'event' field from object struct, and associated functions. |
| 10007 |
common/living.c |
| 10008 |
common/loader.[cl] |
| 10009 |
common/object.c |
| 10010 |
common/treasure.c |
| 10011 |
include/libproto.h |
| 10012 |
include/object.h |
| 10013 |
server/apply.c |
| 10014 |
test/unit/common/check_arch.c |
| 10015 |
Ryo 2006-08-26 |
| 10016 |
|
| 10017 |
server/weather.c: change spurious logic in weather_avoid function. |
| 10018 |
Ryo 2006-08-26 |
| 10019 |
|
| 10020 |
Hopefully fix weather-related bug. |
| 10021 |
common/object.c: tentatively fix insert_ob_in_map weird behaviour when |
| 10022 |
both INS_MAP_LOAD and INS_ABOVE_FLOOR_ONLY are set. |
| 10023 |
Ryo 2006-08-26 |
| 10024 |
|
| 10025 |
common/object.c, server/time.c: Make generators work properly with multi-tile objects. |
| 10026 |
Fixes bugs #1543220 and #1546835 and also allows generators themself to be multi-tile. |
| 10027 |
Alex Schultz 2006-08-25 |
| 10028 |
|
| 10029 |
check-fragment.am: Add some quotes to avoid problems with spaces appearing |
| 10030 |
in macro expansions. |
| 10031 |
Raphaël Quinet 2006-08-25 |
| 10032 |
|
| 10033 |
configure, aclocal.m4, utils/config.guess, utils/config.sub, |
| 10034 |
utils/ltmain.sh, include/autoconf.h.in, */Makefile.in: regenerated using |
| 10035 |
slightly newer versions of libtoolize, aclocal, automake and autoconf. |
| 10036 |
Raphaël Quinet 2006-08-25 |
| 10037 |
|
| 10038 |
configure.ac: add option to disable unit tests, fix incorrect usage of |
| 10039 |
AC_ARG_ENABLE for dmalloc, fix some typos. |
| 10040 |
Raphaël Quinet 2006-08-25 |
| 10041 |
|
| 10042 |
common/map.c: static buffers are evil. This resulted in name weirdness, and |
| 10043 |
strange results with overlays. |
| 10044 |
Ryo 2006-08-25 |
| 10045 |
|
| 10046 |
server/server.c: fix a weird name change. Basically, function path_combine_and_normalize |
| 10047 |
was called twice while first result was still in use, resulting in weird names. |
| 10048 |
Ryo 2006-08-23 |
| 10049 |
|
| 10050 |
Fix for bug #1528636 (Invisible player disappears from map view). |
| 10051 |
socket/request.c: special case for view's center. |
| 10052 |
Ryo 2006-08-22 |
| 10053 |
|
| 10054 |
Fix/improve login procedure such that if a player is trying to log in with |
| 10055 |
the name & correct password of character already on server, terminate old |
| 10056 |
connection and let them log in. |
| 10057 |
--- |
| 10058 |
server/login.c: Remove name check for players on server in check_name(). |
| 10059 |
Make wrong_password() to handle error message handling for wrong password |
| 10060 |
In check_login(), iterate over players on system to see if there is a |
| 10061 |
match - if mismatched password, print error. If correct password, |
| 10062 |
terminate old connection. Move wrong password logic from check_login() |
| 10063 |
to wrong_password(). |
| 10064 |
MSW 2006-08-21 |
| 10065 |
|
| 10066 |
server/attack.c: Call kill_player() from the kill_object() code. Fixes bug #1539192. |
| 10067 |
Alex Schultz 2006-08-21 |
| 10068 |
|
| 10069 |
server/spell_effect.c: Make counterspell not effect permenant spell effects. |
| 10070 |
Fixes bug #1539220. |
| 10071 |
lib/adm/getfaces.pl, lib/adm/README: Add 'getfaces' script that I had on the tracker and |
| 10072 |
forgot about. |
| 10073 |
Alex Schultz 2006-08-20 |
| 10074 |
|
| 10075 |
Fix timers not working properly and potentially crashing. |
| 10076 |
include/timers.h: use tag instead of pointer to avoid crashes. |
| 10077 |
server/init.c: init timers. |
| 10078 |
server/timers.c: wrong check for EVENT_TIMER. |
| 10079 |
----- |
| 10080 |
Add timers to functions a plugin can call. |
| 10081 |
include/sproto.h: new functions. |
| 10082 |
server/plugins.c: callbacks to timers. |
| 10083 |
----- |
| 10084 |
Add Python wrappers to timer, Object.CreateTimer(delay,mode) and Crossfire.DestroyTimer(id) |
| 10085 |
plugins/cfpython/cfpython.c |
| 10086 |
plugins/cfpython/cfpython_object.c |
| 10087 |
plugins/cfpython/include/cfpython_object_private.h |
| 10088 |
plugins/common/plugin_common.c |
| 10089 |
plugins/common/include/plugin_common.h |
| 10090 |
Ryo 2006-08-20 |
| 10091 |
|
| 10092 |
common/object.c: Scatter objects dropped from a multi-tile object being freed. |
| 10093 |
Fixes bug #1542884 |
| 10094 |
server/c_wiz.c: Make DM 'free' command safe on multi-tile objects. |
| 10095 |
Alex Schultz 2006-08-19 |
| 10096 |
|
| 10097 |
Fix for bug #1540158 (Broken spells - Face of Death) |
| 10098 |
server/attack.c: death attack always kills, no escape from it. |
| 10099 |
----- |
| 10100 |
Fix for bug #1460251 (Big monsters generated by generators broken). The generators |
| 10101 |
didn't correctly create the other monster parts. |
| 10102 |
common/map.c: move stuff out of link_multipart_objects to object.c |
| 10103 |
common/object.c: add fix_multipart_object function, taken from link_multipart_objects |
| 10104 |
include/libproto.h: new function. |
| 10105 |
server/time.c: call new function when adding big monster. |
| 10106 |
----- |
| 10107 |
Fix for bug #1523571 (Diseases work only on "head" part). |
| 10108 |
server/spell_attack.c: the "more" part doesn't always have all the right flags, |
| 10109 |
so get head before testing. |
| 10110 |
----- |
| 10111 |
common/object.c: add "more", "head" and "env" values when dumping an object. |
| 10112 |
server/spell_util.c: DMs can cast denied spells. |
| 10113 |
Ryo 2006-08-19 |
| 10114 |
|
| 10115 |
Recollected archetypes in order to integrate fix for bug #1530006: |
| 10116 |
lib/smooth, lib/faces, lib/bmaps.paths, lib/bmaps, lib/archetypes, |
| 10117 |
lib/animations, lib/crossfire.1, lib/crossfire.0, lib/treasures.bld |
| 10118 |
Raphaël Quinet 2006-08-18 |
| 10119 |
|
| 10120 |
Added a plugin function to get time. Add Python wrapper. |
| 10121 |
include/plugin.h sproto.h |
| 10122 |
plugins/cfpython/cfpython.c |
| 10123 |
plugins/common/include/plugin_common.h |
| 10124 |
plugins/common/plugin_common.c |
| 10125 |
server/plugins.c |
| 10126 |
Ryo 2006-08-15 |
| 10127 |
|
| 10128 |
common/map.c, include/plugin.h, plugins/cfpython/{cfpython.c, include/cfpython_map.h, |
| 10129 |
include/cfpython_map_private.h}, server/plugins.c, server/server.c, |
| 10130 |
server/swap.c: Add EVENT_MAPLOAD and EVENT_MAPUNLOAD, add support to cfpython. |
| 10131 |
Modify EVENT_MAP* to send the map object (in place of the path for |
| 10132 |
MAPRESET). Impliment wrapper invalidation for cfpython map wrapper objects. |
| 10133 |
crossedit/stubs.c, include/funcpoint.h, random_maps/standalone.c, |
| 10134 |
test/unit/common/stubs_common.c: Allow execute_global_event() to be called from |
| 10135 |
common. |
| 10136 |
Alex Schultz 2006-08-12 |
| 10137 |
|
| 10138 |
lib/artifacts: Add artifact descriptions, courtesy of Raphaël Quinet. Applies patch |
| 10139 |
from tracker item #1538983 |
| 10140 |
Alex Schultz 2006-08-12 |
| 10141 |
|
| 10142 |
server/c_object.c: Corrected a mistake in examine that would display the |
| 10143 |
content of a message prefixed by @match to the player. |
| 10144 |
Fix for the bug mentioned in #1539227 |
| 10145 |
server/spell_effect.c, common/map.c, common/map.h: Added a field in the map |
| 10146 |
structure to store the timestamp of the last original map loading, and |
| 10147 |
modified the Town Portal spell so that it now cannot lead to a map that |
| 10148 |
was marked before a reset, after a reset. |
| 10149 |
Fix for bug #1539155 |
| 10150 |
server/apply.c: changed the comparaison code between the weapon's name and the |
| 10151 |
player's, so that a weapon created by "gro" cannot be used by "gros. |
| 10152 |
Fix for bug #1539150 |
| 10153 |
server/c_object.c: modifier command_take so it is less noisy about no_pick items |
| 10154 |
when doing a "get all" request. |
| 10155 |
Fix for bug #1539122 |
| 10156 |
server/c_object.c: modified command_drop so it is less noisy about locked items |
| 10157 |
when doing a "drop all" request. |
| 10158 |
Fix for bug #1539121 |
| 10159 |
server/pets.c: added filling of inventory for monsters magically created that |
| 10160 |
didn't come from a player caster, and aren't golems. |
| 10161 |
Fix for bug #1529980 |
| 10162 |
server/spell_effect.c: fixed incorrect behavior of the create missile spell, |
| 10163 |
that couldn't find a proper archetype when a bow or a crossbow was wielded. |
| 10164 |
Fix for bug #1532403 |
| 10165 |
Yann Chachkoff 2006-08-12 |
| 10166 |
|
| 10167 |
server/apply.c: keep converters from accepting unpaid items |
| 10168 |
Lalo 2006-08-12 |
| 10169 |
|
| 10170 |
lib/addexp: update help text. |
| 10171 |
server/c_wiz.c: update addexp's help text. |
| 10172 |
Ryo 2006-08-11 |
| 10173 |
|
| 10174 |
server/c_wiz.c: fix create command with some artifact fun. Update player inventory if removing |
| 10175 |
an item. |
| 10176 |
Ryo 2006-08-10 |
| 10177 |
|
| 10178 |
server/apply.c: Tell the client the map has scrolled when applying transports. Fixes bug #1528565. |
| 10179 |
Alex Schultz 2006-08-10 |
| 10180 |
|
| 10181 |
lib/regions, common/region.c: Move regions file to map files. |
| 10182 |
server/player.c: Set default listen level to 10. |
| 10183 |
Alex Schultz 2006-08-09 |
| 10184 |
|
| 10185 |
common/loader.l, include/object.h, include/plugin.h, server/plugins.c: Add no_save attribute. |
| 10186 |
Prevents object from being saved to disk. Add plugin support for the attribute. |
| 10187 |
plugins/cfpython/{cfpython.c, cfpython_object.c include/cfpython_object.h, |
| 10188 |
include/cfpython_object_private.h}: Add cfpython support for no_save, and have cfpython |
| 10189 |
"invalidate" object wrappers when the object is destroyed. Add "Exists" property to python |
| 10190 |
object wrappers. |
| 10191 |
Alex Schultz 2006-08-08 |
| 10192 |
|
| 10193 |
Feature request #1465397 (improved feedback in character creation for existing names). |
| 10194 |
Made message more explicit. |
| 10195 |
server/login.c |
| 10196 |
Ryo 2006-08-08 |
| 10197 |
|
| 10198 |
Implement feature request #821645 (change password command). This introduces 3 new |
| 10199 |
player states, "entering current password", "new password", "confirm new password". |
| 10200 |
include/define.h: new states. |
| 10201 |
include/player.h: add new_password field. |
| 10202 |
include/sproto.h: new command prototype. |
| 10203 |
server/c_misc.c: new command. |
| 10204 |
server/commands.c: bind command. |
| 10205 |
socket/request.c: handle new states. |
| 10206 |
Ryo 2006-08-08 |
| 10207 |
|
| 10208 |
Implement feature request #1528641 (consecrate should change face of altar). This simply |
| 10209 |
removes the altar, and add the god's altar. Note that the name of the altar should be |
| 10210 |
altar_<god's name>, which seems to be the case everywhere. |
| 10211 |
server/spell_effect.c |
| 10212 |
Ryo 2006-08-07 |
| 10213 |
|
| 10214 |
Tell player whether she's the transport's captain or not. |
| 10215 |
server/apply.c |
| 10216 |
Ryo 2006-08-07 |
| 10217 |
|
| 10218 |
Commit patch #1389033 (Large-value coins) courtesy Lalo Martins |
| 10219 |
server/shop.c: accept jade & amber coins, never give'em back. |
| 10220 |
Ryo 2006-08-07 |
| 10221 |
|
| 10222 |
Fix bug #1534727 (create_home_portals TRUE doesn't work) |
| 10223 |
server/init.c: wrong variable changed. |
| 10224 |
Ryo 2006-08-05 |
| 10225 |
|
| 10226 |
Committed patch #1389432 (Per-race HallOfSelection) courtesy Lalo Martins. |
| 10227 |
Modified files: |
| 10228 |
include/global.h |
| 10229 |
common/init.c |
| 10230 |
server/server.c player.c |
| 10231 |
Rebuilt archetypes and treasures. |
| 10232 |
Ryo 2006-08-05 |
| 10233 |
|
| 10234 |
plugins/cfpython/cfpython.c, plugins/cfpython/cfpython_object.c, |
| 10235 |
plugins/cfpython/include/cfpython_object_private.h: Modify |
| 10236 |
Crossfire_Object_wrap() to use the hash tables provided by hashtable.c |
| 10237 |
to avoid creating more python wrapper objects than is needed. |
| 10238 |
Alex Schultz 2006-07-29 |
| 10239 |
|
| 10240 |
common/object.c: fix bug #1526364 (stacking Royal Guards). Use find_free_spot |
| 10241 |
to place dropped items if living. Also fix indent of function free_object2. |
| 10242 |
server/c_object.c: fix bug #1529969 (shop floor not working in random maps). |
| 10243 |
Ryo 2006-07-29 |
| 10244 |
|
| 10245 |
server/c_wiz.c: fix addexp not working on skills. |
| 10246 |
server/time.c: don't crash if duplicator doesn't have other_arch set. |
| 10247 |
Ryo 2006-07-28 |
| 10248 |
|
| 10249 |
plugins/common/hashtable.c, plugins/common/include/hashtable.h, |
| 10250 |
plugins/common/Makefile.am, plugins/common/include/Makefile.am, |
| 10251 |
plugins/cfpython/Makefile.am: Add hashtable.c, to add ptr-to-ptr hash tables |
| 10252 |
for plugins to use. (Useful to use a cf object as a key for the table) |
| 10253 |
plugins/cfpython/include/cfpython.h: Include compile.h which Python.h doesn't |
| 10254 |
include on it's own in versions of python older than 2.4. |
| 10255 |
include/plugin.h, common/object.c: Add EVENT_DESTROY, a local event triggered when |
| 10256 |
an object is freed. |
| 10257 |
include/funcpoint.h, crossedit/stubs.c, random_maps/standalone.c, |
| 10258 |
test/unit/common/stubs_common.c: Allow execute_event to be called from common |
| 10259 |
and add appropriate stubs. |
| 10260 |
Alex Schultz 2006-07-28 |
| 10261 |
|
| 10262 |
common/item.c: In describe_item() correct capacity description of large |
| 10263 |
(>1000 maxsp) Glowing Crystals. |
| 10264 |
Andreas Kirschbaum 2006-07-28 |
| 10265 |
|
| 10266 |
plugins/cfpython/cfpython.c: Added compilePython() function to split the compiling |
| 10267 |
of python bytecode from the execution of it. Add support for caching the |
| 10268 |
bytecode for a fixed number of scripts (default of 16) to increase speed. |
| 10269 |
Alex Schultz 2006-07-27 |
| 10270 |
|
| 10271 |
server/c_wiz.c: prevent a DM to reset a random map if (s)he is on that map. |
| 10272 |
Workaround for bug #1528173. |
| 10273 |
Yann Chachkoff 2006-07-26 |
| 10274 |
|
| 10275 |
server/c_wiz.c: call update_ob_speed if removed object is animated. |
| 10276 |
server/spell_attack.c: stop generating swarm/bullet if player moved. This |
| 10277 |
fixes bug #1528194. |
| 10278 |
server/spell_util.c: don't report blocking if caster is not player. It then |
| 10279 |
is a swarm spell or equivalent, so position is random, no need to warn. |
| 10280 |
Ryo 2006-07-25 |
| 10281 |
|
| 10282 |
server/server.c: Select op->facing instead of op->direction in process_events |
| 10283 |
for players and monsters as the direction reference for the face to display. |
| 10284 |
Fix for bug #1528182. (*few* ! that's a lot of bugs ! :)) |
| 10285 |
server/spell_util.c: Make the search for a friendly target for some spells also |
| 10286 |
browse transports located in the square from which the spell was cast. |
| 10287 |
This is a fix for bug #1528018 |
| 10288 |
server/c_wiz.c: Prevents the use of reset on self-map while in a transport. |
| 10289 |
Work-around for bug #1528172. |
| 10290 |
server/skill_util.c: Make dragons prefer clawing over anything else as unarmed |
| 10291 |
combat technique. Fix for bug #1528197 |
| 10292 |
Yann Chachkoff 2006-07-25 |
| 10293 |
|
| 10294 |
common/treasure.c: Added explicit item_power calculation for generated items that |
| 10295 |
got an item_power of 0 - should solve bug #1460354. |
| 10296 |
Yann Chachkoff 2006-07-21 |
| 10297 |
|
| 10298 |
scommon/map.c: Add check to block_linked() to make sure things never block themself. |
| 10299 |
server/spell_attack.c: Target the head of monsters diseases are cast at. |
| 10300 |
Alex Schultz 2006-07-18 |
| 10301 |
|
| 10302 |
Fix player count reporting to the metaserver. It now excludes connections with |
| 10303 |
not-yet-logged-in players and AFK/WIZ/BOT players. |
| 10304 |
--- |
| 10305 |
socket/metaserver.c: In metaserver_update() use the same conditions as for the |
| 10306 |
who command. |
| 10307 |
Andreas Kirschbaum 2006-07-16 |
| 10308 |
|
| 10309 |
server/spell_effect.c, include/global.h, common/init.c, server/init.c: Add |
| 10310 |
setting "create_home_portals" which allows server admins to allow town |
| 10311 |
portals to be created in apartments. Based on a patch by pippijn in the |
| 10312 |
cf-ext project. |
| 10313 |
lib/settings: Set default create_home_portals to FALSE |
| 10314 |
Alex Schultz 2006-07-12 |
| 10315 |
|
| 10316 |
lib/regions: Fix typo in region "portjoseph". Bug #1518392 (Port Joseph |
| 10317 |
region spelling inconsistent with map directory) by Kevin R. Bulgrien. |
| 10318 |
Andreas Kirschbaum 2006-07-07 |
| 10319 |
|
| 10320 |
acinclude.m4, configure: Fix last fix which discarded any passed in |
| 10321 |
CFLAGS or if that is set in the environment. |
| 10322 |
MSW 2006-07-05 |
| 10323 |
|
| 10324 |
common/button.c: Fix for sourceforge bug common/button.c - harpsicord crashes |
| 10325 |
client. The problem is that the trigger code presumed that the object |
| 10326 |
would be animated, and blindly set teh face to the second animation frame. |
| 10327 |
harpsicords are not animated, so this could amount to garbage. So add |
| 10328 |
check for trigger objects to see if they are in fact animated before |
| 10329 |
blindly setting the face. |
| 10330 |
MSW 2006-07-05 |
| 10331 |
|
| 10332 |
server/daemon.c: Patch by wart, tracker 1489902 - open a file like /dev/null |
| 10333 |
to then dup - this fixes -detach crash problem. Might be better to use |
| 10334 |
some other file, but in theory, shouldn't be much going here, and I |
| 10335 |
don't think we can safely use a file that is already opened by the |
| 10336 |
server. |
| 10337 |
MSW 2006-07-05 |
| 10338 |
|
| 10339 |
common/region.c: wrong order for memset call. |
| 10340 |
Ryo 2006-07-04 |
| 10341 |
|
| 10342 |
common/object.c: revert my previous fix, it's actually a feature :) |
| 10343 |
Ryo 2006-06-27 |
| 10344 |
|
| 10345 |
------------------------------------------------------------------------------ |
| 10346 |
Changes for 1.9.1: |
| 10347 |
|
| 10348 |
acinclude.m4, aclocal.m4, configure, configure.ac: Fix crossedit header |
| 10349 |
detection - even when passed --with-x to configure and having all the files, |
| 10350 |
it wouldn't find the headers because it didn't pass in the correct -I |
| 10351 |
options for where they sit. Also, update for 1.9.1 release. |
| 10352 |
MSW 2006-06-29 |
| 10353 |
|
| 10354 |
server/rune.c: Undo last patch - breaks summoning runes. |
| 10355 |
server/skills.c: Change disarm logic - after first failure, don't continue |
| 10356 |
to disarm traps (makes sense anyways - can really only disarm one thing |
| 10357 |
at a time) - this fixes the problem that last change to rune.c tried |
| 10358 |
to fix. |
| 10359 |
MSW 2006-06-27 |
| 10360 |
|
| 10361 |
server/rune.c: Patch from schmorp - when dealing with traps, don't put them |
| 10362 |
underneath the player when a disarm failure happens, instead, update the |
| 10363 |
direction to hit the player - prevents a recursion problems causing |
| 10364 |
hundreds of objects. |
| 10365 |
MSW 2006-06-25 |
| 10366 |
|
| 10367 |
common/object.c: don't consider FLAG_INV_LOCKED for can_merge. |
| 10368 |
Ryo 2006-06-24 |
| 10369 |
|
| 10370 |
common/object.c: in insert_ob_in_map() don't stop processing flying objects |
| 10371 |
if the object also has floor set. This fixes crashes when an object |
| 10372 |
is both flying and has floor set. |
| 10373 |
MSW 2006-06-06 |
| 10374 |
|
| 10375 |
Add commands rules and news to display the rules/news files. |
| 10376 |
--- |
| 10377 |
include/sproto.h: Add prototypes for new commands. |
| 10378 |
lib/help/{motd,news,rules}: Add help files. |
| 10379 |
lib/Makefile.am: Add new help files. |
| 10380 |
lib/Makefile.in: Rebuilt. |
| 10381 |
server/c_misc: Add functions to implement the commands. |
| 10382 |
server/commands: Add new commands to commands list. |
| 10383 |
Andreas Kirschbaum 2006-06-06 |
| 10384 |
|
| 10385 |
Fix problem with create food when used on transports. Rather than put a |
| 10386 |
specific check in the create food code, modify insert_ob_in_map to |
| 10387 |
check to see of the passed in originator is on a transport, and if so, |
| 10388 |
find out the right info - this probably fixes the same type of bug that |
| 10389 |
happens from other areas of the code. |
| 10390 |
common/object.c: Above change, as well as #if 0 out some unused functions. |
| 10391 |
MSW 2006-06-04 |
| 10392 |
|
| 10393 |
Clean up some compiler warnings. Most of the changes are related to replaced |
| 10394 |
%lld with FMT64 defines so that the format will be correct, no matter if |
| 10395 |
the 64 bit type is a long, long long, or if this is windows. #if 0 out a |
| 10396 |
bunch of code that isn't used. |
| 10397 |
-- |
| 10398 |
common/exp.c: Replaced lld with FMT64 |
| 10399 |
common/holy.c: #if 0 out baptize_altar(). Add banner copyright at top of file. |
| 10400 |
common/info.c, common/item.c, common/loader.l, common/loader.c, common/map.c: |
| 10401 |
common/porting.c Replaced lld with FMT64 |
| 10402 |
common/time.c: Replace a bunch of variables declared as longs to be uint32. |
| 10403 |
Update various sprintf appropriately. |
| 10404 |
include/global.h: Add FMT64 and FMT64U as appropriate for different systems. |
| 10405 |
Change max_time to be a uint32 |
| 10406 |
include/sockproto.h, include/sproto.h: rebuilt |
| 10407 |
server/apply.c: #if 0 out monster_apply_special |
| 10408 |
server/c_range.c: Add != 0 in assignment if statement - same meaning, clearer |
| 10409 |
on intention and avoids compiler warning. |
| 10410 |
server/c_wiz.c: Update command_kick() to take const char. Update command_speed() |
| 10411 |
to operate properly based on max_time being a uint32. Update various lld |
| 10412 |
to FMT64. Clarify ambiguous if/if/else statement in command_insert_into() |
| 10413 |
server/commands.c: Add cast to command_kick for new function prototype. #if |
| 10414 |
0 out find_command(), parse_string(), parse_command() |
| 10415 |
server/disease.c: #if 0 out find_disease(), reduce_symptoms() |
| 10416 |
server/egoitem.c: #if 0 out create_artifact(). Add copyright at top of file. |
| 10417 |
server/gods.c: #if 0 out get_god() |
| 10418 |
server/hiscore.c: Replace lld with FMT64 |
| 10419 |
server/login.c: #if 0 out create_savedir_if_needed() |
| 10420 |
server/resurrection.c: Replace lld with FMT64. #if 0 out dead_character() and |
| 10421 |
dead_player_exists() |
| 10422 |
server/server.c: Remove info_keys() - hasn't been used in a long time. #if 0 |
| 10423 |
out process_active_maps() |
| 10424 |
server/skill_util.c: Replace lld with FMT64 |
| 10425 |
server/spell_util.c: #if 0 out check_spell_effect() |
| 10426 |
server/weather.c: #if 0 out feather_map(). Fix what I suspect is an error |
| 10427 |
in worldmap_to_weathermap() to skip over starting slashes. |
| 10428 |
socket/image.c: Add a fair number of char * casts to suppress warnings. |
| 10429 |
socket/init.c: Change buflen in init_connection() to socklen_t to match |
| 10430 |
function prototype. Add some char * casts. |
| 10431 |
socket/loop.c: Add some char * casts. |
| 10432 |
-- |
| 10433 |
MSW 2006-06-04 |
| 10434 |
|
| 10435 |
Add a name 'dungeon_name' for random maps, and put it in the random key's name. |
| 10436 |
This implements feature request #815622 (keys in random maps should note map they are from) |
| 10437 |
https://sourceforge.net/tracker/index.php?func=detail&aid=815622&group_id=13833&atid=363833 |
| 10438 |
|
| 10439 |
random_maps/random_map.c: fix a memory leak. Add random name. |
| 10440 |
random_maps/reader.[cl]: read 'dungeon_name'. Use strncpy instead of strcpy. |
| 10441 |
random_maps/random_map.h: add new field, use a #define instead of hardcoded constant. |
| 10442 |
|
| 10443 |
Do not merge renamed items with differing custom names. |
| 10444 |
--- |
| 10445 |
common/object.c: In can_merge() check for differing custom_name field. |
| 10446 |
server/c_object.c: In command_rename_item() try to merge the affected item. |
| 10447 |
Andreas Kirschbaum 2006-06-02 |
| 10448 |
|
| 10449 |
Do not merge locked and unlocked items. |
| 10450 |
--- |
| 10451 |
common/object.c: In can_merge() do not ignore FLAG_INV_LOCKED anymore. |
| 10452 |
socket/item.c: In lock_item_cmd() try to merge the affected item. |
| 10453 |
Andreas Kirschbaum 2006-06-01 |
| 10454 |
|
| 10455 |
lib/artifacts: Fix typo to not anymore generate "boots of of steel". |
| 10456 |
lib/artifacts: Fix typo to make bows of Sorig work. |
| 10457 |
lib/archetypes, lib/treasures.bld: Rebuilt. |
| 10458 |
Andreas Kirschbaum 2006-06-01 |
| 10459 |
|
| 10460 |
Various bug fixes, related to the new map display code. |
| 10461 |
common/loader.c, common/loader.l: Add map_layer attribute so object can |
| 10462 |
override what layer it should go on (fix for levitation boots). |
| 10463 |
common/map.c: Add support for map_layer to override layering. Fix bug |
| 10464 |
where if there were more objects than would fit on a layer, not all |
| 10465 |
would be drawn (same object was duplicated onto multiple layers). |
| 10466 |
common/object.c: Add check for ob->map_layer in can_merge() |
| 10467 |
include/map.h: Add extern declaration for map_layer_name[] |
| 10468 |
include/object.h: Add map_layer to object. |
| 10469 |
socket/request.c: In map1 compatibility mode, make sure we always |
| 10470 |
send the player. |
| 10471 |
MSW 2006-05-29 |
| 10472 |
|
| 10473 |
server/monster.c: Only call animate_object() if object is animated - |
| 10474 |
otherwise, animate_object() spews bunch of error about being called |
| 10475 |
with non animated object. |
| 10476 |
MSW 2006-05-29 |
| 10477 |
|
| 10478 |
|
| 10479 |
Monsters now cannot anymore see through earthwalls/monsters. This restores the |
| 10480 |
behavior to what it was before the new movement code. For players this |
| 10481 |
basically means that monsters will not anymore cast spells though earthwalls or |
| 10482 |
other monsters. |
| 10483 |
--- |
| 10484 |
server/player.c: In path_to_player() consider tiles with P_IS_ALIVE set as |
| 10485 |
blocking. |
| 10486 |
Andreas Kirschbaum 2006-05-27 |
| 10487 |
|
| 10488 |
Make attacking with melee in 'fire command work again. Now attacking with |
| 10489 |
<shift>+<direction> works again. |
| 10490 |
--- |
| 10491 |
server/skill_util.c: In skill_attack() also attack if the destination tile has |
| 10492 |
P_IS_ALIVE set. |
| 10493 |
Andreas Kirschbaum 2006-05-27 |
| 10494 |
|
| 10495 |
Make swarm spells work again. These spells did not work anymore on tiles which |
| 10496 |
had a move_block type set (for example cobblestones). |
| 10497 |
--- |
| 10498 |
server/spell_attack.c: In move_swarm_spell() remove check for blocked |
| 10499 |
movement. This check was incorrect since it did check the SPELL object |
| 10500 |
instead of the SPELL_EFFECT object. Also, this check is not necessary since |
| 10501 |
it is also present in the called functions fire_xxx(). |
| 10502 |
Andreas Kirschbaum 2006-05-25 |
| 10503 |
|
| 10504 |
Fix monster not changing direction when attacking adjacent object. |
| 10505 |
server/monster.c: update facing/direction according to enemy. |
| 10506 |
Ryo 2006-05-25 |
| 10507 |
|
| 10508 |
common/item.c: Skip some processing if NEW_MATERIAL_CODE is undefined. |
| 10509 |
common/holy.c, include/libproto.h: Declare some functions as "static". |
| 10510 |
Andreas Kirschbaum 2006-05-21 |
| 10511 |
|
| 10512 |
Make socket handling more robust. |
| 10513 |
--- |
| 10514 |
include/newclient.h: Split MAXSOCKBUF into MAXSOCKRECVBUF and MAXSOCKSENDBUF. |
| 10515 |
Increase the receive buffer size to be able to handle all valid packets; |
| 10516 |
decrease send buffer size to 10239 to not overflow the receive buffer of old |
| 10517 |
clients. |
| 10518 |
socket/{image.c,info.c,init.c,item.c,loop.c,lowlevel.c,request.c,sounds.c}: Use |
| 10519 |
renamed constants. |
| 10520 |
socket/image.c: In send_image_sums() prevent buffer overflows. Reject the |
| 10521 |
command instead. |
| 10522 |
socket/request.c: In send_skill_info() and send_spell_paths() prevent buffer |
| 10523 |
overflows. Instead send only as much information as fits into the buffer. |
| 10524 |
socket/loop.c: In handle_client() prevent possible array out-of-bounds access. |
| 10525 |
Andreas Kirschbaum 2006-05-21 |
| 10526 |
|
| 10527 |
Added a 'cf_log' function for plugins. Replace printf in plugins with correct call. |
| 10528 |
--- |
| 10529 |
include/plugin.h: include required header for log level definitions. |
| 10530 |
include/sproto.h: new function. |
| 10531 |
plugins/cfanim/cfanim.c: replace printf with calls to cf_log. |
| 10532 |
plugins/cfpython/cfpython.c: replace printf with calls to cf_log. |
| 10533 |
plugins/cfpython/cfpython_map.c: replace printf with calls to cf_log. |
| 10534 |
plugins/common/plugin_common.c: new cf_log function. |
| 10535 |
plugins/common/include/plugin_common.h: new cf_log function. |
| 10536 |
server/plugins.c: new hook. |
| 10537 |
Ryo 2006-05-20 |
| 10538 |
|
| 10539 |
This adds a "bot" flag for players. Such players won't be counted when |
| 10540 |
sending information to metaserver. To enable it, just send "bot 1" |
| 10541 |
through the "setup" command. |
| 10542 |
--- |
| 10543 |
include/newserver.h: add new is_bot flag. |
| 10544 |
lib/settings: add %b to default formats. |
| 10545 |
server/c_misc.c: add %b to who options, for [BOT] flag. |
| 10546 |
socket/init.c: init is_bot. |
| 10547 |
socket/metaserver.c: don't count bots. |
| 10548 |
socket/request.c: new "bot" setup command. |
| 10549 |
Ryo 2006-05-20 |
| 10550 |
|
| 10551 |
This commit adds support for the map2 protocol command (10 layer map). |
| 10552 |
This changes how the data is stored and sent to the client. This also |
| 10553 |
implements the idea of client handling map animations, so adds some object |
| 10554 |
flags so that the server knows if it should let the client handle animations |
| 10555 |
or not. Support for the original map protocol command is removed. |
| 10556 |
--- |
| 10557 |
aclocal.m4: rebuilt |
| 10558 |
configure.ac: Add checks for zlib.h, libz - not used right now, but will |
| 10559 |
probably be used in the future, so no reason to remove it. |
| 10560 |
common/loader.l: Add client_anim_sync, client_anim_random FLAGS. |
| 10561 |
common/map.c: Add add_face_layer() to set face for a layer. Redo/simplify |
| 10562 |
update_position to store faces away based on layering criteria. |
| 10563 |
common/time.c: Replace long pticks with a uint32, since size of a long will |
| 10564 |
vary, and we now send pticks to the client as a 32 bit value. |
| 10565 |
crossedit/CrEdit.c: Update the draw logic based on the fact there are more |
| 10566 |
layers now. |
| 10567 |
crossedit/Edit.c: Comment out some code that probably should be fixed. |
| 10568 |
Replace calls of SET_MAP_FACE with SET_MAP_FACE_OBJ |
| 10569 |
doc/Developers/protocol: Updated with map2, tick protocol additions. |
| 10570 |
Reorganize the parameters in the setup protocol command so they are now |
| 10571 |
listed in alphabetical order. |
| 10572 |
include/autoconf.h.in: Add HAVE_ZLIB_H define. |
| 10573 |
include/define.h: Update for the FLAG_CLIENT_ANIM values. |
| 10574 |
include/face.h: Remove MapLook structure - no longer used. |
| 10575 |
include/global.h: change extern type for pticks from long to uint32 |
| 10576 |
include/map.h: Change MAP_LAYERS to 10. Add definitions for what each |
| 10577 |
map layer is. Remove GET/SET_MAP_FACE macro - no longer used, |
| 10578 |
GET/SET_MAP_FACE_OBJ replaces it. Add GET_MAP_FACE_OBJS which |
| 10579 |
returns pointer to all the object info for the space. Remove |
| 10580 |
faces from MapSpace structure. |
| 10581 |
include/newclient.h: Update with new defines used for map2 protocol |
| 10582 |
command. |
| 10583 |
include/newserver.h: Change type of faces in map_cell_struct to be |
| 10584 |
uint16 to be consistent. Change 'count' to 'darkness' to more |
| 10585 |
accurately describe what it represents. Add MAP2_COORD_OFFSET |
| 10586 |
define. Add Map2Cmd to MapMode enum. Add map_scroll_x/y |
| 10587 |
to socket structure so we send those as part of map2 command. |
| 10588 |
Add tick field to socket structure to know if we should send |
| 10589 |
tick data to the client. |
| 10590 |
server/login.c: Remove extern long pticks declaration - declared |
| 10591 |
in global.h - don't need to declare it again locally. |
| 10592 |
socket/info.c: Rewrite magic map code to use GET_MAP_FACE_OBJ |
| 10593 |
instead of GET_MAP_FACE macros. |
| 10594 |
socket/init.c: Initialize new fields in socket structure to 0. |
| 10595 |
socket/loop.c: If client wants tick data sent, send one each tick. |
| 10596 |
socket/request.c: Add setup responses for tick, map2 requests. Remove some |
| 10597 |
extra code in Map1a setup. Send error message to client if not using |
| 10598 |
at least Map1 protocol level. Modify map_newmap_cmd() to clear |
| 10599 |
scroll information when using Map2. Remove original (map0) protocol |
| 10600 |
logic. Update map_clearcell() to clear all 10 layers. Replace |
| 10601 |
MAX_LAYERS with MAP_LAYERS. Add add_head() to remove some of the |
| 10602 |
complication from update_space(). Add code in draw_client_map1() |
| 10603 |
to find which 3 layers to send to the client from the 10 we now have. |
| 10604 |
Add map2_add_ob(), map2_delete_layer(), check_space_for_heads(), |
| 10605 |
draw_client_map2() to handle map2 protocol. Add send_tick() - |
| 10606 |
sends tick to client, but also forces flush of data to reduce lag. |
| 10607 |
utils/config.guess.utils/config.sub,utils/ltmain.sh: rebuilt |
| 10608 |
MSW 2006-05-15 |
| 10609 |
|
| 10610 |
Fix server crash when sending addspell command(s). |
| 10611 |
--- |
| 10612 |
socket/lowlevel.c: Do not abort if output buffer is completely filled. (Was |
| 10613 |
off-by-one, so if addspell did fill the complete buffer, the server did |
| 10614 |
detect an buffer-overflow error.) |
| 10615 |
socket/request.c: Update comments. |
| 10616 |
Andreas Kirschbaum 2006-05-13 |
| 10617 |
|
| 10618 |
server/spell_effect.c: Disallow town portal while in transports (caused |
| 10619 |
map corruption, crashes and other nasty things) |
| 10620 |
Alex Schultz 2006-05-12 |
| 10621 |
|
| 10622 |
Fix for bug #1473941 (damnation bug) |
| 10623 |
server/apply.c: wrong parenthesis for cursed/damned logic |
| 10624 |
Ryo 2006-05-05 |
| 10625 |
|
| 10626 |
Applied patch #1453869 (code-cleanup) courtesy Stefan Huehner (shuehner). |
| 10627 |
Modified files for first patch: |
| 10628 |
include/funcpoint.h sproto.h |
| 10629 |
server/alchemy.c apply.c attack.c commands.c disease.c egoitem.c gods.c init.c login.c |
| 10630 |
main.c monster.c move.c pets.c player.c resurrection.c rune.c skill_util.c skills.c |
| 10631 |
spell_attack.c spell_effect.c spell_util.c swap.c time.c timers.c |
| 10632 |
|
| 10633 |
Modified files for second patch: |
| 10634 |
crossedit/stubs.c |
| 10635 |
include/sockproto.h |
| 10636 |
random_maps/standalone.c |
| 10637 |
socket/info.c item.c request.c sounds.c |
| 10638 |
test/unit/common/stubs_common.c |
| 10639 |
test/unit/random_maps/stubs_random.c |
| 10640 |
|
| 10641 |
Modified files for third and last patch: |
| 10642 |
common/item.c |
| 10643 |
include/libproto.h sproto.h |
| 10644 |
server/c_chat.c c_object.c c_wiz.c daemon.c hiscore.c main.c shop.c |
| 10645 |
|
| 10646 |
Ryo 2006-05-05 |
| 10647 |
|
| 10648 |
Commit patch #1456016 courtesy schmorp.de development team. |
| 10649 |
server/pets.c |
| 10650 |
Add Map.Insert(object,x,y) and Player.CanPay( ) to Python plugin. |
| 10651 |
include/sproto.h |
| 10652 |
plugins/cfpython/include/cfpython_object_private.h |
| 10653 |
plugins/cfpython/include/cfpython_map_private.h |
| 10654 |
plugins/cfpython/cfpython_object.c |
| 10655 |
plugins/cfpython/cfpython_map.c |
| 10656 |
plugins/common/include/plugin_common.h |
| 10657 |
plugins/common/plugin_common.c |
| 10658 |
server/plugins.c |
| 10659 |
Ryo 2006-05-05 |
| 10660 |
|
| 10661 |
include/config.h: Increase Archtable to 8192, the new hashing algorithm |
| 10662 |
works better with a table size that is a power of 2, and the current value |
| 10663 |
is very close to being exceeded anyway. Suggested by Crossfire+ Development |
| 10664 |
Team http://cf.schmorp.de |
| 10665 |
Brendan Lally 2006-04-06 |
| 10666 |
|
| 10667 |
server/swamp.c: Use the object name for swamp messages. Allows custom swamp |
| 10668 |
names to work better |
| 10669 |
Alex Schultz 2006-04-04 |
| 10670 |
|
| 10671 |
Fix exploit with alchemy spell. This effectively removes the improvement |
| 10672 |
implemented at 2006-03-07. |
| 10673 |
--- |
| 10674 |
server/spell_effect.c: Use query_cost() to determine value of nuggets. |
| 10675 |
Andreas Kirschbaum 2006-03-22 |
| 10676 |
|
| 10677 |
Apply patch by Stefan Huehner: add const where appropriate. |
| 10678 |
--- |
| 10679 |
Affected files: include/sockproto.h, socket/{loop.c,lowlevel.c} |
| 10680 |
Andreas Kirschbaum 2006-03-19 |
| 10681 |
|
| 10682 |
Use const when possible. Patch courtesy Stefan Huehner. |
| 10683 |
common/item.c map.c porting.c readable.c shstr.c utils.c |
| 10684 |
crossedit/Attr.c CrEdit.c |
| 10685 |
include/global.h libproto.h |
| 10686 |
random_maps/rproto.h treasure.c |
| 10687 |
server/c_new.c commands.c |
| 10688 |
Ryo 2006-03-18 |
| 10689 |
|
| 10690 |
Removed unused header file version.h. |
| 10691 |
include/version.h: removed. |
| 10692 |
include/win32.h: don't include that file. |
| 10693 |
Ryo 2006-03-18 |
| 10694 |
|
| 10695 |
Add 'add_key' parameter to object.set_key for plugins. |
| 10696 |
plugins/common/include/plugin_common.h |
| 10697 |
plugins/common/plugin_common.c |
| 10698 |
plugins/cfpython/cfpython_object.c |
| 10699 |
server/plugins.c |
| 10700 |
Ryo 2006-03-18 |
| 10701 |
|
| 10702 |
Massive code cleanup. Changed FunctionsInCamelCase to conform to conventions. |
| 10703 |
Changed comments to doxygen syntax. Made function/variable/structure names more |
| 10704 |
coherent. |
| 10705 |
There shouldn't be any functional change. |
| 10706 |
Modified files: |
| 10707 |
common/anim.c image.c loader.[cl] object.c |
| 10708 |
crossedit/xutil.c |
| 10709 |
include/commands.h global.h libproto.h newserver.h object.h player.h sockproto.h /sproto.h |
| 10710 |
plugins/cfpython/cfpython.c |
| 10711 |
server/apply.c attack.c c_misc.c commands.c init.c main.c move.c player.c plugins.c spell_effect.c time.c |
| 10712 |
socket/image.c info.c init.c item.c loop.c request.c |
| 10713 |
|
| 10714 |
Ryo 2006-03-18 |
| 10715 |
|
| 10716 |
Apply patch #1450408 (Improved hash table) by cf.schmorp.de development team. |
| 10717 |
The new hash function seems to produce fewer collisions than the previous |
| 10718 |
function. This especially holds for strings that share a common prefix: the |
| 10719 |
old function did use only a small fraction of the available slots; the new |
| 10720 |
function uses all slots with a fairly equal distribution. |
| 10721 |
--- |
| 10722 |
common/arch.c: Replace algorithmn implemented in hasharch(). |
| 10723 |
Andreas Kirschbaum 2006-03-16 |
| 10724 |
|
| 10725 |
Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove |
| 10726 |
unused code, add static/const where appropriate. |
| 10727 |
--- |
| 10728 |
Affected files: |
| 10729 |
crossedit/{App.c,App.h,Attr.c,CrEdit.c,CrFace.c,CrList.c,CrUtil.c,Defines.h}, |
| 10730 |
crossedit/{Edit.c,Str.h,crossedit.c,png.c,proto.h,xutil.c,Cnv/Cnv.h}, |
| 10731 |
crossedit/include/{Makefile.am,Makefile.in,util.h} |
| 10732 |
Andreas Kirschbaum 2006-03-16 |
| 10733 |
|
| 10734 |
common/utils.c: apply patch #1445892 (transmute_materialname crash) courtesy |
| 10735 |
the cf.schmorp.de development team. |
| 10736 |
include/spellist.h: disable big unused arrays, legacy of spell code. |
| 10737 |
server/c_object.c: merge find_best_apply_object_match and find_best_object_match |
| 10738 |
which are really the same. |
| 10739 |
server/init.c: fix memory leak. |
| 10740 |
server/monster.c: fix a monster/scroll related crash, based on patch #1447242 by |
| 10741 |
the cf.schmorp.de development team. |
| 10742 |
server/player.c: fix monitor_spells not initalized (before InitConnection()). |
| 10743 |
server/skills.c: fix merging bug with inscription. |
| 10744 |
socket/init.c: fix monitor_spells not being initialized. |
| 10745 |
Ryo 2006-03-14 |
| 10746 |
|
| 10747 |
Fix bug/exploit in setup command. We were strcat'ing back data provided |
| 10748 |
by the client. |
| 10749 |
--- |
| 10750 |
socket/request.c: Modify SetUp() to use safe_strcat() - eliminates buffer |
| 10751 |
overflow issues. Add some char* casts to spell/skill requestinfo |
| 10752 |
to eliminate compiler warnings. Add IP address to log for incoming |
| 10753 |
connections. |
| 10754 |
MSW 2006-03-13 |
| 10755 |
|
| 10756 |
Fix possible exploit with shadow alchemy. Also improve the alchemy spell to |
| 10757 |
yield more nuggets. |
| 10758 |
--- |
| 10759 |
server/shop.c: In query_cost() apply the hack (to multiply non-GEM/non-MONEY |
| 10760 |
values by four) also if no player object is present. |
| 10761 |
Andreas Kirschbaum 2006-03-07 |
| 10762 |
|
| 10763 |
Add settings permanent_experience_percentage, death_penalty_percentage and |
| 10764 |
death_penalty_levels to the settings file. |
| 10765 |
--- |
| 10766 |
common/living.c: don't hardcode exp calculations |
| 10767 |
common/init.c, include/config.h, lib/settings: set defaults for new values |
| 10768 |
doc/settings: document new values |
| 10769 |
include/global.h: change settings struct to hold the new values |
| 10770 |
server/init.c: parse new values in the settings file. |
| 10771 |
server/skill_util.c: reference new value |
| 10772 |
Brendan Lally 2006-03-07 |
| 10773 |
|
| 10774 |
Apply modified parts of patch #1439490 (Fix in random map generation) by CF |
| 10775 |
Development Team Schmorp.de <[email protected]>. |
| 10776 |
--- |
| 10777 |
random_maps/exit.c: In place_exits() check for a valid exit path before |
| 10778 |
dereferencing it. |
| 10779 |
random_maps/treasure.c: In find_closest_monster() include monsters at map |
| 10780 |
border. In find_enclosed_spot() prevent access to out of map tiles. |
| 10781 |
Andreas Kirschbaum 2006-03-04 |
| 10782 |
|
| 10783 |
Apply patch #1436833 (Patch for forked lightning crash at map borders) by CF |
| 10784 |
Development Team Schmorp.de <[email protected]>. |
| 10785 |
--- |
| 10786 |
server/spell_attack.c: In forklightning() prevent access to out of map tiles. |
| 10787 |
Andreas Kirschbaum 2006-03-04 |
| 10788 |
|
| 10789 |
common/loader.l: Prevent excess whitespace while saving objects. |
| 10790 |
common/loader.c: Rebuilt. |
| 10791 |
Andreas Kirschbaum 2006-02-27 |
| 10792 |
|
| 10793 |
Apply patch by Marc Alexander Lehmann to improve server performance. |
| 10794 |
--- |
| 10795 |
include/map.h: Move path field to end of struct. Since this field was huge it |
| 10796 |
pushed all other fields to large offsets in the struct. Moving it to the |
| 10797 |
end of the struct mapdef should not break anything but will improve |
| 10798 |
performance and reduce the server code by >3500 bytes. |
| 10799 |
Andreas Kirschbaum 2006-02-27 |
| 10800 |
|
| 10801 |
------------------------------------------------------------------------------ |
| 10802 |
Changes for 1.9.0: |
| 10803 |
|
| 10804 |
lib/collect.pl.in: Again fix generation of 'editor_folder' field to make |
| 10805 |
sub-folder selection work again. |
| 10806 |
lib/archetypes: Rebuilt. |
| 10807 |
Andreas Kirschbaum 2006-02-26 |
| 10808 |
|
| 10809 |
*/Makefile{in.am}: Fix plugin makefiles so that 'make distcheck' works. Using |
| 10810 |
relative path names for files to include in distribution does not work - |
| 10811 |
need to have a makefile in each directory. |
| 10812 |
configure{.ac}: Updated as result of new Makefiles. |
| 10813 |
MSW 2006-02-24 |
| 10814 |
|
| 10815 |
Apply patch #1428057 courtesy Pippijn van Steenhoven: fix to a crashing bug in plugins |
| 10816 |
(incoherent order of parameters). |
| 10817 |
Also use plugin_common.h in CFAnim instead of having separate definitions. |
| 10818 |
Modified files: |
| 10819 |
plugins/cfanim/cfanim.c |
| 10820 |
plugins/cfanim/include/cfanim.h |
| 10821 |
plugins/cfanim/include/cfanim_proto.h |
| 10822 |
plugins/common/plugin_common.c |
| 10823 |
plugins/common/include/plugin_common.h |
| 10824 |
Ryo 2006-02-23 |
| 10825 |
|
| 10826 |
Remove object type CONFUSION since it was not used anymore. |
| 10827 |
--- |
| 10828 |
common/item.c: Remove CONFUSION entry from item_types[] array. |
| 10829 |
include/define.h: Uncomment #define CONFUSION. |
| 10830 |
Andreas Kirschbaum 2006-02-22 |
| 10831 |
|
| 10832 |
lib/collect.pl.in: Fix generation of 'editor_folder' field. It did not work |
| 10833 |
too well for .arc files in deep subdirs. |
| 10834 |
lib/{archetypes,bmaps.paths,crossfire.0}: Rebuilt. |
| 10835 |
Andreas Kirschbaum 2006-02-21 |
| 10836 |
|
| 10837 |
random_maps/random_map.c: Cause the random map generator to skip certain |
| 10838 |
elements if the style is set to "none". |
| 10839 |
doc/Developers/random-maps: Document above change |
| 10840 |
Alex Schultz 2006-02-20 |
| 10841 |
|
| 10842 |
socket/request.c: Don't crash on trying to send a spell which doesn't have an |
| 10843 |
associated skill |
| 10844 |
Brendan Lally 2006-02-20 |
| 10845 |
|
| 10846 |
Do not allow to dimension door into monsters or earthwalls. |
| 10847 |
--- |
| 10848 |
server/spell_effect.c: In dimension_door() do not allow destinations that are |
| 10849 |
P_IS_ALIVE. |
| 10850 |
Andreas Kirschbaum 2006-02-19 |
| 10851 |
|
| 10852 |
random_maps/style.c: In find_style() fix access to uninitialized variable. |
| 10853 |
Andreas Kirschbaum 2006-02-19 |
| 10854 |
|
| 10855 |
Prevent crossedit from stripping out 'maplore' map header field. |
| 10856 |
--- |
| 10857 |
common/map.c: Add code to load/save/dump maplore information. |
| 10858 |
include/map.h: Add new maplore field to map struct. |
| 10859 |
Andreas Kirschbaum 2006-02-19 |
| 10860 |
|
| 10861 |
Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static. |
| 10862 |
--- |
| 10863 |
Affected files: common/{loader.l,los.c,map.c}, include/{libproto.h,sproto.h}, |
| 10864 |
plugins/cfanim/{cfanim.c,include/cfanim.h}, server/{apply.c,skill_util.c} |
| 10865 |
common/loader.c: Rebuilt. |
| 10866 |
Andreas Kirschbaum 2006-02-17 |
| 10867 |
|
| 10868 |
common/map.c: Modify ob_blocked() to properly handly objects with a 0 |
| 10869 |
ob->move_type. Fixes infinite loop from random map code when trying |
| 10870 |
to place exits. |
| 10871 |
MSW 2006-02-16 |
| 10872 |
|
| 10873 |
Commit forgotten file for yesterday, which have the CFAPI_INT16 define... |
| 10874 |
include/plugin.h |
| 10875 |
server/plugins.c |
| 10876 |
Ryo 2006-02-15 |
| 10877 |
|
| 10878 |
Minor bugfixes: |
| 10879 |
server/apply.c: Fix apply_transport ->contr checks to actually |
| 10880 |
check against correct values. |
| 10881 |
server/plugins.c: Replace CFAPI_INT16 with CFAPI_INT - there is no |
| 10882 |
declaration anyplace for CFAPI_INT16 so compiles fails. |
| 10883 |
server/swamp.c: Fix swamp code so that only objects that can be |
| 10884 |
picked up disappear - this way, transports don't disappear into |
| 10885 |
oblivion. |
| 10886 |
MSW 2006-02-15 |
| 10887 |
|
| 10888 |
Swamps don't affect DMs anymore. Also, swamps don't remove items with |
| 10889 |
FLAG_IS_FLOOR or FLAG_IS_OVERLAY_FLOOR. |
| 10890 |
server/swamp.c |
| 10891 |
---- |
| 10892 |
Fixes to plugin system. Added "SINT16" as return type. |
| 10893 |
server/plugins.c: resistances are sint16, not int. |
| 10894 |
plugins/cfanim/include/cfanim_proto.h: fix cf_object_get_resistance declaration. |
| 10895 |
plugins/cfpython/cfpython_archetype.c: fix comparison function, which should return 0 or +-1. |
| 10896 |
plugins/cfpython/cfpython_map.c: fix comparison function. |
| 10897 |
plugins/cfpython/cfpython_object.c: fix broken GetResist, fix comparison function. |
| 10898 |
plugins/cfpython/cfpython_party.c: fix comparison function. |
| 10899 |
plugins/cfpython/cfpython_region.c: fix comparison function. |
| 10900 |
plugins/common/plugin_common.c: object resistances are sint16. |
| 10901 |
plugins/common/include/plugin_common.h: object resistances are sint16. |
| 10902 |
Ryo 2006-02-14 |
| 10903 |
|
| 10904 |
Apply modified patch #1428048 (make the log line buffered) by Marc Lehmann. |
| 10905 |
--- |
| 10906 |
common/init.c: In init_globals() switch the log file to line buffer mode. |
| 10907 |
Andreas Kirschbaum 2006-02-11 |
| 10908 |
|
| 10909 |
server/apply.c: In apply_scroll() do not identify the scroll if the player |
| 10910 |
lacks the literacy skill. |
| 10911 |
Andreas Kirschbaum 2006-02-10 |
| 10912 |
|
| 10913 |
Apply slightly modified patch #1428309 (code-cleanup: const, static) by |
| 10914 |
Stefan Huehner: add const/static to functions/variables. Remove some type |
| 10915 |
casts. |
| 10916 |
--- |
| 10917 |
Affected files: common/{arch.c,glue.c,image.c,init.c,readable.c,time.c}, |
| 10918 |
crossedit/stubs.c |
| 10919 |
include/{attack.h,libproto.h,object.h,sockproto.h,spells.h,sproto.h}, |
| 10920 |
random_maps/{door.c,rproto.h,standalone.c,style.c}, |
| 10921 |
server/{alchemy.c,apply.c,c_chat.c,c_misc.c,init.c,player.c,shop.c,spell_effect.c}, |
| 10922 |
socket/{info.c,loop.c,request.c} |
| 10923 |
Andreas Kirschbaum 2006-02-10 |
| 10924 |
|
| 10925 |
server/c_wiz.c: make dm stats command print Int and damage. Rearrange output |
| 10926 |
to match the stat ordering. |
| 10927 |
lib/wizhelp/stats: document the stats command |
| 10928 |
lib/Makefile.am lib/Makefile.in: install the new help file |
| 10929 |
Brendan Lally 2006-02-10 |
| 10930 |
|
| 10931 |
Apply modified patch by Marc Alexander Lehmann to fix get_rangevector |
| 10932 |
functions on tiled maps. |
| 10933 |
--- |
| 10934 |
server/map.c: Add helper function adjacent_map() to check if two maps are |
| 10935 |
adjacent. Modify get_rangevector(), get_rangevector_from_mapcoord(), and |
| 10936 |
on_same_map() to use this function. |
| 10937 |
Andreas Kirschbaum 2006-02-09 |
| 10938 |
|
| 10939 |
server/player.c: make a player's starting items be locked, so that they |
| 10940 |
can't accidentally drop and lose them without unlocking them first. |
| 10941 |
Brendan Lally 2006-02-09 |
| 10942 |
|
| 10943 |
Apply patch #1427979 (code-cleanup: add const, fix warnings) by Stefan |
| 10944 |
Huehner. |
| 10945 |
--- |
| 10946 |
common/{anim.c,button.c,exp.c,friend.c,image.c,item.c,living.c,los.c,map.c, |
| 10947 |
object.c,player.c,quest.c,readable.c,recipe.c,region.c,treasure.c,utils.c}, |
| 10948 |
include/libproto.h: Add "const" to pointer function parameters. |
| 10949 |
Andreas Kirschbaum 2006-02-09 |
| 10950 |
|
| 10951 |
Make create food spell work for all FOOD/DRINK objects. It used to fail for |
| 10952 |
objects where another object with the same name but type POISON does exist. |
| 10953 |
--- |
| 10954 |
common/arch.c: Add new function find_archetype_by_object_type_name() to find |
| 10955 |
an archetype by item type and item name. |
| 10956 |
include/libproto.h: Add new prototype. |
| 10957 |
server/spell_effect.c: In cast_create_food() only search for objects of type |
| 10958 |
FOOD or DRINK. |
| 10959 |
Andreas Kirschbaum 2006-02-09 |
| 10960 |
|
| 10961 |
Added a "insert_into" command for DMs, to easily put items in other items. |
| 10962 |
Modified filse: |
| 10963 |
include/sproto.h |
| 10964 |
server/c_wiz.c |
| 10965 |
server/commands.c |
| 10966 |
Ryo 2006-02-08 |
| 10967 |
|
| 10968 |
server/main.c: Modify enter_exit() to see if player is in a transport, |
| 10969 |
and if so, remove him. Can happen if player uses word of recall |
| 10970 |
while in a transport. |
| 10971 |
MSW 2006-02-07 |
| 10972 |
|
| 10973 |
Regional jails. |
| 10974 |
--- |
| 10975 |
common/region.c, include/libproto.h, map.h: parse jail entries, new function |
| 10976 |
get_jail_exit to return the exit to the local jail. |
| 10977 |
doc/Developers/regions: update |
| 10978 |
server/c_wiz.c, commands.c, include/sproto.h: add dm command, command_arrest |
| 10979 |
to jail players in the correct location. |
| 10980 |
lib/regions: add scorn and navar jails. |
| 10981 |
Brendan Lally 2006/02/08 |
| 10982 |
|
| 10983 |
Code that adds transports. Transports are described more in detail in |
| 10984 |
docs/Developers/objects. |
| 10985 |
--- |
| 10986 |
loader.l: Add new move type ('boat'). Update move_name field to be aware of |
| 10987 |
this type. |
| 10988 |
common/object.c: Unrelated to transport, but more apparant with transports - |
| 10989 |
fix bug with insert_ob_in_map() and multipart objects - we now only |
| 10990 |
try to fix up map and coordinates if the provided coordinates are |
| 10991 |
out of the map. Before, function would always use the passed |
| 10992 |
map for multipart objects, which is incorrect if we have already |
| 10993 |
set valid coordinates. |
| 10994 |
doc/Developers/objects: Update notes for TRANSPORTS. Update move |
| 10995 |
information to include MOVE_BOAT. |
| 10996 |
include/define.h: Add type TRANSPORT. Add MOVE_BOAT. |
| 10997 |
include/player.h: Add transport field to player structure. |
| 10998 |
include/sproto.h: rebuilt. |
| 10999 |
server/apply.c: Add code to handle applying of transports. Update |
| 11000 |
apply_below to apply transport if player is on one. |
| 11001 |
server/attack.c: Update hit_map() to look for transports, and hit any |
| 11002 |
players with the damage. |
| 11003 |
server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS |
| 11004 |
so that code can be re-used. |
| 11005 |
server/move.c: Fix handling of multipart objects in move_object() - |
| 11006 |
old code didn't work right with multipart objects moving along seams |
| 11007 |
of tiled maps. Add code to move_ob() to update player map position |
| 11008 |
for all players in a moving transport. |
| 11009 |
server/player.c: Update move_player_attack() too check of player is |
| 11010 |
in tranport, and use that for map and location information. Update |
| 11011 |
move_player() to handle speed related issues with transports. |
| 11012 |
server/time.c: Add code to credit time back to TRANSPORT objects since |
| 11013 |
we remove time in move_player() for TRANSPORTS. |
| 11014 |
socket/item.c: Add add_object_to_socklist() so that same code isn't |
| 11015 |
reproduced in 3 different places in the file. Update draw_look() |
| 11016 |
to handle transports - send transport object itself, then objects |
| 11017 |
in transport. Update esrv_send_inventory() and esrv_send_item() |
| 11018 |
to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look |
| 11019 |
for objects in transport if player is in transport. |
| 11020 |
socket/loop.c: Remove checking of pl->map status, since draw_client_map() |
| 11021 |
does that, and we need to handle if the player is in a transport. |
| 11022 |
socket/request.c: Handle map drawing if player is in a transport. |
| 11023 |
MSW 2006-02-06 |
| 11024 |
|
| 11025 |
movement type changes. Add move_allow field to explicitly allow certain |
| 11026 |
movement types on spaces. Add suppport for using string names instead |
| 11027 |
of numeric values to specify the MOVE_ values. Add code so when saving |
| 11028 |
data out, use string names instead of numeric value. |
| 11029 |
--- |
| 11030 |
common/loader.l: Remove save_double(), as it isn't used by any code. |
| 11031 |
Add set_move() to set movement types from strings. |
| 11032 |
Add get_string_move_type, which takes integer movement type and |
| 11033 |
returns a string. Update load and save code to use these functions |
| 11034 |
respectively. |
| 11035 |
common/map.c: Change blocked_link() so that we only examine all the objects |
| 11036 |
on a space if there is something alive on the space or space is otherwise |
| 11037 |
blocked. There is no reason to examine all the objects on the space if |
| 11038 |
the object in question can move onto it. |
| 11039 |
Modify update_position() to use the move_allow field to clear bits |
| 11040 |
in the move_block field. |
| 11041 |
common/object.c: Add check in CAN_MERGE for move_allow. Add check for |
| 11042 |
move_allow in update_object to see if we should update the space or |
| 11043 |
not. |
| 11044 |
doc/Developers/objects: Update Movement code section to note use of using |
| 11045 |
strings to set movement types. Add note about move_allow. Section |
| 11046 |
about Transports added, but code isn't there yet. |
| 11047 |
include/object.h: Add move_allow to object structure. |
| 11048 |
MSW 2006-02-04 |
| 11049 |
|
| 11050 |
Fix attack messages containing random characters. |
| 11051 |
-- |
| 11052 |
server/attack.c: In attack_message() always initialize variables. |
| 11053 |
Andreas Kirschbaum 2006-02-03 |
| 11054 |
|
| 11055 |
server/c_misc.c: fix bug 1413239 Server crash with "who" command output |
| 11056 |
using null map names |
| 11057 |
Brendan Lally 2006-02-03 |
| 11058 |
|
| 11059 |
include/newserver.h, server/login.c, socket/init.c, socket/loop.c: |
| 11060 |
drop any connection that fails to login successfully after |
| 11061 |
MAX_PASSWORD_FAILURES attempts (defaults to 5) |
| 11062 |
doc/Developers/protocol: document properly the byte counts of item flags, |
| 11063 |
and include documentation of the itemcmd setup option. |
| 11064 |
Brendan Lally 2006-01-30 |
| 11065 |
|
| 11066 |
Custom commands-related fixes. |
| 11067 |
plugins/cfpython/cfpython.c: fix custom command handling. |
| 11068 |
server/plugins.c: try all plugins for custom commands. |
| 11069 |
----- |
| 11070 |
Moved the global event 'LOGOUT' from when player actually disconnects to when |
| 11071 |
player logs out and is asked whether to play again or not. |
| 11072 |
Modified files: |
| 11073 |
server/apply.c main.c |
| 11074 |
Ryo 2006-01-15 |
| 11075 |
|
| 11076 |
socket/request.c: In ReplyCmd() make sure the reply does not cause a buffer |
| 11077 |
overflow. |
| 11078 |
Andreas Kirschbaum 2006-01-13 |
| 11079 |
|
| 11080 |
socket/request.c: add some better checks in addspell packet formation, fix a |
| 11081 |
crash bug. |
| 11082 |
Brendan Lally 2006-01-13 |
| 11083 |
|
| 11084 |
server/c_object.c: stop rename crashing if there is no name to rename to |
| 11085 |
when object is passed by number |
| 11086 |
-- |
| 11087 |
server/c_object.c: allow the rename command to take tag of the item to be |
| 11088 |
renamed, so that clients can form rename commands properly. |
| 11089 |
Brendan Lally 2006-01-11 |
| 11090 |
|
| 11091 |
server/c_range.c: allow spells cast by number to also have options passed to |
| 11092 |
them |
| 11093 |
Changelog: Commit the changelog entry for the last commit. |
| 11094 |
Brendan Lally 2006-01-10 |
| 11095 |
|
| 11096 |
Spell listing support: |
| 11097 |
allow 'spell_paths' to be sent to requestinfo, reply with number:path |
| 11098 |
change return type of SP_level_spellpoint_cost to sint16 |
| 11099 |
add spellmon as a setup value, if it is set; |
| 11100 |
send path attunement/repulsion/denial in stats |
| 11101 |
send data about spells in addspell packets |
| 11102 |
send updates to that data |
| 11103 |
Affected files: |
| 11104 |
common/living.c |
| 11105 |
crossedit/stubs.c |
| 11106 |
doc/Developers/protocol |
| 11107 |
include/funcpoint.h, newclient.h, newserver.h, player.h, sockproto.h, |
| 11108 |
sproto.h |
| 11109 |
random_maps/standalone.c |
| 11110 |
server/apply.c, login.c, spell_util.c, init.c, loop.c, request.c |
| 11111 |
-- |
| 11112 |
server/c_range.c: allow cast/invoke and prepare commands to take item tags |
| 11113 |
as well as spell names |
| 11114 |
Brendan Lally 2006-01-09 |
| 11115 |
|
| 11116 |
Apply modified patch #1396303 (add setting to disable stealing from players) |
| 11117 |
by Terry Brown. It adds a new option "no_player_stealing" to the settings |
| 11118 |
file. If set, it prevents players from stealing from other players. It |
| 11119 |
defaults to ON. |
| 11120 |
-- |
| 11121 |
doc/settings: Add documentation for new setting. |
| 11122 |
include/global.h: Add new field to settings structure. |
| 11123 |
lib/settings: Add new option no_player_stealing. |
| 11124 |
server/init.c: In load_settings() recognizes the new option. |
| 11125 |
server/skills.c: In attempt_steal() prevent stealing from PLAYER if option is |
| 11126 |
set. |
| 11127 |
Andreas Kirschbaum 2006-01-08 |
| 11128 |
|
| 11129 |
include/newserver.h, socket/{init.c,request.c}: Remove unused fields ext2 and |
| 11130 |
ext_title_flag from NewSocket structure. |
| 11131 |
server/skills.c: Fix/improve feedback messages for stealing skill. |
| 11132 |
plugins/cfpython/cfpython.c, server/plugins.c: Just whitespace changes to make |
| 11133 |
it conform to programming_guide. |
| 11134 |
plugins/cfpython/cfpython.c: Make sure context->options always is initialized. |
| 11135 |
server/main.c: Make code more readable; use snprintf where appropriate. |
| 11136 |
crossedit/Cnv/CnvPrompt.c: Make file compilable with Ansi C89 compiler. |
| 11137 |
Andreas Kirschbaum 2006-01-08 |
| 11138 |
|
| 11139 |
Global event Python scripts now are in subdirectories. This makes it easier to |
| 11140 |
distribute "Python packages". Modified file: |
| 11141 |
plugins/cfpython/cfpython.c |
| 11142 |
Ryo 2006-01-07 |
| 11143 |
|
| 11144 |
common/{item.c,treasure.c}, server/{apply.c,gods.c,spell_effect.c}: Use named |
| 11145 |
constants instead of numbers. |
| 11146 |
server/monster.c: Use correct field name in move_monster(). |
| 11147 |
Andreas Kirschbaum 2006-01-07 |
| 11148 |
|
| 11149 |
Summon pets less often to the owner on tiled maps. |
| 11150 |
-- |
| 11151 |
server/pets.c: In remove_all_pets() and pet_move() use on_same_map() to check |
| 11152 |
whether the pet is too far away. |
| 11153 |
Andreas Kirschbaum 2006-01-07 |
| 11154 |
|
| 11155 |
Change meaning of "items are on same map": for tiled maps now two objects are |
| 11156 |
also considered to be on the same map if they are on diagonally adjacent maps. |
| 11157 |
This solves the issue that a pet can be only one tile away from the owner but |
| 11158 |
still considered not to be on the same map. |
| 11159 |
-- |
| 11160 |
common/map.c: In on_same_map() also consider diagonally adjacent maps. |
| 11161 |
Andreas Kirschbaum 2006-01-07 |
| 11162 |
|
| 11163 |
Added regions support for plugins. Affected files: |
| 11164 |
include/plugin.h sproto.h |
| 11165 |
server/plugins.c |
| 11166 |
-- |
| 11167 |
Added regions to Python plugin. Affected files: |
| 11168 |
cfpython/include/cfpython.h cfpython_map_private.h |
| 11169 |
cfpython/cfpython.c cfpython_map.c cfpython_region.c Makefile.am Makefile.in |
| 11170 |
New files: |
| 11171 |
cfpython/include/cfpython_region.h cfpython_region_private.h |
| 11172 |
cfpython/cfpython_region.c |
| 11173 |
-- |
| 11174 |
In Python's Object, Archetype is now a property and not a method. Affected files: |
| 11175 |
cfpython/include/cfpython_object_private.h |
| 11176 |
cfpython/cfpython_object.c |
| 11177 |
-- |
| 11178 |
Cleaned obsolete include/plugproto.h. |
| 11179 |
Ryo 2006-01-07 |
| 11180 |
|
| 11181 |
Make teleporters hidden below the floor work again. |
| 11182 |
-- |
| 11183 |
server/time.c: In move_teleporter() use object above floor instead above |
| 11184 |
teleporter to operate one. |
| 11185 |
Andreas Kirschbaum 2006-01-07 |
| 11186 |
|
| 11187 |
Fix issues with map tiling. |
| 11188 |
-- |
| 11189 |
server/move.c: In move_ob() make sure inserting multi-part objects into tiled |
| 11190 |
maps work. |
| 11191 |
server/spell_attack.c: In cast_cone() insert spell effect at correct position |
| 11192 |
for tiled maps. |
| 11193 |
Andreas Kirschbaum 2006-01-07 |
| 11194 |
|
| 11195 |
common/map.c: Allow map tiling paths to be reletive. |
| 11196 |
server/main.c: Template maps: Impliment using fixed maps as templates, and |
| 11197 |
improve reletive path support for them. |
| 11198 |
Alex Schultz 2006-01-06 |
| 11199 |
|
| 11200 |
Make SIGNs (including Magic Mouths) trigger for DMs again. Does not reduce the |
| 11201 |
counter if in 'wizpass mode. |
| 11202 |
-- |
| 11203 |
server/apply.c: In apply_sign() ignore DMs. |
| 11204 |
Andreas Kirschbaum 2006-01-04 |
| 11205 |
|
| 11206 |
server/spell_effect.c: Apply patch 1394861 - fixes magic walls. In conjuction |
| 11207 |
with archetype changes, look at the spell object (and not created wall) |
| 11208 |
to see if it blocks. |
| 11209 |
server/c_chat.c: Apply patch 1389113 - orcknuckle messages appear in |
| 11210 |
same window. |
| 11211 |
MSW 2006-01-01 |
| 11212 |
|
| 11213 |
Prefer marked item when throwing objects. |
| 11214 |
-- |
| 11215 |
server/skills.c: In find_throw_ob() prefer marked item. |
| 11216 |
Andreas Kirschbaum 2006-01-01 |
| 11217 |
|
| 11218 |
Make EXITs affect DM players again. |
| 11219 |
-- |
| 11220 |
common/object.c: In check_move_on() ignore only slow movement penalties for |
| 11221 |
DMs. |
| 11222 |
server/apply.c: In move_apply() ignore anything but EXITs for DM players. |
| 11223 |
Andreas Kirschbaum 2006-01-01 |
| 11224 |
|
| 11225 |
Make forked lightning correctly traverse tiled maps. |
| 11226 |
-- |
| 11227 |
server/spell_attack.c: In forklightning() insert forked part into correct map. |
| 11228 |
Andreas Kirschbaum 2006-01-01 |
| 11229 |
|
| 11230 |
Properly unready forgotten spells. Prevents crashing the server if casting a |
| 11231 |
forgotten spell. |
| 11232 |
-- |
| 11233 |
include/sproto.h: Add new prototype. |
| 11234 |
server/{apply.c,gods.c}: Call player_remove_range_ob() when forgetting a |
| 11235 |
spell. |
| 11236 |
server/player.c: Add player_remove_range_ob() to unready a given object. |
| 11237 |
Andreas Kirschbaum 2006-01-01 |
| 11238 |
|
| 11239 |
Improve the commands learn_spell and forget_spell: now these commands accept |
| 11240 |
partial spell names and print sensible error messages if they fail. |
| 11241 |
-- |
| 11242 |
include/sproto.h: Remove prototype for now static function. |
| 11243 |
lib/wizhelp/{forget_spell,learn_special_prayer,learn_spell}: Update help files. |
| 11244 |
server/c_wiz.c: Add parameter op to get_spell_by_name() for printing error |
| 11245 |
messages to op. Allow partial matches for spell name. In |
| 11246 |
command_learn_spell_or_prayer() and command_forget_spell() report an error |
| 11247 |
to the player instead of an error message to the server log file. |
| 11248 |
Andreas Kirschbaum 2006-01-01 |
| 11249 |
|
| 11250 |
Fix reference-related crashes. |
| 11251 |
plugins/cfpython/cfpython.c |
| 11252 |
Ryo 2006-01-01 |
| 11253 |
|
| 11254 |
Apply modified patch #1391648 (FIX: new movement code and generators) by Lalo |
| 11255 |
Martins. This fixes bugs #1383398, #1383392, #1375643, #1372035, #1370409; all |
| 11256 |
bugs are related to objects stacking which should not stack. |
| 11257 |
-- |
| 11258 |
common/map.c: In ob_blocked() consider tiles with living objects as blocked. |
| 11259 |
Andreas Kirschbaum 2005-12-31 |
| 11260 |
|
| 11261 |
Don't print "file not found" for global events. |
| 11262 |
plugins/cfpython/cfpython.c |
| 11263 |
Ryo 2005-12-31 |
| 11264 |
|
| 11265 |
Changed the way Python scripts are called. Now script don't share variables anymore. |
| 11266 |
Fix a memory leak. |
| 11267 |
plugins/cfpython/cfpython.c |
| 11268 |
Ryo 2005-12-28 |
| 11269 |
|
| 11270 |
Applied patch #1383359 (Fix death message) courtesy Anton Oussik |
| 11271 |
( https://sourceforge.net/tracker/index.php?func=detail&aid=1383359&group_id=13833&atid=313833 ) |
| 11272 |
server/attack.c |
| 11273 |
Ryo 2005-12-27 |
| 11274 |
|
| 11275 |
server/skills.c: In steal() do not give exp for stealing from pets since this |
| 11276 |
can be exploited to gain exp over and over. |
| 11277 |
Andreas Kirschbaum 2005-12-23 |
| 11278 |
|
| 11279 |
server/c_party.c: fix crash with party obsolescence (->next on freed item). Added |
| 11280 |
get_firstparty() to get firstparty private var needed for plugin. |
| 11281 |
|
| 11282 |
------- |
| 11283 |
Added party information to plugin functions. Plugins can change player's party |
| 11284 |
or marked item. |
| 11285 |
New files: |
| 11286 |
plugins/cfpython/include/cfpython_party.h cfpython_party_private.h |
| 11287 |
plugins/cfpython/cfpython_party.c |
| 11288 |
Modified files: |
| 11289 |
include/sproto.h: add new functions prototypes. |
| 11290 |
include/plugin.h: party-related defines |
| 11291 |
plugins/common/include/plugin_common.h: new party functions. |
| 11292 |
plugins/common/plugin_common.c: new party functions. |
| 11293 |
plugins/cfpython/include/cfpython.h: add new include. |
| 11294 |
plugins/cfpython/include/cfpython_object_private.h: marked item/party getter/setter. |
| 11295 |
plugins/cfpython/cfpython.c: add GetParties to Crossfire module. |
| 11296 |
plugins/cfpython/cfpython_object.c: MarkedItem setter, Party getter/setter. |
| 11297 |
server/plugins.c: new callbacks for party, marked item setter. |
| 11298 |
Ryo 2005-12-17 |
| 11299 |
|
| 11300 |
server/attack.c: Make spells destroy objects again. |
| 11301 |
Andreas Kirschbaum 2005-12-15 |
| 11302 |
|
| 11303 |
Moved natural dragon skin resistances from "statistics" to "resistances". |
| 11304 |
server/c_misc.c |
| 11305 |
Ryo 2005-12-13 |
| 11306 |
|
| 11307 |
Fix Windows compilation after Andreas's changes. |
| 11308 |
include/win32.h: define WIFEXITED and WEXITSTATUS. |
| 11309 |
Ryo 2005-12-11 |
| 11310 |
|
| 11311 |
Fix buffer overflows which can be triggered remotely. |
| 11312 |
-- |
| 11313 |
common/porting.c: Re-implement open_and_uncompress(). The new implementation |
| 11314 |
should not contain any buffer overflows anymore. It also fixes possible |
| 11315 |
exploits due to funny characters in file names. |
| 11316 |
plugins/cfpython/cfpython.c: Use snprintf() to truncate long strings. |
| 11317 |
server/login.c: Reject invalid user names. |
| 11318 |
socket/loop.c: Make overflow detection work while reading from socket. |
| 11319 |
Properly re-allocate memory for listen command. Fix buffer overflow for too |
| 11320 |
long command names. |
| 11321 |
Andreas Kirschbaum 2005-12-11 |
| 11322 |
|
| 11323 |
lib/collect.pl.in: General cleanup - just whitespace changes. |
| 11324 |
Andreas Kirschbaum 2005-12-11 |
| 11325 |
|
| 11326 |
Prevent the map loader from crashing when loading maps with incorrect headers. |
| 11327 |
Changes are based on patch #1275563 by Kevin Rudat. |
| 11328 |
-- |
| 11329 |
common/map.c: Do not dereference NULL value for map headers without parameter. |
| 11330 |
Andreas Kirschbaum 2005-12-11 |
| 11331 |
|
| 11332 |
Apply modified second part of patch #1275563 (Crossedit: fix map attributes |
| 11333 |
window) by Kevin Rudat: let crossedit save/load tiling paths as the mapmaker |
| 11334 |
entered them, rather than saving the normalized version. |
| 11335 |
-- |
| 11336 |
common/map.c: Delay path normalization from map loading time |
| 11337 |
(load_map_header()) to access time (load_and_link_tiled_map()) if running |
| 11338 |
as editor. |
| 11339 |
Andreas Kirschbaum 2005-12-11 |
| 11340 |
|
| 11341 |
server/move.c: In move_ob() print error message instead of crashing: check |
| 11342 |
passed arguments before accessing them. |
| 11343 |
common/object.c, server/{pets.c,player.c,spell_attack.c,time.c}, |
| 11344 |
socket/request.c: Properly check for P_OUT_OF_MAP after calling |
| 11345 |
get_map_flags(). |
| 11346 |
Andreas Kirschbaum 2005-12-10 |
| 11347 |
|
| 11348 |
common/path.c: add missing global.h include. |
| 11349 |
make_win32/crossfire32.dsp: add path.c and some headers. |
| 11350 |
Ryo 2005-12-09 |
| 11351 |
|
| 11352 |
Apply slightly modified first part of patch #1275563 (Crossedit: fix map |
| 11353 |
attributes window) by Kevin Rudat: make the map attributes dialogs work again. |
| 11354 |
-- |
| 11355 |
crossedit/Attr.c: Remove code to handle map attributes dialogs. |
| 11356 |
crossedit/Crossedit.ad, crossedit/Crossedit.ad.h: Update X11 resources. |
| 11357 |
crossedit/Defines.h: Add typedef for MapAttr. |
| 11358 |
crossedit/{Edit.c,Edit.h}: Remove/update code to handle map attributes |
| 11359 |
dialogs. |
| 11360 |
crossedit/Makefile.am: Add new files MapAttr.c and MapAttr.h. |
| 11361 |
crossedit/Makefile.in: Rebuilt. |
| 11362 |
crossedit/{MapAttr.c,MapAttr.h}: New functions containing code to handle the |
| 11363 |
main map attributes dialog. |
| 11364 |
crossedit/Cnv/CnvPrompt.c: Convert CnvPromptStr into char array. |
| 11365 |
Andreas Kirschbaum 2005-12-09 |
| 11366 |
|
| 11367 |
Remove a strange feature of normalize_path(): it did convert the path |
| 11368 |
"<path1>//<path2>" into "/<path2>". Also add a stand-alone application for |
| 11369 |
regression testing this function, and fix a few issues with ".." in path name. |
| 11370 |
-- |
| 11371 |
common/path.c: New file containing the modified implementation and the |
| 11372 |
stand-alone application. |
| 11373 |
include/path.h: Prototypes for path.c. |
| 11374 |
server/main.c: Remove implementation; call renamed function. |
| 11375 |
common/Makefile.am, include/Makefile.am: Add new files. |
| 11376 |
common/Makefile.in, include/Makefile.in: Rebuilt. |
| 11377 |
Andreas Kirschbaum 2005-12-08 |
| 11378 |
|
| 11379 |
server/ban.c: General cleanup - whitespace changes, rename variable names. |
| 11380 |
Should not affect function. |
| 11381 |
server/apply.c: In player_apply() do not consider DM PLAYERs to be DM-created |
| 11382 |
items. This prevents the server from destroying the player object (and |
| 11383 |
crashing shortly afterwards). |
| 11384 |
Andreas Kirschbaum 2005-12-07 |
| 11385 |
|
| 11386 |
Apply slightly modified patch #1293744 (Inversed ban entries) by Thomas |
| 11387 |
Equeter. |
| 11388 |
-- |
| 11389 |
server/ban.c: In checkbanned() recognize '~' prefix to allow entries. Also fix |
| 11390 |
possible buffer overflow. |
| 11391 |
Andreas Kirschbaum 2005-12-07 |
| 11392 |
|
| 11393 |
Apply modified patch #1293774 (Kick banned hosts at once) by Thomas Equeter: |
| 11394 |
disconnect new connection for banned host right after connecting. Also add |
| 11395 |
support for user name in ban files. |
| 11396 |
-- |
| 11397 |
lib/ban_file: Update comments and examples to new syntax. |
| 11398 |
server/ban.c: Allow a NULL user name to check for host name only. |
| 11399 |
server/c_misc.c: In receive_player_password() check for banned user name. |
| 11400 |
server/player.c: In add_player() remove check for banned host - this was |
| 11401 |
already done if we reach this state. |
| 11402 |
socket/init.c, include/sockproto.h: Pass ip address as a string. |
| 11403 |
socket/loop.c: In doeric_server() check for banned host after a new connection |
| 11404 |
was accepted. |
| 11405 |
Andreas Kirschbaum 2005-12-07 |
| 11406 |
|
| 11407 |
Apply patch #1371956 (code cleanup patch) by Stefan Huehner: fix old-style |
| 11408 |
function declarations and prototypes to proper Ansi C syntax. This patch |
| 11409 |
allows the compiler to check function arguments and also removes some warnings |
| 11410 |
when compiling with -Wstrict-prototypes. |
| 11411 |
-- |
| 11412 |
All affected files: Convert "void foo()" into "void foo(void)". |
| 11413 |
Andreas Kirschbaum 2005-12-06 |
| 11414 |
|
| 11415 |
Fix bug #1173563 (Creator created Bombs malfunction): Creators and Converters |
| 11416 |
now copy items from inventory. Fallback (for empty inventory) is the old |
| 11417 |
behavior to create the new item from other_arch. If the inventory contains more |
| 11418 |
than one item, a random one is picked. |
| 11419 |
-- |
| 11420 |
common/loader.l: Mark inventory of CREATOR and CONVERTER as |
| 11421 |
FLAG_CONTENT_ON_GEN. |
| 11422 |
common/loader.c: Rebuilt. |
| 11423 |
common/object.c: Update x/y/map for non-head parts to make inserting multipart |
| 11424 |
objects via insert_ob_in_ob_at() work. |
| 11425 |
server/apply.c: In convert_item() consider inventory for item to create. |
| 11426 |
server/time.c: In move_creator() consider inventory for item to create. In |
| 11427 |
process_object() ignore item flagged as FLAG_IS_A_TEMPLATE. (Otherwise |
| 11428 |
bombs in inventories would explode prematurely.) |
| 11429 |
Andreas Kirschbaum 2005-12-05 |
| 11430 |
|
| 11431 |
New plugin property for player: marked item, added Python wrapper. |
| 11432 |
Modified files: |
| 11433 |
include/plugin.h |
| 11434 |
plugins/cfpython/cfpython_object.c |
| 11435 |
plugins/cfpython/include/cfpython_object_private.h |
| 11436 |
plugins/common/include/plugin_common.h |
| 11437 |
plugins/common/plugin_common.c |
| 11438 |
server/plugins.c |
| 11439 |
|
| 11440 |
plugins/cfpython/cfpython.c: fix invalid reference management. Don't return NULL but Py_None. |
| 11441 |
Ryo 2005-12-04 |
| 11442 |
|
| 11443 |
Fix bug #1372194 (stairways now block movement). |
| 11444 |
-- |
| 11445 |
random_maps/exit.c: In unblock_exits() check correct field move_block to find |
| 11446 |
blocking exits. |
| 11447 |
Andreas Kirschbaum 2005-12-03 |
| 11448 |
|
| 11449 |
server/apply.c: In move_apply() properly decrement recursion counter. |
| 11450 |
Andreas Kirschbaum 2005-12-02 |
| 11451 |
|
| 11452 |
server/spell_attack.c: Add some missing P_IS_ALIVE checks - these weren't |
| 11453 |
needed in the past because living objects would block movement - |
| 11454 |
with new movement code, isn't always the case. |
| 11455 |
server/time.c: Fix player movers so that if the victim doesn't have any |
| 11456 |
movement type, we move it. |
| 11457 |
MSW 2005-11-30 |
| 11458 |
|
| 11459 |
common/time.c: In move_teleporter() and move_player_mover() do not affect DMs |
| 11460 |
if FLAG_WIZPASS is set. |
| 11461 |
common/object.c: In check_move_on() do not affect DMs if FLAG_WIZPASS is set. |
| 11462 |
This prevents DMs from triggering traps when walking over them. |
| 11463 |
Andreas Kirschbaum 2005-11-30 |
| 11464 |
|
| 11465 |
common/map.c: Replace code with OB_TYPE_MOVE_BLOCK - effectively same as what |
| 11466 |
it was. |
| 11467 |
include/define.h: Update OB_TYPE_MOVE_BLOCK so that spaces that don't block |
| 11468 |
any type of movement doesn't block objects that also don't have movement. |
| 11469 |
This fixes cases of gates not pushing objects off them. |
| 11470 |
server/c_party.c: Remove double use of ->next pointer/loop in |
| 11471 |
confirm_party_password() - fixes crash and likely makes setting party |
| 11472 |
password work more reliably. |
| 11473 |
MSW 2005-11-29 |
| 11474 |
|
| 11475 |
common/object.c: Fix wrong comparision operator in free_object2() to make |
| 11476 |
monsters drop loot again. |
| 11477 |
Andreas Kirschbaum 2005-11-28 |
| 11478 |
|
| 11479 |
Basically added a parameter to 'skills' command to filter skills. And one char/const char* fix. |
| 11480 |
common/anim.c: use const char* for find_animation. |
| 11481 |
include/libproto.h: find_animation uses a const char*. |
| 11482 |
include/sproto.h: fix prototype. |
| 11483 |
server/c_wiz.c: send parameter to show_skills. |
| 11484 |
server/skill_util.c: add search parameter to show_skills command. |
| 11485 |
Ryo 2005-11-27 |
| 11486 |
|
| 11487 |
plugins/cfpython/cfpython_map.c: use wrappers instead of direct property access. |
| 11488 |
plugins/common/include/plugin_common.h: new wrappers for maps. |
| 11489 |
plugins/common/plugin_common.c: new wrappers for maps. |
| 11490 |
Ryo 2005-11-26 |
| 11491 |
|
| 11492 |
plugins/cfpython/Makefile.in: rebuilt. |
| 11493 |
Andreas Kirschbaum 2005-11-23 |
| 11494 |
|
| 11495 |
Plugins can now get archetypes. Added a check in cfapi_object_set_property to |
| 11496 |
prevent changing archtypes. |
| 11497 |
Fixed some Python bugs related to map properties. |
| 11498 |
Added Crossfire.GetArchetypes and Crossfire.GetMaps to get all archetypes/maps. |
| 11499 |
Modified files: |
| 11500 |
include/plugin.h sproto.h |
| 11501 |
plugins/cfpython/include: cfpython.h cfpython_map_private.h cfpython_object_private.h |
| 11502 |
plugins/cfpython/cfpython.c cfpython_map.c cfpython_object.c |
| 11503 |
server/plugins.c |
| 11504 |
New files: |
| 11505 |
plugins/cfpython/include/cfpython_archetype.h cfpython_archetype_private.h |
| 11506 |
plugins/cfpython/cfpython_archetype.c |
| 11507 |
Ryo 2005-11-20 |
| 11508 |
|
| 11509 |
server/shop.c: adjust minimum value that shop_specialisation_ratio can |
| 11510 |
return to 0.1. This should stop some prices being exceptionally high. |
| 11511 |
Brendan Lally 2005-11-19 |
| 11512 |
|
| 11513 |
Commit for new blocking code. Not going to dictate all the changes - |
| 11514 |
but will outline the broad points. Note also that the |
| 11515 |
doc/Developers/objects is updated and goes into more details also. |
| 11516 |
- check for P_WALL no longer used - instead, need to use GET_MAP_MOVE_BLCOK |
| 11517 |
and check against movement type of objects. |
| 11518 |
- arch_blocked() changed to ob_blocked(), now takes object. Needed because |
| 11519 |
just looking at archetype move_ values is no longer sufficient. |
| 11520 |
- find_first_free_spot() changed to take object, since it just calls |
| 11521 |
arch_blocked() |
| 11522 |
- FLAG_FLYING removed, now in move type. |
| 11523 |
- walk_on/walk_off/fly_on/fly_off removed - now based on move_on and |
| 11524 |
move_off fields. |
| 11525 |
- Map space structure extended to hold the move_on/move_off, etc |
| 11526 |
values so that we can shortcut some processing by not having to |
| 11527 |
check every object on the space when something enters it if |
| 11528 |
move_on isn't set. |
| 11529 |
- archetypes recollected - boulders needed move_walk to properly trigger |
| 11530 |
buttons. |
| 11531 |
- Note that the new plugin code has to be fixed up for the new movement |
| 11532 |
code. Look for FIXME in plugins/cfpython/cfpython_object.c |
| 11533 |
MSW 2005-11-15 |
| 11534 |
|
| 11535 |
Apply patch 1352485 newpickup rings/amulets courtesy anonymous user. |
| 11536 |
include/define.h: add PU_JEWELS |
| 11537 |
server/c_object.c: handle new type. |
| 11538 |
server/player.c: handle new type. |
| 11539 |
Ryo 2005-11-12 |
| 11540 |
|
| 11541 |
server/plugins.c: Properly update client view after removing objects. |
| 11542 |
Andreas Kirschbaum 2005-11-10 |
| 11543 |
|
| 11544 |
server/plugins.c: Properly update client view after changing object names. |
| 11545 |
server/plugins.c: Return an empty string if an object has no message. This |
| 11546 |
makes Object.Message() always return a string object, which removes the |
| 11547 |
need for special case code to handle empty messages. |
| 11548 |
include/sproto.h, server/monster.c: Declare parameter of communicate() as |
| 11549 |
"const". |
| 11550 |
Andreas Kirschbaum 2005-11-09 |
| 11551 |
|
| 11552 |
Implement new functions for the Python plugin: Object.WeightLimit, |
| 11553 |
Object.InsertInto(Object), Object.NamePl. Change Object.Name to set both name |
| 11554 |
and name_pl. This should prevents scripts from failing to set name_pl. |
| 11555 |
-- |
| 11556 |
plugins/cfanim/include/cfanim_proto.h, plugins/common/include/plugin_common.h: |
| 11557 |
Add prototypes. |
| 11558 |
plugins/cfpython/cfpython_object.c: Add callback functions for new Python |
| 11559 |
functions. |
| 11560 |
plugins/cfpython/include/cfpython_object_private.h: Add prototypes for |
| 11561 |
callback functions. Add callback functions to Python object descriptors. |
| 11562 |
plugins/common/plugin_common.c: Add missing helper functions. |
| 11563 |
Andreas Kirschbaum 2005-11-09 |
| 11564 |
|
| 11565 |
server/shop.c: When we are counting unpaid items and their values, to check |
| 11566 |
if a player may leave a shop, make certain that we count all of them, and |
| 11567 |
don't stop when we have dropped into a container (such as a spellbook) |
| 11568 |
Brendan Lally 2005-11-09 |
| 11569 |
|
| 11570 |
plugins/cfpython/cfpython.c: Add missing 'PyType_Ready' calls for map and player, |
| 11571 |
failure to do so crashes with Python objects destructors set to 0. |
| 11572 |
Ryo 2005-11-07 |
| 11573 |
|
| 11574 |
server/spell_effect.c: fix WoR not executing on cursed ground with WIZCAST set. |
| 11575 |
Ryo 2005-11-06 |
| 11576 |
|
| 11577 |
server/skills.c: In do_throw() abort processing if the thrown object was |
| 11578 |
destroyed before it gets its first move. |
| 11579 |
Andreas Kirschbaum 2005-11-06 |
| 11580 |
|
| 11581 |
server/build_map.c: test FLAG_IS_FLOOR too, type == FLOOR is not always enough. |
| 11582 |
Ryo 2005-11-05 |
| 11583 |
|
| 11584 |
server/shop.c: In value_limit() return the unmodified item price if not in a |
| 11585 |
shop or not for a player. |
| 11586 |
Andreas Kirschbaum 2005-11-05 |
| 11587 |
|
| 11588 |
plugins/cfpython/cfpython.c: added GetPrivateDictionary and GetSharedDictionary |
| 11589 |
methods to keep data between runs and share data between scripts. |
| 11590 |
Ryo 2005-11-05 |
| 11591 |
|
| 11592 |
plugins/Makefile,plugins/cfanim/Makefile: Remove files to be generated by |
| 11593 |
configure. |
| 11594 |
server/main.c: Fix possible out-of-bounds array access. |
| 11595 |
Andreas Kirschbaum 2005-11-05 |
| 11596 |
|
| 11597 |
Fix case for [sg]etReturnValue. Add compare operator for object and map (of course |
| 11598 |
only == is relevant). |
| 11599 |
Modified files: |
| 11600 |
plugins/cfpython/include/cfpython_map_private.h |
| 11601 |
plugins/cfpython/include/cfpython_object_private.h |
| 11602 |
plugins/cfpython/cfpython.c |
| 11603 |
plugins/cfpython/cfpython_map.c |
| 11604 |
plugins/cfpython/cfpython_object.c |
| 11605 |
Ryo 2005-11-05 |
| 11606 |
|
| 11607 |
aclocal.m4, configure, utils/config.guess, utils/config.sub, utils/ltmain.sh, |
| 11608 |
*Makefile.in, plugins/cfanim/Makefile, plugins/Makefile: Rebuilt. |
| 11609 |
lib/Makefile.am: Add template-maps to list of directories to create while |
| 11610 |
install. |
| 11611 |
Andreas Kirschbaum 2005-11-05 |
| 11612 |
|
| 11613 |
lib/wizhelp/reset: document use of '.' as an argument |
| 11614 |
Brendan Lally 2005-11-05 |
| 11615 |
|
| 11616 |
random_maps/treasure.c: Fix out-of-bounds array access if place_chest() cannot |
| 11617 |
find a free spot to place a new chest. |
| 11618 |
Andreas Kirschbaum 2005-11-01 |
| 11619 |
|
| 11620 |
Fix bug #1082534 (monks with weapons): Now monks properly are denied from |
| 11621 |
using weapons. Only newly created monks are affected since it now relies on a |
| 11622 |
force named "no weapon force" in the player's inventory. The problem was that |
| 11623 |
become_follower() assumed it was the only means do allow/disallow weapon use. |
| 11624 |
-- |
| 11625 |
server/gods.c: Do not let the god allow using weapons if a "no weapon force" |
| 11626 |
object is present in the player's inventory. |
| 11627 |
lib/treasures: add force to monk's treasure list. |
| 11628 |
Andreas Kirschbaum 2005-11-01 |
| 11629 |
|
| 11630 |
Fix bug #815620 (CFPython.SetQuantity() doesn't update client): now notifies |
| 11631 |
the client after changing nrof and/or weight. |
| 11632 |
-- |
| 11633 |
server/plugins.c: Re-calculate player's weight and send item change |
| 11634 |
notifications in cfapi_object_set_property(). |
| 11635 |
Andreas Kirschbaum 2005-11-01 |
| 11636 |
|
| 11637 |
Improve newpickup command: add new flag PU_NOT_CURSED to ignore cursed items. |
| 11638 |
-- |
| 11639 |
include/define.h: Add flag #define. |
| 11640 |
server/c_object.c: Add "notcursed" option to pickup command. |
| 11641 |
server/player.c: Respect new flag in check_pickup(). |
| 11642 |
Andreas Kirschbaum 2005-11-01 |
| 11643 |
|
| 11644 |
plugins/cfanim/cfanim.c: remove printf for properties. Export functions for DLL |
| 11645 |
for Win32. |
| 11646 |
plugins/cfanim/cfanim.h: remove obsolete definitions (see plugin_common.h). |
| 11647 |
plugins/cfanim/cfanim_proto.h: fix definition for exported functions. |
| 11648 |
plugins/common/plugin_common.c: add gettimeofday for Win32. |
| 11649 |
plugins/common/include/plugin_common.h: add gettimeofday for Win32. |
| 11650 |
Ryo 2005-11-01 |
| 11651 |
|
| 11652 |
server/plugins.c: Print error message for event_xxx objects with missing or |
| 11653 |
invalid parameters. Also remove the affected object to prevent multiple |
| 11654 |
error messages. |
| 11655 |
Andreas Kirschbaum 2005-11-01 |
| 11656 |
|
| 11657 |
Add new function object_get_env_recursive() to find the outermost environment |
| 11658 |
object for a given object. |
| 11659 |
-- |
| 11660 |
common/object.c, include/libproto.h: Add function. |
| 11661 |
server/{rune.c,spell_attack.c}: Use function where appropriate. |
| 11662 |
Andreas Kirschbaum 2005-11-01 |
| 11663 |
|
| 11664 |
General cleanup of weather code. |
| 11665 |
-- |
| 11666 |
server/weather: Declare many functions and variables as "static", add |
| 11667 |
prototypes for affected functions. Declare some variables as "const". |
| 11668 |
include/sproto.h: Remove prototypes for now static functions. |
| 11669 |
include/tod.h: Add "const" to strings. |
| 11670 |
Andreas Kirschbaum 2005-11-01 |
| 11671 |
|
| 11672 |
Fix bug #1102975 (Bronze items not keeping their + in alchemy): the problem |
| 11673 |
was that a formula for full_helmet did exist but not for b_full_helmet. Since |
| 11674 |
both helmet's names are "full helmet", the recipe was selected even if using |
| 11675 |
the ingredient b_full_helmet. This fix adds new formulae for alternative |
| 11676 |
archetypes with the same name as the base object, and makes the server code |
| 11677 |
select the matching formula from multiple arch names in the "arch" field. |
| 11678 |
-- |
| 11679 |
common/readable.c: Use new fields to build messages. |
| 11680 |
common/recipe.c: Make alchemy work for recipes with multiple base archetypes. |
| 11681 |
include/{libproto.h,sproto.h}: Update prototype. |
| 11682 |
include/recipe.h: Split string field arch_name into string list fields |
| 11683 |
arch_name and arch_names. |
| 11684 |
lib/formulae: Add archetype names to formulae for all items with same name as |
| 11685 |
the base object. Also fix a few name mismatches that prevent any object |
| 11686 |
from matching, and change transmution formulae to normal formulae where |
| 11687 |
base name does not match archetype name. |
| 11688 |
server/alchemy.c: Disable debugging code. Make alchemy work for recipes with |
| 11689 |
multiple base archetypes. |
| 11690 |
Andreas Kirschbaum 2005-10-31 |
| 11691 |
|
| 11692 |
server/c_wiz.c: Don't crash on "create" a living thing that has some part |
| 11693 |
out of the map. Forbid removing a 'PLAYER' object. |
| 11694 |
Ryo 2005-10-31 |
| 11695 |
|
| 11696 |
random_maps/style.c: Pass correct sorting function to qsort(): the sorted |
| 11697 |
array contains pointers to strings, not strings. |
| 11698 |
Andreas Kirschbaum 2005-10-29 |
| 11699 |
|
| 11700 |
Fix bug #1236244 (Exp from scrolls): reading a scroll of charm monsters or |
| 11701 |
meteor swarm now gives exp for use magic item, not summoning or pyromancy. |
| 11702 |
-- |
| 11703 |
server/spell_attack.c: In mood_change() use skill from scroll, not from spell. |
| 11704 |
In move_swarm_spell() use the spell "owner" as the object casting the |
| 11705 |
spell. |
| 11706 |
Andreas Kirschbaum 2005-10-29 |
| 11707 |
|
| 11708 |
include/config.h: DEBUG just been defined, no need to define it again. |
| 11709 |
include/win32.h: typedef for socklen_t. |
| 11710 |
random_maps/random_map.c: generate_random_map can use a const char*. |
| 11711 |
random_maps/rproto.h: fix generate_random_map definition. |
| 11712 |
server/plugins.c: EVENT_CRASH doesn't really need a parameter, especially if |
| 11713 |
not initialized :) |
| 11714 |
Ryo 2005-10-29 |
| 11715 |
|
| 11716 |
|
| 11717 |
Prevent problems (crashes) for large item piles. Now limit nrof to less than |
| 11718 |
2^31. |
| 11719 |
-- |
| 11720 |
common/object.c: In CAN_MERGE() pretend that the objects are not mergeable if |
| 11721 |
the nrof sum would overflow. |
| 11722 |
common/porting.c: Fix buffer overflow for large numbers in ltostr10(). Also |
| 11723 |
make n=1L<<31 work correctly. |
| 11724 |
plugins/cfpython/cfpython_object.c: In Object_SetQuantity() raise an exception |
| 11725 |
for negative nrof values. |
| 11726 |
plugins/common/plugin_common.c: Reject negative nrof values in |
| 11727 |
cf_object_set_nrof(). |
| 11728 |
plugins/cfanim/include/cfanim_proto.h, plugins/common/include/plugin_common.h: |
| 11729 |
Update prototype. |
| 11730 |
server/plugins.c: Treat negative nrof as nrof=0 when setting |
| 11731 |
CFAPI_OBJECT_PROP_NROF property. |
| 11732 |
server/time.c: In move_duplicator() limit nrof of created items. |
| 11733 |
Andreas Kirschbaum 2005-10-29 |
| 11734 |
|
| 11735 |
Fix compiler warnings. Most changes do not change the program (remove unused |
| 11736 |
variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix |
| 11737 |
(possible) problems (fix uninitialized variables, fix printf format |
| 11738 |
specifiers, fix mismatches between signed and unsigned variables, add missing |
| 11739 |
return and default statements). |
| 11740 |
-- |
| 11741 |
Affected files: |
| 11742 |
common/{arch.c,init.c,item.c,map.c,object.c,re-cmp.c,readable.c,region.c, |
| 11743 |
shstr.c}, crossedit/{Attr.c,Edit.c,Cnv/CnvPath.c}, include/sproto.h, |
| 11744 |
plugins/cfanim/cfanim.c, plugins/cfpython/{cfpython.c,cfpython_object.c}, |
| 11745 |
plugins/cfpython/include/{cfpython_map_private.h,cfpython_object_private.h}, |
| 11746 |
random_maps/{rogue_layout.c,special.c,square_spiral.c}, |
| 11747 |
server/{apply.c,attack.c,build_map.c,c_misc.c,c_object.c,c_party.c,init.c, |
| 11748 |
main.c,monster.c,pets.c,player.c,plugins.c,shop.c,skill_util.c,spell_util.c, |
| 11749 |
weather.c}, socket/{loop.c,request.c} |
| 11750 |
Andreas Kirschbaum 2005-10-28 |
| 11751 |
|
| 11752 |
Fixes my previous commit. Should now properly allocate/deallocate the |
| 11753 |
faces_sent array. |
| 11754 |
-- |
| 11755 |
common/player.c: Free faces_sent in free_player(). |
| 11756 |
include/newserver.h: Add field faces_sent_len to NewSocket struct. |
| 11757 |
server/player.c: Allocate and copy faces_sent in add_player(). |
| 11758 |
socket/init.c: Use faces_sent_len in InitConnection(). |
| 11759 |
socket/loop.c: Initialize faces_sent_len in doeric_server(). |
| 11760 |
Andreas Kirschbaum 2005-10-28 |
| 11761 |
|
| 11762 |
The archetypes now contain more than MAXFACENUM (5000) faces. The following |
| 11763 |
changes remove the fixed limit of the number of faces. The server now |
| 11764 |
allocates enough memory to handle all defined faces. |
| 11765 |
include/newserver.h: Remove MAXFACENUM since it is not used anymore. Change |
| 11766 |
NewSocket.faces_sent from array into pointer. |
| 11767 |
socket/{init.c, loop.c}: Allocate/initialize NewSocket.faces_sent. |
| 11768 |
socket/request.c: Remove safeguard/error message since it depends on |
| 11769 |
MAXFACENUM. |
| 11770 |
Andreas Kirschbaum 2005-10-24 |
| 11771 |
|
| 11772 |
Code improvements: |
| 11773 |
common/image.c: Declare some variables and functions as static or const; add |
| 11774 |
safeguards while loading config files; remove support for numeric face |
| 11775 |
names (no active archetype or map does use it); in free_all_images() |
| 11776 |
deallocate memory allocated for smoothing. |
| 11777 |
crossedit/xutil.c: Remove assignment to nrofpixmaps since ReadBmapNames() |
| 11778 |
already sets this variable. |
| 11779 |
include/{global.h, libproto.h, loader.h}: Remove now static variables and |
| 11780 |
functions. |
| 11781 |
Andreas Kirschbaum 2005-10-24 |
| 11782 |
|
| 11783 |
common/readable.c: Fix out of bounds access to max_titles[] in |
| 11784 |
init_book_archive(). |
| 11785 |
common/image.c, include/define.h, include/global.h: Remove unused variables |
| 11786 |
potion_face and POTION_FACE_NAME. |
| 11787 |
common/image.c, include/global.h: Remove unused variable blank_look. |
| 11788 |
Andreas Kirschbaum 2005-10-24 |
| 11789 |
|
| 11790 |
Make shout command work in old socket emulation mode. |
| 11791 |
common/commands.c: Sort all command arrays in init_commands(). |
| 11792 |
Andreas Kirschbaum 2005-10-23 |
| 11793 |
|
| 11794 |
common/item.c - fix spelling mistake |
| 11795 |
common/utils.c include/libproto.h - new function make_list_like that takes a |
| 11796 |
string of comma deliminated words, and puts an and in the right place. |
| 11797 |
include/sproto.h server/apply.c server/shop.c -new function can_pay - checks |
| 11798 |
that a player can pay for every unpaid item that they are holding before |
| 11799 |
starting to purchase them. |
| 11800 |
Brendan Lally 2005-10-21 |
| 11801 |
|
| 11802 |
plugins/cfpython/{Makefile.in, Makefile.am}, plugins/cfpython/include/cfpython.h: |
| 11803 |
Corrected improper regeneration of the function prototypes using |
| 11804 |
"make proto" for the cfpython plugin. |
| 11805 |
Gros 2005-10-20 |
| 11806 |
|
| 11807 |
plugins/cfpython/{cfpython.c, cfpython_object.c, cfpython_map.c}, |
| 11808 |
plugins/cfanim/cfanim.c, plugins/common/plugin_common.c, server/plugins.c: |
| 11809 |
Added support for execution of python_init.py upon initialization of cfpython. |
| 11810 |
Reduced the console spam produced by various leftover debugging messages. |
| 11811 |
Gros 2005-10-19 |
| 11812 |
|
| 11813 |
plugins/common/include/plugin_common.h: add CF_PLUGIN macro. |
| 11814 |
plugins/cfpython/cfpython.c: add CF_PLUGIN to exported functions. |
| 11815 |
plugins/cfpython/include/cfpython_proto.h: fix prototypes. |
| 11816 |
Ryo 2005-10-19 |
| 11817 |
|
| 11818 |
plugin/*, plugin_logger/*, plugin_anim/*, plugins/*, |
| 11819 |
server/{apply.c, attack.c, c_chat.c, c_object.c, c_wiz.c, gods.c, main.c, |
| 11820 |
monster.c, player.c, skills.c, swap.c, time.c, timers.c}, include/{plugin.h, |
| 11821 |
sproto.h}: Replaced the old plugin interface by the 2.0 one. |
| 11822 |
Upgraded the Python and Animator ones to the new interface. |
| 11823 |
Removed obsolete Logger plugin. |
| 11824 |
Gros 2005-10-19 |
| 11825 |
|
| 11826 |
server/main.c: Template Maps: Allow %x, %y, and %n in the path to respectively be |
| 11827 |
replaced with, the x coord, the y coord, and the parent map name. |
| 11828 |
Alex Schultz 2005-10-18 |
| 11829 |
|
| 11830 |
server/{main.c, swap.c}, common/map.c, include/{libproto.h, map.h}: Add support |
| 11831 |
for random template maps (still need to document, and still need to add support |
| 11832 |
for template maps created from non-random templates) |
| 11833 |
Alex Schultz 2005-10-16 |
| 11834 |
|
| 11835 |
common/info.c: fix -m1 crashing (34 chars, not 32!), and -m2 crashing under Win32. |
| 11836 |
include/sproto.h: fix cast_change_ability definition. |
| 11837 |
server/gods.c: fix cast_change_ability to hide the 'can't recast' message. |
| 11838 |
server/spell_effect.c: don't stack word of recall forces. Add a 'silent' parameter |
| 11839 |
to cast_change_ability to not display 'can't recast xx while xx is in effect' |
| 11840 |
server/spell_util.c: fix cast_change_ability call. |
| 11841 |
Ryo 2005-10-16 |
| 11842 |
|
| 11843 |
include/{global.h, sproto.h, config.h}, server/init.c, common/init.c, lib/Makefile.in: |
| 11844 |
Add directory in preparation for template (where the template can optionally be |
| 11845 |
from the random map generator) maps. |
| 11846 |
Alex Schultz 2005-10-15 |
| 11847 |
|
| 11848 |
server/c_wiz.c: make reset command show the names of other players on the |
| 11849 |
map when it fails. |
| 11850 |
Brendan Lally 2005-10-14 |
| 11851 |
|
| 11852 |
server/c_party.c: fix another obscure party crash bug |
| 11853 |
Brendan Lally 2005-10-12 |
| 11854 |
|
| 11855 |
server/c_party.c: fix a couple of loops that could crash under certain circumstances |
| 11856 |
Brendan Lally 2005-10-11 |
| 11857 |
|
| 11858 |
common/object.c: use canonical_key instead of key, else == always fails. |
| 11859 |
server/apply.c: drop "on_use_yield" item if required when applying potion, food or poison. |
| 11860 |
This lets players get empty bottles/vials/... when using potions. |
| 11861 |
Ryo 2005-10-09 |
| 11862 |
|
| 11863 |
Added GetMarkedItem to Python, cleaned compilation warnings. |
| 11864 |
plugin/plugin_python.c |
| 11865 |
plugin/include/plugin_python.h |
| 11866 |
|
| 11867 |
Moved gps code to Python script, thus cleaning relevant code from server core. |
| 11868 |
common/item.c: remove item description. |
| 11869 |
include/define.h: remove gps define. |
| 11870 |
server/apply.c: remove gps function. |
| 11871 |
Ryo 2005-10-08 |
| 11872 |
|
| 11873 |
Prevent objects from losing inventory when thrown. |
| 11874 |
include/libproto.h, common/object.c: Add new parameter "free_inventory" to |
| 11875 |
free_object(). Is set, free inventory as well instead of dropping it on the |
| 11876 |
ground. |
| 11877 |
common/object.c: In get_split_ob() prevent inventory of splitted object to be |
| 11878 |
dropped. |
| 11879 |
Andreas Kirschbaum 2005-10-07 |
| 11880 |
|
| 11881 |
common/object.c: Use object_create_clone in get_split_ob; Fixes things inside |
| 11882 |
of objects disappearing when throwing. |
| 11883 |
Alex Schultz 2005-10-7 |
| 11884 |
|
| 11885 |
Make damage done by area spells not depend on monster size. |
| 11886 |
include/sproto.h, server/attack.c: Add additional parameter "full_hit" to |
| 11887 |
hit_map() and hit_player(). If set, do full damage, if unset scale down by |
| 11888 |
monster size. |
| 11889 |
server/{apply.c, attack.c, disease.c, monster.c, player.c, rune.c, |
| 11890 |
spell_attack.c, spell_effect.c, spell_util.c, time.c}: Change callers to set |
| 11891 |
"full_hit" parameter according to the attack used. |
| 11892 |
Andreas Kirschbaum 2005-10-07 |
| 11893 |
|
| 11894 |
common/{arch.c, object.c}, crossedit/{Attr.c, Defines.h, Edit.c}, |
| 11895 |
include/libproto.h, server/{plugins.c, time.c}: Rename functions with |
| 11896 |
mixed-case names to lower case only. |
| 11897 |
crossedit/Defines.h: Remove prototypes for nonexisting functions. |
| 11898 |
Andreas Kirschbaum 2005-10-07 |
| 11899 |
|
| 11900 |
server/apply.c: In prepare_weapon() do not lose a reference to the item name. |
| 11901 |
Andreas Kirschbaum 2005-10-06 |
| 11902 |
|
| 11903 |
include/sproto.h, server/shop.c - make value_limit static, change its |
| 11904 |
arguments to add some checking for NULL pointers |
| 11905 |
Brendan Lally 2005-10-06 |
| 11906 |
|
| 11907 |
server/monster.c: In move_monster() prevent hp/sp overflows for monsters with |
| 11908 |
very high maxhp/maxsp and very high regeneration rates. |
| 11909 |
Andreas Kirschbaum 2005-10-05 |
| 11910 |
|
| 11911 |
common/treasure.c - prevent crashes with some broken treasure lists. |
| 11912 |
Brendan Lally 2005-10-05 |
| 11913 |
|
| 11914 |
server/shop.c: convert val to sint64 - compilation issues with Win32. Checked with |
| 11915 |
patch author that it's fine. |
| 11916 |
Ryo 2005-10-04 |
| 11917 |
|
| 11918 |
common/map.c - fix output names in new_save_map |
| 11919 |
-- |
| 11920 |
server/shop.c - don't assume that shop_specialisation_ratio only gets passed |
| 11921 |
items with valid types. |
| 11922 |
-- |
| 11923 |
common/map.c - /actually/ fix pointer issue |
| 11924 |
-- |
| 11925 |
common/map.c - fix potential issue with NULL pointer |
| 11926 |
Brendan Lally 2005-10-04 |
| 11927 |
|
| 11928 |
common/map.c - fix an inequality in for loop - not sure if this actually |
| 11929 |
fixes anything of note, but the previous form was definatly wrong. |
| 11930 |
|
| 11931 |
common/item.c - big item type table, function to deal therewith |
| 11932 |
common/loader.l - add player_sold flag |
| 11933 |
common/map.c - shop related header parsing |
| 11934 |
include/define.h - define typedata, player_sold flag and some new shop flags |
| 11935 |
include/libproto.h - define typedata related functions |
| 11936 |
include/map.h - define new shop headers |
| 11937 |
include/sproto.h - define new functions in shop.c |
| 11938 |
server/apply.c - Change shop mat usage message |
| 11939 |
server/c_object.c - Change display of price estimates |
| 11940 |
server/shop.c - new functions describe_shop, value_limit, shopkeeper_approval, |
| 11941 |
shop_greed, shop_specialisation_ratio, substantially alter query_cost_string |
| 11942 |
and query_cost to make use of these |
| 11943 |
server/skill_util.c - make bargaining a directly usable skill |
| 11944 |
doc/Developers/shops - document the above |
| 11945 |
doc/Developers/maps-technical - add shopheader names, and reference to shops doc |
| 11946 |
Brendan Lally 2005-10-03 |
| 11947 |
|
| 11948 |
server/disease.c: check for value <= 0 as some diseases get dumped on a map |
| 11949 |
with value == 0 (negative values will eventually underflox, but it'll take time). |
| 11950 |
|
| 11951 |
Apply patches courtesy quisar. |
| 11952 |
#1307880 Allow to add a param to the cast command |
| 11953 |
#1306987 Allow to summon lower level pet monsters |
| 11954 |
Modified files: |
| 11955 |
include/player.h sproto.h |
| 11956 |
server/c_range.c login.c pets.c player.c spell_util.c |
| 11957 |
Ryo 2005-10-01 |
| 11958 |
|
| 11959 |
common/button.c: explicit cast of stats.food to uint32 when used as sacrifice count. |
| 11960 |
common/image.c: strlen returns size_t. Remove unused FindFaceName. |
| 11961 |
common/object.c: obj::count is tag_t. Can't decrease item's nrof by a negative value. |
| 11962 |
include/libproto.h: fix prototypes. |
| 11963 |
include/player.h: weight and weight_limit are sint32, so last_ should be the same. |
| 11964 |
include/sproto.h: nrof is uint32, not int. |
| 11965 |
server/apply.c: nrof is uint32, can't eat a negative number of items. obj::count is tag_t. |
| 11966 |
server/c_misc.c: remove unused variable. |
| 11967 |
server/c_object.c: use uint32 instead of int to specify number of items to drop/put. |
| 11968 |
server/plugins.c: strlen returns size_t. |
| 11969 |
server/spell_effect.c: distances are uint32 and not int. |
| 11970 |
socket/loop.c: remove now obsolete cast of -1 to uint32 for last_weight. |
| 11971 |
socket/request.c: explicit cast of weight_limit to sint32 when comparing to last_weight. |
| 11972 |
Ryo 2005-10-01 |
| 11973 |
|
| 11974 |
plugin/plugin_python.c: added CF[SG]etWeightLimit. |
| 11975 |
plugin/include/plugin_python.h: function prototypes. |
| 11976 |
server/plugins.c: update player inventory if item teleporter from that. |
| 11977 |
Ryo 2005-09-30 |
| 11978 |
|
| 11979 |
lib/collect.pl.in: can now use lines like "attacktype fire electricity poison" instead |
| 11980 |
of hard to remember numbers. Numbers are still supported, you can even mix both. |
| 11981 |
Ryo 2005-09-28 |
| 11982 |
|
| 11983 |
server/spell_effect.c: In recharge() verify that the object to charge is in |
| 11984 |
fact a wand or staff. |
| 11985 |
Andreas Kirschbaum 2005-09-27 |
| 11986 |
|
| 11987 |
Changed quest behaviour, now uses its own archetypes. Can change npc/magic ear |
| 11988 |
text based on quest status. |
| 11989 |
Warning: not totally tested. Quest start/end works, rest needs some tweaks & fixes. |
| 11990 |
common/quest.c: new functions, some cleaning. |
| 11991 |
doc/Developers/quest: update (partially). |
| 11992 |
include/define.h: new item types. |
| 11993 |
include/libproto.h: new definitions. |
| 11994 |
server/c_misc.c: update. |
| 11995 |
server/monster.c: take into account quest overrides. |
| 11996 |
server/time.c: markers now start/end tasks if needed. |
| 11997 |
Ryo 2009-09-25 |
| 11998 |
|
| 11999 |
server/c_party.c - fix another party list corruption bug, and a couple of |
| 12000 |
possible infinite loops |
| 12001 |
Brendan Lally 2005-09-25 |
| 12002 |
|
| 12003 |
Clean some compilation warnings. |
| 12004 |
common/map.c: remove unused variable. |
| 12005 |
common/readable.c: strlen returns size_t. |
| 12006 |
include/object.h: objectlink id should be tag_t since it's the item's "count" field. |
| 12007 |
server/c_misc.c: strlen returns size_t. |
| 12008 |
server/c_object.c: strlen returns size_t. |
| 12009 |
server/c_party.c: remove_party returns void, value not used anyway. Fordward declaration. |
| 12010 |
server/c_wiz.c: settings.worldmaptiles[x|y] is uint32. |
| 12011 |
server/gods.c: strlen returns size_t. |
| 12012 |
server/hiscore.c: maxchar is const. |
| 12013 |
server/skill_util.c: strlen_returns size_t. |
| 12014 |
Ryo 2005-09-25 |
| 12015 |
|
| 12016 |
include/player.h sproto.h |
| 12017 |
server/attack.c c_party.c player.c |
| 12018 |
Fix several bugs in patch #1194964, including one that caused segfaults |
| 12019 |
one that corrupted the party list, and one that broke party password recognition |
| 12020 |
remove partyid from the party struct - use party pointers instead |
| 12021 |
remove functions find_party() and find_party_struct() - no longer needed or used. |
| 12022 |
make form_party a local function - it is only used by the party form command, |
| 12023 |
and can't easy be used safely elsewhere. |
| 12024 |
Brendan Lally 2005-09-25 |
| 12025 |
|
| 12026 |
server/build_map.c: remove unused variable. |
| 12027 |
-- |
| 12028 |
Commit patch #1194964 (party obsoletion) by cavesomething. |
| 12029 |
Affected files: |
| 12030 |
include/player.h sproto.h |
| 12031 |
server/apply.c attack.c c_party.c login.c main.c pets.c player.c |
| 12032 |
skill_util.c skills.c spell_util.c |
| 12033 |
-- |
| 12034 |
include/win32.h: turn off harmless warning. |
| 12035 |
Ryo 2005-09-24 |
| 12036 |
|
| 12037 |
Fix bug #744327 ('immortal' monsters): Prevent monsters from loosing hp or sp |
| 12038 |
if they have negative Con/Pow. For hp, this made some monsters unkillable |
| 12039 |
because they eventually had negative hp. |
| 12040 |
-- |
| 12041 |
server/monster.c: In move_monster() do gain hp/sp only if Con/Pow is positive. |
| 12042 |
Andreas Kirschbaum 2005-09-24 |
| 12043 |
|
| 12044 |
Update client inventory view for players dieing in a shop with unpaid items in |
| 12045 |
inventory. |
| 12046 |
-- |
| 12047 |
server/player.c: Send removed item to client in remove_unpaid_objects(). Do |
| 12048 |
not call remove_unpaid_objects() multiple times in kill_player(). |
| 12049 |
Andreas Kirschbaum 2005-09-17 |
| 12050 |
|
| 12051 |
Allow directors/movers to specify a specific arch/name/race. |
| 12052 |
include/sproto.h: Add should_director_abort to here. |
| 12053 |
server/{apply.c, time.c}: Add should_director_abort for the logic code |
| 12054 |
for this change, and add checks for it in director/mover code. |
| 12055 |
doc/Developers/objects: Add documentation for directors including this |
| 12056 |
change, and update mover documentation. |
| 12057 |
Alex Schultz 2005-09-15 |
| 12058 |
|
| 12059 |
Make untriggered TIMED_GATEs work again. |
| 12060 |
server/apply.c: Clear object speed only for connected objects. |
| 12061 |
Andreas Kirschbaum 2005-09-13 |
| 12062 |
|
| 12063 |
This change is mostly cosmetic and a preparation for the new movement |
| 12064 |
type code. Basically, it just changes the old object movement_type |
| 12065 |
field to attack_movement. This makes sense because that is what that |
| 12066 |
field is called in saved and loaded objects/archetypes, and thus |
| 12067 |
frees up that name for the new movement code. |
| 12068 |
-- |
| 12069 |
common/button.c: field name change |
| 12070 |
common/loader.{cl}: field name change |
| 12071 |
doc/Developers/objects: Add section on new movement types, update old |
| 12072 |
documentation to note it is attack_movement and not movement_type |
| 12073 |
field that is important. |
| 12074 |
include/object.h: field name change. |
| 12075 |
server/attack.c: field name change. |
| 12076 |
server/monster.c: field name change |
| 12077 |
server/pets.c: field name change |
| 12078 |
server/skills.c: field name change. |
| 12079 |
server/spell_attack.c: field name change |
| 12080 |
server/spell_effect.c: field name change |
| 12081 |
MSW 2005-09-12 |
| 12082 |
|
| 12083 |
Allow a DM to cast spells and prayers in no-magic/no-prayer areas. Add new |
| 12084 |
command "wizcast" to toggle this setting. |
| 12085 |
common/loader.l: Set/reset FLAG_WIZCAST for flag "wiz". |
| 12086 |
common/loader.c: Rebuilt |
| 12087 |
include/define.h: Add new flag FLAG_WIZCAST; remove unused flag |
| 12088 |
FLAG_NO_PRETEXT. |
| 12089 |
lib/Makefile.am: Add new help file for wizcast. |
| 12090 |
lib/Makefile.in: Rebuilt. |
| 12091 |
plugin_animator/plugin_animator.c: Set/reset FLAG_WIZCAST in animate_one(). |
| 12092 |
server/apply.c: Always allow FLAG_WIZCAST to enchant weapons and armour. |
| 12093 |
server/c_misc.c: Add new function command_wizcast(). |
| 12094 |
server/c_wiz.c: Set/reset FLAG_WIZCAST when entering/leaving DM mode. |
| 12095 |
server/commands.c: Add "wizcast" command. |
| 12096 |
server/spell_effect.c: Always allow FLAG_WIZCAST to use the spell probe. |
| 12097 |
server/spell_util.c: Always allow FLAG_WIZCAST to cast spells and prayers. |
| 12098 |
Andreas Kirschbaum 2005-09-09 |
| 12099 |
|
| 12100 |
server/monster.c: Set FLAG_READY_SKILL in monster_check_apply() for monsters |
| 12101 |
with skills. This fixes hill giants and trolls not throwing boulders |
| 12102 |
anymore. |
| 12103 |
server/monster.c: Add missing "break" statement in monster_can_pick(). It did |
| 12104 |
prevent some monsters from picking up scrolls. |
| 12105 |
Andreas Kirschbaum 2005-09-08 |
| 12106 |
|
| 12107 |
common/{anim.c, image.c, los.c, map.c, porting.c, treasure.c}, |
| 12108 |
include/define.h, random_maps/treasure.c, |
| 12109 |
server/{apply.c, c_misc.c, c_object.c, c_wiz.c, commands.c, daemon.c, |
| 12110 |
hiscore.c, init.c, login.c, player.c, plugins.c, resurrection.c, weather.c}, |
| 12111 |
socket/{init.c, item.c, loop.c, lowlevel.c}: Use LOG() for error messages and |
| 12112 |
debug output instead of stdout/stderr. Include filename in error messages. |
| 12113 |
server/resurrection.c: Fix error message in read_player(). |
| 12114 |
Andreas Kirschbaum 2005-09-04 |
| 12115 |
|
| 12116 |
socket/item.c: Make selecting objects from ground view work again. |
| 12117 |
common/object.c: Fix update of player's ground view in insert_ob_in_map(). |
| 12118 |
Previously the ground view was not updated after applying exits or after |
| 12119 |
being hit by a spell. |
| 12120 |
Andreas Kirschbaum 2005-09-03 |
| 12121 |
|
| 12122 |
Fix bug #1102991 (Duplicate grapical display of the same monster): |
| 12123 |
doc/Developers/protocol: Change semantics of map_scroll command to what the |
| 12124 |
server actually does: big faces outside the viewable area are cleared. Add |
| 12125 |
newmap command. |
| 12126 |
include/newserver.h: Increase MAX_HEAD_OFFSET to 8 (the size of a Greater |
| 12127 |
Demon). |
| 12128 |
socket/request.c: |
| 12129 |
MapRedrawCmd(): Disable mapredraw command; it is now just ignored. |
| 12130 |
MapNewmapCmd(): Clear map state before sending newmap command. |
| 12131 |
check_head(): Remove redundant code. |
| 12132 |
update_space(): Move invariant condition out of loop to speed it up. Fix |
| 12133 |
uninitialized variable. Remove redundant condition. Fix off-by-one array |
| 12134 |
access. |
| 12135 |
update_smooth(): Remove unused code. Properly send cleared big faces. |
| 12136 |
draw_client_map(): Remove duplicate check. Properly clear newly visible |
| 12137 |
area when scrolling the map. |
| 12138 |
Andreas Kirschbaum 2005-08-31 |
| 12139 |
|
| 12140 |
common/{loader.l, map.c, object.c}, include/{define.h, map.h, object.h}: |
| 12141 |
Accelerate map loading (a lot) and map saving (a bit) codes to improve map |
| 12142 |
transition experience. |
| 12143 |
common/loader.c: Rebuilt. |
| 12144 |
|
| 12145 |
Add (slightly reformatted) patch #1276121 (Crossedit: handle big faces) by |
| 12146 |
Kevin Rudat: |
| 12147 |
crossedit/CrEdit.c: UpdatePosition(): Use new drawing subroutines. |
| 12148 |
crossedit/CrFace.c: DrawObject(): Use new drawing subroutine. |
| 12149 |
crossedit/CrList.c: Redisplay(): Use new drawing subroutine. |
| 12150 |
crossedit/CrUtil.c, crossedit/CrUtil.h: Remove FaceDraw(), add DrawFacePart() |
| 12151 |
and DrawPartObject(). |
| 12152 |
crossedit/png.c: Upload the whole image, not just the top-left corner. |
| 12153 |
Andreas Kirschbaum 2005-08-30 |
| 12154 |
|
| 12155 |
Fix bug #1256173 (Magic drain not exploding head): |
| 12156 |
server/spell_effect.c: Prevent mana transfer to/from caster himself; also |
| 12157 |
create fireball for overcharges resulting from sucking mana. |
| 12158 |
Andreas Kirschbaum 2005-08-30 |
| 12159 |
|
| 12160 |
Fix bug #1059537 (Chainmail mutations): |
| 12161 |
common/loader.l: Remove code that "fixes" broken item names by removing a |
| 12162 |
leading material name. This effectively renames "mithril chainmails" into |
| 12163 |
"chainmails". |
| 12164 |
common/loader.c: Rebuilt. |
| 12165 |
Andreas Kirschbaum 2005-08-29 |
| 12166 |
|
| 12167 |
Fix player weapon speed/speed. There are a few bugs this fixes: |
| 12168 |
1) when player hit something, a has_hit field was set to true, to denote |
| 12169 |
they hit something and to use weapon speed. However, this was only |
| 12170 |
cleared when player issued a command. Thus, if you are running |
| 12171 |
and hit something, you'd continue at weapon_speed pace until you |
| 12172 |
needed to change direction. |
| 12173 |
2) Because has_hit was used, this basically put in a 1 tick lag - you'd hit |
| 12174 |
something, but not until objects were processed and speed given would |
| 12175 |
you get your extra speed. Likewise, after you killed something, you'd |
| 12176 |
get your burst of speed for the next tick also. |
| 12177 |
-- |
| 12178 |
server/main.c: Clear has_hit, change function to only do bounds checking, |
| 12179 |
not actually do weapon_speed adjustments. |
| 12180 |
server/player.c: Give player speed boost when they hit something. |
| 12181 |
MSW 2005-08-28 |
| 12182 |
|
| 12183 |
Add patch #1274385 by Kevin Rudat to make crossedit draw floors on tiles with |
| 12184 |
items. |
| 12185 |
crossedit/CrEdit.c: Add call to update_position() in UpdatePosition(). |
| 12186 |
Andreas Kirschbaum 2005-08-28 |
| 12187 |
|
| 12188 |
Add patch #1271417 by Kevin Rudat to stop crossedit losing regions. Patch is |
| 12189 |
slightly modified to properly handle all map fields. |
| 12190 |
crossedit/Edit.c: Copy all map fields in MapMoveScrollResize(). Do not add a |
| 12191 |
msg header to already existing maps. |
| 12192 |
crossedit/crossedit.c: Call init_regions() at program initialization. |
| 12193 |
Andreas Kirschbaum 2005-08-28 |
| 12194 |
|
| 12195 |
socket/init.c: Make setsockopt(REUSEADDR) work if using gcc in Ansi C mode on |
| 12196 |
Linux. |
| 12197 |
Andreas Kirschbaum 2005-08-28 |
| 12198 |
|
| 12199 |
common/map.c: Change default values for reset_timeout, enter_x, and enter_y |
| 12200 |
map headers to zero. In set_map_reset_time() use MAP_DEFAULTRESET if |
| 12201 |
reset_timeout is zero. This change prevents crossedit from adding these |
| 12202 |
headers by just loading and saving a map. |
| 12203 |
include/config.h: Add MAP_DEFAULTRESET. |
| 12204 |
Andreas Kirschbaum 2005-08-27 |
| 12205 |
|
| 12206 |
server/rune.c: Fix crash if casting disarm out of map bounds. |
| 12207 |
server/spell_effect.c: Fix crash if casting polymorph out of map bounds. |
| 12208 |
Andreas Kirschbaum 2005-08-25 |
| 12209 |
|
| 12210 |
Apply patch 1200555 - addition of key/value lists which allows arbitrary |
| 12211 |
storing of data in objects - see doc/Developers/key-value for more |
| 12212 |
information |
| 12213 |
--- |
| 12214 |
loader.l, loader.c: Add add_key_value() function which parses the unknown |
| 12215 |
line in the object/archetype. Update get_ob_diff() to make differences |
| 12216 |
for the key/value lists. |
| 12217 |
common/object.c: Add functions for properly comparing the key/value lists, |
| 12218 |
setting and getting the vaues, clearing values upon freeing of object, |
| 12219 |
etc. |
| 12220 |
doc/Developers/Makefile.am: Add key-value file. |
| 12221 |
doc/Developers/key-value: Documentation of this feature. |
| 12222 |
include/libproto.h: Rebuilt |
| 12223 |
include/object.h: Addition of key_value struct, addition of key_values |
| 12224 |
field to object. |
| 12225 |
MSW 2005-08-22 |
| 12226 |
|
| 12227 |
socket/request.c: Fix range checking of toggleextendedtext parameters. |
| 12228 |
Andreas Kirschbaum 2005-08-17 |
| 12229 |
|
| 12230 |
The following fix code that basically does "for(x = pos-5; x < pos+5; x++)". |
| 12231 |
This is not correct because it includes "pos-5" but not "pos+5". |
| 12232 |
common/los.c: Make lighted distance equal in all directions. |
| 12233 |
server/disease.c: Make infection distance equal in all directions. |
| 12234 |
server/monster.c: Make lighted distance equal in all directions. |
| 12235 |
Andreas Kirschbaum 2005-08-17 |
| 12236 |
|
| 12237 |
Add patch by Kevin Rudat for applyable but non |
| 12238 |
pickable objects to have item items. |
| 12239 |
doc/Dvelopers/objects: Update item types. |
| 12240 |
socket/item.c: Use the head of any objects we send. Should generally |
| 12241 |
only be an issue for objects on the ground, as currently there is no |
| 12242 |
large objects players can pick up. Also fix up some of the formatting/ |
| 12243 |
indenting in this file. |
| 12244 |
MSW 2005-08-16 |
| 12245 |
|
| 12246 |
server/attack.c, include/define.h, common/loader.l doc/Developers/objects: |
| 12247 |
Add a flag FLAG_IS_LIGHTABLE, to make lightable objects such as lanterns |
| 12248 |
able to work again |
| 12249 |
lib/archetypes: recollect archs |
| 12250 |
Brendan Lally 2005-08-16 |
| 12251 |
|
| 12252 |
server/build_map.c: Add support for buildable signs, and magic mouths/ears. |
| 12253 |
Alex Schultz 2005-08-15 |
| 12254 |
|
| 12255 |
lib/Makefile.am, lib/Makefile.in: Actually install help file for showpets. |
| 12256 |
common/living.c, include/living.h: Make global arrays really const. |
| 12257 |
Andreas Kirschbaum 2005-08-15 |
| 12258 |
|
| 12259 |
server/gods.c: Fix crash for monsters without appropriate god. |
| 12260 |
server/gods.c: Add missing braces around body of if statement. |
| 12261 |
Andreas Kirschbaum 2005-08-14 |
| 12262 |
|
| 12263 |
NPCs instead of being given a random god are for preference given the god that |
| 12264 |
likes their race. If one can't be found, then we fall back to a random god. |
| 12265 |
Affected files: |
| 12266 |
server/gods.c include/sproto.h |
| 12267 |
Brendan Lally 2005-08-12 |
| 12268 |
|
| 12269 |
String fields in structures using add_string are now const char*. Functions in |
| 12270 |
shstr (add_refcount, add_string, free_string, ...) now take/return const char*. |
| 12271 |
More argument replacing from char* to const char*. |
| 12272 |
Fixed a potential string corruption in recipe.c (when dumping) and readable.c (was |
| 12273 |
using strtok on a add_string-ed string, when strtok changes argument). |
| 12274 |
Fixed a few type mismatch on qsort calls. |
| 12275 |
Global char arrays (messages and such) are const char* too. |
| 12276 |
Removed unused typedefs / structures. |
| 12277 |
|
| 12278 |
Affected files: |
| 12279 |
common/anim.c image.c info.c item.c living.c object.c quest.c readable.c recipe.c |
| 12280 |
shstr.c treasure.c |
| 12281 |
include/arch.h commands.h define.h face.h funcpoint.h global.h god.h libproto.h |
| 12282 |
living.h map.h material.h object.h player.h race.h recipe.h skills.h sproto.h treasure.h |
| 12283 |
random_maps/random_map.h reader.[cl] style.c |
| 12284 |
server/apply.c attack.c c_object.c c_range.c c_wiz.c gods.c |
| 12285 |
main.c monster.c pets.c player.c plugins.c resurrection.c shop.c skill_util.c skills.c |
| 12286 |
spell_attack.c spell_effect.c time.c timers.c |
| 12287 |
socket/item.c |
| 12288 |
|
| 12289 |
Ryo 2005-08-12 |
| 12290 |
|
| 12291 |
Arguments are now const char* instead of char* when available. This ensures |
| 12292 |
the variable is not changed in random places. |
| 12293 |
Affected files: |
| 12294 |
common/porting.c quest.c readable.c recipe.c re-cmp.c shstr.c treasure.c |
| 12295 |
include/libproto.h sproto.h win32.h |
| 12296 |
server/c_misc.c c_object.c c_party.c c_wiz.c egoitem.c gods.c hiscore.c init.c login.c |
| 12297 |
main.c monster.c player.c resurrection.c rune.c shop.c skill_util.c skills.c |
| 12298 |
spell_effect.c spell_util.c win32.c |
| 12299 |
Ryo 2005-08-12 |
| 12300 |
|
| 12301 |
Add help for showpets, and update help for killpets |
| 12302 |
lib/help/{showpets, killpets} |
| 12303 |
Add a new command 'showpets' to give a numbered list of the pets that a player |
| 12304 |
controls. These numbers can be passed to showpets to give more detail about one |
| 12305 |
pet, or they can be passed to killpets to control which pets are killed. |
| 12306 |
Also allow killpets to take a name as an argument. Affected files: |
| 12307 |
include/sproto.h |
| 12308 |
server/{c_misc.c, commands.c} |
| 12309 |
Make random maps take the region of the map creates them. Affected files: |
| 12310 |
random_maps/{random_maps.h, random_maps.c} |
| 12311 |
server/main.c |
| 12312 |
Brendan Lally 2005-08-11 |
| 12313 |
|
| 12314 |
------------------------------------------------------------------------------ |
| 12315 |
Changes for 1.8.0: |
| 12316 |
|
| 12317 |
Update for release 1.8.0. |
| 12318 |
include/Makefile.am: missing quest.h file |
| 12319 |
Rest automatic rebuild |
| 12320 |
MSW 2005-08-10 |
| 12321 |
|
| 12322 |
Replaced "depletion" by ARCH_DEPLETION (defined in object.h). Affected files: |
| 12323 |
common/living.c |
| 12324 |
include/object.h |
| 12325 |
server/apply.c gods.c spell_effect.c |
| 12326 |
Ryo 2005-08-10 |
| 12327 |
|
| 12328 |
server/player.c: Set map for arrow as returned by get_map_flags - |
| 12329 |
otherwise when firing at edge of tiled maps, arrows could end up |
| 12330 |
in wrong place. |
| 12331 |
MSW 2005-08-09 |
| 12332 |
|
| 12333 |
include/config.h: Make DEBUG default - appears last commit changed this |
| 12334 |
as unrelated to actual changes in place. |
| 12335 |
include/sproto.h: Rebuild |
| 12336 |
server/player.c: fire_bow() - add checks for wall/out of map. fire_bow() |
| 12337 |
wasn't using right coordinates on check, which caused problems in |
| 12338 |
threewide mode at edge of maps. |
| 12339 |
MSW 2005-08-07 |
| 12340 |
|
| 12341 |
plugin_logger/plugin_logger.c: make it compile under Win32. |
| 12342 |
Ryo 2005-07-30 |
| 12343 |
|
| 12344 |
server/player.c: fix crash when news or rules > HUGE_BUF. |
| 12345 |
Ryo 2005-07-29 |
| 12346 |
|
| 12347 |
server/{monster.c, pets.c}: Fix bugs in arena petmode and clean up most of |
| 12348 |
it's logic into it's own function. |
| 12349 |
lib/help/petmode: Document the arena petmode in the "help petmode" output. |
| 12350 |
Alex Schultz 2005-07-28 |
| 12351 |
|
| 12352 |
server/skills.c: use correct sp/grace for inscription. |
| 12353 |
Ryo 2005-07-27 |
| 12354 |
|
| 12355 |
The following changes prevent spells in player's inventories from being |
| 12356 |
damaged by casting spells, using skills, or praying. |
| 12357 |
server/attack.c: Limit cancellation and acid attacks to visible objects only. |
| 12358 |
server/gods.c: Limit god granted remove curse/damnation to visible objects |
| 12359 |
only. |
| 12360 |
server/skills.c: Limit the skills sense curse and sense magic to visible |
| 12361 |
objects only. |
| 12362 |
server/spell_effect.c: Limit the spells detect curse and detect magic to |
| 12363 |
visible objects only. |
| 12364 |
Andreas Kirschbaum 2005-07-26 |
| 12365 |
|
| 12366 |
server/skill_util.c: don't try to send a message if monster killed/removed. |
| 12367 |
Ryo 2005-07-23 |
| 12368 |
|
| 12369 |
socket/init.c: settings values to 0 before using'em works better, usually ^_- |
| 12370 |
Ryo 2005-07-22 |
| 12371 |
|
| 12372 |
random_maps/random_map.h: Add prototype for set_random_map_variable(). |
| 12373 |
server/main.c: Remove prototype for set_random_map_variable(). |
| 12374 |
lib/Makefile.am, lib/Makefile.in, lib/help/whereabouts: Add help for |
| 12375 |
whereabouts command. |
| 12376 |
server/apply.c: Properly terminate destination string with '\0' in |
| 12377 |
apply_item_transformer(). Avoid clearing the string buffer multiple times. |
| 12378 |
Andreas Kirschbaum 2005-07-20 |
| 12379 |
|
| 12380 |
doc/Developers/item_transformation: fixed documentation. |
| 12381 |
server/apply.c: remove incorrect comment. Item transformer uses food for max use. |
| 12382 |
Replaced some hardcoded values with define. Modified files: |
| 12383 |
common/arch.c |
| 12384 |
include/object.h |
| 12385 |
plugin/plugin_python.c |
| 12386 |
server/apply.c attack.c build_map.c spell_attack.c spell_effect.c time.c |
| 12387 |
Ryo 2005-07-19 |
| 12388 |
|
| 12389 |
include/win32.h: add PLUGIN_SUFFIX definition. |
| 12390 |
Ryo 2005-07-18 |
| 12391 |
|
| 12392 |
server/plugins.c: Merge mostly identical code from #ifdef WIN32 and #else |
| 12393 |
blocks. Use opendir/readdir/closedir instead scandir for Unix because WIN32 |
| 12394 |
probably does not have these functions. Prevent loading one plugin multiple |
| 12395 |
times. |
| 12396 |
include/sproto.h: Update prototypes for plugin functions. |
| 12397 |
server/c_wiz.c: Add success/failure messages to plugin and plugout commands. |
| 12398 |
Do not crash due to missing parameter. |
| 12399 |
Andreas Kirschbaum 2005-07-18 |
| 12400 |
|
| 12401 |
server/pets: Fix off-by-one error in follow_owner(). |
| 12402 |
server/c_wiz: Allow the summon and teleport commands to place the summoned |
| 12403 |
player/DM north-west of DM/player. |
| 12404 |
Andreas Kirschbaum 2005-07-17 |
| 12405 |
|
| 12406 |
Use const char* instead of char* when possible. Remove unused variables in weather code. |
| 12407 |
Affected files: |
| 12408 |
common/map.c region.c utils.c |
| 12409 |
crossedit/stubs.c |
| 12410 |
include/funcpoint.h libproto.h sproto.h |
| 12411 |
random_maps/standalone.c |
| 12412 |
server/weather.c |
| 12413 |
Ryo 2005-07-17 |
| 12414 |
|
| 12415 |
server/apply.c: Make converters that increase value non-functional. |
| 12416 |
Andreas Kirschbaum 2005-07-17 |
| 12417 |
|
| 12418 |
server/{monster.c, pets.c}: Fixed bug in previous commit of arena petmode |
| 12419 |
that cause pets that should be friendly to eachother to fight. |
| 12420 |
Alex Schultz 2005-07-16 |
| 12421 |
|
| 12422 |
common/{map.c, readable.c, treasure.c}, |
| 12423 |
crossedit/{Attr.c, png.c, Cnv/{CnvFiles.c, CnvPath.c}}, |
| 12424 |
plugin_animator/plugin_animator.c, |
| 12425 |
plugin_logger/maps.c, |
| 12426 |
server/{alchemy.c, c_misc.c, c_wiz.c, init.c, main.c, monster.c, pets.c, |
| 12427 |
player.c, resurrection.c, rune.c, skills.c, spell_effect.c, time.c, |
| 12428 |
weather.c}: |
| 12429 |
Fix spelling errors in string constants. |
| 12430 |
server/c_misc.c: Remove superfluous trailing '\0' from strings. |
| 12431 |
Andreas Kirschbaum 2005-07-15 |
| 12432 |
|
| 12433 |
server/{c_misc.c, monster.c, pets.c}, include/player.h: Add new "arena" |
| 12434 |
petmode which allows pets to attack players and other pets while in the |
| 12435 |
arena. |
| 12436 |
Alex Schultz 2005-07-16 |
| 12437 |
|
| 12438 |
*Makefile.in, aclocal.m4, configure: Rebuilt generated files. |
| 12439 |
lib/Makefile.am: Update list of help files to install. |
| 12440 |
server/skills.c: Do not reveal a hidden DM in attempt_jump(). |
| 12441 |
server/skills.c: Do not reveal a hidden DM in steal(). |
| 12442 |
server/player.c: Ignore hidden DM in stand_near_hostile(). Formerly it always |
| 12443 |
returned false if a hidden DM was present. |
| 12444 |
Andreas Kirschbaum 2005-07-15 |
| 12445 |
|
| 12446 |
server/c_object.c: Improved pickup. You can now do pickup +bow, or pickup -shield. |
| 12447 |
Much simpler then fiddling with sums of 2^x values. |
| 12448 |
Ryo 2005-07-15 |
| 12449 |
|
| 12450 |
server/c_party.c: Make party passwords with a length of 8 characters work |
| 12451 |
again. |
| 12452 |
lib/artifacts: Fix type of lockpicks of quality/high quality. |
| 12453 |
Andreas Kirschbaum 2005-07-15 |
| 12454 |
|
| 12455 |
Those commits remove the dependency on the plugin towards the library. All functions |
| 12456 |
used from the plugin are hooked, instead of being called directly. This fixes bugs |
| 12457 |
under Windows, and simplifies compilation. Also, many new callbacks were defined. |
| 12458 |
Affected files: |
| 12459 |
include/plugin.h plugproto.h sproto.h |
| 12460 |
plugin/plugin_python.c |
| 12461 |
server/plugins.c |
| 12462 |
Note that at some point some functions could be moved out of plugin_python and put in |
| 12463 |
plugin_general to be shared between different plugins. |
| 12464 |
Ryo 2005-07-15 |
| 12465 |
|
| 12466 |
Those commits remove the whole "glue/callback" logic. Instead functions are just |
| 12467 |
defined as external, and should be implemented (even as dummy) by all programs. |
| 12468 |
Affected files: |
| 12469 |
common/arch.c button.c glue.c init.c item.c living.c logger.c los.c map.c object.c |
| 12470 |
time.c treasure.c |
| 12471 |
crossedit/stubs.c: new file with dummy functions. |
| 12472 |
crossedit/Makefile.[in|am]: add this new file. |
| 12473 |
include/funcpoint.h libproto.h sproto.h |
| 12474 |
random_maps/standalone.c: add dummy functions for those externals. |
| 12475 |
server/init.c: remove obsolete setup_library() |
| 12476 |
|
| 12477 |
Added a wrapper function for check_trigger from plugins. |
| 12478 |
include/plugin.h: new function |
| 12479 |
server/plugins.c: wrapper for check_trigger. |
| 12480 |
|
| 12481 |
Ryo 2005-07-15 |
| 12482 |
|
| 12483 |
plugin/plugin_python.c: (add|free)_string should *not* be called directly under Win32. |
| 12484 |
Therefore let's use the hooks. Also, when removing an object, better check it's not the |
| 12485 |
current object (CFPython.RemoveObject(CFPython.WhoAmI()) anyone?). |
| 12486 |
Ryo 2005-07-15 |
| 12487 |
|
| 12488 |
server/spell_util.c: use on_same_map instead of checking directly map pointers. |
| 12489 |
Ryo 2005-07-15 |
| 12490 |
|
| 12491 |
Those changes implement a quest tracking system. Check the doc/quests document for more info. |
| 12492 |
common/quest.c: new file with a few quests-related functions. |
| 12493 |
doc/Developers/mapguide: point to quests file for instructions on quests. |
| 12494 |
doc/Developers/quests: new file with instructions on how to use quests, |
| 12495 |
and implementation details. |
| 12496 |
doc/Developers/README: added quests file. |
| 12497 |
include/libproto.h: new functions in quest.c. |
| 12498 |
include/quest.h: new file with a few defines for quests. |
| 12499 |
include/sproto.h: new function command_quest, update talk_to_wall definition. |
| 12500 |
lib/help/quests: new help file for quests command. |
| 12501 |
server/c_misc: new command_quests function. |
| 12502 |
server/commands.c: link command_quests to "quests". |
| 12503 |
server/monster.c: update talk_to_wall and talk_to_npc to check for quests. |
| 12504 |
server/time.c: modify marker behaviour to handle quests. |
| 12505 |
Ryo 2005-07-14 |
| 12506 |
|
| 12507 |
common/{button.c, treasure.c, utils.c}, server/{c_wiz.c, login.c, shop.c, |
| 12508 |
skill_util.c, spell_effect.c}, socket/{image.c, item.c}: Fix printf like |
| 12509 |
format specifiers. At least one of them fixes a means to crash the server. |
| 12510 |
Andreas Kirschbaum 2005-07-14 |
| 12511 |
|
| 12512 |
Those changes introduce party spells. Casted spell should be defined through 'other_arch' |
| 12513 |
field. Note that this needs through testing to make sure it works as intended. |
| 12514 |
include/spells.h: new spell type, 'party spell'. |
| 12515 |
server/spell_util.c: new spell type, party spell. |
| 12516 |
Ryo 2005-07-10 |
| 12517 |
|
| 12518 |
server/{login.c, player.c}: Fix buffer overflow with pl->title. Based on patch |
| 12519 |
by Scott Kullberg. |
| 12520 |
crossedit/{Edit.c, Cnv/CnvPrompt.c}, server/{ban.c, hiscore.c, login.c, |
| 12521 |
player.c, shop.c, win32.c}: Properly terminate destination string of strncpy |
| 12522 |
with '\0'. |
| 12523 |
server/init.c: Fix error message. |
| 12524 |
Andreas Kirschbaum 2005-07-10 |
| 12525 |
|
| 12526 |
configure.ac, configure, aclocal.m4, Makefile.in: Add AM_MAINTAINER_MODE |
| 12527 |
macro to configure.ac - this should hopefully supress auto regeneration of |
| 12528 |
makefiles.in |
| 12529 |
MSW 2005-07-08 |
| 12530 |
|
| 12531 |
Add a --with-python option to configure. Also, update the python |
| 12532 |
detection script to check for 2.5 (not out yet, but might as well be prepared.) |
| 12533 |
Will try to commit files in proper order so that dependency checking is correct |
| 12534 |
and it won't try to rebuild makefiles or other files. |
| 12535 |
-- |
| 12536 |
acinclude: Updated checks for --with-python |
| 12537 |
aclocal.m4: updated |
| 12538 |
configure.ac,configure: Updated checks for --with-python |
| 12539 |
config.sub, config.guess - update to latest versions |
| 12540 |
INSTALL: Updated build directions |
| 12541 |
MSW 2005-07-08 |
| 12542 |
|
| 12543 |
lib/Makefile.am, lib/Makefile.in: Remove map_check from normal distribution |
| 12544 |
due to different license on file. |
| 12545 |
random_maps/monster.c: Reduce monster density on random maps - take into account |
| 12546 |
size of monsters when calculating density. |
| 12547 |
utils/metaserver.pl.in: At a timeout value that limits how often clients can |
| 12548 |
ask for metaserver info. |
| 12549 |
MSW 2005-07-08 |
| 12550 |
|
| 12551 |
lib/settings: Turn of fastclock as default option. |
| 12552 |
socket/loop.c: Change behaviour of metaserver/flushmaps/watchdog |
| 12553 |
calls if fastclock is set - don't do those any faster than normal. |
| 12554 |
MSW 2005-06-22 |
| 12555 |
|
| 12556 |
Server can now be used as a Windows server, with command-line options |
| 12557 |
-regsrv (register server and exit), -unregsrv (unregister server and exit) |
| 12558 |
and -srv (should not be used directly, for the service control manager call). |
| 12559 |
server/init.c: add command-line options. |
| 12560 |
server/main.c: loop is no more infinite under Windows. Save and clean after it, too. |
| 12561 |
server/win32.c: add service routines. |
| 12562 |
Ryo 2005-06-22 |
| 12563 |
|
| 12564 |
common/living.c: Print correct message when (un-)wearing items with negative |
| 12565 |
luck. |
| 12566 |
Andreas Kirschbaum 2005-06-14 |
| 12567 |
|
| 12568 |
include/living.h: Patch from Kari Pahula to remove obsolete variable |
| 12569 |
declarations. |
| 12570 |
Andreas Kirschbaum 2005-06-01 |
| 12571 |
|
| 12572 |
server/skill_util.c: Print correct permanent experience ratio for experience |
| 12573 |
values >2 billion. |
| 12574 |
Andreas Kirschbaum 2005-05-22 |
| 12575 |
|
| 12576 |
server/apply.c: Do not unlock LAMP items when turning them on or off. |
| 12577 |
server/apply.c: Fix CONVERTER items with slaying "money" to trigger for MONEY |
| 12578 |
items only. |
| 12579 |
server/player.c: Generate proper plural name for player's gravestones. |
| 12580 |
Andreas Kirschbaum 2005-05-21 |
| 12581 |
|
| 12582 |
Ensure that object->msg always has a trailing \n character. This is necessary |
| 12583 |
to prevent corrupted map files. |
| 12584 |
plugin/plugin_python.c: Add trailing \n to message set by |
| 12585 |
CFPython.SetMessage() if not already present. |
| 12586 |
server/plugins.c: Add trailing \n to message set by HOOK_TELEPORTOBJECT if not |
| 12587 |
already present. |
| 12588 |
server/rune.c: Add trailing \n to rune messages. |
| 12589 |
Andreas Kirschbaum 2005-05-21 |
| 12590 |
|
| 12591 |
Apply qal21's patch [ #1205421 ]: Implement new Python functions: |
| 12592 |
GetArchType, GetFacing, GetLevel. |
| 12593 |
plugin/plugin_python.c, plugin/include/plugin_python.h: Add new functions. |
| 12594 |
doc/Developers/python: Describe new functions. |
| 12595 |
Andreas Kirschbaum 2005-05-20 |
| 12596 |
|
| 12597 |
server/monster.c: Fix monsters to cast spells from spellbooks. |
| 12598 |
Andreas Kirschbaum 2005-05-15 |
| 12599 |
|
| 12600 |
Fixed compilation issue. |
| 12601 |
server/apply.c: can't declare a variable after some function call. |
| 12602 |
socket/info.c: removed unused variable. |
| 12603 |
Ryo 2005/05/07 |
| 12604 |
|
| 12605 |
Corrected code to compile under -ansi gcc flag: |
| 12606 |
* correction of some non posix compatible calls around scandir |
| 12607 |
* changing configure to detect the absence of 'alphasort' prototype |
| 12608 |
* converted some '//' comment to /**/ one |
| 12609 |
* reran automake1.8/autoconf2.50/autheader2.50 |
| 12610 |
Note even it it compiles with -ansi -pedantic, it still need cleanup to |
| 12611 |
get 64 bits experience code working! |
| 12612 |
Tchize 2005/05/07 |
| 12613 |
|
| 12614 |
Applied Casper1's patch [ #1193516 ] for Hurd support. |
| 12615 |
* socket/lowlevel.c: #ifdef some code part that won't work. |
| 12616 |
Change some char* to const char*, when values shouldn't be changed. Changed files: |
| 12617 |
* include/libproto.h |
| 12618 |
* common/arch.c |
| 12619 |
* common/living.c |
| 12620 |
Ryo 2005-05-03 |
| 12621 |
|
| 12622 |
Change some char* to const char*, when values shouldn't be changed. Changed files: |
| 12623 |
* include/sproto.h |
| 12624 |
* socket/info.c |
| 12625 |
* socket/item.c |
| 12626 |
Ryo 2005-04-30 |
| 12627 |
|
| 12628 |
Change some char* to const char*, when values shouldn't be changed. Changed files: |
| 12629 |
* include/sproto.h |
| 12630 |
* server/apply.c |
| 12631 |
* server/ban.c |
| 12632 |
* server/spell_util.c |
| 12633 |
Ryo 2005-04-27 |
| 12634 |
|
| 12635 |
server/skills.c: Change it so that jeweler skill is used to identify |
| 12636 |
amulets, not alchemy skill. |
| 12637 |
MSW 2005-04-27 |
| 12638 |
|
| 12639 |
Apply patch 1190107 so server compiles on HURD. |
| 12640 |
common/porting.c: Add define for MAXPATHLEN |
| 12641 |
socket/init.c: Add check for __GNU__ for setsockopt() |
| 12642 |
MSW 2005-04-27 |
| 12643 |
|
| 12644 |
Change to have objects generated by creator properly fixed up (material, |
| 12645 |
for potions, spell object, etc). |
| 12646 |
--- |
| 12647 |
common/treasure.c: add GT_MINIMAL flag to change_treasure() to do minimal |
| 12648 |
processing for objects created. |
| 12649 |
include/treasure.h: Add GT_MINIMAL define. |
| 12650 |
server/apply.c: Add call to fix_generated_item() in convert_item() |
| 12651 |
MSW 2005-04-27 |
| 12652 |
|
| 12653 |
Various minor bugfixes. |
| 12654 |
common/los.c: Patch to fix negative lighting. Use isqrt instead of sqrt, |
| 12655 |
so we only want integer values anyways. |
| 12656 |
include/libproto.h, include/sproto.h: Rebuilt as there were some improperly |
| 12657 |
matching prototypes. |
| 12658 |
random_maps/rogue_layout.c: Replace sqrt with isqrt calls. |
| 12659 |
server/c_misc.c: Make name_cmp() a static declaration so it won't be put |
| 12660 |
in the sproto.h file. |
| 12661 |
server/init.c: Remove /* within comment string. |
| 12662 |
server/monster.c: Change sqrt to isqrt |
| 12663 |
MSW 2005-04-16 |
| 12664 |
|
| 12665 |
Those changes are just changing char* to const char* in some function |
| 12666 |
prototypes. |
| 12667 |
Affected files: |
| 12668 |
common/recipe.c |
| 12669 |
common/region.c |
| 12670 |
common/treasure.c |
| 12671 |
common/utils.c |
| 12672 |
include/libproto.h: match headers. |
| 12673 |
server/main.c |
| 12674 |
Ryo 2005-04-16 |
| 12675 |
|
| 12676 |
Those changes add the ability to transform items through 'item_transformer' |
| 12677 |
(163)-type items |
| 12678 |
See doc/Developers/item_transformation for more info. |
| 12679 |
common/item.c: don't display 'slaying' field for food. |
| 12680 |
include/define.h: add new 'ITEM_TRANSFORMER' type. |
| 12681 |
include/sproto.h: add new function 'apply_item_transformer'. |
| 12682 |
server/apply.c: new 'apply_item_transformer' function to handle that item type. |
| 12683 |
Ryo 2005-04-15 |
| 12684 |
|
| 12685 |
common/map.c: map pathnames are now const char*, no reason for something else. |
| 12686 |
common/region.c: remove unused variable. |
| 12687 |
include/libproto.h: update functions definitions. |
| 12688 |
include/sproto.h: weathermap_to_worldmap_corner now returns a const char*. |
| 12689 |
include/win32.h: define missing NAME_MAX as MAX_BUF. |
| 12690 |
server/c_misc.c: remove unused variable. Use const char* when possible. |
| 12691 |
server/weather.c: weathermap_to_worldmap_corner now uses const char* as |
| 12692 |
return type. |
| 12693 |
Ryo 2005-04-14 |
| 12694 |
|
| 12695 |
Random map code improvements - add support for subdirectories in the |
| 12696 |
style maps for random maps. Add difficulty_increase parameter for random |
| 12697 |
maps to control how fast they get harder. |
| 12698 |
doc/Developers/random-maps: Add notes about difficulty_increase parameter. |
| 12699 |
random_maps/Makefile.am: Update proto directive to use cproto, not cextract. |
| 12700 |
random_maps/random_map.c: Update to use difficulty_increase when figuring |
| 12701 |
difficulty of maps. Add code to save it in list of parameters. |
| 12702 |
random_maps/random_map.h: Add difficulty_increase field to structure. |
| 12703 |
random_maps/reader.l, reader.c: Add code to find difficulty_increase parameter. |
| 12704 |
random_maps/rproto.h: rebuilt. |
| 12705 |
random_maps/special.c: Pass in difficulty increase to |
| 12706 |
write_parameters_to_string() |
| 12707 |
random_maps/style.c: Remove old scandir - replaced by our own load_dir() - |
| 12708 |
necessary because we need to check type of files, which scandir doesn't |
| 12709 |
easily let us do. Since it is now our own routine, just return |
| 12710 |
array of file names instead of dirent structures. |
| 12711 |
MSW 2005-04-13 |
| 12712 |
|
| 12713 |
utils/Makefile.am: Add cfmeta-rrd to list of files to add to distributions |
| 12714 |
utils/cfmeta-rrd: Example of sample script that takes data and stores it into |
| 12715 |
rrd file and draws graphs (new file). |
| 12716 |
utils/metaserver.pl.in: Add recording of useful stats to external file so they |
| 12717 |
can be processed by other external scripts. |
| 12718 |
MSW 2005-04-13 |
| 12719 |
|
| 12720 |
server/shop.c: Pass in player object to pay_from_container() - code was |
| 12721 |
trying to deref pouch->contr which was null. Only occurs when player |
| 12722 |
has 2 different money objects of the same type, but 2 crashes observed |
| 12723 |
on metalforge. |
| 12724 |
MSW 2005-04-13 |
| 12725 |
|
| 12726 |
socket/image.c: Change esrv_send_face to check for <=0 instead of <0 on face |
| 12727 |
number. |
| 12728 |
socket/request.c: Change if statement that acted improperly to determine when |
| 12729 |
to send faces. |
| 12730 |
MSW 2005-03-27 |
| 12731 |
|
| 12732 |
include/sproto.h: get_who_escape_code_value is void, not void*. |
| 12733 |
server/c_misc.c: move local function outside the function. |
| 12734 |
server/c_wiz.c: remove sleep( 1 ) that would cause whole server to sleep one |
| 12735 |
sec. |
| 12736 |
Ryo 2005-03-23 |
| 12737 |
|
| 12738 |
common/living.c: Allow luck to drop back to zero. Limit bad luck object to |
| 12739 |
+/-100 to prevent overflows. |
| 12740 |
Andreas Kirschbaum 2005-03-22 |
| 12741 |
|
| 12742 |
common/living.c: When randomly adjusting luck, change both op->stats.luck and |
| 12743 |
the applied bad_luck object. |
| 12744 |
server/attack.c: Do not decrease luck if a player kills himself with a spell |
| 12745 |
or pet. |
| 12746 |
Andreas Kirschbaum 2005-03-20 |
| 12747 |
|
| 12748 |
server/c_wiz.c: change command_free() and command_remove() to always |
| 12749 |
process the head of the object - doing this operations on the non head |
| 12750 |
will typically always cause problems. |
| 12751 |
MSW 2005-03-19 |
| 12752 |
|
| 12753 |
This change makes it so that the smoothing information is pushed to the client |
| 12754 |
(if the client is using smoothing) instead of a process were we tell the |
| 12755 |
client the smoothlevel and the client then has to request the face info for |
| 12756 |
smoothing. If we know the client wants the info, much easier to push it to |
| 12757 |
the client. This simplifies the client code (doesn't have to keep track |
| 12758 |
of what is requests). It also fixes the 'problem' that when you join the |
| 12759 |
game, you get a few frames with no smoothing and then the smoothing shows |
| 12760 |
up, which seems a bit odd. My testing shows that old clients that want |
| 12761 |
smoothing use this new logic withouth any problems. |
| 12762 |
-- |
| 12763 |
common/image.c: add smooth_face default so that we don't have to look it |
| 12764 |
up everytime. |
| 12765 |
include/define.h: Add SMOOTH_FACE_NAME used by image.c |
| 12766 |
include/global.h: Add smooth_face extern declaration. |
| 12767 |
include/newserver.h: Update comment on what faces_sent is used for, |
| 12768 |
add NS_FACESENT_* values which determines what info for the face was |
| 12769 |
sent. |
| 12770 |
socket/image.c, socket/init.c, socket/item.c: Update faces_sent checks/set |
| 12771 |
to check against NS_FACESENT bitmask. |
| 12772 |
socket/request.c: Update faces_sent as mentioned above. And SendSmooth(), |
| 12773 |
rewrite AskSmooth() to use SendSmooth(). Modify update_smooth() |
| 12774 |
to send smoothing information to the client. |
| 12775 |
MSW 2005-03-19 |
| 12776 |
|
| 12777 |
common/map.c: Clean up if statement ins blocked_link() which caused warning |
| 12778 |
messages - broke it apart to make it a little clear. Add check for |
| 12779 |
premature end of map header - make code more resilent in case of truncated |
| 12780 |
saved maps. Fix saving of region name in new_save_map() - saving the |
| 12781 |
pointer to the region isn't what the loader is expecting, and is highly |
| 12782 |
non portable even if it was. |
| 12783 |
MSW 2005-03-18 |
| 12784 |
|
| 12785 |
Applied patch: |
| 12786 |
* #1145089 (cavesomething): Region support. |
| 12787 |
common/Makefile.am: add new 'region.c' file. |
| 12788 |
common/init.c: add 'REGIONS' setting. |
| 12789 |
common/map.c: add 'region' map key. |
| 12790 |
include/config.h: add regions file default name. |
| 12791 |
include/global.h: add 'first_region' global variable and settings. |
| 12792 |
include/libproto.h: add region.c functions prototypes. |
| 12793 |
include/map.h: add region structure. |
| 12794 |
include/sproto.h: add new region-related command. |
| 12795 |
lib/Makefile.am: add 'regions' file. |
| 12796 |
lib/regions (new): regions definition file. |
| 12797 |
server/c_misc.c: add region information to current_map_info. Add new 'whereami' command. |
| 12798 |
server/commands.c: add 'whereami' command. |
| 12799 |
server/init.c: add regions settings, and load data. |
| 12800 |
Ryo 2005-03-15 |
| 12801 |
|
| 12802 |
Applied patches: |
| 12803 |
* #1119366 (salathar): wiz food, DMs don't use food anymore. |
| 12804 |
* #1161816 (cowboyatheart) : Add wands/staves/rods/horns to new pickup. |
| 12805 |
* #1119762 (salathar): afk command. |
| 12806 |
common/loader.[lc]: add 'FLAG_AFK'. |
| 12807 |
include/define.h: add 'PU_MAGIC_DEVICE. Add 'FLAG_AFK'. |
| 12808 |
include/sproto.h: add 'command_afk'. |
| 12809 |
server/c_misc.c: add 'AFK' to who display, add command_afk. |
| 12810 |
server/c_object.c: add new flag to dump. |
| 12811 |
server/commands.c: add command_afk. |
| 12812 |
server/player.c: wiz don't use food. Check for rod/wand/horn for new pickup flag. |
| 12813 |
Ryo 2005-03-13 |
| 12814 |
|
| 12815 |
*Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub, |
| 12816 |
utils/ltmain.sh: Rebuild generated files. |
| 12817 |
acinclude.m4: Check whether Python supports the "L" format specifier. Do not |
| 12818 |
build python plugin if not. |
| 12819 |
Andreas Kirschbaum 2005-03-09 |
| 12820 |
|
| 12821 |
common/{map.c, readable.c, treasure.c}, crossedit/Attr.c, server/{apply.c, |
| 12822 |
attack.c, c_wiz.c, init.c, monster.c, pets.c, shop.c, skill_util.c, skills.c, |
| 12823 |
spell_attack.c, spell_effect.c, time.c}, socket/{info.c, request.c}: Add |
| 12824 |
missing newline character to LOG() messages. |
| 12825 |
common/living.c, include/living.h: Change type of weight_limit to uint32. |
| 12826 |
socket/request.c: Remove non-portable assignment to rvalue. |
| 12827 |
doc/{README_PLUGINS.doc, README_PYTHON.txt, plugins}, doc/Developers/{README, |
| 12828 |
plugins, python}: Update plugin documentation. |
| 12829 |
plugin/plugin_python.c, plugin/include/plugin_python.h: Whitespace changes, |
| 12830 |
remove obsolete comments. |
| 12831 |
plugin/plugin_python.c: Only set WhoAmI when running the command registered by |
| 12832 |
CFPython.RegisterCommand. Set default result value to "success". |
| 12833 |
plugin/plugin_python.c: Fix memory leaks by freeing old strings before |
| 12834 |
assigning a new value. |
| 12835 |
plugin/plugin_python.c: Use correct format specifiers for item values and |
| 12836 |
experience values. |
| 12837 |
plugin/plugin_python.c: Make CFPython.IsCanBePicked return whether the object |
| 12838 |
can be picked up. (Did return whether the object cannot be picked up.) |
| 12839 |
plugin/plugin_python.c: Do not return a pointer to a variable on the stack. |
| 12840 |
server/plugins.c: Fix pointer type mismatch while processing |
| 12841 |
CFPython.RegisterCommand. |
| 12842 |
plugin/plugin_python.c: Change second parameter of CFPython.CheckMap to use |
| 12843 |
a map object instead of a map name. Now it works for tiles maps. |
| 12844 |
acinclude.m4: Add check for python 2.4 to match this file with aclocal.m4. |
| 12845 |
Andreas Kirschbaum 2005-03-06 |
| 12846 |
|
| 12847 |
plugin/plugin_python.c: Increase limits of values the Python script may set |
| 12848 |
to the ranges given by objects in the archetypes file. |
| 12849 |
Andreas Kirschbaum 2005-02-28 |
| 12850 |
|
| 12851 |
common/object.c, include/libproto.h: change nrof parameter of get_split_ob to |
| 12852 |
uint32 type. |
| 12853 |
server/c_object.c, include/sproto.h: change nrof parameter of drop_object to |
| 12854 |
uint32 type. |
| 12855 |
plugin/{plugin_python.c, include/plugin_python.h}, |
| 12856 |
plugin_animator/{plugin_animator.c, include/plugin_animator.h}, |
| 12857 |
server/{apply.c, attack.c, gods.c, monster.c, player.c, skills.c, time.c, |
| 12858 |
timers.c}: Change type of CFParm.Value[5] and StackParm1[] to uint32 to be |
| 12859 |
able to pass an "nrof" value. |
| 12860 |
plugin/plugin_python.c, plugin/include/plugin_python.h: Remove spell wrapper |
| 12861 |
functions. |
| 12862 |
plugin/plugin_python.c, plugin/include/plugin_python.h: Replace skill-IDs by |
| 12863 |
skill names. Remove skill-ID wrapper functions. |
| 12864 |
Andreas Kirschbaum 2005-02-20 |
| 12865 |
|
| 12866 |
------------------------------------------------------------------------------ |
| 12867 |
Changes for 1.7.0: |
| 12868 |
|
| 12869 |
configure, configure.ac, include/autoconf.h.in: Update for |
| 12870 |
version 1.7.0. Add check for libz - needed by libpng (at least on my |
| 12871 |
system), which is needed for the editor. |
| 12872 |
MSW 2005-01-23 |
| 12873 |
|
| 12874 |
common/object.c: Change CAN_MERGE() from an inline function, since |
| 12875 |
it calls itself and inline functions are not supposed to do that. |
| 12876 |
Update type check in insert_ob_in_map() to check against defined |
| 12877 |
type (EXIT) instead of hardcoded integer value (66). |
| 12878 |
crossedit/xutil.c: Update to just include Defines.h, which then includes |
| 12879 |
all the other necessary files, including global.h. |
| 12880 |
include/global.h: Add #ifdef checks for the UINT*_MAX types, as some |
| 12881 |
systems already define these values, which results in a redefinition |
| 12882 |
error. Also fix up // style comment. |
| 12883 |
include/shstr.h: Include proper cast in TOPBIT definition. |
| 12884 |
server/main.c: Don't display 'xyz left the game' messages if the player |
| 12885 |
is only at the get name or get password prompt. Prevents possible |
| 12886 |
spoofing of that message. |
| 12887 |
server/player.c: Clean up formatting of check_pick() function. If player |
| 12888 |
is using newpickup to pick up booze, also pick up poison unless |
| 12889 |
they know it is cursed. |
| 12890 |
socket/request.c: AskSmooth() - change buffer type to uint8 so that |
| 12891 |
it matches what the SockList structure wants. |
| 12892 |
utils/scores.pl.in: Use skill_praying to find players god, and not the |
| 12893 |
deprecated experience_wis object. |
| 12894 |
MSW 2005-01-23 |
| 12895 |
|
| 12896 |
aclocal.m4, configure: Add check for python 2.4. |
| 12897 |
common/re-cmp.c: Fix improper comparison *(str+1) instead of str+1 |
| 12898 |
server/login.c: don't allow null names. |
| 12899 |
server/main.c: Disable logging of removed objects - filling up log |
| 12900 |
files on archmage of all the errors. |
| 12901 |
server/player.c: Fix improper initialization of attacktype in |
| 12902 |
for loop. Give players max grace, sp when they die - also, if they |
| 12903 |
are near starvation, give them a bunch of food. |
| 12904 |
server/spell_effect.c: Put cap on duration of godly retribution - it |
| 12905 |
can otherwise last so long that if a player is killed by it at |
| 12906 |
their savebed location, spell could still go on after players |
| 12907 |
temporary immunity ends. Retribution as increases in damage, |
| 12908 |
so no need to really increase damage and duration to really high |
| 12909 |
amounts. |
| 12910 |
server/spell_util.c: In fire_arch_from_position(), and check that |
| 12911 |
player isn't casting spell on top of wall - fixes for many |
| 12912 |
spells, including ball lightning. |
| 12913 |
server/time.c: Change comparsion on return of get_map_flags() from |
| 12914 |
== P_OUT_OF_MAP to & P_OUT_OF_MAP - keeps syntax consistent. |
| 12915 |
MSW 2005-01-11 |
| 12916 |
|
| 12917 |
plugin/plugin_python.c, plugin_animator/plugin_animator.c, |
| 12918 |
plugin_animator/plugin_animator.c: Use script return value set by |
| 12919 |
CFPython.SetReturnValue(): access to stack was off by one. Do not return a |
| 12920 |
pointer to a local variable on the stack. |
| 12921 |
plugin/plugin_python.c, plugin_animator/plugin_animator.c: Handle all defined |
| 12922 |
events. |
| 12923 |
Andreas Kirschbaum 2005-01-10 |
| 12924 |
|
| 12925 |
server/spell_attack.c: apply patch #1096921 courtesy Salathar. |
| 12926 |
Charmed monsters now lose the 'generator' flag, to prevent |
| 12927 |
things like mice outbreak in bigworld maps. |
| 12928 |
Ryo 2005-01-07 |
| 12929 |
|
| 12930 |
plugin/plugin_pyhton.c, plugin/include/plugin_python.h: Remove obsolete |
| 12931 |
functions: SetGender, SetRank, SetAlignment, SetGuildForce, GetGuildForce, |
| 12932 |
CreatePlayerForce, CreatePlayerInfo, GetPlayerInfo, GetNextPlayerInfo, |
| 12933 |
SetPreviousObject, SetNextObject. |
| 12934 |
plugin/plugin_python.c, plugin/include/plugin_python.h: Add missing attack type |
| 12935 |
wrapper functions, function CFPython.SetDamned(), wrapper functions for |
| 12936 |
missing cost flags, and wrapper functions for event types. |
| 12937 |
plugin/plugin_python.c: Add an optional parameter to CFPython.SetName() to |
| 12938 |
specify name_pl as well. Always set name_pl. |
| 12939 |
plugin/plugin_python.c: Fix a buffer overflow in CFPython.RegisterCommand(): |
| 12940 |
allocated memory was not sufficient to hold the trailing '\0'. |
| 12941 |
plugin/plugin_python.c: Use #define constants. |
| 12942 |
plugin/include/plugin_python.h, plugin/plugin_python.c, |
| 12943 |
plugin_animator/plugin_animator.c, server/plugins.c: General cleanup - merge |
| 12944 |
duplicate code, remove debugging code, rename variables, rename C function |
| 12945 |
names to match the Python function name, use hook functions where |
| 12946 |
appropriate. |
| 12947 |
include/sproto.h, plugin/plugin_python.c, server/plugins.c, server/shop.c: |
| 12948 |
Use uint64 type for variables holding money. Use Python long integers to |
| 12949 |
pass these variables to/from the Python plugin. |
| 12950 |
Andreas Kirschbaum 2005-01-07 |
| 12951 |
|
| 12952 |
plugin/plugin_python.c: Check values passed in from the Python code; generate |
| 12953 |
proper Python exceptions for invalid values. |
| 12954 |
plugin/plugin_python.c, plugin_animator/plugin_animator.c: Make sure all |
| 12955 |
fields on the stack are initialized. Prevent stack overflow: check was one |
| 12956 |
off, causing a buffer overflow. Decrement stack pointer in error case. |
| 12957 |
Andreas Kirschbaum 2005-01-06. |
| 12958 |
|
| 12959 |
common/regexp.c: Fixed couple flaws in regexp handling. First, there was an |
| 12960 |
off by one error in the handling of matches (if the match was for example |
| 12961 |
eureca, player could just say eurec, and it would treat that as a valid |
| 12962 |
match). Second case was that the regular expression logic would not |
| 12963 |
try comparing the rest of the passed in string after a partial match - |
| 12964 |
In the eureca case above, if the passed in string was 'where is eureca', |
| 12965 |
after matching the first e (in where), it then fails to match the |
| 12966 |
next letter and would give up. It now tries comparing the rest of |
| 12967 |
the passed in string with the regex (so after that failure, it |
| 12968 |
will try to match 're is eureca'. |
| 12969 |
server/apply.c: Add missing 'return 0' to shop_mat code that is needed |
| 12970 |
to prevent unpaid objects from teleporting out of the shop. Also |
| 12971 |
extend code so that non living objects can't use shop mats. |
| 12972 |
server/player.c: Insert force into the player when they die making them |
| 12973 |
immune to any spells on the space they reappear on - this prevents |
| 12974 |
multiple deaths if there is large spell effect going on in the |
| 12975 |
savebed location. Duration of force should be long enough for most |
| 12976 |
spells to run their course, but no so long that the player can use |
| 12977 |
it for much of an advantage (plus, killing yourself to get such |
| 12978 |
an advantage seems odd, and the force only makes the player immune |
| 12979 |
to the attacktypes currently on the space) |
| 12980 |
server/spell_effect.c: Fix spell casting walls (lighting wall, |
| 12981 |
firewall, etc) in that the spell object they cast was not being |
| 12982 |
inserted, resulting in the walls not doing anything. |
| 12983 |
MSW 2004-12-28 |
| 12984 |
|
| 12985 |
Applied patch (bug misc/zoo2) by Lalo |
| 12986 |
server/time.c: creators can now create multi part objects. |
| 12987 |
Applied patch 1086102 by Salathar: |
| 12988 |
server/attack.c: If player kills another player, add (pk) to the death |
| 12989 |
message. |
| 12990 |
Applied patch 1086103 by Salathar: |
| 12991 |
server/move.c: If player pushes another player, send message to both players |
| 12992 |
that pushed happened. Previously, when pushing another player, the pusher |
| 12993 |
wouldn't get any notice. |
| 12994 |
MSW 2004-12-28 |
| 12995 |
|
| 12996 |
|
| 12997 |
Applied patch 1001079 - make alchemy books say what skill & equipment |
| 12998 |
is needed - by Kevin Rudat. |
| 12999 |
common/readable.c: Update code that generates book title, contents |
| 13000 |
to denote what skill and equipment is needed. |
| 13001 |
random_maps/{random_map.c, reader.l, reader.c}, server/main.c: |
| 13002 |
Remove generate_treasure_now as an option |
| 13003 |
for random maps - none are using delayed treasure, and IMO, if someone |
| 13004 |
did, it would horribly break things, so it should never be used - given |
| 13005 |
that, no reason to leave the code there. |
| 13006 |
server/main.c: Add additional debugging for process events on removed |
| 13007 |
objects - trying to track down occasional disease crash. |
| 13008 |
server/time.c: Fix crash in move_player_mover() - it was never map tile |
| 13009 |
aware, but even more so, appears to have always been broken if the |
| 13010 |
player move tried to push the player off the edge of a map. Check |
| 13011 |
for out of map condition, as well as make it map tile aware. |
| 13012 |
MSW 2004-12-28 |
| 13013 |
|
| 13014 |
Applied patches #1086095 and 1088385 courtesy Salathar: |
| 13015 |
common/map.c: hidden DM is non blocking |
| 13016 |
server/c_chat: can't do emotions towards hidden DMs. Player's emotions |
| 13017 |
always displayed in split window. |
| 13018 |
server/c_wiz.c: add an extra player leave message when DM hides |
| 13019 |
server/main.c: don't display leave messages for hidden DM when connection timeout |
| 13020 |
server/c_party.c: party password max length is 7, due to buffer size. |
| 13021 |
(i think it was a patch from Casper?) |
| 13022 |
Ryo 2004-12-25 |
| 13023 |
|
| 13024 |
server/c_wiz.c: Remove item when 'free' by DM if not removed, avoiding crash. |
| 13025 |
Ryo 2004-12-22 |
| 13026 |
|
| 13027 |
server/c_party.c: Make party passwords of 8 characters work, disallow longer |
| 13028 |
passwords. Based on patch #1080096 from Casper. |
| 13029 |
Correct help message for party commands. |
| 13030 |
Andreas Kirschbaum 2004-12-10 |
| 13031 |
|
| 13032 |
plugin/plugin_python.c: change 'long long' so 'sint64' (typedef). |
| 13033 |
Ryo Saeba 2004-11-29 |
| 13034 |
|
| 13035 |
common/object.c: apply patch #1066665 courtesy Salathar for exits with |
| 13036 |
blockview 1. |
| 13037 |
lib/formulae: apply patch #1064643 courtesy Salathar to fix broken formulae. |
| 13038 |
lib/wizhelp/speed: remove file, command changed name. |
| 13039 |
lib/wizhelp/server_speed: updated 'speed' command help. |
| 13040 |
server/c_wiz.c: apply patch #1063051 courtesy Salathar to update muzzle message. |
| 13041 |
server/commands.c: apply patch #1052224 courtesy Casper to change |
| 13042 |
'speed' to 'server_speed' as name is ambiguous. |
| 13043 |
Ryo Saeba 2004-11-25 |
| 13044 |
|
| 13045 |
common/loader.l: Fix passed size in FAST_SAVE_LONG() - was one too long, |
| 13046 |
causing truncated diffs after "dam_modifier" entry. |
| 13047 |
Andreas Kirschbaum 2004-11-15 |
| 13048 |
|
| 13049 |
This commit adds the functionality of patch 991916, although the patch |
| 13050 |
as submitted was used as a baseline to start from. |
| 13051 |
include/sproto.h: rebuilt |
| 13052 |
server/c_chat.c: Rename command_chat() to command_tell_all() which takes |
| 13053 |
a few more optional parameters. Add command_shout() and command_chat() |
| 13054 |
that invoke command_tell_all() with the appropriate changes. |
| 13055 |
server/commands.c: Add chat to list of command table. |
| 13056 |
MSW 2004-11-08 |
| 13057 |
|
| 13058 |
plugin/plugin_python.c: Run the script python_init.py right after |
| 13059 |
initializing the interpreter. |
| 13060 |
Andreas Kirschbaum 2004-10-21 |
| 13061 |
|
| 13062 |
server/c_party.c: actually warn party members of password change. Notify when |
| 13063 |
someone joins party. |
| 13064 |
Ryo 2004-10-21 |
| 13065 |
|
| 13066 |
plugin/plugin_python.c, plugin/include/plugin_python.h, server/plugins.c: |
| 13067 |
Fix comments, change whitespace. |
| 13068 |
Andreas Kirschbaum 2004-10-19 |
| 13069 |
|
| 13070 |
Fix some bugs I introduced in my last commit. |
| 13071 |
common/map.c: Add back in call to sum_weight that got removed when removing |
| 13072 |
the object checking code. |
| 13073 |
common/treasure.c: Have fix_generated_item() blank out the randomitems |
| 13074 |
field after it has created treasure. |
| 13075 |
server/apply.c: Only clear randomitems after create_treasure() - don't |
| 13076 |
presume it should get blanked out for other reasons - with change |
| 13077 |
to treasure.c above, this should be more reliable and fix starting |
| 13078 |
skill issue, as randomitems was getting blanked out for CLASS object. |
| 13079 |
server/main.c: Change processing of players a little - found crash where |
| 13080 |
autosave was called for a removed player (map had got swapped out) - |
| 13081 |
don't do autosave logic if player is removed. Move the autosave code |
| 13082 |
to after the players action, so that can just have a single check of |
| 13083 |
removed status. |
| 13084 |
MSW 2004-10-17 |
| 13085 |
|
| 13086 |
include/sproto.h, server/egoitem.c: Change create_artifact() to return whether |
| 13087 |
the artifact was created. |
| 13088 |
server/plugins.c: Change CFWCreateArtifact()/HOOK_CREATEARTIFACT to return |
| 13089 |
whether the artifact was created. |
| 13090 |
plugin/plugin_python.c: Define new function create_object() to create |
| 13091 |
objects. Use this function to fix CFPython.CreateObjectInside() and |
| 13092 |
CFPython.CreateObject(): creation of artifacts does work now. |
| 13093 |
plugin/plugin_python.c: Fix CFPython.GetNextPlayerInfo() to work with long |
| 13094 |
force names. Remove duplicate variable initialization. |
| 13095 |
server/plugins.c: Remove the use of malloc() in initOnePlugin(). |
| 13096 |
Andreas Kirschbaum 2004-10-18 |
| 13097 |
|
| 13098 |
plugin/plugin_python.c, plugin_animator/animator_box.c, |
| 13099 |
plugin_animator/plugin_animator.c, plugin_logger/arena.c, |
| 13100 |
plugin_logger/plugin_logger.c: Use HOOK_FREEMEMORY to free memory allocated |
| 13101 |
by HOOK-functions. Fix memory leaks. |
| 13102 |
plugin/plugin_python.c, server/plugin.c, plugin_animator/animator_box.c: Fix |
| 13103 |
some more mismatches between plugin interface and implementation. |
| 13104 |
CFPython.Get/SetSkillExperience() use 64-bit exp values now. |
| 13105 |
CFPython.CastAbility() works again. |
| 13106 |
Andreas Kirschbaum 2004-10-16 |
| 13107 |
|
| 13108 |
plugin/plugin_python.c, server/plugin.c: Fix type mismatches between plugin |
| 13109 |
interface and implementation. |
| 13110 |
plugin/plugin_python.c, server/plugin.c: Add/remove "static" to/from some |
| 13111 |
variables. Fixes a memory leak in CFPython.SaveObject(). |
| 13112 |
plugin/plugin_python.c: Fix reference counting for Python objects. |
| 13113 |
Andreas Kirschbaum 2004-10-15 |
| 13114 |
|
| 13115 |
common/living.c: Fix exp functions to use the player objects expmul |
| 13116 |
value when determining level gains, and not the skills. Also, |
| 13117 |
fix bug where players last hp/sp/grace gain I think was being |
| 13118 |
re-rolled when player gained level in skill. |
| 13119 |
common/loader.l, loader.c: Add better recording of non existant objects |
| 13120 |
(no archetype for them) in maps. Also, handle such objects in |
| 13121 |
players inventories properly (which is to just discard them) |
| 13122 |
common/map.c: Add better logging about discarded archetypes. Since the |
| 13123 |
loader now deals with objects without archs in inventories, that |
| 13124 |
code doesn't need to be in the server. |
| 13125 |
common/object.c: copy_object() was not properly nulling out the |
| 13126 |
next field in the event object, pointer to event list was also |
| 13127 |
incorrect, causing events to not be copied properly. |
| 13128 |
doc/spoiler-html/spoiler.html: Rebuilt. |
| 13129 |
server/apply.c: Apply patch by MT that fixes problem of entire inventory |
| 13130 |
not being copied properly. Fix problem that objects in creatures |
| 13131 |
were not having any sub treasure created (eg, put a pyro_book in |
| 13132 |
a monster on the map, and the pyro_book wouldn't have a spell in |
| 13133 |
it) - now we make sure we process inventory objects as well as map |
| 13134 |
objects, creating treasure as needed. |
| 13135 |
server/monster.c: Reverse order of cast_spell() and drain_rod() in |
| 13136 |
monster_use_range() - drain_rod() should go first, because |
| 13137 |
case_spell() can in rare cases destroy the rod. |
| 13138 |
MSW 2004-10-14 |
| 13139 |
|
| 13140 |
server/c_misc.c: Add natural skin resistances to 'statistics' output for |
| 13141 |
dragon players. |
| 13142 |
Ryo 2004-10-10 |
| 13143 |
|
| 13144 |
common/readable.c: Apply patch by Kevin Rudat to add some alchemy book names. |
| 13145 |
common/readable.c: Apply patch by Kevin Rudat to fix buffer overrun while |
| 13146 |
generating book titles. |
| 13147 |
Andreas Kirschbaum 2004-10-09 |
| 13148 |
|
| 13149 |
include/sproto.h: Add function prototype. |
| 13150 |
server/c_wiz.c: Add 'command_stack_clear' to clear DM item stack. |
| 13151 |
server/commands.c: Link function to function array. |
| 13152 |
Ryo 2004-09-26 |
| 13153 |
|
| 13154 |
server/player.c: Allow to 'reply' to players that logged out but did not yet |
| 13155 |
drop the connection. Now reply works like other communication commands. |
| 13156 |
common/utils.c: Fix random_roll() and die_roll() to not return out of range |
| 13157 |
values. |
| 13158 |
include/define.h: Add parentheses around arguments of FABS macro. |
| 13159 |
Andreas Kirschbaum 2004-09-19 |
| 13160 |
|
| 13161 |
server/rune.c: Prevent creation of level 0 runes. Re-enable runes to cast |
| 13162 |
multiple spells. |
| 13163 |
Andreas Kirschbaum 2004-09-14 |
| 13164 |
|
| 13165 |
include/config.h: fix Win32 log path so there actually is a log. |
| 13166 |
plugin/plugin_python.c: uint doesn't exist under Win32, use uint32 instead. |
| 13167 |
|
| 13168 |
Patches from tracker, courtesy Kurtat: |
| 13169 |
patch 1022942: Random documentation updates |
| 13170 |
doc/SurvivalGuide |
| 13171 |
doc/Developers/programming_guide |
| 13172 |
doc/Developers/protocol |
| 13173 |
lib/settings |
| 13174 |
lib/help/cast |
| 13175 |
patch 1022973: Words for numbers in spellbook description |
| 13176 |
server/c_object |
| 13177 |
Ryo 2004-09-12 |
| 13178 |
|
| 13179 |
server/attack.c: Pass in skill (string) to change_exp instead of skop->skill - |
| 13180 |
skop can be null, resulting in a crash here. In addition, other calls |
| 13181 |
to change_exp in this function use the skill string, so it is good to |
| 13182 |
be consistent. |
| 13183 |
MSW 2004-09-09 |
| 13184 |
|
| 13185 |
server/c_wiz.c: Don't forget to skip blanks after reading item number or stack |
| 13186 |
position. Works better for commands like patch :) |
| 13187 |
Ryo 2004-09-06 |
| 13188 |
|
| 13189 |
common/object.c: Fix insert_ob_in_map so right coordinates and map |
| 13190 |
value are used on GET_MAP_OB call - was using values before changes |
| 13191 |
for tiling were applied. |
| 13192 |
MSW 2004-09-02 |
| 13193 |
|
| 13194 |
server/player.c: allow to 'talk' to players with ambiguous names: use a |
| 13195 |
perfect match even if other partial matches exist. |
| 13196 |
Andreas Kirschbaum 2004-08-30 |
| 13197 |
|
| 13198 |
include/define.h |
| 13199 |
server/shop.c |
| 13200 |
add new flags F_IDENTIFIED and F_NOT_CURSED to query_cost() to pretend |
| 13201 |
the item to be identified/not cursed or damned. |
| 13202 |
server/alchemy.c |
| 13203 |
fix possible abuse of shadow alchemy: do not allow the generated items |
| 13204 |
to be more valuable than the ingredients when using alternate recipes. |
| 13205 |
Andreas Kirschbaum 2004-08-24 |
| 13206 |
|
| 13207 |
common/map.c: Add extra check to make sure variable is set before calling |
| 13208 |
strcmp - this can happen if the map file that is being loaded is |
| 13209 |
0 bytes - without this, the server would crash. |
| 13210 |
MSW 2004-08-23 |
| 13211 |
|
| 13212 |
|
| 13213 |
server/disease.c: fix crash when casting diseases on tiled maps. |
| 13214 |
server/move.c: fix problem with multi-tile monsters and pass thru walls. |
| 13215 |
server/spell_effect.c: fix magic walls sometimes appearing in wrong place. |
| 13216 |
Andreas Kirschbaum 2004-08-20 |
| 13217 |
|
| 13218 |
common/loader.l, loader.c: in check_loaded_object() - don't give spell |
| 13219 |
objects inventory if we are in the arch_init phase. When loading objects |
| 13220 |
in common loader routine, if object doesn't have arch, set the object |
| 13221 |
name to the arch name so that it is more meaningful than 'singularity'. |
| 13222 |
common/map.c: If object has inventory, check to make sure the inventory |
| 13223 |
objects have an archetype set - if not, remove and free the object - |
| 13224 |
objects without archetypes causes crashes. |
| 13225 |
MSW 2004-08-17 |
| 13226 |
|
| 13227 |
server/apply.c: fix_auto_apply() - add some debugging statements, as I've |
| 13228 |
seen crashes caused by monsters with scrolls with no spells - need to |
| 13229 |
figure out how those are showing up. |
| 13230 |
server/c_wiz.c: command_kick() - fix occasional crashes when player isn't |
| 13231 |
on any map when kicked. command_create() largely rewritten so it doesn't |
| 13232 |
crash the server on any malformed values passed in, add some more features |
| 13233 |
so it should be easier to create objects. |
| 13234 |
MSW 2004-08-16 |
| 13235 |
|
| 13236 |
server/apply.c: better to not create a treasure for spellbooks that already have |
| 13237 |
something in inventory. Else you get 2 spells in the book, which then |
| 13238 |
mutates when loading (first spell is the book's spell, and order changes every |
| 13239 |
load/save...) |
| 13240 |
Ryo 2004-08-16 |
| 13241 |
|
| 13242 |
Those changes mostly add an item stack for DMs. It makes it easier to dump & patch & |
| 13243 |
manipulate items without having to copy numbers all the time. |
| 13244 |
Basically, you can use '$x', meaning item at position x on stack. Or even |
| 13245 |
omit argument, defaulting to stack top. |
| 13246 |
When using an object number, it gets stacked automatically (up to 50 items). |
| 13247 |
Also add a 'diff' command, letting the DM see the result of 'get_ob_diff' on items, |
| 13248 |
to spot differences easily. |
| 13249 |
|
| 13250 |
common/player.c: free item stack when freeing player structure. |
| 13251 |
include/player.h: add item stack to player structure. |
| 13252 |
include/sproto.h: new functions for stack. |
| 13253 |
include/win32.h: missed commit for 1.6.1 version. |
| 13254 |
server/c_misc.c: push item dumped with 'deumpbelow' on dm stack. |
| 13255 |
server/c_wiz.c: add stack functions. Use'em on patch, create, remove, free, and such. |
| 13256 |
Add 'diff' command. |
| 13257 |
server/commands.c: add new stack & diff commands. |
| 13258 |
Ryo 2004-08-15 |
| 13259 |
|
| 13260 |
server/spell_attack.c: fix mood_change when spell has no attacktype. |
| 13261 |
In this case, do a specific saving throw, to ensure a level 1 player |
| 13262 |
can't charm a level 125 monster. |
| 13263 |
Ryo 2004-08-14 |
| 13264 |
|
| 13265 |
random_maps/exit.c |
| 13266 |
random_maps/random_map.c |
| 13267 |
random_maps/random_map.h |
| 13268 |
random_maps/reader.l |
| 13269 |
random_maps/rproto.h |
| 13270 |
random_maps/special.c |
| 13271 |
random_maps/wall.c |
| 13272 |
added fix for random maps with single arch walls, |
| 13273 |
added level indicator on random map signs |
| 13274 |
added new parameter 'exit_on_final_map'- see documentation |
| 13275 |
TM 2004-08-07 |
| 13276 |
|
| 13277 |
include/plugin.h |
| 13278 |
plugin/plugin_python.c |
| 13279 |
server/c_wiz.c |
| 13280 |
server/plugins.c |
| 13281 |
add event hooks for Kick and Muzzle(toggle_shout) commands. |
| 13282 |
fix CFSetQuantity by changing the int to uint and remove 100000 item limit. |
| 13283 |
pythonplug now looks for event scripts in maps/python/events. |
| 13284 |
TM 2004-08-02 |
| 13285 |
|
| 13286 |
server/skills.c: xp for writing is now multiplied by skill level, to |
| 13287 |
make it possible to level. |
| 13288 |
Ryo 2004-07-17 |
| 13289 |
|
| 13290 |
common/loader.c: add #ifndef for non-existant Win32 header |
| 13291 |
include/win32.h: #define vsnprintf _vsnprintf to fix linking issue |
| 13292 |
Ryo 2004-07-03 |
| 13293 |
|
| 13294 |
server/skill_util.c: Fix skills command so that it properly displays |
| 13295 |
percentage of permanent exp. |
| 13296 |
server/time.c: Modify move_arrow() so that it removes thrown objects |
| 13297 |
with no inventory. |
| 13298 |
MSW 2004-06-22 |
| 13299 |
|
| 13300 |
socket/info.c: Replace sprintf() calls with snprintf() - got metalforge |
| 13301 |
crash with apparent buffer overun - going to snprintf should prevent |
| 13302 |
the problem in the future. |
| 13303 |
MSW 2004-06-21 |
| 13304 |
|
| 13305 |
server/c_wiz.c: for command_create() - check to see if 'of' parameter |
| 13306 |
is a spell archetype name, and do the right thing if it is. This |
| 13307 |
allows things like 'create rod_heavy of spell_large_lightning'. |
| 13308 |
Note that the command_create is still a seriously broken function |
| 13309 |
in many regards. |
| 13310 |
server/rune.c: Fix write_rune() when trying to find the spell in encase |
| 13311 |
in the rune - assignment was incorrect, so it always took the last |
| 13312 |
matching spell in the players inventory, not the best matching spell. |
| 13313 |
server/spell_util.c: Change the call to prayer_failure() so that its |
| 13314 |
potency is based on how badly short the player is short of grace. Eg, |
| 13315 |
if only 1 point short, potency of 1. This changes from before where |
| 13316 |
the potency was always the difference in mana. |
| 13317 |
MSW 2004-06-17 |
| 13318 |
|
| 13319 |
server/attack.c: Fix hit_with_arrow() so that it uses the proper map |
| 13320 |
when inserting the arrow. |
| 13321 |
server/c_wiz.c: Add note about brokeness of command_create() |
| 13322 |
server/spell_effect.c: execute_word_of_recall() - don't attempt recall |
| 13323 |
if player isn't on any map. |
| 13324 |
MSW 2004-06-15 |
| 13325 |
|
| 13326 |
common/object.c |
| 13327 |
include/define.h |
| 13328 |
include/player.h |
| 13329 |
include/sproto.h |
| 13330 |
server/attack.c |
| 13331 |
server/c_object.c |
| 13332 |
server/player.c |
| 13333 |
server/shop.c |
| 13334 |
socket/item.c |
| 13335 |
socket/loop.c |
| 13336 |
socket/request.c: Remove explicit calls to |
| 13337 |
esrv_update_item(UPD_WEIGHT, pl, pl) for player objects. Instead |
| 13338 |
send the new weight whenever it changes. |
| 13339 |
Andreas Kirschbaum 2004-06-13 |
| 13340 |
|
| 13341 |
server/spell_attack.c: cast_destruction() - have it change the skill |
| 13342 |
for the caster so that exp is properly awarded. |
| 13343 |
common/object.c: insert_map_in_ob() - remove CAN_MERGE checks after the |
| 13344 |
map translation - otherwise, we can have bogus coordinates |
| 13345 |
that are used for GET_MAP_OB. |
| 13346 |
random_maps/style.c: pick_random_object() - have it return null object |
| 13347 |
(and probably crash) instead of getting into an infinite loop. |
| 13348 |
server/c_wiz.c: command_kick() - check FLAG_FREED of player. Remove all |
| 13349 |
the broken skill/exp object granting code in command_possess() - this |
| 13350 |
is probably still a broken function. |
| 13351 |
common/item.c: describe_monster() - if the creature/player is stealthy, |
| 13352 |
mention it when the object is described. |
| 13353 |
common/loader.l, loader.c: Fix passed in size to get_ob_diff() - was one |
| 13354 |
to long, causing string corruption. |
| 13355 |
server/spell_attack.c: mood_change() - fix get_map_ob call - wasn't using |
| 13356 |
correct coordinate variables, resulting in crash. |
| 13357 |
MSW 2004-06-10 |
| 13358 |
|
| 13359 |
server/c_party.c: gsay improvements, courtesy Katia. |
| 13360 |
Ryo 2004-06-09 |
| 13361 |
|
| 13362 |
server/commands.c: Disable 'possess', that crashes server. |
| 13363 |
server/monster.c: Make monsters use wands/horns/... again. Also make'em |
| 13364 |
ignore DMs all the time (even when not invisible). |
| 13365 |
server/skill_util.c: Fix the change_skill when called for monsters. |
| 13366 |
Ryo 2004-06-06 |
| 13367 |
|
| 13368 |
server/c_misc.c: Add sum_weight() call to fix_me command so that players |
| 13369 |
weight is properly recalculated. |
| 13370 |
server/skills.c: Fix up attempt_steal() so that it doesn't improperly |
| 13371 |
remove object from target when person doing the stealing can't pick |
| 13372 |
it up. |
| 13373 |
server/spell_attack.c: Set maxhp properly, so multipled fireballs, etc |
| 13374 |
can be going off at the same time. |
| 13375 |
server/spell_effect.c: Fix up cast_create_missile() so more esoteric |
| 13376 |
missiles can be created. |
| 13377 |
MSW 2004-05-31 |
| 13378 |
|
| 13379 |
include/sproto.h: new 'dmhide' command. |
| 13380 |
server/commands.c: new 'dmhide' command. |
| 13381 |
server/c_wiz.c: added 'dmhide' command. Player becomes DM, and 'hide's immediately. Others |
| 13382 |
only see him/her leave the game, they don't know s/he's DM. |
| 13383 |
Ryo 2004-05-24 |
| 13384 |
|
| 13385 |
include/book.h: Increase the size of BOOK_BUF, so inscribed books can hold |
| 13386 |
more informatin. |
| 13387 |
lib/Makefile.am, lib/Makefile.in: Add the 'rename' to the list of help |
| 13388 |
files. |
| 13389 |
lib/archetypes: update the glyph/rune spells to have proper face. |
| 13390 |
lib/bmaps, lib/crossfire.* - add glyph.111 image. |
| 13391 |
server/gods.c: Modify tailor_god_spell() to look harder to find a god - |
| 13392 |
necessary for glyph spells. |
| 13393 |
server/spell_attack.c: Give players 50% of exp for monsters they charm. |
| 13394 |
MSW 2004-05-19 |
| 13395 |
|
| 13396 |
common/object.c: Correct get_search_arr() to return a proper permutation. |
| 13397 |
Andreas Kirschbaum 2004-05-18 |
| 13398 |
|
| 13399 |
server/main.c: Have process_events display information from dumped object. |
| 13400 |
also, more refinement on checking of object status. |
| 13401 |
MSW 2004-05-16 |
| 13402 |
|
| 13403 |
server/build_map.c: change 'player' variable to 'pl', since a player |
| 13404 |
structure already exists. Also fix disappearing pedestals on non-unique |
| 13405 |
maps (put'em over floor, they are visible but hey, can't have everything :p) |
| 13406 |
server/c_wiz.c: fix learn_spell. |
| 13407 |
Ryo 2004-05-16 |
| 13408 |
|
| 13409 |
server/main.c: freeing removed objects appeared to have more of a |
| 13410 |
consequence than expected - only remove the object if it was on a map |
| 13411 |
(op->map). It turns out that the artifact code uses objects that |
| 13412 |
are removed to store what the new object is. |
| 13413 |
server/spell_effect.c: Fix cast_create_food() to call |
| 13414 |
find_archetype_by_object_name() instead of find_archetype(). In this |
| 13415 |
way, players can use invoke without having to know the archetype name. |
| 13416 |
server/c_wiz.c: Modify command_banish() to record dm name, player name, |
| 13417 |
and date of command. |
| 13418 |
server/acinclude.m4: Patch by acinclude.m4 to add python 2.3 support. |
| 13419 |
Rebuilt files (Makefile.in, aclocal.m4, configure, configure.in). add |
| 13420 |
config.guess, config.sub since automake now includes them in the Makefile.in |
| 13421 |
file. |
| 13422 |
MSW 2004-05-15 |
| 13423 |
|
| 13424 |
|
| 13425 |
Added a new item type: ground positioning system (GPS). |
| 13426 |
This lets a player know his/her location in the world. |
| 13427 |
Only works in 'world_xxx_xxx' maps. |
| 13428 |
|
| 13429 |
include/define.h: add new item type, 'GPS' (162). |
| 13430 |
include/sproto.h: add new function, 'apply_positioning_system'. |
| 13431 |
server/apply.c: handle new item type. |
| 13432 |
Ryo 2004-05-15 |
| 13433 |
|
| 13434 |
server/spell_util.c: SP_level_spellpoint_cost() - never have a spell |
| 13435 |
cost 0 spellpoints due to attunement or other bonuses - spell always |
| 13436 |
cost at least 1 sp/grace. |
| 13437 |
server/main.c: Fix process_events() so it doesn't purge removed players |
| 13438 |
from the list - players get in the removed state at play again |
| 13439 |
prompt. |
| 13440 |
server/apply.c: Fix fix_auto_apply() so we don't generate additional |
| 13441 |
spells for spellcasting objects that already have them (regression |
| 13442 |
from fix from 5/11 below) |
| 13443 |
MSW 2004-05-13 |
| 13444 |
|
| 13445 |
server/pets.c: Fix summon golem, summon pet monsters so that the summoned |
| 13446 |
monsters are not worth any exp. Fixes bugs were players could |
| 13447 |
summon monsters and then kill them. |
| 13448 |
server/skills.c: Fix do_skill_detect_curse() and do_skill_detect_magic() |
| 13449 |
so that they don't process objects the player is incapable of picking |
| 13450 |
up (eg, floors). Fixes experience exploit. |
| 13451 |
server/apply.c: modify fix_auto_apply() so that it properly generates |
| 13452 |
items for creatures that start with objects in their inventory. |
| 13453 |
MSW 2004-05-11 |
| 13454 |
|
| 13455 |
server/spell_util.c: Fix cast_spell() so that failed spells (due to |
| 13456 |
encumberance or other penalties) still cost some random number of grace/ |
| 13457 |
mana points. |
| 13458 |
MSW 2004-05-10 |
| 13459 |
|
| 13460 |
common/treasure.c: Change the loading of the artifacts file to actually |
| 13461 |
calloc() the object - reset_object() doesn't clear all the values, |
| 13462 |
like active_next, active_prev, so better to just do it there. |
| 13463 |
server/main.c: Add code in process_events() that checks for removed objects - |
| 13464 |
have seen occasional crashes caused by them. |
| 13465 |
MSW 2004-05-08 |
| 13466 |
|
| 13467 |
Armor enchantment now uses setting values. |
| 13468 |
common/init.c: new values to init in settings. |
| 13469 |
include/global.h: new setting values. |
| 13470 |
include/config.h: new default values for settings. |
| 13471 |
lib/settings: explanation for those new values. |
| 13472 |
server/apply.c: change armor improvement code to use setting values. |
| 13473 |
server/init.c: read new settings. |
| 13474 |
Ryo 2004-05-08 |
| 13475 |
|
| 13476 |
common/init.c: there's a #define LOGFILE, use it instead of hardcoded value. |
| 13477 |
include/config.h: change default logfile path to previous value in init.c. |
| 13478 |
server/c_wiz.c: Fix 'nodm' displaying incorrect messages, and forgetting to |
| 13479 |
update player count on map. |
| 13480 |
Ryo 2004-05-08 |
| 13481 |
|
| 13482 |
server/apply.c: Fix apply_special() to properly deal with LAMP objects - it |
| 13483 |
wasn't dealing properly with the split off lamp compared to the one it |
| 13484 |
was supposed to deal with - was crashing server. |
| 13485 |
MSW 2004-05-04 |
| 13486 |
|
| 13487 |
common/item.c: describe_monster() - print luck when describing players (fixex |
| 13488 |
perceive self not showing luck) |
| 13489 |
server/attack.c: kill_object() - don't give player exp if he kills himself - |
| 13490 |
compare owner against what was killed, not the hitter. |
| 13491 |
server/pets.c: summon_object() - move breaking out for last treasurelist |
| 13492 |
after we set the last valid treasurelist - otherwise, the list entry for |
| 13493 |
the treasurelist was never used. Change summoned creatures so that |
| 13494 |
the items they have are god given, and thus disappear when they |
| 13495 |
are killed - prevents players from summoning and then looting their pets. |
| 13496 |
server/spell_attack.c: explode_bullet() - Get owner of the spell so that we |
| 13497 |
can properly tailor the explosion portion of the spell for the god |
| 13498 |
of the worshipper. |
| 13499 |
MSW 2004-05-03 |
| 13500 |
|
| 13501 |
server/shop.c: patch from Andreas Kirschbaum for Windows compilation. |
| 13502 |
server/spell_effect.c: patch from Andreas Kirschbaum for Windows compilation. |
| 13503 |
Ryo 2004-05-03 |
| 13504 |
|
| 13505 |
common/porting: changed open_and_uncompress to use const char* instead of |
| 13506 |
char*, since value shouldn't be changed (and isn't). |
| 13507 |
include/libproto.h: changed prototype for open_and_uncompress |
| 13508 |
Ryo 2004-04-28 |
| 13509 |
|
| 13510 |
------------------------------------------------------------------------------ |
| 13511 |
Changes for 1.6.0: |
| 13512 |
|
| 13513 |
configure, Makefiles: Rebuilt for 1.6.0 release |
| 13514 |
doc/*/Makefile.am: Modified to use one makeps.pl utility in scripts directory. |
| 13515 |
doc/scripts/makeps.pl: Make this the definitive copy - fix problem with it |
| 13516 |
trying to combine big images when it doesn't need to. Remove other copies. |
| 13517 |
doc/playbook/chap1.tex, doc/playbook/chap5.tex: Fix some obvious errors, |
| 13518 |
but overall, the playbook is still quite out of date. |
| 13519 |
doc/playbook/treas2-extract: Have it not include abilities in given items, |
| 13520 |
have it properly deal with multiple underscores in arch names. |
| 13521 |
doc/spoiler-html/spoiler.html, doc/spoiler.ps: Rebuilt |
| 13522 |
MSW 2004-04-26 |
| 13523 |
|
| 13524 |
server/apply.c: apply_savebed() - make call to terminate_all pets before |
| 13525 |
call to remove_ob() so that pets are properly removed. |
| 13526 |
common/item.c, server/c_object.c: Fix code so that skill tools (talismans, |
| 13527 |
holy symbols, etc) are properly describe. Clean up formatting of long_desc() |
| 13528 |
MSW 2004-04-25 |
| 13529 |
|
| 13530 |
|
| 13531 |
Change most shop buy/sell functions to use 64 bit values. Problem arises |
| 13532 |
where player would sell valuable item, and if they wanted to buy them back, |
| 13533 |
it would overflow a 32 bit value, so they could buy them back for free. |
| 13534 |
Note quite as odd when you consider the buy/sell price for really valuable |
| 13535 |
items to be very different. |
| 13536 |
include/global.h: Add UINT32_MAX and other max type defines for our typedef |
| 13537 |
values so that we have standard setting of what the cap is. |
| 13538 |
server/apply.c: Change get_payment call to take second argument. |
| 13539 |
server/plugins.c: Add note about bug in handling of query_cost in this |
| 13540 |
function. |
| 13541 |
server/shop.c: query_cost() now returns 64 bit. Many other functions |
| 13542 |
updated to also take/return 64 bit cost values. Have cost_string |
| 13543 |
nicely deal with values that are beyond affordability. Rename get_payment2() |
| 13544 |
to get_payment(), and remove the later, which was just a simple wrapper |
| 13545 |
function that called get_payment2. |
| 13546 |
server/spell_effect.c: Update alchemy code. Remove some suspect use of |
| 13547 |
static values. |
| 13548 |
MSW 2004-04-24 |
| 13549 |
|
| 13550 |
server/apply.c: fix check_weapon_power() so it operates on overall character |
| 13551 |
level and not skill level - this matches up what the out of skills |
| 13552 |
displays. |
| 13553 |
MSW 2004-04-20 |
| 13554 |
|
| 13555 |
common/button.c: Patch by Bernd Edler to have proper speed set for items |
| 13556 |
activated by buttons. |
| 13557 |
server/apply.c: Apply the 'special prayer' marker stuff, since it wasn't |
| 13558 |
used anymore. |
| 13559 |
server/gods.c: Check for FLAG_EQUIP on spells and not for a special prayer |
| 13560 |
marker to guess if a spell is a god given spell or not. |
| 13561 |
server/spell_util.c: Patch by Bernd Edler so that firewalls are immune |
| 13562 |
to casting time. |
| 13563 |
MSW 2004-04-17 |
| 13564 |
|
| 13565 |
server/shop.c: Decrease adjustment limit for expensive items to 10000 to get a |
| 13566 |
continuous adjustment function. That is you will get much less when selling |
| 13567 |
items with a value between 800pp and 2000pp. |
| 13568 |
Andreas Kirschbaum 2004-04-16 |
| 13569 |
|
| 13570 |
common/map.c: Change blocked_link() to take a map parameter. Also, change code |
| 13571 |
in blocked_link() to assume that the caller has set up appropriate map and |
| 13572 |
coordinates related to tiling (in all functions that currently call |
| 13573 |
blocked_link, this is the case) |
| 13574 |
include/libproto.h: Rebuilt. |
| 13575 |
server/move.c, server/player.c: update call to blocked_link to include the map. |
| 13576 |
MSW 2004-04-15 |
| 13577 |
|
| 13578 |
common/object.c: Change CAN_MERGE() so that it compares the stats structure of |
| 13579 |
the objects being merged. Fixes problems of rings improperly merging with |
| 13580 |
other rings that have different stat values. |
| 13581 |
server/monster.c: Modify check_earthwalls() and check_doors() to take a |
| 13582 |
map structure as an option parameter, and use that structure when |
| 13583 |
calling get_map_ob. Fixes a crash in cases where earthwalls/doors |
| 13584 |
were at the edge of a tiled map, and creature was on other map moving into |
| 13585 |
it. |
| 13586 |
server/move.c: Change move_ob() to adjust coordinates for tiling, and |
| 13587 |
pass in these adjusted coordinages (and map) to the check_() functions |
| 13588 |
in monster.c |
| 13589 |
random_maps/treasure.c: Apply patch by Andreas Kirschbaum so that it does |
| 13590 |
more work in trying to place keys on maps. |
| 13591 |
MSW 2004-04-13 |
| 13592 |
|
| 13593 |
common/living.c: Patch by Bernd Edler to remove cap on exp for players. |
| 13594 |
MSW 2004-04-09 |
| 13595 |
|
| 13596 |
common/item.c: If potion wasn't given a random spell, use the archetype |
| 13597 |
name when it is identified. |
| 13598 |
common/treasure.c: Fix potion codes so that healing and magic power potions |
| 13599 |
get the proper spell inserted into them. Also fix line termination issue. |
| 13600 |
server/skill_util.c: Add check in skill_attack() to make sure current_weapon |
| 13601 |
is not null - there has been some crashes here, but I can't figure out |
| 13602 |
how it gets to this state, so better to at least handle it. |
| 13603 |
MSW 2004-04-07 |
| 13604 |
|
| 13605 |
server/player.c: In flee_player(), make sure the enemy to the player is |
| 13606 |
on an actual map - fixes crashes. |
| 13607 |
MSW 2004-04-06 |
| 13608 |
|
| 13609 |
common/potion.c: Fix up change_abil() to more properly deal with potions - |
| 13610 |
characters could get 0 stat values. Also, messages were not being properly |
| 13611 |
displayed. Patch is slightly modified from one sent in by Bernd Edler. |
| 13612 |
MSW 2004-04-05 |
| 13613 |
|
| 13614 |
server/main.c: Add extra checking for valid map coordinates after we grab |
| 13615 |
them from the destination map itself - if a map is broken and has |
| 13616 |
default enter_ coordinates outside the maps range, this previously |
| 13617 |
resulted in a crash. |
| 13618 |
server/pets.c: Pass the correct map object into insert_ob_in_map(). |
| 13619 |
MSW 2004-04-03 |
| 13620 |
|
| 13621 |
server/monster.c: fixed wiz's hidden mode not working on monsters. |
| 13622 |
Ryo 2004-03-28 |
| 13623 |
|
| 13624 |
common/porting.c |
| 13625 |
include/libproto.h |
| 13626 |
include/win32.h: added 'const' specifier to str-related functions. |
| 13627 |
Ryo 2004-03-26 |
| 13628 |
|
| 13629 |
common/exp.c |
| 13630 |
common/living.c |
| 13631 |
common/loader.[cl] |
| 13632 |
common/porting.c |
| 13633 |
server/c_misc.c |
| 13634 |
server/c_wiz.c |
| 13635 |
server/hiscore.c |
| 13636 |
server/resurrection.c: fixed %lld to %I64d for Windows. |
| 13637 |
Ryo 2004-03-26 |
| 13638 |
|
| 13639 |
server/attack.c: Add scare_creature() function, which sets FLAG_SCARED |
| 13640 |
and also sets up appropriate enemy. Clean up some formatting in |
| 13641 |
other functions, and fix friendly fire - move it out of the loop for |
| 13642 |
all attacktypes (can be after we have figured out max damage). Also, |
| 13643 |
has a bug where if an attach wasn't doing any damage, friendly fire could |
| 13644 |
actually make it do damage (eg, fear spell). |
| 13645 |
server/player.c: Fix up flee_player() to be map tile aware. Also, add |
| 13646 |
call to flee_player() in handle_newcs_player() so player will run away. |
| 13647 |
MSW 2004-03-24 |
| 13648 |
|
| 13649 |
server/attack.c: Add missing skill=NULL in kill_object() - can be rare |
| 13650 |
cases where the proper skill can't be found. |
| 13651 |
server/move.c: Fix push_object() so that it also updates the pushers/ |
| 13652 |
pushees map - should only happen in tiled map cases. |
| 13653 |
server/pets.c: Fix summon_object() so that if a summon cult monsters was |
| 13654 |
cast, we try to find the god from the owner. If still can't find the |
| 13655 |
god, just return instead of crashing. |
| 13656 |
server/rune.c: Change trap_disarm() to call destroy_object() on the |
| 13657 |
trap object, so that all the trapss inventory is also destroyed |
| 13658 |
and not dumped on the ground. |
| 13659 |
server/skills.c: Only players without arms to steal. |
| 13660 |
server/spell_util.c: Change cast_spell to set up the skill pointer for the |
| 13661 |
caster even if the caster is the wizard. |
| 13662 |
MSW 2004-03-22 |
| 13663 |
|
| 13664 |
server/treasure.c: patch from Bernd Edler to enable multiple |
| 13665 |
'allowed' lines in artifacts. |
| 13666 |
Ryo 2004-03-12 |
| 13667 |
|
| 13668 |
Those fixes make DMs more 'stealthy' (when hiding/unhiding). |
| 13669 |
Also use yet unused colors for player join/leave, and DM join/leave. |
| 13670 |
This way those messages appear in a different window in split window |
| 13671 |
mode, to make the messages easier to spot. |
| 13672 |
server/apply.c: change color for player leave message. |
| 13673 |
server/c_misc.c: let DMs see hidden DMs. |
| 13674 |
server/c_wiz.c: make DMs more stealthy. |
| 13675 |
server/login.c: change color for player joining message. |
| 13676 |
server/main.c: change color for player joining/exiting message. |
| 13677 |
Ryo 2004-03-12 |
| 13678 |
|
| 13679 |
common/item.c: Fixed calc_item_power() to return valid item power for |
| 13680 |
items with high enchantments. |
| 13681 |
Andreas Kirschbaum 2004-03-07 |
| 13682 |
|
| 13683 |
server/spell_effect.c: small patch by Karla Stenger to put player's name |
| 13684 |
in the 'race' field of marking runes. This way, a DM can know who wrote |
| 13685 |
a rune, in case it has some bad vocabulary :) |
| 13686 |
Ryo 2004-03-06 |
| 13687 |
|
| 13688 |
server/spell_attack.c: change check_cone_push function to use arch weights. |
| 13689 |
move function up for resuability and change to check_spell_knockback |
| 13690 |
include/sproto.h: change function name |
| 13691 |
TM 2004-02-28 |
| 13692 |
|
| 13693 |
|
| 13694 |
common/image.c: removed unused variables. |
| 13695 |
common/item.c: conditionally remove unused variables. |
| 13696 |
common/map.c: conditionally define variables, unused under Windows. |
| 13697 |
include/global.h: turned off a conversion warning under Windows. |
| 13698 |
Ryo 2004-02-28 |
| 13699 |
|
| 13700 |
|
| 13701 |
common/living.c: changed 'signed char' to 'sint8' for set|get|change_attr_value. |
| 13702 |
common/map.c: map size is sint16, for arch_blocked. |
| 13703 |
include/libproto.h: update prototypes for set|get|change_attr_value and arch_blocked. |
| 13704 |
random_maps/rproto.h: changed prototype for surround_flag3. |
| 13705 |
random_maps/wall.c: changed surround_flag3 to use sint16 instead of int for map |
| 13706 |
coordinates. |
| 13707 |
server/apply.c: attribute values are sint8 in eat_special_food and |
| 13708 |
apply_changes_to_player. Some explicit casts. |
| 13709 |
server/player.c: map coordinates are sint16, in hideability. |
| 13710 |
server/spell_attack.c: map coordinates are sint16, not int. |
| 13711 |
server/spell_effect.c: stats are sint8 in cast_change_ability. Map coordinates are |
| 13712 |
sint16 in move_aura. |
| 13713 |
server/time.c: generate_monster doesn't return a value. |
| 13714 |
Ryo 2004-02-27 |
| 13715 |
|
| 13716 |
|
| 13717 |
common/living.c: Have give_skill_by_name() update the skill pointers in the |
| 13718 |
player object. |
| 13719 |
server/spell_attack.c: Properly set maxhp in the cone spell - this is used |
| 13720 |
in ok_to_put_more() to make sure one spell doesn't hit a single space |
| 13721 |
too many times. |
| 13722 |
MSW 2004-02-23 |
| 13723 |
|
| 13724 |
common/object.c: Change CAN_MERGE() so that we never merge applied objects - |
| 13725 |
whether or not they are rings. |
| 13726 |
lib/*: different spell for dragons vs players for firebreath - update |
| 13727 |
treasures so monsters use ability version. |
| 13728 |
server/gods.c: Add missing call to link_player_skills(), resulting in players |
| 13729 |
having multiple praying skills. |
| 13730 |
server/skill_util.c: Change learn_skill() so we don't create a skill pointer |
| 13731 |
for the player if they didn't learn the skill (even if they can't use |
| 13732 |
such a created skill, it is still a bit confusing). Fix finding of |
| 13733 |
hand to hand skills to make sure the player can in fact use the skill |
| 13734 |
in question. |
| 13735 |
server/spell_attack.c: Fix cast_cone() so that it properly hits all directions. |
| 13736 |
MSW 2004-02-22 |
| 13737 |
|
| 13738 |
|
| 13739 |
include/define.h,server/shop.c: Apply patch by Bernd Edler that gives |
| 13740 |
bargaining experience based on the amount of money a character saves. |
| 13741 |
Higher the bargaining skill, the more money they can save. |
| 13742 |
MSW 2004-02-16 |
| 13743 |
|
| 13744 |
doc/Developers/spells: Update type on casting_time - include suggested value |
| 13745 |
for times so that results are hopefully more coherent. |
| 13746 |
lib/archetypes, treasures.bld: rebuilt. |
| 13747 |
lib/treasures: Change some of the 'spelldirect' types to just the actual spells, |
| 13748 |
so that two seperate archs don't have to be maintained. |
| 13749 |
server/c_wiz.c: Add some basic sanity checking to command_remove() so that |
| 13750 |
we don't unnecessarily crash. |
| 13751 |
server/skills.c: write_scroll() - have it reset value of the scroll so that |
| 13752 |
the scrolls so inscribed by players have better chance of merging. |
| 13753 |
server/spell_attack.c: cast_cone() - if the caster is a trap, have it hit |
| 13754 |
the center space, so that characters who detonate cone traps will get hit |
| 13755 |
by the effects. Also, reduce range of cone spells if they are going |
| 13756 |
in all directions, compared to being targetted in a speciifc direction. |
| 13757 |
server/spell_util.c: cast_spell() - put lower limit on player speed_left value |
| 13758 |
when casting spells - since higher up the calling stack, the player speed |
| 13759 |
is also reduced, we need to set the lower limit here so that the player |
| 13760 |
isn't out of action longer than they should be. |
| 13761 |
MSW 2004-02-16 |
| 13762 |
|
| 13763 |
include/map.h: removed unused fields from wmapdef.. |
| 13764 |
include/object.h: removed unused field from object.h. Changed glow_radius to sint8 to be |
| 13765 |
coherent with struct MapSpace. |
| 13766 |
include/player.h: removed unused fields from player structure. |
| 13767 |
server/apply.c: removed unused known_spell field. |
| 13768 |
Ryo 2004-02-16 |
| 13769 |
|
| 13770 |
common/object.c: change get_owner() so that it also returns no valid owner if |
| 13771 |
the owner is removed. This fixes a crash if a player quits but is still |
| 13772 |
sitting at the play again prompt when something he owns kills something. |
| 13773 |
server/skill_util.c: Fix show_skills() so that if the character has too many |
| 13774 |
skills for whatever reason, we don't crash, and instead print an error |
| 13775 |
to the player. |
| 13776 |
server/spell_attack.c: Fix typo - not sure actual effect, but probably nothing |
| 13777 |
good. '+ +' should just have been '+' |
| 13778 |
MSW 2004-02-12 |
| 13779 |
|
| 13780 |
common/Makefile.am: Clean up proto - lex seems to toss some new symbols in |
| 13781 |
now days. |
| 13782 |
common/map.c, common/object.c, server/player.c, socket/item.c, |
| 13783 |
socket/request.c: change parameters of get_map_from_coord from int to |
| 13784 |
sint16, so the op->x,op->y can get passed directly in. Update callers of |
| 13785 |
this function. |
| 13786 |
lib/archetypes: Add damned 1 to the shop floors. |
| 13787 |
server/pets.c: Fix problem with big (multisquare) pets following the owner |
| 13788 |
across tiled map boundaries. |
| 13789 |
socket/item.c: Fix problem of players being able to see everything within |
| 13790 |
containers by just looking at them. |
| 13791 |
MSW 2004-02-10 |
| 13792 |
|
| 13793 |
common/treasure.c: add_abilities(): For potions and horns (spell casting |
| 13794 |
objects) convert the other_arch into a spell and put into the object - |
| 13795 |
otherwise, the spell casting object casts the wrong spell. |
| 13796 |
common/object.c: Clean up formatting of copy_object. Only real code change |
| 13797 |
is to fix events - copied event data wasn't getting malloc'd, and thus |
| 13798 |
when another object of that event was freed, it freed the event data |
| 13799 |
for all objects derived from it. |
| 13800 |
common/treasure.c: Fix fix_generated_item() so that books generated by |
| 13801 |
monsters with no_pick set don't inherit that for the book itself. |
| 13802 |
Still do it for other objects of the creator type. |
| 13803 |
MSW 2004-02-08 |
| 13804 |
|
| 13805 |
server/c_object.c: fixed sack_can_hold for the 'won't fit' cast, |
| 13806 |
missing 'return 0' |
| 13807 |
server/gods.c: applied Karla Stenger's patch, making sure 'praying' is |
| 13808 |
applied when becoming fellower of a god |
| 13809 |
Ryo 2004-02-08 |
| 13810 |
|
| 13811 |
Changed map-building to work on non-unique maps too. |
| 13812 |
server/build_map.c: removed check for unique map. |
| 13813 |
Ryo 2004-01-19 |
| 13814 |
|
| 13815 |
|
| 13816 |
Added map-building code. This lets players change unique maps, |
| 13817 |
adding & removing walls, doors, stuff like that. |
| 13818 |
New item types BUILDER & MATERIAL. New item flag FLAG_IS_BUILDABLE. |
| 13819 |
New range attack (builder). |
| 13820 |
---- |
| 13821 |
Changelog: change prescribed date format to be coherent with usage :) |
| 13822 |
common/loader.l: added 'is_buildable' flag. |
| 13823 |
include/define.h: added defines for item types & subtypes, and item flag. |
| 13824 |
include/player.h: new range type 'builder'. |
| 13825 |
include/spropo.h: new function apply_map_builder. |
| 13826 |
server/apply.c: handle new range type. |
| 13827 |
server/build_map.c: new file, handles all build-related code. |
| 13828 |
server/c_object.c: added 'buildable item' to examine function. |
| 13829 |
server/Makefile.am: added build_map.c to compilation. |
| 13830 |
server/player.c: handle new range type. |
| 13831 |
socket/info.c: handle new range type. |
| 13832 |
Ryo 2004-01-18 |
| 13833 |
|
| 13834 |
|
| 13835 |
Fix a crash related to plugin hooks |
| 13836 |
common/object.c: clear_object(): object's event's hook/plugin/options |
| 13837 |
are initialized with FREE_AND_COPY, so they are shared strings. |
| 13838 |
Better to release'em with FREE_AND_CLEAR_STR instead of |
| 13839 |
FREE_AND_CLEAR, else nice crashes... |
| 13840 |
Ryo 2004-01-16 |
| 13841 |
|
| 13842 |
Fix writing not inserting correctly item in inventory, and Windows- |
| 13843 |
specific stuff too |
| 13844 |
server/skills.c: write_scroll(): Better to insert spell in scroll, |
| 13845 |
and not the other way around |
| 13846 |
server/skill_util.c: fix Windows-specific int64 stuff. |
| 13847 |
Changelog: fix Mark's 2003 to 2004 :) |
| 13848 |
Ryo 2004-01-16 |
| 13849 |
|
| 13850 |
Fix a bunch of crashes observed on metalforge: |
| 13851 |
server/player.c: do_hidden_move(): Move call to find skill so that it is |
| 13852 |
always called. |
| 13853 |
server/skills.c: write_scroll(): Fix freeing of spell object in |
| 13854 |
scroll - newscroll->inv isn't valid after calling remove_ob, so |
| 13855 |
need to copy object to temporary pointer first. |
| 13856 |
server/spell_effect.c: cast_detection(): Pass in skill to use. If no |
| 13857 |
skill in use, use the caster object - fixes pointer derefence |
| 13858 |
as op->chosen_skill wasn't always set. |
| 13859 |
server/spell_util.c: modify caster_level() to always return at least 1. |
| 13860 |
Fixes pointer potential divide by zero problems - also guarantees |
| 13861 |
that players will be able to cast first level spells even if |
| 13862 |
repelled to that spellpath. ok_to_put_more() - Fix to use correct |
| 13863 |
map pointer variable. find_target_for_friendly_spell() - make it |
| 13864 |
so it handles tiled maps OK. |
| 13865 |
MSW 2004-01-15 |
| 13866 |
|
| 13867 |
common/object.c: fix the monsters on tiled maps bug that I may have |
| 13868 |
mentioned a while ago. Seems that the server assumed that all |
| 13869 |
parts of a multi part monster are on the same map as the head |
| 13870 |
while moving. |
| 13871 |
DVS 2004-01-12 |
| 13872 |
|
| 13873 |
common/living.c: fix fix_player() so that character gets benefits/penalties |
| 13874 |
for sp/hp/grace/etc regen bonuses as related to the god they worship. |
| 13875 |
server/player.c: dragon_ability_gain(): Modify so that character now gets |
| 13876 |
attacktype of new ability that they gain. Also, add code so that |
| 13877 |
the characters face/animation can change (getting set to values the bonus |
| 13878 |
ability). |
| 13879 |
MSW 2003-12-27 |
| 13880 |
|
| 13881 |
common/object.c: Set op->events=NULL in reset_object(), and move the |
| 13882 |
clearing of the op->events structure to be before the memset in |
| 13883 |
clear_object() - this was otherwise resulting in a memory leak, |
| 13884 |
as memset would clear the pointer without actually freeing the data. |
| 13885 |
server/attack.c: Fix indentation of hit_map(), modify it so that attacks |
| 13886 |
won't destroy items with no_pass set. |
| 13887 |
server/login.c: set op->speed=0, call update_ob_speed() before calling |
| 13888 |
reset_object() - fixes problem with players not moving with recent |
| 13889 |
changes to initting the active lists to NULL. |
| 13890 |
msw 2003-12-20 |
| 13891 |
|
| 13892 |
|
| 13893 |
server/skills.c: changed NDI_UNIQUE to NDI_BLACK for the meditation |
| 13894 |
message (so that messages can correctly be grouped, also makes it |
| 13895 |
coherent with praying). |
| 13896 |
Ryo 2003-12-20 |
| 13897 |
|
| 13898 |
Those fixes deal with gcc3.3 infinite loop. |
| 13899 |
Fixes (except sizeof/memset) courtesy Bernd Edler. |
| 13900 |
--- |
| 13901 |
common/item.c: use right buffer size for safe_strcat. |
| 13902 |
common/object.c: clear active_next and active_prev when cleaning an object. |
| 13903 |
include/define.h: fixed *curlen=maxlen-1; instead of *curlen=maxlen=1; |
| 13904 |
socket/init.c: initialize whole ns->inbuf.buf, instead of setting first |
| 13905 |
element only to 0. Also allocated with a sizeof( unsigned char ) * size, |
| 13906 |
in case size changes one day. And initialize some more fields. |
| 13907 |
Ryo 2003-12-18 |
| 13908 |
|
| 13909 |
|
| 13910 |
Those changes deal only with warning cleaning under Windows. |
| 13911 |
Mostly, using the right type at the right place, or doing explicit casts. |
| 13912 |
--- |
| 13913 |
common/object.c: changed free_arr_[xy] to short[] instead of int[]. |
| 13914 |
include/global.h: changed free_arr_[xy] to short[] instead of int[]. |
| 13915 |
Changed Windows-specific comments to C-style comments, not C++-style. |
| 13916 |
include/sockproto.h: play_sound_player_only takes sint8, not int, for |
| 13917 |
coordinates. play_sound_map takes a short for the sound number. |
| 13918 |
socket/image.c: some type fixing, explicit casts. |
| 13919 |
socket/init.c: Windows-specific type fixing. |
| 13920 |
socket/lowlevel.c: explicit casts to char for SockList_AddInt64 |
| 13921 |
socket/request.c: fixed types to match function parameters, or added |
| 13922 |
explicit casts when needed. |
| 13923 |
socket/sound.c: play_sound_player_only takes sint8, not int, for |
| 13924 |
coordinates. play_sound_map takes a short for the sound number. |
| 13925 |
Ryo 2003-12-14 |
| 13926 |
|
| 13927 |
server/rune.c: Fix it so that players won't be hit by traps if they are |
| 13928 |
not next to them when set off (firing arrows at a door for example). |
| 13929 |
server/spell_util.c: Fix spell_failure() to properly damage player if they |
| 13930 |
fumble. Fix cast_spell() to not complain about not having enough |
| 13931 |
grace if the spell doesn't take grace. Add same check for mana, but that |
| 13932 |
is much less likely, as harder to get negative mana. |
| 13933 |
socket/request.c: Fix problem where map sending code was not properly avoiding |
| 13934 |
duplicating the head of a big image on multiple layers. This bug most often |
| 13935 |
manifested itself of player standing on lower right corner of large building, |
| 13936 |
and something else standing on other portion of building - player would seem |
| 13937 |
to disappear. |
| 13938 |
MSW 2003-11-30 |
| 13939 |
|
| 13940 |
lib/adm/collect_images.pl: forced binary mode for written files. |
| 13941 |
This lets the script work correctly under Windows. |
| 13942 |
Ryo 2003-11-29 |
| 13943 |
|
| 13944 |
server/apply.c: correctly display learned skill's name, and not the |
| 13945 |
scroll's. |
| 13946 |
server/skills.c: make 'sense curse' and 'sense magic' check items |
| 13947 |
on the ground too. |
| 13948 |
Ryo 2003-11-25 |
| 13949 |
|
| 13950 |
common/loader.l, loader.c: Fix firewalls so that their spell is properly |
| 13951 |
initialized - uses 'dam' and not sp for those objects |
| 13952 |
server/apply.c: Fix check_weapon_power so that it finds proper wc object. |
| 13953 |
Fix unapply_for_ob so that it won't unequip cursed/damned weapons if |
| 13954 |
player switches objects. |
| 13955 |
MSW 2003-11-11 |
| 13956 |
|
| 13957 |
bulk of this is to fix exp loss when changing gods if you have more than |
| 13958 |
2 billion exp, removal of spells when you switch levels, and not giving you |
| 13959 |
all new spells when you switch religions. |
| 13960 |
-- |
| 13961 |
common/living.c: Update exp functions to be fully 64 bit aware. Don't |
| 13962 |
take away from player total exp if SK_SUBTRACT_SKILL_EXP is passed in. |
| 13963 |
common/utils.c: Add 64 bit version of random_roll(), called random_roll64() |
| 13964 |
lib/treasures: Make indentation consistent for some treasures. |
| 13965 |
server/apply.c: Use the FLAG_STARTEQUIP to denote god given spells, instead |
| 13966 |
of using special prayer markers. This simplifies the spell learning |
| 13967 |
and removal code. |
| 13968 |
server/gods.c: Make exp loss for changing religions 64 bit compliant. |
| 13969 |
Fix become_follower() so that it doesn't give all the new gods special |
| 13970 |
spells if you switch religions. Fix code so that it properly removes |
| 13971 |
all special prayers from previous god, and also print out message on what |
| 13972 |
spells you lost. Don't set the prayer skill as applied in various |
| 13973 |
areas - this results in two skills being applied, which isn't proper. |
| 13974 |
MSW 2003-11-09 |
| 13975 |
|
| 13976 |
common/living.c: Win32 compilation fix (levels is sint64, not uint64) |
| 13977 |
include/plugin.h: new hooks for free & fix_player. Required for Win32. |
| 13978 |
include/plugproto.h: new prototypes for CFWFreeMemory and CFWFixPlayer, |
| 13979 |
wrappers for free( ) and fix_player( ). Required for Win32. |
| 13980 |
include/sproto.h: added prototypes for new plugin hooks and improved tell |
| 13981 |
command helper. |
| 13982 |
plugin/plugin_python.c: wrap calls to fix_player, free and free_object |
| 13983 |
with plugin ones when memory allocated by CF's main exe. Required for |
| 13984 |
Win32 to work correctly. |
| 13985 |
server/c_chat.c: improved 'tell' command to accept first letters of player |
| 13986 |
name only, case-insensitive. If 2+ players match, returns with a failure |
| 13987 |
message. |
| 13988 |
server/player.c: new function find_player_partial_name. Returns player whose |
| 13989 |
beginning of name matches specified string, NULL if more than one matches. |
| 13990 |
Fix move_player to check specified direction's validity. |
| 13991 |
server/plugins.c: added wrappers for free( ) and fix_player( ). Required for |
| 13992 |
Win32 compatibility. |
| 13993 |
Ryo 2003-11-07 |
| 13994 |
|
| 13995 |
common/treasure.c, doc/Developers/spells: Fix generation of rods so they have |
| 13996 |
enough charges to cast the spells. Update documentation on what maxhp for |
| 13997 |
the archetype of rods means. |
| 13998 |
MSW 2003-11-01 |
| 13999 |
|
| 14000 |
server/player.c: Fix crash in stand_near_hostile when it is called on |
| 14001 |
tiled maps with player near edge. |
| 14002 |
MSW 2003-11-01 |
| 14003 |
|
| 14004 |
Various bug fixes: |
| 14005 |
common/arch.c: Fix item_matched_string() so that it only passes in the length |
| 14006 |
of the pssed in name in the strncasecmp(), and not the shorter of the |
| 14007 |
passed in string or item name. Otherwise, if player does a 'drop wand of', |
| 14008 |
unidentified wands (name just wand) would match. Similarly, if a player |
| 14009 |
did 'drop ringmail', unidentified rings would match, etc. |
| 14010 |
common/living.c: Fix fix_player() to always process the praying skill with |
| 14011 |
respect to resistances and whatnot. This is necessary because the |
| 14012 |
god give abilities are put in this skill, and those shouldn't go away |
| 14013 |
depending on if the skill is in use or not. Also fix bug in add_exp |
| 14014 |
routines which wasn't multiplying permanent exp by PERM_EXP_GAIN_RATIO |
| 14015 |
common/object.c: Fix find_obj_by_type_subtype() - had extraneous semicolon |
| 14016 |
after the for loop, so the if code that was supposed to be for each object |
| 14017 |
was never called and instead would crash as it would get called with tmp |
| 14018 |
was null. |
| 14019 |
server/attack.c: Fix problem with kill_object() not finding proper skill - |
| 14020 |
it would use the skill object instead of the skill. Fix problem of |
| 14021 |
poisoning not setting up proper skill name in poisoning object. |
| 14022 |
server/c_range.c: If player is invoking a spell, don't update their |
| 14023 |
range_magic value. |
| 14024 |
server/skill_util.c: Fix divide by zero problem if improperly passed |
| 14025 |
skill object. |
| 14026 |
MSW 2003-10-26 |
| 14027 |
|
| 14028 |
TRIGGER_MARKER: |
| 14029 |
common/glue.c, common/button.c, include/define.h, funcpoint.h, libproto.h |
| 14030 |
server/init.c: Add trigger_marker (type #52) which is a Marker that can be |
| 14031 |
triggered. Useful for placing forces in player when connected trigger is tripped. |
| 14032 |
TM 2003-10-26 |
| 14033 |
|
| 14034 |
common/glue.c, common/object.c, common/player.c, include/funcpoint.h, |
| 14035 |
server/init.c, server/monster.c, server/shop.c, server/skill_util.c: add |
| 14036 |
find_skill_by_number() function - this replaces find_skill. Locate new |
| 14037 |
function in skill_util.c, which is more a proper place than |
| 14038 |
common/player.c - this change necessitated adding glue function pointers |
| 14039 |
so the other common files can call it. |
| 14040 |
server/spell_effect.c: Fix cast_heal() so if the spell is not one that heals |
| 14041 |
hit points, don't process the code that checks for that and sets |
| 14042 |
a false success value. |
| 14043 |
socket/metaserver.c: Clean up formatting - no code changes. |
| 14044 |
MSW 2003-10-25 |
| 14045 |
|
| 14046 |
server/apply.c: small fix to apply_spellbook in the rare case when |
| 14047 |
the spellbook contains no spell (happens when DM issues a bad |
| 14048 |
'create' command for instance :). |
| 14049 |
Ryo 2003-10-04 |
| 14050 |
|
| 14051 |
server/c_new.c: fix command_run and command_fire so they check |
| 14052 |
the given direction is [0..8]. This enabled weird things like |
| 14053 |
hitting non-adjacent monsters. |
| 14054 |
Patch by Karla Stenger on cf-devel, slightly modified by me. |
| 14055 |
Ryo 2003-10-21 |
| 14056 |
|
| 14057 |
common/arch.c: fix item_matched_string() so that matching makes sense - |
| 14058 |
the ordering was wrong, so that we would match something with a low |
| 14059 |
priority, and skip over looking to see if that same object would get |
| 14060 |
a better match. Order the function so that we look for the best |
| 14061 |
matches first. |
| 14062 |
MSW 2003-10-08 |
| 14063 |
|
| 14064 |
socket/request.c: Clean up some compile warnings. Improve big face |
| 14065 |
handling - there were cases where data wasn't being sent when |
| 14066 |
it should have, and vice versa. Basically, do better checking |
| 14067 |
to see if we should send a big face for a particular layer, and |
| 14068 |
also better checking to make sure we don't send the same face more |
| 14069 |
than once for the same layer. Also, change esrv_map_scroll() |
| 14070 |
to clear out spaces that appear into view - adds a little extra bandwdith, |
| 14071 |
but necessary because otherwise the fact there is a big face on the edge |
| 14072 |
doesn't always get sent. |
| 14073 |
MSW 2003-10-07 |
| 14074 |
|
| 14075 |
TODO: various updates. |
| 14076 |
common/button: Old patch by David Seikel: change inventory checkers so that |
| 14077 |
the monster/player is also checked against. And do more proper for checkers |
| 14078 |
that check against slaying or race - if the trigger doesn't have |
| 14079 |
those set, we don't want to compare a null against another null and |
| 14080 |
get success). |
| 14081 |
server/apply.c: Change apply_shop_mat() so that it removes unpaid objects from |
| 14082 |
monsters (or thrown containers for that matter). Old patch by Bernd Edler |
| 14083 |
to improve messages dragons get for eating various food types. |
| 14084 |
server/player.c: Add another missing call to fix_player(). Modify |
| 14085 |
move_player_attack() so that the target player doesn't hit back if |
| 14086 |
they are the WIZ or on a battleground |
| 14087 |
MSW 2003-10-06 |
| 14088 |
|
| 14089 |
utils/player_dl.html utils/player_dl.pl.in: New files - scripts for allowing |
| 14090 |
character directories to be downloaded over the web. |
| 14091 |
configure.ac: Add check for 'tar', so that we can put it in the script above. |
| 14092 |
Makefile.in (All of them): Changed because TAR variable propogated to them. |
| 14093 |
MSW 2003-09-30 |
| 14094 |
|
| 14095 |
server/time.c: Real change is to add a missing call to fix_player - without |
| 14096 |
this new players would be getting messed up maxsp/maxgrace values. Cleaned |
| 14097 |
up formatting in move_player_changer() while doing the other change. |
| 14098 |
MSW 2003-09-28 |
| 14099 |
|
| 14100 |
common/living.c, include/libproto.h: Update some functions to take 64 bit int |
| 14101 |
values for exp usage. |
| 14102 |
random_maps/random_map.c: Don't ever make rogue maps symmetric - |
| 14103 |
creates unconnected maps. Clean up layoutgen() to not have a bunch |
| 14104 |
of duplicated code. |
| 14105 |
MSW 2003-09-25 |
| 14106 |
|
| 14107 |
server/skill_util.c: Call esrv_send_inventory on the cauldron if we |
| 14108 |
performed alchemy. Needed for cauldron's contents to get updated. |
| 14109 |
MSW 2003-09-23 |
| 14110 |
|
| 14111 |
Modified files: |
| 14112 |
TODO common/anim.c common/arch.c common/button.c common/exp.c |
| 14113 |
common/init.c common/item.c common/living.c common/loader.c |
| 14114 |
common/loader.l common/logger.c common/object.c |
| 14115 |
common/re-cmp.c common/readable.c common/recipe.c |
| 14116 |
common/treasure.c doc/Developers/objects |
| 14117 |
doc/Developers/protocol doc/Developers/python |
| 14118 |
doc/Developers/skills doc/Developers/spells |
| 14119 |
include/Makefile.am include/Makefile.in include/attack.h |
| 14120 |
include/config.h include/define.h include/global.h |
| 14121 |
include/includes.h include/libproto.h include/living.h |
| 14122 |
include/map.h include/newclient.h include/newserver.h |
| 14123 |
include/object.h include/player.h include/plugin.h |
| 14124 |
include/skills.h include/sockproto.h include/spells.h |
| 14125 |
include/sproto.h include/timers.h lib/Makefile.am |
| 14126 |
lib/Makefile.in lib/animations lib/archetypes lib/artifacts |
| 14127 |
lib/bmaps lib/bmaps.paths lib/collect.pl.in lib/crossfire.0 |
| 14128 |
lib/crossfire.1 lib/faces lib/formulae lib/settings |
| 14129 |
lib/treasures lib/treasures.bld lib/adm/collect_images.pl |
| 14130 |
plugin/plugin_python.c plugin/include/plugin_python.h |
| 14131 |
server/Makefile.am server/Makefile.in server/alchemy.c |
| 14132 |
server/apply.c server/attack.c server/c_misc.c server/c_move.c |
| 14133 |
server/c_object.c server/c_party.c server/c_range.c |
| 14134 |
server/c_wiz.c server/commands.c server/disease.c |
| 14135 |
server/gods.c server/init.c server/login.c server/main.c |
| 14136 |
server/monster.c server/pets.c server/player.c |
| 14137 |
server/plugins.c server/resurrection.c server/rune.c |
| 14138 |
server/shop.c server/skill_util.c server/skills.c |
| 14139 |
server/spell_effect.c server/spell_util.c server/swamp.c |
| 14140 |
server/time.c server/weather.c socket/info.c socket/init.c |
| 14141 |
socket/item.c socket/loop.c socket/lowlevel.c |
| 14142 |
socket/metaserver.c socket/request.c socket/sounds.c |
| 14143 |
Added Files: |
| 14144 |
server/spell_attack.c |
| 14145 |
Removed Files: |
| 14146 |
include/skillist.h lib/skill_params lib/spell_params |
| 14147 |
|
| 14148 |
Updated code for skill + spell code. skills and spells are now objects. |
| 14149 |
tuning these now means changing the archetypes. New spells can now |
| 14150 |
be added just by making a new archetype. Lots of code cleanup |
| 14151 |
also done. |
| 14152 |
MSW 2003-09-12 |
| 14153 |
|
| 14154 |
|
| 14155 |
TRAPS: |
| 14156 |
include/define.h |
| 14157 |
common/object.c, treasure.c |
| 14158 |
server/attack.c, skill_util.c, skills.c, rune.c, time.c, player.c, |
| 14159 |
apply.c Established new type traps distinguished from runes. Traps |
| 14160 |
are more mechanical in nature, not impacted by detect magic or |
| 14161 |
counterspell (maybe in future once skills are settled out more fine |
| 14162 |
tuning changes in detecting and disarming these too...). Traps also |
| 14163 |
can now trigger connected objects if they are detonated. Migrated |
| 14164 |
traps to new type and made new generic trap archetype for more complex |
| 14165 |
trapping (ye olde red shaded tile...) TM -2003-09-04 |
| 14166 |
|
| 14167 |
|
| 14168 |
friendly_fire: |
| 14169 |
Added friendly_fire to attack.c, called from hit_player. |
| 14170 |
Will put a cap on maxdam that is a percentage (1-100%) of damage (min |
| 14171 |
1) based on SET_FRIENDLY_FIRE value when players attack in peaceful |
| 14172 |
mode. Changed who, statistics to show this setting better and added |
| 14173 |
help file for peaceful. It would be nice to have a indicator in the |
| 14174 |
client for this as well. TM - 2003-08-25 |
| 14175 |
|
| 14176 |
protocol/doc/code: |
| 14177 |
Changed the way smoothing is done. Switched the smooth |
| 14178 |
command to binary mode, rebuild archetype files, added doc |
| 14179 |
on smoothing, updated protocol file. |
| 14180 |
Changed a the "togglemapextended smoothing" to "togglemapextended |
| 14181 |
smooth" to prevent problem of compatibilities with previous cvs |
| 14182 |
smoothing releases. |
| 14183 |
Tchize 2003-07-08 |
| 14184 |
|
| 14185 |
protocol: |
| 14186 |
Added new command to send extended map information to the |
| 14187 |
client. Mainly used for now to send smoothing information. |
| 14188 |
Also commented the modifications in the protocol file ind doc/ |
| 14189 |
lib/Makefiles: |
| 14190 |
Changed to install the smooth file too. Needed by smooth code |
| 14191 |
common/loader.l and loader.c |
| 14192 |
completly reworked get_ob_diff to improve speed at mapsave time. |
| 14193 |
For now function is interlaced with commented old code. Will clean |
| 14194 |
up when code will be proved working. (hope middle of july) |
| 14195 |
Tchize 2003-07-03 |
| 14196 |
|
| 14197 |
server/apply.c: Fix auto_apply - missing else, causing extra |
| 14198 |
treausres to be generated inside of shop tiles. |
| 14199 |
server/monster.c: Fix npc_call_help to be map tile aware. |
| 14200 |
MSW 2003-06-18 |
| 14201 |
|
| 14202 |
lib/collect.pl.in: Modify it so that it will collect .trs (treasure) files and |
| 14203 |
build a treasures.bld from that as well as the existing treasures file. In |
| 14204 |
this way, treasure information for objects can be put in the arch |
| 14205 |
directory. |
| 14206 |
lib/Makefile.am, Makefile.in: Modified so that it copies over the |
| 14207 |
treasures.bld to treasures in the destination directory. Have |
| 14208 |
the collect directive also build the images, so that a double |
| 14209 |
make isn't necessary. |
| 14210 |
lib/treasures.bld: Added file - like the archetypes, this is the pre- |
| 14211 |
build treasure file. Until .trs files are added, this will just |
| 14212 |
match the treasures file with some additional comments. |
| 14213 |
MSW 2003-05-26 |
| 14214 |
|
| 14215 |
common/map.c: Fix bug causing unnecessary crashes - ok for the map |
| 14216 |
to match if the object has been removed. |
| 14217 |
socket/loop.c: Only make call to draw_client_map() if we have a valid |
| 14218 |
map to draw. |
| 14219 |
MSW 2003-05-26 |
| 14220 |
|
| 14221 |
common/anim.c: Patch by AV to make sure multipart monsters animations |
| 14222 |
stay in sync. MSW 2003-05-25 |
| 14223 |
|
| 14224 |
server/apply.c: Fix bug in that we weren't calling esrv_map_scroll() |
| 14225 |
when player used a shop map but lacked sufficient funds to pay |
| 14226 |
for his items. |
| 14227 |
MSW 2002-05-23 |
| 14228 |
|
| 14229 |
common/item.c, common/utils.c, include/config.h: Add #define NEW_MATERIAL_CODE |
| 14230 |
and checks in the other files for this - if this is commented out |
| 14231 |
(default), then the new material naming code is disabled - material |
| 14232 |
names won't be put in the items names as shown in the inventory |
| 14233 |
(can still see material by examining an object), and objects that are |
| 14234 |
created will be created with the default material (eg, iron for |
| 14235 |
most armor/weapons, eg, brass, bronze, copper items won't show |
| 14236 |
up anymore). |
| 14237 |
lib/settings: Add comments from the old config.h file that describes |
| 14238 |
what the options already does. Having no comments in this file |
| 14239 |
or in config.h anymore is very unfriendly. |
| 14240 |
MSW 2003-05-20 |
| 14241 |
|
| 14242 |
server/player.c: Have players start at max hp/grace/sp. |
| 14243 |
MSW 2003-04-14 |
| 14244 |
|
| 14245 |
server/c_range.c: Add check to make sure we are actually removing a |
| 14246 |
golem and that the object hasn't been freed/recycled and the |
| 14247 |
player not updated. Fixes crashes. |
| 14248 |
MSW 2003-04-13 |
| 14249 |
|
| 14250 |
acinclude.m4: Update path to find python includes, since aclocal.m4 gets |
| 14251 |
derived from this file. |
| 14252 |
configure.ac, configure: Add utils/scores.pl to list of files to substitute on. |
| 14253 |
common/loader.l, loader.c: Add subtype for objects - will be used in future work. |
| 14254 |
common/object.c: Add subtype diff check in CAN_MERGE() |
| 14255 |
common/porting.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have |
| 14256 |
hardcoded 777 permissions. |
| 14257 |
doc/Makefile.in, doc/Makefile.am, doc/Developers/Makefile.am, |
| 14258 |
doc/Developers/Makefile.in: Move some of the spell docs around and merge |
| 14259 |
them together |
| 14260 |
doc/Developers/objects: Add notes about subtype. |
| 14261 |
doc/Developers/spells: New file, contains preliminary work on spell objects. |
| 14262 |
include/config.h: Remove command about DM_MAIL and LIBDIR from file, as they |
| 14263 |
are options no longer present. Update comment about SAVE_MODE, and add |
| 14264 |
SAVE_DIR_MODE |
| 14265 |
include/object.h: Add subtype field to object. |
| 14266 |
server/login.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have |
| 14267 |
hardcoded 6700 permissions. |
| 14268 |
utils/Makefile.in: Updated to know about scores.pl |
| 14269 |
utils/scores.pl.in: New file - reads player file to generate HTML score |
| 14270 |
file. |
| 14271 |
MSW 2003-04-04 |
| 14272 |
|
| 14273 |
TODO: Various update |
| 14274 |
aclocal.m4,configure: Update path to find python (fix again) |
| 14275 |
common/image.c: Minor update to a ocmment in the code. |
| 14276 |
common/los.c: Add missing P_OUT_OF_MAP checks that resulted in some incorrect |
| 14277 |
LOS calcuations. |
| 14278 |
include/funcpoint.h: Remove draw_func function pointer. |
| 14279 |
lib/Makefile.am, in: Remove bmaps.paths to from being installed or being part |
| 14280 |
of distribution - bmaps.paths is only needed when collecting the image |
| 14281 |
lib/*: Rebuilt |
| 14282 |
server/c_object.c: Patch by Bernd Edler to have the apply functions take into |
| 14283 |
acount if the item is equipped or not when looking for good matched items. |
| 14284 |
server/commands.c: Move printlos to normal commands. I don't think it reveals |
| 14285 |
any information that is in any way harmful. And since it dumps the |
| 14286 |
output to the players screen, no concern of it filling up log files. |
| 14287 |
Also, when doing LOS debugging, it is pointless to have it as a DM command |
| 14288 |
because LOS is ignored for DM's. |
| 14289 |
server/disease.c: Modify remove_symptoms to remove all symptoms the player |
| 14290 |
may have a disease. Modify infect_object() to not allow a creature to |
| 14291 |
have more than one instance of the same disease. |
| 14292 |
socket/info.c: remove draw() - instead, draw_client_map() can be used, |
| 14293 |
as that is most the only thing draw() did anyways. |
| 14294 |
socket/loop.c: Update draw() calls to draw_client_map() |
| 14295 |
socket/request.c: Remove special handling for darkness==4 cases (first |
| 14296 |
space that is in full darkness) - this is extra complications and causes |
| 14297 |
display problems. Update draw_client_map() to include the little bit |
| 14298 |
of logic that draw() had that this function did not have. |
| 14299 |
MSW 2003-04-01 |
| 14300 |
|
| 14301 |
|
| 14302 |
common/glue.c, include/funcpoint.h: remove draw_func() pointer - no longer |
| 14303 |
needed, so code that sets up pointer removed. |
| 14304 |
lib/*: rebuilt - facings added to old player animation information. |
| 14305 |
ruined_temple archetype added. |
| 14306 |
server/init.c: remove set_draw() function |
| 14307 |
server/player.c: remove call to draw() - socket code takes care of this. |
| 14308 |
MSW 2003-03-24 |
| 14309 |
|
| 14310 |
server/spell_effect.c: Some code cleanuip to cast_change_attr - mostly |
| 14311 |
to combine the processing of the stat improving spells together. |
| 14312 |
The actual change to playability is that bless and holy possession |
| 14313 |
don't stack if cast multiple times. |
| 14314 |
server/spell_util.c: Modify create_aura so that player can't have more than |
| 14315 |
one aura (of the same type) active at a time. |
| 14316 |
MSW 2003-03-20 |
| 14317 |
|
| 14318 |
server/apply.c: Change weapon improving code to only use up the number of |
| 14319 |
potions that it needs, and not all on the ground. Required adding |
| 14320 |
another arg to eat_item() which is the number of items to consume. |
| 14321 |
include/sproto.h: Rebuilt for new eat_item() (actually, a static, so no |
| 14322 |
longer shows up in this file) |
| 14323 |
server/attack.c: Change did_make_save to strip out magic attacktype when making |
| 14324 |
saves for objects - otherwise, things like poison cloud destroy objects. |
| 14325 |
server/time.c: deal with player animations special in process_object - need to |
| 14326 |
pass in the facing value, and not direction, since direction gets reset. |
| 14327 |
MSW 2003-03-19 |
| 14328 |
|
| 14329 |
common/anim.c: Pass direction to animate_object() - needed for player |
| 14330 |
animations as player's facing may not match direction. |
| 14331 |
crossedit/Attr.c, server/main.c, server/time.c: Update calls to animate_object() |
| 14332 |
include/libproto.h: rebuilt |
| 14333 |
include/newserver.h, plugin_animator/animator_box.c, socket/init.c, |
| 14334 |
socket/request.c: Remove newanim field from socket structure - not needed - |
| 14335 |
how to animate is determined by object, not by socket. |
| 14336 |
server/move.c: Add check to P_OUT_OF_MAP in teleport function. |
| 14337 |
server/player.c: change move_player to call animate_object, so it gets full |
| 14338 |
power of functionality it supports instead of 4 way hardcode animation |
| 14339 |
information. |
| 14340 |
server/spell_effect.c: When altars are consecrated, don't look to arch name |
| 14341 |
for first portion of name - always call them Altar of %s - fixes problem |
| 14342 |
where altar is special god altar that has god's name in archetype, resulting |
| 14343 |
in altar of .. of ... |
| 14344 |
MSW 2003-03-18 |
| 14345 |
|
| 14346 |
Patch for 64 bit experience total, as well as flexible number of levels. |
| 14347 |
Basically, max level is now dynamic, set in exp_table file. Experience |
| 14348 |
is now a 64 bit value, so much higher totals now allowed. To |
| 14349 |
allow for flexible levels, add new function - did_make_save() which is used |
| 14350 |
for players/monsters to see if they make their saving throw - this is |
| 14351 |
necessary because the savethrow[] array may not be as large as max level - |
| 14352 |
did_make_save takes this into account. |
| 14353 |
NOTE: If your updating a server, you will need to copy over/set up a |
| 14354 |
new exp_table file that has max_levels defined and at least one of the |
| 14355 |
tables uncommented. There are no longer any compiled in defaults |
| 14356 |
-- |
| 14357 |
configure, configure.ac: Add AC_CHECK_SIZEOF calls for long and long long |
| 14358 |
so we can know which one to use for 64 bit support (other checks |
| 14359 |
may need to be added) |
| 14360 |
common/exp.c: Remove levels table, replace it with a 64 bit pointer. |
| 14361 |
Change init_experience to allocate appropriately sized table, have it |
| 14362 |
read max_level value from exp_table file. Replace atoi calls with |
| 14363 |
atoll to get 64 bit value. Update dump_experience to properly |
| 14364 |
print 64 bit values. |
| 14365 |
common/info.c: Update dump routines that dump exp to properly print |
| 14366 |
64 bit values. |
| 14367 |
common/init.c: Add initializing for settings.max_level value. |
| 14368 |
common/item.c: Update sprintf's to handle 64 bit output of exp (speed) |
| 14369 |
value in objects. |
| 14370 |
common/living.c: change MAX_EXP define, update MAX_EXP_IN_OBJ define, |
| 14371 |
add MAX_SAVE_LEVEL which corresponds to how large the savethrow |
| 14372 |
table is. Change MAXLEVEL to settings.max_level. Change level_exp() |
| 14373 |
to return 64 bit value, other updates in functions to use 64 bit |
| 14374 |
values. Add did_make_save() function. |
| 14375 |
common/loader.l, common/loader.c: Update load/save routins of exp to |
| 14376 |
deal with 64 bit values. |
| 14377 |
common/map.c: Update calculate_difficulty to use 64 bit values when |
| 14378 |
storing exp - unlikely to make a difference, since unlikely any map |
| 14379 |
will get to a point where it has that much exp on it. |
| 14380 |
common/porting.c: Remove dead code from save_long(), add save_long_long() |
| 14381 |
to save 64 bit values. |
| 14382 |
include/autoconf.h.in: SIZEOF_LONG and SIZEOF_LONG_LONG values added. |
| 14383 |
include/global.h: Add code to typedef sint64/uint64 types based on what |
| 14384 |
type gives us those values. Add max_level to settings array. |
| 14385 |
include/libproto.h: rebuilt. |
| 14386 |
include/living.h: Replace exp field with 64 bit value. |
| 14387 |
include/player.h: Update party kill log exp tracking to have 64 bit |
| 14388 |
values. |
| 14389 |
lib/exp_table: Udpate comments about max_level, uncomment what |
| 14390 |
was the default table so new installs have working table. |
| 14391 |
Add 5 levels to all the tables. |
| 14392 |
random_maps/monster.c: Update place_monsters to use 64 bit when storing |
| 14393 |
exp total for map/per square. |
| 14394 |
server/apply.c: Replace MAXLEVEL with settings.max_level, add |
| 14395 |
did_make_save calls where appropriate |
| 14396 |
server/c_misc.c: have statistics command properly print 64 bit |
| 14397 |
exp value. |
| 14398 |
server/c_wiz.c: Have stats command properly display 64 bit value. |
| 14399 |
server/hiscore.c: Replace exp values with 64 bit values, update to |
| 14400 |
properly load/display them. |
| 14401 |
server/player.c: replace savethrow[] reference with did_make_save() |
| 14402 |
server/skill_util.c: Update skills command to properly show 64 bit exp values. |
| 14403 |
server/spell_effect.c: replace savethrow[] reference with did_make_save(), |
| 14404 |
allow players to cast directors right beneath themselves, but other |
| 14405 |
walls must be on empty space. |
| 14406 |
MSW 2003-03-07 |
| 14407 |
|
| 14408 |
Various bug fixes. |
| 14409 |
crossedit/Attr.c: Minor cleanup to eliminate some compile time warnings. |
| 14410 |
plugin/plugin_python.c: Remove some unused variables, thus fixing up some |
| 14411 |
compiler warnings. |
| 14412 |
random_maps/random_map.c, random_maps/random_map.h, random_maps/special.c: |
| 14413 |
Add MIN_RANDOM_MAP_SIZE values instead of hardcode constants. |
| 14414 |
server/monster.c: Fix communicate - odd bug can be map gets swapped out |
| 14415 |
just after player is transferred to another map, causing crashes as |
| 14416 |
map that was originally spoken on is no longer in memory. |
| 14417 |
server/rune.c: add missing free_object call when erasing runes. |
| 14418 |
server/skills.c: Change write_on_item to determine type of writing based |
| 14419 |
on content of mesage, or lack thereof, and not the marked object. |
| 14420 |
Fix problem of buf not being initalized. |
| 14421 |
MSW 2003-03-06 |
| 14422 |
|
| 14423 |
|
| 14424 |
Various bug fixes. |
| 14425 |
Makefile.am, Makefile.in: Put crossedit as the last directory, so any build |
| 14426 |
errors for crossedit doesn't effect anything else. |
| 14427 |
README: Update ftp site listing. |
| 14428 |
TODO: More things aded. |
| 14429 |
aclocal.m4, configure: Add missing / when checking in /usr/local for |
| 14430 |
python headers. |
| 14431 |
common/map.c: Add some debugging in free_all_objects that checks to make sure |
| 14432 |
there are not objects remaining that belong to the map just freed - |
| 14433 |
only active if MANY_CORES is set. |
| 14434 |
random_maps/random_map.c: Increase minimum random map size to 10x10 - this |
| 14435 |
is need for square spirals to work properly I think. |
| 14436 |
server/spell_effect.c: Have perceive self tell dragon players what they are |
| 14437 |
currently focused on. Fix town portal to remove force objects from |
| 14438 |
players if destination is no longer available. |
| 14439 |
server/swap.c: Reset maps reset_time when loading them in in read_map_log() - |
| 14440 |
this is only used if recycle temp maps is on. Also, do sanity checking |
| 14441 |
on reset_time value - bogus values were observed on metalforge. |
| 14442 |
socket/request.c: Update map timeout in draw_client_map() - in this way, |
| 14443 |
we don't swap out a map within a players view only to swap it back |
| 14444 |
in. |
| 14445 |
MSW 2003-03-01 |
| 14446 |
|
| 14447 |
------------------------------------------------------------------------------ |
| 14448 |
Changes for 1.5.0: |
| 14449 |
|
| 14450 |
*/Makefile.in, related files: Updated for 1.5.0 |
| 14451 |
server/attack.c: Don't change weak wall image if no damage was actually done. |
| 14452 |
server/c_object.c: Include math.h - needed for pow() |
| 14453 |
server/spell_effect.c: fix infinite loop in town_portal |
| 14454 |
MSW 2003-02-24 |
| 14455 |
|
| 14456 |
common/anim.c: Fix for 8 way facing animations. |
| 14457 |
lib/treasures: Add sheep treasures |
| 14458 |
lib/* (rest) - rebuilt |
| 14459 |
server/spell_effect.c: Fix up counterspell - mainly fix a bug in that if |
| 14460 |
counterspell hit a multipart magic that used magic as an attacktype, |
| 14461 |
it would also crash. However, code also woudln't work properly on |
| 14462 |
tiled maps, and I'm dubious if it would work properly if there was more |
| 14463 |
than one effect on a space. |
| 14464 |
MSW 2003-02-23 |
| 14465 |
|
| 14466 |
server/skills.c: Fix jump so that it updates the clients map properly. |
| 14467 |
server/spell_effect.c: insert town portals below the player so it |
| 14468 |
works better with apply. |
| 14469 |
MSW 2003-02-20 |
| 14470 |
|
| 14471 |
server/move.c: Fix transfer_ob so that it sends newmap command to client |
| 14472 |
if we're moving a playing - otherwise fog of war displays bad |
| 14473 |
information on the client. |
| 14474 |
MSW 2003-02-19 |
| 14475 |
|
| 14476 |
More bugfixes: |
| 14477 |
server/c_wiz.c: Fix reset command - while it deleted the maps, it made things |
| 14478 |
so that it never got removed from the map listing - instead, just let |
| 14479 |
flush_old_maps do most of the work. |
| 14480 |
server/main.c: If player tries to enter a random map that has been reset |
| 14481 |
and that we have no informatino about (eg, going up in a dungeon), |
| 14482 |
just say the exit is closed instead of making a completely random map |
| 14483 |
that usually isn't in keeping with the dungeon (and still won't lead |
| 14484 |
outdoors) |
| 14485 |
server/move.c: In move_teleporter(), change it so that if a player uses |
| 14486 |
a shop map yet there is no place to put the player, just drop him on |
| 14487 |
top of a monster - this fixes problem of players getting trapped inside |
| 14488 |
of shops in random dungeons. |
| 14489 |
MSW 2003-02-16 |
| 14490 |
|
| 14491 |
random_map/random_map.c: Include parameters used to make map in msg of map - |
| 14492 |
this can hopefully be used to debug what is really happening when bad |
| 14493 |
maps are made. |
| 14494 |
server/rune.c: Modify dispel_rune function (called from disarm spell) |
| 14495 |
to erase marking runes. While at it, fix it so that it does the right |
| 14496 |
thing with respect to tiled maps. |
| 14497 |
MSW 2003-02-15 |
| 14498 |
|
| 14499 |
include/sproto.h, server/move.c: Modify try_fit() to take mapstruct parameter |
| 14500 |
for which map we are trying to fit this on - fixes problems with rolling |
| 14501 |
boulders accross map (only function that currently uses this). |
| 14502 |
MSW 2003-02-14 |
| 14503 |
|
| 14504 |
common/item.c: make item_power stop showing up in ring short descriptions. |
| 14505 |
fix some of the items that were double-displaying materialnames, like |
| 14506 |
mithril mithril chainmail. |
| 14507 |
common/loader.l: add tooltype |
| 14508 |
common/utils.c: Unless the object is armour or weapons, pick the first |
| 14509 |
materialname we find. Now, newly generated diamonds will stack. |
| 14510 |
Fix name_to_material to return NULL if it finds nothing, fixes |
| 14511 |
navar_city/museum crash. |
| 14512 |
Change set_materialname to take a materialtype_t argument, allowing |
| 14513 |
functions to manually set the materialname, rather than let the |
| 14514 |
randomizer pick for them. |
| 14515 |
include/define.h: Add TOOL and BUILDFAC for item building. |
| 14516 |
include/object.h: add tooltype for item building. |
| 14517 |
include/materials.h: add M_SPECIAL. Set this in an object, to prevent things |
| 14518 |
like mithril mithril chainmail. This is primarily only needed in |
| 14519 |
artifacts, because they change the base material of the arch. Also |
| 14520 |
useful in things like the demonspawn shield, and on maps. |
| 14521 |
lib/artifacts: sprinkle M_SPECIAL around. |
| 14522 |
server/player.c: remove auto_heal. This never should have been |
| 14523 |
committed, and was never referenced by any code. |
| 14524 |
server/c_object.c: add item building, but add it disabled. Too many |
| 14525 |
bugfixes were tied in with this code to cleanly add them. When |
| 14526 |
enabled, this code will add player item building, similar to |
| 14527 |
create to take place. Requires a host of graphics and arches |
| 14528 |
to be useable. |
| 14529 |
garbled 2003-02-13 |
| 14530 |
|
| 14531 |
random_maps/special.c: Fix possible bug with placement of special maps. |
| 14532 |
Add lore/endlore to object structure to hold general information about objects: |
| 14533 |
common/loader.c, common/loader.l: Add loading and saving of lore field. |
| 14534 |
common/object.c: handle lore field for copy/free/other object operations. |
| 14535 |
Also, update CAN_MERGE to look at materialname also. |
| 14536 |
doc/Developers/objects: Add notes about lore. |
| 14537 |
include/object.h: add lore field to object. |
| 14538 |
server/apply.c: Fix bug in that cursed weapons were not equipped/ |
| 14539 |
unequipped. |
| 14540 |
MSW 2003-02-11 |
| 14541 |
|
| 14542 |
doc/Developers/objects: Add nodes about shared strings in objects. |
| 14543 |
server/c_misc.c: Remove check for name length - check_name takes care |
| 14544 |
of that for us. |
| 14545 |
server/monster.c: store return value from get_map_flags - seen some |
| 14546 |
crashes traced back to this area, want to see what it returned. |
| 14547 |
Allow objects with no msg to still use scripts that listen. |
| 14548 |
server/player.c: Fix potentional issue of freeing/adding players name |
| 14549 |
when they enter play again - seen some crashes attributed to |
| 14550 |
odd names. |
| 14551 |
MSW 2003-02-08 |
| 14552 |
|
| 14553 |
|
| 14554 |
More bugfixes: |
| 14555 |
server/player.c: Fix permadeath without resurrection - wasn't deleting |
| 14556 |
player save files as it was supposed to. If permadeath + |
| 14557 |
resurrection was in use, I believe it all worked as expected. |
| 14558 |
include/shop.h: remove _SHOP_H after endif, causing compiler warnings. |
| 14559 |
include/skills.h: Add check to USING_SKILL to make sure chosen_skill |
| 14560 |
is not null. |
| 14561 |
server/c_chat.c: Add some missing return values, resulting in compiler |
| 14562 |
warnings. |
| 14563 |
server/skill_util.c: Remove unused variable. compiler warnings again. |
| 14564 |
server/spell_effect.c: Change dimension door so that you can't go |
| 14565 |
through spaces that block passsage and also block view (eg walls). |
| 14566 |
This goes back to the more traditional behaviour. Remove |
| 14567 |
some unused variables. |
| 14568 |
server/spell_util.c: Add missing P_OUT_OF_MAP to move_missile, resulting |
| 14569 |
in crashes. |
| 14570 |
server/time.c: if generator is not on a map, don't have it generates. |
| 14571 |
Fixes crashes. |
| 14572 |
MSW 2003-02-02 |
| 14573 |
|
| 14574 |
New materialtype system for crossfire. Based in concept on my original |
| 14575 |
design, but rewritten from scratch to make it easily extensible. |
| 14576 |
|
| 14577 |
In a nutshell: |
| 14578 |
|
| 14579 |
Each of the old materialtypes (metal, glass, stone, wood) are now a class |
| 14580 |
of materials. When an item in the game is created, if it does not have a |
| 14581 |
specific materialname of it's own, a materialname is generated randomly |
| 14582 |
from the matching entries in the "lib/materials" file. This file |
| 14583 |
contains all of the saving throws, and other material specific |
| 14584 |
modifications for each of the expanded materials. |
| 14585 |
|
| 14586 |
Materials can be manually specified in the arch with the "materialname" |
| 14587 |
directive. Such as the gold coins, which are specified to be made of, |
| 14588 |
you guessed it, gold. |
| 14589 |
|
| 14590 |
Saving throws have been slightly rewritten to use the new materialtypes, |
| 14591 |
and a few other minor details associated with materialtypes have been |
| 14592 |
patched up. |
| 14593 |
|
| 14594 |
Adding a new type of stone or wood, is as simple as adding a new entry in |
| 14595 |
the lib/materials file. The game will automatically start distributing |
| 14596 |
them around randomly. |
| 14597 |
garbled 2003-01-29 |
| 14598 |
|
| 14599 |
Various bug fixes: |
| 14600 |
common/item.c: If nrof of an item is 0, have it print singular name and |
| 14601 |
not plural name. |
| 14602 |
server/c_object.c: Fix typo when printing value of optoins - had an |
| 14603 |
extra 'the' in place. Also, don't print value of objects with |
| 14604 |
no pick flag set. |
| 14605 |
server/login.c: Enforce maximum name length for new characters. |
| 14606 |
server/monster.c: Change parsing code for messages/@match code - |
| 14607 |
new code is simpler, and should also be simpler and less bug |
| 14608 |
ridden, but otherwise functionally equivalant. Also fix up |
| 14609 |
communicate to work properly on tiled maps. |
| 14610 |
server/spell_effect.c: fix up move_aura to not crash hopefully. |
| 14611 |
MSW 2003-01-26 |
| 14612 |
|
| 14613 |
More bug fixes: |
| 14614 |
common/item.c: Add missing braces - was resulting in some items getting |
| 14615 |
display like 'gauntlets of strength (Str+1)(Str+1). |
| 14616 |
include/map.h: Add MAGIC_MAP definitions to the file. |
| 14617 |
server/shop.c: Put back in code that uses magic_mapping_mark to determine |
| 14618 |
what items to display in inventory. Update for new one magic mapping |
| 14619 |
code stores information away. |
| 14620 |
server/spell_util.c: Add missing P_OUT_OF_FLAG check, which resulted |
| 14621 |
in crashes. |
| 14622 |
socket/info.c: Move MAGIC_MAP definations to map.h. Add check for |
| 14623 |
P_OUT_OF_MAP. Remove code that stops on P_NO_MAGIC - with that |
| 14624 |
it wouldn't search the shops. |
| 14625 |
MSW 2003-01-16 |
| 14626 |
|
| 14627 |
server/move.c: fix try_to_fit and roll_ob to work properly on tiled maps. |
| 14628 |
Also some performance improvements to those functions. |
| 14629 |
MSW 2003-01-12 |
| 14630 |
|
| 14631 |
Bulk of this commit is to improve code for tiled maps - replace |
| 14632 |
wall/blocks_magic/blocks_cleric, etc with get_map_flags which |
| 14633 |
also does map tiling translation as needed. This should fix a lot |
| 14634 |
of the bugs related to map tiling (there are sure to be more out |
| 14635 |
there - all the get_map_ob still need to be checked). |
| 14636 |
Other changes - many spells stopped progressing on spaces that |
| 14637 |
blocked view - that is now removed - didn't make a lot of sense. |
| 14638 |
Other fixes - some cleric spells (eg, word of recall) checked to |
| 14639 |
see if magic was prohibited, didn't check to see if cleric |
| 14640 |
was prohibited. |
| 14641 |
Clean up some bugs in the lighting code that would cause erroneous |
| 14642 |
results. Also, allow players to see immediately around them on |
| 14643 |
outdoor maps no matter how dark the map really is - behaviour |
| 14644 |
on indoor maps is the same. |
| 14645 |
Lots of code reformatted, and lots of obsoleted/dead code removed. |
| 14646 |
Add max range to dimension door. |
| 14647 |
Fix magic map - got broken when the layer stuff was redone - was |
| 14648 |
not showing proper colors. IT also works sensibly on tiled maps |
| 14649 |
now - rather than display based on the map, it gives the player a |
| 14650 |
50x50 area centered on where the player is. |
| 14651 |
Change fire_bow - move special player fire modes into own function - |
| 14652 |
makes code much cleaner. |
| 14653 |
Hopefully this fixes more bugs than it introduces. |
| 14654 |
common/los.c, common/map.c, common/object.c, crossedit/Edit.c, |
| 14655 |
include/libproto.h, include/sockproto.h, include/map.h, |
| 14656 |
include/spellist.h, include/sproto.h, random_maps/treasure.c, |
| 14657 |
random_maps/wall.c, server/attack.c, server/c_misc.c, |
| 14658 |
server/c_wiz.c, server/disease.c, server/main.c, server/monster.c, |
| 14659 |
server/pets.c, server/player.c, server/rune.c, server/shop.c, |
| 14660 |
server/skill_util.c, server/skills.c, server/spell_effect.c, |
| 14661 |
server/spell_util.c, server/time.c, socket/info.c: See note above |
| 14662 |
server/apply.c: Limit number of times weapon can be enchanted so |
| 14663 |
that it won't overflow item_power. Modify enchant armor |
| 14664 |
to enchant as normal armor is enchanted, also only allows one |
| 14665 |
item to be enchanted. |
| 14666 |
MSW 2002-01-07 |
| 14667 |
|
| 14668 |
common/item.c: Add 'unidentified' to display of examined items if the |
| 14669 |
item has not been identified. Only display spell regen penalty |
| 14670 |
for armour if there is in fact a penalty. |
| 14671 |
lib/archetypes: rebuilt for updated demon speed, pick up other new archs. |
| 14672 |
lib/animations, lib/bmaps lib/bmaps.paths lib/crossfire.0 lib/crossfire.1 |
| 14673 |
lib/faces: rebuilt |
| 14674 |
server/main.c: Name random maps based on final map component (if available) |
| 14675 |
or map they are spawned from - this gives so clue in 'who' command |
| 14676 |
where the players really are. |
| 14677 |
server/monster.c: Fix code that would cause monsters to ignore golems/ |
| 14678 |
avatars. |
| 14679 |
server/pets.c: Clean up a few warnings, fix bug in pet_move that caused |
| 14680 |
crashes - owner of a pet isn't always a player. |
| 14681 |
server/player.c: Remove on_same_map check - can_detect_monster also |
| 14682 |
performed check, so no need to have extra call. |
| 14683 |
server/spell_effect.c: modify alchemy to properly deal with tiled maps, |
| 14684 |
change behavior for spells that block view - they no longer block |
| 14685 |
alchemy, but spaces that block magic will. |
| 14686 |
MSW 2002-01-05 |
| 14687 |
|
| 14688 |
TODO - add notes about item damage - clear it out of my mailbox. |
| 14689 |
common/loader.l, loader.c: Add check at load time to see if monsters |
| 14690 |
hp is higher than its maxhp and print a debug message if so. |
| 14691 |
devel/Makefile: Remove - makefiles shouldn't be in CVS, only .in versions. |
| 14692 |
server/attack.c: Fix calculation of max_damage in kill_object - this |
| 14693 |
was being done incorrectly, resulting in fired spell objects causing |
| 14694 |
incorrect amounts of damage, resulint in some monsters ending up with |
| 14695 |
a lot of hp. Fix call to kill_object to pass in correct damage value. |
| 14696 |
server/monster.c: Put in check so that monster won't regen to more hp |
| 14697 |
than they should have. |
| 14698 |
server/spell_util.c: Removed unused variable from move_missile. |
| 14699 |
server/weather.c: fix bug that causes crash if empty space is encountered |
| 14700 |
on map. |
| 14701 |
MSW 2003-01-03 |
| 14702 |
|
| 14703 |
socket/request.c: Fix buffer (malloc) overrun in esrv_send_stats - more |
| 14704 |
stuff has gotten to be added, without ever increasing the size of the |
| 14705 |
buffer to hold it. |
| 14706 |
MSW 2003-01-01 |
| 14707 |
|
| 14708 |
server/time.c: Fix bad code in stop_arrow that caused crashes/improper |
| 14709 |
freeing of data. |
| 14710 |
MSW 2002-12-30 |
| 14711 |
|
| 14712 |
common/treasure.c: Fix initialization of treasure structs to use calloc. |
| 14713 |
server/player.c: Fix infinite loop. |
| 14714 |
socket/loop.c: Make sure we put in null terminator for socket data. |
| 14715 |
MSW 2002-12-26 |
| 14716 |
|
| 14717 |
|
| 14718 |
New Arrow and Pet Code: |
| 14719 |
Add bowmode and petmode commands. Allowing the player to change the firing |
| 14720 |
style for bows to one of either threewide, or spreadshot. |
| 14721 |
Allow players to change the operating modes of his pet with petmode. Can be |
| 14722 |
either seek and destroy, defend, or normal historical behavior. |
| 14723 |
Change bows to impart speed to arrows based on damage and other magical |
| 14724 |
plusses. Damage decays over distance, to stop arrows from flying forever. |
| 14725 |
Very fast moving arrows will pierce multiple targets. An arrow moving at a |
| 14726 |
speed greater than 10.0 will go straight through a target, losing 1.0 of |
| 14727 |
speed in the process. |
| 14728 |
Change magic missile to use spell_find_dir instead of find_dir to stop it |
| 14729 |
from flying in a circle and hitting the caster, and to make it stop |
| 14730 |
flying into walls to hit creatures behind the walls. |
| 14731 |
|
| 14732 |
Various bug fixes: |
| 14733 |
common/living.c: Reset glow_radius for players, so they stop glowing |
| 14734 |
after they snuff out their torch or whatever. |
| 14735 |
server/apply.c: Fix message about improving armour so that it is now |
| 14736 |
accurate. |
| 14737 |
server/monster.c: Add some debug lines that may show cause of excess |
| 14738 |
monster hp. |
| 14739 |
server/spell_effect.c: fix compile warning in summon_pet(). Clean up |
| 14740 |
indentation of alchemy functions, but functional changes is to |
| 14741 |
insert gold nuggets below player (so more of the actions work), |
| 14742 |
as well as to reset the view position, so that it won't have the |
| 14743 |
'previous 50' object selection. Add suggested parens in |
| 14744 |
cast_detection. |
| 14745 |
server/weather.c: Fix crash in weather code if snow was only object |
| 14746 |
on space. |
| 14747 |
MSW 2002-12-20 |
| 14748 |
|
| 14749 |
+++ |
| 14750 |
server/weather.c: |
| 14751 |
More weather routines: |
| 14752 |
|
| 14753 |
Now the game will attempt to completely reformat the world, and modify it |
| 14754 |
with the weather and elevation. When dynamiclevel is set to 5 or above, |
| 14755 |
the game looks at each tile, and the weather conditions present in that |
| 14756 |
tile. It then consults a table of different terrain types, and what |
| 14757 |
conditions they prefer to grow under. If the conditions match the spot, |
| 14758 |
and there is nothing special about the spot (like a house, or a road), |
| 14759 |
then we drop the new tile type on the overlay map on that location. |
| 14760 |
|
| 14761 |
Tuning of this can be done at the top of weather.c, by changing the |
| 14762 |
weather_tile array. |
| 14763 |
|
| 14764 |
Also.. add a feather_map() routine which tries to break up the blockiness |
| 14765 |
of some of the weather effects by spreading the tiles around. |
| 14766 |
|
| 14767 |
This code works.. but needs tuning, and probably a little more testing. |
| 14768 |
Some of the conditions for the various tiles really need to be looked at, |
| 14769 |
and fiddled with. |
| 14770 |
garbled 2002-12-08 |
| 14771 |
+++ |
| 14772 |
|
| 14773 |
common/exp.c: Fix bug were drain attacks added exp. |
| 14774 |
MSW 2002-12-05 |
| 14775 |
|
| 14776 |
server/player.c: Change move_player_attack() so that we look for monsters |
| 14777 |
to attack even after finding a rollable object - there can be non |
| 14778 |
blocking rollable objects with monsters on top - we want to attack |
| 14779 |
the monster, not roll the object. |
| 14780 |
MSW 2002-12-03 |
| 14781 |
|
| 14782 |
TODO: Move more items from my mailbox to the TODO list. |
| 14783 |
common/living.c: Init item_power in player to zero in fix_player() - |
| 14784 |
bogus results were getting generated as it just kept getting incremented. |
| 14785 |
common/porting.c: fix remove_directory so it works properly - checking |
| 14786 |
for . and .. entries too late, calling unlink instead of rmdir. |
| 14787 |
include/sproto.h: rebuilt |
| 14788 |
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.0, |
| 14789 |
lib/crossfire.1, lib/faces: Rebuilt - new archs added, catch is_thrown |
| 14790 |
addition to thrown rock/boulder archs. |
| 14791 |
server/c_move.c, server/c_range.c: Add another parameter to do_skill() - part, which |
| 14792 |
is closest part of creature to target object - current only used |
| 14793 |
for the throw code. Update calls to this function to add additional |
| 14794 |
parameter. |
| 14795 |
server/c_object.c: Remove the NDI_UNIQUE from the 'item is too heavy |
| 14796 |
to pick up' so that it won't flood the client with them if players |
| 14797 |
goes onto space with lots of objects. |
| 14798 |
server/main.c: Minor cleanup to fix compiler warning about ambigous |
| 14799 |
if/else. |
| 14800 |
server/monster.c: Pass closest part of monster when having it use |
| 14801 |
a skill so that it doesn't throw rocks into itself. Update calls to |
| 14802 |
do_skill as described above. |
| 14803 |
server/player.c: Cal delete_player() when player quits - this properly |
| 14804 |
cleans up any per player unique maps they have. Also, check for |
| 14805 |
any such maps currently in memory, and delete those so that unique |
| 14806 |
maps don't get 'gifted' to the next character of the same name. |
| 14807 |
Update calls to do_skill as described above. |
| 14808 |
server/shop.c: Combine items of the same name together in the output |
| 14809 |
of the shop listings. Include the number of items, remove special |
| 14810 |
casing of some objects so that query_base_name is used for all item |
| 14811 |
types. |
| 14812 |
server/skill_util.c: Modify do_skill() to take additional param as |
| 14813 |
described above. Also, have do_skill return 1 on success, |
| 14814 |
0 on failur to use skill, and not return exp - otherwise, |
| 14815 |
monster code has no idea if skill was successfully used, as throw |
| 14816 |
doesn't grant exp, and this caused monsters to move into the |
| 14817 |
object they just threw. Update calls to do_skill as described |
| 14818 |
above. |
| 14819 |
server/skills.c: Clean up skill_throw function to return meaningfull |
| 14820 |
value. Also, pass along extra part of closest monster part |
| 14821 |
to target. Modify do_throw to return value, use closest |
| 14822 |
part of body as origin point for thwon object. |
| 14823 |
server/spell_effect.c: Use isqrt function instead of definining |
| 14824 |
ISQRT that used float version. Cleans up compile warning - most |
| 14825 |
likely not seen before as spell was #ifdef SPELL_ENCUMBERANCE out. |
| 14826 |
server/time.c: Put sanity checking for players speed_left in |
| 14827 |
move_player_mover() - got some reports of infinite negative speed |
| 14828 |
on metalforge, and this is the only place in the code where I could |
| 14829 |
see that happening given the description of the events. |
| 14830 |
utils/arch2xml.py, utils/cfarches.xsl: New script (and template) by |
| 14831 |
Todd Mitchell. Script can convert archs to xml, and the template |
| 14832 |
is usuable with mozilla to look at the output. |
| 14833 |
MSW 2002-12-02 |
| 14834 |
|
| 14835 |
|
| 14836 |
common/object.c, include/object.h: Add INS_BELOW_ORIGINATOR flag to |
| 14837 |
insert_ob_in_map - this is used for treasure chests so the |
| 14838 |
treasure is put below the player. Also fix insertiong of items |
| 14839 |
on spaces that block view - put them in proper order, and not just |
| 14840 |
directly above the floor |
| 14841 |
server/apply.c: Tell player what level they need to be if they are not |
| 14842 |
of sufficient level to improve armor. Modify apply_treasure to |
| 14843 |
use INS_BELOW_ORIGINATOR flag, clean up some of the other logic |
| 14844 |
in apply_treasure. |
| 14845 |
server/c_object.c: Modify command_take to use the container inventory |
| 14846 |
when doing a pickup, and not the container itself. |
| 14847 |
MSW 2002-11-30 |
| 14848 |
|
| 14849 |
TODO: Updated with dm 'follow' command. |
| 14850 |
common/loader.l: Rebuilt. |
| 14851 |
common/map.c: Fix up some formatting - no code change. |
| 14852 |
include/player.h, server/apply.c, server/player.c, socket/info.c: Remove |
| 14853 |
chosen_item_spell field - isn't needed anymore as that information |
| 14854 |
is determined each time player fires wand/rod/horn. This fixes |
| 14855 |
those items firing magic bullets if they were equipped when player |
| 14856 |
saved and rejoined. Some additional cleanup done in rangetostring() - |
| 14857 |
mostly formatting changes, but minor code changes. |
| 14858 |
MSW 2002-11-29 |
| 14859 |
|
| 14860 |
|
| 14861 |
include/shstr.h: Update REFCOUNT_TYPE to be an int - seems to at least fix |
| 14862 |
the bug of server crashing when running around the bigworld - given the |
| 14863 |
size of the maps, quite possible that enough objects of the same name |
| 14864 |
would be in memory to overflow the size size of a short. |
| 14865 |
MSW 2002-11-19 |
| 14866 |
|
| 14867 |
Changed a ton of #ifdefs into settings: |
| 14868 |
convert #ifdef NOT_PERMADETH into settings.not_permadeth. |
| 14869 |
SET_TITLE and RESURRECTION are now settings. |
| 14870 |
#ifdef SEARCH_ITEMS -> settings.search_items |
| 14871 |
#ifdef SPELL_ENCUMBRANCE -> settings.spell_encumbrance |
| 14872 |
#ifdef SPELL_FAILURE_EFFECTS -> settings.spell_failure_effects |
| 14873 |
#ifdef CASTING_TIME -> settings.casting_time |
| 14874 |
#ifdef REAL_WIZ -> settings.real_wiz |
| 14875 |
#ifdef RECYCLE_TMP_MAPS -> settings.recycle_tmp_maps |
| 14876 |
#ifdef SPELLPOINT_LEVEL_DEPEND -> settings.spellpoint_level_depend |
| 14877 |
#ifdef EXPLORE_MODE -> settings.explore_mode |
| 14878 |
make explore mode actually *work*. |
| 14879 |
#define MOTD -> settings.motd |
| 14880 |
#define DM_MAIL -> settings.dm_mail |
| 14881 |
garbled 2002-11-12 |
| 14882 |
|
| 14883 |
|
| 14884 |
New alchemy code, as discussed on the developer list. Now recipies include |
| 14885 |
two new tags: skill and cauldron. With skill, you can set which skill |
| 14886 |
activates this recipie, and the cauldron, corresponds to the arch name of |
| 14887 |
the facility you will use when creating the item. In this way, item |
| 14888 |
creation is now more generalized than just alchemy, and specific formulae |
| 14889 |
can be written to utilize different skills, or perhaps special formulae |
| 14890 |
would require a hard-to-find cauldron. |
| 14891 |
|
| 14892 |
Functionally, the alchemy, or alchemy-like-skills are now activated by |
| 14893 |
the use_skill command. The secondary use of the alchemy spell has been |
| 14894 |
withdrawn, so now it functions in the way it was originally intended again. |
| 14895 |
garbled 2002-11-11 |
| 14896 |
|
| 14897 |
socket/loop.c: add a setting fastclock. This makes the server's clock run |
| 14898 |
*really* fast. For now, it's good for debugging purposes, but in the |
| 14899 |
future it will allow a dm to ravage a world with weather quickly. |
| 14900 |
include/define.h: add FLAG_IS_WATER |
| 14901 |
include/global.h: add fastclock to settings |
| 14902 |
include/map.h: add water to weathermap structure |
| 14903 |
include/sproto.h: add tons of new functions in weather.c |
| 14904 |
common/init.c: update for FLAG_IS_WATER |
| 14905 |
common/loader.l: update for FLAG_IS_WATER |
| 14906 |
server/init.c: add code to read fastclock setting |
| 14907 |
server/weather.c: Complete update, largely rewritten. Now the world is |
| 14908 |
cut into a 100x100 matrix of weathermaps. Each one of these maps is |
| 14909 |
computed at initial boot, and written to disk, following which, they are |
| 14910 |
simply read from disk at boot. For each of the main weather types |
| 14911 |
(pressure, humitidy, base temperature, wind direction, wind speed) the |
| 14912 |
game recomputes the entire weathermap, applying smoothing algorithims, or |
| 14913 |
derriving each map from it's predecessor. Weathermaps are only used if |
| 14914 |
you have set your dynamiclevel to 1 or greater, and, are using the bigmap |
| 14915 |
set. At this time, there is still no functional change to the game, |
| 14916 |
bigmap, or not. |
| 14917 |
utils/maps.c: This program will generate ppm files from each of the |
| 14918 |
weathermaps. Mostly for debugging, but curious DM's might find it useful |
| 14919 |
to see the weather. |
| 14920 |
garbled 2002-10-27 |
| 14921 |
|
| 14922 |
server/c_chat.c: Fix some buffer overflow issues - use snprintf or |
| 14923 |
use new_draw_info_format instead. |
| 14924 |
lib/artifacts: Update some cloaks not to require a minimum magic level, |
| 14925 |
since that will never be met. |
| 14926 |
MSW 2002-10-16 |
| 14927 |
|
| 14928 |
Minor bugfixes: |
| 14929 |
common/living.c: Fix it so that if you die, you won't _gain_ exp in any |
| 14930 |
skills - could happen if new table is harder - 3 level loss could still |
| 14931 |
mean having higher exp total. |
| 14932 |
common/map.c: Fix on_same_map so check to see if either object has null |
| 14933 |
map value - prevents crashes. |
| 14934 |
MSW 2002-10-13 |
| 14935 |
|
| 14936 |
|
| 14937 |
Experience cleanup - the main functional change is that no upper limit of |
| 14938 |
exp in an individual skill, save for the limit that there is an upper |
| 14939 |
limit of total exp a player can have. Thus, if a player concentrates |
| 14940 |
complete in one skill, he could get to level 110 in it. A lot of |
| 14941 |
code cleanup was done - so much had gotten added to the exp code that it |
| 14942 |
was a real mess. |
| 14943 |
common/living.c: re-arrange some of the code, so all the exp related |
| 14944 |
functions are together. remove adjust_exp(), change check_dm_add_exp_to_obj() |
| 14945 |
to check_exp_adjust. Add new functions add_player_exp(), check_exp_loss(), |
| 14946 |
check_exp_add(), subtract_player_exp(). |
| 14947 |
include/libproto.h: rebuilt. |
| 14948 |
server/c_wiz.c: Update command_addexp() to use new exp functions. |
| 14949 |
server/gods.c: Update lose_priest_exp() to use new exp functions. |
| 14950 |
MSW 2002-10-11 |
| 14951 |
|
| 14952 |
configure, configure.ac: Remove --enable-old-layout option - that is more than |
| 14953 |
3+ years old now. Add --enable-dmalloc option so code can be compiled |
| 14954 |
with dmalloc debugging without needing to change/rebuild the configure |
| 14955 |
files. |
| 14956 |
common/porting.c: Add stdarg.h to list of included files. |
| 14957 |
include/autoconf.h.in: rebuilt, HAVE_LIBDMALLOC undef added. |
| 14958 |
random_maps/square_spiral.c: fix bound checking value. |
| 14959 |
MSW 2002-10-07 |
| 14960 |
|
| 14961 |
common/item.c: Fix bug with identified potions not getting set to proper name. |
| 14962 |
MSW 2002-10-03 |
| 14963 |
|
| 14964 |
Bugfixes: Add golem_count element to player structure so we can properly |
| 14965 |
detect when golem is destroyed. This fixes a crash in some places as the |
| 14966 |
code tried to remove this already removed golem. |
| 14967 |
Fix crash when null player maps. |
| 14968 |
include/player.h: Add golem_count element to player structure. |
| 14969 |
server/player.c: Add code in handle_newscs_player() that checks status of |
| 14970 |
golem, clears op->contr->golem is value is bogus |
| 14971 |
server/spell_effect.c, server/spell_util.c: Initialize golem_count |
| 14972 |
value when golem is created. |
| 14973 |
socket/request.c: Check for null map value. |
| 14974 |
MSW 2002-10-02 |
| 14975 |
|
| 14976 |
Mostly bugfixes, but the addition of a wiz 'hide' command which makes the |
| 14977 |
wiz out of sight so to speak. |
| 14978 |
-- |
| 14979 |
common/loader.l, common/loader.c: Fix bug where flag values were being saved |
| 14980 |
with actual value of the flag (eg, 32768, 16, etc) instead of 1/0 value - |
| 14981 |
Code effectively worked the same, just was a bit odd looking at save files. |
| 14982 |
include/player.h: Add hidden element to player structure. |
| 14983 |
include/sproto.h: Add command_hide(), update proto for players_on_map() |
| 14984 |
lib/Makefile.am, lib/Makefile.in: add wizhelp/hide file. |
| 14985 |
server/apply.c: Add error checking to converts so it doesn't crash if the |
| 14986 |
converter doesn't have a proper other_arch. Modify shopmats so that they |
| 14987 |
don't transport spell effects, like fireballs an burning hands. |
| 14988 |
server/attack.c: Modify code so players can drain other players exp. |
| 14989 |
server/c_misc.c: Modify various functions to not show info on hidden DM. |
| 14990 |
server/c_wiz.c: Add command_hide(), clean up command_invisible() a bit. |
| 14991 |
server/commands.c: Add hide command to dispatch table. |
| 14992 |
server/main.c: Add code to not update players on map for hidden dm. |
| 14993 |
server/player.c: Give hidden dm perpetual invisiblity. |
| 14994 |
server/skills.c: Only get exp if you actually stole an item - fixes abuse |
| 14995 |
whereby players who couldn't carry item could continually 'steal' it from |
| 14996 |
monster and just gain exp. |
| 14997 |
server/swap.c: modify players_on_map() to take addition arg to determine if |
| 14998 |
real players on map should be shown, or if we shouldn't count hidden dms. |
| 14999 |
socket/info.c: Modify code so that oldsockets don't get reports on high verbose |
| 15000 |
messages. |
| 15001 |
socket/metaserver.c: Modify metaserver update to not include hidden dms. |
| 15002 |
utils/Makefile.in: update datestmp. |
| 15003 |
MSW 2002-09-27 |
| 15004 |
|
| 15005 |
|
| 15006 |
server/pet.c: Add check to pet_move() to make sure the space we are |
| 15007 |
checking is within the map, and handle map tiling. |
| 15008 |
MSW 2002-09-23 |
| 15009 |
|
| 15010 |
Various updates: |
| 15011 |
NOTE - You need to install the updated archetypes (included below) |
| 15012 |
if you run this code without the updated archs, you will likely find |
| 15013 |
many things do not work. |
| 15014 |
acinclude.m4 aclocal.m4 configure: more refinements for libpython detection. |
| 15015 |
common/button.c: Two push_button() changes - have it check for ACTIVATE_ON_ |
| 15016 |
PUSH/RELEASE to determine if the object should get activated. Also, |
| 15017 |
change behaviour of TIMED_GATE so that multipart timed gates work. |
| 15018 |
common/loader.l, loader.c: Update with acttivate_on_push/release |
| 15019 |
doc/Developers/objects: Add notes about how to add flags to objects. |
| 15020 |
include/define.h: add new FLAG_ values |
| 15021 |
include/win32.h: update by pstolarc so it compiles on Win32. |
| 15022 |
lib/archetypes: rebuilt |
| 15023 |
MSW 2002-09-17 |
| 15024 |
|
| 15025 |
common/map.c: Fix problem with ordering in check_linked() - checking |
| 15026 |
for NO_PASS was before checks for inventory checkers, resulting in |
| 15027 |
inventory checkers that require the player to have an item not working. |
| 15028 |
MSW 2002-09-15 |
| 15029 |
|
| 15030 |
|
| 15031 |
------------------------------------------------------------------------------ |
| 15032 |
Changes for 1.4.0: |
| 15033 |
|
| 15034 |
server/disease.c: Change move_disease() somehwat - before, if you were |
| 15035 |
not susceptible to a disease, it would never run its course. Yet you |
| 15036 |
would still get stuck with the symptoms. there was a case on |
| 15037 |
metalforge where a character had a symptom with no disease, and |
| 15038 |
had immunity, yet was still getting stuck with the symptoms. Not sure |
| 15039 |
if this change will help prevent that in the future or not. |
| 15040 |
include/player.h: Change item_power in player structure to be 16 bits - |
| 15041 |
8 bit values were getting overflowed. |
| 15042 |
MSW 2002-09-14 |
| 15043 |
|
| 15044 |
INSTALL: Update directions with new automake method. |
| 15045 |
common/Makefile.am, common/Makefile.in: Fix code for building the libproto.h |
| 15046 |
file - it was including loader.l and not loader.c |
| 15047 |
common/exp.c: Add init_experience() and dump_experience() functions - |
| 15048 |
init_experience() loads the experience table from a file. Add default |
| 15049 |
experience table into this file |
| 15050 |
common/init.c: Add call to init_experience() |
| 15051 |
common/living.c: Remove experience tables - players can select the one they |
| 15052 |
want by changing the exp_table file. Remove reference to new_levels[] - |
| 15053 |
only levels[] is used now for the formentioned reason. |
| 15054 |
include/config.h: Update notes about SIMPLE_EXP system. |
| 15055 |
include/libproto.h: rebuilt. |
| 15056 |
lib/Makefile.am, lib/Makefile.in: Add exp_table to list of files. |
| 15057 |
lib/exp_table: New file that contains experience information. |
| 15058 |
server/c_object.c: Modify command_take() to look for objects above the player |
| 15059 |
to pick up, then objects below. This fixes the bug with not being able |
| 15060 |
to use the take command on items from a chest the player opens without |
| 15061 |
moving off the space. |
| 15062 |
server/init.c: Add -mexp dump switch to dump the experience table. Allow |
| 15063 |
the simple experience system to be set in the settings file. |
| 15064 |
server/skill_util.c: Fix oddness in calc_skill_exp() which could result |
| 15065 |
in add amounts of exp given. |
| 15066 |
MSW 2002-09-10 |
| 15067 |
|
| 15068 |
|
| 15069 |
include/sproto.h: rebuilt |
| 15070 |
lib/help/killpets: New file |
| 15071 |
lib/Makefile.in: Add help/killpets file. |
| 15072 |
server/c_misc.c: Add command_kill_pets(). |
| 15073 |
server/commands.c: add killpets command which kills your pets. |
| 15074 |
server/monster.c: Add some code in check_enemy so that the enemy |
| 15075 |
has to be a monster/generator/player to be considered valid - |
| 15076 |
I was seeing things like arrows ending up as target enemies. |
| 15077 |
MSW 2002-09-07 |
| 15078 |
|
| 15079 |
More bugfixes: |
| 15080 |
common/loader.l, loader.c: Fix up the handling with speed with respect |
| 15081 |
to style maps - the objects were still getting put on the active |
| 15082 |
list. |
| 15083 |
common/map.c: Fix up blocked_link() to behave more like the |
| 15084 |
blocked_two() function - inventory checkers and door handling. |
| 15085 |
Comment out blocked_two since it isn't used anymore. Modify |
| 15086 |
load_objects to remove objects on style maps from the active |
| 15087 |
list. Remove some of the debug messages about map loading. |
| 15088 |
common/object.c: Add remove_from_active_list() function for use |
| 15089 |
in map.c to remove objects from active list. |
| 15090 |
common/porting.c: Comment out debug message if open_and_uncompress() |
| 15091 |
can open a file - caller of the function should print out messages, |
| 15092 |
and it really isn't much of an error in any case. |
| 15093 |
include/libproto.h: rebuilt. |
| 15094 |
random_maps/special.c: Modify place_special_exit() - this should fix |
| 15095 |
bug of very large treasure maps - problem was if the generated map |
| 15096 |
size was too small, when generate_random_map was called, it would |
| 15097 |
generate a newly sized map that was much larger. Code was also |
| 15098 |
re-arranged some to make it a little more readable. |
| 15099 |
server/attack.c: Fix crash when creature may not have an owner and |
| 15100 |
it kills something else. |
| 15101 |
server/move.c: comment added - no code change. |
| 15102 |
socket/request.c: Fix off by one error in esrv_send_animation() - |
| 15103 |
rare condition as it only showed up when trying to send the last |
| 15104 |
animation (zombie) - only an issue if the player is put on top of |
| 15105 |
a zombie for some reason (no other space for them) - observed when |
| 15106 |
leaving the random dungeon in the undead church in scorn without |
| 15107 |
clearing out all the zombies first. |
| 15108 |
MSW 2002-09-06 |
| 15109 |
|
| 15110 |
|
| 15111 |
CHANGES: Update build instructions for the plugin. |
| 15112 |
random_maps/square_spiral.c: Fix bug that could cause the search |
| 15113 |
function to go off the edge of the map looking for a clear space. |
| 15114 |
Doesn't happen often, but one crash did happen here. |
| 15115 |
server/monster.c: Fix some bugs with monsters and wakeup - remove |
| 15116 |
check for friendly that could never be true, and also fix |
| 15117 |
logic so that monsters will now find the players. |
| 15118 |
MSW 2002-09-05 |
| 15119 |
|
| 15120 |
common/button.c: Fix do_mood_floor() to look at all objects on space for |
| 15121 |
something to effect, not just things above the moodfloor. |
| 15122 |
server/attack.c: Add missing check to make sure the plugin exists before |
| 15123 |
we try to access the plugin function. |
| 15124 |
common/readlable.c: Fix crash caused by passing null value to mon_desc - |
| 15125 |
check for non null was at end of { } do loop - check should be at the |
| 15126 |
start. |
| 15127 |
server/monster.c: Make it so that monsters with see invisible are not |
| 15128 |
immune to blind - monster can be given appropriate resistance to make |
| 15129 |
it so it is not effected by blind. |
| 15130 |
MSW 2002-09-04 |
| 15131 |
|
| 15132 |
server/main.c: Move #endif in crypt_string to more proper place. |
| 15133 |
server/monster.c: Fix bad if statement that may have been waking up |
| 15134 |
monsters when they shouldn't have been. |
| 15135 |
MSW 2002-09-03 |
| 15136 |
|
| 15137 |
This change mostly deals with improving behaviour of pet monstes. |
| 15138 |
Most of the code is from K. Reinert - however, I did some code cleanup/ |
| 15139 |
fixes related to pet monsters, so it is difficult to note where |
| 15140 |
each piece of code came from. One thing this does fix is handling of |
| 15141 |
multipart pets - these now work properly. |
| 15142 |
common/map.c: Update comment for get_rangevector() - no code change. |
| 15143 |
common/object.c: Add get_search_arr() which is used in pet monster code. |
| 15144 |
This returns a semi random scrambling of the freearr array. |
| 15145 |
doc/Developers/protocol: Update documentation about map1a protocol command. |
| 15146 |
include/libproto.h, include/sproto.h: rebuilt. |
| 15147 |
server/attack.c: Have drain attacks return 1 damage so that it is clear |
| 15148 |
that you are actually hitting your opponent. Otherwise, you would |
| 15149 |
get messages that 'you missed xyz', even though you are draining it. |
| 15150 |
This extra point of damage shouldn't change balance in any significant |
| 15151 |
way. |
| 15152 |
server/monster.c: Update hnadling of enemies for pet monsters. It should |
| 15153 |
more intelligently choose the monsters and not switch/clear the |
| 15154 |
enemy field for no reason anymore. Change find_nearest_living_creature to |
| 15155 |
use the get_search_arr() to more randomly choose direction of target - |
| 15156 |
before, there was a proclivity to always look in the north direction. |
| 15157 |
Modify can_hit() to look for closes part of enemy - otherwise, monsters |
| 15158 |
may not attack opponents even if they were right next to them because |
| 15159 |
they couldn't get to the enemies head. Remove move_object from |
| 15160 |
this function - merged with move_ob in move.c |
| 15161 |
server/move.c: Fix move_ob to use 'cleaner' code of move_object, but |
| 15162 |
also have specific features that move_ob had (player handling). |
| 15163 |
Before move_ob didn't handle multipart objects correctly, and the |
| 15164 |
two functions were largely the same. Now move_object() just calls |
| 15165 |
move_ob - the only difference in the functions is that move_ob() |
| 15166 |
takes 3 parameters instead of 2 of move_object() (added |
| 15167 |
parameter is originator). I think this should now mean multipart |
| 15168 |
player objects may now work. |
| 15169 |
server/pets.c: get_pet_enemy enhanced to be much smarter about |
| 15170 |
selecting/finding things for the pet to attack. |
| 15171 |
server/player.c: Remove commented out line of init_beforeplay |
| 15172 |
MSW 2002-08-31 |
| 15173 |
|
| 15174 |
server/attack.c: Modify drain attack code so that if some agent of the |
| 15175 |
player is doing the drain (eg, avatar, summoned monster, or even spell), |
| 15176 |
player gets exp added to his total. Otherwise, the agent could suck all |
| 15177 |
the exp out of the monster, resulting in no gain for the player. |
| 15178 |
Also, fix bug in drain code where uninitialized value was being used |
| 15179 |
if enemy had 0 protection to drain. |
| 15180 |
MSW 2002-08-30 |
| 15181 |
|
| 15182 |
Various bugfixes: |
| 15183 |
common/map.c: Change so that same logic is used to determine pclose/fclose |
| 15184 |
that is used to determine popen/fopen - otherwise, compressed map |
| 15185 |
files probably don't work properly. |
| 15186 |
common/treasure.c: Do a memset to make sure entire treasureslist is |
| 15187 |
set to sane values. |
| 15188 |
lib/archetypes: Fix 'slaying' field (which determines spell name) in |
| 15189 |
god_spelldirect_face_of_death and god_spelldirect_finger_of_death |
| 15190 |
server/apply.c: Fix infinite loop if the player had cursed items |
| 15191 |
that needed to be unapplied to apply an item - setting up next |
| 15192 |
item iteration was inside if check when it shouldn't be. Also, |
| 15193 |
print message to player if this is the case. |
| 15194 |
server/monster.c: Better format some of the code for improved readability. |
| 15195 |
Fix indentation of can_see_enemy. Clean up invisiblity check - may |
| 15196 |
have fixed a bug - old code should have worked, but wasn't very |
| 15197 |
readable. |
| 15198 |
server/move.c: Fix some bad code from last checkin - didn't fix |
| 15199 |
the crash on no floor for door type, and instead removed |
| 15200 |
check type from next line by accident. |
| 15201 |
server/player.c: Remove call for init_beforeplay - this is already |
| 15202 |
properly called, and re-calling it resulted in some things being |
| 15203 |
redone when they shouldn't be. |
| 15204 |
server/skills.c: Add message if there is nothing to steal form the monster. |
| 15205 |
server/spell_effect.c: Improve message when invisiblity duration is |
| 15206 |
maximized. |
| 15207 |
socket/init.c: change O_NDELAY to O_NONBLOCK of fcntl. |
| 15208 |
MSW 2002-08-25 |
| 15209 |
|
| 15210 |
doc/Developers/objects: Update with new (better) information from |
| 15211 |
Todd Mitchell. Doc is more complete, and now has an index which |
| 15212 |
should make it easier to find things. |
| 15213 |
server/move.c: Fix dereferencing NULL problem - was looking at op->above, |
| 15214 |
but op could be NULL if the map had no objects on a space (typically |
| 15215 |
not the case, but...) No reason I can see that we care about the object |
| 15216 |
above - just process in normal order. |
| 15217 |
MSW 2002-08-21 |
| 15218 |
|
| 15219 |
server/time.c: Possible fix for bug seen on metalforge - |
| 15220 |
in move_player_mover, make sure we are working with the head of the |
| 15221 |
monster. |
| 15222 |
MSW 2002-08-13 |
| 15223 |
|
| 15224 |
More spoiler-html fixes - was not including attacktype information, but |
| 15225 |
also fixed some formatting issues. |
| 15226 |
common/item.c: Include attacktypes in describe_monster. |
| 15227 |
doc/scripts/Makefile.in: Add monsters-extract.pl file. |
| 15228 |
doc/spoiler-html/Makefile.in: Update to use ../scripts/monster-extract.pl |
| 15229 |
file, remove monster-extract file. |
| 15230 |
doc/spoiler-html/spoiler.html: rebuilt. |
| 15231 |
MSW 2002-08-11 |
| 15232 |
|
| 15233 |
Fix spoiler-html generation to show resistances. Need to do normal spoiler |
| 15234 |
next. Add a new docs/scripts directory to hold the common scripts, |
| 15235 |
instead of spoiler, spoiler-html, playbook, and playbook-html each having |
| 15236 |
their own copies. |
| 15237 |
configure, configure.in: Add doc/scripts directory. |
| 15238 |
doc/spoiler-html/Makefile.in: Update build directions to use |
| 15239 |
../scripts/items-extract.pl |
| 15240 |
doc/spoiler-html/spoiler.html: Rebuilt with updated information. |
| 15241 |
doc/scripts/Makefile.in: Makefile for directory. |
| 15242 |
doc/scripts/items-extract.pl: perl version of the items-extract file. |
| 15243 |
doc/spoiler-html/items-extract: awk version - no longer used. |
| 15244 |
MSW 2002-08-02 |
| 15245 |
|
| 15246 |
common/item.c: Have describe monster show resistances of monsters - useful |
| 15247 |
for spoiler output, as well probe spell. |
| 15248 |
server/disease.c: Fix typo. |
| 15249 |
MSW 2002-08-02 |
| 15250 |
|
| 15251 |
include/global.h: add FREE_AND_CLEAR_STR macro, relocate DELETE_STRING |
| 15252 |
by the other macros. |
| 15253 |
server/c_misc.c: Fix string printout in applymode function. |
| 15254 |
server/disease.c: Update name_pl in diseases. |
| 15255 |
server/player.c: replace FREE_AND_CLEAR with FREE_AND_CLEAR_STR - was |
| 15256 |
freeing data that shouldn't be freed. |
| 15257 |
MSW 2002-08-01 |
| 15258 |
|
| 15259 |
Various fixes: |
| 15260 |
INSTALL: Update with note about --with-includes configure option. |
| 15261 |
common/loader.c, common/loader.l: Add comment about flag_invis_undead |
| 15262 |
include/define.h: Add FLAG_INVIS_UNDEAD |
| 15263 |
lib/adm/map_info: Modify to not follow symbolic links. |
| 15264 |
server/monster.c: Modify can_detect_enemy to be a bit more straightforward |
| 15265 |
in its logic. Also, modify detection of invisible creatures - don't |
| 15266 |
reduce duration, just return that the monster can detect the player. |
| 15267 |
There were also spurious messages about the player being seen. |
| 15268 |
Modify can_see_enemy to check FLAG_INVIS_UNDEAD, also fix broken |
| 15269 |
comparison |
| 15270 |
server/player.c: Clear FLAG_INVIS_UNDEAD when invisibility ends. Fix |
| 15271 |
action_makes_visible() - had reverse logic on FLAG_MAKE_INVIS check, |
| 15272 |
and a typo in the printed message. |
| 15273 |
server/spell_effect.c: cast_invisible() to use FLAG_INVIS_UNDEAD - |
| 15274 |
also check for maximum duration, and only search active objects when |
| 15275 |
clearing enemy. |
| 15276 |
server/weather.c: Fix off by one on comparision when intializing maps |
| 15277 |
darkness when loading map from disk. In dawn_to_dusk, don't do |
| 15278 |
further processing if the light hasn't changed. |
| 15279 |
MSW 2002-07-29 |
| 15280 |
|
| 15281 |
|
| 15282 |
|
| 15283 |
Various bug fixes, add glyph spell: |
| 15284 |
TODO: Updated |
| 15285 |
common/map.c: Fix change_map_light() - if darkness was reduced to zero, |
| 15286 |
it wouldn't properly notify the players or update the maps they are |
| 15287 |
on. Also, make it more robust to handle changes by more than one. |
| 15288 |
include/define.h: Increase NROFREALSPELLS |
| 15289 |
include/spellist.h: Add glyph spell. |
| 15290 |
include/spells.h: Add SP_GLYPH entry. |
| 15291 |
server/attack.c: Fix up kill_object() - it has had some many various |
| 15292 |
additions that it was difficult to follow the logic. It should also now |
| 15293 |
do better check on skill objects when awarding experience. |
| 15294 |
server/player.c: Add some checks/addition to properly deal with freeing the |
| 15295 |
name_pl in the player object. Fix it so that if you are braced, you |
| 15296 |
still won't attack friendly creatures. |
| 15297 |
server/rune.c: Add cast_generic_rune() to handle the glyph and rune spell. |
| 15298 |
server/spell_effect.c: Fix up some pointers in cast_cause_disease() - |
| 15299 |
needed so that it works properly when embedded in a glyph. Have it |
| 15300 |
return 1 even if no one caught anything - you still cast the spell, so |
| 15301 |
you should lose the grace for it. |
| 15302 |
server/spell_util.c: Fix some formatting. Break out the code dealing |
| 15303 |
with rune into cast_generic_rune() |
| 15304 |
socket/loop.c: Add flag to player command mapping, and update structure - |
| 15305 |
if flag is set, command can only be issued when player is in play, |
| 15306 |
and not when waiting at the quit or login prompt - fixes crashes where |
| 15307 |
players could wait for the map to get swapped out (after quitting), and |
| 15308 |
then looking at a space. |
| 15309 |
socket/request.c: Fix map2cmd so that invisible players are drawn. |
| 15310 |
MSW 2002-07-24 |
| 15311 |
|
| 15312 |
Add dm command 'freeze' which freezes a player from doing anything for some |
| 15313 |
amount of time. |
| 15314 |
include/sproto.h: rebuilt. |
| 15315 |
lib/Makefile.in: Add freeze to wizhelp files. |
| 15316 |
lib/wizhelp/freeze: New file. |
| 15317 |
server/c_wiz.c: Add command_freeze(). Also, break out |
| 15318 |
get_other_player_from_name() - several functions need the same logic |
| 15319 |
of getting a player named X that is not us - making it a function |
| 15320 |
reduces the duplicate code. Fix some formatting for some functions. |
| 15321 |
server/commands.c: Add command_freeze to the dispatch table. |
| 15322 |
MSW 2002-07-17 |
| 15323 |
|
| 15324 |
lib/Makefile.in: add a 'archonly' directive that only collects archetypes |
| 15325 |
and doesn't collect images. |
| 15326 |
lib/archetypes: rebuilt for fixes made to arches. |
| 15327 |
lib/collect.pl.in: modified to take second parameter -ARCHONLY, that causes |
| 15328 |
it not to save out animation, bmaps and faces file. |
| 15329 |
server/apply.c: Change order of print when applying/unapplying - print out |
| 15330 |
the 'you apply/unapply' before we print out the changes that applying |
| 15331 |
the item does. It seems odd for it to be 'you feel stronger. you apply |
| 15332 |
xyz'. Fix can_apply_object() so that if a player needs to unapply |
| 15333 |
several items, the right return code is returned and we don't say |
| 15334 |
the player has a choice. |
| 15335 |
server/player.c: Fix missing clearing of player->next. |
| 15336 |
MSW 2002-07-15 |
| 15337 |
|
| 15338 |
-- Start body commit notes -- |
| 15339 |
Major commit. This adds body locations which is used for equipping items. |
| 15340 |
Equipment has information which body part it gets equipped to, and monsters |
| 15341 |
have information on how which body locations they can have. |
| 15342 |
|
| 15343 |
As part of this work, I also did a lot of code cleanup. |
| 15344 |
|
| 15345 |
To use this, you must use up to date archetypes - the ones included |
| 15346 |
in this commit are fine - just make sure you install them. If |
| 15347 |
you don't, players will not be able to equip items. |
| 15348 |
|
| 15349 |
common/arch.c: Initialize body_used to be same as body_info for |
| 15350 |
archetypes - this way when monsters are created, they can |
| 15351 |
start equipping items right away. |
| 15352 |
common/exp.c: update new_exp() - some flags it checked for before no longer |
| 15353 |
exist or have new names. |
| 15354 |
common/info.c: describe_item() now takes second parameter - update |
| 15355 |
dump_abilities to use new calling convention. |
| 15356 |
common/item.c: Add table that describes the body_info locations and |
| 15357 |
their names. Add functions that calculate item power for objects |
| 15358 |
that don't have it set. Update display functions to show |
| 15359 |
item_power in items. Update describe_monster() - use_horn/wand/rod |
| 15360 |
merged into just use_range. Modify describe_item() to take second |
| 15361 |
paramater - who the item is being described for. Show item_power |
| 15362 |
in describe_item. |
| 15363 |
common/living.c: Pull out MAXLEVEL from being defined in this file - |
| 15364 |
define in in define.h, since other files use it. Add NUM_STATS |
| 15365 |
define - replace hard coded values of having just 7 stats with it. |
| 15366 |
Update change_abil to not display that the player has a new |
| 15367 |
attacktype when equipping a bow that has it - fix_player() ignores |
| 15368 |
the attacktype of the bow, so it was incorrect information. |
| 15369 |
fix_player(): Initialize player ranges structure to null - |
| 15370 |
will get filled in by code in function, updated to deal with |
| 15371 |
updating the body_used data from body_info in the objects. |
| 15372 |
Replace instances of last_heal with gen_sp_armour. Rearrange |
| 15373 |
some code to make function more readable. |
| 15374 |
common/loader.c, common/loader.l: Remove the variable_const information - no |
| 15375 |
longer needed and confusing for new people when adding in new object |
| 15376 |
elements. Add set_body_info() - parses the string from the load file and |
| 15377 |
sets the appropriate array element. Add check_loaded_object() - does |
| 15378 |
sanity checking for an object after finished loading - replaces need for |
| 15379 |
long processing directive in the actual rules by having seperate function. |
| 15380 |
Remove unused flags from load directives (apply_once, no_pretext, |
| 15381 |
can_apply), add some new ones (item_power, gen_sp_armour), update others |
| 15382 |
to can_use_range. Replace flag_links with simple array that contains the |
| 15383 |
name for each corresponding flag. Update get_ob_diff to not use the V_ |
| 15384 |
values and just include the actual string name - all recent changes have |
| 15385 |
done this, just updated for old stuff. Update get_ob_diff to save new |
| 15386 |
values that have been added. |
| 15387 |
common/object.c: clear_object: Modify to use memset to clear |
| 15388 |
the structure to zero - this is less error prone than listing |
| 15389 |
all the specific values, and probably faster. Also, makes it |
| 15390 |
easier to add new elements - no need to update object.c in most |
| 15391 |
cases. |
| 15392 |
common/player.c: Remove get_player_ob routine - this is now merged |
| 15393 |
in with get_player_ob in server/player.c. Remove generate_ext_title - |
| 15394 |
not used. |
| 15395 |
common/readable.c: Update to pass second argument to describe_item. |
| 15396 |
common/treasure.c: Update to calculate item_power of generated items. |
| 15397 |
Clean up a lot of code formatting. Update add_abilities |
| 15398 |
to use gen_sp_armour values, not last heal (note, it appears |
| 15399 |
the last_heal values weren't being used before). Update |
| 15400 |
calls to describe item to take second parameter. |
| 15401 |
doc/Developers/objects: Update will_apply notes, add note about |
| 15402 |
item_power, body location. |
| 15403 |
include/define.h: Comment out unused flags (flag_apply_once, flag_paralyzed, |
| 15404 |
flag_no_pretext, flag_ready_rod, flag_read_horn). Add flag_use_shield. |
| 15405 |
rename flag_use_wand to flag_use_range. rename flag_ready_wand to |
| 15406 |
flag_ready_range. Add flag_ready_scroll. Update ARMOUR_SPELLS access |
| 15407 |
macro. Add AP_PRINT flag to apply flags. Add CAN_APPLY_.. return types |
| 15408 |
for can_apply_object function. |
| 15409 |
include/includes.h: add strftime, mktime checks to this file. |
| 15410 |
include/libproto.h: rebuilt. |
| 15411 |
include/living.h: Add NUM_STATS define, update extern declarations |
| 15412 |
to use it for sizing. |
| 15413 |
include/loader.h: remove the V_.. info and xbm_.. externs that were not |
| 15414 |
used. |
| 15415 |
include/newserver.h: Remove ext_tile information. |
| 15416 |
include/object.h: Add Body_Locations structure, NUM_BODY_LOCATIONS define. |
| 15417 |
Add definitions for WILL_APPLY values. Clean up object structure - |
| 15418 |
formatting is now consistent, ordering of values groups values |
| 15419 |
together more logically. Update all types to use the int8/int16/int32 |
| 15420 |
types. Several unused fields removed. |
| 15421 |
include/player.h: Update rangetype enum. Add unapplymode enum. |
| 15422 |
Clean up player structure - type updates, unused fields removed, |
| 15423 |
formatting fixed up. |
| 15424 |
include/spells.h: remove range_name extern. Update SpellTypeFrom |
| 15425 |
field to combine wand/rod/horn into spellMisc - none of the |
| 15426 |
spell casting code was differentiating these. |
| 15427 |
include/sproto.h: rebuilt. |
| 15428 |
lib/Makefile.in: Add new help files (applymode, bind, brace) |
| 15429 |
lib/archetypes: rebuilt for body_info, gen_sp_armour, item_power, |
| 15430 |
can_use_shield information. |
| 15431 |
lib/artifacts: updated for item_poer and gen_sp_armour changes. |
| 15432 |
lib/treasures: remove unused _force for player treasure. |
| 15433 |
plugin/plugin_python.c: Change FLAG_USE_WAND to FLAG_USE_RANGE. |
| 15434 |
server/apply.c: Move stftime, mktime to include/includes.h. Remove |
| 15435 |
draw_find() - one line function can just as easly be in the |
| 15436 |
code itself. Update calls to long_desc to pass second parameter. |
| 15437 |
move gravestone_text() to player.c file. Add direction parameter to |
| 15438 |
apply_scroll() - in this way monsters can use it properly. |
| 15439 |
Remove dead code. Update apply_special function. Add |
| 15440 |
unapply_special(), get_item_from_body_location(), unapply_for_ob(), |
| 15441 |
and can_apply_object() functions. |
| 15442 |
server/attack.c: Remove SET_FLAG(op, FLAG_PARALYZED) line - no code |
| 15443 |
was ever checking status of FLAG_PARALYZED. |
| 15444 |
server/c_misc.c: add command_body() which dumps body information for |
| 15445 |
player. Update who as idle element in player structure removed - |
| 15446 |
was not being used by anything. Add command_applymode() to |
| 15447 |
set players prefered unapply method. Remove calls to unlock_player() |
| 15448 |
in various functions - unlock_player() has not done anything |
| 15449 |
meaningful for a while. |
| 15450 |
server/c_object.c: Modify long_desc to take a second parameter |
| 15451 |
which is who is examing the object. this is needed so that we |
| 15452 |
can pass it down to some of the lower level functions. |
| 15453 |
Update calls to describe_item to pass this second parameter. |
| 15454 |
remove FLAG_NO_PRETEXT code - no archetyps were using it. When |
| 15455 |
examining objects, also tell player where to put them on. |
| 15456 |
server/c_range.c: Update legal_range() - we now store the object that |
| 15457 |
is responsible for a range in the player object, so code is |
| 15458 |
much simpler. Update change_spell() to not destroy golem |
| 15459 |
just by readying another spell - we now let players regain control |
| 15460 |
of golems after switching to another range. Update change_spell |
| 15461 |
to use item name of object for range description. |
| 15462 |
server/c_wiz.c: remove reference to count_left from player object - |
| 15463 |
field removed from structure. |
| 15464 |
server/commands.c: add new commands (applymode, body) to command dispatch |
| 15465 |
table. |
| 15466 |
server/login.c: Remove unlock_player() and lock_player() and calls to it - |
| 15467 |
current checking of names at login should be sufficient to |
| 15468 |
prevent duplicates. Remove dead code from check_name. Update |
| 15469 |
load/save code for unapply mode value. Add set_flag(op, |
| 15470 |
FLAG_USE_SHIELD) if player is allowed to use armor - needed since |
| 15471 |
flag_use_shield is really a class feature and so is not automatically |
| 15472 |
updated for old player files. |
| 15473 |
server/main.c: Remove references to count_left. memset marker object to |
| 15474 |
NULL - seems to increase stability on metalforge server. |
| 15475 |
server/monster.c: Many updates related to the body info - monsters follow some |
| 15476 |
rules as players. Add monster_should_cast_spell function - monsters will |
| 15477 |
use this for all spellcasting related actions (abilities, scrolls, wands, |
| 15478 |
etc). Update for merged rod/horn/wand ranges. Update bow use by monsters |
| 15479 |
- they don't actually need to equip it to fire - this way we don't need to |
| 15480 |
constantly swap the monsters weapons between the bow and melee item. Use |
| 15481 |
fire_bow from player.c for most of the work. Modify scroll usage - |
| 15482 |
monster will use it when player is near, not when it first picks it up. |
| 15483 |
Add FLAG_READY_SCROLL to denote the monster has a scroll to use. Also, |
| 15484 |
monster now casts it in appropriate direciton. Merge the |
| 15485 |
monster_use_wand/rod/horn into monster_use_range. Modify |
| 15486 |
check_good_weapon and check_good_armour to just look at the stats of the |
| 15487 |
two items without needing the monster to apply it first. |
| 15488 |
server/player.c: Print motd in green so it is more noticable. Update |
| 15489 |
get_player function to do work it did before as well as that of |
| 15490 |
get_player_ob. Have get_player take a parameter which is the object of |
| 15491 |
the player if he has one. Modify to use memset to clear the player |
| 15492 |
structure - more sure fire than explicitly listing values to initialize. |
| 15493 |
Remove calls to unlock_player. Modify fire_bow so that monsters can also |
| 15494 |
use the function. Add fire_misc_object() to fire_wand/rod/horn - removes |
| 15495 |
code from fire(). Add gravesetone_text() to this file. |
| 15496 |
server/shop.c: Update to pass second parameter to describe_item(). |
| 15497 |
server/skill_util.c: Update check_skill_to_fire since there are fewer |
| 15498 |
rangetypes now. change range_scroll name to range_golem, as that is |
| 15499 |
a bit more accurate for what it actually does. Modify show_skills() |
| 15500 |
to show player his item power and total of items he has equipped. |
| 15501 |
server/skills.c: Add second paramater to long_desc, remove references to |
| 15502 |
count_left. |
| 15503 |
server/spell_effect.c: Add second paramater to long_desc, remove references to |
| 15504 |
count_left. Update range_scroll to range_golem |
| 15505 |
server/spell_util.c: remove references to count_left. Update messages |
| 15506 |
if player trying to cast where he can't with new range names. |
| 15507 |
socket/info.c: Update range information and how we display what it is - |
| 15508 |
we will use the object name of the range if available. Remove |
| 15509 |
reference last_known_spell, last_shoot, last_spell, last_value |
| 15510 |
player structure fields. |
| 15511 |
socket/init.c: Remove ext_title information. |
| 15512 |
socket/request.c: Add element for life_stealing in the resistance array. |
| 15513 |
Remove references to idle, count_left in player structure. remove |
| 15514 |
ext2 title information. |
| 15515 |
MSW 2002-07-14 |
| 15516 |
-- End body commit notes -- |
| 15517 |
|
| 15518 |
common/anim.c, common/button.c, common/friend.c, common/glue.c, |
| 15519 |
common/init.c,common/logger.c, common/los.c, common/porting.c, |
| 15520 |
common/time.c, common/utils.c, crossedit/png.c, crossedit/xutil.c, |
| 15521 |
include/attack.h, include/config.h, include/map.h, include/material.h, |
| 15522 |
include/newclient.h, include/skills.h, include/treasure.h, |
| 15523 |
random_maps/decor.c, random_maps/door.c, random_maps/floor.c, |
| 15524 |
random_maps/monster.c, random_maps/special.c, random_maps/standalone.c, |
| 15525 |
random_maps/style.c, random_maps/wall.c, server/alchemy.c, |
| 15526 |
server/c_chat.c, server/c_party.c, server/gods.c, server/hiscore.c, |
| 15527 |
server/init.c, server/pets.c, server/resurrection.c, server/rune.c, |
| 15528 |
server/time.c, socket/metaserver.c: Update banner copyright |
| 15529 |
with proper contact information. |
| 15530 |
MSW 2002-07-14 |
| 15531 |
|
| 15532 |
server/disease.c: Fix propogation of diseases with negative damage (these |
| 15533 |
do a percent of the creatures damage). The new disease was getting |
| 15534 |
a damage rating of 1 in all cases because we were passing a negative |
| 15535 |
value to random_roll for the top end of the range. |
| 15536 |
MSW 2002-07-08 |
| 15537 |
|
| 15538 |
common/arch.c: Add 'unlocked' match for item_matched_string. |
| 15539 |
lib/help/drop, lib/help/dropall: Help files for these commands. |
| 15540 |
lib/Makefile.in: Update to include help commands above. |
| 15541 |
server/spell_effect.c: Fix formatting of summon_pet() function. Modified so |
| 15542 |
that it no longers sucks player spellpoints when casting it via scroll - |
| 15543 |
scrolls should not cast the player spellpoints. No idea why that code was |
| 15544 |
there - in fact, casting off a scroll used more sp than casting from |
| 15545 |
memory. Modify cast_cause_disease() function so that if the passed |
| 15546 |
direction is 0, we refer to the facing and cast in that direction - this |
| 15547 |
means spells of cause disease now work. Also perform some minor formatting |
| 15548 |
changes in the function. |
| 15549 |
TODO: Add not about inscription. |
| 15550 |
MSW 2002-07-05 |
| 15551 |
|
| 15552 |
common/arch.c: Fix bug in item_matched_string which was matching all |
| 15553 |
values (inverse in fact) when passed with count > 1 in matching |
| 15554 |
string - missing ! operator. |
| 15555 |
README: Update - remove note about windows client, since it is currently |
| 15556 |
unsupported and could stop working in some future release. |
| 15557 |
MSW 2002-07-05 |
| 15558 |
|
| 15559 |
------------------------------------------------------------------------------ |
| 15560 |
Changes for 1.3.0: |
| 15561 |
|
| 15562 |
socket/request.c: If players were using the original map command with |
| 15563 |
an even map size, server would try to send too much data to client - |
| 15564 |
checking in server would result in an abort. Modify code to now properly |
| 15565 |
send right number of spaces. |
| 15566 |
lib/Makefile.in: remove extraneous / in front of motd entry in file list. |
| 15567 |
include/version.h: Update for version 1.3.0 |
| 15568 |
Makefile.in: Update for version 1.3.0 |
| 15569 |
lib/archetypes: rebuilt. |
| 15570 |
MSW 2002-07-01 |
| 15571 |
|
| 15572 |
doc updates: Rebuild the doc files, but most of this is fixing some of the |
| 15573 |
doc build stuff to correctly working with the new image set naming |
| 15574 |
scheme and fixing some bugs. Some doc is certainly out of date - the |
| 15575 |
playbook doesn't mention the classes for example. |
| 15576 |
doc/handbook.ps, doc/spoiler.ps: rebuilt |
| 15577 |
Note: all the doc/playbook changes also apply to the same files in |
| 15578 |
doc/playbook-html. |
| 15579 |
doc/playbook/Makefile.in, doc/playbook/makeps, doc/playbook/makeps.pl: |
| 15580 |
replace the awk makeps script with the perl one. |
| 15581 |
doc/playbook/items-extract: Don't show invisible items. |
| 15582 |
doc/playbook/levels-extract: Update so that it properly finds the declaration |
| 15583 |
of the levels in living.c |
| 15584 |
doc/playbook/treas1-extract: Clear type when we get a new Object header. was |
| 15585 |
resulting in duplicate entries for the characters. |
| 15586 |
doc/playbook/treas2-extract: Don't include forces of the no_class_face_change |
| 15587 |
as part of characters treasures |
| 15588 |
doc/playbook-html/chap1.html: Update ftp site information. |
| 15589 |
doc/spoiler/Makefile.in, doc/spoiler/makeps.pl, doc/spoiler/makeps: |
| 15590 |
replace the awk makeps script with the perl one. |
| 15591 |
doc/spoiler/items-extract: Add a space after the name match so that it won't |
| 15592 |
match on the name_pl field. |
| 15593 |
doc/spoiler-html/items-extract: Add a space after the name match so that it won't |
| 15594 |
match on the name_pl field. |
| 15595 |
doc/spoiler-html/makeps.pl: Update to handle new naming scheme for images. |
| 15596 |
doc/spoiler-html/spoiler.html: rebuilt. |
| 15597 |
lib/Makefile.in: Fix error in variable not being surrounded by parens. |
| 15598 |
MSW 2002-06-30 |
| 15599 |
|
| 15600 |
|
| 15601 |
server/rune.c: Fix bug that allowed players to use marking runes to create |
| 15602 |
arbitrary objects by embedding a endmsg in the string. |
| 15603 |
MSW 2002-06-26 |
| 15604 |
|
| 15605 |
lib/ban_file: Update comments to describe how it actually works. |
| 15606 |
server/commands.c: Add some time cost to shout, say, and tell commands. This |
| 15607 |
prevents abusive players from issuing huge number of these commands. |
| 15608 |
MSW 2002-06-20 |
| 15609 |
|
| 15610 |
doc/playbook-html/Makefile.in: Remove some superfluous blank lines |
| 15611 |
in the file. |
| 15612 |
configure, configure.in, plugin/Makefile.in: Modify configure script to |
| 15613 |
subtitute PLUGIN_TARGET, have plugin/Makefile not build/install |
| 15614 |
plugin if necessary support libraries are not in place. |
| 15615 |
common/item.c, include/material.h: Move the declaration/initialization |
| 15616 |
of materialtype from material.h to item.c |
| 15617 |
server/main.c: Modify crypt_string so that on Freebsd systems, it will |
| 15618 |
use des_crypt if available, if not, won't encrypt. |
| 15619 |
MSW 2002-06-18 |
| 15620 |
|
| 15621 |
TODO: Additional updates. |
| 15622 |
Add support for loading the EMERGENCY_.. locations from a .emergency file in |
| 15623 |
the map directory. This makes it easy to switch map distributions without the |
| 15624 |
need to recompile. The emergency information is now stored in the settings |
| 15625 |
structure. |
| 15626 |
common/init.c: add EMERGENCY_ defines to default values in setting. Add |
| 15627 |
init_emergency_mappath which loads the information. |
| 15628 |
include/config.h: Remove NEW_WORLD_MAP definition, as it is no longer |
| 15629 |
needed. Update some of the EMERGENCY_.. information as we don't need |
| 15630 |
to include the information for the new world map. |
| 15631 |
include/global.h: Add emergency_.. fields to settings structure. |
| 15632 |
server/login.c, server/main.c, server/player.c: Update references from |
| 15633 |
the EMERGENCY.. values to settings.emergency values. |
| 15634 |
MSW 2002-06-15 |
| 15635 |
|
| 15636 |
lib/Makefile.in: modified so that it doesn't overwrite commonly customized |
| 15637 |
files (eg, motd, dm_file, ban_file). These files will get installed |
| 15638 |
on new installations. |
| 15639 |
MSW 2002-06-14 |
| 15640 |
|
| 15641 |
common/item.c: break out monster description into describe_monster |
| 15642 |
function from describe_item - the later was a really long function. |
| 15643 |
Reveal weapon speed for identified weapons, spell point regen |
| 15644 |
penalty and max speed for identified armor - this was discussed about |
| 15645 |
6 weeks ago. Clean up the code to reduce the number of redundant |
| 15646 |
if statements and otherwise confusing code in describe_item. |
| 15647 |
MSW 2002-06-14 |
| 15648 |
|
| 15649 |
configure.in, configure, plugin/Makefile, plugin/Makefile.in, |
| 15650 |
plugin/Makefile.old: Modify the plugin module to gets its needed |
| 15651 |
information from configure. configure.in modified to look for Python.h and |
| 15652 |
to find the python library. plugin/Makefile.in is a new file. |
| 15653 |
plugin/Makefile.old is the old plugin/Makefile (removed) - may be useful |
| 15654 |
for sites where configure does not work for some reason. The use of |
| 15655 |
--with-includes=-I/usr/include/python2.2 (or the like) will likely be |
| 15656 |
needed for configure to find the Python.h file. Note - if you |
| 15657 |
are doing a CVS update, you will need to re-run configure with the |
| 15658 |
appropriate options for this change to take effect. |
| 15659 |
MSW 2002-06-13 |
| 15660 |
|
| 15661 |
server/main.c: If on freebsd system, don't crypt the password. |
| 15662 |
Crypt on freebsd behaves diferently, and since there is little reason |
| 15663 |
to encrypt passwords, easier to just leave them decrypted. |
| 15664 |
Fix for sourceforge bug 469017 |
| 15665 |
MSW 2002-06-13 |
| 15666 |
|
| 15667 |
More minor changes, including a fix for the disappearing object bug - |
| 15668 |
this was caused by the flag_links not getting updated the last |
| 15669 |
time new flags were added. Problem probably only showed up now |
| 15670 |
because loader.c wasn't rebuilt until recent changes. |
| 15671 |
-- |
| 15672 |
common/loader.c, common/loader.l: add extern to arch_init, when |
| 15673 |
loading and get an object from a file, complain and ignore it if |
| 15674 |
arch_init is not set (only time we should get object (vs arch) for |
| 15675 |
names is when we load the archetypes file). Add missing entries |
| 15676 |
to flag_links array. |
| 15677 |
common/treasure.c: Fix code so that proper plural names are generated |
| 15678 |
for custom items (potions, flesh items, etc). |
| 15679 |
include/define.h: Add note about updating flag_links when NUM_FLAGS is |
| 15680 |
increased. |
| 15681 |
server/skills.c: don't let players steal from players with FLAG_WIZ set. |
| 15682 |
MSW 2002-06-09 |
| 15683 |
|
| 15684 |
Mostly bugfixes. I'm not sure if this will fix the disappearing arch problem- |
| 15685 |
none of the changes made in the original multiple name would seem to |
| 15686 |
cause it, so hard to say if any of these changes may fix it. |
| 15687 |
-- |
| 15688 |
common/arch.c: Change get_archetype_by_name to be more efficient and |
| 15689 |
not leak memory. Modify code that frees all archetype data to free |
| 15690 |
the name_pl information. Make sure the clone.name_pl is set to |
| 15691 |
NULL. When singularites are created, set the name_pl for them. |
| 15692 |
common/loader.l, common/loader.c: Modify code that fixes up name_pl |
| 15693 |
to be more correct when it fixes up name_pl for old objects. |
| 15694 |
common/map.c: Modify load_map_header so that tile_paths will be normalized - |
| 15695 |
need for editor to be able to load maps that have a multipart object |
| 15696 |
that spans the maps. |
| 15697 |
crossedit/Edit.c: Modify some calls of out_of_map to OUT_OF_REAL_MAP, since |
| 15698 |
tiling code really isn't fully in place for the editor. Modify |
| 15699 |
EditPerformFill so that it actually works and doesn't crash the editor. |
| 15700 |
include/global.h: Move FREE_AND_COPY macro from loader.l to here so that |
| 15701 |
all source code files can use it. |
| 15702 |
lib/adm/map_info: Modify to actually be able to examine just a sub |
| 15703 |
portion of the map directories, and not all of them. Don't always |
| 15704 |
show the unused objects - information isn't very interesting if only |
| 15705 |
a portion is being examined. Modify the exit examining code to properly |
| 15706 |
deal with random maps (if there is a finalmap component, make sure |
| 15707 |
that does exist.) Loade the bmaps file and not the faces file to |
| 15708 |
find valid faces. |
| 15709 |
plugin/plugin_python.c: Add missing %s that described what script |
| 15710 |
was actually loaded. |
| 15711 |
random_maps/special.c, server/alchemy.c, server/c_misc.c, server/gods.c, |
| 15712 |
server/login.c, server/player.c, server/spell_effect.c: Set up proper |
| 15713 |
name_pl value for code that changes the name of objects. |
| 15714 |
server/apply.c: Use FREE_AND_COPY to set up names. Set up proper |
| 15715 |
name_pl values for cases that change name. In apply_lighter, call fix_player |
| 15716 |
if player is lighting an object in his inventory - necessary for the |
| 15717 |
players glow_radius to get updated so the change actually takes effect. |
| 15718 |
socket/request.c: Modify esrv_map_scroll so that it properly clears cells |
| 15719 |
that are moving out of view - failure to do this was resulting in the |
| 15720 |
map1a updating these spaces with empty faces. This was causing |
| 15721 |
fog of war wackiness with the client. |
| 15722 |
MSW 2002-06-06 |
| 15723 |
|
| 15724 |
|
| 15725 |
common/button.c: Fix mood floor code - before, it was changing the moods |
| 15726 |
of all sorts of objects (luggage, itself, etc). Now, it only |
| 15727 |
changes objects above the floor, and only monsters. |
| 15728 |
MSW 2002-05-31 |
| 15729 |
|
| 15730 |
|
| 15731 |
Main change is the addition of name_pl and client_type to object |
| 15732 |
structure. The name_pl contains the proper plural name instance - fixes |
| 15733 |
problem of '2 tooths'. client_type is sent to the client so that client |
| 15734 |
doesn't need to figure out sorting on its own. Client_type is an object |
| 15735 |
attribute, so can be modified in maps to hide the real type. |
| 15736 |
-- |
| 15737 |
common/arch.c: item_matched_string() modified to use the name_pl field |
| 15738 |
when trying to match names, and not to try to make the name plural |
| 15739 |
itself. |
| 15740 |
common/item.c: query_short_name(),query_base_name() modified to |
| 15741 |
use name_pl instead of trying to make the name plural. |
| 15742 |
common/loader.c, common/loader.l: Add code to load and save the name_pl |
| 15743 |
value and client_type. Add logic when object is finished loading |
| 15744 |
to set name_pl value to same as name or arch name if no name_pl |
| 15745 |
is specified - this supports old maps/characters in which the objects |
| 15746 |
dont have a name_pl field yet. Disable logic for need_an and need_ie |
| 15747 |
flags since they are no longer needed. Fix bug that caused |
| 15748 |
elevation not to get saved. |
| 15749 |
common/object.c: Add client_type check for CAN_MERGE function. Add |
| 15750 |
appropriate logice in functions to handle setting, clearing, and |
| 15751 |
copying of name_pl values. Remove unused anim_... fields |
| 15752 |
initialization. |
| 15753 |
doc/Developers/objects: Add information about the name_pl field and |
| 15754 |
client_type. |
| 15755 |
doc/Developers/protocol: Remove item protocol command info - it has |
| 15756 |
been obsoleted. Add information about item2 protocol command. |
| 15757 |
include/define.h: Remote ST1_* values - they were not being used. |
| 15758 |
comment out FLAG_AN and FLAG_NEED_IE values. |
| 15759 |
include/newserver.h: Add itemcmd to socket structure - this is the |
| 15760 |
version of the item protocol command that will be sent to the client. |
| 15761 |
include/object.h: Add name_pl and client_type field to object structure. |
| 15762 |
Remove unused anim_* values. |
| 15763 |
lib/archetypes: rebuilt with new archetypes that contain client_type |
| 15764 |
and name_pl information. |
| 15765 |
lib/bmaps, lib/bmaps.paths, lib/crossfire.1, lib/crossfire.0, lib/faces: |
| 15766 |
rebuilt. |
| 15767 |
server/monster.c: Remove anim_ references that were not being used. |
| 15768 |
socket/init.c: Initialize itemcmd version in the socket to 1. |
| 15769 |
socket/item.c: Remove special handling for clients of old versions - all |
| 15770 |
clients now have to be at least sc_version 1024 (which has been around for |
| 15771 |
a long time). This simplifies a lot of the object code that deals with |
| 15772 |
sending or not sending plural names to the client - now always send them. |
| 15773 |
Change code that sends item to client to use the item revision (currently |
| 15774 |
1 or 2) that the client wants. If version 2, send along client_type |
| 15775 |
information. |
| 15776 |
socket/request.c: Handle 'itemcmd' parameter in setup command. Make |
| 15777 |
sure it is in proper range. If client is very old (sc_version < 1024) |
| 15778 |
tell them so. |
| 15779 |
MSW 2002-05-30 |
| 15780 |
|
| 15781 |
|
| 15782 |
crossedit/png.c, crossedit/xutil.c: Increase size of temporary buffers that |
| 15783 |
are used when loading images - necessary to allow the editor to run without |
| 15784 |
crashing. |
| 15785 |
include/newserver.h: Remove quick_pos from the MapCell structure. |
| 15786 |
server/main.c: Add code to set the coordinates to the EMERGENCY_X/Y |
| 15787 |
values if using the EMERGENCY_MAP. |
| 15788 |
socket/request.c: Fix code that was causing darkness to get repeatedly |
| 15789 |
sent for some spaces. |
| 15790 |
MSW 2002-05-19 |
| 15791 |
|
| 15792 |
The bulk of this commit is to modify the server to only send the lower |
| 15793 |
rightmost part of multipart archetypes that use the same head. This allows |
| 15794 |
support of big images in the client. |
| 15795 |
|
| 15796 |
common/arch.c: Modify first_arch_pass to figure out the tail_x/y values for |
| 15797 |
multipart archs. Rename the prev variable to head, as that it really what |
| 15798 |
it is. Remove quick_pos info. |
| 15799 |
common/object.c: remove quick_pos info from object. |
| 15800 |
doc/Developers/images: Add notes about using merged images. |
| 15801 |
doc/Developers/protocol: Add information about the map1a command, which |
| 15802 |
is used to for big image support. Remove map2 documentation. |
| 15803 |
include/map.h: Add MAP_LAYERS define instead of using hardcoded value of 3. |
| 15804 |
include/newserver.h: Change the MapCell to use MAP_LAYERS - saves |
| 15805 |
considerable memory. Add defines for MAX_CLIENT_ map sizes. |
| 15806 |
Remove map1cmd, map2cmd elements from socket structure - instead use enumeration |
| 15807 |
of mapmode - only one map type will be used at any time by the client, so |
| 15808 |
no reason to have individual elements - it also makes it easier to add new |
| 15809 |
mapmode commands. |
| 15810 |
include/object.h: remove quick_pos, update_tag from object structure. |
| 15811 |
Add tail_x, tail_y values to archetype structure. |
| 15812 |
include/player.h: Remove some now unused values from the player structure |
| 15813 |
(drawn, floor, floor2, darkmask). These have been superseded by the |
| 15814 |
map cells in the socket structure for quite a while. |
| 15815 |
include/sockproto.h: rebuilt |
| 15816 |
server/player.c: Remove code that initialized the drawn values in the player |
| 15817 |
structure since they no longer exist. |
| 15818 |
socket/init.c: Replace map1cmd, map2cmd elements in socket structure with |
| 15819 |
mapmode element. Modify init_ericserver so that it properly passes an |
| 15820 |
int when setting the SO_REUSERADDR field. |
| 15821 |
socket/request.c: Modify code in SetUp function to use the new mapmode |
| 15822 |
enumeration in the socket structure. Add support for map1acmd setup |
| 15823 |
option. Throughout map code, replace MAXMAPCELLFACES with MAP_LAYERS. |
| 15824 |
modify map_clearcell to take options for values to clear the cell to. |
| 15825 |
Add have_head, check_head, and update_space commands - used with the |
| 15826 |
map1 command to store and find head information. |
| 15827 |
draw_client_map1 modified to support map1a extensions, as well as added |
| 15828 |
logic for checking for heads in blocked and out of viewable map spaces. |
| 15829 |
Some of the code is simplified by using the update_space function, since |
| 15830 |
the logic for processing each layer was otherwise the same. remove |
| 15831 |
draw_client_map2 function. esrv_map_scroll has same logic - some |
| 15832 |
variables and code formatting changes. |
| 15833 |
MSW 2002-05-18 |
| 15834 |
|
| 15835 |
server/login.c, server/c_misc.c: Don't save characters with 0 experience. |
| 15836 |
This apparantly fixes some abuses. MSW 2002-05-18 |
| 15837 |
|
| 15838 |
server/attack.c: Don't generate PLAYER_KILL_PLAYER messages if kill |
| 15839 |
happened on battleground. Also, datestamp the messages. |
| 15840 |
MSW 2002-05-13 |
| 15841 |
|
| 15842 |
server/attack.c: Generate log message when a player kills another player - |
| 15843 |
include the ip address of the killer to make it easier to add them to |
| 15844 |
ban files. MSW 2002-05-06 |
| 15845 |
|
| 15846 |
------------------------------------------------------------------------------ |
| 15847 |
Changes for 1.2.0: |
| 15848 |
Makefile.in, include/version.h: Update for 1.2.0 release |
| 15849 |
lib/Makefile.in: have it make an archive for the archetypes. |
| 15850 |
MSW 2002-04-28 |
| 15851 |
|
| 15852 |
|
| 15853 |
doc/Developers/protocol: Add documentation about the map2 protocol command. |
| 15854 |
socket/request.c: Fix bad indentation for the map2 function. No actual |
| 15855 |
functional code changes, but some comments updated. Running diff with the |
| 15856 |
-w option will make the changes, or lack thereof, more viewable. |
| 15857 |
MSW 2002-04-28 |
| 15858 |
|
| 15859 |
crossedit/xutil.c: Update to use name of png file. |
| 15860 |
lib/archetypes: collected - pl_dragon arch changed a while back, with no |
| 15861 |
new collect. |
| 15862 |
lib/collect.pl.in: Add some notes about usage if no option is given or |
| 15863 |
if --help is given. |
| 15864 |
server/gods.c: Fix that resulted in weapon/armor restrictions not working. |
| 15865 |
MSW 2002-04-23 |
| 15866 |
|
| 15867 |
Various minor bugfixes. Note the changes may appear larger than they |
| 15868 |
really are due to formatting/indentation changes. Run diff -w to |
| 15869 |
supress those: |
| 15870 |
make_win32/installwin32.bat: Update for new image files. |
| 15871 |
server/c_object.c: Fix SAVE_INTERVAL #ifdef block. It failed to compile |
| 15872 |
as it was written. Simplify code, but it should have the same effect. |
| 15873 |
server/move.c: Modify push_object so that if a player swaps position |
| 15874 |
with his pet, we send a esrv_map_scroll. This should save bandwidth, |
| 15875 |
and also prevents display corruption when fog of war on the client |
| 15876 |
is in use. Add some new comments, adjust some formatting. |
| 15877 |
server/player.c: Fix minor typo in comment. |
| 15878 |
server/skills.c: Modify new_draw_info that is responsible for the |
| 15879 |
"You pray" messages to not have the NDI_UNIQUE flag so that |
| 15880 |
they can get batched up, depending on users value of output-count |
| 15881 |
server/swap.c: Remove swapped out per player unique maps from the list |
| 15882 |
of maps. Reduces cpu and memory consumption by a minor amount, and |
| 15883 |
results in a cleaner 'maps command output. |
| 15884 |
server/weather.c: Add standard crossfire banner to top of file. |
| 15885 |
Modify long long declartion to just be a long. |
| 15886 |
MSW 2002-04-20 |
| 15887 |
|
| 15888 |
socket/item.c: Add checks to esrv_move_object - before it just trusted |
| 15889 |
the client that the destination target to move items into was a container. |
| 15890 |
Now do valid checking that the object can be picked up, that the container |
| 15891 |
can hold it, etc. MSW 2002-04-18 |
| 15892 |
|
| 15893 |
Add utils/crossloop.web.in script. This script is used on metalforge - |
| 15894 |
it generates the backtrace file, compresses the core, and sends out |
| 15895 |
mail. |
| 15896 |
configure.in, configure: Rebuilt to make the crossloop.web script. |
| 15897 |
utils/Makefile.in: Install the crossloop.web script. Include the |
| 15898 |
crossloop.web.in script when making the archive. |
| 15899 |
utils/crossloop.web.in: New file. |
| 15900 |
MSW 2002-04-14 |
| 15901 |
|
| 15902 |
Update to improve image caching and faceset support in the client. |
| 15903 |
The main change is adding the 'requestinfo image_info' and |
| 15904 |
'requestinfo image_sums' commands. |
| 15905 |
common/image.c: Checksum the bmaps file when we load it - we send this as |
| 15906 |
part of the image_info data. |
| 15907 |
doc/Developers/protocol: Document the requestinfo data. |
| 15908 |
include/global.h: Add extern for bmaps_checksum, and the define for |
| 15909 |
ROTATE_RIGHT which is used for checksumming. |
| 15910 |
include/newserver.h: Update SC version to 1027 so that clients can |
| 15911 |
know if they can issue requestinfo commands. |
| 15912 |
include/sockproto.h: rebuilt |
| 15913 |
lib/adm/collect_images.pl: Add support for it to make a crossfire-images |
| 15914 |
distribution that the client can use to bootstrap its image set. |
| 15915 |
socket/image.c: Change SendFaceCmd to take a NewSocket parameter instead |
| 15916 |
of a player parameter - in this way, it can be used before the |
| 15917 |
AddMe command - this allows the client to download images before |
| 15918 |
issuing that command. Add send_image_info and send_image_sums |
| 15919 |
function which send the requestinfo data to the client. |
| 15920 |
socket/loop.c: Move the askface command from the player commands to the |
| 15921 |
newsocket commands. Add RequestInfo functino that determines the |
| 15922 |
type of request and calls the specific function to deal with it. |
| 15923 |
MSW 2002-03-25 |
| 15924 |
|
| 15925 |
------------------------------------------------------------------------------ |
| 15926 |
Changes for 1.1.0: |
| 15927 |
|
| 15928 |
Updates for 1.1.0 release - pretty much all minor bug fixes, like |
| 15929 |
compiler warning messages, invalid ANSI C constructs, missing files to |
| 15930 |
include in the distribution. |
| 15931 |
Makefile.in, include/version.h: update version. |
| 15932 |
include/Makefile.in: Add some missing files |
| 15933 |
include/libproto.h, sproto.h: rebuilt to prevent compiler warnings |
| 15934 |
lib/Makefile.in: Include the wizhelp files in the archive. |
| 15935 |
server/apply.c, server/skill_util.c: fix invalid code (function parameter |
| 15936 |
names can't match structs/typedefs), add a missing return value. |
| 15937 |
server/c_move.c, server/c_new.c, server/c_object.c, server/commands.c, |
| 15938 |
server/daemon.c: Don't include the sproto.h if CEXTRACT is defined. |
| 15939 |
server/plugins.c: fix printf command that was printing wrong value type. |
| 15940 |
doc/spoiler-html/Makefile.in: Remove extraneous newline |
| 15941 |
|
| 15942 |
server/player.c: modify play_again to remove the player object if not done so |
| 15943 |
already. This fixes a crash observed on metalforge when a player quit at the |
| 15944 |
roll/swap stats prompt (undocumented that you can use 'q' then to do so). It |
| 15945 |
looks like this should also fix crashes that may be associated with the kick |
| 15946 |
and shutdown wiz commands. |
| 15947 |
MSW 2002-03-12 |
| 15948 |
|
| 15949 |
Added new dragon race to crossfire. |
| 15950 |
Players of this dragon race can gain resistances |
| 15951 |
by eating the flesh of their defeated foes. |
| 15952 |
They can also specify in a certain resistance-type |
| 15953 |
and gain various abilities when increasing levels. |
| 15954 |
This "focus" can be switched by eating very special |
| 15955 |
As announced on cf-devel, this is the patch which |
| 15956 |
adds a new dragon-race to Crossfire. |
| 15957 |
Players of this dragon race can gain resistances |
| 15958 |
by eating the flesh of their defeated foes. |
| 15959 |
They can also specify in a certain resistance-type |
| 15960 |
and gain various abilities when increasing levels. |
| 15961 |
This "focus" can be switched by eating very special |
| 15962 |
flesh, which will be available for sale. |
| 15963 |
Dragon players gain special titles which cannot |
| 15964 |
be overwritten by manually set titles. |
| 15965 |
AndreasV 2002-03-01 |
| 15966 |
|
| 15967 |
lib/collect.pl.in: Modified so that it uses the image.base.xyz.png to make |
| 15968 |
sure each listed face in objects has an image, and not the old xbm images |
| 15969 |
for that task. Also, ignore all files that end in .png, .xpm, or the |
| 15970 |
face extension - consider them legitimate files for the arch directory. |
| 15971 |
MSW 2002-02-25 |
| 15972 |
|
| 15973 |
socket/image.c: Change type of image data to be uint8 from char. Checksums |
| 15974 |
were being incorrectly calculated when using the char type. MSW 2002-02-25 |
| 15975 |
|
| 15976 |
server/main.c: If exit is damned, update players death & WoR home-position |
| 15977 |
and delete town portal. |
| 15978 |
server/apply.c: Fix bug in move_apply. return was used instead of goto |
| 15979 |
leave, so recursion_depth wasn't decremented. |
| 15980 |
mids 02/13/2002 |
| 15981 |
|
| 15982 |
server/spell_effect.c: Fix bug in summon_cult_monster that would result |
| 15983 |
in crash if monster was killed when inserted. MSW 2002-02-10 |
| 15984 |
|
| 15985 |
common/map.c: load_map_header: If the map message is empty, don't copy |
| 15986 |
uninitialized data as the message. This fixes various crashes. |
| 15987 |
lib/Makefile.in: Remove the adm/*xpm* utilities, as they are no longer |
| 15988 |
needed or distributed. |
| 15989 |
server/apply.c: set the player speed to zero after they use a savebed. |
| 15990 |
Fixes crashes with players that have constant image animation (fireborns) |
| 15991 |
when they apply the savebed and the map then gets swapped out. |
| 15992 |
server/plugins.c: Fix some serious memory leaks. Some still remain, with |
| 15993 |
my comments included. |
| 15994 |
server/skills.c: Removed unused variable. |
| 15995 |
MSW 2002-02-05 |
| 15996 |
|
| 15997 |
include/player.h include/sproto.h server/c_chat.c server/player.c: |
| 15998 |
New player command 'reply', replies to the last person who told you |
| 15999 |
something. |
| 16000 |
server/c_wiz.c: New DM command 'teleport', lets a DM teleport next |
| 16001 |
to target player, it is an inverse summon. |
| 16002 |
server/commands.c: Add hooks for 'reply' and 'teleport'. |
| 16003 |
mids 2002-01-16 |
| 16004 |
|
| 16005 |
TODO: updated with bugs, remove things that have been done and are no |
| 16006 |
longer TODO's. |
| 16007 |
configure.in, configure: Remove lib/xpmtopix.pl file form those to be |
| 16008 |
built, as that file has been removed. |
| 16009 |
common/object.c: Fix bug in check_walk_on which would result in spell |
| 16010 |
objects not being properly processed - the intention is not to process |
| 16011 |
spell objects - we should stop going up (in previous loop) when we |
| 16012 |
get such an object, not on the way down. This fixes directors not |
| 16013 |
working really well. |
| 16014 |
MSW 2001-01-13 |
| 16015 |
|
| 16016 |
Add the concept of overlay maps to the code. An overlay map is a map which |
| 16017 |
is loaded on top of another map, replacing values in the header, and placing |
| 16018 |
objects on top of other objects. This is the fundamental part of the new |
| 16019 |
weather code, but also can be used to allow dynamic editing of the worldmaps |
| 16020 |
by DM's eventually. |
| 16021 |
garbled 2002-01-01 |
| 16022 |
|
| 16023 |
server/spell_effect.c: fix animate_bomb so that if the bomb is in a container, |
| 16024 |
it does not crash the server - the problem was that it was calling |
| 16025 |
drop, which would then drop it right back into the container. also, the |
| 16026 |
x and y coordinates were not being properly set. |
| 16027 |
MSW 2001-12-31 |
| 16028 |
|
| 16029 |
This change lets the server have multiple image sets. The client |
| 16030 |
can then request which image set to use, and the server will use |
| 16031 |
that image set, falling back to other sets as necessary. I have tested |
| 16032 |
this with CVS client, and works fine at least in terms of old functionality. |
| 16033 |
= |
| 16034 |
doc/Makefile.in: Add images file which describes image guideline. |
| 16035 |
doc/Protocol: Various updates - some things missing, added other notes |
| 16036 |
about facesets. |
| 16037 |
doc/images: New file, describes guidelines for image sets, as well |
| 16038 |
as some of the internals |
| 16039 |
include/newserver.h: Update for multiple image set - redid most of the |
| 16040 |
image definitions as they were out of date with only png being supported. |
| 16041 |
include/sockproto.h: rebuilt |
| 16042 |
lib/Makefile.in: remove crossfire.png, add crossfire.0, crossfire.0. Update |
| 16043 |
build directions to use crossfire.0 instead of crossfire.png |
| 16044 |
lib/adm/collect_images.pl: Modified to collect all the image sets, remove |
| 16045 |
support for collect xpm and xbm images. |
| 16046 |
lib/crossfire.0: new file, base images |
| 16047 |
lib/crossfire.1: new file, alternate images |
| 16048 |
lib/image_info: New file, describes image sets. |
| 16049 |
lib/crossfire.png, lib/xpmtopix.pl.in: Removed - no longer needed. |
| 16050 |
socket/Makefile.in: add image.c file. |
| 16051 |
socket/image.c: Moved all image related data in this file - this includes |
| 16052 |
loading the image files, as well as the protocol commands. |
| 16053 |
socket/init.c: move read_client_images to image.c file. set ns->faceset |
| 16054 |
and ns->facecache to 0. Move freeing of image data to image.c |
| 16055 |
socket/request.c: fixed some indentation inconsistencies.add setup commands |
| 16056 |
for faceset as facecache. Move SetFaceMode,SendFaceCmd,esrv_send_face |
| 16057 |
to image.c file. |
| 16058 |
MSW 2001-12-31 |
| 16059 |
|
| 16060 |
common/loader.l, common/loader.c, common/object.c, include/object.h, |
| 16061 |
socket/item.c: |
| 16062 |
Remove sub_type and sub_type2 information - |
| 16063 |
these were poorly named fields and not properly implemented. |
| 16064 |
common/treasure.c: Add missing return type to change_treasure function. |
| 16065 |
crossedit/Edit.c: Add SET_MAP_FLAGS macro to set P_NEED_UPDATE flag |
| 16066 |
before calling update_position. |
| 16067 |
include/config.h: Add NEW_WORLD_MAP selection which results in proper |
| 16068 |
emergency save paths if you are using the maps-bigworld distribution. |
| 16069 |
server/c_wiz.c: Fix the formatting (indentation) of the command_create |
| 16070 |
function. No actual changes in how it runs, but the old |
| 16071 |
formatting was really terrible and inconsistent. |
| 16072 |
server/main.c: remove call to send_mapstats_cmd |
| 16073 |
server/monster.c: Update the comment style to be proper, as well |
| 16074 |
as the comments themselves. |
| 16075 |
socket/request.c: Fix up improper indentation in esrv_update_stats. |
| 16076 |
remove send_mapstats_cmd function. |
| 16077 |
MSW 2001-12-23 |
| 16078 |
|
| 16079 |
Lots of changes here. Basically implement a night and day system, as |
| 16080 |
well as tracking of game time. A clockdata file is now created and |
| 16081 |
updated by the server to increment time. Time increases by 1 hour, |
| 16082 |
approximately every 2 minutes of real time. Right now this code has |
| 16083 |
virtually no effect, but as maps are updated with outdoor settings, |
| 16084 |
nightfall will occur automatically. The time command has been modified |
| 16085 |
to show the current game time, and the clock objects have been changed to |
| 16086 |
show the game time as well. |
| 16087 |
garbled 2001-12-18 |
| 16088 |
|
| 16089 |
common/map.c: Fix some bugs relating to map tiling. MSW 2001-12-16 |
| 16090 |
|
| 16091 |
common/object.c random_maps/Makefile.in |
| 16092 |
server/c_wiz.c server/player.c server/plugins.c server/timers.c |
| 16093 |
socket/request.c: Most of the changes are to just fix compiling warnings |
| 16094 |
or errors so that it compiles on sparc solaris with the workshop |
| 16095 |
compiler (things like }; should just be }). Declaration for alphasort |
| 16096 |
was missing in plugins.c. random_maps/Makefile.in had the wrong order in |
| 16097 |
linking - the system library needs to be linked in after the crossfire |
| 16098 |
libraries. |
| 16099 |
crossedit/App.c: Fix for running on 8 bit color - colormap was not being |
| 16100 |
initialized to usuable default value. |
| 16101 |
crossedit/xutil.c: Broken code when duplicating faces for undefined |
| 16102 |
images. That code should never really be used, as pixmaps currently |
| 16103 |
are always contiguous. |
| 16104 |
MSW 2001-12-15 |
| 16105 |
|
| 16106 |
|
| 16107 |
Include mapstats cmd for extended clients (sdl iso). Cmd is needed for automaps |
| 16108 |
ambient media infos, map name and map parameter infos. Paramter infos are used |
| 16109 |
for "fire & forget" animation tags inside the map2 cmd (next patch). |
| 16110 |
server/main.c: include a automatic mapstats cmd every time the player enters a new map. |
| 16111 |
Its the "default" mapenter cmd. The script event should used for special cases. |
| 16112 |
include/sockproto.h and socket/request.c: include the mapstats cmd function. |
| 16113 |
MT 2001-12-03 |
| 16114 |
|
| 16115 |
This checkin for the most part removes support for xpm and xbm graphics - |
| 16116 |
now the only image supported is the png. |
| 16117 |
common/arch.c: comment out printing on warning of object having no type - |
| 16118 |
getting 300 meaningless messages at startup is annoying. |
| 16119 |
common/image.c: Remove X11 color information from colorname array. Remove |
| 16120 |
processing of color_fg and color_bg information from face file - only |
| 16121 |
use color_fg if no magicmap information is available - foreground |
| 16122 |
and background infoformation was only needed for bitmap graphics. |
| 16123 |
common/loader.c, loader.l: Add elevation element, comment out some logging |
| 16124 |
messages that are excessive and only really relevant for people |
| 16125 |
who want to fix them (really should be in the collect script |
| 16126 |
anyways). Remove some unused code. |
| 16127 |
common/map.c: add outdoor field to map structure - add support for loading |
| 16128 |
and saving it. |
| 16129 |
crossedit/App.c,crossedit/CrUtil.c, crossedit/Defines.h, crossedit/crossedit.c |
| 16130 |
crossedit/xutil.c: Remove support for non png graphics. |
| 16131 |
crossedit/Attr.c: Add support for elevation variable, remove code for non |
| 16132 |
png graphics. |
| 16133 |
doc/map-technical: Add note about outdoor field. |
| 16134 |
include/face.h: remove fg, bg fields from face struecture. |
| 16135 |
include/global.h: Update colorname array definition. |
| 16136 |
include/loader.h: Add V_ELEVATION field. |
| 16137 |
include/map.h: Add outdoor field to map structure. |
| 16138 |
include/newserver.h: Update types so it only loads/knows about png information. |
| 16139 |
include/object.h: Add elevation field to object structure. |
| 16140 |
lib/Makefile.in: Remove support for building crossfire.xpm and crossfire.xbm |
| 16141 |
files. |
| 16142 |
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.png, |
| 16143 |
lib/faces: Rebuilt. Main difference is a few sea types, and the fact |
| 16144 |
that it hadn't been collected for a while. |
| 16145 |
server/spell_effect.c: Modify dimension door so that it calls MapNewmapCmd |
| 16146 |
so that fog of war does not get confused. Also, removes call to |
| 16147 |
draw as functions further up will do that. |
| 16148 |
server/spell_util.c: Remove color information from attack information that |
| 16149 |
shuffle_attack uses. |
| 16150 |
socket/init.c, socket/request.c: Remove support for non png images. |
| 16151 |
MSW 2001-12-02 |
| 16152 |
|
| 16153 |
Various minor bugfixes - |
| 16154 |
common/loader.c: rebuilt |
| 16155 |
include/map.h: Change width,height,enter_x,enter_y to be 16 bit instead |
| 16156 |
of 8 bits. |
| 16157 |
lib/treasures: change skull treasure to tooth instead of skull_tooth since |
| 16158 |
the later is not currently in the distributed archetypes file |
| 16159 |
server/monster.c: Optimize some code, remove some other that is not used. |
| 16160 |
server/plugins.c: Fix un initialized value in initPlugins that would |
| 16161 |
cause crash at startup if plugin directory does not exist. |
| 16162 |
MSW 2001-11-13 |
| 16163 |
|
| 16164 |
common/object.c: Modify copy_owner so that if a player is passed in |
| 16165 |
as the object to copy, we properly set that player as the owner of the |
| 16166 |
object instead of returning. This fixes the lack of exp when poison |
| 16167 |
inflicted from a weapon kills something. MSW 2001-11-05 |
| 16168 |
|
| 16169 |
common/map.c: Fix bug in get_rangevector which was causing reverse |
| 16170 |
of documented procedure. This also resulted in monsters not attacking |
| 16171 |
adjacent creatures with physical attacks. MSW 2001-11-03 |
| 16172 |
|
| 16173 |
Add weapontypes to the game. These are currently used for nothing other |
| 16174 |
than messages, which are not fully written yet. Players should not see them |
| 16175 |
appear yet. |
| 16176 |
Fix the bug where you opened a door with a key and saw "You ." |
| 16177 |
Fix a bug in the PLUGIN code where current_weapon wasn't set when the |
| 16178 |
player loaded from savefile. |
| 16179 |
Take the setting of current_weapon out of #ifdef PLUGIN |
| 16180 |
garbled 2001-10-31 |
| 16181 |
|
| 16182 |
server/spell_util.c: Add out_of_map check to can_see_monsterP. Fixes |
| 16183 |
crash when casting ball lightning/divine shock (and likely other events) |
| 16184 |
on maps not surrounded by walls. MSW 2001-10-07 |
| 16185 |
|
| 16186 |
New attacktype messages for damage. Now it gives you the message for the |
| 16187 |
damage type you actually did. So if you are attacking with stormbringer, |
| 16188 |
you get electrical or drain-based messages. Also added special messages for |
| 16189 |
the attack-based skills like punching, karate, etc. |
| 16190 |
garbled 2001-10-06 |
| 16191 |
|
| 16192 |
common/map.c: Add INS_ON_TOP flag to insert_ob_in_map calls to preserve |
| 16193 |
stacking order. Modify update_position to generate map spaces with |
| 16194 |
more proper order. |
| 16195 |
common/object.c: Modify insert_ob_in_map so that it preserves stacking |
| 16196 |
if INS_ON_TOP is set. |
| 16197 |
crossedit/CrEdit.c: Add missing code that would draw third face on a space. |
| 16198 |
include/object.h: Add INS_ON_TOP flag/define. |
| 16199 |
random_maps/exit.c: Modify code so that if the random maps leading to |
| 16200 |
a special map are reset, they will properly link in with an already loaded |
| 16201 |
final map (and update exit from final map back up) as needed. Also fix |
| 16202 |
bug in that if the final map has been reset, a new one will now be properly |
| 16203 |
loaded. |
| 16204 |
random_maps/random_map.c:Update minimum size to be 7 (up from 6) - fixes |
| 16205 |
bug which caused crashes when square_spiral maps of 6x6 would fail to |
| 16206 |
generate. |
| 16207 |
random_maps/random_map.h,random_maps/room_gen_onion.c: move OPT_values from |
| 16208 |
room_gen_onion to random_map.h since the square_spiral code uses them. |
| 16209 |
random_maps/square_spiral.c: Update call to map_gen_onion to use |
| 16210 |
OPT_.. values instead of constant integer. |
| 16211 |
random_maps/treasure.c: Add some casts to sprintf statements to eliminate |
| 16212 |
some compiler warnings. |
| 16213 |
server/main.c: Modify enter_exit code such that a random map has |
| 16214 |
reset, we generate a new random map. This can happen when the random_map |
| 16215 |
resets before the map that leads to them resets. |
| 16216 |
MSW 2001-10-06 |
| 16217 |
|
| 16218 |
Add a new command category called communications commands. Place tell, |
| 16219 |
shout and say in here. Also create emotion functions. These functions |
| 16220 |
have no real effect on the game, but make communications between players |
| 16221 |
more colorful and fun. They are mostly fluff. Included with this patch |
| 16222 |
are two new convenience functions, new_info_map_except, and |
| 16223 |
new_info_map_except2, which allow the programmer to write to an entire |
| 16224 |
map, except for certain individuals. |
| 16225 |
|
| 16226 |
garbled 2001-09-27 |
| 16227 |
|
| 16228 |
Add complete processing code for luck. This new code removes all |
| 16229 |
previous instances of luck, and adds a few new convenience utilities. |
| 16230 |
Now, every die roll in the game is affected by luck in some small way. |
| 16231 |
This causes luck to be an intangible benefit to the player, without |
| 16232 |
totally unbalancing the game. The new functions are random_roll, |
| 16233 |
die_roll, and rndm, which should be used in place of RANDOM() whenever |
| 16234 |
possible. |
| 16235 |
|
| 16236 |
garbled 2001-09-26 |
| 16237 |
|
| 16238 |
This checkin mainly fixes multipart teleporters - they should now |
| 16239 |
work properly. Also a minor fix to make the new pickup code work. |
| 16240 |
server/apply.c: apply_shop_mat rewritten to be more 'presentable'. |
| 16241 |
Minor changes were needed in any case to pass the player/creature |
| 16242 |
a a second object to teleport. |
| 16243 |
server/c_object.c: change the sscanf to be unsigned when getting value |
| 16244 |
for new pickup mode. At least on my system, if the value in the |
| 16245 |
string was larger than the max signed value, sscanf set it to the |
| 16246 |
max value. |
| 16247 |
server/move.c: teleport function largely re-written. Instead of the |
| 16248 |
third arg being the 'originator', it is now the object to teleport. |
| 16249 |
This allows the head of the teleporter to get passed to this function |
| 16250 |
even if the object to teleport is not on the head. |
| 16251 |
server/time.c: move_teleporter modified to also check for objects on the |
| 16252 |
other parts of multipart teleporters. Also, pass the head object |
| 16253 |
to the teleport function so that proper destination is used. |
| 16254 |
MSW 2001-09-02 |
| 16255 |
|
| 16256 |
Add Nils Lohner patch that new selections to the pickup mode. |
| 16257 |
|
| 16258 |
include/define.h: Pickup type defines added. |
| 16259 |
include/player.h: Change mode (pickup mode) to 32 bits. |
| 16260 |
server/c_object.c: command_pickup function modified to support all |
| 16261 |
the new pickup options. |
| 16262 |
server/player.c: Fix for path_to_player to prevent crashes. Add check |
| 16263 |
in move_player_attack just in case. check_pick function modified to |
| 16264 |
support new pickup options. do_some_living modified to eat flesh |
| 16265 |
items if player is starving and they don't have any food. |
| 16266 |
server/spell_effect.c: cast_detection modified so that detect magic/curse |
| 16267 |
will not show objects beneath the floor. Change so that detect_monster |
| 16268 |
and detect_evil spells copy the face of what they detected - gives better |
| 16269 |
appearance on client. |
| 16270 |
socket/item.c: fix bug LookAt that ws checking blocked_los on wrong |
| 16271 |
offset. |
| 16272 |
MSW 2001-08-28 |
| 16273 |
|
| 16274 |
Enhancements to make monsters 'do the right thing' with relation |
| 16275 |
to tiled maps (ie, will detect players and attack them if on an adjoining |
| 16276 |
tiled maps). This involved a rewrite of path_to_player - I've tested this |
| 16277 |
out, and if anything, it seems that monsters may be more aggressive on |
| 16278 |
spellcasting. |
| 16279 |
++ |
| 16280 |
common/map.c: blocked modify to make sure it is checking valid coordinate |
| 16281 |
value. blocked_link,blocked_two modified to translate for tiled maps. |
| 16282 |
Add load_and_link_tiled_map which loads a tiled map and links in all |
| 16283 |
pointers relative to adjoining maps. out_of_map modified to use |
| 16284 |
this function instead of doing the work itself. Add get_rangevector |
| 16285 |
function that returns offset, direction, and distance between two |
| 16286 |
objects, taking into account tiled maps. get_rangevector_from_mapcoord |
| 16287 |
added which is similar to get_rangevector, but takes a map and coordinates |
| 16288 |
instead of a second object. on_same_map function added which returns |
| 16289 |
true if the two objects are on the same logical (ie tiled) maps. |
| 16290 |
doc/crossfire.doc: Add note about what Int does for monsters. |
| 16291 |
include/map.h: Add some comments, and add structure for rangevector |
| 16292 |
function return values. |
| 16293 |
server/attack.c: add calls to on_same_map instead of doing op->map |
| 16294 |
comparisons. |
| 16295 |
server/monster.c: Many functions modified to properly handle tiled |
| 16296 |
maps properly. |
| 16297 |
server/pets.c: get_pet_enemy modified to know about tiled maps. |
| 16298 |
server/player.c: get_nearest_player modified to know about tiled maps. |
| 16299 |
path_to_player rewritten to know about tiled maps - I think some other |
| 16300 |
bugs were also fixed in return values. Split player_attack_door |
| 16301 |
from move_player attack to keep functions a more reasonable size. |
| 16302 |
move_player_attack, player_can_view modified to know about tiled |
| 16303 |
maps. |
| 16304 |
server/skills.c: can detect_enemy modified to take another parameter - |
| 16305 |
call in steal updated to pass this parameter. |
| 16306 |
server/spell_util.c: ok_to_put_more, can_see_monsterP modified to |
| 16307 |
handle tiled maps properly. |
| 16308 |
socket/item.c: look_at modified to return proper results when player |
| 16309 |
looks at something on an adjoining tiled map. |
| 16310 |
++ End of checkin |
| 16311 |
|
| 16312 |
common/object.c:decrease_ob_nr modified to correctly update client when |
| 16313 |
player uses item from container that is on the ground (bookshelf for |
| 16314 |
example) |
| 16315 |
server/time.c: move_teleporter modified to skip over wall/floors and |
| 16316 |
teleport whatever is above them. |
| 16317 |
MSW 2001-08-05 |
| 16318 |
|
| 16319 |
common/map.c: modify link_multipart_objects to preserve name and title of |
| 16320 |
head when making the more parts. modify update_position so that it should |
| 16321 |
never show an invisible face to the player. |
| 16322 |
common/object.c: fix check_walk_on so that spells will now properly get |
| 16323 |
affected by spinners and directories. |
| 16324 |
include/sockproto.h: Rebuilt to include MapNewmapCmd |
| 16325 |
server/hiscore.c: Fix crash if player savebeds map on map which does not |
| 16326 |
have a name. Use the path instead. |
| 16327 |
server/move.c: modify teleporter function to send MapNewmapCmd to client |
| 16328 |
if player got teleported. Needed for fog of war code. |
| 16329 |
server/time.c: modify move_teleporter so that it will not teleport walls. |
| 16330 |
socket/Makefile.in: Modified to use cproto to generate proto files. |
| 16331 |
MSW 2001-08-04 |
| 16332 |
|
| 16333 |
|
| 16334 |
common/Makefile.in crossedit/Makefile.in doc/Makefile.in |
| 16335 |
doc/playbook-html/Makefile.in doc/spoiler/Makefile.in |
| 16336 |
doc/spoiler-html/Makefile.in lib/Makefile.in lib/crossfire.png |
| 16337 |
random_maps/Makefile.in socket/Makefile.in utils/Makefile.in: Fix up |
| 16338 |
so that distclean now clears out all appropriate files - MSW 2001-08-01 |
| 16339 |
|
| 16340 |
common/map.c free_map Set in_memory status to MAP_SWAPPED - fixed bugs of maps |
| 16341 |
not getting reset properly |
| 16342 |
common/object.c: insert_ob_in_map - was passing wrong value to check_walk_on, |
| 16343 |
resulting in some things not working as expected. |
| 16344 |
doc/Protocol: Clarify how the sending of the version command works. |
| 16345 |
server/move.c: move_ob redone. It should hopefully be more efficient (only' |
| 16346 |
remove objects after verifying they can in fact move). IMO, code is |
| 16347 |
also simpler, and hopefully has fewer bugs. |
| 16348 |
socket/init.c: InitConnection - modified to set faces_sent[0] to one |
| 16349 |
so that we will never send any information about face 0 to the client. |
| 16350 |
facecode 0 is sent in the map1 command to clear spaces/layers. |
| 16351 |
MSW 2001-07-30 |
| 16352 |
|
| 16353 |
Added support for the newmap cmd needed for the fog_of_war code |
| 16354 |
in the gtk client. |
| 16355 |
include/newserver.h: added newmapcmd:1 to NewSocket struct |
| 16356 |
server/main.c: added call to MapNewmapCmd in enter_map() |
| 16357 |
socket/init.c: init code for new newmapcmd value in NewSocket |
| 16358 |
socket/request.c: deal with "newmapcmd" value in client setup string |
| 16359 |
Added MapNewmapCmd( player* pl) function. |
| 16360 |
SMACFIGGEN 2001-07-21 |
| 16361 |
|
| 16362 |
|
| 16363 |
common/object.c: remove_ob - set P_NEED_UPDATE before calling update_position |
| 16364 |
to prevent warnings from update_position being called with P_NEED_UPDATE |
| 16365 |
being set. MSW 2001-07-19 |
| 16366 |
|
| 16367 |
socket/request.c: Fix bug in map1 command which resulted in it sending |
| 16368 |
too much data with even maps. For example, if the client requested |
| 16369 |
a 16x16 map, the server would effectively send a 17x17 map to the client. |
| 16370 |
MSW 2001-07-19 |
| 16371 |
|
| 16372 |
+++ |
| 16373 |
Major redo of map code: |
| 16374 |
1) Remove encounter map support (with the much better random map code, |
| 16375 |
I don't see much reason for it) |
| 16376 |
2) Remove map_ob from map structure, and instead store relevant information |
| 16377 |
in map structure itself. Remove strange meanings (stand_still meaning |
| 16378 |
fixed reset time for example) |
| 16379 |
3) Redo internal structure of map and how information on each space was |
| 16380 |
stored - this should make future extensions much easier, as well |
| 16381 |
as making debugging easier. |
| 16382 |
4) Make USE_LIGHTING standard part of game. |
| 16383 |
5) Redo how lighting objects are handled - instead of making a linked list |
| 16384 |
of the light giving objects, at field to mapspace that contains |
| 16385 |
lightsource for the space. |
| 16386 |
6) Rewrite insert_ob_in_map to take optional parameter that determines |
| 16387 |
other behaviour. This replaces insert_ob_in_map_simple. |
| 16388 |
Function now does sorting of some objects, so performance for lots of |
| 16389 |
spell objects on one space should be much better. |
| 16390 |
7) Change how multipart objects are saved. Now only save the head, and |
| 16391 |
link in the rest of the parts when map is loaded. Additional parts |
| 16392 |
linked in are put just above floor level when linked in, so things like |
| 16393 |
shops won't hide items that someone drops on them. For monsters, this |
| 16394 |
linking shouldn't be a problem - once they start moving, they will get |
| 16395 |
relinked as normal (on top). |
| 16396 |
8) Modify update_object to only call update_position when necessary |
| 16397 |
(ie, space attributes change). Otherwise, let the map transmission |
| 16398 |
code call update_position when necessary (ie, in players view) - this |
| 16399 |
saves cpu time as time will not be spent updating spaces that no one |
| 16400 |
will see (before, how the space looks was updated whenever a space |
| 16401 |
had an object added or removed). |
| 16402 |
|
| 16403 |
TODO: remove some things that have now been done. |
| 16404 |
common/Makefile.in: Remove ltostr.c and sqrt.c from list of files |
| 16405 |
common/ltostr.c, common/sqrt.c: Moved into porting.c |
| 16406 |
common/anim.c, common/button.c, common/item.c: Update calls to update_object |
| 16407 |
common/living.c: have fix_player calculate light value for player/monster. |
| 16408 |
common/logger.c: Remove code that has server exit if too many LOG messages |
| 16409 |
happen too quickly. This was not a reliable mechanism, and it should |
| 16410 |
really be up to the functions doing the logging to know if they can |
| 16411 |
continue or not. |
| 16412 |
common/los.c: Changes on how it deals with lighting on maps - get light |
| 16413 |
value from map space array instead of using the linked list. Functions |
| 16414 |
that managed the light list have been removed. Change logic of |
| 16415 |
line of sight function to be more efficient (before, we may examine |
| 16416 |
the same space multiple times). rename update_all_los to |
| 16417 |
update_all_map_los, and change update_all_los to take coordinates |
| 16418 |
so that we only have clients within view of the change recalculate |
| 16419 |
los. Also, have update_all_los check for tiled maps that may have |
| 16420 |
clients that need to get updated. |
| 16421 |
common/map.c: remove refresh_map - this used to be used to try to recover |
| 16422 |
from map errors if many_cores was not set - IMO better to core and |
| 16423 |
just restart and really fix the error than try to deal with possible |
| 16424 |
corruption that may otherwise result. |
| 16425 |
Move open_and_uncompress and close_and_delete functions to porting.c - |
| 16426 |
they are 'common' functions that are not related to the map code. |
| 16427 |
Remove some lighting related code, as that is no longer done with |
| 16428 |
a list. Many modifications because of new map structure. And |
| 16429 |
logic to load and save the new map structure format. Modify |
| 16430 |
many of the functions to take map tiling into account. Change |
| 16431 |
way multipart objects are saved, and add logic to relink objects |
| 16432 |
when maps are loaded up. Remove some functions that are only |
| 16433 |
used by the editor into the editor. Move update_position from |
| 16434 |
object.c to map.c as it is better placed in map.c. Modify |
| 16435 |
function to figure out light for a space. Make out_of_map a |
| 16436 |
function that knows about map tiling. New function - get_map_from_coord |
| 16437 |
which knows about map tiling and does coordinate and map translation. |
| 16438 |
common/object.c: Have update_object take another parameter which tells |
| 16439 |
update object what has changed about the object. This lets the function |
| 16440 |
know if it should call update_position right away or if it can just |
| 16441 |
mark the space as needing an update at a later time. move update_position |
| 16442 |
to map.c. |
| 16443 |
insert_ob_in_map: now takes another parameter that describes actions not |
| 16444 |
to do. modified to know about map tiling and do appropriate translation. |
| 16445 |
Does some object sorting so it should handle spell objects more |
| 16446 |
efficiently. |
| 16447 |
insert_ob_in_map_simple is now replaced by |
| 16448 |
using appropriate flag to this changed version of insert_ob_in_map. |
| 16449 |
Clean up remove_ob - seemed to have done things in a more complicated |
| 16450 |
fashion that is no longer necessary. Modify check_walk_on to look |
| 16451 |
at all objects on space, not those below the object - with changes to |
| 16452 |
insert_ob_in_map, new object won't always be on top. |
| 16453 |
common/porting.c: functions from ltostr.c, sqrt.c, as open_and_uncompress |
| 16454 |
close_and_delete, make_path_to_file from map.c |
| 16455 |
common/treasure.c: Modified to use updated insert_ob_in_map |
| 16456 |
crossedit/Attr.c: Rename Layout to AppLayout so other files can use it. |
| 16457 |
crossedit/CrEdit.c: Modified to use new map header. Modified drawing |
| 16458 |
routines, as face values could be null |
| 16459 |
crossedit/Edit.c: Move many functions from common/map.c that are only |
| 16460 |
used here and thus don't need to be in common/map.c. Modify to use |
| 16461 |
new map structure. |
| 16462 |
crossedit/Makefile.in: Change to use cproto to make proto.h file. |
| 16463 |
crossedit/png.c: change user_read_data to be static so proto doesn't pick |
| 16464 |
it up. |
| 16465 |
doc/Makefile.in: add map-technical to list of files. |
| 16466 |
doc/crossfire.doc: remove map information that was in this file. |
| 16467 |
doc/map-technical: new file. Describes inner workings of how the maps work. |
| 16468 |
include/config.h: remove RANDOM_ENCOUNTERS (no longer available) and |
| 16469 |
USE_LIGHTING (now standard part and always on). |
| 16470 |
include/define.h: move P_... values to map.h |
| 16471 |
include/global.h: add definition for compression externals, as they |
| 16472 |
are used in a few files. remove map macro functions - moved to map.h |
| 16473 |
as appropriate. Add FREE_AND_CLEAR macro that frees data and then |
| 16474 |
sets the pointer to NULL. |
| 16475 |
include/map.h: Largely redone - many new macros, new map structure. |
| 16476 |
include/object.h: remove lights object link pointer from objects. |
| 16477 |
At some #defines that are the flags for update_object and |
| 16478 |
insert_ob_in_map |
| 16479 |
include/player.h: Add a few comments. |
| 16480 |
random_maps/decor.c,random_maps/door.c, random_maps/exit.c, |
| 16481 |
random_maps/floor.c,random_maps/monster.c,random_maps/special.c, |
| 16482 |
random_maps/standalone.c, random_maps/style.c,random_maps/treasure.c, |
| 16483 |
random_maps/wall.c: |
| 16484 |
modified to use modified insert_ob_in_map function, |
| 16485 |
use new macros to access map structure related data |
| 16486 |
server/Makefile.in: Remove encounter.c file. Use cproto instead of |
| 16487 |
cextract to create proto file. |
| 16488 |
server/alchemy.c,server/attack.c,server/c_object.c,server/c_wiz.c, |
| 16489 |
server/disease.c, server/login.c, server/main.c, server/monster.c, |
| 16490 |
server/move.c, server/pets.c, server/player.c, server/resurrection.c, |
| 16491 |
server/rune.c, server/shop.c,server/skill_util.c, server/skills.c, |
| 16492 |
server/spell_effect.c, server/spell_util.c, server/swap.c, server/time.c |
| 16493 |
modified to use modified insert_ob_in_map function, |
| 16494 |
use new macros to access map structure related data. |
| 16495 |
change calls to update_all_los, remove lighting related code. |
| 16496 |
server/apply.c: modified to use new insert_ob_in_map function. Update |
| 16497 |
calls to update_object. remove RANDOM_ENCOUNTER code. |
| 16498 |
for exits, modified to use the head for valid coordinates since the |
| 16499 |
other parts may not have valid values since they are not saved out to |
| 16500 |
disk anymore. |
| 16501 |
server/c_misc.c,server/hiscore.c: modified to use new map |
| 16502 |
structure/information. |
| 16503 |
server/commands.c: remove dumplights command. |
| 16504 |
server/encounter.c: removed - code no longer used |
| 16505 |
server/init.c: remove RANDOM_ENCOUNTERS code. |
| 16506 |
server/script.c: change Script_getMapObject to return NULL since there |
| 16507 |
is no longer a map object. Modify to use new insert_ob_in_map and |
| 16508 |
update_object functions. |
| 16509 |
socket/info.c: Modified to use new map structure/macros |
| 16510 |
socket/request.c: Modify draw_map_routines to use get_map_from_coord so |
| 16511 |
that it properly deals with tiled maps. Modified to deal |
| 16512 |
with potentially NULL face values. Modified update routine to |
| 16513 |
call update_position for spaces within player view which need an |
| 16514 |
update |
| 16515 |
MSW 2001-07-13 |
| 16516 |
+++ |
| 16517 |
|
| 16518 |
|
| 16519 |
common/object.c, common/player.c, include/object.h, server/skill_util.c: |
| 16520 |
Remove the unused LINKED_SKILL code. |
| 16521 |
common/Makefile.in: Use cproto to make prototypes - cextract fails for |
| 16522 |
some reason and now seems unsupported. Cproto generates a bunch |
| 16523 |
of warnings, but does do the job. |
| 16524 |
common/arch.c,server/apply.c, server/main.c, server/monster.c: cleanup some |
| 16525 |
compile warnings (unusued variables, returns without value |
| 16526 |
doc/playbook/Makefile.in: Create proper dependencies for files. |
| 16527 |
doc/playbook/treas2-extract: Add player_force to value to ignore. |
| 16528 |
doc/spoiler-html/spoiler.html: rebuilt |
| 16529 |
server/skill_util.c: Remove the unused LINKED_SKILL code. Prevent |
| 16530 |
characters that have meditation skill from learning melee weapon skill. |
| 16531 |
MSW 2001-06-28 |
| 16532 |
|
| 16533 |
doc/Protocol: Add 'darkness' setup option documentation. |
| 16534 |
include/newserver.h: add darkness element to socket structure. |
| 16535 |
include/script.h,server/script.c: remove static declaration from script.h, |
| 16536 |
move it to script.c |
| 16537 |
socket/init.c: init darkness element in socket structure. |
| 16538 |
socket/request.c: Add support in setup command for client to set if it |
| 16539 |
wants darkness information or not. Modify map update functions such |
| 16540 |
that if the client does want darkness information, server does not |
| 16541 |
send it. Improve darkness handling so that if using the map1 |
| 16542 |
protocol command, send darkness for first blocked space due to |
| 16543 |
darkness - this makes it possible for client to interpolate results |
| 16544 |
better. |
| 16545 |
MSW 2001-06-16 |
| 16546 |
|
| 16547 |
common/item.c: Add boots and gloves to items which are not magical just |
| 16548 |
because they have resist physical. This bug resulted in most all boots |
| 16549 |
and gloves being shown as magical, even though they had no special |
| 16550 |
properties. |
| 16551 |
socket/request.c: remove some dead code. Memset entire map cell |
| 16552 |
to zero when scrolling and the map is cells is one that was not in |
| 16553 |
view. This fixes redraw problems when using large viewable maps. |
| 16554 |
MSW 2001-06-11 |
| 16555 |
|
| 16556 |
doc/Protocol: update information for the mapcmd, add map1cmd to |
| 16557 |
section of setup commands. |
| 16558 |
include/newserver.h,socket/init.c: add map1cmd element to socket structure that |
| 16559 |
determines which protocol (map,map1) will be used for sending the |
| 16560 |
map. |
| 16561 |
socket/request.c:add 'map1cmd' to list of setup options. when sending |
| 16562 |
the map, use the map1cmd element to determine what protocol command |
| 16563 |
to use to send it. |
| 16564 |
MSW 2001-06-07 |
| 16565 |
|
| 16566 |
server/shop.c: Fix bug that resulted in items in shop being paid, |
| 16567 |
as well as not generating proper listing. MSW 2001-06-06. |
| 16568 |
|
| 16569 |
Checkin of code that supports larger map sizes (configurable in |
| 16570 |
config.h). |
| 16571 |
common/los.c: update los code since it only handled 11x11 maps. Now |
| 16572 |
uses formulatic approach so any map size should be supported. This |
| 16573 |
does result in a few more spaces getting blocked around corners, |
| 16574 |
but it doesn't seem that bad - certainly not compared to the ability |
| 16575 |
to have larger viewable maps. |
| 16576 |
common/map.c, crossedit/CrEdit.c, crossedit/Edit.c, include/global.h, |
| 16577 |
include/map.h,random_maps/monster.c,random_maps/special.c, |
| 16578 |
random_maps/standalone.c, server/apply.c,server/c_misc.c, |
| 16579 |
server/spell_effect.c,socket/info.c: |
| 16580 |
change mapx,mapy to what they really point to, |
| 16581 |
as it prevented using those as variable/structure element names. |
| 16582 |
common/object.c: update_position - if faces for different layers are |
| 16583 |
duplicate, set the duplicates to be blank to increase client |
| 16584 |
update efficiency. |
| 16585 |
doc/Protocol: Add map1 command description, update setup command to |
| 16586 |
describe setting of mapsize. |
| 16587 |
include/config.h: add MAP_CLIENT_X/Y to set maximum map size we can |
| 16588 |
send to the client. |
| 16589 |
include/newserver.h: add mapx, mapy values to socket structure |
| 16590 |
include/player.h: Use MAP_CLIENT_X/Y for sizing arrays that hold |
| 16591 |
map related information in player structure. |
| 16592 |
server/player.c: As per player.h above, use appropriate sizing when |
| 16593 |
initializing player stucture. |
| 16594 |
server/shop.c: Update mapx,mapy like above, but re-do shop listings code as |
| 16595 |
it was doing a lot more work than necessarily (I think some changes |
| 16596 |
got put in for sorting, and the old object manipulation was never |
| 16597 |
removed when that got done) |
| 16598 |
socket/init.c: set default client map size to 11x11 in the socket. |
| 16599 |
socket/item.c: LookAt - change checks for position checking (such that |
| 16600 |
you can only look at things in bounds) use max viewable map size. |
| 16601 |
socket/request.c: Make setup commands a little more forgiving if there are |
| 16602 |
extra spaces. Add 'mapsize' command to setup command. Update |
| 16603 |
old map sending code to use socket map sizes (to support even |
| 16604 |
smaller than normal maps, or 13x13 or 15x15 maps). add draw_client_map1 |
| 16605 |
command which implements the map1 protocol command. |
| 16606 |
MSW 2001-06-03 |
| 16607 |
|
| 16608 |
random_maps/treasure.c, wall.c: fix a problem where hidden doors |
| 16609 |
surrounding a treasure could destroy exits. --PeterM 5/31/2001 |
| 16610 |
|
| 16611 |
Make ALLOW_SKILLS standard part of game (remove #ifdef's for it) |
| 16612 |
Files affected: common/living.c common/object.c common/treasure.c |
| 16613 |
include/config.h include/player.h server/apply.c server/attack.c |
| 16614 |
server/c_move.c server/c_range.c server/c_wiz.c server/commands.c |
| 16615 |
server/init.c server/login.c server/monster.c server/player.c |
| 16616 |
server/rune.c server/skill_util.c server/spell_util.c |
| 16617 |
Make MULTIPLE_GODS standards part of game (remove #ifdefs for it) |
| 16618 |
Files affected: common/readable.c include/spellist.h include/config.h |
| 16619 |
server/attack.c server/gods.c server/skills.c server/spell_effect.c |
| 16620 |
server/spell_util.c |
| 16621 |
doc/Makefile.in, doc/Protocol: Add protocol description file here instead |
| 16622 |
of in the client distribution. |
| 16623 |
include/global.h: Move declaration of MAX_EXP_CAT near top of file |
| 16624 |
so it is set before player.h is included. |
| 16625 |
include/newclient.h: Add CS_STAT_SKILL* values for sending skill |
| 16626 |
experience information to client. |
| 16627 |
include/newserver.h: Add skillexp value to socket struct which determines |
| 16628 |
if client wants skill experience informatiion. |
| 16629 |
include/player.h: Add skill information tracking to player structure |
| 16630 |
so we can easily know when to send updates to client. |
| 16631 |
random_maps/expand2x.c: remove unused variable to prevent compiler warnings. |
| 16632 |
random_maps/square_spiral.c: Include prototype information on all systems, |
| 16633 |
not just win32 to prevent compiler warnings. |
| 16634 |
server/skill_util.c: Initialize skill pointers to make it easier to |
| 16635 |
find skill information when we want to update client. |
| 16636 |
socket/init.c: Init socket->skillexp to 0. |
| 16637 |
socket/loop.c: Fix indentation of table - whitespace change only |
| 16638 |
socket/metaserver.c: Minor fix to prevent compile warnings (on the sprintf |
| 16639 |
that composes the data to send to the metaserver) |
| 16640 |
socket/request.c: Redo SetUp function to be more compact and IMO simpler as |
| 16641 |
wll as easier to read (functionality remains the same). |
| 16642 |
VersionCmd modified to warn users of on dxclients (code on MT) |
| 16643 |
StatsCmd added to send skill information if client wants it. |
| 16644 |
The sending of skill experience is by MT, rest of the changes by me. |
| 16645 |
MSW 2001-05-28 |
| 16646 |
|
| 16647 |
common/readable.c: When making recipe books, give the recipe that they |
| 16648 |
are for in the title. Makes it more worthwhile to buy them. |
| 16649 |
lib/treasures.c: Increase the chance of readables in chests some (in fact, |
| 16650 |
add a chance.) |
| 16651 |
MSW 2001-05-25 |
| 16652 |
|
| 16653 |
lib/artifacts: Reduce potency of Poison artifact foods. |
| 16654 |
server/apply.c: When eating poison artifact foods, hit player with poison |
| 16655 |
attacktype instead of just subtracting hp. This way people with |
| 16656 |
poison resistance get proper benefit. MSW 2001-05-24 |
| 16657 |
|
| 16658 |
doc/metaserver, doc/Makefile.in: Add metaserver file which describes |
| 16659 |
working of metaserver and format of data fields. |
| 16660 |
socket/metaserver.c: Add reporting of inbytes, output bytes, and uptime in |
| 16661 |
seconds to notification of metaserver |
| 16662 |
MSW 2001-05-24 |
| 16663 |
|
| 16664 |
server/player.c |
| 16665 |
common/living.c |
| 16666 |
include/libproto.h: New experience loss on death policy implemented. |
| 16667 |
(As per consensus.) 3 levels or 20%, whichever is less. |
| 16668 |
--PeterM 5/24/2001 |
| 16669 |
|
| 16670 |
server/spell_util.c: Fix typo in polymorph code (when enabled in config.h) |
| 16671 |
MSW 2001-05-24 |
| 16672 |
|
| 16673 |
server/disease.c: replace disease->owner check with get_owner. |
| 16674 |
MSW 2001-05-24 |
| 16675 |
|
| 16676 |
server/pets.c: pet_move - fix formatting to be 4 space indentation. |
| 16677 |
if we remove the monster, free it here instead of having move_monster |
| 16678 |
do it. Add check for was_destroyed after first call to move_ob - |
| 16679 |
crashes have been observed in that function, and I believe that is the |
| 16680 |
cause. |
| 16681 |
server/monster.c: move_monster: let pet_move free the pet if necessary. |
| 16682 |
server/spell_effect.c: Clear sleeping flag of monsters when casting |
| 16683 |
summon pet monster (or other creatures). Some archs have this |
| 16684 |
value on by default, so the monsters don't follow the player until |
| 16685 |
an enemy is found. |
| 16686 |
MSW 2001-05-22 |
| 16687 |
|
| 16688 |
socket/item.c: Don't raise player to top of stack when they look at |
| 16689 |
something. I think this may be causing server crashes in some |
| 16690 |
circumstances - plus its not really needed anyways. |
| 16691 |
socket/loop.c: block_until_new_connections: Add call to flush_old_maps |
| 16692 |
so maps are reset while waiting for a new player. |
| 16693 |
MSW 2001-05-22 |
| 16694 |
|
| 16695 |
configure.in, configure: Fix png and Xpm library detection. Suggested |
| 16696 |
patch by Yann Chackhoff, applied by MSW 2001-05-20 |
| 16697 |
|
| 16698 |
|
| 16699 |
------------------------------------------------------------------------------ |
| 16700 |
Changes for 1.0.0: |
| 16701 |
|
| 16702 |
common/living.c: Fix AC wrapping problem - now limit ac to +/- 120. |
| 16703 |
MSW 2001-05-12 |
| 16704 |
|
| 16705 |
include/config.h: Add NO_POLYMORPH feature selection |
| 16706 |
include/spellist.h: If NO_POLYMORPH is set, make it so that polymorph will |
| 16707 |
not show up in wands/rods |
| 16708 |
server/spell_util.c: Handling for NO_POLYMORPH selection |
| 16709 |
MSW 2001-05-11 |
| 16710 |
|
| 16711 |
server/rune.c: Make sure rune message is newline terminated. Fix map |
| 16712 |
corruption problem. MSW 2001-05-10 |
| 16713 |
|
| 16714 |
Various improvements to make finding memory leaks easier. |
| 16715 |
common/anim.c: Add free_all_anim function |
| 16716 |
common/arch.c: Modify free_all_arch to free more data |
| 16717 |
common/init.c: If running under MEMORY_DEBUG, don't pre-allocate objects. |
| 16718 |
common/map.c: Add free_all_maps functiion. |
| 16719 |
common/object.c: Modify object allocations if using MEMORY_DEBUG to only |
| 16720 |
malloc one object at a time, and not pre-allocate objects. |
| 16721 |
common/readable.c: Fix memory leak. |
| 16722 |
common/shstr.c: Include autoconf.h so it can pull in dmalloc.h file. |
| 16723 |
include/config.h: Remove notes of what was removed a long time ago. |
| 16724 |
Add MEMORY_DEBUG option. |
| 16725 |
include/libproto.h, include/sockproto.h, include/sproto.h: automatic rebuild |
| 16726 |
server/c_misc.c: Fix 'malloc info command so it reports right memory total |
| 16727 |
for maps. Add command_style_map_info which sums up memory used by |
| 16728 |
style maps. |
| 16729 |
server/commands.c: Add style_info wiz command which dumps memory usage |
| 16730 |
for style maps. |
| 16731 |
server/init.c: Have sighup handler call cleanup function. |
| 16732 |
server/main.c: Fix clean_tmp_files which could result in crash if one |
| 16733 |
of the maps in memory has 0 reset time. Modify cleanup function |
| 16734 |
to free more data. |
| 16735 |
server/player.c: op_on_battleground: Fix compile warning about unuused variable. |
| 16736 |
socket/init.c: Change name of free_all_ericserver to free_all_newserver, |
| 16737 |
have it free all face data. |
| 16738 |
MSW 2001-05-08 |
| 16739 |
|
| 16740 |
socket/item.c: Modify look_at to not stop when it finds the first invisible |
| 16741 |
object. |
| 16742 |
server/monster.c: Modify monster_check_pickup to check to see if the |
| 16743 |
next object got destroyed. I'm not sure the exact way this happens, |
| 16744 |
but I've seen one crash where this did happen - I'm guess some |
| 16745 |
function further down in the monster_check_apply look may call |
| 16746 |
this or destroy the item. |
| 16747 |
MSW 2001-05-01 |
| 16748 |
|
| 16749 |
common/object.c: Add clear_owner function. |
| 16750 |
include/libproto.h: rebuild. |
| 16751 |
server/player.c: Modify op_on_battleground to look for battleground |
| 16752 |
anyplace on space. Temp for for wall of thorns on space - as long |
| 16753 |
as maps don't try to abuse the use of battlegrounds, should be OK. |
| 16754 |
server/time.c: Add clear_owner call to stop_arrow. Fixes problem of |
| 16755 |
thrown objects not getting saved. |
| 16756 |
MSW 2001-04-28 |
| 16757 |
|
| 16758 |
common/object.c: Have update_object map the look window for redraw if |
| 16759 |
the object is not something the client normally animates (like a lever). |
| 16760 |
MSW 2001-04-27 |
| 16761 |
|
| 16762 |
server/apply.c: Modify apply_id_altar check for player - had a && instead of |
| 16763 |
a ||. |
| 16764 |
socket/item.c: Modify ApplyCmd so a removed player can not apply objects. |
| 16765 |
Fix crashes caused by players applying savebeds after they have |
| 16766 |
used the bed. MSW 2001-04-26 |
| 16767 |
|
| 16768 |
server/spell_util.c: have put_a_monster generate random monster |
| 16769 |
abilities. |
| 16770 |
TODO, doc/mapguide: Various minor updates. |
| 16771 |
MSW 2001-04-25 |
| 16772 |
|
| 16773 |
server/c_object.c: Pass right object to query_cost_string so that |
| 16774 |
if you pick up an unpaid object into a container, it generates |
| 16775 |
the correct price. MSW 2001-04-22 |
| 16776 |
server/c_wiz.c: fix shutdown and reset_map wizard commands/function |
| 16777 |
so they no longer crash the server. MSW 2001-04-22 |
| 16778 |
|
| 16779 |
server/monster.c: add check to was_destroyed when monster fires an |
| 16780 |
arrow. Call was certainly missing, and appears to be responsible for |
| 16781 |
crash. MSW 2001-04-20 |
| 16782 |
|
| 16783 |
server/player.c: Clear op->chosen_skill when we get to the play_again |
| 16784 |
prompt. Otherwise, the server may try to use this later on, and it |
| 16785 |
no longer points to a valid object, so it results in a crash. |
| 16786 |
MSW 2001-04-19 |
| 16787 |
|
| 16788 |
server/skill_util.c: Add missing call to out_of_map in skill_attack which |
| 16789 |
could result in crashes if player is at edge of maps and decides to attack |
| 16790 |
in direction off map. MSW 2001-04-18 |
| 16791 |
|
| 16792 |
server/attack.c: Remove error message about golem without owners, |
| 16793 |
also add better checking before clering the op->contr->golem field. |
| 16794 |
common/map.c: set status flag on maps to MAP_SAVING so remove_ob does |
| 16795 |
not do extra work when we are deleting a map (ie, immediate reset) |
| 16796 |
from emory. |
| 16797 |
server/skills.c: If someone is stolen from a player, send an esrv_delete_item |
| 16798 |
to the client so the clients inventory remains correct. |
| 16799 |
MSW 2001-04-16 |
| 16800 |
|
| 16801 |
common/re-cmp.c: Modify re_cmp functiion so that it properly matches |
| 16802 |
strings not at the start 'ie, dude chain will now match against |
| 16803 |
the chain value'. |
| 16804 |
server/monster.c: Properly alter direction monster moves if they are |
| 16805 |
feared or confused. It was properly altering direction when monsters |
| 16806 |
were using range attacks, but not if they were just wanting to move. |
| 16807 |
MSW 2001-04-12 |
| 16808 |
|
| 16809 |
common/living.c: Don't use the last_heal object in experience objects as |
| 16810 |
sp regen penalty. This should fix the problem of inconsistent sp regen |
| 16811 |
rates - last_heal is used in experience objects if the permanent experience |
| 16812 |
option is turned on. MSW 2001-04-11 |
| 16813 |
|
| 16814 |
PeterM: |
| 16815 |
server/spell_util.c: fix peace so it gives experience |
| 16816 |
common/button.c: change the "error" to a "debug" message |
| 16817 |
to reduce server crashing. |
| 16818 |
|
| 16819 |
------------------------------------------------------------------------------ |
| 16820 |
|
| 16821 |
Changes for 0.98.0: |
| 16822 |
|
| 16823 |
server/skills.c: Modify inscription so that when inscribing cleric spells, |
| 16824 |
it reduces grace. Before, reduced mana no matter the type of spell. |
| 16825 |
server/c_object.c: Fix bug in pick_up where it was not using the right |
| 16826 |
count for picking up objects if the player did not specify one. This |
| 16827 |
allowed players to put objects into containers that should not really |
| 16828 |
fit. |
| 16829 |
server/player.c: Don't let players shoot arrows at themself. Also, |
| 16830 |
minor changes to use new_draw_info_format. |
| 16831 |
server/swap.c: If recycle temp maps, don't save out random maps to |
| 16832 |
get recycled. MSW 2001/04/07 |
| 16833 |
|
| 16834 |
PeterM 2001/04/06: |
| 16835 |
include/libproto.h common/object.c server/apply.c server/spell_util.c |
| 16836 |
Added a new function: instead of stacking many burnout or firetrail |
| 16837 |
objects, only 1 per square is added. Real reduction in server overhead. |
| 16838 |
No reduction in cosmetic effect. |
| 16839 |
|
| 16840 |
common/porting.c: Fix compile warnings/bugs introduced by Win32 changes. |
| 16841 |
server/time.c: Modify move_player_mover so that it determines direction |
| 16842 |
of the mover and then process accordingly, as well as formatting |
| 16843 |
changes. |
| 16844 |
server/c_object.c: modify examine so that it properly shows info about |
| 16845 |
magic bullet spell books. MSW 2001-04-05 |
| 16846 |
|
| 16847 |
common/item.c: Modify identify function to clear the NO_SKILL_IDENT |
| 16848 |
flag so objects will now merge. Also, once the object has been |
| 16849 |
identified, the no_skill_ident doesn't have meaning anymore. |
| 16850 |
MSW 2001-04-03 |
| 16851 |
|
| 16852 |
server/c_object: Modify examine command to only be able to examine |
| 16853 |
valid objects, and not whatever is on top of the space, which may be |
| 16854 |
insivisible. MSW 2001-04-01 |
| 16855 |
|
| 16856 |
include/sproto.h, server/c_wiz.c server/main.c server/player.c socket/loop.c: |
| 16857 |
Modify leave function to take a second parameter that determines if it |
| 16858 |
should print a message about the player leaving the game or not. Proper |
| 16859 |
use of this prevents duplicate XXX left the game messages. MSW 2001-03-29 |
| 16860 |
|
| 16861 |
common/image.c, include/define.h, include/global.h: Add empty_face structure |
| 16862 |
and appropriate code to initialize it. This is used for the server side |
| 16863 |
look selection. |
| 16864 |
include/newserver.h: Add NUM_LOOK_OBJECTS to control number of look objects |
| 16865 |
to send at any one time. add look_position field to the newsocket |
| 16866 |
structure. |
| 16867 |
server/move.c: clear look position as player moves. |
| 16868 |
server/player.c: initalize look_position element in structure. |
| 16869 |
socket/item.c: modify esrv_draw_look to sne NUM_LOOK_OBJECTS at any one |
| 16870 |
time, and to also send pseudo objects that lets the player scroll up and down. |
| 16871 |
modify ApplyCmd so that if it detects the application of one pseudo objects |
| 16872 |
to adjust the look_position. |
| 16873 |
MSW 2001-03-29 |
| 16874 |
|
| 16875 |
common/readable.c: Name spellbooks based on level of spell, and not |
| 16876 |
just randomly. Patch by Preston Crow, applied by Mark Wedel 2001-03-29 |
| 16877 |
|
| 16878 |
configure, configure.in, include/autoconf.h, includes.h: add check for |
| 16879 |
time.h and include it if we find it. |
| 16880 |
socket/item.c: esrv_move_object - have it check to see if the object is |
| 16881 |
already on the ground before we try to re-drop it. Likewise, check |
| 16882 |
to see if it is already in players inventory before we try to pick |
| 16883 |
it up. |
| 16884 |
common/object.c: Don't send face updates to the client or make |
| 16885 |
the space as needing to be redrawn. Client now deals with animation |
| 16886 |
of the look window on its own. |
| 16887 |
utils/(metaserver.pl crossloop add_throw.perl crossloop.pl) |
| 16888 |
lib/(Makefie.in, checkarch.pl collect.pl xpmtopix.pl) - - deleted |
| 16889 |
from CVS - '.in' versions of these files now exist and the real |
| 16890 |
versions are created as part of the configure process. Update |
| 16891 |
Makefile.in to reflect this change. |
| 16892 |
MSW 2001/03/28 |
| 16893 |
|
| 16894 |
common/object.c: have update_position just update the flag that the |
| 16895 |
server needs to send the look window to the client and don't send the |
| 16896 |
item at this point, as sending the look will do that. |
| 16897 |
server/main.c: process_players1: Remove call to draw (which updates |
| 16898 |
the client map) - the handle newclient in socket/loop.c already |
| 16899 |
does this and there is no reason to send multiple instances of the |
| 16900 |
same map. |
| 16901 |
MSW 2001/03/23 |
| 16902 |
|
| 16903 |
server/c_object.c: drop_object function: send delete item to client as |
| 16904 |
item is dropped. This fixes a problem of phantom objects in the |
| 16905 |
inventory. Unrelated change to not call esrv_send_item for objects |
| 16906 |
that are dropped - esrv_draw_look will get called later on and will |
| 16907 |
update this at that time. MSW 2001/03/23 |
| 16908 |
|
| 16909 |
server/c_object.c: Update the return value for some matches - they |
| 16910 |
function was returning immediately when it got a match, but did not give |
| 16911 |
them a high match value, so searching for 'key ring' used to return a |
| 16912 |
match value of 6 or so on the key ring, but a 14 on a key. |
| 16913 |
|
| 16914 |
common/object.c: Modify find_free_spot to call arch_out_of_map so that |
| 16915 |
it properly deals with multipart objects. |
| 16916 |
server/main.c: Fix enter_map so that we first use the golem (and not player) |
| 16917 |
when calling find_free_spot. Also, modify code so that it properly |
| 16918 |
updates coordinates of the multipart golem. |
| 16919 |
MSW 2001/03/20 |
| 16920 |
|
| 16921 |
server/skills.c: Fix orate so that we check for a positive chance (and just |
| 16922 |
not nonzero chance) for successful oration. Due to adjustments, at low levels, |
| 16923 |
the oratory chance can be negative. MSW 2001/03/20 |
| 16924 |
|
| 16925 |
server/spell_effect.c: Change cast_change_attr to find an enemy (and not |
| 16926 |
friend) when casting the curse spell. MSW 2001/03/20 |
| 16927 |
|
| 16928 |
server/apply.c: Increase size of buf to be a HUGE_BUF to very |
| 16929 |
long item names don't cause a stack overflow. MSW 2001/03/20 |
| 16930 |
|
| 16931 |
common/object.c: Modify update_position so that we don't show invisible |
| 16932 |
players to other players. MSW 2001/03/20 |
| 16933 |
|
| 16934 |
------------------------------------------------------------------------------ |
| 16935 |
Changes for 0.97.0: |
| 16936 |
|
| 16937 |
MSW 2001/03/18: |
| 16938 |
common/init.c: add RESET_LOCATION_TIME initializer to settings structure. |
| 16939 |
include/config.h: Add RESET_LOCATION_TIME value. If nonzero and the save was longer than |
| 16940 |
the specified time in seconds, player will be returned home upon login from |
| 16941 |
save. |
| 16942 |
include/global.h: Add reset_loc_time field to settings structure. |
| 16943 |
server/login.c: Remove some unused variables, add support to return player |
| 16944 |
home as described above. |
| 16945 |
server/spell_effect.c: Fix for crashes when casting control undead and your |
| 16946 |
god does not have an enemy. Now properly check to make sure we are not |
| 16947 |
dereferencing null pointers. |
| 16948 |
|
| 16949 |
|
| 16950 |
MSW 2001/03/16: |
| 16951 |
Change code so that if player dies and loading the players savebed map does |
| 16952 |
not work, return player to EMERGENCY_MAPPATH instead. New function added |
| 16953 |
to server/main.c called enter_player_savebed which does the work, |
| 16954 |
Files changed: include/sproto.h server/main.c server/player.c |
| 16955 |
server/spell_effect.c (comment added) |
| 16956 |
Unrelated change: Remove messages about multiple resist types set. |
| 16957 |
Files changed: common/loader.l common/loader.c |
| 16958 |
|
| 16959 |
MSW 2001/03/15: |
| 16960 |
server/spell_effect.c: Add physical attacktype when casting holy possession. |
| 16961 |
Otherwise, characters who use karate end up not being able to damaage |
| 16962 |
anything. |
| 16963 |
|
| 16964 |
MSW 2001/03/09: |
| 16965 |
crossedit/App.c: Move the loading of images to later in the editor |
| 16966 |
startup state. In this way, the client can allocate the colors it |
| 16967 |
needs for its windows before the the png images use up all the colors. |
| 16968 |
crossedit/png.c: New png loader implementation. New version is much |
| 16969 |
faster (50 times faster). As part of this, only 8 bit displays, |
| 16970 |
a private colormap will be allocated, and after that gets filled |
| 16971 |
up, a color mapping routine will be used - this makes the png |
| 16972 |
images loadable on an 8 bit system in addition to the speedup. |
| 16973 |
crossedit/xutil.c: Adding timing information for loading of images. |
| 16974 |
call init_pngx_loader before starting to load png images. Pass |
| 16975 |
colormap to png_to_xpixmap by pointer and not value so that |
| 16976 |
the loader can change the colormap. |
| 16977 |
|
| 16978 |
AV 2001/03/09: |
| 16979 |
common/button.c: Added new attribute to altar triggers: "last_sp 1". |
| 16980 |
If set, the altar trigger will push the connected value only |
| 16981 |
by dropping the sacrifice, NOT by altar reset. If unset ("last_sp 0") |
| 16982 |
it will work like it used to (push by sacrifice and by reset). |
| 16983 |
|
| 16984 |
MSW 2001/03/06: |
| 16985 |
server/spell_effect.c: Fix message when consecration fails - use the ob->name |
| 16986 |
field and not the ob->title field. Also fix broken logic that checked |
| 16987 |
for the floor. |
| 16988 |
server/init.c: Related to 3-4 change which changed the default name of |
| 16989 |
the logfile to "" so we know to use stderr. This doesn't work for |
| 16990 |
daemon mode, so if the name is "", we use the default logfile instead. |
| 16991 |
|
| 16992 |
MSW 2001/03/04: |
| 16993 |
TODO: add re-connecting player to new client if client logs in with |
| 16994 |
right name/password. |
| 16995 |
common/init.c: Open up the logfile with the provide filename when given |
| 16996 |
the -log option. |
| 16997 |
server/init.c: Make set_logfile a first pass option so the init_library |
| 16998 |
has the right logfile name to work with. |
| 16999 |
server/main.c: Fix crash if map has an exit path yet that file does not |
| 17000 |
exist. Give proper error message. |
| 17001 |
|
| 17002 |
|
| 17003 |
MSW 2001/03/01: |
| 17004 |
server/main.c: Modified random_map code so the server will not |
| 17005 |
crash if the exit object has no message (and thus variables to set |
| 17006 |
for the random map). |
| 17007 |
Modified so that golems move away from player when player |
| 17008 |
changes map. Values were reversed before, causing the golem to move |
| 17009 |
towards the player. |
| 17010 |
|
| 17011 |
MSW 2001/02/25: General player login cleanup. This should fix the crash |
| 17012 |
when players re-roll stats too often. So far, it also seems to |
| 17013 |
have the additional effect that calculated players on map now appears |
| 17014 |
to be correct. |
| 17015 |
common/player.c: No longer allocate the player object structure in |
| 17016 |
get_player_ob (function is really misnamed). Callers to this function |
| 17017 |
were not using the allocated function. |
| 17018 |
server/login.c: Add leave_map call when player is loaded. |
| 17019 |
server/main.c: Add leave_map function. |
| 17020 |
server/player.c: Move get_player function to start of file - can declare |
| 17021 |
it static that way. Move some initialize from add_player to get_player. |
| 17022 |
Add set_first_map function. Add appropriate calls to leave_map |
| 17023 |
and set_first_map when players join and leaves the game. |
| 17024 |
|
| 17025 |
MSW 2001/02/22: |
| 17026 |
TODO: Add some items, remove some others, remove outline of future versions, |
| 17027 |
since it was out of date. |
| 17028 |
common/loader.l,loader.c: Declare msgbuf a static outside the lex_load function. |
| 17029 |
lex_load was otherwise clearing it each time it was called, which resulted |
| 17030 |
in empty messages for the random artifacts (since the call lex_load one |
| 17031 |
line at a time). Instead, we just zero this at start of load_object. |
| 17032 |
Original reason of this change was due to purify errors - as I look at the |
| 17033 |
code, it appears even before these changes that it was clearing the buffer |
| 17034 |
properly. |
| 17035 |
common/map.c: removing pending field from map objects. |
| 17036 |
common/re-cmp.c: Comment out some code which was resulting in too many |
| 17037 |
false compares. |
| 17038 |
include/config.h: increase default for MAX_OBJECTS. 6000 is a bit small |
| 17039 |
on current systems. |
| 17040 |
include/map.h: Remove pending field from map structure. |
| 17041 |
random_maps/treasure.c: Increase size of doorlist. Fixes crash, in that |
| 17042 |
if a random map could place 8 doors around the treasure, the list |
| 17043 |
was not terminated, so the problem would eventually try to read/dereference |
| 17044 |
random memory after the array. |
| 17045 |
server/c_misc.c: Remove pending field from maps, so remove functions |
| 17046 |
and other places that referred to it (like the maps command) |
| 17047 |
server/c_wiz.c: fix up wiz map reset command. Not really tested, but |
| 17048 |
old code had some definate problems just from visual inspection. |
| 17049 |
server/main.c: Further fix for unique exits - relative paths to unique maps |
| 17050 |
from non unique maps should now work. |
| 17051 |
server/monster.c: Various fixes - one is that should get more reliable distance |
| 17052 |
values for multipart monsters. Second, modify dist_att to calculate from |
| 17053 |
closest part of monster, and not the head of the monster. |
| 17054 |
server/pets.c: Remove code dealing with pending objects. |
| 17055 |
server/player.c: Don't remove invisible objects in players inventory when |
| 17056 |
playing with permadeath mode. |
| 17057 |
server/spell_util.c: If you try to cast denied spell, it no longer costs any |
| 17058 |
spellpoints. |
| 17059 |
socket/item.c: Fix bug where it was using 'item' protocol command instead of |
| 17060 |
'item1' |
| 17061 |
End of MSW 2001/02/22 checkin. |
| 17062 |
|
| 17063 |
------------------------------------------------------------------------------ |
| 17064 |
Changes for 0.96.0: |
| 17065 |
|
| 17066 |
MSW 2001/01/11: |
| 17067 |
include/rproto.h: Rebuilt for new random map code. |
| 17068 |
server/player.c: remove player insert in key_roll_stat - player is already |
| 17069 |
inserted. |
| 17070 |
server/swap.c: When swapping out map, see if it has already reached reset time, |
| 17071 |
and if so, just delete it and not save it. In flush_old_maps, now have |
| 17072 |
it check for maps that have no timeout set - this sometimes happens when |
| 17073 |
players save/die on maps. |
| 17074 |
|
| 17075 |
|
| 17076 |
MSW 2001/01/11: |
| 17077 |
Other than various general cleanups, the main change this code does is |
| 17078 |
that style maps (for random maps) get loaded special now - they objects |
| 17079 |
they contain are not put on the active list, and they use a private map |
| 17080 |
list so they do not appear in the output of the 'maps command. |
| 17081 |
common/arch.c, common/treasure.c,server/login.c: Update calls to load_object |
| 17082 |
common/loaderl.l,loader.c: Update lex_load to take an optional flags option. |
| 17083 |
This is currently only used so that the loader can decide if it should |
| 17084 |
call update_ob_speedto put objects on the active list or not. |
| 17085 |
Calls to lex_load updated. load_object modified to take another option |
| 17086 |
common.map.c: remove PROCESS_WHILE_LOADING and CHECK_ACTIVE_MAPS ifdefs. |
| 17087 |
update calls to load_object. Remove some dead code. |
| 17088 |
include/config.h: Remove CHECK_ACTIVE_MAPS and PROCESS_WHILE_LOADING flags. |
| 17089 |
Those options did not work, and in all likelihood, this would be done |
| 17090 |
via threading now days and not what code was there. |
| 17091 |
include/libproto.h, sproto.h: updated or various function changes. |
| 17092 |
include/map.h: Add MAP_STYLE flag. |
| 17093 |
random_maps/exit.c: Call set_map_timeout after we load the final map |
| 17094 |
so it will get swapped out. |
| 17095 |
random_maps/standalone.c: Add dummy set_map_timeout function so it compiles. |
| 17096 |
random_maps/style.c: Add load_style_map function which does the job of |
| 17097 |
actually checking to see if a style map is in memory, and if not, |
| 17098 |
loads it up. Updates the pointers so it appears on a map style map list |
| 17099 |
and not the general map list. |
| 17100 |
server/main.c: create set_map_timeout function that deals with setting the |
| 17101 |
map timeouts. Fix bug so server doesn't crash if two players kill each |
| 17102 |
other on hall of selection. |
| 17103 |
server/monster.c remove dead code. |
| 17104 |
socket/loop.c: If realloc fails, catch it and exit with meaningful |
| 17105 |
error message. |
| 17106 |
End of MSW 2001/02/11 checkin. |
| 17107 |
|
| 17108 |
MSW 2001/02/08: |
| 17109 |
server/login.c:Fix that would prevent maps from getting swapped out properly - |
| 17110 |
we would try to swap out a map the player is in the process of leaving - move |
| 17111 |
swap out code until after we have moved the player to the new map. MSW |
| 17112 |
2001-02-08 |
| 17113 |
|
| 17114 |
|
| 17115 |
MSW 2001/02/06: |
| 17116 |
common/porting.c: relocate clean_path from this file to server/main.c |
| 17117 |
server/main.c: relocate clean_path from porting.c. Add unclean_path. |
| 17118 |
Modify enter_unique_exit so it supports relative maps on unique maps. |
| 17119 |
Modify enter_exit so word of recall (or other forcelike fields), work |
| 17120 |
when the return point is a swapped out unique map. |
| 17121 |
|
| 17122 |
MSW 2001/02/05: |
| 17123 |
server/attack.c: Fix blind and paralyze - logic for reducing duration was |
| 17124 |
broken, resulting in zero duration for most characters. It should now |
| 17125 |
work properly, reducing according to the amount of protection. |
| 17126 |
|
| 17127 |
|
| 17128 |
MSW 2001/02/02: |
| 17129 |
common/item.c: Don't have armour item types get returned as magical if they |
| 17130 |
have an armour value - that is to be expected. This eliminates the false |
| 17131 |
positives that you otherwise get on armor when you cast detect magic. |
| 17132 |
include/newserver/h: and checksum field to FaceInfo struct. Update |
| 17133 |
version_sc to 1026. |
| 17134 |
socket/init.c: calculate image checksums as we load the images. |
| 17135 |
socket/request.c: If client is at least version_Sc 1026, use face1 protocol |
| 17136 |
command that includes the checksum. |
| 17137 |
|
| 17138 |
MSW 2001/01/31: |
| 17139 |
common/object.c: Fix that that spells cast on spaces with no floors get |
| 17140 |
set properly after the spell expires. |
| 17141 |
common/player.c: Use skill tools first (lockpicks, talismans, etc) before |
| 17142 |
using native skills. In this way, an object with bonus automatically |
| 17143 |
gets used. |
| 17144 |
common/living.c: Fix so that negative con bonuses work properly - fixes |
| 17145 |
bug where a higher con could result in lower total hp due to improper |
| 17146 |
calculation. |
| 17147 |
|
| 17148 |
MSW 2001/01/30: |
| 17149 |
Complete rewrite of the exit handling code. Hopefully as an effect, this will |
| 17150 |
fix the player appearing in the middle of the oceans. I think the code |
| 17151 |
should also work better in many other areas. Main enhancements is a 3x3 |
| 17152 |
area for pets to follow player to new map, as well as golems now following |
| 17153 |
players to the new maps. |
| 17154 |
include/sproto.h, random_maps/rproto.h - rebuilt. |
| 17155 |
random_maps/random_map.c: Change generate_random_map to take a structure |
| 17156 |
with the random map paremeters. |
| 17157 |
random_maps/reader.l, reader.c: Add set_random_map_variable function that |
| 17158 |
reads the map parameters from a char buffer. Also, remove some leftover |
| 17159 |
comments that were from the common/loader.l file. |
| 17160 |
random_maps/rogue_layout.c: Change some functions to be static so make proto |
| 17161 |
doesn't collect them. |
| 17162 |
random_maps/standalone.c: Add opening of parms file into main function since |
| 17163 |
it ws removed from the random_map.c file. |
| 17164 |
server/apply.c: Don't display the message of random maps to the players |
| 17165 |
as they enter them, as this message is random map parameters, and not |
| 17166 |
a real message. |
| 17167 |
server/login.c: #if 0 out using of the player loading element in the structure. |
| 17168 |
this isn't used right now. |
| 17169 |
server/main.c: Bulk of the changes. main changes are to break apart the |
| 17170 |
old enter_exit function into smaller functions that more logically do |
| 17171 |
the needed function (random maps, unique maps, and transferring the player |
| 17172 |
to the new map). random map code now passes the parameters via |
| 17173 |
structure instead of file in /tmp. Code is much more understandable now |
| 17174 |
and hopefully bugfree. |
| 17175 |
server/pets.c: minor changes/bugfixes. Search full SIZEOFFREE array, use |
| 17176 |
real owner variable when print out messages. |
| 17177 |
server/player.c: Remove usage of the loading variable in the player structure. |
| 17178 |
End of MSW 2001/01/30 checking. |
| 17179 |
|
| 17180 |
MSW 2001/01/23: |
| 17181 |
Various cleanups/fixes as detected by purify: |
| 17182 |
common/anim.c: animation[0] was given a null pointer as the name, but |
| 17183 |
bsearch/or comparison function will try to de-reference it. |
| 17184 |
Give it a unique name. |
| 17185 |
common/loader.l: msgbuf was being used initialized in the main loading |
| 17186 |
function. loader.c also regenerated. |
| 17187 |
common/object.c: find_free functions were not checking to see if the |
| 17188 |
spaces they were examining were out of the map. Added checks |
| 17189 |
to do so. |
| 17190 |
server/apply.c: buf was being used uninitialized in the function. |
| 17191 |
socket/init.c: input buffer needs to be initialized as we do a |
| 17192 |
strncasecmp against the buffer which may not have any data in it. |
| 17193 |
|
| 17194 |
|
| 17195 |
MSW 2001/01/18: |
| 17196 |
server/skill_util.c: add change_skill_to_skill function to be used when |
| 17197 |
we already know the skill object we want to use. This is more efficient |
| 17198 |
than change_skill which takes a skill number and then searches the |
| 17199 |
inventory for the object. |
| 17200 |
remove extra esrv_send_item from do_skill_attack - don't need to send |
| 17201 |
skills to player. |
| 17202 |
do_skill_attack: remove call to hth_damage - that function does not take |
| 17203 |
into account objects in the player inventory that increase damage, |
| 17204 |
and since that is called each attack, it is not feasible to have it |
| 17205 |
search the players inventory. Instead, we just rely on damage generated |
| 17206 |
by fix_player - only think hth_damage did was adjust damage based on |
| 17207 |
level difference. |
| 17208 |
|
| 17209 |
PeterM 2001/01/16 |
| 17210 |
Added randomly-generated nethack-style maps to crossfire's |
| 17211 |
random map generator. |
| 17212 |
|
| 17213 |
MSW 2001/01/15: |
| 17214 |
Change blindness and paralyze so that duration is reduced based on protection |
| 17215 |
the player has. file server/attack.c |
| 17216 |
|
| 17217 |
MSW 2001/01/15: |
| 17218 |
Various fixes for friendly object code: |
| 17219 |
common/button.c: Add missing call to remove_friendly_object |
| 17220 |
common/friend.c: Pretty much completely re-written. add_friendly_object now |
| 17221 |
checks to make sure the object being added isn't already on the list, |
| 17222 |
remove_friendly_object will remove objects whose tags don't match, |
| 17223 |
and added clean_friendly_list. |
| 17224 |
common/object.c: No reason to use the function pointer to |
| 17225 |
remove_friendly_object since that function is in the lib. |
| 17226 |
common/time.c: Make DEBUG_TIME always on (no longer compile time option). |
| 17227 |
other areas use the global var pticks, so if it was turned off, compile |
| 17228 |
would break anyways. |
| 17229 |
common/treasuer.c: No longer print debug messages on artifacts created. |
| 17230 |
Cluttered log file making it hard to see more important errors. |
| 17231 |
include/config.h: Remove DEBUG_TIME define. |
| 17232 |
include/libproto.h: Rebuilt for clean_friendly_list function. |
| 17233 |
server/main.c: rewrote do_specials to do things based on pticks variable. |
| 17234 |
This allows various specials to be spread out across multiple ticks |
| 17235 |
easier. Also, added clean_friendly_function to part of what this does. |
| 17236 |
server/skills.c: add missing call to remove_friendly_object. Also, removed |
| 17237 |
from #if 0 .. #else .. #endif code. |
| 17238 |
End of MSW 2000/01/15 checkin. |
| 17239 |
|
| 17240 |
PeterM 2001/01/08: Wrathful Eye spell implemented. |
| 17241 |
|
| 17242 |
MSW 2000/12/26: |
| 17243 |
Checkin of Jan's new god intervention code. I haven't played around with |
| 17244 |
it much, but I haven't seen any really obvious problems. |
| 17245 |
common/living.c: remove learn_prayer_chance |
| 17246 |
common/treasure.c: Various changes to treasure generation - mostly to |
| 17247 |
deal with starting equipment and putting it in the inventory. |
| 17248 |
doc/crossfire.doc: Update docs on god intervention. |
| 17249 |
include/define.h: GT_... flags removed. |
| 17250 |
include/treasure.h: GT_... flags added. Addition flags added from |
| 17251 |
what was in define.h before. |
| 17252 |
lib/archetypes, lib/crossfire.png, lib/treasures: Updated with new |
| 17253 |
archetypes and treasures. |
| 17254 |
random_maps/standalone.c,server/rune.c,server/time.c: Calls to |
| 17255 |
create_treasure updated |
| 17256 |
server/apply.c: New functions for god intervention added, update calls |
| 17257 |
to create_treasure, other god related changes. |
| 17258 |
server/c_wiz.c: Calls to create_treasure updated, various functions to |
| 17259 |
allow DM's to learn/unlearn spells added. |
| 17260 |
server/commands.c: Various commands added to the wiz set of commands. |
| 17261 |
See commen for c_wiz.c |
| 17262 |
server/disease.c: Changes to reduce_symptoms |
| 17263 |
server/gods.c: Numerous updates for god intervention code. |
| 17264 |
server/player.c: Modifications for starting player equipment. |
| 17265 |
server/skill_util.c: Display the god the character worships when they |
| 17266 |
issue the skills command. |
| 17267 |
server/skills.c: Minor cosmetic change made to message when praying on altar. |
| 17268 |
server/spell_effect.c: Changes related to gods, cure spells, and |
| 17269 |
generation of treasures & items. |
| 17270 |
End of MSW 2000/12/26 checkin. |
| 17271 |
|
| 17272 |
|
| 17273 |
MSW 2000/12/23: |
| 17274 |
include/define.h: Add SIZEOFFREE1 and SIZEOFFREE2 values to use instead of |
| 17275 |
arbitrary constants in the code. |
| 17276 |
server/monster.c: change communicate function to use above values. Before |
| 17277 |
it was stopping one short of the full 2 space array, so one particular |
| 17278 |
space (-1, -2 relative to player) would not hear players speech. |
| 17279 |
server/attack.c: Don't exit hit_player function if damage is reduced to 0 |
| 17280 |
in magical attacks. This was preventing face of death and probably a lot |
| 17281 |
of effect only spells from working. |
| 17282 |
server/spell_util.c: modify check_cone_push to use move_object to blow |
| 17283 |
the objects. Before, multisquare monsters were getting sliced |
| 17284 |
into their individual components - move_object deals with multisquare objects |
| 17285 |
properly. |
| 17286 |
|
| 17287 |
PeterM 2000/12/18: Re-add the conflict spell (various files) |
| 17288 |
attack.c: fix a bug which could easily have led to seg fault, |
| 17289 |
and did when I was testing under efence. |
| 17290 |
|
| 17291 |
MSW 2000/12/17: Various changes. Note that the scope of files in this checkin |
| 17292 |
make it appear that a lot was changed, but in fact it was mostly just |
| 17293 |
re-orginization - very little code has actually changed. |
| 17294 |
include/autoconf.h.in: Add HAVE_LIBDES to file. |
| 17295 |
include/config.h: Remove comments after defines for MAP_MIN/MAX timeouts. |
| 17296 |
This just removes some warnings during compile. comments are now |
| 17297 |
on lines by themselves. |
| 17298 |
include/player.h: remove shootstrength for player structure. It was unused. |
| 17299 |
server/Makefile.in: remove input.c file, add c_range.c file. |
| 17300 |
server/c_chat.c: remove command_last, add command_shout and command_tell |
| 17301 |
from input.c to this file. Also fix bug in command tell which |
| 17302 |
would let players crash server at will. |
| 17303 |
server/c_misc.c,server/c_object.c: Relocate many functions |
| 17304 |
from input.c into these files. |
| 17305 |
server/c_move.c, server/c_new.c: Add standard crossfire banner comment. |
| 17306 |
server/c_range.c: New file - contains range related commands, |
| 17307 |
including spell casting (relocated from input.c) |
| 17308 |
server/c_wiz.c: move command_invisible from input.c into this file. |
| 17309 |
server/commands.c: Remove unused commands (bell, last, strength) |
| 17310 |
server/input.c: removed file. |
| 17311 |
server/main.c: Change HAVE_DES_H to HAVE_LIBDES |
| 17312 |
server/player.c: When choosing a race, draw it facing south for best |
| 17313 |
presentation of image. |
| 17314 |
server/spell_util.c: Remove dead code (#if 0 shootstrength related |
| 17315 |
code) |
| 17316 |
socket/loop.c: remove unused variables. |
| 17317 |
NOTE: Due to the addition/removal of files, you will need to do |
| 17318 |
'config.status; make depend; make' from the top level directory for |
| 17319 |
everything to be compiled properly. |
| 17320 |
End of MSW 2000/12/17 checkin. |
| 17321 |
|
| 17322 |
|
| 17323 |
PeterM: 2000/12/17: Various problems fixed in |
| 17324 |
random_maps/*.c: endless loop removed, |
| 17325 |
exit leading to blocked area of spiral fixed. |
| 17326 |
|
| 17327 |
|
| 17328 |
PeterM: 2000/12/17: Stat max bug fixed. |
| 17329 |
server/apply.c |
| 17330 |
|
| 17331 |
|
| 17332 |
MSW 2000/12/16: |
| 17333 |
server/player.c: If the player race archetype has a message, print that out. |
| 17334 |
This allows a descriptive message about what the different races will |
| 17335 |
get. The message is removed from the player once they decide on the |
| 17336 |
race. |
| 17337 |
common/living.c: Add some parens around some PR resistant checks - eliminates |
| 17338 |
warnings from gcc. |
| 17339 |
server/disease.c: have cure_disease remove all diseases a player is infected |
| 17340 |
with. The code suggested it was attempting to do so, and the |
| 17341 |
messages it printed out certainly suggested that the character |
| 17342 |
was disease free. |
| 17343 |
|
| 17344 |
|
| 17345 |
PeterM: 2000/12/14: Added spiral map layout |
| 17346 |
|
| 17347 |
PeterM: 2000/12/14: |
| 17348 |
Restructuring of the random map code. Functionally, it |
| 17349 |
should be identical. All global variables moved into the |
| 17350 |
functions. |
| 17351 |
|
| 17352 |
MSW 2000/12/10: |
| 17353 |
utils/metaserver.pl: Various improvements. Main one is that tcp |
| 17354 |
connections to port 13326 of the metaserver will dump the information |
| 17355 |
in a easily parsable format for the client or other applications. |
| 17356 |
include/config.h: Set ARCHTABLE size to correct value. |
| 17357 |
server/player.c: Have server send update item to client for players face |
| 17358 |
while select class. Added esrv_new_player in Roll_Again, because |
| 17359 |
without it, the client had yet to receive information on what tag |
| 17360 |
the player was so could not make sense of the updated face. |
| 17361 |
server/spell_effect.c: Balance issues for polymorph. Reduce maximum |
| 17362 |
value for high valued objects, remove ability to polymorph generators, |
| 17363 |
put maximum level on polymorphed monsters and give them saving |
| 17364 |
throws against the effects. |
| 17365 |
|
| 17366 |
MSW 2000/12/5: |
| 17367 |
server/player.c: Move location of where it sets the player has_hit variable |
| 17368 |
until after we have confirmed that the player has actually attacked a monster |
| 17369 |
and not that the space is blocked. Fixes various problems and make |
| 17370 |
behaviour more predictable. |
| 17371 |
common/button.c: Do not set path_attuned when loading connected objects from within |
| 17372 |
the editor. This is normally done for random map code/glue logic. |
| 17373 |
common/player.c: When trying to find a skill to use, use a native skill |
| 17374 |
first before going off and returning a skill object like a talisman. |
| 17375 |
|
| 17376 |
MSW 2000/12/4: |
| 17377 |
common/treasure.c: Make it so resistances from artifact files are absolute |
| 17378 |
adjustments. |
| 17379 |
Makefile.in configure configure.in: Fix check for libdes to see if des_crypt |
| 17380 |
exists in libdes before setting HAVE_LIBDES |
| 17381 |
crossedit/Makefile.in: Add Cnv/libCnv.a before LIBS - should fix |
| 17382 |
linking error on irix systems. |
| 17383 |
utils/metaserver.pl: modified so it ignores entries from hosts that |
| 17384 |
report their name as put.your.hostname.here |
| 17385 |
|
| 17386 |
MSW 2000/12/3: |
| 17387 |
crossedit/Attr.c: Add the new resist names to set of variables one can set. |
| 17388 |
|
| 17389 |
MSW 2000/12/3: |
| 17390 |
Misc changes. Main one is adding PNG support to the editor. |
| 17391 |
TODO: Remove outdated things to do (like partial resistance code) |
| 17392 |
configure, configure.in, include/autoconf.h.in: Add check for libpng. |
| 17393 |
include/global.h: Remove displaymodes - moved to crossedit/Defines.h |
| 17394 |
crossedit/App.c, crossedit/App.h crossedit/CrEdit.c crossedit/CrFace.c |
| 17395 |
crossedit/CrList.c crossedit/CrUtil.c crossedit/Edit.c crossedit/crossedit.c |
| 17396 |
crossedit/xutil.c, crossedit/png.c (new file): Add support for png display |
| 17397 |
in crossedit. |
| 17398 |
crossedit/Makefile.in: Add png.c file. |
| 17399 |
server/c_misc.c: Change who command to only display real players, and not |
| 17400 |
players in process of connecting/unconnecting. Also, remove code to display |
| 17401 |
old sockets, since those are not supported anymore. |
| 17402 |
|
| 17403 |
MSW 2000/12/3: |
| 17404 |
Checking for partial resistance code. Various minor errors also fixed |
| 17405 |
(compiler warnings, unused variables, Makefile.in changes, etc). |
| 17406 |
PR code also includes support to send protections to the client. |
| 17407 |
Files changed: |
| 17408 |
common/Makefile.in common/button.c common/exp.c |
| 17409 |
common/friend.c common/holy.c common/info.c common/init.c |
| 17410 |
common/item.c common/living.c common/loader.c common/loader.l |
| 17411 |
common/object.c common/player.c common/re-cmp.c |
| 17412 |
common/readable.c common/treasure.c crossedit/App.c |
| 17413 |
crossedit/crossedit.c crossedit/proto.h doc/crossfire.doc |
| 17414 |
include/define.h include/global.h include/libproto.h |
| 17415 |
include/newclient.h include/newserver.h include/object.h |
| 17416 |
include/player.h include/sproto.h lib/Makefile.in |
| 17417 |
lib/archetypes lib/artifacts lib/crossfire.png |
| 17418 |
lib/crossfire.xbm lib/crossfire.xpm random_maps/rproto.h |
| 17419 |
random_maps/special.c random_maps/style.c server/Makefile.in |
| 17420 |
server/apply.c server/attack.c server/c_misc.c |
| 17421 |
server/c_object.c server/commands.c server/disease.c |
| 17422 |
server/gods.c server/input.c server/monster.c server/player.c |
| 17423 |
server/resurrection.c server/rune.c server/spell_effect.c |
| 17424 |
server/spell_util.c server/swap.c socket/metaserver.c |
| 17425 |
socket/request.c |
| 17426 |
Added Files: |
| 17427 |
include/attack.h |
| 17428 |
|
| 17429 |
|
| 17430 |
------------------------------------------------------------------------------ |
| 17431 |
Changes for 0.95.8: |
| 17432 |
|
| 17433 |
MSW 2000/11/26: |
| 17434 |
utils/metaserver.pl (added), utils/Makefile.in: Add metaserver.pl script. |
| 17435 |
|
| 17436 |
MSW 2000/11/25: |
| 17437 |
include/patchlevel.h (removed), doc/spell-docs/Makefile (removed), |
| 17438 |
include/Makefile.in, include/version.h, server/init.c, server/main.c, |
| 17439 |
socket/metaserver.c: remove patchlevel.h - include the patchlevel in the |
| 17440 |
version.h file, update other files to use version as a single string. |
| 17441 |
|
| 17442 |
MSW 2000/11/25: |
| 17443 |
socket/metaserver.c: If on FreeBSD systems, do not attempt to connect to |
| 17444 |
the metaserve. FreeBSD seems to have a problem using sendto on a connected |
| 17445 |
soccket. |
| 17446 |
|
| 17447 |
MSW 2000/11/25: |
| 17448 |
configure.in, configure, include/autoconf.h.in, server/main.c: Update |
| 17449 |
to check for libdes.a and des.h and use those for password decryption - fixes |
| 17450 |
a problem on freebsd if it is using md5 crypt. Hopefully it doesn't break |
| 17451 |
anything. main.c was also checking for HAVE_CRYPT_H too early. |
| 17452 |
include/sproto.h: Needed updating. Unrelated to above changes. |
| 17453 |
|
| 17454 |
|
| 17455 |
MSW 2000/11/22 |
| 17456 |
server/main.c: Modify enter_exit so that it properly uses per player |
| 17457 |
unique maps that are only in memory and not on disk. Remove unused |
| 17458 |
variable from process events (unrelated change). |
| 17459 |
|
| 17460 |
PeterM 2000/11/18: |
| 17461 |
New spells added: |
| 17462 |
1) Sanctuary (aura of counterwall) |
| 17463 |
2) Peace (make monsters unable to fight) |
| 17464 |
3) Spiderweb (create spider webs) |
| 17465 |
4) rage (heroism, armour, haste, regenration combined) |
| 17466 |
5) forked lightning (lightning which forks and strikes ) |
| 17467 |
6) flaming aura (aura of fire) |
| 17468 |
7) vitriol combined ball/cone/pool acid attack spell |
| 17469 |
8) vitriol splash (spell for internal use only) |
| 17470 |
9) ironwood skin (clerical version of armour spell) |
| 17471 |
|
| 17472 |
Not implemented: 10) poison fog |
| 17473 |
|
| 17474 |
MSW 2000/11/17: |
| 17475 |
socket/metaserver.c: More changes - use fcntl to set O_NONBLOCK. Don't |
| 17476 |
close socket if connect fails, since with sendto it is not required |
| 17477 |
that the connect works. |
| 17478 |
|
| 17479 |
PeterM: 2000/11/17 |
| 17480 |
define.h spells.h spellist.h spell_util.c spell_effect.c: |
| 17481 |
windstorm spell implemented. |
| 17482 |
attack.c: saving throw behavior modified. Items take a bit |
| 17483 |
of DAM to destroy now instead of being destroyed with 1hp attacks. |
| 17484 |
|
| 17485 |
MSW: 2000/11/16: |
| 17486 |
socket/metaserver.c: Add #ifdef MSG_DONTWAIT into metaserver.c for systems |
| 17487 |
that lack that definition. |
| 17488 |
random_maps/style.c: alphasort was not properly de-referencing pointers |
| 17489 |
when doing name comparisons, and thus returned garbage results, |
| 17490 |
resulting in a crash when entering random maps. This only happens |
| 17491 |
for systems which lack scandir in normal libraries (like Solaris). |
| 17492 |
BSDs and linux have scandir built in, and did not have a problem. |
| 17493 |
server/disease.c: fix infect_object - server would crash if player did |
| 17494 |
not have praying skill and was infecting someone else. |
| 17495 |
end of changes, MSW 2000/11/16 |
| 17496 |
|
| 17497 |
PeterM : 2000/11/14 |
| 17498 |
PeterM: Made some changes so that non-disease effects may be done without |
| 17499 |
being labelled as a disease. Also, fixed a bug in which we'd kill something |
| 17500 |
and then try to insert something in the killed thing's map. |
| 17501 |
|
| 17502 |
|
| 17503 |
|
| 17504 |
metaserver update: |
| 17505 |
common/init.c: Add meta_ fields to settings structure initialization. |
| 17506 |
include/global.h: Add meta_ fields to settings structure. |
| 17507 |
include/sockproto.h: Updated for new meta_ functions. |
| 17508 |
lib/Makefile.in: Have it install settings file. |
| 17509 |
lib/settings: Default settings file with some metaserver default value.s |
| 17510 |
server/init.c: Add load_settings file. Add call to metaserver_init. |
| 17511 |
server/main.c: Add call to metaserver_update in do_specials. |
| 17512 |
socket/Makefile.in: Add metaserver.c to list of files. |
| 17513 |
socket/metaserver.c: File that deals with metaserver related data. |
| 17514 |
socket/item.c: Remove some unused variables. Unrelated to metaserver changes. |
| 17515 |
socket/loop.c: Add calls to metaserver_update in block_until_new)connection. Change |
| 17516 |
function so that if there are no active players, it still timeouts and |
| 17517 |
does metaserver update. Basically changed to do it the way the |
| 17518 |
WATCHDOG code did it. |
| 17519 |
End of metaserver update. MSW 2000-11-13 |
| 17520 |
|
| 17521 |
server/player.c: removed unused tmp2 variable from move_player_attack. |
| 17522 |
modify depletion in kill_player so the maximum depletion for a stat is -50. This |
| 17523 |
should preven stat wrapping from -126 to 127. MSW 2000-11-08 |
| 17524 |
|
| 17525 |
============================================================================== |
| 17526 |
MSW 2000-11-07 |
| 17527 |
common/item.c: query_base_name was not return plural version of items |
| 17528 |
with 'of' in name. Also, much of the function was not using safe_strcat, |
| 17529 |
which could result in buffer overlow problems. |
| 17530 |
|
| 17531 |
common/object.c: Change update_position so that we always generate |
| 17532 |
3 images per space. This fixes players standing on top of dragon transports, |
| 17533 |
but generally works for things like monsters standing on objects. |
| 17534 |
insert_ob_in_map: change 'return' statement to 'return NULL'. Also |
| 17535 |
remove unused map pointer. |
| 17536 |
decrease_ob_nr: Fix bug for client updates when player drops item that |
| 17537 |
is then consume. It was using op->above after object was removed to |
| 17538 |
find the player. Store above pointer before we remove the object. |
| 17539 |
|
| 17540 |
socket/item.c: Don't terminate pointer as returned by query_base_name - |
| 17541 |
instead, terminator buffer after we copy it. For simple object, |
| 17542 |
query_base_name may directly return a pointer to the objects name |
| 17543 |
which is only long enough to hold the name itself. |
| 17544 |
|
| 17545 |
socket/lowlevel.c: Abort if we are trying to send the client a packet |
| 17546 |
longer than supported by the protocol. Since that buffer is static, |
| 17547 |
overflowing it will just create memory corruption - easier to stop |
| 17548 |
then than try and debug it later. |
| 17549 |
|
| 17550 |
End of MSW checkin 2000-11-7 |
| 17551 |
============================================================================== |
| 17552 |
|
| 17553 |
|
| 17554 |
PeterM: 2000-11-06 |
| 17555 |
server/spell_util.c crash bug removed from move ball lightning: |
| 17556 |
ball lightning mover improved in general. --PeterM |
| 17557 |
|
| 17558 |
-------------------------------------------- |
| 17559 |
--- BEGIN stop_item() / attack fix patch --- Jan Echternach 2000-11-06 |
| 17560 |
-------------------------------------------- |
| 17561 |
|
| 17562 |
Summary of this patch: Provide new stop_item() function for properly |
| 17563 |
handling "moving" items on a map (flying arrows, thrown objects, |
| 17564 |
active cones); obsoletes the workarounds. Fix some attack bugs (with |
| 17565 |
possible server crashes) - many attackers attacked while being |
| 17566 |
removed, even though much code could only handle the attacker being on |
| 17567 |
the same map as the victim (not even the attacker being in the |
| 17568 |
victim's inventory, e.g. poison). |
| 17569 |
|
| 17570 |
common/object.c: insert_ob_in_map(): Call check_walk_on() after |
| 17571 |
update_object() because the latter needs to update some very |
| 17572 |
important flags used by a lot of code before this code is called |
| 17573 |
by check_walk_on(). |
| 17574 |
|
| 17575 |
common/object.c: get_split_ob(): Completed support for splitting |
| 17576 |
removed objects. |
| 17577 |
|
| 17578 |
common/object.c: decrease_ob_nr(): Rewrote this function: Added |
| 17579 |
support for removed objects. Removing an object completely didn't |
| 17580 |
always update the environment's weight properly. Removing an amount |
| 17581 |
of 0 from an object with nrof == 0 destroyed the object. Improved |
| 17582 |
performance a bit (don't need to update the player's weight if an |
| 17583 |
object below the player is modified). |
| 17584 |
|
| 17585 |
server/apply.c: move_apply(): Added recursion limit. |
| 17586 |
|
| 17587 |
server/apply.c: move_apply(): THROWN_OBJ and ARROW: Use new |
| 17588 |
hit_with_arrow() function. |
| 17589 |
|
| 17590 |
server/apply.c: move_apply(): FBULLET and BULLET: Call |
| 17591 |
check_fired_arch() only when the victim blocks the square (FLAG_NO_PASS |
| 17592 |
or FLAG_ALIVE). |
| 17593 |
|
| 17594 |
server/attack.c: save_throw_object(): Use new stop_item() function |
| 17595 |
before trying to modify an object. Added originator to all |
| 17596 |
insert_ob_in_map() calls. |
| 17597 |
|
| 17598 |
server/attack.c: hit_map(): Added log message if the hitter is not on |
| 17599 |
a map. Added was_destroyed() check after calling save_throw_object(). |
| 17600 |
|
| 17601 |
server/attack.c: get_attack_mode() and abort_attack(): New functions |
| 17602 |
to determine the type of attack (simple or full attack). |
| 17603 |
|
| 17604 |
server/attack.c: attack_ob(): Now only attack_ob_simple() with default |
| 17605 |
damage and weapon class values. |
| 17606 |
|
| 17607 |
server/attack.c: attack_ob_simple(): Contains most of old attack_ob(), |
| 17608 |
but takes damage and weapon class as parameters, needed for |
| 17609 |
hit_with_arrow(). Uses get_attack_mode() and abort_attack() to |
| 17610 |
support new "simple" attack mode. |
| 17611 |
|
| 17612 |
server/attack.c: stick_arrow() and hit_with_arrow(): Moved those parts |
| 17613 |
of old stop_arrow() and move_arrow() that dealt with attacking a |
| 17614 |
victim over here. |
| 17615 |
|
| 17616 |
server/attack.c: hit_player(): Uses get_attack_mode() and |
| 17617 |
abort_attack() to support new "simple" attack mode. |
| 17618 |
|
| 17619 |
server/attack.c: paralyze_player(): Use insert_ob_in_map_simple() |
| 17620 |
instead of insert_ob_in_map() because the callers are not prepared for |
| 17621 |
this function triggering any complex machinery, and |
| 17622 |
insert_ob_in_map_simple() should be enough for plain visual effects. |
| 17623 |
|
| 17624 |
server/attack.c: thrown_item_effect(): Don't need to deal with thrown |
| 17625 |
objects, hit_with_arrow() already does everything necessary. |
| 17626 |
|
| 17627 |
server/attack.c: adj_attackroll(): Added log message if hitter and |
| 17628 |
victim are not on the same map. |
| 17629 |
|
| 17630 |
server/c_object.c: Fixed two typos in "can't pick up xxx" messages. |
| 17631 |
|
| 17632 |
server/c_object.c: pick_up_object(): Removed can_pick() check because |
| 17633 |
pick_up() already checks this. Added support for picking up removed |
| 17634 |
objects because the stop_item() in pick_up() can now call us with |
| 17635 |
removed objects. Moved FLAG_STARTEQUIP check to pick_up(). Fixed |
| 17636 |
weight limit lookup for monsters that have strength > MAX_STAT. |
| 17637 |
|
| 17638 |
server/c_object.c: pick_up(): Use new stop_item() function. |
| 17639 |
|
| 17640 |
server/player.c: fire_bow() and server/skills.c: do_throw(): Removed |
| 17641 |
FLAG_NO_PICK workaround for flying objects. stop_item() now handles |
| 17642 |
this correctly. |
| 17643 |
|
| 17644 |
server/rune.c: spring_trap(): Fix unlimited trap recursion. Since |
| 17645 |
traps are triggered by move_apply(), the result of triggering a trap |
| 17646 |
may trigger the trap again before it is deactivated. |
| 17647 |
|
| 17648 |
server/rune.c: spring_trap(): Runes that don't cast spells can only be |
| 17649 |
triggered by living objects. |
| 17650 |
|
| 17651 |
server/spell_effect.c: move_cancellation(): Don't call hit_map() with |
| 17652 |
a removed attacker. |
| 17653 |
|
| 17654 |
server/spell_util.c: cast_cone(): Only print warning message about |
| 17655 |
cones that don't have FLAG_FLY/WALK_ON if the cone does any damage. |
| 17656 |
|
| 17657 |
server/spell_util.c: move_cone(): Removed workaround for cones in ice |
| 17658 |
cubes. stop_item() now handles this correctly. |
| 17659 |
|
| 17660 |
server/spell_util.c: explode_object(): Rewrote this function: New |
| 17661 |
interface - exploding object must not be removed when the function is |
| 17662 |
called, it must have an other_arch (i.e. it must be able to explode), |
| 17663 |
and it will be gone for sure when the function terminates. Removed |
| 17664 |
some code with no effect. Don't call any attack functions with |
| 17665 |
removed attackers. |
| 17666 |
|
| 17667 |
server/spell_util.c: check_fired_arch(): Rewrote this function. |
| 17668 |
|
| 17669 |
server/spell_util.c: move_fired_arch(): Rewrote most of this function: |
| 17670 |
Don't attack with removed attackers. Call check_fired_arch() instead |
| 17671 |
of duplicating its code. |
| 17672 |
|
| 17673 |
server/spell_util.c: move_ball_lightning(): Don't attack with removed |
| 17674 |
attackers. Rewrote the movement algorithm to simplify this task. |
| 17675 |
|
| 17676 |
server/time.c: stop_item() and fix_stopped_item: New functions. |
| 17677 |
|
| 17678 |
server/time.c: fix_stopped_arrow(): Contains most of the old |
| 17679 |
stop_arrow() function. Unlike stop_arrow(), it takes an arrow that is |
| 17680 |
not removed. Removed FLACK_NO_PICK workaround. |
| 17681 |
|
| 17682 |
server/time.c: stop_arrow(): Stops arrows and thrown objects and puts |
| 17683 |
them on the map. Sticking objects into targets is no longer handled |
| 17684 |
by stop_arrow(), but by hit_with_arrow(). |
| 17685 |
|
| 17686 |
server/time.c: move_arrow(): Don't attack with removed attackers. |
| 17687 |
|
| 17688 |
socket/item.c: esrv_move_object(): Removed misleading comment. |
| 17689 |
|
| 17690 |
------------------------------------------ |
| 17691 |
--- END stop_item() / attack fix patch --- Jan Echternach 2000-11-06 |
| 17692 |
------------------------------------------ |
| 17693 |
|
| 17694 |
server/time.c: Add call to esrv_update_item to update the face for |
| 17695 |
the client after the player chooses a class. MSW 11/3/2000 |
| 17696 |
|
| 17697 |
server/c_object.c, socket/item.c: Fixed for long item support. pick_up_object |
| 17698 |
in c_object was overwriting a fixed length string, causing server crashes. |
| 17699 |
item.c was not properly terminating plural version of object name, resulting |
| 17700 |
in corrupt packets being sent to the client. MSW 11/2/2000 |
| 17701 |
|
| 17702 |
PeterM: |
| 17703 |
ball lightning made stronger, strikes larger area, never |
| 17704 |
hits player. |
| 17705 |
divine shock spell added. |
| 17706 |
|
| 17707 |
include/sproto.h: Removed prototype of obsolete make_gravestone() |
| 17708 |
function. |
| 17709 |
server/apply.c: Put back gravestone_text() function that was removed |
| 17710 |
accidently a while ago, needed by NOT_PERMADEATH. |
| 17711 |
server/player.c: Don't use the dead player as the originator of object |
| 17712 |
movements. Fixed string handling for NOT_PERMADEATH. |
| 17713 |
- Jan Echternach 10/30/2000 |
| 17714 |
|
| 17715 |
|
| 17716 |
Major race/class change by PeterM: |
| 17717 |
BEGIN: |
| 17718 |
***************** |
| 17719 |
apply.c: new function, apply changes to player. If the change is a CLASS, |
| 17720 |
player receives certain attributes from the class. |
| 17721 |
|
| 17722 |
login.c: make sure people using the old race/class archetypes in their |
| 17723 |
player files can still use them. |
| 17724 |
|
| 17725 |
player.c: |
| 17726 |
1) give_initial_items modified for greater flexibility: you |
| 17727 |
can pass in a treasurelist. |
| 17728 |
2) Also, initial forces are applied to the player. |
| 17729 |
3) Comment added on the stat roll function. |
| 17730 |
4) Word of recall into the new class-choice map (unfortunately hard-wired.) for newly-rolled players. |
| 17731 |
5) gen_sp and gen_hp and gen_grace now allowed to go negative to slow down player |
| 17732 |
regen. |
| 17733 |
|
| 17734 |
skill_util.c |
| 17735 |
1) Don't give out basic skills anymore. This interferes with the class code. |
| 17736 |
|
| 17737 |
spell_util.c |
| 17738 |
1) Praying failures moderated in frequency. |
| 17739 |
2) Summoned creatures enhanced in wc, speed, depending on casting level. |
| 17740 |
3) Word of recall allowed to work in no-magic areas if a flag is set. |
| 17741 |
|
| 17742 |
time.c |
| 17743 |
1) Move player changer function added. |
| 17744 |
2) Marker object expiration added. |
| 17745 |
|
| 17746 |
living.c: cleric fail chance array modified. |
| 17747 |
|
| 17748 |
map.c: bugfix for random map/recycle tmp map problem. |
| 17749 |
|
| 17750 |
define.h: defines added for playerchangers and class types |
| 17751 |
base 10 numbers added for the spell paths. |
| 17752 |
|
| 17753 |
spellist.h: fixed up summoning spells a little |
| 17754 |
|
| 17755 |
sproto.h: new prototypes |
| 17756 |
|
| 17757 |
config.h: hate RECYCLE_TMP_MAPS, turned it off |
| 17758 |
|
| 17759 |
maps/HallOfSelection: new map for class choice. |
| 17760 |
|
| 17761 |
lib/treasures: classs/race stuff heavily modified |
| 17762 |
lib/archetypes, animation, bmaps, bmaps.paths, crossfire.png faces |
| 17763 |
crossfire.xbm New faces, etc. |
| 17764 |
|
| 17765 |
END race/class stuff 10/16/2000 |
| 17766 |
apply.c: bugfix for random map/recycle tmp maps interaction. --PeterM 10/16/200 |
| 17767 |
|
| 17768 |
include/skill* server/skill_util.c: levitation skill added. |
| 17769 |
9/26/2000. --PeterM |
| 17770 |
|
| 17771 |
common/map.c server/apply.c: Fix an interaction between |
| 17772 |
RECYCLE_TMP_MAPS and random maps which would cause crashing. |
| 17773 |
peterm: 10/12/2000 |
| 17774 |
|
| 17775 |
disease.c spell_effect.c: peterm: 10/5/2000 |
| 17776 |
1) Diseases moderated in power by ~1/2 and randomized. |
| 17777 |
Now monsters can have a mild/moderate/serious/fatal case |
| 17778 |
of a particular disease. |
| 17779 |
2) cause disease spells modified to NOT go through objects |
| 17780 |
spells ordinarily couldn't go through. |
| 17781 |
|
| 17782 |
------------------------------------------------------------------------------ |
| 17783 |
|
| 17784 |
Changes for 0.95.7: |
| 17785 |
|
| 17786 |
README: Add crossfire.csua.berkeley.edu server. |
| 17787 |
TODO: Remove entry about setable behaviour for keyrings, since that has now |
| 17788 |
been done. |
| 17789 |
include/patchlevel.h, Makefile.in: Update for 0.95.7 MSW 9/20/2000 |
| 17790 |
|
| 17791 |
lib/maps: got rid of the stuff that was there. Useless stuff. |
| 17792 |
the maps dist. is the thing to use. --PeterM |
| 17793 |
|
| 17794 |
|
| 17795 |
common/living.c, server/skill_util.c: Patches by Garth Denley: |
| 17796 |
Fixes divide by zero crash, sets up perm exp when a new player is loaded, |
| 17797 |
seperates permanent exp code/calculations into another function. |
| 17798 |
checked in by MSW, 8/24/2000 |
| 17799 |
|
| 17800 |
lib/crossfire.png: ground/sea*png - remove transperancies from png images |
| 17801 |
since they should not be transparent. MSW 8/23/2000 |
| 17802 |
|
| 17803 |
doc/spoiler.html/(Makefile.in,empty.pbm, makeps.pl, spoiler.html): Modify |
| 17804 |
to make gif images from png source instead of xpm images. A valid question |
| 17805 |
to ask is why convert to gif at all and not just keep in PNG format. The |
| 17806 |
answer right now is that png support in netscape at least still is not very |
| 17807 |
good, and it displays gifs better. MSW 8/8/2000 |
| 17808 |
|
| 17809 |
Add/Remove some LOG calls: |
| 17810 |
common/living.c: Remove log messages about gen_sp values on armor |
| 17811 |
server/login.c, server/main.c: Add messages about player logins/logouts with |
| 17812 |
IP address. Useful for tracking potentially troublesome players and where |
| 17813 |
they are player from. MSW 8/7/2000 |
| 17814 |
|
| 17815 |
The following change basically does the following: When the server sends an |
| 17816 |
item name to the client, this item name is now two pieces - the first piece |
| 17817 |
of the name is its singular form, the second piece is the plural name. This |
| 17818 |
now makes items in the inventory appear more proper in terms of pluralization |
| 17819 |
and just normal English. I did notice that the server does not know how |
| 17820 |
to properly make 'torch' plural - it turns it into torchs. A matching |
| 17821 |
check in for the client has also been done. |
| 17822 |
include/newserver.h: Update VERSION_SC to 1024 |
| 17823 |
common/item.c: Change query_base_name to take a second option on whether |
| 17824 |
we should generate a plural version of the name or not. |
| 17825 |
socket/item.c: Modify functions to use second argument on the query_base_name |
| 17826 |
function. Update item commands to send two part names (singular & plural). |
| 17827 |
Modify esrv_send_look to use item1 protocol command instead of item command. |
| 17828 |
server/c_object.c: Update item_matched_string to use second option to |
| 17829 |
query_base_name. Modify function to check against both singular and |
| 17830 |
plural versions of name. |
| 17831 |
server/shop.c: Modify shop_listing command usage in query_basename to use |
| 17832 |
second option. It will also generate the singular name, but that is only |
| 17833 |
used on sorting, so I don't think it will generally cause any problems. |
| 17834 |
include/libproto.h: rebuilt because query_base_name has an addition opt. |
| 17835 |
Mark Wedel 8/6/2000 |
| 17836 |
|
| 17837 |
include/config.h, include/global.h, common/init.c, common/living.c, |
| 17838 |
server/init.c, server/player.c, server/skill_util.c: Add permanent |
| 17839 |
experience and balanced stat loss features (code by Garth Denley). |
| 17840 |
Permanent experience make some experience in the skills permanent. Balance |
| 17841 |
stat loss makes stat loss less likely/costly at low level and more costly |
| 17842 |
at higher levels. These features are by default off, but can be turned |
| 17843 |
on either in the config.h file or via command line options. Code checked |
| 17844 |
in by MSW 8/1/2000 |
| 17845 |
|
| 17846 |
server/time.c: Update the change_object function such that if the object |
| 17847 |
is in a players inventory, send a delete & send_item for the object that |
| 17848 |
has changed (the delete + send_item is necessary due to the ways objects |
| 17849 |
change, so we just can't sent a update_item). This fixes the 'torches |
| 17850 |
go dim & then out but client inventory not updated' bug, and likely fixes |
| 17851 |
some other problems - I am not sure how many other objects out there |
| 17852 |
change. MSW 7/28/2000 |
| 17853 |
|
| 17854 |
random_maps/treasure.c: potential crash bug fixed. Only applied |
| 17855 |
when a bad archetype was given as a wallstyle. I will also put |
| 17856 |
in a redundant archetypes fix. --PeterM 7/26/00 |
| 17857 |
|
| 17858 |
lib/adm/map_info, lib/adm/map_check: Update to use new layout of installed |
| 17859 |
files (share/crossfire), know about random exits (it doesn't do any checking |
| 17860 |
to make sure the values are sane, which it probably should, but at least it |
| 17861 |
won't complain about them), update to use /usr/bin/perl. MSW 7/25/2000 |
| 17862 |
|
| 17863 |
server/resurrection.c |
| 17864 |
include/spellist.h: PeterM: fixed a few unintended things about |
| 17865 |
resurrection: experience removal was wrong, spellpoints/levels |
| 17866 |
changed. --PetrM |
| 17867 |
|
| 17868 |
lib/archetypes: Update to keep in sync with arch tree. Changes to |
| 17869 |
about a dozen arch's to remove the 'a' in their name. MSW 6/27/2000 |
| 17870 |
|
| 17871 |
server/c_object.c: Fix command_drop which was doing incorrect check for |
| 17872 |
invisible object - it was supposed to skip over them and only do visible |
| 17873 |
objects, instead it was doing the reverse. Fixes the 'drop command. |
| 17874 |
MSW 6/27/2000 |
| 17875 |
|
| 17876 |
server/input.c: Make the inventory command more robust for very long |
| 17877 |
object names - specify a maximum number of characters we will take from |
| 17878 |
the name. Without this, you could get buffer overruns that cause crashes. |
| 17879 |
No normally generated items would ever likely have names long enough to |
| 17880 |
exploit this bug however. MSW 6/27/2000 |
| 17881 |
|
| 17882 |
INSTALL, README: Update mailing address to real-time address. MSW 6/27/2000 |
| 17883 |
|
| 17884 |
server/login.c: Load and save usekeys value in player save file. MSW 6/27/2000 |
| 17885 |
|
| 17886 |
Patch by Jeffry Hantin which fixes glow objects in map. |
| 17887 |
insert_ob_in_map_simple now will call the appropriate light updating code. |
| 17888 |
Applied by MSW 6/26/2000 |
| 17889 |
|
| 17890 |
server/player.c: check_pick(): Rewrite of this function to consistently |
| 17891 |
skip items that can't be picked up, and to only use a single loop over all |
| 17892 |
items on the map square. - Jan Echternach 6/23/2000 |
| 17893 |
|
| 17894 |
------------------------------------------------------------------------------ |
| 17895 |
Changes for 0.95.6: |
| 17896 |
|
| 17897 |
server/monster.c: Patch by Neil Muller so that corrupt/bad @match entries |
| 17898 |
will not cause the server to crash. Applied by MSW 6/21/2000 |
| 17899 |
|
| 17900 |
lib/archetypes: rebuilt for 0.95.6 |
| 17901 |
lib/collect.pl: Modify to search the archetypes directories in alphabetical |
| 17902 |
order - before I believe they were collected in basically inode order. |
| 17903 |
This should make it easier to multiple people to run the collect script |
| 17904 |
not have basically an entirely new archetyeps file. MSW 6/21/2000 |
| 17905 |
|
| 17906 |
server/commands.c; server/c_object.c: dump_object_from_tag(): Removed |
| 17907 |
broken command. Fixes server crashes very easily triggered by players. |
| 17908 |
- Jan Echternach 6/21/2000 |
| 17909 |
|
| 17910 |
server/attack.c: deathstrike_player(): Check for def_lev == 0 very early |
| 17911 |
(and print error message if we find such an invalid level). Should fix |
| 17912 |
server crash in case archetypes or maps get broken again in that an |
| 17913 |
alive object has level < 1. - Jan Echternach 6/21/2000 |
| 17914 |
|
| 17915 |
Makefile.in: Update version to 0.95.6 |
| 17916 |
include/patchlevel.h: Update to .6 for 0.95.6 release |
| 17917 |
common/porting.c, include/config.h, include/loader.h, include/skills.h, |
| 17918 |
include/spells.h, include/treasure.h, include/version.h, random_maps/style.c: |
| 17919 |
Update my mail address and copyright date. Mostly committed to sync |
| 17920 |
up my data with the CVS repository - MSW 6/20/2000 |
| 17921 |
|
| 17922 |
random_maps/treasure.c server/apply.c: made containers able to |
| 17923 |
have more than one treasure in them, made a fix to treasure.c, which would |
| 17924 |
change the options given to it in an unintended way. --PeterM 6/20/2000 |
| 17925 |
|
| 17926 |
|
| 17927 |
common/living.c: fix_player(): Bugfix: Don't reset FLAG_FLYING, |
| 17928 |
FLAG_REFL_SPELL, FLAG_REFL_MISSILE and FLAG_SEE_IN_DARK if the archetype |
| 17929 |
has these flags. - Jan Echternach 6/19/2000 |
| 17930 |
|
| 17931 |
|
| 17932 |
random_maps/* Numerous changes improving random maps, including |
| 17933 |
two crash-fixes, a new type of 'special', ability to copy inventory |
| 17934 |
of monsters when putting them into maps... --PeterM 6/19/2000 |
| 17935 |
|
| 17936 |
New naming scheme for random maps: they won't grow in size |
| 17937 |
indefinitely anymore. --PeterM 6/17/2000 |
| 17938 |
|
| 17939 |
server/input.c: command_cast_spell(): Bugfix: Call check_skill_to_fire() |
| 17940 |
even for wizards because this function has the important side effect |
| 17941 |
of setting the current skill and experience objects. |
| 17942 |
- Jan Echternach 6/19/2000 |
| 17943 |
|
| 17944 |
server/apply.c: apply_treasure(): Bugfix: We need to trigger runes as |
| 17945 |
they are found in the treasure chest, because move_rune() will no longer |
| 17946 |
trigger them for us. - Jan Echternach 6/18/2000 |
| 17947 |
|
| 17948 |
Updated the INSTALL directions. MSW 6/16/2000 |
| 17949 |
|
| 17950 |
Modified the editor to make certain objects (teleporters, creators, |
| 17951 |
markers) more easily editable. --PeterM 6/16/2000 |
| 17952 |
|
| 17953 |
Modifed how firewalls worked. They can now be triggered by |
| 17954 |
handles as well as turned. Ones which are turned by handles |
| 17955 |
cannot be triggered by handles. PeterM 6/15/2000 |
| 17956 |
|
| 17957 |
fixes to random_maps: |
| 17958 |
exit.c: won't crash if named final_map doesn't exist |
| 17959 |
room_gen_onion.c: reordered the options more sanely |
| 17960 |
special.c: fixed a crash-bug: nuke_map would nuke parts of monsters, but |
| 17961 |
not the whole monster. --PeterM |
| 17962 |
|
| 17963 |
server/skill_util.c: Fix type in change_skill - was doing an == operation |
| 17964 |
when it should just have been an =. MSW 6/13/2000 |
| 17965 |
|
| 17966 |
common/anim.c: animation_object() - return if object does not have a valid |
| 17967 |
animation after logging error. Before, we logged the error and would |
| 17968 |
promptly crash. MSW 6/13/2000 |
| 17969 |
|
| 17970 |
server/apply.c: apply_treasure(): Bugfix: Set FLAG_NO_APPLY before |
| 17971 |
moving object to the top. - Jan Echternach 6/13/2000 |
| 17972 |
|
| 17973 |
server/time.c: move_marker(): Bugfix: Call update_ob_speed() after |
| 17974 |
changing force->speed. - Jan Echternach 6/13/2000 |
| 17975 |
|
| 17976 |
server/spell_util.c: move_swarm_spell(): Improved distribution of |
| 17977 |
fired objects. Fixed starting position of fired objects to be able to |
| 17978 |
hit targets immediately in front the caster. - Patch by Jeffrey Hantin, |
| 17979 |
applied by Jan Echternach 6/13/2000 |
| 17980 |
|
| 17981 |
server/disease.c, sproto.h, rune.c Fixes from [email protected] for diseases: |
| 17982 |
Reversed strstr calls, force argument added to infect_object, |
| 17983 |
diseases in immune carrier last forever, needles use infect object, |
| 17984 |
cast_cause_disease won't fail. --PeterM 6/9/2000 |
| 17985 |
|
| 17986 |
common/loader.l: Fix handling of objects with no animation. Fixes server |
| 17987 |
crash if object's archetype has an animation, but object doesn't. |
| 17988 |
- Jan Echternach 6/9/2000 |
| 17989 |
|
| 17990 |
common/loader.l: get_ob_diff(): Bugfix: Issue a "is_animated 0" line |
| 17991 |
if the object has an animation, but doesn't have FLAG_ANIMATE. |
| 17992 |
- Jan Echternach 6/9/2000 |
| 17993 |
|
| 17994 |
server/apply.c: manual_apply() and monster_apply_special(): Don't check |
| 17995 |
for FLAG_UNPAID if object is applied. This should make the code more |
| 17996 |
robust if an unpaid item get's applied accidently. |
| 17997 |
- Jan Echternach 6/9/2000 |
| 17998 |
|
| 17999 |
server/apply.c: apply_special(): New optional flags AP_NO_MERGE and |
| 18000 |
AP_IGNORE_CURSE. - Jan Echternach 6/9/2000 |
| 18001 |
|
| 18002 |
server/monster.c: find_mon_throw_ob(); server/skills.c: find_throw_ob(): |
| 18003 |
Bugfix: Use AP_NO_MERGE flag to prevent unapplied object be merged with |
| 18004 |
other objects. - Jan Echternach 6/9/2000 |
| 18005 |
|
| 18006 |
server/spell_effect.c: animate_weapon: Bugfixes: Correctly unapply |
| 18007 |
weapon. Don't set FLAG_APPLIED directly on weapon in golem, but use |
| 18008 |
apply_special(). Don't call esrv_send_item() when caster is not a player |
| 18009 |
(fixes server crash if monster casts this spell). |
| 18010 |
- Jan Echternach 6/9/2000 |
| 18011 |
|
| 18012 |
random_map/<various> Fixes in the map code for various things, including: |
| 18013 |
1) crash bug on |
| 18014 |
multi-square monsters. 2) no treasures in final_map, 3) new feature of doing |
| 18015 |
walls only, .... --PeterM 6/9/2000: |
| 18016 |
|
| 18017 |
common/button.c: do_mood_floor(): Bugfixes: Only players can have pets. |
| 18018 |
Call add_friendly_object() for friendly monsters. |
| 18019 |
- Jan Echternach 6/8/2000 |
| 18020 |
|
| 18021 |
server/spell_effect.c and server/spell_util.c: Several functions: Only |
| 18022 |
add a pet if there really is a pet's owner, and it's a player. |
| 18023 |
- Jan Echternach 6/8/2000 |
| 18024 |
|
| 18025 |
server/spell_effect.c: cast_charm() and cast_charm_undead(): Bugfixes: |
| 18026 |
Only players can cast these spells. This fixes server crash if |
| 18027 |
a monster casted a charm spell, and the charmed pet was killed. |
| 18028 |
Call add_friendly_object for friendly monsters. |
| 18029 |
- Jan Echternach 6/8/2000 |
| 18030 |
|
| 18031 |
common/friend.c: remove_friendly_object(): Use llevError for error |
| 18032 |
messages. - Jan Echternach 6/8/2000 |
| 18033 |
|
| 18034 |
common/living.c: fix_player(); server/gods.c: tailor_god_spell(); |
| 18035 |
server/spell_effect.c: summon_avatar() and animate_weapon(): Bugfix: Set |
| 18036 |
a string to NULL after calling free_string(). This fixes a nasty bug |
| 18037 |
that caused the string's reference count drop below 0, which resulted |
| 18038 |
in corruption of malloc()'s internal data structures (and possibly |
| 18039 |
server crashes). - Jan Echternach 6/8/2000 |
| 18040 |
|
| 18041 |
server/time.c: move_creator(): Bugfix: Call free_string() to free old |
| 18042 |
values of op->name and op->title before overwriting them with new values. |
| 18043 |
- Jan Echternach 6/8/2000 |
| 18044 |
|
| 18045 |
common/object.c: insert_ob_in_map_simple() and insert_ob_in_map(): |
| 18046 |
Check that we don't insert freed objects. - Jan Echternach 6/8/2000 |
| 18047 |
|
| 18048 |
server/attack.c: hit_player_attacktype() and hit_player(): Bugfix: Check |
| 18049 |
that find_god() really found a god, and that 'god->slaying' is not NULL. |
| 18050 |
Fixes crash if a monster casted turn undead and actually hit something. |
| 18051 |
- Jan Echternach 6/8/2000 |
| 18052 |
|
| 18053 |
server/attack.c: hit_player(): Check that a pet's owner is a player. |
| 18054 |
Prevents server crashes if a monster has a pet monster due to a bug |
| 18055 |
somewhere. Use llevError for error message. - Jan Echternach 6/8/2000 |
| 18056 |
|
| 18057 |
server/time.c: move_arrow(): Use llevDebug level for "Arrow had no |
| 18058 |
map" message. - Jan Echternach 6/8/2000 |
| 18059 |
|
| 18060 |
server/c_object.c, server/spell_effect.c, server/spell_util.c: Bugfixes: |
| 18061 |
Added some missing checks for destroyed objects. Use was_destroyed() |
| 18062 |
or return value of insert_ob_in_map() to check for destroyed objects, |
| 18063 |
not FLAG_FREED or FLAG_REMOVED. Don't use op->count of destroyed objects. |
| 18064 |
- Jan Echternach 6/8/2000 |
| 18065 |
|
| 18066 |
server/shop.c: get_payment2(): Type of tag is 'tag_t', not 'long'. |
| 18067 |
- Jan Echternach 6/8/2000 |
| 18068 |
|
| 18069 |
server/spell_effect.c: animate_bomb(): Fix environment checks. |
| 18070 |
- Jan Echternach 6/8/2000 |
| 18071 |
|
| 18072 |
server/spell_util.c: fire_bolt(): Bugfix: Set level of bolt. |
| 18073 |
- Jan Echternach 6/8/2000 |
| 18074 |
|
| 18075 |
server/spell_util.c: explosion(): Bugfix: Set FLAG_NO_APPLY before |
| 18076 |
moving the exploding object to the top. - Jan Echternach 6/8/2000 |
| 18077 |
|
| 18078 |
server/spell_util.c: put_a_monster(): First create the monster |
| 18079 |
completely, then just insert its head. - Jan Echternach 6/8/2000 |
| 18080 |
|
| 18081 |
server/time.c: generate_monster(): Bugfix: Don't free generators that |
| 18082 |
are used up in this function. process_object() already does this. |
| 18083 |
This fixes steambolt (which is a generator but must not used up here - |
| 18084 |
generate_monster() wasn't looking at FLAG_IS_USED_UP) and all generators |
| 18085 |
which should really be used up (because process_object() didn't expect |
| 18086 |
generate_monster() to destroy the object). - Jan Echternach 6/8/2000 |
| 18087 |
|
| 18088 |
server/rune.c: trap_disarm(): Bugfix: Use SK_level() to determine |
| 18089 |
disarmer's level. Fixes server crash if multisquare monster casts |
| 18090 |
"disarm". - Jan Echternach 6/8/2000 |
| 18091 |
|
| 18092 |
server/attack.c: hit_map(): Use was_destroyed() to properly check for |
| 18093 |
destroyed next object. Use llevError for error messages. Skip all |
| 18094 |
objects that are (no longer) at the specified map position. |
| 18095 |
- Jan Echternach 6/8/2000 |
| 18096 |
|
| 18097 |
server/map.h server/main.c Increased buffer sizes for map paths. |
| 18098 |
Needed for random map code. --PeterM 6/6/2000 |
| 18099 |
|
| 18100 |
6/4/2000: Fix done to disease.c which causes diseases to |
| 18101 |
put experience into the appropriate category. --PeterM |
| 18102 |
|
| 18103 |
6/4/2000: Added race fields to a lot of monsters. Modified |
| 18104 |
disease arcs so that they'll be specific to races. Changed |
| 18105 |
include/spellist.h to re-enable the disease spells. --PeterM |
| 18106 |
|
| 18107 |
6/4/2000 (disease.c) Added a self-limiting parameter to diseases so |
| 18108 |
that their power can be tuned to be reasonable. --PeterM |
| 18109 |
|
| 18110 |
lib/crossfire.png: Some floors modified to no longer have transperencies. |
| 18111 |
include/newserver.h: Add Send_Face_Png made, also update versions of |
| 18112 |
the protocol |
| 18113 |
include/newclient.h: Add CF_FACE_PNG constant. |
| 18114 |
socket/request.c: Add support for receiving PNG facemode request, |
| 18115 |
ad final logic to send png images to the client. |
| 18116 |
Changes by Mark Wedel, 6/2/2000 |
| 18117 |
|
| 18118 |
lib/checkarch.pl: Check for archetypes with type FIRECHEST but no level. |
| 18119 |
- Jan Echternach 5/29/2000 |
| 18120 |
|
| 18121 |
server/apply.c: move_apply(): Added handling of THROWN_OBJ, CANCELLATION |
| 18122 |
and BALL_LIGHTNING. |
| 18123 |
server/spell_effect.c: cancellation(): Traverse inventory of objects |
| 18124 |
with type THROWN_OBJ. |
| 18125 |
- Jan Echternach 5/29/2000 |
| 18126 |
|
| 18127 |
server/player.c: fire_bow() and server_skills.c: do_throw(): Bugfix: Don't |
| 18128 |
use op->count of freed objects. Use was_destroyed() to check for freed |
| 18129 |
objects instead of QUERY_FLAG (FLAG_FREED). - Jan Echternach 5/29/2000 |
| 18130 |
|
| 18131 |
server/spell_util.c: fire_a_ball(): Bugfixes: Use op->other_arch as |
| 18132 |
the archetype to fire, not FBULLET. (-> Firechests now cast fire balls |
| 18133 |
again, not snowballs.) Set level of fired archetype. Check if object |
| 18134 |
was destroyed after insert_ob_in_map(). - Jan Echternach 5/29/2000 |
| 18135 |
|
| 18136 |
server/time.c: move_firewall() and move_firechest(): Do nothing if |
| 18137 |
object has no map. Fixes server crashes if a dm creates such a thing |
| 18138 |
in the inventory. - Jan Echternach 5/29/2000 |
| 18139 |
|
| 18140 |
lib/collect.pl: Modify so that it does not complain about png files in the |
| 18141 |
arch directory MSW 5/28/2000 |
| 18142 |
|
| 18143 |
common/item.c: Fix query_short_name - wasn't generating all item names |
| 18144 |
properly because of changes made a few days ago - some areas manipulate |
| 18145 |
the string being worked on and was not updating the length properly. |
| 18146 |
MSW 5/26/2000 |
| 18147 |
|
| 18148 |
doc/mapguide: Fix some typos. MSW 5/26/2000 |
| 18149 |
|
| 18150 |
include/define.h: Add MIN_ACTIVE_SPEED value to determine what threshold |
| 18151 |
something will be put on the active list or not instead of using |
| 18152 |
varying values throughout the source code. |
| 18153 |
common/item.c, common/object.c, server/monster.c, server/pets.c, |
| 18154 |
server/spell_effect.c: Updated to use the MIN_ACTIVE_SPEED instead of |
| 18155 |
hardcoded values. MSW 5/26/2000 |
| 18156 |
|
| 18157 |
include/define.h,include/global.h, common/image.c: Remove following old |
| 18158 |
face information: INV_*_FACES, BLOCKED_FACE, STIPPLE[12]_FACE. This |
| 18159 |
is just a general cleanup - the server has not used these since the |
| 18160 |
X11 code was pulled from the server. MSW 5/26/2000 |
| 18161 |
|
| 18162 |
common/living.c: Add entries for the attack type AT_INTERNAL in description. |
| 18163 |
include/material.h: Update to include saves against INTERNAL attacktype. |
| 18164 |
include/living.h: Remove defunct objects_saves external referance. |
| 18165 |
The additions of internal to the tables should not really be needed, as |
| 18166 |
internal attacktypes should not be used publically, but these also act as |
| 18167 |
placeholders for future attacktypes. MSW 5/26/2000 |
| 18168 |
|
| 18169 |
* server/attack.c: hit_map(), hit_player(); server/spell_effect.c: |
| 18170 |
move_cone(); server/rune.c: spring_trap(); server/spell_util.c: |
| 18171 |
move_missile(): Bugfix: Added missing was_destroyed() calls. |
| 18172 |
* server/rune.c: spring_trap(): Bugfix: Call trap_show() before the rune |
| 18173 |
has a chance to be destroyed. |
| 18174 |
* server/attack.c: hit_map(), hit_player(): Check for freed objects |
| 18175 |
right at the beginning of the function. Removed check that hitter has |
| 18176 |
a name from hit_player(). |
| 18177 |
* server/spell_util.c: move_cone(): Bugfix: Remove cone objects in |
| 18178 |
inventories from active list, this fixes the cone without map problem when |
| 18179 |
a flower was hit with ice and put into an icecube. |
| 18180 |
* server/spell_util.c: move_missile(): Bugfix: Don't call hit_map() while |
| 18181 |
missile is removed from the map. |
| 18182 |
* server/apply.c: manual_apply(): Handle MMISSILE. |
| 18183 |
- Jan Echternach 5/26/2000 |
| 18184 |
|
| 18185 |
* server/spell_effect.c: animate_weapon() and server/spell_util.c: |
| 18186 |
summon_monster(): Bugfix: Set FLAG_FRIENDLY for friendly objects. |
| 18187 |
- Jan Echternach 5/26/2000 |
| 18188 |
|
| 18189 |
* server/attack.c: hit_player(): Bugfix: remove_friendly_object() |
| 18190 |
was called always after an object with type GOLEM had been killed, |
| 18191 |
but friendly objects are objects with FLAG_FRIENDLY, not objects with |
| 18192 |
type GOLEM. This fixes some "Remove_friendly_object(): Can't find |
| 18193 |
object" errors. - Jan Echternach 5/26/2000 |
| 18194 |
|
| 18195 |
----------------------------------- |
| 18196 |
--- BEGIN apply() cleanup patch --- Jan Echternach 26/5/2000 |
| 18197 |
----------------------------------- |
| 18198 |
|
| 18199 |
* player specific code moved from apply() to player_apply() and |
| 18200 |
player_apply_below(). |
| 18201 |
|
| 18202 |
* apply(): null pointer check removed |
| 18203 |
|
| 18204 |
* (bugfix?) print message if scroll is unusable because of invalid |
| 18205 |
spell number |
| 18206 |
|
| 18207 |
* bugfix: if the altar casted a spell, the message was sent to the |
| 18208 |
(destroyed!) sacrifice, not the player |
| 18209 |
|
| 18210 |
* split apply() -> move_apply() / manual_apply() |
| 18211 |
|
| 18212 |
* move_apply(), check_walk_on(), insert_ob_in_map() and other functions: |
| 18213 |
New parameter 'originator' that is the object that caused another object |
| 18214 |
to be inserted into the map. This removes the need to look through all |
| 18215 |
map objects above an altar to find the player who dropped the sacrifice. |
| 18216 |
|
| 18217 |
* always check FLAG_UNPAID in manual_apply() |
| 18218 |
|
| 18219 |
* don't check FLAG_UNPAID in apply_special(), new function |
| 18220 |
monster_apply_special() which checks FLAG_UNPAID and calls apply_special() |
| 18221 |
|
| 18222 |
* many new functions like apply_altar() and apply_spellbook() to make |
| 18223 |
the switch statements in move_apply() and manual_apply() shorter |
| 18224 |
|
| 18225 |
* changes to actual apply() code: |
| 18226 |
|
| 18227 |
ALTAR: |
| 18228 |
spell casting altars should work now if not operated by a player |
| 18229 |
common/button.c, operate_altar(): altar's message is sent to altar's |
| 18230 |
map, not player's map |
| 18231 |
bugfix: if sacrifice was accepted, apply() didn't tell the caller |
| 18232 |
that it has been destroyed |
| 18233 |
ARROW, CONE, FBULLET, BULLET: |
| 18234 |
now returns 'victim destroyed' if victim was killed by the attack |
| 18235 |
TRAPDOOR: |
| 18236 |
play sound only if something fell through the trapdoor |
| 18237 |
print trapdoor message _before_ falling into trapdoor |
| 18238 |
TRIGGER_ALTAR (in check_trigger()): |
| 18239 |
don't check for sacrifices if called from animate_trigger() |
| 18240 |
don't call check_trigger() from fix_auto_apply() anymore (this change |
| 18241 |
breaks maps with altars that have their sacrifice already stored on |
| 18242 |
them) |
| 18243 |
DEEP_SWAMP: |
| 18244 |
deep_swamp() -> walk_on_deep_swamp() / move_deep_swamp() |
| 18245 |
when deep_swamp() (now move_deep_swamp()) is called from |
| 18246 |
process_object(), assume that state (swamp->stats.food) is already 1 |
| 18247 |
EXIT: |
| 18248 |
removed support for multisquare players |
| 18249 |
don't print 'is closed' message when moving on an exit, only print this |
| 18250 |
message if exit is applied manually |
| 18251 |
SIGN: |
| 18252 |
only increment last_eat if it hadn't reached the limit yet |
| 18253 |
SPELLBOOK: |
| 18254 |
removed partial support for applying by monsters |
| 18255 |
BOW, WAND, ROD, HORN: |
| 18256 |
moved code to apply_special() |
| 18257 |
CLOCK: |
| 18258 |
bugfix: Monsters must not apply a clock, they would crash the server. |
| 18259 |
POWER_CRYSTAL: |
| 18260 |
Bugfix? Don't call esrv_update_item() if not applied by a player. |
| 18261 |
LIGHTER: |
| 18262 |
Bugfix? Just return 0 if not applied by a player. |
| 18263 |
|
| 18264 |
* changes to apply_special(): |
| 18265 |
|
| 18266 |
BOW: |
| 18267 |
remove double check_skill_to_apply() |
| 18268 |
ROD, HORN: |
| 18269 |
change message from "you apply ..." to "you ready ..." |
| 18270 |
|
| 18271 |
BOW: FLAG_READY_BOW is now set by apply_special(), but that seems |
| 18272 |
redundant because monster_check_apply() also sets this flag. Remove |
| 18273 |
setting of this flag from apply_special() because it could have a |
| 18274 |
more complex meaning in monster.c or remove setting of this flag from |
| 18275 |
monster_check_apply() because such stuff should be handled in apply.c? |
| 18276 |
FLAG_READY_BOW is also unset in apply_special() if a bow is unapplied. |
| 18277 |
|
| 18278 |
CONE: |
| 18279 |
don't multiply damage by 20 |
| 18280 |
SIGN: |
| 18281 |
you can hear magic mouths even if you are blind |
| 18282 |
however, now you can also read signs with FLAG_WALK_ON/FLAG_FLY_ON if you are |
| 18283 |
blind |
| 18284 |
(different object types or a new flag would be required) |
| 18285 |
RUNE: |
| 18286 |
detonation moved from move_rune() to move_apply() -> runes will now always |
| 18287 |
detonate if somebody steps on them |
| 18288 |
allow runes with FLAG_FLY_ON |
| 18289 |
|
| 18290 |
completely removed GRAVE and MONEY_CHANGER |
| 18291 |
|
| 18292 |
common/object.c: was_destroyed(): new function |
| 18293 |
include/object.h: new typedef tag_t |
| 18294 |
move_apply() returns void, check_walk_on() uses was_destroyed() |
| 18295 |
|
| 18296 |
lib/checkarch.pl: |
| 18297 |
check for archetypes with walk_on, walk_off, fly_on or fly_off and without |
| 18298 |
a type |
| 18299 |
check for archetypes with type FIREWALL (type 62) and without a level |
| 18300 |
|
| 18301 |
* server/apply.c: Bugfix: Don't skip calls to change_skill() if wizard - |
| 18302 |
calc_skill_exp() requires change_skill() to set the current experience object. |
| 18303 |
|
| 18304 |
* server/monster.c: find_mon_throw_ob(): Bugfix: Unapply applied object even |
| 18305 |
if heaviest object was choosen. |
| 18306 |
Bugfix: Use monster_apply_special() to unapply, clearing FLAG_APPLIED isn't |
| 18307 |
enough. -> Should fix the "HAS_READY_BOW without bow" errors. |
| 18308 |
* server/skills.c: find_throw_ob(): Bugfix: Use player_apply(), clearing |
| 18309 |
FLAG_APPLIED isn't enough. |
| 18310 |
Replace redundant check for FLAG_INV_LOCKED with error message at end of |
| 18311 |
function if the first check failed somehow and we have choosen an object with |
| 18312 |
FLAG_INV_LOCKED. |
| 18313 |
make_throw_ob(): error message if object is applied |
| 18314 |
|
| 18315 |
* lib/checkarch.pl: check that potions (type 5, POTION) have a level |
| 18316 |
|
| 18317 |
* server/apply.c: apply_special(): Handle all cases of applying and unapplying |
| 18318 |
skill objects. |
| 18319 |
* server/apply.c: manual_apply(SKILL): Just call apply_special(). |
| 18320 |
* server/skill_util.c: change_skill(): Rewrite to simply use apply_special() |
| 18321 |
for changing skills. |
| 18322 |
|
| 18323 |
* server/apply.c: apply_special(): Bugfix: Fixed return values. |
| 18324 |
|
| 18325 |
* server/skill_util.c: link_player_skills(): Bugfix: Don't set exp_obj for |
| 18326 |
(visible) skill tools. |
| 18327 |
* server/skill_util.c: link_player_skills(): Bugfix? Reset op->chosen_skill |
| 18328 |
and FLAG_READY_SKILL because we have unapplied all skills. |
| 18329 |
* server/input.c: legal_range(): Bugfix: range_skill is valid only if |
| 18330 |
op->chosen_skill != NULL, not when there is some (unapplied) skill somewhere |
| 18331 |
in the inventory. |
| 18332 |
* server/login.c: check_login(): Bugfix: call legal_range() after |
| 18333 |
init_player_skills() - we can't handle range_skill correctly if skills haven't |
| 18334 |
been initialized. |
| 18335 |
* server/login.c: check_login(): Bugfix: Check return value of legal_range(), |
| 18336 |
and reset op->contr->shoottype to range_none if range was invalid. |
| 18337 |
* server/login.c: check_login(): Bugfix: Don't call fix_weight() - fixing |
| 18338 |
the weight of _all_ players isn't necessary. Just initialize op->carrying |
| 18339 |
directly with sum_weight() instead. This also removes the problem of |
| 18340 |
updating the weight of an object that hasn't been sent to the client yet. |
| 18341 |
* server/login.c: check_login(): Bugfix: We need to call fix_player() |
| 18342 |
(init_player_skills() needs this, and it also makes the code more robust). |
| 18343 |
|
| 18344 |
* server/apply.c: apply_altar(): Bugfix: Print altar's message before |
| 18345 |
casting the spell. |
| 18346 |
|
| 18347 |
* server/spell_util.c: move_cone(): Use copy_owner() instead of set_owner() |
| 18348 |
and manually correcting the skill and experience object pointers. |
| 18349 |
* server/spell_util.c: cast_cone(): Don't set FLAG_FLYING - the archetype |
| 18350 |
needs to have this anyway for move_cone() to work properly. Instead, print |
| 18351 |
error messages if FLAG_FLYING, FLAG_WALK_ON or FLAG_FLY_ON are missing. |
| 18352 |
|
| 18353 |
* server/apply.c: move_apply(): TRAPDOOR: Bugfix: Multiply by op->nrof when |
| 18354 |
calculating the weight. |
| 18355 |
|
| 18356 |
* randommaps/standalone.c, server/apply.c: fix_auto_apply(): Bugfix: Don't |
| 18357 |
call check_trigger() for objects of type TRIGGER. For other trigger types, |
| 18358 |
call check_trigger() only if there is an object above the trigger. |
| 18359 |
This can be used to implement doors that are only open shortly after the map |
| 18360 |
has been loaded. |
| 18361 |
* common/button.c: check_trigger(): Many changes. The triggers should now |
| 18362 |
behave as described in crossfire.doc. -> This breaks maps that rely on old |
| 18363 |
buggy behaviour. |
| 18364 |
|
| 18365 |
* server/monster.c: monster_apply_below(): will_apply & 1 now also applies |
| 18366 |
TRIGGER objects, not only HANDLE objects. Allows an interesting solution for |
| 18367 |
/asyvan/gate9 if there is no second player who can open the middle grate. |
| 18368 |
|
| 18369 |
* common/button.c: check_trigger(TRIGGER_PEDESTAL) and update_button(PEDESTAL): |
| 18370 |
Bugfix: Handle objects with heads correctly. |
| 18371 |
|
| 18372 |
* server/c_object.c: drop_object() and socket/item.c: look_at(): Bugfix: If a |
| 18373 |
player is moved on top with remove_ob()/insert_ob_in_map(), FLAG_NO_APPLY must |
| 18374 |
be set temporarily. |
| 18375 |
* common/object.c: remove_ob(): Bugfix: Don't call move_apply_func() if |
| 18376 |
FLAG_NO_APPLY is set. |
| 18377 |
|
| 18378 |
* server/apply.c: manual_apply(): Don't call apply_special() for objects |
| 18379 |
that are not in the inventory. Return 2 in this case. |
| 18380 |
* server/apply.c: player_apply_below(): Skip objects for which manual_apply() |
| 18381 |
returned 2. |
| 18382 |
|
| 18383 |
* server/apply.c: apply_spellbook(): Bugfix: Don't give experience for items |
| 18384 |
with FLAG_STARTEQUIP. |
| 18385 |
|
| 18386 |
--------------------------------- |
| 18387 |
--- END apply() cleanup patch --- Jan Echternach 26/5/2000 |
| 18388 |
--------------------------------- |
| 18389 |
|
| 18390 |
server/input.c: modify examine_monster to use the maxhp field instead of |
| 18391 |
the arch hp field to determine healthiness of the monster. Also, give |
| 18392 |
this information for all creatures, not just monsters or players. |
| 18393 |
MSW 5/23/200 |
| 18394 |
|
| 18395 |
socket/item.c: Add MAXITEMLEN define at top of file and use that to determine |
| 18396 |
at what point item commands should be broken up. Prior hard coded value |
| 18397 |
was not always large enough. MSW 5/23/2000 |
| 18398 |
|
| 18399 |
include/define.h: add safe_strcat inline/static function. Add |
| 18400 |
DESCRIBE_ABILITY_SAFE and DESCRIBE_PATH_SAFE which use the safe_strcat |
| 18401 |
to prevent buffer overuns. |
| 18402 |
common/item.c: Have query_name use HUGE_BUF for its buffer - query_short_name |
| 18403 |
uses that buffer size, and we call the same thing. have quer_name and |
| 18404 |
query_short_name use the safe_strcat function. Increase buffer size |
| 18405 |
in ring_desc to be a VERY_BIG_BUF and also use safe_strcat along with the |
| 18406 |
DESCRIBE_*_SAFE macros. |
| 18407 |
server/input.c: Modify examine.c to not get buffer overruns for very long/ |
| 18408 |
complicated items. Modify long_desc to also handle long names/descriptions |
| 18409 |
without buffer overruns. |
| 18410 |
socket/item.c: Modify the functions that prepend the length to the name |
| 18411 |
of the object to handle very long (>255) object names properly - now we |
| 18412 |
just truncate it and only send the first 255 bytes. add function |
| 18413 |
add_stringlen_to_sockbuf to make this task easier. |
| 18414 |
With the above changes, very long named items/items with very long |
| 18415 |
descriptions works properly in both the server (no crashes) and the |
| 18416 |
client (no crashes/protocol errors) MSW 5/22/2000 |
| 18417 |
|
| 18418 |
common/item.c: Modify query_short_name to avoid buffer overflow on long |
| 18419 |
ring descriptions. Also, increased size of buffer in this function so |
| 18420 |
that longer ring descriptions will not get truncated. MSW 5/22/2000 |
| 18421 |
|
| 18422 |
server/c_chat.c: Add standard banner to top of file. Fix say command so |
| 18423 |
that it does not crash the server if something beyond 256 characters is |
| 18424 |
spoken - extra data is just truncated. MSW 5/22/2000 |
| 18425 |
|
| 18426 |
common/object.c: Splitted set_owner() into set_owner_simple() and |
| 18427 |
set_owner(). copy_owner(): New function. |
| 18428 |
server/spell_util.c: explode_object(): Use copy_owner() instead of setting |
| 18429 |
skill and experience objects manually. Bugfix: Don't use op->owner |
| 18430 |
directly (fixed by using the caster in call to SP_level_dam_adjust(), |
| 18431 |
not the owner, which was wrong anyway). |
| 18432 |
server/spell_util.c: fire_arch_from_position(): Use copy_owner() instead |
| 18433 |
of set_owner() if 'op' isn't the real owner but only a spell object |
| 18434 |
owned by somebody else. |
| 18435 |
server/spell_util.c: move_swarm_spell(): Use the swarm spell object as |
| 18436 |
the owner in call to fire_arch_from_position(), which now handles this |
| 18437 |
case correctly. |
| 18438 |
server/spell_util.c: fire_swarm(): Call tailor_god_spell(). |
| 18439 |
server/gods.c: determine_god(): op->type==SWARM_SPELL is a spell. |
| 18440 |
server/gods.c: tailor_god_spell(): op->type==SWARM_SPELL is a spell. |
| 18441 |
Always abort function if we couldn't find a god. Always add god's |
| 18442 |
attacktype if the spellop's attacktype has AT_GODPOWER. |
| 18443 |
- Jan Echternach 22/5/2000 |
| 18444 |
|
| 18445 |
common/init.c, common/loger.c, include/logger.h, server/init.c: New |
| 18446 |
log level llevInfo which is the new default log level. |
| 18447 |
Many other files: Use llevInfo instead of llevError where appropriate. |
| 18448 |
Use 'settings.debug >= llevDebug' instead of 'settings.debug'. |
| 18449 |
- Jan Echternach 21/5/2000 |
| 18450 |
|
| 18451 |
server/main.c: Use a marker object to track current position in the list |
| 18452 |
of active objects. Using a pointer didn't work because all objects on |
| 18453 |
that list can be removed from it by process_object(). One of the things |
| 18454 |
this fixes is bogus "Free object on list" errors. |
| 18455 |
- Jan Echternach 21/5/2000 |
| 18456 |
|
| 18457 |
crossedite/Makefile.in: Modify to use $(MAKE) instead of make when |
| 18458 |
descending into subdirectories - fixes compilation on FreeBSD - MSW 5/17/2000 |
| 18459 |
|
| 18460 |
socket/init.c: Fix incorrect check on return value from fread when |
| 18461 |
loading xpm images. MSW 5/17/2000 |
| 18462 |
|
| 18463 |
Fix server/spell_effect.c - was assigning altar->other_arch to an object |
| 18464 |
and not archetype MSW 5/16/2000 |
| 18465 |
|
| 18466 |
server/spell_effect.c: magic_wall(): Duration of darkness spell now |
| 18467 |
implemented with op->stats.food. This avoids problems with very low |
| 18468 |
speed values that were interpreted as infinite duration. |
| 18469 |
lib/spell_params: Changed duration parameters of darkness spell to |
| 18470 |
give a reasonable duration with the new formula. |
| 18471 |
- Jan Echternach 16/5/2000 |
| 18472 |
|
| 18473 |
common/living.c: drain_stat(): There are 7 stats now, not 6. |
| 18474 |
- Jan Echternach 15/5/2000 |
| 18475 |
|
| 18476 |
server/rune.c: rune_attack(): Check that victim still exists after |
| 18477 |
hit_player() was missing. This fixes server crashes if monster applied |
| 18478 |
a chest, found a diseased needle and was killed by it. |
| 18479 |
- Jan Echternach 15/5/2000 |
| 18480 |
|
| 18481 |
server/spell_effect.c: cast_charm(): out_of_map() check was missing. |
| 18482 |
This fixes server crashes when a player casted this spell near the |
| 18483 |
edge of a map. - Jan Echternach 15/5/2000 |
| 18484 |
|
| 18485 |
|
| 18486 |
Make image files and code more generic. This was largely done to make |
| 18487 |
adding support for png files easier, but in reality, it means adding support |
| 18488 |
for any new file format is now trivially easy. Format of the image |
| 18489 |
file is: |
| 18490 |
IMAGE <image num> <datalen> <image name>\n |
| 18491 |
followed by the image data. |
| 18492 |
This allows support for binary image formats (png), but also means that |
| 18493 |
the server doesn't need to know anything about the image format - rather |
| 18494 |
it is all just data as far as the server is concerned. I think this |
| 18495 |
actuallyy loads the xpm data a little faster - it would make sense that |
| 18496 |
it should, since it just reads all the data in with one fread instead |
| 18497 |
of parsing it line by line waiting for the end image delimeter. |
| 18498 |
Note: While png images are loaded, they are currently not supported |
| 18499 |
in the client nor will the server send them - that is the next step |
| 18500 |
in the work, but that will require just a few minor changes to the |
| 18501 |
server - most of those change will be in the client. |
| 18502 |
|
| 18503 |
crossedit/xutil.c: Merge bitmap & pixmap load routine into one called |
| 18504 |
ReadImages, function modified to use above format. |
| 18505 |
crossedit/App.c: Call ReadImages to load images. |
| 18506 |
include/newserver.h: Change FaceInfo structure to have arrays of data |
| 18507 |
and datalength instead of explicity entries for pixmap vs bitmap data. |
| 18508 |
lib/adm/make_xpm_file.pl, lib/crossfire.cfb, lib/xbmtobdf.c: Removed - |
| 18509 |
either note needed or replaced by new naming scheme. |
| 18510 |
lib/adm/collect_images.pl: Replacement/improvement of make_xpm_file.pl |
| 18511 |
above - this handles all image formats (xbm, xpm, png). This is |
| 18512 |
also more intelligent in that it will not try to rebuild the image files |
| 18513 |
if there is not a valid arch directory. |
| 18514 |
lib/crossfire.png, lib/crossfire.xbm (new files): .png file is for png |
| 18515 |
images. xbm is to keep with the new standardized naming convention used |
| 18516 |
and is for the bitmaps. |
| 18517 |
lib/crossfire.xpm: New format used in file. |
| 18518 |
lib/Makefile.in: Modified to collect via new script as well as new |
| 18519 |
directives to collect (png files). |
| 18520 |
socket/init.c: Modified to load with the new format and data structures. |
| 18521 |
socket/request.c: Modified to send data with the new data structures |
| 18522 |
provided. |
| 18523 |
|
| 18524 |
End of image changes, MSW 5/13/2000 |
| 18525 |
|
| 18526 |
configure.in, configure: Add check for perl so that we can call scripts |
| 18527 |
properly - MSW 5/13/2000 |
| 18528 |
|
| 18529 |
common/re-cmp.c: Add some tolower calls in the comparisons so most |
| 18530 |
regular expressions should not be case insenstive (makes matches & says |
| 18531 |
work better). Note that I did not change the behaviour on range matches |
| 18532 |
(Z-f for example), as I thought there may be side effects in that case. |
| 18533 |
MSW 5/8/2000 |
| 18534 |
|
| 18535 |
socket/request.c: Add length checking to NewPlayerCmd so that if the client |
| 18536 |
sends us a really long command, we just truncate the end of it and not |
| 18537 |
overwrite our internal buffers causing crashes. MSW 5/8/2000 |
| 18538 |
|
| 18539 |
server/player.c: add out_of_map check to stand_near_hostile function. This |
| 18540 |
fixes a server crash if the player uses a hiding skill near the edge of a map. |
| 18541 |
MSW 5/8/2000 |
| 18542 |
|
| 18543 |
common/arch.c, common/loader.l (loader.c): Modify the load routines |
| 18544 |
to strip off trailing whitespace in object names and other_arch fields - |
| 18545 |
I believe this is why altars to Sorig did not generally work, and while |
| 18546 |
generally that white space should not exist, doing a little extra checking |
| 18547 |
for it is not a bad idea - MSW 4/26/2000 |
| 18548 |
|
| 18549 |
Add HOLY_ALTAR type, and use that for praying over for gods and the |
| 18550 |
like. |
| 18551 |
doc/crossfire.doc: Add description of HOLY_ALTAR type and meaning |
| 18552 |
of fields. |
| 18553 |
common/map.c: Disable consecration code for altars. |
| 18554 |
include/define.h: Add type for HOLY_ALTAR |
| 18555 |
include/sproto.h: Update for change of some functions below. |
| 18556 |
server/c_wiz.c: Modify setgod command to call become_follower with |
| 18557 |
proper second arg. |
| 18558 |
server/gods.c: Change become_follower to take object pointer to god instead |
| 18559 |
of name, since the holy_altar has the pointer in its other_arch. |
| 18560 |
Modify pray_at_altar to use the new fields, as well as fixed |
| 18561 |
what seemed to be numerous bugs in that function. |
| 18562 |
sever/skills.c: Change check from ALTAR to HOLY_ALTAR, also change |
| 18563 |
check to see if HOLY_ALTAR is consecrated by looking at the |
| 18564 |
other_arch field. |
| 18565 |
server/spell_effect.c: Update consecrate so that caster must be |
| 18566 |
higher effective level than the altar, also update for |
| 18567 |
differing fields. |
| 18568 |
maps/thomas/sisters/shrine0, map/thomas/sisters/tower0: Remove |
| 18569 |
title from altars on these maps - these were the only two maps |
| 18570 |
using old style altars consecrated to a god. Since it appears the |
| 18571 |
real purpose of the altars on these maps was to trigger something |
| 18572 |
else, they were kept as old style altars. |
| 18573 |
arch/gods/altars (relocated from arch/indoors, as I think the new |
| 18574 |
location makes more logical sense): Update for new fields/format. |
| 18575 |
This also affects lib/archetypes, lib/bmaps.paths, lib/crossfire.xpm, |
| 18576 |
lib/crossfire.cfb |
| 18577 |
lib/adm/archsearch.pl: Modified to hunt out old archetypes - some of the |
| 18578 |
changes could be useful in general cases. |
| 18579 |
MSW 4/26/2000 |
| 18580 |
|
| 18581 |
server/spell_util.c: Fix move_golem so that multi square avatars (golems) |
| 18582 |
don't hit themselves. Remove will_hit_self function (only used in |
| 18583 |
move_golem), since it did not work. Change structure & indenting of |
| 18584 |
move_golem function so it isn't quite so nested - functionality |
| 18585 |
remains the same. When we do find something to kill in move_golem, |
| 18586 |
call attack_ob against it instead of hit_map - hit_map is not save |
| 18587 |
for multi object hitters. MSW 4/24/2000 |
| 18588 |
|
| 18589 |
Key usage change: Add new command 'usekeys' that specify how keys |
| 18590 |
are searched for. The three options are inventory, keyrings, and containers. |
| 18591 |
These options apply to both standard keys and special keys. If the player |
| 18592 |
has a key for the door but it is in a container that will not be used, |
| 18593 |
print a friendly message of the key name and container name. Files |
| 18594 |
affected: |
| 18595 |
help/usekeys: Added describing options |
| 18596 |
lib/Makefile.in: Addition of help/usekeys above. |
| 18597 |
include/player.h: Add new enumeration and entry into player structure |
| 18598 |
include/sproto.h: New function prototype |
| 18599 |
server/apply.c: change of Find_Key to new function with slightly |
| 18600 |
different options |
| 18601 |
server/c_misc.c: add function to support 'usekeys command. |
| 18602 |
server/commands.c: addition of usekeys command |
| 18603 |
server/player.c: rewrite & rename of find_key command, as well as changes |
| 18604 |
to move_player_attack |
| 18605 |
Mark Wedel 4/21/2000 |
| 18606 |
|
| 18607 |
server/spell_effect.c: create_bomb(): New spell_type parameter, merely |
| 18608 |
for consistency with itself and with other spell casting functions. |
| 18609 |
- Jan Echternach 4/19/2000 |
| 18610 |
|
| 18611 |
server/spell_effect.c: create_bomb(): Set level of created bomb. |
| 18612 |
Fixes the problem that the splints were casted without a level. |
| 18613 |
- Jan Echternach 4/19/2000 |
| 18614 |
|
| 18615 |
lib/checkarch.pl: New perl script to check the archetypes file for |
| 18616 |
obvious bugs (like object that is alive but doesn't have a level). |
| 18617 |
- Jan Echternach 4/17/2000 |
| 18618 |
|
| 18619 |
include/spellist.h: "meteor swarm" is now a missile spell (PATH_MISSILE) |
| 18620 |
just like "comet". - Jan Echternach 4/17/2000 |
| 18621 |
|
| 18622 |
server/spell_util.c: path_level_mod(): Rewrote to fix countless bugs. |
| 18623 |
New interface with explicit base level parameter. |
| 18624 |
server/spell_effect.c: finger_of_death(): Call path_level_mod() with |
| 18625 |
correct base level. |
| 18626 |
server/spell_util.c: casting_level(): New function that combines |
| 18627 |
SK_level() with path_level_mod(). |
| 18628 |
- Jan Echternach 4/17/2000 |
| 18629 |
|
| 18630 |
server/spell_util.c: Several cosmetic changes (spell type parameter name |
| 18631 |
is spell_type, arch_to_object(get_archtetype(...)) is equivalent to |
| 18632 |
get_archetype(...), use casting_level() if applicable). |
| 18633 |
- Jan Echternach 4/17/2000 |
| 18634 |
|
| 18635 |
server/spell_util.c: fire_swarm(): New 'caster' parameter because |
| 18636 |
owner and caster can be different. Level of the swarm object is casting |
| 18637 |
level of the caster, not overall level of the owner. |
| 18638 |
server/spell_util.c: fire_arch_from_position(): Set level of fired |
| 18639 |
arch to casting level of caster. |
| 18640 |
server/spell_util.c: cast_cone(), cast_smite_spell(): Set level of spell |
| 18641 |
object to casting_level() and not SK_level() to honour path_attuned and |
| 18642 |
path_repelled of the caster. |
| 18643 |
server/spell_util.c: move_cone(): Just copy the level for new cone |
| 18644 |
objects. |
| 18645 |
|
| 18646 |
Missing level meant AT_DEATH didn't work, missing call to |
| 18647 |
path_level_mod()/casting_level() meant path_attuned/path_repelled was |
| 18648 |
ignored. - Jan Echternach 4/17/2000 |
| 18649 |
|
| 18650 |
server/player.c: fire_bow(): Set level of fired arrow. Arrows with |
| 18651 |
AT_DEATH are now working. - Jan Echternach 4/17/2000 |
| 18652 |
|
| 18653 |
server/player.c: fire(): Call check_skill_to_fire() even for wizards |
| 18654 |
because this function has the important side effect of setting the current |
| 18655 |
skill and experience objects. - Jan Echternach 4/17/2000 |
| 18656 |
|
| 18657 |
server/skills.c: do_throw(), server/time.c: stop_arrow(), server/player.c: |
| 18658 |
fire_bow(): Flying arrows and thrown objects have FLAG_NO_PICK set because |
| 18659 |
picking these objects is currently broken (and maybe it shouldn't be |
| 18660 |
possible anyway - picking up a _flying_ arrow?). - Jan Echternach 4/17/2000 |
| 18661 |
|
| 18662 |
server/c_wiz.c: set_god(): Didn't work at all because it was trying to |
| 18663 |
set the current player as his own god. - Jan Echternach 4/17/2000 |
| 18664 |
|
| 18665 |
server/map.c: check_path(): Return value was wrong if the name did not |
| 18666 |
refer to a regular file. A symptom of this bug was that the server crashed |
| 18667 |
if a wizard tried to enter a directory with the 'goto' command. |
| 18668 |
- Jan Echternach 4/17/2000 |
| 18669 |
|
| 18670 |
server/map.c: open_and_uncompress(): Check that the file we have opened |
| 18671 |
is (still) a regular file, fail if it's not. This is the right place |
| 18672 |
for such checks if we want to avoid race conditions (e.g. file replaced by |
| 18673 |
directory while trying to open it). - Jan Echternach 4/17/2000 |
| 18674 |
|
| 18675 |
c_party.c commands.c daemon.c disease.c gods.c spell_effect.c spell_util.c: |
| 18676 |
Cosmetic fixes - updates to rcsid string to include right file name as well as |
| 18677 |
updates to mail address and/or additions to top banner. Mark Wedel 4/13/2000 |
| 18678 |
|
| 18679 |
Various files: Updated my mailing address to be accurate - Mark Wedel |
| 18680 |
4/13/2000 |
| 18681 |
|
| 18682 |
doc/playbook/handbook.idx: Automatically generated file removed. This |
| 18683 |
is not something normally included in packed up distributions, so no reason |
| 18684 |
to have it in CVS - Mark Wedel 4/13/2000 |
| 18685 |
|
| 18686 |
doc/include_html.pl, doc/playbook/make_index.pl, doc/spoiler-html/makeps.pl, |
| 18687 |
lib/adm/make_xpm_file.pl: |
| 18688 |
|
| 18689 |
Change to use /usr/bin/perl instead of /usr/local/bin/perl - real change is to |
| 18690 |
find perl in configure.in and call the scripts with that. Mark Wedel |
| 18691 |
4/13/2000 |
| 18692 |
|
| 18693 |
|
| 18694 |
server/input.c: Don't try to calculate spellpoint costs for denied spells, |
| 18695 |
because these are undefined and are now causing lots of BUG messages. Also |
| 18696 |
improved formatting: spellpoint costs can be > 99, and don't fill everything |
| 18697 |
with zeros, use spaces instead. Patch by Jan Echternach, applied & checked in |
| 18698 |
by Mark Wedel, 4/12/2000 |
| 18699 |
|
| 18700 |
server/skill_util.c: Fixed some log messages that were lacking a newline at |
| 18701 |
the end. SK_level(): Rewrite of this function to simplify its structure. |
| 18702 |
Print error message if we find an invalid level. Add top copyright/contact |
| 18703 |
banner (msw) Patch by Jan Echternach, applied & checked in by Mark Wedel, |
| 18704 |
4/12/2000 |
| 18705 |
|
| 18706 |
server/apply.c, server/monster.c: Fix in apply.c for encounter maps |
| 18707 |
so that proper message is generated, and differentiate behaviour if it |
| 18708 |
is a floor vs not a floor. Also, change to both files in that apply_below |
| 18709 |
stops at the floor object. Patch by Jan Echternach, applied & checked in by |
| 18710 |
Mark Wedel, 4/12/2000 |
| 18711 |
|
| 18712 |
server/apply.c, doc/crossfire.doc: Fix to prevent server crashes when monster |
| 18713 |
applies poison object. doc file is updated to include accurate information on |
| 18714 |
values in poison object. Patch by Jan Echternach, applied & checked in by |
| 18715 |
Mark Wedel, 4/11/2000 |
| 18716 |
|
| 18717 |
CREDITS, server/main.c: Add Peter Gardner to list of credits. |
| 18718 |
Mark Wedel 4/4/2000 |
| 18719 |
|
| 18720 |
server/apply.c, improve_armour(): |
| 18721 |
Maximum armour value reduced to 90. Items can now always be improved up |
| 18722 |
to this value. For armour x you need level x, not level x + 1 as before. |
| 18723 |
esrv_send_item() and fix_player() also called if only magic value was |
| 18724 |
improved. Patch by Jan Echternach, applied & checked in by Mark Wedel, |
| 18725 |
4/4/2000 |
| 18726 |
|
| 18727 |
server/attack.c, attack_message(): |
| 18728 |
More messages. "grind to dust" is more damage than "shred to pieces". |
| 18729 |
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000 |
| 18730 |
|
| 18731 |
server/spell_effect.c, magic_wall(): |
| 18732 |
Fix calculation of duration of darkness spell. Before, you could get |
| 18733 |
huge negative speed values with high experience levels, which meant very |
| 18734 |
short duration. |
| 18735 |
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000 |
| 18736 |
|
| 18737 |
server/spell_util.c: |
| 18738 |
1) New argument of fire_swarm() to specify whether it's a magic attack. |
| 18739 |
All swarm spells except meteor swarm are now magic (just as the |
| 18740 |
underlying basic spell). |
| 18741 |
2) New function fire_arch_from_position() which doesn't use the owner's |
| 18742 |
position as the starting position of the fired arch. |
| 18743 |
3) move_swarm_spell(): Correctly set owner and magic in call to |
| 18744 |
fire_arch_from_position(). |
| 18745 |
4) Above changes fixes "cause many wounds" spell |
| 18746 |
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000 |
| 18747 |
|
| 18748 |
|
| 18749 |
common/map.c: Change calls in file to use insert_ob_in_map simple. |
| 18750 |
This fixes bugs with buttons not being applied correctly when the map |
| 18751 |
is loaded - the cause is that push_button is getting called for the |
| 18752 |
button before all the objects the button is linked to have been loaded. |
| 18753 |
Then when the map finishes loading, the call to update_button is called |
| 18754 |
and they are not in sync. This change should make loading slightly faster, |
| 18755 |
mostly because it does not call check_walk_on during the loading, so that |
| 18756 |
buttons don't get pushed/changed around. Mark Wedel 3/28/2000 |
| 18757 |
|
| 18758 |
server/player.c: If player is using pickup mode 6, only have them pick up |
| 18759 |
the item if they know it is magical. Prior to change, items would be |
| 18760 |
picked up if they are magical, but not if the player knew that, so the code |
| 18761 |
was giving extra knowledge to players. Bug reported by Kurt Fitzner, |
| 18762 |
checked in by Mark Wedel, 3/26/2000 |
| 18763 |
|
| 18764 |
common/map.c: Code fix by Kurt Fitzner so that unique maps will get |
| 18765 |
compressed if so needed. Fixes problem of unique maps not being |
| 18766 |
able to get reloaded as they are saved with the compress suffix but |
| 18767 |
not in compressed form. Code checked in by Mark Wedel, 3/26/2000 |
| 18768 |
|
| 18769 |
server/skills.c, server/spell_effect.c: Improve behaviour when identifying |
| 18770 |
items - the identify routine already updates the client if it is |
| 18771 |
in the players inventory, so only send update to client if the item is |
| 18772 |
on the map. Also, do full item update, as many fields may change, and |
| 18773 |
that is what the identify function does. Standard top of |
| 18774 |
file banner also added to skills.c file. Fixes problem of |
| 18775 |
objects in inventory being displayed with two numbers in from |
| 18776 |
(ie, two two bows +1). |
| 18777 |
Bug and initial fix of item updates by Kurt Fitzner, |
| 18778 |
implemented in a bit different way by Mark Wedel. 3/26/2000 |
| 18779 |
|
| 18780 |
Makefile.in, doc/Makefile.in: Modified so that making the docarchive |
| 18781 |
now works. The make must be done from the top level for it to work, since |
| 18782 |
some values are passed, but the doc/Makefile.in was missing some declarations |
| 18783 |
and had some other fixes that needed to be done. msw 3/22/2000 |
| 18784 |
|
| 18785 |
------------------------------------------------------------------------------ |
| 18786 |
Changes for 0.95.5: |
| 18787 |
|
| 18788 |
Makefile.in: comment out the EXTRA_FLAGS (which contains the -Wall |
| 18789 |
entry) - the presumption that everyone is going to use gcc to compile |
| 18790 |
crossfire is a poor one, and -Wall is only supported on gcc. I would |
| 18791 |
rather have it compile on the maximum number of systems without it |
| 18792 |
needing changes than to require the end user to make the customizations. |
| 18793 |
A better long term solution is to have configure.in check for gcc or |
| 18794 |
if -Wall is supported it and have it add it in. msw 3/21/2000 |
| 18795 |
|
| 18796 |
server/c_object.c: Fix pick_up_object function to deal with non players |
| 18797 |
picking up objects - prior to fix, program would crash when monsters |
| 18798 |
pick up objects. Also, add standard banner at top of file about |
| 18799 |
copyright, contact, version information. msw 3/21/2000 |
| 18800 |
|
| 18801 |
CREDITS, README: Updated to contain my new mailing address. In reality, |
| 18802 |
almost all the files have an out of date address for me, but these |
| 18803 |
are probably the ones people will look at most. README also updated |
| 18804 |
with new ftp location. msw 3/20/2000 |
| 18805 |
|
| 18806 |
include/Makefile.in: Update files to include material.h - need when |
| 18807 |
packing up new releases - msw 3/20/2000 |
| 18808 |
|
| 18809 |
doc/hanbook.ps, doc/spoiler.ps, doc/spoiler-html/spoiler.html: Rebuilt with |
| 18810 |
latest version of crossfire - not sure if there are any content changes, as |
| 18811 |
the tools to build the file have been updated on my system, causing many |
| 18812 |
changes to the prologue and outputted data. - msw 3/20/2000 |
| 18813 |
|
| 18814 |
|
| 18815 |
Change doc/spoiler-html/Makefile.in and doc/playbook-html/Makefile.in to use |
| 18816 |
$(datadir) instead of $(C_LIBDIR). Other add AWK and INCDIR lines so that it |
| 18817 |
properly builds with autoconf setup. msw 3/19/2000 |
| 18818 |
|
| 18819 |
Change spoiler.tex, handbook.tex to build properly with later versions |
| 18820 |
of tetex - added language specifier when using the babel package. |
| 18821 |
msw 3/19/2000 |
| 18822 |
|
| 18823 |
Add missing doc/playbook/fig directory to the CVS reposistory - |
| 18824 |
msw 3/18/2000 |
| 18825 |
|
| 18826 |
Change summon_cult_monster code so that it will no longer summon big monsters |
| 18827 |
on top of walls or the player. Also, if there is not space for a big |
| 18828 |
monster, try to find another pet monster that will fit in the space. |
| 18829 |
File affected: server/spell_effect.c - msw |
| 18830 |
|
| 18831 |
Change gorokh.arc to use anim devil instead of anim Lucifer - fixes crash |
| 18832 |
when using avatars of gorokh - msw |
| 18833 |
|
| 18834 |
Split off kill_player function from do some living, and check for player |
| 18835 |
death upon player login. This splits up an otherwise very large function, |
| 18836 |
but more importantly, the second point allows NOT_PERMADEATH to work as |
| 18837 |
expected when the player is dead when logged out. Previous, the if the |
| 18838 |
player was dead when they logged out, it would just kill off the character |
| 18839 |
permanently (without grave marker or anything), even in NOT_PERMADEATH |
| 18840 |
mode. Also, cleaned up player load code to remove code that supported |
| 18841 |
very old style save files. |
| 18842 |
Files changed: server/login.c server/player.c include/sproto.h - msw |
| 18843 |
|
| 18844 |
Change NO_STAT define in living.h,skillist.h,skill_util.c to NO_STAT_VAL |
| 18845 |
to remove conflict on AIX systems. - msw |
| 18846 |
|
| 18847 |
Fix error in configure.in - was referancing BZIP2, when it should have |
| 18848 |
used BZIP - msw 2/7/2000 |
| 18849 |
|
| 18850 |
server/skill_util.c: Fixed spelling of unwield |
| 18851 |
configure.in: Update -z checks to not use eval, double quote the variable. |
| 18852 |
This seems to be needed on solaris and probably other systems. |
| 18853 |
Both changes commited by Mark Wedel, 2/7/2000 |
| 18854 |
|
| 18855 |
---SMALL BUGFIX--- John Cater 5/11/1999 |
| 18856 |
server/attack.c: |
| 18857 |
- changed the logic in hit_player to attack enemy races with holy word |
| 18858 |
playtested |
| 18859 |
|
| 18860 |
|
| 18861 |
---BEGIN BATCH UPDATE--- DAMN 9/17/1999 |
| 18862 |
server/alchemy.c: |
| 18863 |
- minor cleanup |
| 18864 |
|
| 18865 |
server/apply.c: |
| 18866 |
- split multiple lighters |
| 18867 |
|
| 18868 |
server/attack.c: |
| 18869 |
- vulnerability gives -4 to saving throw against non-damage attack effects |
| 18870 |
- immunity to acid reduces the probability of corrosion |
| 18871 |
- immunity and protection and not vulnerability to acid prevents corrosion |
| 18872 |
- magic bonus improves item's saving throw against acid |
| 18873 |
- vulnerability to drain doubles rate of exp loss, protection halves rate |
| 18874 |
- holy word slaying is checked in hit_player, no need to double-check |
| 18875 |
in hit_player_attacktype |
| 18876 |
- prot:magic and vuln:magic affect all magical damage, not just raw magic |
| 18877 |
- Holy Word and Turn Undead affect undead at half strength if they're not |
| 18878 |
listed as an enemy race |
| 18879 |
- Holy Word and Turn Undead have no effect on undead if they're listed as |
| 18880 |
a friendly race |
| 18881 |
- minor bugfix/cleanup |
| 18882 |
|
| 18883 |
server/gods.c: |
| 18884 |
- minor bugfix/cleanup |
| 18885 |
- luck slightly improves chance of divine intervention |
| 18886 |
|
| 18887 |
server/input.c: |
| 18888 |
- fixed typo |
| 18889 |
|
| 18890 |
server/main.c: |
| 18891 |
- trivial bulletproofing, probably no effect |
| 18892 |
|
| 18893 |
server/player.c: |
| 18894 |
- sp regen penalty from armour calculated in fix_player instead of being |
| 18895 |
recalculated for each spell point gained. |
| 18896 |
|
| 18897 |
server/shop.c: |
| 18898 |
- payment will come from open pouches if you don't have enough in your |
| 18899 |
top-level inventory |
| 18900 |
- money for sold items will go into open pouches until they're full, |
| 18901 |
then overflow into top-level inventory |
| 18902 |
|
| 18903 |
server/skills.c: |
| 18904 |
- minor bugfix in throwing |
| 18905 |
- writing in one of a stack of books seperates one book out first |
| 18906 |
|
| 18907 |
server/spell_effect.c: |
| 18908 |
- generalized staff_to_snake to animate_weapon |
| 18909 |
|
| 18910 |
server/spell_util.c: |
| 18911 |
- Staff to Snake, Dancing Sword, and Animate Weapon spells now all use |
| 18912 |
animate_weapon function |
| 18913 |
- holy golems avoid damaging their owners |
| 18914 |
- raw mana spells |
| 18915 |
|
| 18916 |
common/living.c: |
| 18917 |
- minor bugfix |
| 18918 |
- fix_player now calculates sp regen penalty from armour |
| 18919 |
|
| 18920 |
common/readable.c: |
| 18921 |
- spelling fix: grimore -> grimoire |
| 18922 |
|
| 18923 |
doc/crossfire.doc: |
| 18924 |
- minor edits |
| 18925 |
|
| 18926 |
include/defines.h: |
| 18927 |
- moved object type numbers to object.h |
| 18928 |
- moved flag numbers to object.h |
| 18929 |
- moved NROFREALSPELLS to spells.h |
| 18930 |
- moved path numbers to spells.h |
| 18931 |
- moved DESCRIBE_PATH macro to spells.h |
| 18932 |
- moved ARMOUR_ and WEAPON_ macros to player.h |
| 18933 |
- moved player state numbers to player.h |
| 18934 |
- moved monster movement numbers to living.h |
| 18935 |
- moved NROFSKILLS to skills.h |
| 18936 |
|
| 18937 |
include/global.h: |
| 18938 |
- #defines from spells.h and material.h loaded early |
| 18939 |
|
| 18940 |
include/object.h: |
| 18941 |
- now has the #defines for object type numbers |
| 18942 |
|
| 18943 |
include/skills.h: |
| 18944 |
- moved NROFSKILLS here |
| 18945 |
|
| 18946 |
include/player.h: |
| 18947 |
- added gen_sp_armour variable |
| 18948 |
|
| 18949 |
include/spellist.h: |
| 18950 |
- added mana spells, Dancing Sword, and Animate Weapon |
| 18951 |
|
| 18952 |
include/spells.h: |
| 18953 |
- moved NROFREALSPELLS here and updated it |
| 18954 |
- now has the #defines for spell path nummbers |
| 18955 |
- added mana spells, Dancing Sword, and Animate Weapon |
| 18956 |
|
| 18957 |
include/sproto.h: |
| 18958 |
- added animate_weapon and pay_from_container prototypes |
| 18959 |
|
| 18960 |
include/material.h: |
| 18961 |
- new |
| 18962 |
|
| 18963 |
lib/spell_params: |
| 18964 |
- added entries for mana spells along with their fire equivalents |
| 18965 |
|
| 18966 |
lib/formulae: |
| 18967 |
- minor spelling fixes to match minor spelling fixes in artifacts |
| 18968 |
|
| 18969 |
lib/artifacts: |
| 18970 |
|
| 18971 |
Weapons |
| 18972 |
- Sanwe -> Gnarg (any weapon) |
| 18973 |
chance 5, value x10, magic 0, dam 120% |
| 18974 |
|
| 18975 |
- Lythander (any weapon) |
| 18976 |
chance 5, value x20, magic 0, luck +1, weight 90% |
| 18977 |
|
| 18978 |
- Gwormi -> Gaea (wooden weapons only) |
| 18979 |
chance 20, value x50, magic 2, regen +1, dam 110% |
| 18980 |
|
| 18981 |
- Slay Demon -> Valriel (any weapon) |
| 18982 |
chance 15, value x30, magic 2, weapon speed 120%, slaying demon |
| 18983 |
|
| 18984 |
- (new) Gorokh (any weapon) |
| 18985 |
chance 15, value x30, magic 2, weapon speed 120%, slaying angel |
| 18986 |
|
| 18987 |
- (new) the Devourers (any weapon) |
| 18988 |
chance 8, value x30, magic 1, attacktype: physical, cold, depletion |
| 18989 |
|
| 18990 |
- (new) Mostrai (axes and hammers only) |
| 18991 |
chance 10, value x12, magic 1, dam 140%, weight 115% |
| 18992 |
|
| 18993 |
- (new) Sorig (metal weapons only) |
| 18994 |
chance 5, value x15, magic 1, weight 95%, weapon speed 125% |
| 18995 |
attacktype physical, electricity |
| 18996 |
|
| 18997 |
- (new) Ruggilli (metal weapons only) |
| 18998 |
chance 5, value 15, magic 1, weight 85%, weapon speed 110% |
| 18999 |
attacktype physical, fire |
| 19000 |
|
| 19001 |
Helmets (moved to after weapons, with the rest of the armour) |
| 19002 |
- Lordliness -> Valriel (full helm only) |
| 19003 |
chance 20, value x50, magic 2, Wis +1, Cha +1 |
| 19004 |
|
| 19005 |
- Uriel -> Sorig |
| 19006 |
chance 10, value x20, magic 1, ac +1, armour 120%, prot electricity |
| 19007 |
|
| 19008 |
Shields |
| 19009 |
- Theodin -> Mostrai |
| 19010 |
chance 8, value x24, magic 1, prot fire |
| 19011 |
|
| 19012 |
- Gnarg |
| 19013 |
chance 8, value x12, magic 1, ac +1, armour 180%, Cha -1 |
| 19014 |
|
| 19015 |
Gauntlets |
| 19016 |
- (new) Sorig (gauntlets only) |
| 19017 |
chance 15, value x75, magic 2, armour 10, weight 125%, attack: electricity |
| 19018 |
|
| 19019 |
- (new) Sorig (gloves only) |
| 19020 |
chance 10, value x10, magic 1, armour 5, weight 125%, prot: electricity |
| 19021 |
|
| 19022 |
Armour |
| 19023 |
- (new) Valriel (plate and scale only) |
| 19024 |
chance 6, value x20, magic 1, armour 120%, weight 110% |
| 19025 |
|
| 19026 |
- (new) Gorokh (plate and scale only) |
| 19027 |
chance 6, value x15, magic 1, ac +2, armour 110%, weight 105% |
| 19028 |
|
| 19029 |
- (new) Ruggilli (plate, scale, or dragon armour) |
| 19030 |
chance 10, value x55, magic 3, ac +1, armour 120%, weight 90%, prot: fire |
| 19031 |
|
| 19032 |
- (new) Gaea |
| 19033 |
chance 10, value x25, magic 2, ac +1, armour 120% |
| 19034 |
|
| 19035 |
Cloaks |
| 19036 |
- (lesser version of cloak of the Underworld) the Devourers |
| 19037 |
chance 3, difficulty 3, value x50, magic 3, weight 50%, material 0, Cha -2, |
| 19038 |
prot: acid, drain, ghosthit, depletion |
| 19039 |
|
| 19040 |
Bows |
| 19041 |
- (new) Valriel |
| 19042 |
chance 10, value x15, magic 1, weight 110%, damage 200% |
| 19043 |
|
| 19044 |
- (new) Gorokh |
| 19045 |
chance 15, value x15, magic 2, damage 160%, attacktype: physical, acid |
| 19046 |
|
| 19047 |
- (new) Lythander (not crossbow) |
| 19048 |
chance 10, value x22, magic 1, weight 75%, wc +1, speed 150% |
| 19049 |
|
| 19050 |
- (new) Ruggilli (crossbow only) |
| 19051 |
chance 10, value x18, magic 2, weight 85%, wc +1, speed 110%, |
| 19052 |
attacktype: fire |
| 19053 |
|
| 19054 |
- (new) Sorig |
| 19055 |
chance 12, value x20, magic 2, weight 95%, wc +1, speed 125%, |
| 19056 |
attacktype: electricity |
| 19057 |
|
| 19058 |
- (new) Mostrai (crossbow only) |
| 19059 |
chance 5, value x50, magic 3, damage 140%, speed 75%, |
| 19060 |
attacktype: weaponmagic |
| 19061 |
|
| 19062 |
- (new) Thunder |
| 19063 |
chance 10, dificulty 5, value x10, magic 2, weight 90%, damage 150%, wc +2 |
| 19064 |
attacktype: physical, slow, paralyze |
| 19065 |
|
| 19066 |
...and a few minor spelling fixes |
| 19067 |
|
| 19068 |
---END OF BATCH UPDATE--- DAMN 9/17/1999 |
| 19069 |
|
| 19070 |
Add crossfire.oc.humbug.org.au server information to README file - msw |
| 19071 |
|
| 19072 |
Change compress method definitions from being determined by checks |
| 19073 |
on system type to having autoconf find the utilities for us. Also, add |
| 19074 |
bzip2 support. Files affected: Makefile.in configure.in common/map.c |
| 19075 |
server/init.c server/login.c include/config.h include/define.h |
| 19076 |
include/autoconf.h.in - msw |
| 19077 |
|
| 19078 |
Fix in server/rune.c - if the victim of a trap/rune is not on a map |
| 19079 |
and the object has a disease, it would crash the server. Temporary |
| 19080 |
fix put in to make sure there is a map, and if not, use a predefined |
| 19081 |
difficult of 1. I think the real issue is how can an object not on a map |
| 19082 |
be setting a trap (in this particular bug, reported by Klaus Elsbernd, |
| 19083 |
the victim was a thrown object) - msw |
| 19084 |
|
| 19085 |
Change by [email protected] - improve crossedit so that if you |
| 19086 |
try to load a map you alreay have in memory, it will raise the window - |
| 19087 |
it will also give you the option to forget, save changes, or just raise |
| 19088 |
the window if the in memory version of that map has been modified. Checked |
| 19089 |
in by msw. (crossedit, App.c, Edit.c, Edit.h) |
| 19090 |
|
| 19091 |
Bugfix in server/apply.c - apply_container() |
| 19092 |
When checking for keys to locked containers, only searched player's |
| 19093 |
inventory, not keyrings. Changed to use FindKey function in player.c, |
| 19094 |
which does search keyrings. |
| 19095 |
--DAMN |
| 19096 |
|
| 19097 |
Bugfix in server/main.c - enter_exit() |
| 19098 |
Unique maps were using their actual location as a path for moving to |
| 19099 |
a new map. They need to use the location of the original map, not |
| 19100 |
the character's individual copy of it. This is re-constructed from |
| 19101 |
the individual map's filename, which is based on the original path. |
| 19102 |
--DAMN |
| 19103 |
|
| 19104 |
Remove xbmtobdf man page - since it is run automatically and it is likely |
| 19105 |
that people will not run it manually (and it appears to be innacruate - or |
| 19106 |
at least imcomplete), may as well remove it. - msw |
| 19107 |
|
| 19108 |
Change install location of man pages to section 6 instead of section 1 - msw |
| 19109 |
|
| 19110 |
New man page submitted by Egbert Hinzen that is actually correct and |
| 19111 |
accurate as the options now relate to crossfire. - msw |
| 19112 |
|
| 19113 |
This one is a suggested fix for the alchemy bug that grants obscene |
| 19114 |
amounts of experience for certain formulas. Those formulas are the ones |
| 19115 |
that create items with a high fixed level, because those items are |
| 19116 |
pretty worthless otherwise. Dust of Repelling Undead, for example, is |
| 19117 |
level 30. |
| 19118 |
The fix I implemented here is to base the chance of success largely |
| 19119 |
on the level of the product, so it's very difficult to produce |
| 19120 |
something like Dust of Repelling Undead, and therefore worth the |
| 19121 |
extra experience. The chance of success is now based on the |
| 19122 |
following factors: |
| 19123 |
1) level of product |
| 19124 |
2) number of ingredients in formula |
| 19125 |
3) rarity of formula as listed in "formulae" data file |
| 19126 |
4) number of batches being made |
| 19127 |
5) Alchemy skill (if present) |
| 19128 |
6) enchantment of cauldron |
| 19129 |
7) luck |
| 19130 |
|
| 19131 |
patch from DAMN |
| 19132 |
This one makes a couple things level dependent that used to be fixed: |
| 19133 |
1) time it takes Word of Recall to take effect |
| 19134 |
2) amount of energy transferred by Transferrence spell |
| 19135 |
3) percentage of energy drained by Magic Drain spell |
| 19136 |
|
| 19137 |
Also, the following effects have been modified: |
| 19138 |
1) Followers of a cult that considers undead enemies have a penalty to |
| 19139 |
Command Undead. |
| 19140 |
2) Magic Drain gives back to the caster a small portion of the energy |
| 19141 |
drained from the victim. |
| 19142 |
|
| 19143 |
And a bug was fixed: |
| 19144 |
1) SP_level_dam_adjust used and SP_level_strength_adjust used the |
| 19145 |
player's level, where they should have used the caster's level. |
| 19146 |
--Patches from DAMN, applied by PeterM |
| 19147 |
|
| 19148 |
Marker object added, alchemy modified so that recipes |
| 19149 |
can require keycodes and MARKS to execute, detectors modified |
| 19150 |
to be able to detect MARKS, and all of this documented in |
| 19151 |
crossfire.doc --PeterM |
| 19152 |
|
| 19153 |
server/gods.c -- changing gods now costs players their special |
| 19154 |
prayers. --PeterM |
| 19155 |
server/alchemy.c -- levels less than ten no longer produce |
| 19156 |
cursed items, but only slag or nothing. --PeterM |
| 19157 |
server/shop.c -- unidentified stuff is worth at most 60gp or so. |
| 19158 |
---PeterM |
| 19159 |
|
| 19160 |
random_maps/style.c - fix type in the scandir function which cause |
| 19161 |
compilation problems for those systems that actually need it. - msw |
| 19162 |
|
| 19163 |
Change command_cast_spell so that it preserves a return value from |
| 19164 |
find_spell. This re-enables partial spell matching (ie, cast prot |
| 19165 |
will show all spells that start with that.) - msw |
| 19166 |
|
| 19167 |
------------------------------------------------------------------------------ |
| 19168 |
Change for 0.95.4: |
| 19169 |
|
| 19170 |
Add better comment in config.h about the DM_MAIL option - msw. |
| 19171 |
|
| 19172 |
Fixed and doc/playbook/Makefile.in doc/spoiler/Makefile.in so it works with |
| 19173 |
autoconf setup. |
| 19174 |
|
| 19175 |
Updated to properly generated handbook.ps when needed - msw |
| 19176 |
|
| 19177 |
doc/crossfire.doc: Updated with disease code notes, detector notes. |
| 19178 |
|
| 19179 |
crossedit: Fix in edit.c to ensure map objects (mainly is_floor objects) |
| 19180 |
are actually removed visually as well as from a pure object standpoint. |
| 19181 |
|
| 19182 |
Change to save_throw_object: If object is in players inventory and |
| 19183 |
is destroyed, send update to client. This can happen when trying to |
| 19184 |
ignite something in the inventory with flint and steel - msw. |
| 19185 |
|
| 19186 |
In apply_lighter, do more accurate check when seeing if the attempted |
| 19187 |
object was actually destroyed. Also, cache the item name so that if |
| 19188 |
it is destroyed, we have a proper name to print out. - msw |
| 19189 |
|
| 19190 |
fireborns changed to have Pow stat bonus instead of Wis |
| 19191 |
stat bonus. --PeterM |
| 19192 |
|
| 19193 |
Some problems in the random map code fixed: specificially, |
| 19194 |
1) fountains no longer attempted placement outside map |
| 19195 |
2) Ignore files/dirs named CVS when looking for styles. |
| 19196 |
|
| 19197 |
I changed a few of the maps to have exits to random maps. |
| 19198 |
I made one random house in Scorn, one random exit in the Hall of Bones |
| 19199 |
to an undead maze, another exit to a random map in the hole SE of |
| 19200 |
Scorn, and one in the bottom of the Tower of the Stars. --PeterM |
| 19201 |
|
| 19202 |
|
| 19203 |
Update lib/Makefile.in to create empty bookarch and temp.maps files as |
| 19204 |
part of install process. - msw |
| 19205 |
|
| 19206 |
Change configure.in script so that by default, files will be put in |
| 19207 |
installdir/var/crossfire and installdir/share/crossfire instead of |
| 19208 |
just installdir/var and installdir/share. This allows crossfire to be |
| 19209 |
installed more cleaning without it having its own top level directory. |
| 19210 |
Old installation behaviour can be gained by using --enable-old-layout when |
| 19211 |
running the configure script. - msw |
| 19212 |
|
| 19213 |
Patch by Carsten Pluntke that fixes a problem with unique maps not being |
| 19214 |
properly reloaded after being swapped out (main.c) - msw |
| 19215 |
|
| 19216 |
Fix so that when picking up objects from a container, the client gets |
| 19217 |
an update to remove the object display from the container (ie, if |
| 19218 |
you pick up all the gold coins from a container, the total in the players |
| 19219 |
inventory always got corrected, but the client still displayed some in the |
| 19220 |
container even if there should not be.) The change is in c_object.c - msw |
| 19221 |
|
| 19222 |
Check that hitter has a valid name before it attacks - fixes some |
| 19223 |
crashes (attack.c) - msw |
| 19224 |
|
| 19225 |
Enhance lib/collect.pl to ignore CVS directories - msw. |
| 19226 |
|
| 19227 |
|
| 19228 |
Improve auto_apply functions so that it will create treasures (random_* |
| 19229 |
items) inside other objects. There is still a limit in that it will only |
| 19230 |
look for these objects inside other top level objects - a random potion |
| 19231 |
inside a chest inside a monster will not be processed. But that |
| 19232 |
should be a rare case, and nesting containers very deep has never been |
| 19233 |
well supported in the code. The code affects is in the apply.c file. -msw |
| 19234 |
|
| 19235 |
Add Xaw to start of libraries when linking crossedit - fixes focus problem. |
| 19236 |
File affected configure.in - msw |
| 19237 |
|
| 19238 |
Fixed a bug in the "depletion on death" code. The depletion |
| 19239 |
never had any stat removal specified. --PeterM |
| 19240 |
|
| 19241 |
Remove berzerk code/variable from player structure. The code had |
| 19242 |
no effect - whatever functionality it once had has been removed in the |
| 19243 |
past. - msw |
| 19244 |
|
| 19245 |
|
| 19246 |
Add flag save information for FLAG_CLIENT_SENT that was otherwise |
| 19247 |
missing (loader.l). This fixes the disappearing archetype bug - msw |
| 19248 |
|
| 19249 |
|
| 19250 |
Fixed buffering bug in lowlevel.c |
| 19251 |
--David |
| 19252 |
|
| 19253 |
------------------------------------------------------------------------------ |
| 19254 |
Changes from Crossfire 0.95.2 to 0.95.3: |
| 19255 |
|
| 19256 |
Fixed missing god animations in the archetypes. |
| 19257 |
|
| 19258 |
SIMPLE_EXP option added. From config.h: |
| 19259 |
* Define this if you want to use the new (0.95.3) experience system. |
| 19260 |
* The system has the following changes: |
| 19261 |
* |
| 19262 |
* 1) 2000 exp need for second level. All additional levels are shifted |
| 19263 |
* accordingly. |
| 19264 |
* 2) Your stats in your skill categories don't affect the amount of |
| 19265 |
* exp you get. |
| 19266 |
* 3) Your level difference doesn't affect the exp you get for killing |
| 19267 |
* monsters. |
| 19268 |
* |
| 19269 |
* If this commented out, you get the old system. |
| 19270 |
* |
| 19271 |
* This can also be set by using -simple-exp/+simple-exp as a run |
| 19272 |
* time option. |
| 19273 |
|
| 19274 |
|
| 19275 |
Change treasure lists so that stat improving potions won't show up in |
| 19276 |
shop. They should still show up on the ramdom_potion spaces on the |
| 19277 |
maps (may in fact be slightly more common there than before) |
| 19278 |
|
| 19279 |
Move socket related code out of server directory and into socket directory |
| 19280 |
and re-arrange cod so that what is in what file makes more sense. |
| 19281 |
|
| 19282 |
Code from Peter Mardahl to have death result in stat depletion and |
| 19283 |
not actual stat loss. Setable by via STAT_LOSS_ON_DEATH option in config.h |
| 19284 |
or -stat_loss_on_death/+stat_loss_on_death command line |
| 19285 |
options. |
| 19286 |
|
| 19287 |
Patch by Peter Mardahl to change immunity spells from PATH_PROT to PATH_NULL |
| 19288 |
- this will stop gods from giving out these spells. |
| 19289 |
|
| 19290 |
Patch by Peter Mardahl so that players will never fumble the reading |
| 19291 |
of scrolls. You only get half as much exp for reading the scrolls now |
| 19292 |
however. |
| 19293 |
|
| 19294 |
Update the README file - the list of public servers was grossly out of date |
| 19295 |
and mostly removed. The instructions for running/playing were out of date, |
| 19296 |
containing information for servers with the old X11 code. |
| 19297 |
|
| 19298 |
Change CAN_MERGE so that identified items with different been_applied |
| 19299 |
will merge (this is currently done by just setting the been_applied flags |
| 19300 |
for the object in CAN_MERGE if they have been identified) |
| 19301 |
|
| 19302 |
Temporary fix for disease code - I was seeing endless loops in weight |
| 19303 |
contributions because an disease object op->env points back at itself. |
| 19304 |
In do_symptoms, we check to see if the victim matches the disease we |
| 19305 |
are about to infect them with, and if so, don't proceed further. The |
| 19306 |
cause of this pointer recursion needs to be found instead of |
| 19307 |
this current fix. |
| 19308 |
|
| 19309 |
Change daemon.c so that hpux systems can also use ioctl (.., TIOCTTY, ..) |
| 19310 |
call in addition to SYSV systems. |
| 19311 |
|
| 19312 |
players and logs command added. players show all current player names |
| 19313 |
currently in use, logs show sockets that are currently listening for |
| 19314 |
kill log information. Add limited support for some commands from |
| 19315 |
the socket (hiscore, logs, maps, motd, players, version, who). |
| 19316 |
After socket has been authenticated to have valid server, shout and tell |
| 19317 |
also available. To switch socket into old style mode, first command |
| 19318 |
entered should be 'oldsocketmode'. Server code then knows not to |
| 19319 |
prepend packet length information, so most functions work on this new |
| 19320 |
socket without any changes. |
| 19321 |
|
| 19322 |
Add verify_player function to login.c (takes name and password and verifies |
| 19323 |
they are ok - used for old socket emulation). Also notify all |
| 19324 |
players when a player joins the game (this must have gotten removed |
| 19325 |
at some point). |
| 19326 |
|
| 19327 |
change prototype for cs_write_string to take a constant string. In |
| 19328 |
readpacket, have it read in 100 bytes even if length information looks |
| 19329 |
incorrect (allows easier initial switching to oldsocketmode). If |
| 19330 |
the length of the input buffer is for some reason negative, call abort. |
| 19331 |
|
| 19332 |
Clean up nconns in socket.c - it was being increased 2 times when |
| 19333 |
a socket was added, and decreased by 2 when a socket was removed. |
| 19334 |
Add newline to initial version command so people telneting in for |
| 19335 |
old socket compatibilty get something a little more presentable. |
| 19336 |
command char pointer added to newsocket structure - used for player |
| 19337 |
name or listener html address. Fix in memory overrun/corruption when |
| 19338 |
freeing the last allocated socket - it would write data beyond the allocated |
| 19339 |
data. |
| 19340 |
|
| 19341 |
if new_draw_info is called to notify everyone, also notify sockets |
| 19342 |
running in old mode if it isn't a kill log listener. |
| 19343 |
|
| 19344 |
Update commands.h file so that it won't declare various values if included |
| 19345 |
multiple times - only the first time it is included will it declare the |
| 19346 |
values. |
| 19347 |
|
| 19348 |
Add extern declaration for init_sockets to global.h since other functions |
| 19349 |
now need to access them. |
| 19350 |
|
| 19351 |
Who command extended to also show active socket connections without a player |
| 19352 |
attached. |
| 19353 |
|
| 19354 |
Kill log (watchable from socket) added. |
| 19355 |
|
| 19356 |
Add support to use old socket commands on the new port. |
| 19357 |
|
| 19358 |
Fix by Seikoh Nishita for weapons that slay multiple creatures - before |
| 19359 |
fix, they would not slay anything (args to strstr were reversed) |
| 19360 |
|
| 19361 |
Don't give out exp for orating to monsters owned by another player - fixes |
| 19362 |
abuse since 2 players could quickly orate back and forth and gets lots of |
| 19363 |
exp. The orate function was also cleaned up a bit to be more efficient |
| 19364 |
(presumption is made that there is only 1 monster on any one space, so once |
| 19365 |
we find one, there is no need to do further processing) |
| 19366 |
|
| 19367 |
If door is passable, print a message to the player if he tries to |
| 19368 |
pick the lock and don't let them pick it (examples here are the |
| 19369 |
doors which you can walk through) |
| 19370 |
|
| 19371 |
Fix by Seikoh Nishita that should prevent some crashes when exiting |
| 19372 |
shops - appears that there could be circumstances when i was trying |
| 19373 |
to referance a null pointer in an error message. |
| 19374 |
|
| 19375 |
Add popen_local for sgi systems - without this, sgi can only open one |
| 19376 |
compressed map before it fails to open further compressed maps. |
| 19377 |
|
| 19378 |
Fix by Timo Kokkonen so that resurrection works with the new player |
| 19379 |
save method. This should also fix the problem that dead players when |
| 19380 |
using PERMADEATH being able to log in after dying. |
| 19381 |
|
| 19382 |
Allow FORCE objects to increase digestion/hp/sp/grace regeneration. |
| 19383 |
|
| 19384 |
Remove style.h file, since we now have an automatically generated proto file |
| 19385 |
from random directory source. Also fix in makefine to use proper ar |
| 19386 |
when creating the archive. |
| 19387 |
|
| 19388 |
Add 'race *' to maps/styles/misc/fountains - this fixes a crash when |
| 19389 |
entering random maps. |
| 19390 |
|
| 19391 |
If use presses an incorrect key at the play again prompt, reprint the |
| 19392 |
play again question. |
| 19393 |
|
| 19394 |
Change find_free_spot to return -1 if no spot available, update calls so |
| 19395 |
check for this return value instead of 0 (value = means current spot |
| 19396 |
available) |
| 19397 |
|
| 19398 |
Change pet movement so that pets should no longer jump walls. |
| 19399 |
|
| 19400 |
Update configure, makefiles, and code to use proper locations of installed |
| 19401 |
files (no longer $prefix/lib, instead $prefix/share for read only, |
| 19402 |
and $prefix/var for read/write. |
| 19403 |
|
| 19404 |
When using a special key to open the door, print a message informing the |
| 19405 |
player what key was used to open the door. |
| 19406 |
|
| 19407 |
Minor map cleanups/changes. Some improper exits changed to point the |
| 19408 |
right place, extraneous style maps removed due to new gods, other maps |
| 19409 |
updated to replace now missing altars with their replacements. |
| 19410 |
|
| 19411 |
Change gate code logic so instead of using speed to determine if the object |
| 19412 |
can move itself, we instead check the ALIVE flag (this fixes problems for |
| 19413 |
animated objects, and is a more accurate method in any case.) |
| 19414 |
|
| 19415 |
Fix by S.Nishita so that containers on the ground get properly unapplied |
| 19416 |
when player moves off them. |
| 19417 |
|
| 19418 |
Fix by S.Yoshioka's so that damage for cone spells is calculated properly |
| 19419 |
as they propogate. |
| 19420 |
|
| 19421 |
Remove server side referances to INFOLINES and INFOCHARS, since that is now |
| 19422 |
controlled by the client. |
| 19423 |
|
| 19424 |
Code cleanup to random map generator to prevent compiler warnings. |
| 19425 |
Also, change comparision of val == 0x1 to val-1 = null, since the |
| 19426 |
later is more portable. |
| 19427 |
|
| 19428 |
added some missing newlines to log messages in the newsocket.c file. |
| 19429 |
|
| 19430 |
fix pickup modes some - mode 4 appeared to work ok (pickup all), but mode |
| 19431 |
5 wasn't working right (pickup all and stop). I have tested the modes |
| 19432 |
with the X11 client, and they all appear to work properly. |
| 19433 |
|
| 19434 |
House of Healing map (with link from starting city) added by Peter Mardahl. |
| 19435 |
|
| 19436 |
Change player move code so you will no longer swap spaces with a pet |
| 19437 |
monster/other friendly object is you are braced. |
| 19438 |
|
| 19439 |
Fix off by one error in the buffering socket buffering code - this would |
| 19440 |
cause buffer overflows if the data being added equaled exactly the buffer |
| 19441 |
size+1. Similar fix when reading in packets |
| 19442 |
|
| 19443 |
Increase NROFATTACKS to 24 in define.h so the AT_INTERNAL attacktype |
| 19444 |
work properly. |
| 19445 |
|
| 19446 |
Patch by S.Yoshioka so that godpower/holyword spells are not magical. |
| 19447 |
|
| 19448 |
Fix in attack.c by S.Yoshioka to call free_object instead of free for |
| 19449 |
splitting monsters. |
| 19450 |
|
| 19451 |
Fix by S.Yoshioka so that magic bullet or other pure magic spells do |
| 19452 |
damage to other parts of multisquare monsters. |
| 19453 |
|
| 19454 |
Fix by S.Yoshioka so that you can not get exp in other skills with cone |
| 19455 |
spells. |
| 19456 |
|
| 19457 |
Fix by Seikoh Nishita so that magic walsl can not be placed on top of |
| 19458 |
other walls/monsters. |
| 19459 |
|
| 19460 |
Fix by Seikoh Nishita so that we don't clear the NO_STEAL flag on |
| 19461 |
insert_ob_in_map - this makes singing/stealting from the same monster |
| 19462 |
multiple times impossible. |
| 19463 |
|
| 19464 |
Patch by Seikoh Nishita so that boulders will roll off gates. |
| 19465 |
|
| 19466 |
Have server send updated weight of container when dropping all items from |
| 19467 |
a container. |
| 19468 |
|
| 19469 |
New random map decore styles for new religions added. |
| 19470 |
|
| 19471 |
Patches from James Cameron to fix compile errors/warnings. |
| 19472 |
|
| 19473 |
Fix missing animations for some of the gods. |
| 19474 |
|
| 19475 |
Remove *.orig files from maps/picks directory. |
| 19476 |
|
| 19477 |
Maps updated wtih dtabb 2.60, navar_city 2.40 maps from John Cater. |
| 19478 |
|
| 19479 |
------------------------------------------------------------------------------ |
| 19480 |
Changes from Crossfire 0.95.1 to 0.95.2: |
| 19481 |
|
| 19482 |
speed_left values should not be changed when loading/saving maps with the |
| 19483 |
editor. |
| 19484 |
|
| 19485 |
Map updates from Anthony Tyson and others (990128 version) |
| 19486 |
|
| 19487 |
Note: I was unable to reproduce the staff to snake killing the client bug. |
| 19488 |
If still in this client/server release, please let me know. |
| 19489 |
|
| 19490 |
Set player->count in esrv_move_item when picking up objects. This fixes |
| 19491 |
a bug introduced in 0.95.1 for the improved pickup code which only allowed |
| 19492 |
picking up of all the objects on the ground. |
| 19493 |
|
| 19494 |
lifesaving items should now disappear from client inventory after they |
| 19495 |
are used. |
| 19496 |
|
| 19497 |
Improve decrease_ob_nr so that items dropped on the ground will get removed |
| 19498 |
from the players inventory if they are used up (fixes bug where you drop |
| 19499 |
the last of some item on an altar but it would not disappear from your |
| 19500 |
inventory) |
| 19501 |
|
| 19502 |
Add check to add_exp so that we don't add experience to non living creatures. |
| 19503 |
This should fix the thrown objects getting lots of speed bug. |
| 19504 |
|
| 19505 |
Random map code by Peter Mardahl added. Various changes made so it will |
| 19506 |
compile on non gcc systems as well as non bsd systems. |
| 19507 |
|
| 19508 |
Another fix for pits (holes) so objects should drop through. The fix |
| 19509 |
in the last release made fixed a possible infinite loop, but also made |
| 19510 |
it that once an object on the pit could not drop through, no other objects |
| 19511 |
on the pit would drop through. The change made will attempt to drop all |
| 19512 |
objects through the pit, but also not run into a problem with infinite loops. |
| 19513 |
|
| 19514 |
Update pedestal and detector code to also match on the lockcode of the |
| 19515 |
special keys. |
| 19516 |
|
| 19517 |
Change detector function to call push_button instead of update_button. |
| 19518 |
The later would only change the state of buttons, which doesn't do much |
| 19519 |
good when you want to open a gate. push_button will cause gates and |
| 19520 |
other connected objects to open. |
| 19521 |
|
| 19522 |
Change move_gate so that it won't roll off things like grass or other |
| 19523 |
immovable objects. |
| 19524 |
|
| 19525 |
Update configure script to check for scandir function (needed by disease |
| 19526 |
code) - if not found, then check in -lucb. |
| 19527 |
|
| 19528 |
Disease code from Peter Mardahl added. |
| 19529 |
|
| 19530 |
add break value in while loop in generate artifact message (readable.c) so |
| 19531 |
we eventually break out if no match is found. |
| 19532 |
|
| 19533 |
reduce minimum supported map size in crossedit to 1x1 |
| 19534 |
|
| 19535 |
Don't let characters be easily saved on unholy ground. Player can't issue |
| 19536 |
'save' command when on unholy ground, and we don't autosave if on unholy |
| 19537 |
ground. |
| 19538 |
|
| 19539 |
Improve pickup code mode 6 (pickup magic item) - call is_magical to |
| 19540 |
determine if an item is magical instead of relying on known_magical flag. |
| 19541 |
|
| 19542 |
If the player has a marked item in need of identifying, identify that |
| 19543 |
specific item first when an apply altar is used. This allows a player |
| 19544 |
to selective choose what to identify. |
| 19545 |
|
| 19546 |
Fix in apply code between server and client. Containers on the ground |
| 19547 |
now work properly. Server side simplified a bit, and updated to be a bit |
| 19548 |
more bandwidth efficient (use update item to open/close containers.) Client |
| 19549 |
updated to handle updating its container status via the update commands. |
| 19550 |
|
| 19551 |
Fix in pay_for_item in that it will not mistake kobans or other coins for |
| 19552 |
gold coins when making change (or converting the older coins into new |
| 19553 |
coins with the same arch but with a different value) |
| 19554 |
|
| 19555 |
Have player swap places with pet monster even if player no longer has peacful |
| 19556 |
set. |
| 19557 |
|
| 19558 |
At confirmation when player quits, inform them that quitting will delete |
| 19559 |
the chararacter. |
| 19560 |
|
| 19561 |
When a weapon is improved by the god, if it had no prior attactkype set, |
| 19562 |
give it physical attacktype in addition to what the god gives it. |
| 19563 |
|
| 19564 |
By default, make new players peaceful. |
| 19565 |
|
| 19566 |
Fix up the fire cancellation function - it seems some of the code wasn't |
| 19567 |
quite right (inserting in map vs setting the owner.) The fix should |
| 19568 |
prevent some core dumps this could have caused. |
| 19569 |
|
| 19570 |
Fix for main loop in socket.c that should prevent infinite loops when |
| 19571 |
a socket dies in some improper way. It should now drop the connection |
| 19572 |
properly and continue with processing. |
| 19573 |
|
| 19574 |
Autoconf fixes - check for canonical system, specail check for |
| 19575 |
alpha-dec-osf to add -std1 to cflags, add check for latex, add check |
| 19576 |
for BOURNE_SHELL (this is used in hte makefiles, as some os's will use |
| 19577 |
the users shell, but some constructs we use require bourne type shell), |
| 19578 |
add check for number of args gettimeofday uses, change order when |
| 19579 |
we create the makefiles to be proper. |
| 19580 |
|
| 19581 |
Use autoconf check above to get correct number of args for gettimeofday. |
| 19582 |
|
| 19583 |
Fix from Anthony Thyssen for the editor - should hopefully fix problem with |
| 19584 |
delete not deleting the correct object. |
| 19585 |
|
| 19586 |
Remove font displaymode from editor - since we are not distributing any |
| 19587 |
fonts anymore, doesn't make a lot of sense to support it. |
| 19588 |
|
| 19589 |
When connection is lost from player, save off the character - prevents |
| 19590 |
items being dropped on the floor or the players duplicating the items. |
| 19591 |
However, some additional logic will need to be added to prevent players |
| 19592 |
from saving their characters in treasure rooms. |
| 19593 |
|
| 19594 |
Improvements in save_player which should better prevent saves from |
| 19595 |
happening at inopportune times (like after they have mostly exited). |
| 19596 |
|
| 19597 |
Add stat_loss_on_death option (yes/no if stat is subtracted when you die.) |
| 19598 |
Default can be set in config.h, and can also be changed with run |
| 19599 |
time flags. |
| 19600 |
|
| 19601 |
Add / behind -I@x_includes@ in crossedit/Makefile.in. This should prevent |
| 19602 |
the includes from being reset if there are no x_includes. |
| 19603 |
|
| 19604 |
Extend draw_look to send multiple item commands - this should only happen |
| 19605 |
if there are a lot of items on one square. Fix should prevent crashes/memory |
| 19606 |
corruption in that case. |
| 19607 |
|
| 19608 |
------------------------------------------------------------------------------ |
| 19609 |
Changes from Crossfire 0.95.0 to 0.95.1: |
| 19610 |
|
| 19611 |
Fix server crash if player ran into friendly object. |
| 19612 |
|
| 19613 |
Strip extra spaces that may be between the command and option (ie, |
| 19614 |
"use_skill disarm" would result in " disarm" getting passed to the appropriate |
| 19615 |
command function. Some functions could deal with this, others did not, |
| 19616 |
and it makes sense to strip them out. |
| 19617 |
|
| 19618 |
Send update to client to remove item from players inventory when it |
| 19619 |
disintegrates (demon ichors for example). |
| 19620 |
|
| 19621 |
Change load code so that player handling on unique maps should work better |
| 19622 |
(I believe there were various strange cases if the player saved on a |
| 19623 |
per player unique map and that map was or was not in memory, it might not |
| 19624 |
load the per player unique map) |
| 19625 |
|
| 19626 |
Removed player file lockin during login. Extra lock files get left |
| 19627 |
laying around in aborted login attempts. And in retrospect, I don't |
| 19628 |
think it is ever really needed. |
| 19629 |
|
| 19630 |
Some excessive/annoying debugging messages removed. |
| 19631 |
|
| 19632 |
Some general cleanup in some functions that were previous setting |
| 19633 |
automatic variables. If the variables are none changing, we now declare |
| 19634 |
them static, otherwise we don't set the value as the initialization |
| 19635 |
area - this prevents warnings with some compilers. Some casts added for |
| 19636 |
some functions to also prevent warning messages. |
| 19637 |
|
| 19638 |
Remove HAVE_SAVE_UID in config.h - no longer any code using it. |
| 19639 |
|
| 19640 |
In free_player, only call remove_ob on pl->ob if it is not already removed. |
| 19641 |
This fixes crashes when a player kills there login session before |
| 19642 |
it is completed. |
| 19643 |
|
| 19644 |
Instead of calling draw_look (which causes all data on that space being |
| 19645 |
sent to the client) each time the space changes, instead mark that we |
| 19646 |
need to send that change, and have code higher up (top processing loop) |
| 19647 |
send the data each tick if it needs to be send. This should result in less |
| 19648 |
data being sent, and is easier to process. |
| 19649 |
|
| 19650 |
Add flag_client_sent for debugging purposes - makes it much easier to |
| 19651 |
trace down cases where server was sending updates without actually having |
| 19652 |
sent the object yet. Most all of those cases are fixed with the new draw_look |
| 19653 |
logic mentioned above. Add dump_object_from_tag to figure help figure out |
| 19654 |
the objects generating messages. dumptag command is available from within |
| 19655 |
the game if compiled with DEBUG to use this fucntion. |
| 19656 |
|
| 19657 |
Pup land maps updated to version 1.3. |
| 19658 |
|
| 19659 |
Fixes in configure script to autodetect X11 libraries better. Fixes |
| 19660 |
also in Makefiles so all rules should work and all needed variables should |
| 19661 |
now be expanded. Add checks for a few more header files. Makefile fixes |
| 19662 |
also include changes so that archive is packed in proper order that it should |
| 19663 |
not try to rebuild pregenerated files. Master makefile now set to |
| 19664 |
make bzip2 archives in addition to gzip archives. |
| 19665 |
|
| 19666 |
Added watchdog code from Christian Stieber - periodically sends out UDP |
| 19667 |
packets so other programs can watch for them and restart the server if it |
| 19668 |
doesn't see them (hung or down server). |
| 19669 |
|
| 19670 |
Added ISQRT macro to spell_effect.c - seemed that the code was changed |
| 19671 |
a while back but that function wasn't added. It was only needed of |
| 19672 |
SPELL_FAILURE_EFFECTS is compiled in as an option. |
| 19673 |
|
| 19674 |
Simplify checking of MAXNAMELEN in crossedite/include/Posix.h |
| 19675 |
|
| 19676 |
Updated list of options you get when you do -help - removed old options that |
| 19677 |
are no longer around and added new ones. |
| 19678 |
|
| 19679 |
Dropping an active container will now result in all the items in the |
| 19680 |
container being dropped, and not the container itself. It could be argued |
| 19681 |
this should be a client issue (client send a move for each item in the |
| 19682 |
container). However, dropping everything in the container should be faster |
| 19683 |
than individually dropping (ie, you turn the container upside down), and |
| 19684 |
client dropping them one by one would result in that many commands of the |
| 19685 |
player being used. |
| 19686 |
|
| 19687 |
Change esrv_move_object to use the pick_up function instead of pick_up_object. |
| 19688 |
The difference here is that pick_up will look for matching containers, so |
| 19689 |
players manually picking stuff up in the client will have items go into |
| 19690 |
active containers as appropriate. However, this can also cause problems |
| 19691 |
with smarter clients that really want the object to go into the players |
| 19692 |
inventory and not a container (I don't think any will have that problem |
| 19693 |
currently) |
| 19694 |
|
| 19695 |
Fix in apply for holes - return 0 if we can not move the monster through |
| 19696 |
the hole - this prevents an infinite loop in move_hole in time.c |
| 19697 |
|
| 19698 |
Added internal buffering for sockets if the OS's buffers fills up. This |
| 19699 |
greatly improves reliability in the client. Size of buffering is |
| 19700 |
setable in config.h |
| 19701 |
|
| 19702 |
Fixed makefile dependancies - make install should now depend on the |
| 19703 |
actual programs it plans to install. |
| 19704 |
|
| 19705 |
Fix some bugs in the animation code - most notable is animations with |
| 19706 |
just 2 facings like the quetcoutal. Changes to archetypes is to |
| 19707 |
change the half orc to have 4 facings the quetzalcatl to have 2 facings. |
| 19708 |
|
| 19709 |
Fixed animations to always use the direction value for determing object |
| 19710 |
animations. |
| 19711 |
|
| 19712 |
Change examine code so that if the first thing in an object message field |
| 19713 |
is @match, don't display the message. |
| 19714 |
|
| 19715 |
Fix map update code that wasn't calling update_los before sending the |
| 19716 |
map to the client. |
| 19717 |
|
| 19718 |
Fix from Timo Kokkonen for socket code - check to see if we got an |
| 19719 |
interrupted system call (EINTR) on a read/write - if so, loop until it |
| 19720 |
clears or we get a real error. Apparantly greatly improved reliability |
| 19721 |
of the server. |
| 19722 |
|
| 19723 |
------------------------------------------------------------------------------ |
| 19724 |
Changes from Crossfire 0.94.3 to 0.95.0: |
| 19725 |
|
| 19726 |
Added diagnostic message if you try to use a skill and it can't find a match |
| 19727 |
|
| 19728 |
Fix in send item command to better handle objects with a huge number of |
| 19729 |
items in its inventory. |
| 19730 |
|
| 19731 |
Shop listing code simplified - send all data to the client at once instead of |
| 19732 |
havign to store it and wait for the player to hit a keypress. |
| 19733 |
|
| 19734 |
Fix bug in ghosthit which would cause server to crash (patch for 0.94.3 |
| 19735 |
was released for this bug) |
| 19736 |
|
| 19737 |
Some general code cleanup - fixing/removing unreachable statements, removing |
| 19738 |
unused variable. |
| 19739 |
|
| 19740 |
Build/configuration now done by autoconf (run ./configure). This cleans up |
| 19741 |
a lot of special checks throughout the program, and hopefully should be |
| 19742 |
more portable. |
| 19743 |
|
| 19744 |
Cleaned up/rearranaged the include/.h files. Prior, most all structures |
| 19745 |
where included in structs.h. Structures and support values now in unique |
| 19746 |
header files (ie, player structure and support enums and like in player.h, |
| 19747 |
object structure and support in object.h, etc.). This doesn't change the |
| 19748 |
working on the code, but is just easier to maintain. global.h takes care |
| 19749 |
of including these is the correct order. |
| 19750 |
|
| 19751 |
Many options now removed from config.h file. Options removed either relate |
| 19752 |
to X11 code/old server support or machine specific details which we can |
| 19753 |
now pick up via autoconf. |
| 19754 |
|
| 19755 |
Better speed checking in update_object_speed. |
| 19756 |
|
| 19757 |
When improving a weapon, client should now get updated (code was updating |
| 19758 |
the incorrect object) |
| 19759 |
|
| 19760 |
Improve apply below to be more bug free (that is to say, we preserve |
| 19761 |
the pointer to the next object - I think there were cases where the |
| 19762 |
last of an object was applied, and thus removed, but the apply function |
| 19763 |
did not return a code specifying something was applied, so the code would |
| 19764 |
then try to apply an object with an invalid pointer) |
| 19765 |
|
| 19766 |
Fix for collect.pl script to fix problem traversing directories. |
| 19767 |
|
| 19768 |
(note for 0.95.0, there were many large scale changes, so many of the |
| 19769 |
entries below are more of just an overview of what changed, and not a highly |
| 19770 |
detailed account of the changes.) |
| 19771 |
|
| 19772 |
Fix/improvement in player movers so that players trying to run in the |
| 19773 |
direction they move don't move incredibly fast. They will still seem to |
| 19774 |
move faster (I am guessing roughly player speed + mover speed now). I am |
| 19775 |
not sure of the original bug, but my guess is that the mover moves the |
| 19776 |
player to the next mover (which has a low speed). But now the player still |
| 19777 |
has his own action left, and moves to the next mover which has high speed, |
| 19778 |
so wisks the player to the next mover, which has low speed, so he |
| 19779 |
effectively moves 3 spaces in one tick when he should just move one. |
| 19780 |
|
| 19781 |
Changed save player method so that a directory is created for each |
| 19782 |
player. |
| 19783 |
|
| 19784 |
Added per player unique maps (new apartments). Maps from Christian |
| 19785 |
Stieber, however the implementation is a bit different - if an exit is |
| 19786 |
marked as unique, it will lead to a unique maps. The unique maps are |
| 19787 |
stored in the new player save file directories as above. |
| 19788 |
|
| 19789 |
Removed all X11 support from the server code. Change crossedit so that |
| 19790 |
it can read in the pixmaps as they are stored in for the client/server |
| 19791 |
support (so that only 1 copy needs to be kept). This method of reading them |
| 19792 |
in is slower than the montage method unfortunately. |
| 19793 |
|
| 19794 |
Changed socket handling. Port 13326 has been removed from active service. |
| 19795 |
Socket information is now part of player structure, which cleans up a lot |
| 19796 |
of the old code which had to do with find the player that correlates to |
| 19797 |
a socket and vice versa. |
| 19798 |
|
| 19799 |
Fix bug so that if invaliad variable is given to dm 'patch' command, program |
| 19800 |
no longer crashes. |
| 19801 |
|
| 19802 |
Fix bug so that containers that have a huge number of items don't crash |
| 19803 |
the server (a container needed to have more than 250 items for this to |
| 19804 |
happen). The real problem is containers that allow an infinite amount of |
| 19805 |
junk to be stored in them (Lepreds bag, but this item/map isn't part of the |
| 19806 |
standard distribution). Even with the fix, there still becomes some point |
| 19807 |
where problems will occur (around 2000 items, the amount of data that |
| 19808 |
needs to be sent would exceed the size of the output buffer). In any |
| 19809 |
case, with that many items in place, the player will see a noticable |
| 19810 |
performance hit when such containers are opened. |
| 19811 |
|
| 19812 |
Fix bug that caused the program to crash when attacking ghost or other |
| 19813 |
creatures with ONE_HIT flag set. |
| 19814 |
|
| 19815 |
Print out message to player if they have old keybindings. |
| 19816 |
|
| 19817 |
Some map fixes by Christian Stieber - eliminate ability to bypass |
| 19818 |
quest and typo fixed in other map. |
| 19819 |
|
| 19820 |
Fix so that perceive spell (off of rods/staves/scrolls) properly finds |
| 19821 |
the god of the player. |
| 19822 |
|
| 19823 |
------------------------------------------------------------------------------ |
| 19824 |
Changes from Crossfire 0.94.2 to 0.94.3: |
| 19825 |
|
| 19826 |
Fixes to some recipes - before some had non existant ingredients. |
| 19827 |
As part of this, a treasurelist for ogres added. |
| 19828 |
|
| 19829 |
archsearch.pl function added to lib/adm. Useful little perl script that |
| 19830 |
can do object context searches (ie, immune to X and attacktype of Y) |
| 19831 |
|
| 19832 |
Old loader code removed - only lex loader supported now (no bugs reported, |
| 19833 |
so it seems to be OK) |
| 19834 |
|
| 19835 |
Debugging output improved in various areas to be easier to read/better |
| 19836 |
inform what is happening. |
| 19837 |
|
| 19838 |
Hopeful fix in place to prevent player movers causing players to have |
| 19839 |
-infinite in speed_left. Fix right now is to just limit speed_left |
| 19840 |
to -50 - I believe the real problem is that some player moves have |
| 19841 |
speed=0.0, and it is diving by that value. |
| 19842 |
|
| 19843 |
Fix so that if a player dimension doors onto a player mover, he no longer |
| 19844 |
gets stuck in an endless loop - he will now move along the movers as |
| 19845 |
expected. |
| 19846 |
|
| 19847 |
When a player dies in NOT_PERMADEATH mode, clear the braced flag. |
| 19848 |
|
| 19849 |
In the case of spell failure, don't cast mana storm in no magic areas |
| 19850 |
(instead, just kill the player) |
| 19851 |
|
| 19852 |
Only write out an updated bookarchive if data has actually changed and needs |
| 19853 |
to be written out. |
| 19854 |
|
| 19855 |
Don't print out new client server usage logging if nothing has changed. |
| 19856 |
|
| 19857 |
Reduced power of 'loose mana' (it appears this only happens when a spell |
| 19858 |
is failed really badly). It seemed to me that the area of affect and |
| 19859 |
damage could be many times deadlier than anything else out there. |
| 19860 |
|
| 19861 |
Hopeful bug fix for thrown objects getting very fast speed (I am unable |
| 19862 |
to reliably reproduce this, so am not sure.) Basically, I believe the |
| 19863 |
problem was that set_owner was only being set for the wrapper in the |
| 19864 |
thrown object, but it is the actual internal object that gets used at |
| 19865 |
some point in the attack sequence. As such, I believe that the knife, |
| 19866 |
spear, whatever was getting the exp for the kill (exp = speed in |
| 19867 |
weapons). To hopefully fix this, I have also added a set_owner call |
| 19868 |
on the real object so when it goes to grant exp, it should find a |
| 19869 |
valid place for it and credit the player and not the weapon. |
| 19870 |
|
| 19871 |
Changed spell parsing so 'of' is not needed in some complex |
| 19872 |
spells (ie, create food or marking rune). From [email protected] |
| 19873 |
|
| 19874 |
Fixed bug in which you could kill multispace monsters with paralyze or |
| 19875 |
slow attacktypes. |
| 19876 |
|
| 19877 |
Added ncom and comc commands to client and server. These commands allow |
| 19878 |
client command queing/dropping (note that server will only send a comc if it |
| 19879 |
gets a ncom first, so old clients should still work just fine). The |
| 19880 |
protocol numbers increased to 1021. |
| 19881 |
|
| 19882 |
Added more objects to the show invisible list - hopefully the pupland |
| 19883 |
maps should now be fully playable. |
| 19884 |
|
| 19885 |
RPLAY_SOUND definitions changed to RPLAY_SND - should make for cleaner |
| 19886 |
compilations for those using that. |
| 19887 |
|
| 19888 |
Fixed #ifdef for NetBSD in common/time.c to use proper symbol. |
| 19889 |
|
| 19890 |
Fix so that counterspell should no longer kill monsters with magic |
| 19891 |
attacktype (ie, jessys and probably others) |
| 19892 |
|
| 19893 |
Added debugging in deathstrike code to hopefully be able to better track |
| 19894 |
down face of death problems. My guess is that it is a problem with level |
| 19895 |
comparisons. |
| 19896 |
|
| 19897 |
Fixed/clarified many nexted if/else statements that were ambiguous. Now |
| 19898 |
braces are properly in place (From Klaus Elsbernd) |
| 19899 |
|
| 19900 |
Hopeful bug for disappear objects when emptying bags. I believe the |
| 19901 |
problem was that invisible objects ended up showing up in the containers |
| 19902 |
somehow - this by itself is not a problem. However, the empty bag |
| 19903 |
function calls drop with the object to drop and keeps the next value - |
| 19904 |
however, drop would forward past the invisible object so the calling functions |
| 19905 |
next value is no longer accurate. Drop function now does not skip over |
| 19906 |
invisible objects in containers (will skip over them in player inventory) - |
| 19907 |
it instead removes the invisible object since I believe it is garbage |
| 19908 |
anyways. I am not sure if this will fix the problem, but there was |
| 19909 |
certainly some problem in the code here. |
| 19910 |
|
| 19911 |
Fixed bug with multipart monsters & pits. Before, they got split into |
| 19912 |
a few parts like a magician trick. Now they stay in one piece. At |
| 19913 |
current time, the logic probably isn't great, as all that is currently checked |
| 19914 |
for is the head of monster being on a pit - in reality, probably all the |
| 19915 |
monster parts need to be on a pit. |
| 19916 |
|
| 19917 |
-m9 and -mt options added (Code from Raphaël Quinet). Formulas have |
| 19918 |
been fixed such that all are now creatable (none missing archetypes). However, |
| 19919 |
the output still shows some formulas out of balance in terms of costs. |
| 19920 |
|
| 19921 |
Changed AT_GHOSTHIT meaning and added ONE_HIT flag. GHOSTHIT is now treated |
| 19922 |
like any other attacktype (monster will not be removed just for having |
| 19923 |
ghosthit). ONE_HIT flag now means the monster will disappear. This fixes |
| 19924 |
the acid sphere deadliness (before, they did have ghosthit as an |
| 19925 |
attacktype). All the objects with ghosthit have been updated. However, |
| 19926 |
there are probably some other undead which could now have ghosthit added |
| 19927 |
to their attacktypes since it won't cause them to disappear now. |
| 19928 |
|
| 19929 |
Updated the programming_guide doc. Hopefully, it is a bit easier to read |
| 19930 |
and a little more accurate. |
| 19931 |
|
| 19932 |
Improved polymorph. Invisible objects should no longer appear. Also improved |
| 19933 |
so that all objects of a type would be possible results (before, it would |
| 19934 |
be the first 80 weapons would be chosen from, or the first 80 monsters, etc.) |
| 19935 |
Now it is unlimited. Smarter initial selection should also result in |
| 19936 |
a few less meltdowns from it now being able to find an acceptable object. |
| 19937 |
Also, possible fix that could cause crashes on rare occasion (monster |
| 19938 |
polymorphed into something else, and when inserted into the map, something |
| 19939 |
on that space kills it) Also, we stop processing a space once we hit the |
| 19940 |
floor - I don't recall floor types ever changing anyways, but there could |
| 19941 |
be other problems processing subfloor items. |
| 19942 |
|
| 19943 |
------------------------------------------------------------------------------ |
| 19944 |
Changes from Crossfire 0.94.1 to 0.94.2: |
| 19945 |
|
| 19946 |
Changed calls to send_query on server side to include the string on what |
| 19947 |
the query is for. This is to make clients be able to do smarter/nicer |
| 19948 |
things when it receives a query. |
| 19949 |
|
| 19950 |
Bug fix in check_walk_on which would cause crashes when objects are put on |
| 19951 |
spaces with multiple destructive forces (ie, earthwall cast on top of |
| 19952 |
a double pool of chaos). Once check_walk_on finds that the item has |
| 19953 |
been freed, it stops doing any further processing on it. |
| 19954 |
|
| 19955 |
Animation code cleaned up. Animations are now object properties, and not |
| 19956 |
archetype properties (and thus can be changed in maps). Also cleaned up so |
| 19957 |
that the is_turning flag is removed - more complex animations available via |
| 19958 |
the num_facings. Below is the section from the TODO file. Note that there |
| 19959 |
is still potential to improve animations (many 1 frame animations could take |
| 19960 |
advantage of the new code to have multi frame (ie, players can now have |
| 19961 |
images for all directions, and animations for each of those) New code is in |
| 19962 |
common/anim.c: |
| 19963 |
Clean up animation code and make it more general purpose (instead of |
| 19964 |
is_animated and is_turning flags, instead add a value that |
| 19965 |
states how many animations/direction there are. For example, right |
| 19966 |
now the big dragon has 8 animations and 2 facings (left & right), with |
| 19967 |
4 animations/facing. Something like num_facings could be added so we |
| 19968 |
know there is 2 facings. For arrows, num_facings would be 8, so we |
| 19969 |
know that it shouldn't be animated (since there are only 8 images in its |
| 19970 |
animation.) This would make the code a little cleaner, and allow better/ |
| 19971 |
more complex animations (an object that faces 8 directions could have |
| 19972 |
animations for all directions, were as right now, that is not possible.) |
| 19973 |
|
| 19974 |
collect.pl changed to handle generation of animation file. |
| 19975 |
|
| 19976 |
Wipe below added to crossedit by Steven Unruh |
| 19977 |
|
| 19978 |
removed non NEW_HIT_PLAYER in attack.c (ie, old attack code removed) |
| 19979 |
|
| 19980 |
Added hitback code (looks like it was missing from the NEW_HIT_PLAYER |
| 19981 |
code) |
| 19982 |
|
| 19983 |
dm commands will now be accepted from the new client (provided they |
| 19984 |
have dm priveledges of course) |
| 19985 |
|
| 19986 |
Add AT_INTERNAL attacktype used only for internal calculations (ie, |
| 19987 |
does that amount of damage). Actual damage section of poison now |
| 19988 |
uses this. |
| 19989 |
|
| 19990 |
Fix spoiler generation - don't convert monster archetype names to |
| 19991 |
lowercase - images generated properly for them now. Also, fixed problem |
| 19992 |
with some images (dragon) being rotated when they shouldn't. |
| 19993 |
|
| 19994 |
Clear INV_LOCKED flag when stealing objects. |
| 19995 |
|
| 19996 |
Fixed couple of bugs in throw code. First, players remaining speed |
| 19997 |
calculation seemed incorrect. Second, you can now specify an object |
| 19998 |
name to throw (ie, throw ring, throw chair). Third, the client now |
| 19999 |
gets properly updated with the new/changed item. |
| 20000 |
|
| 20001 |
Make UNIQUE_ITEMS standard feature. Removed LOCK_ITEMS as a secondary |
| 20002 |
feature - running multiple servers against the same set of files is no |
| 20003 |
longer supported. Note for compatibility reasons of both methods, it will |
| 20004 |
look for unique files starting at v00 and will write new ones with the .v00 |
| 20005 |
extensions. If you have .v01 files, these will be read in the first time |
| 20006 |
through (provided you also don't have a .v00), but all new files will be |
| 20007 |
written with the .v00 extension. Referances to ITEMS_DIR changed to |
| 20008 |
be UNIQUE_DIR - I think that is more descriptive. This includes |
| 20009 |
the environmental variable. |
| 20010 |
|
| 20011 |
Change ok_to_put_more to do more complete checking and also not to stop |
| 20012 |
spells because of a monster with certain immunities being on a space. |
| 20013 |
|
| 20014 |
If hit_player is called with the 'tail' of a monster, it would previously |
| 20015 |
just exit if the attacktype included slow or paralyze functions (must |
| 20016 |
hit the head with those.) Changed hit_player so we just remove |
| 20017 |
the slow and paralyze, and still hit with any remaining attacktypes. |
| 20018 |
|
| 20019 |
change explode_object so it only hits the monster once with the bullet/ |
| 20020 |
meteor. Previously, it called hit_map, which then hit the player, and |
| 20021 |
then called hit_player again. This effectively doubled the amount of damage |
| 20022 |
caused by the bullet - it now does the correct amount of damage. As |
| 20023 |
best as I can tell, meteor/meteor swarm does properly damage the monster |
| 20024 |
even if the tail was hit. |
| 20025 |
|
| 20026 |
Bug fix in singing so exp should now be granted the first time singing |
| 20027 |
is used on a monster. |
| 20028 |
|
| 20029 |
Changed so that server can be compiled with new client/server support but |
| 20030 |
without old (port 13326) support. Various sections of code updated to |
| 20031 |
work/compile in such a setting. |
| 20032 |
|
| 20033 |
Fixed premature freeing of map->tmpanme. Now in delete_map instead. |
| 20034 |
|
| 20035 |
Added checking in free_object to see if we are called on a non removed |
| 20036 |
object. IF many cores is defined, will dump core here. I believe there |
| 20037 |
is some section of code calling free_object on a monster without calling |
| 20038 |
remove_object, which is causing a lot of error/warning messages when it |
| 20039 |
happens (very infrequently.) With this test in, it should become quite easy |
| 20040 |
to track down when it happens. |
| 20041 |
|
| 20042 |
Added free bsd & net bsd to those systems whose gettimeofday takes 2 |
| 20043 |
arguments (common/time.c) -lcompat added to libraries needed for |
| 20044 |
FreeBsd. Include unistd.h on freebsd. Don't include malloc.h in |
| 20045 |
xbmtobdf.c on freebsd. |
| 20046 |
|
| 20047 |
Sample ban_file added to lib. Read in of ban_file will now |
| 20048 |
ignore lines that start with #. Also, animations file (used for new |
| 20049 |
animation code) included. |
| 20050 |
|
| 20051 |
Config file rearranged to hopefully be in better sections and easier |
| 20052 |
to edit. NEW_IMPROVE_WEAPON and SIMPLE_PARTY_SYSTEMS removed from options - |
| 20053 |
now always selected. NO_LOG, ONE_PLAYER_PR_UID, CHRFONT removed from |
| 20054 |
sections - these can never be valid. NO_ADD added to prevent players |
| 20055 |
from adding others |
| 20056 |
|
| 20057 |
Server updated to send full lines of text with query commands to client |
| 20058 |
so for clients that pop up a dialog box, they can print meaningful data |
| 20059 |
on what the request is for. |
| 20060 |
|
| 20061 |
Bug fix so that you can no longer apply multiple objects of the same |
| 20062 |
type with apply -a |
| 20063 |
|
| 20064 |
Give better messages when attempting to light something. |
| 20065 |
|
| 20066 |
New client/server statistic gathering added - will periodically dump |
| 20067 |
usage stats to the log file. Server will now longer crash if |
| 20068 |
client/supposed client sends bad data - will now just close the connection |
| 20069 |
instead. |
| 20070 |
|
| 20071 |
Server will not longer crash when player runs into a door. |
| 20072 |
|
| 20073 |
Can now longer polymorph objects into items that are invisible. |
| 20074 |
|
| 20075 |
Removed client directory from main archive. Too many people thought that |
| 20076 |
was the new client creating confusion, and I don't see a big need to have |
| 20077 |
it around (it will go away when the X11 code is yanked from the |
| 20078 |
server anyways0. If you still like it, the old version of it will work just |
| 20079 |
fine (no changes have been made to it in a very long time0 |
| 20080 |
|
| 20081 |
Map changes: |
| 20082 |
color_ removed from map files. |
| 20083 |
library card cost decreased some. |
| 20084 |
oldcity maps updated to take full advantage of XPM mode.. |
| 20085 |
Lake_Country/DA map changed - exp reduced, sp increased. |
| 20086 |
|
| 20087 |
------------------------------------------------------------------------------ |
| 20088 |
Changes from Crossfire 0.94.0 to 0.94.1: |
| 20089 |
|
| 20090 |
in artifacts file - moved some settings of difficulty before Object line. |
| 20091 |
(difficulty after the Object line have no effect) |
| 20092 |
|
| 20093 |
In low level socket code, retry read/write again if we get a EWOULDBLOCK |
| 20094 |
in addition to EAGAIN errors. Some systems return EAGAIN, others EWOULDBLOCK |
| 20095 |
|
| 20096 |
Fixed possible crash in move_monsters. I believe the problem was that |
| 20097 |
the monster got killed by a door, and the function was not expecting |
| 20098 |
it, and would use the invalid object. Not sure if the code I put in will |
| 20099 |
really fix the problem, or just migrate it to a higher level calling |
| 20100 |
function (have not seen the crash myself) |
| 20101 |
|
| 20102 |
If on linux, include crypt.h in main.c |
| 20103 |
|
| 20104 |
Various minor memory leaks fixed. |
| 20105 |
|
| 20106 |
Better error message for non wiz people trying to use shutdown command. |
| 20107 |
Shutdown command actually added to command structures and is now usuable. |
| 20108 |
|
| 20109 |
Internal animations changed from explicit defines to use SET_ANIMATION |
| 20110 |
macro. Much easier to read, and better supports client side animations. |
| 20111 |
|
| 20112 |
Include sounds.h/sound calls no matter what RPLAY is set to. Only |
| 20113 |
rplay special code is in sounds.h. This way, client can still get sound |
| 20114 |
information without rplay being defined. |
| 20115 |
|
| 20116 |
removed NPC_PROG code - not used at all - only thing there was a few |
| 20117 |
#ifdefs setting values. |
| 20118 |
|
| 20119 |
Moved typedefs for function pointer stuff from structs.h to funcpoint.h. |
| 20120 |
No outside affect on code, just makes more sense internally. |
| 20121 |
|
| 20122 |
Disable default selection of DEBUG_DMALLOC on crosssite.def |
| 20123 |
|
| 20124 |
Removed old/unused charisma bonus values from common/living.c |
| 20125 |
|
| 20126 |
Minor fix so that a space is properly added between item number and name. |
| 20127 |
|
| 20128 |
Added a lex loading routine. Performance seems to be roughly the same, |
| 20129 |
but ease of maintenace/readability seems better to me. Modifications to |
| 20130 |
loader.c should not be done - instead, they should be done to loader.l |
| 20131 |
Loader directive flags and loader return flags added to loader.l - those |
| 20132 |
are now used instead of arbitrary integer values. |
| 20133 |
|
| 20134 |
Fix c_wix.c dm goto command to set the destination object/map name. Otherwise, |
| 20135 |
if an invalid map was entered, the enter_exit would try to print a null |
| 20136 |
string - some systems handle this OK, others will crash. |
| 20137 |
|
| 20138 |
Changed common/time.c to use GETTIMEOFDAY macro defined once at top |
| 20139 |
of file instead of having #ifdefs throughout the file. |
| 20140 |
|
| 20141 |
Fix so that items of differing values will not be merged. Also, when |
| 20142 |
merging objects, do not clear startequip flag. |
| 20143 |
|
| 20144 |
Fix in doc/playbook-html so all include directives are handled properly |
| 20145 |
with the include_html.pl script. |
| 20146 |
|
| 20147 |
More details printed about improved weapons (how many improvements done, |
| 20148 |
max number of improvements.) Also, skills will show how many improvements |
| 20149 |
the character can handle. |
| 20150 |
|
| 20151 |
Bargaining skill will be auto applied when in shops. |
| 20152 |
|
| 20153 |
Change teleporter code so the teleporter does not have to be the first |
| 20154 |
or second item on the space - teleporter can be any object on the space. |
| 20155 |
|
| 20156 |
-a, -u apply options added (always apply/unapply instead of toggling). |
| 20157 |
Internally, apply and apply_special have been changed to take one more option |
| 20158 |
which is this flag. |
| 20159 |
|
| 20160 |
Applied rings will not be merged - instead they will remain seperate. Fixes |
| 20161 |
problems with getting full bonuses, and also makes it easier to apply/unapply |
| 20162 |
one item. |
| 20163 |
|
| 20164 |
Increased frequency of generation for strange ring (nodrain ring). This |
| 20165 |
should make it appear probably roughly as often as the ring of life, |
| 20166 |
or maybe even more often. |
| 20167 |
|
| 20168 |
Put maximum carry limit in - beyond the limit, a character can carry no more. |
| 20169 |
This limit is fairly high right now, but should improve playbalance and |
| 20170 |
prevent characters from getting a negative weight or carrying so much |
| 20171 |
stuff it takes forever to move (session appears hung to them) |
| 20172 |
|
| 20173 |
Added CS_STAT_WEIGHT_LIM to newclient.h, so client can know how much |
| 20174 |
the player can handle (only used for GUI, so it can do a carry/limit |
| 20175 |
type of thing) |
| 20176 |
|
| 20177 |
Title information now used in hiscore displays. |
| 20178 |
|
| 20179 |
Show invisible spell will now make handles visible. |
| 20180 |
|
| 20181 |
New server code won't crash if player does nothing when it prompts for the |
| 20182 |
name. Also, include necessary dummy functions so server will compile |
| 20183 |
of ERIC_SERVER is not set. |
| 20184 |
|
| 20185 |
Will now search keyrings when running into special doors for matching |
| 20186 |
keys (players can protect keys by putting them in other containers.) |
| 20187 |
|
| 20188 |
Change jump skill so that any spaces with FLY_ON set will affect |
| 20189 |
the jumping player. This prevents the character from jumping over |
| 20190 |
player movers. |
| 20191 |
|
| 20192 |
In create_wall - if insertion if the initial wall fails (new all is destroyed), |
| 20193 |
don't extend the wall. Fixes the earthwall on top of pool of chaos which |
| 20194 |
creates strange map problems. |
| 20195 |
|
| 20196 |
Map fixes: |
| 20197 |
Lake_Country/ebony/masterlev altar should now accept fragment |
| 20198 |
of chaos. |
| 20199 |
Put no magic areas in apartment so it should no longer be able |
| 20200 |
to dimension door and get keys. |
| 20201 |
/city/houses/wizz.entry should now be entered at the correct position. |
| 20202 |
/city/misc/library - library cards are now identified, so it should |
| 20203 |
no longer be able to buy then sell at a profit. |
| 20204 |
/city/houses/wizz* maps: removed ./ from start of some map paths - |
| 20205 |
causes apparant problems. |
| 20206 |
Lake_Country/Butakis/blacksmith - can no longer get free dragon mails |
| 20207 |
or other items - have to pay for them now. |
| 20208 |
Remove pup_land/rainbow/Lv4/\nkey (\n was an embedded newline). Map |
| 20209 |
doesn't look to be needed. |
| 20210 |
|
| 20211 |
Archetype changes: |
| 20212 |
|
| 20213 |
Added blocksview to gwall so you can no longer see through them. |
| 20214 |
|
| 20215 |
Fixed up castle animation in bitmap mode (212/312 images needed to be swapped) |
| 20216 |
|
| 20217 |
Increased exp for skulls from 3500 to 5000, reduced exp of deathtrees from |
| 20218 |
1400 to 1000. |
| 20219 |
|
| 20220 |
fixed typo in gauntlets which meant title was set right. |
| 20221 |
|
| 20222 |
aggressive 1 values changed to unagressive 0 values in some archetypes |
| 20223 |
(no such value as agressive) |
| 20224 |
|
| 20225 |
------------------------------------------------------------------------------ |
| 20226 |
Changes from Crossfire 0.93.7 to 0.94.0: |
| 20227 |
|
| 20228 |
Added outline of future versions in the TODO file. |
| 20229 |
|
| 20230 |
a mana storm should now hit with godpower attacktype. |
| 20231 |
|
| 20232 |
The spell create_food will now create food with 0 monetary value, and |
| 20233 |
be marked as starting equipment, so can not be dropped. |
| 20234 |
|
| 20235 |
Player titles with spaces should now load properly. |
| 20236 |
|
| 20237 |
Updated command times for use skill, ready skill, and stay commands so |
| 20238 |
when client executes them, proper amount of time is subtracted. |
| 20239 |
|
| 20240 |
drop_object now preserves the freeze inv/look window, which prevents |
| 20241 |
slowdowns when picking up a lot of objects/dropped. |
| 20242 |
|
| 20243 |
Added yield to water of diamond, fixed typo for dust of frost recipe. |
| 20244 |
If a recipe doesn't have a yield, recipe should still be properly |
| 20245 |
generated. |
| 20246 |
|
| 20247 |
Hiscore savefile now stores maxgrace and seperates player title from |
| 20248 |
player name. |
| 20249 |
|
| 20250 |
Option added to only swap out maps when MAX_OBJECTS is exceeded |
| 20251 |
(MAX_OBJECTS_LWM) |
| 20252 |
|
| 20253 |
Changed internal definition from SOUND_EFFECTS to RPLAY_SOUND to properly |
| 20254 |
reflect what it actually enables (sounds for the client are always |
| 20255 |
enabled) |
| 20256 |
|
| 20257 |
No longer put a 'a' for single objects. |
| 20258 |
|
| 20259 |
Changed ring generation so rings of power can be generated. |
| 20260 |
|
| 20261 |
Change can_merge so that more objects are mergable, add nrof 1 to some |
| 20262 |
objects. |
| 20263 |
|
| 20264 |
Improved set_owner which can fix getting into endless loops. |
| 20265 |
|
| 20266 |
Change insert_ob_in_map_simple so it doesn't call check_walk_on. fixes |
| 20267 |
player being slowed way down when dropping objects on slow move space. |
| 20268 |
|
| 20269 |
Animations moved out of archetype and into seperate array. This is necessary |
| 20270 |
for the client as it makes a unique referance number for each animations. |
| 20271 |
Also, in future, this would make it easier to be able to change aminations |
| 20272 |
in objects/maps. |
| 20273 |
|
| 20274 |
Print out level gain messages in red so they are more noticable. |
| 20275 |
|
| 20276 |
Change can_pick so that invisible objects can not be picked up. |
| 20277 |
|
| 20278 |
Change singing so you can calm a monster multiple times - you only get |
| 20279 |
exp once however. |
| 20280 |
|
| 20281 |
Change show invisible so it only makes monsters and players visible, and not |
| 20282 |
things like magic mouths and ears. |
| 20283 |
|
| 20284 |
Patch so that if peaceful is set, you will not attack other players even |
| 20285 |
if they have attacked you. |
| 20286 |
|
| 20287 |
Auto apply woodsman/mountaineering benefit when in the appropriate terrain. |
| 20288 |
|
| 20289 |
Fix get command so it takes from a container if appropriate. |
| 20290 |
|
| 20291 |
shutdown and kick wizard commands added. |
| 20292 |
|
| 20293 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 20294 |
Client/Server changes for 0.94.0 |
| 20295 |
|
| 20296 |
Updated protocol version to 1010 |
| 20297 |
|
| 20298 |
Server debugging statements in ericserver can be enabled/disabled by |
| 20299 |
define at top. |
| 20300 |
|
| 20301 |
Client can lock/unlock items on the server. |
| 20302 |
|
| 20303 |
Client can now look at spaces now. |
| 20304 |
|
| 20305 |
Send update of item to client when it is identified. |
| 20306 |
|
| 20307 |
Send update command to client from decrease_ob_nr to update players |
| 20308 |
overall weight. |
| 20309 |
|
| 20310 |
Now send animation information to the client. |
| 20311 |
|
| 20312 |
Now send sound information to the client, client can send setsound |
| 20313 |
to server to enable/disable sounds. |
| 20314 |
|
| 20315 |
Client side image caching fully supported. |
| 20316 |
|
| 20317 |
Added updates when picking up objects/dropping objects so that players |
| 20318 |
weight and container weight is updated if necessary. Also, if object merges, |
| 20319 |
make sure we then send a delete of the original object that is now gone |
| 20320 |
to the client. |
| 20321 |
|
| 20322 |
Update object changed to send floor animations to the client. |
| 20323 |
|
| 20324 |
Send update when power crystal changes speed. |
| 20325 |
|
| 20326 |
Send update of player object after player is loaded. |
| 20327 |
|
| 20328 |
Change server so that only send map update and player stats once a tick - |
| 20329 |
should be more efficient and equally sufficient. |
| 20330 |
|
| 20331 |
Added LOCKED flag to item transmission command so client can no which items |
| 20332 |
are locked. |
| 20333 |
|
| 20334 |
Added item1 command which superceded item command - sends more informatin. |
| 20335 |
|
| 20336 |
Added update command to protocol, and function in server - only sends |
| 20337 |
portions of an object that need to be updated. |
| 20338 |
|
| 20339 |
Server now properly handles repeat fire on. |
| 20340 |
|
| 20341 |
------------------------------------------------------------------------------ |
| 20342 |
Changes from Crossfire 0.93.6 to 0.93.7: |
| 20343 |
|
| 20344 |
set_god wiz command added. |
| 20345 |
|
| 20346 |
Changed call to 'index' to 'strchr' in commands.c - keeps with what |
| 20347 |
the rest of the program does. |
| 20348 |
|
| 20349 |
Pupland archetypes and maps added (v1.2 of pupland distribution). |
| 20350 |
|
| 20351 |
Changed get_random_mon to be more random when a monster of a specific level |
| 20352 |
is requested. |
| 20353 |
|
| 20354 |
Casting transferrance spell on another playing and having their head explode |
| 20355 |
will no longet get the recipient of the spell exp - instead, the caster |
| 20356 |
of the spell will get the exp for any kills. |
| 20357 |
|
| 20358 |
change put_a_monster function so it properly handles multi-square monsters |
| 20359 |
(put_a_monster is called by summon_evil_monsters, at probably others) |
| 20360 |
|
| 20361 |
Changed alchemy so you no longer get exp for failed/random mixtures |
| 20362 |
|
| 20363 |
If a container on the ground that the player is using (ie opened) is |
| 20364 |
somehow removed, update the players view to now be the ground and not |
| 20365 |
the container. |
| 20366 |
|
| 20367 |
Player titles will now be loaded properly from save files. |
| 20368 |
|
| 20369 |
Can no longer sing and make the same monster unagressive multiple times. |
| 20370 |
The implementation is actually borrowing the NO_STEAL flag, which means |
| 20371 |
you can't steal after you sing, and after a failed steal, you can't sing |
| 20372 |
and calm it down. Also, make sure that only the 'head' of a monster is |
| 20373 |
sung to. |
| 20374 |
|
| 20375 |
Fixed up CSword_116 xpm file (too many chars on one line) |
| 20376 |
|
| 20377 |
Added note/option in config.h for systems lacking O_NDELAY. |
| 20378 |
|
| 20379 |
Fixed up some of the quests in Lake Country - can no longer just run and |
| 20380 |
get the dragonbane or buy the armor with a lot of scales. |
| 20381 |
|
| 20382 |
New Client/Server changes: |
| 20383 |
|
| 20384 |
changed esrv_send_face to take the client_num instead of client_id |
| 20385 |
(should be slightly more efficient). This does not affect the protocol |
| 20386 |
in any way - it just makes the handling on the serverside more efficient. |
| 20387 |
|
| 20388 |
Changed item command to calculate objects total weight before sending |
| 20389 |
it to the client (total weight = weight+carrying). This is needed because |
| 20390 |
there are many times that the client does not know what is in the container |
| 20391 |
and thus can not properly calculate the weight. |
| 20392 |
|
| 20393 |
Change server so it sends updates for the parent |
| 20394 |
items that the object is being moved from/to (ie, when removing something |
| 20395 |
from a sack, send an update for the sacks weight). For the client |
| 20396 |
to properly handle the player being re-updated, some special handling |
| 20397 |
had to be added so the inventory list would be updated and so that |
| 20398 |
we don't try and add another player object (client search routine for |
| 20399 |
tags didn't look at the player) |
| 20400 |
|
| 20401 |
Fixed server so it now properly updates the original item from which a |
| 20402 |
portion of it is being dropped. |
| 20403 |
|
| 20404 |
Fixed bug in server handling which kept the -1 return code from a |
| 20405 |
blocked socket and decreased amount to send by that - reset to zero |
| 20406 |
so amount to be sent remains the same. |
| 20407 |
|
| 20408 |
askface and mapredraw commands added to Protocol by Phil. |
| 20409 |
|
| 20410 |
Changed load player function so it calls fix_player before sending |
| 20411 |
initial data to client. |
| 20412 |
|
| 20413 |
Removed some printf/debug statements from pickup code for newcs in |
| 20414 |
player.c |
| 20415 |
------------------------------------------------------------------------------ |
| 20416 |
|
| 20417 |
Changes from Crossfire 0.93.5 to 0.93.6: |
| 20418 |
|
| 20419 |
If we fail to save a map, all objects on that map should now be properly |
| 20420 |
deleted from memory. |
| 20421 |
|
| 20422 |
Fix possible crash when score is being generated if player is on |
| 20423 |
swapped out map. |
| 20424 |
|
| 20425 |
Default output buffer for new clients is now 64k. |
| 20426 |
|
| 20427 |
Partial code in place for client side image caching. |
| 20428 |
|
| 20429 |
Alchemy changes from Peter & Brian. Main change is that multiple recipes |
| 20430 |
can be made at once. |
| 20431 |
|
| 20432 |
Bad grammer in messages printed out when readable object is beyond players |
| 20433 |
comprehension. |
| 20434 |
|
| 20435 |
ethreality recipe commented out in formulae file. |
| 20436 |
|
| 20437 |
Some playbalance issues on maps fixed by Samuli Tursas. |
| 20438 |
|
| 20439 |
Internal handling of shop menus changed - instead of a list of objects, |
| 20440 |
change it to an array of strings. |
| 20441 |
|
| 20442 |
Minor changes in porting.c to hopefully make that file compile properly on |
| 20443 |
more systems. |
| 20444 |
|
| 20445 |
doc/experience updated with some more notes from Brian. |
| 20446 |
|
| 20447 |
CAN_MERGE changed from a macro in define.h to an inline function in |
| 20448 |
object.c (only file it is used.). It makes it a bit clearer, and hopefully |
| 20449 |
a little safer. There is an option at the top of config.h for handling |
| 20450 |
of the INLINE function declaration. |
| 20451 |
|
| 20452 |
Possible fix so that altars should not be re-concecrated if god is |
| 20453 |
set in the editor. |
| 20454 |
|
| 20455 |
Undead monsters can now see in the dark. |
| 20456 |
|
| 20457 |
Fixed bug in parse_command which would cause crashes if a socket connection |
| 20458 |
entered a string with a ; in it. |
| 20459 |
|
| 20460 |
Increased string size in new_draw_info which prevents crashes/stack |
| 20461 |
corruption when really ling strings from a socket is entered. |
| 20462 |
|
| 20463 |
Changed spell level/costs between invisibility and improved invis such so that |
| 20464 |
the improved version is now a higher level and more sp. |
| 20465 |
|
| 20466 |
Now possible to steal from a creature more than once as long as character |
| 20467 |
remains unseen. Each steal attempt will become harder in any case. |
| 20468 |
|
| 20469 |
Remove some special player checking in get_nearest_player - I think it |
| 20470 |
caused some crashes, and wasn't necessary (in fact, clever players could use |
| 20471 |
it to get it such that monsters would not target them.) |
| 20472 |
|
| 20473 |
When characters stop levitating, call check_walk_on so they will fall |
| 20474 |
through pits or other applicable effects. |
| 20475 |
|
| 20476 |
Fixed up some archetypes which could be picked up when that should be |
| 20477 |
set (trapdoor, bullet, meteor). The last 2 cases can not be picked up, |
| 20478 |
but clever casting of alchemy could have nuetralized them. collect.pl will |
| 20479 |
now print warning if an object has walk_on set but does not have no_pick set. |
| 20480 |
|
| 20481 |
Added new map from Bjoern Helfesrieder to starting town (Yarin's House) |
| 20482 |
|
| 20483 |
Fix in item matching code that could cause core dumps. |
| 20484 |
|
| 20485 |
Fixed clearinfo command so that it still works even if player is using |
| 20486 |
scroll mode (only if player issues the clearinfo command - other uses |
| 20487 |
of clearinfo in function won't clear in scroll mode.) |
| 20488 |
|
| 20489 |
Improved shop listings so they are sorted by type, then sorted by name. |
| 20490 |
|
| 20491 |
Fixed bug in backspacing the to the front of the first line of an |
| 20492 |
extended command - it now works properly and puts you back in normal |
| 20493 |
command mode (this got broken in the addition of extended line input.) |
| 20494 |
|
| 20495 |
Player should still be able to save if they were the wizard. However, |
| 20496 |
wizard status will be stripped for save, but the fact they were a wizard |
| 20497 |
will not be stripped. |
| 20498 |
|
| 20499 |
Imp made even wimpier by Peter M. |
| 20500 |
|
| 20501 |
If you set of traps, open doors, push a player, or roll a boulder, |
| 20502 |
you now become visible. |
| 20503 |
|
| 20504 |
Change it so that when something/someone reads a scroll, only inform |
| 20505 |
the other people on the map (perhaps this is still overkill?) |
| 20506 |
|
| 20507 |
------------------------------------------------------------------------------ |
| 20508 |
Changes from Crossfire 0.93.4 to 0.93.5: |
| 20509 |
|
| 20510 |
Replaced handbook make_index script with perl version. Much faster, and |
| 20511 |
also fixes problem with echo command doing different things on different |
| 20512 |
systems. |
| 20513 |
|
| 20514 |
Minor change in crossedit such that if it is not compiled with XPM |
| 20515 |
support, it will give an error message if run with the -xpm option. |
| 20516 |
|
| 20517 |
Changed code so that experience objects no longer change stats (reverses |
| 20518 |
'fix' made in 0.92.9) Fixes problem of characters getting extra |
| 20519 |
stat points from the experience objcts. |
| 20520 |
|
| 20521 |
Fix bug that could cause infinite recursion loop in spellpath_msg. From |
| 20522 |
[email protected] (James Cameron) |
| 20523 |
|
| 20524 |
Fix bug in complex keybindings in which all the commands in the keybinding |
| 20525 |
were executed that tick. Thus, if you bound a key to north;north;north;north |
| 20526 |
and pressed that key, you would move 4 spaces north no matter what your speed |
| 20527 |
was. It now works properly, and you move at proper speed (keybinding is |
| 20528 |
copied into buffer in player structure, and removed as we go along.) Note: |
| 20529 |
This buffer could also be used to hold keypresses not yet processed, but |
| 20530 |
that hasn't been done yet. |
| 20531 |
|
| 20532 |
Added ability to enter lines longer than the info window is wide. This |
| 20533 |
allows for longer keybindings or say commands. It isn't the most |
| 20534 |
sophisitcated thing (the extra lines show up with a 1> and 2>, etc for the |
| 20535 |
extra lines, and we just redraw the previous line if you backspace that |
| 20536 |
far. After you complete the command, it does end up redrawing the entire |
| 20537 |
command, which can take a few lines, which gives some confirmation on what |
| 20538 |
you typed in. This feature was added to both the standard server code |
| 20539 |
and the new client. |
| 20540 |
|
| 20541 |
Change use of tempnam to tempnam_local which we supply. Standard tempnam |
| 20542 |
will look at the TMPDIR environmental variable, and use that to override any |
| 20543 |
other value for the directory - this causes problems if different people |
| 20544 |
runn the program and using the temporary maps accross runs. tempnam_local |
| 20545 |
will not look at the TMPDIR variable, and will instead always use the value |
| 20546 |
we pass it. This can be changed if we were not compiled in SECURE mode by |
| 20547 |
changing the CROSSFIRE_TMPDIR environmental variable. Code was also changed |
| 20548 |
so the CROSSFIRE_TMPDIR variable will not be used if compiled in SECURE mode. |
| 20549 |
|
| 20550 |
Fix so that you can no longer move really fast or fire really fast by using |
| 20551 |
the mouse buttons in the game window. Using the mouse buttons in the game |
| 20552 |
window should now result in the same speed as using the keyboard. |
| 20553 |
|
| 20554 |
Patches from Peter Mardahl: |
| 20555 |
|
| 20556 |
Dusts now cast as ability and not spells. This mean that they will not |
| 20557 |
have magic as part of the attacktype. |
| 20558 |
|
| 20559 |
Spells that are cast on oneself now ignore direction. Thus, healing and |
| 20560 |
protection potions can not be cast on something next to the player using |
| 20561 |
the object. |
| 20562 |
|
| 20563 |
Detector object added. Similar to inventory checkers, but only |
| 20564 |
periodically samples what is in the space, and doesn't look at the |
| 20565 |
inventory, only objects actually on the map. |
| 20566 |
|
| 20567 |
Creators can now cause objects they create to inherit names. They can |
| 20568 |
also periodically create items. |
| 20569 |
|
| 20570 |
Arch diffs: imps weakened, cold dragon spews forth cold, creator modified |
| 20571 |
to have default speed 0. |
| 20572 |
|
| 20573 |
New FireTemple set of maps. These have been onto the Volcano in the |
| 20574 |
southeast area of the continent. The maps that were there were moved to |
| 20575 |
world_e2, under the crater. |
| 20576 |
|
| 20577 |
Gradual light/darkness code put in place. I fixed a few of the bugs |
| 20578 |
that were in peters orignal version, so it works flawlessly for both |
| 20579 |
server and new client. |
| 20580 |
|
| 20581 |
------------------------------------------------------------------------------ |
| 20582 |
Changes from Crossfire 0.93.3 to 0.93.4: |
| 20583 |
|
| 20584 |
Inventory checkers can now act as doors. If no_pass is set in an |
| 20585 |
inventory checker, player can not move onto that space unless they meet |
| 20586 |
the match requirements. |
| 20587 |
|
| 20588 |
Signs that are usuable only a fixed number of times added. |
| 20589 |
|
| 20590 |
Fix for pedestals & buttons so they are only activated once when a player |
| 20591 |
moves onto a space (previously, they were being activated twice.) |
| 20592 |
|
| 20593 |
Fix for connected objects so that they will not be sacrificed on altars. |
| 20594 |
This fixes a case where you might want to put a check_inv and altar with |
| 20595 |
the same sacrifice on the same space. Before, the inventory checker would |
| 20596 |
be sacrificed on the altar, causing the linked button list for |
| 20597 |
inventory checker to be corrupt. |
| 20598 |
|
| 20599 |
Many maps updated to look better in xpm mode or just better in general. |
| 20600 |
|
| 20601 |
Change in crossedit so that if you set the randomitems variable for an object, |
| 20602 |
it only sets the value at the head of the object, and not all parts of the |
| 20603 |
object (it would be nice to allow non head parts to have this set, but I am |
| 20604 |
not sure how to get what part was clicked on in the editor, since it seems the |
| 20605 |
head is passed to the function.). |
| 20606 |
|
| 20607 |
xpmtopix.pl script added. Eventually, I hope this will replace the |
| 20608 |
C version. For now, all it is good for is to verify that the XPM images |
| 20609 |
are using the proper colors. Numerous XPM images were not using the proper |
| 20610 |
colors (a lot were using brown, which is not an official color - see |
| 20611 |
the xpm template for what is.) |
| 20612 |
|
| 20613 |
Cleanup of proto directive to turn __signed into signed. Also, change |
| 20614 |
#if __STDC__ to #ifdef __STDC__ in proto files. |
| 20615 |
|
| 20616 |
Fix so it should now compile if SECURE is defined. |
| 20617 |
|
| 20618 |
Ability to more easily added needed libraries in crosssite.def - |
| 20619 |
Extra_Libraries option added. |
| 20620 |
|
| 20621 |
Assume Linux has a prototype for tempnam (at least my version does.) |
| 20622 |
|
| 20623 |
Many objects added, and many XPM images updated/improved. |
| 20624 |
|
| 20625 |
Change in new CS code - don't send the version string until after we fully |
| 20626 |
set up the structure. |
| 20627 |
|
| 20628 |
Change so crossfire will compile if SAVE_HOMEDIR is set. |
| 20629 |
|
| 20630 |
Reverse actions of -m8 and -m9 (Believe they were doing the wrong thing |
| 20631 |
relative to the scripts and what the docs say.) |
| 20632 |
|
| 20633 |
Change in hiding code and detection by monsters. |
| 20634 |
|
| 20635 |
------------------------------------------------------------------------------ |
| 20636 |
Changes from Crossfire 0.93.2 to 0.93.3: |
| 20637 |
|
| 20638 |
Added a fill below function in crossedit. This make filling in backgrounds |
| 20639 |
for maps much easier. Basically, it just puts whatever object you select as |
| 20640 |
the bottom object of the bounding box. If the bottom object on the map |
| 20641 |
matches the object being inserted, the object is not inserted. As a side |
| 20642 |
effect of some code in GetMapObjectZ, if it matches the top object, it won't |
| 20643 |
be inserted either. This makes things much easier to update map backgrounds |
| 20644 |
for XPM mode. |
| 20645 |
|
| 20646 |
Hiding made easier for players. |
| 20647 |
|
| 20648 |
Stealing is made easier for players, but harder beyond the first item. |
| 20649 |
|
| 20650 |
Many image colored and perspective corrected David Sundqvist. Also, several |
| 20651 |
new objects added (specialized altars, some more indoor furniture/more |
| 20652 |
orientations, some sliding secret doors, and new wall types.) Barn image |
| 20653 |
naming conventioned changed to follow what is considered proper. |
| 20654 |
|
| 20655 |
A few maps added by David (two temples in starting village, along with |
| 20656 |
a mercenary recruitment building.) Also, some maps fixed to look better |
| 20657 |
in XPM made. |
| 20658 |
|
| 20659 |
Party kill option added by Rauli Ruohonen. IT lets you see who has killed |
| 20660 |
what recently in your party. |
| 20661 |
|
| 20662 |
Saving throw for objects cleaned up. Previously, an objects immunities/ |
| 20663 |
protections were not being used correctly to determine if it made its saving |
| 20664 |
throw (that is why icecubes could be destroyed by ice). It is now set up |
| 20665 |
properly. |
| 20666 |
|
| 20667 |
Gods will no longer improve weapons that have been enchanted by other gods |
| 20668 |
(Or I believe by yourself.) |
| 20669 |
|
| 20670 |
Fix memory overrun (1 entry) when initializing values for the images. |
| 20671 |
|
| 20672 |
Program will not recover properly when it attempts to load a temporary |
| 20673 |
map. This means that load_temporary_map returns the map object to use, |
| 20674 |
since it might change. |
| 20675 |
|
| 20676 |
When setting the owner of a monster, clear its ability to use skills |
| 20677 |
|
| 20678 |
Fix in decrease_ob_nr so it should now work on 64 bit systems. |
| 20679 |
|
| 20680 |
Mapguide updated with various suggestions made on the mailing list. |
| 20681 |
|
| 20682 |
Linux systems assumed to have at least random available (change in the config.h |
| 20683 |
file.) |
| 20684 |
|
| 20685 |
't' is now bound by default to 'ready_skill throw' |
| 20686 |
|
| 20687 |
missing demon types (imp, big_demon, Greater_Demon) added to the list |
| 20688 |
of demon races. |
| 20689 |
|
| 20690 |
xpmtopix will print a warning if it detects and XPM file using a tab character |
| 20691 |
in the color name - makes it easier to track possible image corruption. |
| 20692 |
|
| 20693 |
Check for power of improved weapons now in its own function. Also, we |
| 20694 |
now properly check weapon power when improving one (before, you could |
| 20695 |
improve it one level more than you could actually use.) |
| 20696 |
|
| 20697 |
When a container is applied, make sure it is a player applying it before |
| 20698 |
checking for new client/server information - otherwise an invalid pointer |
| 20699 |
is dereference. |
| 20700 |
|
| 20701 |
Complex keybindings added - thus, you can bind several commands seperated |
| 20702 |
with semicolons to one key. |
| 20703 |
|
| 20704 |
Fix in encounter.c so if compiled with RANDOM_ENCOUNTERS, the new |
| 20705 |
settings structure is used for map location. |
| 20706 |
|
| 20707 |
Added check fot out_of_map in various places that needed them - prevents |
| 20708 |
some more core dumps. |
| 20709 |
|
| 20710 |
skill identifications will now look on objects on ground in addition to |
| 20711 |
those in the inventory. |
| 20712 |
|
| 20713 |
perceive self should now tell you what god you worship. |
| 20714 |
|
| 20715 |
map reset times on maps (temporary maps accross multiple runs) will not be |
| 20716 |
altered if there is no map reset time. |
| 20717 |
|
| 20718 |
------------------------------------------------------------------------------ |
| 20719 |
Changes from Crossfire 0.93.1 to 0.93.2: |
| 20720 |
|
| 20721 |
New argument parsing routine - we now parse arguments in phases. With this, |
| 20722 |
I have moved many of the global settings into a settings structure, and |
| 20723 |
allowed highscores to be displayed by class/name. The man page and -h |
| 20724 |
option have also been updated. Also, all the files that could |
| 20725 |
previously be specified via environmental variables can now be specified |
| 20726 |
with command line options. |
| 20727 |
|
| 20728 |
The temporary directory can now be specified via -tmpdir command line option or |
| 20729 |
CROSSFIRE_TMPDIR environmental variable. |
| 20730 |
|
| 20731 |
If you cast word of recall and then save before it takes effect, it will |
| 20732 |
no longer corrupt the character (and will in fact take effect when you |
| 20733 |
restart). |
| 20734 |
|
| 20735 |
Don't let players throw starting equipment. At the same time, don't mark |
| 20736 |
throwable items as starting equipment - instead, just give it zero |
| 20737 |
value. |
| 20738 |
|
| 20739 |
Fixed inscription - now properly writes scroll when passed no string instead |
| 20740 |
of crashing. |
| 20741 |
|
| 20742 |
Artifact monsters now possible (monsters whose abilities are changed based |
| 20743 |
on the artifacts file.) Top of the artifacts file has more information on |
| 20744 |
this. For now, I have only set up the orc, ogre, and goblin to get |
| 20745 |
special leaders. |
| 20746 |
|
| 20747 |
Temp maps can be reused across multiple runs. See config.h for more |
| 20748 |
notes. |
| 20749 |
|
| 20750 |
Bug fix in inscription: If you inscribed a scroll and already had |
| 20751 |
one like it in your inventory, the game would crash after they |
| 20752 |
merged. Also, if you failed in inscribe a scroll, the game would |
| 20753 |
also crash (object it was using to calculate experience had never been |
| 20754 |
initialized). For now, I just changed it to return -10*spell level |
| 20755 |
as the exp award. |
| 20756 |
|
| 20757 |
Items will now be merged with other items even if one has been inventory |
| 20758 |
locked. This way, if you have some torches that are locked and you pick up |
| 20759 |
some more, they will merge in instead of showing up seperately. |
| 20760 |
|
| 20761 |
Bug fix for saving throw on objects hit by cold. There could be cases |
| 20762 |
where an object being processed is no longer on the map and would cause |
| 20763 |
a crash. |
| 20764 |
|
| 20765 |
Change find_first_free_space to return -1 if there are no free spaces. |
| 20766 |
Calling function should check this and then do the 'right thing'. This |
| 20767 |
fixes problems with runes creating monsters on top of monsters (or |
| 20768 |
below the player). |
| 20769 |
|
| 20770 |
Magic map cleanup. Now have magicmap field in NewFace structure. This |
| 20771 |
field holds the color to use for magic map in low 4 bits, and various |
| 20772 |
flags in high 4 (right now, only floor bit is used, since drawing may |
| 20773 |
differ on bw systems with that value.) magicmap filed is now supported |
| 20774 |
in .arc and faces file. collect.pl modified to automaticaly put |
| 20775 |
magicmap into the faces file, will also copy is_floor into faces file. |
| 20776 |
magicmap takes a color name. This seperation allows magic map colors |
| 20777 |
to be set independant of foreground and background colors, and simplifies |
| 20778 |
the code a good deal. Also, it makes new client magic map support easier. |
| 20779 |
Now all the archetypes need to be updated (I have already done the armour, |
| 20780 |
connect and construct directories.) |
| 20781 |
|
| 20782 |
Magic map for client now implemented. Definition of protocol added to |
| 20783 |
Protocol file. Only limitation implementation has over direct server is |
| 20784 |
it only flashes the position of the player who cast the spell. This |
| 20785 |
seems perfectly reasonable to me (use color or other attribute to know |
| 20786 |
where other players are.) |
| 20787 |
|
| 20788 |
Old client (telnet front end) changed so that it no longer requires |
| 20789 |
libcross.a. |
| 20790 |
|
| 20791 |
save object should do a better job if it gets an object without an |
| 20792 |
archetype. |
| 20793 |
|
| 20794 |
buffer size for LOG increased - there were cases where this buffer |
| 20795 |
was not large enough and was causing crashes (sending large amounts of |
| 20796 |
garbage data to the socket was one way.) |
| 20797 |
|
| 20798 |
Load map will now reload the original map if the temporary map is for some |
| 20799 |
reason no longer around. |
| 20800 |
|
| 20801 |
Fix bug where randomitems may not have been properly initialized for now |
| 20802 |
objects (was inside an #ifdef for CASTING_TIME) |
| 20803 |
|
| 20804 |
strerror_local added to porting.c. Lets up give up more reasonable |
| 20805 |
error descriptions for certain errors. |
| 20806 |
|
| 20807 |
If an object is cursed, set its vulnerable values to its protected and |
| 20808 |
immune fields, adn clear those fields. Fixes 'problems' with finding |
| 20809 |
cursed rings which are not really cursed (pro fire/vuln cold rings.) |
| 20810 |
|
| 20811 |
If trying to switch to private colormap in XPM mode, check to see if |
| 20812 |
we are successful. |
| 20813 |
|
| 20814 |
Fix crossedit so that if you have a map loaded and you then try to load |
| 20815 |
an invalid file, it no longer crashes (now reverts back to old file) |
| 20816 |
|
| 20817 |
Archetype changes: Golden unicorn horn now has its own set of images. |
| 20818 |
Editable field updated for the gods archetypes (they were showing up in all |
| 20819 |
the menus.) living_chaos object added (need for Brian Thomas's maps.) |
| 20820 |
|
| 20821 |
Update the editor/picks map so that all archetypes are included in at least |
| 20822 |
one of the maps. Modified the map_info script to print out unused |
| 20823 |
archetype. |
| 20824 |
|
| 20825 |
New server: Only increase buffer size of socket if it would increase |
| 20826 |
overall size. |
| 20827 |
|
| 20828 |
fix in skill experience calculation to use magic field properly. |
| 20829 |
|
| 20830 |
Alchemy spell changed. If there is a cauldron in area of effect, only |
| 20831 |
do cauldron alchemy. Otherwise, do item to gold nugget conversion. |
| 20832 |
|
| 20833 |
Added a few more notes/thoughts to the mapguide/ |
| 20834 |
|
| 20835 |
------------------------------------------------------------------------------ |
| 20836 |
Changes from Crossfire 0.93.0 to 0.93.1: |
| 20837 |
|
| 20838 |
change race initialization functions to to fix cases where race is specified |
| 20839 |
in race file but no race is specified in the arch it points to - before it |
| 20840 |
would not be added to the proper race list. |
| 20841 |
|
| 20842 |
include handbook.ps in the standard distribution. |
| 20843 |
|
| 20844 |
Client server rewritten to no longer use eutl package. Other bugfixes for |
| 20845 |
client server: server now properly sends delete item command to client, |
| 20846 |
client now properly adds up a containers (and hence players) weight, pixmaps |
| 20847 |
are now supported. |
| 20848 |
|
| 20849 |
Snowball spells added - these are the same idea as the fireball spells. (by |
| 20850 |
peterm) |
| 20851 |
|
| 20852 |
Magic wall will consume several squares now. |
| 20853 |
|
| 20854 |
spells array (in spellist.h) updated - was missing a spell (cure blindness). |
| 20855 |
|
| 20856 |
splitter.pl (by peterm) added to arch/dev directory - takes a larger xpm |
| 20857 |
file and splits it into 24x24 chunks. |
| 20858 |
|
| 20859 |
icestorm and small snowball added to possible list of starting spells. |
| 20860 |
|
| 20861 |
Only set minimum speed of 0.01 for players. This fixes the bug introduced |
| 20862 |
in 0.93.0 where multisquare monsters moved too slow. |
| 20863 |
|
| 20864 |
Only print out a creature lost a spell if it is in fact a player. Only |
| 20865 |
applies for casting time. |
| 20866 |
|
| 20867 |
fix_me command added - basically just calls the fixme function. Can be |
| 20868 |
useful if you that your characters weight is for some reason incorrect. |
| 20869 |
|
| 20870 |
Fixed sprintf that was copying over static character data if you tried to |
| 20871 |
form a party that already matched a name. Also, fixed a possible buffer |
| 20872 |
overrun situation. |
| 20873 |
|
| 20874 |
More memory leaks fixed by Rupert Goldie - also fix to prevent orated monsters |
| 20875 |
from attack themselves. |
| 20876 |
|
| 20877 |
New xpm images for woods and some buildings by David Sundqvist. The new |
| 20878 |
buildings have a bit more texture and 3-d look, the new woods look a little |
| 20879 |
bit more in scale and mesh together better. The old images are in the |
| 20880 |
xpm_pref directory if you prefer those. |
| 20881 |
|
| 20882 |
More code added to free memory when server shuts down (useful for |
| 20883 |
trying to track down some memory leaks). |
| 20884 |
|
| 20885 |
------------------------------------------------------------------------------ |
| 20886 |
Changes from Crossfire 0.92.9 to 0.93.0: |
| 20887 |
|
| 20888 |
Minor map changes: Some maps cleaned up to look better in XPM mode. |
| 20889 |
Removed no magic areas from around the demilichs in lord ramsdre mansion. |
| 20890 |
|
| 20891 |
map_expand perl script added (located in lib/adm) |
| 20892 |
|
| 20893 |
Cleaned up use of externs and declarations of many structures. Depending |
| 20894 |
on the linker, these would not be merged into one value, and thus not be |
| 20895 |
initialized/set properly (fixes 'mark pushed you bug'). This was a problem |
| 20896 |
at least on SGI systems, probably others. |
| 20897 |
|
| 20898 |
If on a sun and not using sun's acc, assuming Stupid Sun Headers, even |
| 20899 |
if on a Solaris system. |
| 20900 |
|
| 20901 |
Changed change_abil so it returns true if a value actually changed (useful |
| 20902 |
for printint out information when apply objects like potions.) A lot of |
| 20903 |
return checking of this function in apply.c is removed - that checking |
| 20904 |
now seems obsolete. |
| 20905 |
|
| 20906 |
Set visibility to zero at first stage initialization. |
| 20907 |
|
| 20908 |
Put a lower limit of 0.01 for player speed. This still gives an action |
| 20909 |
every 12 seconds if you pick up way too much junk. |
| 20910 |
|
| 20911 |
When praying at altars, have gods grant out spells only if it is a spell |
| 20912 |
they are attuned to. |
| 20913 |
|
| 20914 |
Cleaned up some memory leaks, courtesy of Rupert G. Goldie. |
| 20915 |
|
| 20916 |
Cleaned up the cast command code. Also, if you do something like 'cast p', it |
| 20917 |
will now show all spells you know that start with p, instead of casting the |
| 20918 |
first one it finds. |
| 20919 |
|
| 20920 |
Shift middle button in the inventory window should now mark an item. |
| 20921 |
|
| 20922 |
Fix button handling for look and message window so that only if it is clicked |
| 20923 |
with the right 30 pixels do we consider it a scrollbar event (before, anything |
| 20924 |
more than 270 from the left was considered scrollbar - works fine for |
| 20925 |
default sizes, but if you resize, it would cause problems. |
| 20926 |
|
| 20927 |
If on SGI systems, don't default to using rand - it should now pick up |
| 20928 |
lrand48 or random instead. |
| 20929 |
|
| 20930 |
Change spell casting such that if you aren't high enough level, it more |
| 20931 |
obviously states it (previously it said you 'lack the skill', which can lead |
| 20932 |
to confusion.) |
| 20933 |
|
| 20934 |
Fix so that the first recipe is now accessible when performing alchemies. |
| 20935 |
|
| 20936 |
Added many thoughts/ideas to the TODO list. |
| 20937 |
|
| 20938 |
Increase buffer size for examine command - some object could overflow the old |
| 20939 |
buffer. |
| 20940 |
|
| 20941 |
remove no_magic from all monsters - immunity values should be used instead. |
| 20942 |
am not sure |
| 20943 |
|
| 20944 |
Made changes for strcasecmp detect - was checking as defined(sun), now is |
| 20945 |
defined(__sun__) - this is proper and what the rest of the code uses. |
| 20946 |
|
| 20947 |
define MAXNAMLEN in crossedit/Posix.h - needed for ultrix systems. |
| 20948 |
|
| 20949 |
Made it so that boots are not always considered magical (since there are |
| 20950 |
now many plain boots out there.) Also, removed the always_magical function - |
| 20951 |
is_magical should now handle it all. |
| 20952 |
|
| 20953 |
Allow items of type BOOK to be identified, since you can now find non |
| 20954 |
identified readable items. |
| 20955 |
|
| 20956 |
Change loot_object so it doesn't remove experience objects - this way skills |
| 20957 |
don't get removed when a player dies. |
| 20958 |
|
| 20959 |
------------------------------------------------------------------------------ |
| 20960 |
Changes from Crossfire 0.92.8 to 0.92.9: |
| 20961 |
|
| 20962 |
Make sure all skills are unapplied when changing the class. |
| 20963 |
|
| 20964 |
When generating a spell listing (cast with no options), display the |
| 20965 |
level of the spell (or den if it is denied.) Also, display mage spells |
| 20966 |
in one batch, priest spels in another group - I think this is more |
| 20967 |
relevant now since these are seperate exp objects and draw on different |
| 20968 |
power sources. Still no pause key (doing those is a real pain) - that |
| 20969 |
is really a client issue or we should just add a scrollbar to the text |
| 20970 |
window. |
| 20971 |
|
| 20972 |
Removed level 20 from artifact 'sword of Beserkgang' - was preventing |
| 20973 |
characters from using it. |
| 20974 |
|
| 20975 |
Put cause many wounds spell in PATH_WOUNDING. Book chance for holy word |
| 20976 |
increased. |
| 20977 |
|
| 20978 |
Let experience objects change stats. |
| 20979 |
|
| 20980 |
Many debugging messages added or updated to print out more useful/ |
| 20981 |
detailed information. |
| 20982 |
|
| 20983 |
Changed usage and set_protocol function names in client/client.c. This |
| 20984 |
prevents name collision with libcross. |
| 20985 |
|
| 20986 |
Web site locations added to the README file. |
| 20987 |
|
| 20988 |
Load and save window positions even if split windows is not set. This way, |
| 20989 |
window posititions are lost if you run the game in non split mode (and I |
| 20990 |
don't see any reason to discard these values.) Also, -split can |
| 20991 |
be used in addition to -w to get split mode. |
| 20992 |
|
| 20993 |
Changed check inventory objects to recursively search through containers, |
| 20994 |
and cleaned up the code. Also, added notes on crossfire.doc on using it, |
| 20995 |
and made basic archetype to use. When using inventory checkers in |
| 20996 |
crossedit, have the attributes by default come up with connected and |
| 20997 |
lockcode fields. |
| 20998 |
|
| 20999 |
Made change to unique items: If the object is a floor and has unique items |
| 21000 |
set, then all objects above and including the floor get saved as unique |
| 21001 |
objects. Also, when merging maps and freeing old unique items, make sure we |
| 21002 |
remove them from the button links. Made an apartment map which characters can |
| 21003 |
buy permanent apartments and also store equipment in. When exiting the |
| 21004 |
program, save off all maps so the unique items get written out. |
| 21005 |
|
| 21006 |
Xpm fixes: Moved floor setting from map loader to update_object. This |
| 21007 |
makes it so that crossedit will display the map properly in XPM mode as |
| 21008 |
you make updates. Also, made default visiblity 0 - this makes the double |
| 21009 |
floor work properly. There still seems to be some bug when pasting objects |
| 21010 |
in the editor with respect to updates. |
| 21011 |
|
| 21012 |
Change made to goths taverns and tavern in lake country. Change is so |
| 21013 |
that some of the wimpier informants don't have really good stuff to take. |
| 21014 |
|
| 21015 |
Periodically write out the book archive during play, and not just when the |
| 21016 |
program exits. |
| 21017 |
|
| 21018 |
Bug fix so 'drop x items' should no longer crash. Also, 'drop 1 item' |
| 21019 |
should now only drop 1 item of 'item', and not all of 'item'. |
| 21020 |
|
| 21021 |
Bug fix so 'unlock item' should now work OK. |
| 21022 |
|
| 21023 |
When throwing objects, clear the APPLIED flag before the throw. |
| 21024 |
|
| 21025 |
Prayer granting from praying at altars changed around - you will get more |
| 21026 |
unusual prayers, and a Wisdom of 25 is not a yes/no cutoff - value of |
| 21027 |
sucess depends on wisdom. |
| 21028 |
|
| 21029 |
Archetype changes: remove no_magic flag from demon lord - I don't think |
| 21030 |
this should be set in any monster - instead, immune should be set properly. |
| 21031 |
Added damned flag to gates that are no magic (probably not necessary, |
| 21032 |
but I think it makes sense.) Added check_inv object. Removed some |
| 21033 |
duplicate skill types (same skill, different arch names.) |
| 21034 |
|
| 21035 |
Have get_pointed_target return the head of the monster if it is a multi |
| 21036 |
part monster. |
| 21037 |
|
| 21038 |
Change smite and finger of death spell so they have no effect if creature |
| 21039 |
reflects spells. |
| 21040 |
|
| 21041 |
Fix to prevent bug crashes with magic rune spell. |
| 21042 |
|
| 21043 |
Fix in spring_trap to correctly target the victim. Also, |
| 21044 |
fix in find_traps which prevented the gaining of experience. |
| 21045 |
|
| 21046 |
If character has bonus grace, display it with percieve self. Also, load |
| 21047 |
and store the last_grace value properly. |
| 21048 |
|
| 21049 |
Changes from Brians hide/attack patch: Adjustments for attacking based |
| 21050 |
on varying factors, monsters wake up & call for help if it, can't remain |
| 21051 |
hidden if you attack, changes for monster detection of hidden/dark/invisible |
| 21052 |
players, players no longer remain invisible if attacking, adjustment in |
| 21053 |
exp for stealing, stealing and hiding chances changed based on terrain |
| 21054 |
and other modifiers, when generating flesh items, set no_steal, give |
| 21055 |
chinese dragons some treasure, giants a little more gold. |
| 21056 |
|
| 21057 |
------------------------------------------------------------------------------ |
| 21058 |
Changes from Crossfire 0.92.7 to 0.92.8: |
| 21059 |
|
| 21060 |
races file changed, a bit more flexible. |
| 21061 |
|
| 21062 |
Additional dump flag (-m8) to dump god information. |
| 21063 |
|
| 21064 |
If attacktype is holyword, creature must be in slaying field of holyword. |
| 21065 |
|
| 21066 |
Better handling for items that remove/add protections,immunities, |
| 21067 |
vulnerabilities. Only print changes if there is an actual change. |
| 21068 |
|
| 21069 |
holy power, blinding attacktypes added. |
| 21070 |
|
| 21071 |
Add poison to list of items that might not be identified. |
| 21072 |
|
| 21073 |
Two when windows are killed: 1) data is freed properly without causing |
| 21074 |
crash now. 2) If player has saved but window is still active, will |
| 21075 |
no longer make a save of the player. This save would be a no-item save |
| 21076 |
that the character had been playing. |
| 21077 |
|
| 21078 |
Bug fix to prevent crashes if clicking a button in the message window |
| 21079 |
and show_Buttons not enabled. Also, moved button handling in message |
| 21080 |
window into its own function. |
| 21081 |
|
| 21082 |
Bug fix for pet monsters that should prevent cores if cycling through many |
| 21083 |
maps very quickly. |
| 21084 |
|
| 21085 |
appendix for god information added to handbook (both latex and html versions.) |
| 21086 |
|
| 21087 |
gods2 patch applied from Brian Thomas. The main thrust of the patch is |
| 21088 |
to make gods objects/archetype, and not array entries in the source code. A |
| 21089 |
lot of code needed to be changed to support this difference. |
| 21090 |
|
| 21091 |
God patches so that game doesn't crash if no gods are set. |
| 21092 |
|
| 21093 |
Hopeful change for FreeBSD so it automatically pulls in the crypt |
| 21094 |
library. |
| 21095 |
|
| 21096 |
Can no longer cast spells which are beyond your skill level. |
| 21097 |
|
| 21098 |
More powerful spell failures added. |
| 21099 |
|
| 21100 |
Can no longer read scrolls/other readable if blind. |
| 21101 |
|
| 21102 |
Fix bug that if a weapon had slaying, it slayed all monsters, not just |
| 21103 |
the ones it was supposed to. |
| 21104 |
|
| 21105 |
Don't add the bows attacktype in when figuring out the attacktype of this |
| 21106 |
player. This pretty much always gave the character a physical attacktype |
| 21107 |
in addition to everything else. |
| 21108 |
|
| 21109 |
Fix 'peaceful' when using buttons so it doesn't crash the game. |
| 21110 |
|
| 21111 |
path_to_player changed to work better on diagonals. |
| 21112 |
|
| 21113 |
Spell choosing by monsters a bit more intelligent. |
| 21114 |
|
| 21115 |
No longer get experience for disarming/finding your own traps or those |
| 21116 |
of other players. |
| 21117 |
|
| 21118 |
Add NO_STEAL flag, with obvious meaning. If a monster notices you stealing |
| 21119 |
stuff, all his items are set to this, so nothing more can be stolen. Flag |
| 21120 |
is automatically cleared when items are dropped. |
| 21121 |
|
| 21122 |
Add run and fire messages to message (stat bar) window. |
| 21123 |
|
| 21124 |
Make USE_BUTTONS playable setable item instead of compile time item. |
| 21125 |
|
| 21126 |
Don't insert heavy (>5 kg) missile objects into player when they hit - have |
| 21127 |
them drop to the ground instead. |
| 21128 |
|
| 21129 |
-- |
| 21130 |
Made more general object matching routines. item_matched_string sees if |
| 21131 |
an object matches a string (which can be comma seperated list of many |
| 21132 |
things.) find_best_object_match finds the best match in the players |
| 21133 |
inventory. |
| 21134 |
|
| 21135 |
item_matched_string gets used for for matching multiple items. It is |
| 21136 |
used in drop, get, take, lock/unlock |
| 21137 |
|
| 21138 |
find_best_object_match is used for apply, examine, mark, search-items. |
| 21139 |
|
| 21140 |
Also changed code so that certain actions are in sync with what display |
| 21141 |
mode is set (mostly drop.) |
| 21142 |
-- |
| 21143 |
|
| 21144 |
If levitating, you can now remove items from containers in your inventory |
| 21145 |
(after all, they are levitation with you.) |
| 21146 |
|
| 21147 |
Clear is_changing flag if object is being thrown. |
| 21148 |
|
| 21149 |
Changes made to inscription code to work better. |
| 21150 |
|
| 21151 |
Changes mode to experience awarding for player skills. |
| 21152 |
|
| 21153 |
Fixes made to Peter Mardahl's dragonquest maps. |
| 21154 |
|
| 21155 |
Big Wizard, Belzebub, and Demon lord xpm versions colored. |
| 21156 |
|
| 21157 |
Minor bug fix to container in Thomas map. |
| 21158 |
|
| 21159 |
Some new archetypes/images for peterm/dragonquest maps. |
| 21160 |
|
| 21161 |
Make food creation spell more dynamic - food names/values no longer hard |
| 21162 |
coded in. |
| 21163 |
|
| 21164 |
Additional demons added by Peter Mardahl |
| 21165 |
|
| 21166 |
Bug fix to prevent crashes with improve armor/weapon scrolls. |
| 21167 |
|
| 21168 |
Bug fix to prevent crossedit from crashing when exiting with edit windows |
| 21169 |
open. |
| 21170 |
|
| 21171 |
Fix to prevent monsters from throwing certain good objects. |
| 21172 |
|
| 21173 |
Make sure praying over an altar only gets cleric spells. |
| 21174 |
|
| 21175 |
Increase saving throw array to correspond with max level. |
| 21176 |
|
| 21177 |
Monster hp/sp regeneration method changed some - more accurately tunable |
| 21178 |
for low regeneration values. |
| 21179 |
------------------------------------------------------------------------------ |
| 21180 |
Changes from Crossfire 0.92.6 to 0.92.7: |
| 21181 |
|
| 21182 |
Monsters now tend to be more agressive about firing spells. Several |
| 21183 |
changes - now monsters will fire along diagonals. For multisquare monsters, |
| 21184 |
we check to see if any part of the monster has a good shot at the player, |
| 21185 |
not just the head. This changes tend to make it more likely that a monster |
| 21186 |
will cast a spell and hit other monsters (makes a pack of wyverns more |
| 21187 |
dangerous, as many will cast spells at you.) I am not sure if this is a bad |
| 21188 |
thing - all it means is that you can't mix fire using creatures with |
| 21189 |
monsters that will be damaged by fire. |
| 21190 |
|
| 21191 |
Let archetypes in the races file have spaces (for Arch Angel) |
| 21192 |
|
| 21193 |
Throwing code added - players and monsters can now throw objects. Some |
| 21194 |
new throwable archetypes added. You need to add throwing_skill to any |
| 21195 |
old players - you can run the utils/add_throw.perl <playerfile> to do this |
| 21196 |
|
| 21197 |
crossedit: If a object have editable of 0, make it so it doesn't appear in |
| 21198 |
any of the menus. |
| 21199 |
|
| 21200 |
Max yield added to recipes. |
| 21201 |
|
| 21202 |
Better checks for insert_ob_in_ob to make sure we really have a player |
| 21203 |
before calling some of the update functions. |
| 21204 |
|
| 21205 |
Weight limit for custom containers is now saved. |
| 21206 |
|
| 21207 |
If we load an object and find it has no archetype, just drop the object. |
| 21208 |
This shouldn't happen, but can prevent core dumps for maps with missing |
| 21209 |
objects or players from a different version. |
| 21210 |
|
| 21211 |
Add 5 static buffers to query_name - it is now safe to call it a few times |
| 21212 |
in a sprintf or the like without losing the old value. |
| 21213 |
|
| 21214 |
Added 'statistics' command. Shows useful information about the |
| 21215 |
character (none that can't be found in the docs.) Also changed |
| 21216 |
'skills' to show how much exp you need in each category for the next |
| 21217 |
level. |
| 21218 |
|
| 21219 |
change_abil changed so that it only prints out what values/attributes |
| 21220 |
have changed. Ie, if you remove a ring that gives protection from |
| 21221 |
fire, but have other fire resistance, it won't say you are more vulnerable |
| 21222 |
to file (since you are not.) |
| 21223 |
|
| 21224 |
Charisma bonus/mechanism changed (again.) Values in living.c are more |
| 21225 |
easily/directly translated into what it means for buy/sell cost. Curve |
| 21226 |
also balanced out some more. Query_cost changed so the value |
| 21227 |
mechanism is a bit different (unfortunately, we need to multiply the value |
| 21228 |
of objects by 4 to keep them roughly the same price as before.) |
| 21229 |
|
| 21230 |
Added 'mark' command. You use this to mark objects that are used for |
| 21231 |
other objects (ie, torches with flint & steel, weapon with improvement |
| 21232 |
scroll, etc.) This removes the necessity that the item you want to apply |
| 21233 |
be the first thing in your inventory (in fact, that is no longer supported.) |
| 21234 |
This should also make things easier for the client. |
| 21235 |
|
| 21236 |
Bug fix that prevents crashes on spaces which have a teleporter and sacrifice |
| 21237 |
altar on the same space (/Lake_Country/DA). |
| 21238 |
|
| 21239 |
Some minor changes to lighting code, some maps also updated to |
| 21240 |
use lighting code. |
| 21241 |
|
| 21242 |
Added halfling and half orc character to the game (From Brian Thomas) |
| 21243 |
|
| 21244 |
Changed valuation for FLESH items. Before it was value*level of creature. |
| 21245 |
Now it is value*sqrt(level*2). For low level, this keeps roughly the same |
| 21246 |
value, but for high levels, it keeps things more reasonable (drops the |
| 21247 |
value of zombie corpses to about half previous value) |
| 21248 |
|
| 21249 |
Bug fix for monsters that have attacktype of ghosthit along with |
| 21250 |
others (main fix ghasts, for Lake County, REtower/tower3, but |
| 21251 |
this could happen for any monster.) |
| 21252 |
|
| 21253 |
Fix for attacks doing no damage against monsters they should. |
| 21254 |
|
| 21255 |
Bug fixes to readable code - should no longer core dump (At times) when |
| 21256 |
books are created, should also be more robust and fix some other bugs. Also, |
| 21257 |
give more detailed messages on how many levels beyond your comprehension |
| 21258 |
a book is. |
| 21259 |
|
| 21260 |
randomitems now stored in object, not archetype. This means that treasure |
| 21261 |
types can be changed in the map - a new archetype doesn't need to be added. |
| 21262 |
However, the treasure to set must still be in the treasures file (or you |
| 21263 |
can use none so treasure is not generated.) |
| 21264 |
|
| 21265 |
Removed color_fg and color_bg variables from game - these have long been |
| 21266 |
obsoleted, but code to handle them has never been completely removed. |
| 21267 |
|
| 21268 |
Changed code so that best wc possible is +/-120 - should now prevent |
| 21269 |
overflows. |
| 21270 |
|
| 21271 |
------------------------------------------------------------------------------ |
| 21272 |
Changes from Crossfire 0.92.5 to 0.92.6: |
| 21273 |
|
| 21274 |
If player deletes window and we can't save, delete player objects instead of |
| 21275 |
dumping them on the map. |
| 21276 |
|
| 21277 |
Make NEW_PROCESS_EVENTS standard - remove old proces code and ifdefs. |
| 21278 |
|
| 21279 |
Remove temporary object from cast_spell - pass along both spellcasting |
| 21280 |
and owner objects. Seems to fix some bugs and increase reliability (also |
| 21281 |
is a better way to deal with it.) |
| 21282 |
|
| 21283 |
Change made so that converters are also knowledge about 'money' psuedotype. |
| 21284 |
|
| 21285 |
change spellcasting altars so they also push the button. Fixes altars |
| 21286 |
on some old maps. |
| 21287 |
|
| 21288 |
Some minor tweaks made to the artifact file - mostly clarification of names |
| 21289 |
or setting values correctly. |
| 21290 |
|
| 21291 |
spellcasting skill renamed to wizardry. |
| 21292 |
|
| 21293 |
Fix made so that 'old' potions (strength, int, etc) use correct price. |
| 21294 |
|
| 21295 |
If you examine food/flesh items, you now get detailed information (food |
| 21296 |
value, protections, etc.) |
| 21297 |
|
| 21298 |
Code by brian thomas so that book titles will remain constant across |
| 21299 |
different program runs. |
| 21300 |
|
| 21301 |
Bug fix for crashes caused by multisquare monsters stepping on |
| 21302 |
deadly objects. Basically, fully insert the object, then start doing the |
| 21303 |
check_walkon's one at a time to see if the creature dies. |
| 21304 |
|
| 21305 |
Brian Thomas' valley of the sisters quest added. Additional archetypes |
| 21306 |
and treasures added to handle this. |
| 21307 |
|
| 21308 |
'sort_inventory' option added (player setable.) IF set, when items are |
| 21309 |
picked up, they will be inserted by type, then alphabetical. Very handy |
| 21310 |
for scrolls and rings. |
| 21311 |
|
| 21312 |
Some fixes made to the kundi maps. |
| 21313 |
|
| 21314 |
Flesh/alchemy fixes by Brian Thomas. Flesh type now inherit properties |
| 21315 |
from parent creature (weight, and possibly protections/vulnerabilities are |
| 21316 |
added). |
| 21317 |
|
| 21318 |
Change made for alchemy - you can't toss a bunch of junk in a cauldron and |
| 21319 |
get a good item out unless you sucessfully use alchemy. |
| 21320 |
|
| 21321 |
handbook added to the doc directory (tex/postscript.) And html version is |
| 21322 |
also there, along with an html version to the spoiler. Tex version of |
| 21323 |
spoiler also fixed so it is generated properly with new Latex. |
| 21324 |
|
| 21325 |
|
| 21326 |
------------------------------------------------------------------------------ |
| 21327 |
Changes from Crossfire 0.92.4 to 0.92.5: |
| 21328 |
|
| 21329 |
Som bug fixes made dealing with cursed improvement potions. |
| 21330 |
|
| 21331 |
Always let players learn spells if they are in their starting spellbook. |
| 21332 |
|
| 21333 |
New attack methodology put in palce. To put in simply, if there is |
| 21334 |
only 1 attacktype, things remain the same. If there are multiple attacktypes, |
| 21335 |
we cycle through them one by one, and take the one that does the best |
| 21336 |
damage and use it. Some attacktypes no longer do damage - they are effects |
| 21337 |
(ie, paralyzation, slow.) In the case of of these, the effect will always |
| 21338 |
be applied if appropriate. Code looks to behave pretty much the same, |
| 21339 |
but is easier to follow. IF new code is buggy, or you don't want it, |
| 21340 |
there is a define at the top of attack.c you can change. |
| 21341 |
|
| 21342 |
If god blesses you, lets actually remove the depletion object from the |
| 21343 |
player inventory. |
| 21344 |
|
| 21345 |
Other god related fixes put in place - look to also deal with blessed |
| 21346 |
weapons. |
| 21347 |
|
| 21348 |
Additional dump flag added. |
| 21349 |
|
| 21350 |
fix bugs with USE_BUTTONS and the peaceful button. |
| 21351 |
|
| 21352 |
Only allow write_rune to use objects of type RUNE |
| 21353 |
|
| 21354 |
Bugfix in get_pointed_target if it can't find a target - prevents endless |
| 21355 |
loop |
| 21356 |
|
| 21357 |
NRSPELLPATHS set to correct value. |
| 21358 |
|
| 21359 |
Remove null terminator from gods array - not needed anymore. |
| 21360 |
|
| 21361 |
Fix savethrow array size to match maxlevel properly (was 1 short) |
| 21362 |
|
| 21363 |
remove damnation and remove curse now cleric spells. |
| 21364 |
|
| 21365 |
Fix some header code to better work on solaris 2.5 |
| 21366 |
|
| 21367 |
Support for compilation with the dmalloc (debug malloc) package. |
| 21368 |
|
| 21369 |
Allow altars and related items to match objects based on type. Use hp |
| 21370 |
field of altar object as the type to match. |
| 21371 |
|
| 21372 |
Library patch by Brian Thomas. |
| 21373 |
|
| 21374 |
Various skill fixes by Brian Thomas. |
| 21375 |
|
| 21376 |
Alchemy patch by Brian Thomas. Here is a copy of his README: |
| 21377 |
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |
| 21378 |
The amount of work I put into this was substantial; other than |
| 21379 |
new code -- I created new archetypes, revised archetypes, altered the |
| 21380 |
treasures file and created 2 new object types and a flag. |
| 21381 |
|
| 21382 |
It therefore may be enjoyable to install this patch (incl code) |
| 21383 |
and *not* define ALCHEMY in define.h. In particular, this patch |
| 21384 |
does the following things: |
| 21385 |
|
| 21386 |
1) more varieties of potions are available in shops. |
| 21387 |
|
| 21388 |
2) new gems and types of food. |
| 21389 |
|
| 21390 |
3) monsters will now leave behind body parts when you kill them. |
| 21391 |
|
| 21392 |
4) if ALCHEMY is defined players may make potions/artifacts. |
| 21393 |
|
| 21394 |
I have included instructions for installation in INSTALL.PATCH, |
| 21395 |
and a brief document for using the code (Alchemy.doc). |
| 21396 |
|
| 21397 |
Finally, as always, feedback is appreciated. |
| 21398 |
|
| 21399 |
b.t. |
| 21400 |
[email protected] |
| 21401 |
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |
| 21402 |
|
| 21403 |
|
| 21404 |
|
| 21405 |
------------------------------------------------------------------------------ |
| 21406 |
Changes from Crossfire 0.92.3 to 0.92.4: |
| 21407 |
|
| 21408 |
Various bug fixes to readable code. |
| 21409 |
|
| 21410 |
Let altars be able to cast spells. sp field determine what spell to cast. |
| 21411 |
|
| 21412 |
Fix obscure bug that an arrow can be 'killed' if a monster that has hitback |
| 21413 |
moves onto it while it is moving. Thus would then cause problems because |
| 21414 |
apply would try to remove the object after it had been killed. |
| 21415 |
|
| 21416 |
Give quetzalcoatl melee attack skill. |
| 21417 |
|
| 21418 |
Give experience for clawing attacks. |
| 21419 |
|
| 21420 |
Include literacy skill with fighter skill - this should now give all starting |
| 21421 |
classes literacy skill. I think it improves play balance. |
| 21422 |
|
| 21423 |
Don't mark a players starting money as being start equipment - otherwise |
| 21424 |
they can't drop it on identify altars and it can get merged with money |
| 21425 |
gained at a later date, yet still be marked as starting equipment. |
| 21426 |
|
| 21427 |
Bug fix in keybindings so that we check return of XKeysymToString to make |
| 21428 |
sure we don't use a null value. Some keyboards have keys with no names, |
| 21429 |
and on some systems, passing a null pointer as a string causes it to crash. |
| 21430 |
|
| 21431 |
------------------------------------------------------------------------------ |
| 21432 |
Changes from Crossfire 0.92.2 to 0.92.3: |
| 21433 |
|
| 21434 |
Removed ability to use unpaid objects for sacrifices. |
| 21435 |
|
| 21436 |
Changed weapon improvement code to be based on skill levels (if skills |
| 21437 |
are used.) |
| 21438 |
|
| 21439 |
Code in place to generate hit points by average of fighter and overall |
| 21440 |
level - to enable this, change the #if 0 to #if 1 at around line 1040 |
| 21441 |
in common/living.c |
| 21442 |
|
| 21443 |
Books hack by Brian Thomas. This mainly means that when emptry books are |
| 21444 |
created (or are otherwise on the map), that they will be filled with some type |
| 21445 |
of information. Some (like monster/spells/gods/artifacts) are generated via |
| 21446 |
the program itself. Information from a messages file that is stored in lib |
| 21447 |
can also be found. Experience can be gained by reading this information. |
| 21448 |
|
| 21449 |
Read/write patch by Brian Thomas. This mainly encompasses the fact that |
| 21450 |
players can now write messages in books, that you must be literate enough (as |
| 21451 |
determined by literacy skill level) to read various books/scrolls. Scrolls |
| 21452 |
are now not identified, but literacy can be used to identify them. Players |
| 21453 |
can still read signs even if they are not literated (needed for game balance/ |
| 21454 |
information) |
| 21455 |
|
| 21456 |
------------------------------------------------------------------------------ |
| 21457 |
Changes from Crossfire 0.92.1 to 0.92.2: |
| 21458 |
|
| 21459 |
Give artifact Gram weapon attacktype physical|confusion. Before, it was only |
| 21460 |
confusion which would never actually damage anything. |
| 21461 |
|
| 21462 |
If a player dies in a shop, remove any unpaid items from his inventory and |
| 21463 |
put them back in the map. Only applies in NOT_PERMADEATH mode. |
| 21464 |
|
| 21465 |
Put in better DM security - now checks for name, password, and hostname (any |
| 21466 |
of those can be wildcarded out) - see the lib/dm_file for some demo. To |
| 21467 |
supply a password for dm mode, just use dm with the password (ie, "'dm |
| 21468 |
<fireball>") |
| 21469 |
|
| 21470 |
Lighting code added (with various support objects, spells, etc). No maps |
| 21471 |
support this yet. |
| 21472 |
|
| 21473 |
Don't baptize altars if we are in the editor. Leave altars the way they |
| 21474 |
are so that they will be baptized the crossfire loads the map instead. |
| 21475 |
|
| 21476 |
Allow the title of and object to be set from within crossedit. |
| 21477 |
|
| 21478 |
Allow individual players to set the inventory icon, now longer a compile time |
| 21479 |
option. |
| 21480 |
|
| 21481 |
If we get a non critical error and do an emergency save just in case, |
| 21482 |
then don't remove any information/objects. This probably fixes the |
| 21483 |
disappearing inventory bug. |
| 21484 |
|
| 21485 |
------------------------------------------------------------------------------ |
| 21486 |
Changes from Crossfire 0.92.0 to 0.92.1: |
| 21487 |
|
| 21488 |
Improved altar sacrifice code (actually, any object type that calls |
| 21489 |
check_altar) - treat a slaying field of 'money' as something special- don't |
| 21490 |
care what form the money is in (see docs for more details) |
| 21491 |
|
| 21492 |
Improve identify table (in conjunction with altar code above) - now takes |
| 21493 |
any type of money, won't take money if nothing needs to be identified, |
| 21494 |
will identify as many things as money is dropped for (ie, drop 200 gold, it |
| 21495 |
will do 10 items) |
| 21496 |
|
| 21497 |
In the map attributes in crossedit, you can select an option called |
| 21498 |
"ShowWeakWalls". If this is selected, weak walls will be shown in a partial |
| 21499 |
teardown state - makes working with some maps much easier. |
| 21500 |
|
| 21501 |
New client updated to support Power and Grace stats. |
| 21502 |
|
| 21503 |
Magic system broken into 2 forms of magic - clerical and mage (they are |
| 21504 |
now seperate). Power stat also added to the game - plays into mage |
| 21505 |
spellpoint (mana) total. Grace also added - used for cleric spell casting. |
| 21506 |
|
| 21507 |
Skill system greatly expanded - different experience types with skills |
| 21508 |
associated with them (only has meaning if you are using the skill code) - thus |
| 21509 |
you gain experience for certain categories as you use certain skills - see |
| 21510 |
doc/skills.doc for more info |
| 21511 |
|
| 21512 |
Multiple gods added (via config option in config.h) - basically, different |
| 21513 |
gods have different enemies, and the effects cleric spells have will depend |
| 21514 |
on this. Altars are created for different gods. See doc/Multigod.doc for |
| 21515 |
more information. Along with this, some new spells were added. |
| 21516 |
|
| 21517 |
Fix a problem of some objects falling out of sight when they shouldn't. |
| 21518 |
|
| 21519 |
Send delete item to client if decrease_ob reduces the items nrof to 0. |
| 21520 |
|
| 21521 |
Weight should now be fixed up when transferring stuff to/from containers. |
| 21522 |
|
| 21523 |
config option called NO_AUTO_SKILL_SWITCH added - it means range type |
| 21524 |
doesn't automatically get switched to skill type when using melee weapon. |
| 21525 |
Main effects is that it makes it easier to switch between melee and range |
| 21526 |
weapons (pretty much makes it like it was prior to the skill code.) |
| 21527 |
|
| 21528 |
Sack code cleaned up - we don't need to split an object to see if it will |
| 21529 |
actually fit in a container - we can just say how many we want to try to |
| 21530 |
put in. |
| 21531 |
|
| 21532 |
Actually put wimpy command back in (all code was there, just the link to |
| 21533 |
call the fucntion was missing.) |
| 21534 |
|
| 21535 |
Increase max count from 9999 to 99,999. Wasn't that uncommen for high level |
| 21536 |
characters to have more than 10000 platinum coins. |
| 21537 |
|
| 21538 |
When invoking spells, temporarily switch the range type to range_magic - |
| 21539 |
otherwise, a proper check for spellpoints is not done, and it then becomes |
| 21540 |
possible to go negative. |
| 21541 |
|
| 21542 |
Modified crossloop so that it renames and compresses any core files created |
| 21543 |
while it is running - very handy for debugging (note that you could easily |
| 21544 |
modify it to remove the core files instead.) |
| 21545 |
|
| 21546 |
------------------------------------------------------------------------------ |
| 21547 |
Changes from Crossfire 0.91.9 to 0.92.0: |
| 21548 |
|
| 21549 |
Make sure the weight a container is carrying can never go below 0. |
| 21550 |
|
| 21551 |
Fixed fall below code, so that objects with visibility will not fall below |
| 21552 |
objects that otherwise blocks view. |
| 21553 |
|
| 21554 |
Fixed colormap problems with xpm graphics on black and white displays. |
| 21555 |
|
| 21556 |
ALLOW_SKILLS is now the default in the config.h file. |
| 21557 |
|
| 21558 |
IS_SUMMON_SPELL macro fixed (= was supposed to be ==) |
| 21559 |
|
| 21560 |
Artifact foods added by Brian Thomas. These are foods that can give some |
| 21561 |
nice benefits (stat improvements, etc), or be much nastier poisons. |
| 21562 |
|
| 21563 |
Bug fix made to skill selection that would otherwise cause core dumps. |
| 21564 |
|
| 21565 |
Bug fix made to query_cost that would cause core dumps if the alchemy spell |
| 21566 |
was used. |
| 21567 |
|
| 21568 |
Fixed bug in dimension door that would cause core dumps if cast from a |
| 21569 |
wand. |
| 21570 |
|
| 21571 |
find_target_for_friendly_spell fixed to use the get_owner call instead of |
| 21572 |
referring to op->owner (get_owner should always be used.) Fixed core dumps |
| 21573 |
that were caused when the owner would be killed, but still have a pet |
| 21574 |
monster (vampires as an example.) get_owner makes checks to make sure |
| 21575 |
the owner still exists. |
| 21576 |
|
| 21577 |
Only set the windows colormap if on a color display. |
| 21578 |
|
| 21579 |
------------------------------------------------------------------------------ |
| 21580 |
Changes from Crossfire 0.91.8 to 0.91.9: |
| 21581 |
|
| 21582 |
Changed some parameter names from spell to spellnum. Some compilers don't |
| 21583 |
like parameter names that match structure names. |
| 21584 |
|
| 21585 |
Alot of skill code added by Brian Thomas. |
| 21586 |
|
| 21587 |
Assume that Suns running solaris have strncasecmp. Also, if using |
| 21588 |
Xpm_Pix, assume the strcasecmp is available (the Xpm library should |
| 21589 |
provide it.) |
| 21590 |
|
| 21591 |
get_player_ob function now uses the CALLOC define, instead of just |
| 21592 |
calloc. |
| 21593 |
|
| 21594 |
When dropping items onto objects that blocks view, they now fall below the |
| 21595 |
object that blocks the view. |
| 21596 |
|
| 21597 |
XPM mode now works with private colormaps. It will also switch to a private |
| 21598 |
colormap if it runs out of color during the xpm creation (works for |
| 21599 |
crossedit also). |
| 21600 |
|
| 21601 |
Don't let players put starting equipment into containers. |
| 21602 |
|
| 21603 |
A bows weapon class (WC) is now used to determined hit probability for |
| 21604 |
arrows. |
| 21605 |
|
| 21606 |
When a player dies (in NOT_PERMADEATH mode), the character is immediately |
| 21607 |
saved. Thus, if you die there is no advantage to crashing the server, |
| 21608 |
hoping for a copy of your character from before you died. |
| 21609 |
|
| 21610 |
Set the value to 0 for arrows created with the create missile spell. |
| 21611 |
|
| 21612 |
When transferrance is cast excessively, don't hit the person receiving the |
| 21613 |
spell with 9999 points of physical damage (otherwise, spell can be used to |
| 21614 |
kill many powerful monsters.) |
| 21615 |
|
| 21616 |
Made some changes to make it compile properly under Solaris. |
| 21617 |
|
| 21618 |
Fixed bug in dropall that would cause an infinite loop if the player had |
| 21619 |
an open container. |
| 21620 |
|
| 21621 |
Exits can now inflict damage on players. |
| 21622 |
|
| 21623 |
Fixed middle mouse button missle attack. Now clears the fire_on flag. |
| 21624 |
|
| 21625 |
------------------------------------------------------------------------------ |
| 21626 |
Changes from Crossfire 0.91.7 to 0.91.8: |
| 21627 |
|
| 21628 |
Messages about an objects speed no longer printed to the console. |
| 21629 |
|
| 21630 |
When players exit maps, no longer inform all the other players. |
| 21631 |
|
| 21632 |
install-same and install-font directives added to lib/Imakefile - used |
| 21633 |
if game is being installed to same font it was unpacked in. |
| 21634 |
|
| 21635 |
Client now supports receiving bitmaps - server does not support |
| 21636 |
sending them, however. |
| 21637 |
|
| 21638 |
Max experience achievable is based on max level, not a hard coded |
| 21639 |
value (although, at present time, max level is hardcoded to 100) |
| 21640 |
|
| 21641 |
insert_ob_in_ob now returns an object - needed for client/server code. |
| 21642 |
|
| 21643 |
check_inv function added to button.c. Trigger will be altered depending if |
| 21644 |
the character has a matching item (or lack of a matching item.) |
| 21645 |
|
| 21646 |
Option added to config.h to make it so that backup saves will save the player |
| 21647 |
back at home, instead of the present map. Code adapated from code sent |
| 21648 |
by John Steven Moerk ([email protected]) |
| 21649 |
|
| 21650 |
Minor bug in crossedit fixed that would cause it to exit if both |
| 21651 |
-p and -xpm is specified. Both can now be specified - it will effectively |
| 21652 |
ignore the -pix portion. |
| 21653 |
|
| 21654 |
New skills added, with corresponding code to use these skills (from Brian |
| 21655 |
Thomas) Use of skill code is selectable in the config.h file. |
| 21656 |
|
| 21657 |
Two new spells: summon fog and steambolt (from Brian Thomas) |
| 21658 |
|
| 21659 |
Enchant armor code added (from Brian Thomas) |
| 21660 |
|
| 21661 |
Fixed bug in crossedit that would cause it to core dump whenever a non exit |
| 21662 |
was selected and then the enter command run. |
| 21663 |
|
| 21664 |
Fixed bug in attack.c that was using info_all if CASTING_TIME was |
| 21665 |
selected. |
| 21666 |
|
| 21667 |
Made it so that decrease_ob_nr will never decrease the object number below |
| 21668 |
0. This fixes a bug in that remove_ob would calculate a negative weight, |
| 21669 |
and then call sub_weight with that negative value. This ended up resulting |
| 21670 |
in weight being added to the player instead of subtracted. |
| 21671 |
|
| 21672 |
------------------------------------------------------------------------------ |
| 21673 |
Changes from Crossfire 0.91.6 to 0.91.7: |
| 21674 |
|
| 21675 |
Item saving throw changed around - items are only invulernable to attack |
| 21676 |
types that they are protectected or immune to. For example, if an item is |
| 21677 |
protected from magic, and is is by AT_FIRE | AT_MAGIC, it still needs to save |
| 21678 |
against fire. Before, since it was protected from magic and the attack type |
| 21679 |
includes magic, it would not have been affected in any way. |
| 21680 |
|
| 21681 |
insert_ob_in_map_simple function added. This is used in functions that what |
| 21682 |
to examine all the objects on a space, yet insert new objects as it goes |
| 21683 |
(polymorph). This function will not merge objects, so traversing the stack |
| 21684 |
will work fine. Should fix removing removed object bugs that used to happen |
| 21685 |
for polymorph (function should be used in other functions that do a similar |
| 21686 |
thing) |
| 21687 |
|
| 21688 |
Damage field in objects is now 16 bits (signed). Needed because some |
| 21689 |
high level spells would do more damage than could be stored in signed |
| 21690 |
8 bits. |
| 21691 |
|
| 21692 |
The 'old' client program no longer compares versions - there is no reason |
| 21693 |
to, since the client doesn't do anything that requires an exact version |
| 21694 |
match. |
| 21695 |
|
| 21696 |
Better handling of the Eutl library added - selection is now done |
| 21697 |
in crosssite.def. |
| 21698 |
|
| 21699 |
Large lake faces expanded - now set up like walls, where auto join works. |
| 21700 |
walls pick file expanded to include this image series and some other walls |
| 21701 |
that were not previously set. |
| 21702 |
|
| 21703 |
Pacify spell added - code from Brian Thomas |
| 21704 |
|
| 21705 |
Show invisible and X-ray spell added (code by Peter Mardahl) |
| 21706 |
|
| 21707 |
Face data is static - that is to say the the color for any face can not be |
| 21708 |
changed. In order to do a face with a different color, a new face needs to |
| 21709 |
be created (or perhaps linked to the old). This change was made because for |
| 21710 |
client/server communication, having a known color for each image greatly |
| 21711 |
simplify things (also, on monochrome or XPM displays, color information |
| 21712 |
didn't have any effect). Related changes: |
| 21713 |
|
| 21714 |
1) color information is no longer stored in the archetypes file, |
| 21715 |
but continues to be stored in the individual .arc files. collect.pl |
| 21716 |
has been modified to store this information in a faces file. |
| 21717 |
|
| 21718 |
2) visibility variable added. This is a face value, and it is meant |
| 21719 |
to take the place of the DOUBLE_FLOOR_PATCH. System will work like |
| 21720 |
this if DOUBLE_FLOOR_PATCH is enabled: the floor and the object |
| 21721 |
with the highest visibility + the top object will be drawn. |
| 21722 |
|
| 21723 |
3) color can not be changed in maps - in fact, since color is now |
| 21724 |
stored in a different file, the color handling for objects has been |
| 21725 |
removed. Note - when loading a map with crossedit, this information |
| 21726 |
is silently ignored. Thus, when then saving the map, the color |
| 21727 |
information will be lost. The maps should be updated with new faces |
| 21728 |
if this color information is imporant. The lib/adm/map_info perl |
| 21729 |
program now will print out warning messages for maps that are using |
| 21730 |
color changes. Also, the code in loader.c can easily be changed to |
| 21731 |
print out when it loads a color change (disabled because it is too |
| 21732 |
verbose for most uses) |
| 21733 |
|
| 21734 |
PLAYER_COLORS config option and code support removed - with new static face |
| 21735 |
information above, this can not be supported in any real way. |
| 21736 |
|
| 21737 |
Shop buildings no longer have is_floor set. This was a hack for the |
| 21738 |
DOUBLE_FLOOR_PATCH for XPM mode. However, enabling it can make it so |
| 21739 |
objects disappear beneath the shops (due to the way maps save.) Having |
| 21740 |
objects not disappear is much more important (IMHO) than having things look |
| 21741 |
just a little bit nicer for XPM mode. Archetypes exist for it, but are in |
| 21742 |
the dev/unused/0.91/7/mood_floor directory, since no maps presently use them |
| 21743 |
|
| 21744 |
Mood floors added (code by [email protected]). When activated, |
| 21745 |
these floors can change the mode/flags of monsters (make them aggressive, |
| 21746 |
make them unagressive, make them fall asleep, or charm them) |
| 21747 |
|
| 21748 |
New output mode in place - this uses a much smarter buffering method - it |
| 21749 |
keeps track of several messages, and how often they are flushed is setable |
| 21750 |
with the output-sync and output-flush commands (a help file does exist). |
| 21751 |
All the various draw/write functions have been cleaned up, so that there now |
| 21752 |
exists only 1 front end function (new_draw_info), which takes flags, |
| 21753 |
priority, object, and the actual string. The flags are defined in |
| 21754 |
newclient.h, as NDI_* (in this file because client should use the color |
| 21755 |
flags sometime in the future, and it makes sense to keep all the flags in |
| 21756 |
one place). Priority corresponds to the listen level that the player has |
| 21757 |
set - the lower priority, the more likely it will be printed. |
| 21758 |
|
| 21759 |
Certain runes/traps now work properly (things like create bomb and magic |
| 21760 |
draining would not work if the player is not on the same square as the rune) |
| 21761 |
|
| 21762 |
When a player kills a window, the players objects will be destroyed |
| 21763 |
and not placed on the map. |
| 21764 |
|
| 21765 |
Scrolls, rods, wands, and staves will always be at least level 1. |
| 21766 |
|
| 21767 |
Beefed up demilich's. Previously, for the experience they were worth, |
| 21768 |
it was much to easy to kill them. Main difference is that now their |
| 21769 |
speed is 0.25 compared to 0.06 |
| 21770 |
|
| 21771 |
Fixed minor bugs with player movers - if the object to be moved had a |
| 21772 |
speed greater than 1, it was possible to avoid all affects of the mover. |
| 21773 |
|
| 21774 |
Objects that slay are fixed up. Previously, only if the race matched the |
| 21775 |
slaying type did it work. Now, in addition, f the race of archetype name |
| 21776 |
matches the slaying, the object will slay. This fixes stakes, and probably |
| 21777 |
a lot of other items that weren't slaying creatures properly. |
| 21778 |
|
| 21779 |
Changed some of the stat bonuses/penalties for all the classes. All the |
| 21780 |
'normal' races now have a net total of 0 (fireborn, wraith, and quetzalcoatl |
| 21781 |
are not considered normal races, so their totals are unchanged.) |
| 21782 |
|
| 21783 |
Some of the items in the artifacts file have been fixed up - fixed |
| 21784 |
spelling errors and errors in placement of the difficulty. |
| 21785 |
|
| 21786 |
------------------------------------------------------------------------------ |
| 21787 |
Changes from Crossfire 0.91.5 to 0.91.6: |
| 21788 |
|
| 21789 |
When player stops attacking, make sure his speed_left is not larger than his |
| 21790 |
normal speed. Fixes a bug where you could attack a wall, then try to attack |
| 21791 |
in another direction, and move quite quickly for a short time, since weapon |
| 21792 |
speed would be used for that short burst of movement. |
| 21793 |
|
| 21794 |
Drain attacks become attack type physical when the character reaches the |
| 21795 |
mininum experience possible. |
| 21796 |
|
| 21797 |
Do not allow equipped weapons to be improved if they would make it too |
| 21798 |
powerful for the character to use. |
| 21799 |
|
| 21800 |
errmsg buffer sized increased to HUGE_BUF. Should fix some bugs that |
| 21801 |
were causes when this was overflowed in dump_object2. |
| 21802 |
|
| 21803 |
SOUND_EFFECTS (if selected) is now defined when compiling all files. |
| 21804 |
Previously, it was only set when compiling files in the server directory - |
| 21805 |
this had the effect that the player structure was different between the |
| 21806 |
server and common area. |
| 21807 |
|
| 21808 |
speed+2 items now increase speed properly. Values in the computation were |
| 21809 |
not being cast to floats, so a speed+2 ended up giving the same amount of |
| 21810 |
speed as a speed+1 item. |
| 21811 |
|
| 21812 |
Restoration changed around. The spell will no longer restore depleted stats |
| 21813 |
- this can only be done with the potion. The potion is now only generic |
| 21814 |
restoration - specific stat restoration potions removed. Also, perceive |
| 21815 |
self will now tell the player what stats are drained and by how much. |
| 21816 |
|
| 21817 |
Reduce the amount of experience you get from killing other players to |
| 21818 |
1/10'th what it used to be. This should also discourage players from |
| 21819 |
killing other players. |
| 21820 |
|
| 21821 |
SAVE_PLAYER removed from configurable options - it is always on. I can't |
| 21822 |
see why anyone wouldn't want to be able to use this, and if you really |
| 21823 |
don't want to use it, removing the save directory would pretty much |
| 21824 |
work. |
| 21825 |
|
| 21826 |
Fixed dropall command. It wasn't dropping all items (seemed to |
| 21827 |
stop at first locked item.) Also, 'dropall armour' now drops |
| 21828 |
helmets in addition to shields and armor. |
| 21829 |
|
| 21830 |
Fixed heroism potion. It was casting the incorrect spell (detect curse). |
| 21831 |
Now it casts heroism. |
| 21832 |
|
| 21833 |
Fixed bug that would cause remove object to try and remove object. When |
| 21834 |
loading maps, an object in a container in a container would not be inserted |
| 21835 |
(this mostly happened with an object in a chest in an icecube.) Changed |
| 21836 |
code in load_objects to a recursive call, which can handle inventories any |
| 21837 |
number of layers deep. |
| 21838 |
|
| 21839 |
Fixed bug in drop_all that would cause core dumps. |
| 21840 |
|
| 21841 |
------------------------------------------------------------------------------ |
| 21842 |
Changes from Crossfire 0.91.4 to 0.91.5 |
| 21843 |
|
| 21844 |
Inventory icons are now updated properly. Also, the inv_name and look_name |
| 21845 |
arrays in the player structure have been redone - these are now arrays of |
| 21846 |
function pointers and use the shared string libraries to allocated and free |
| 21847 |
storage. This should take less space than the fixed size arrays that were |
| 21848 |
previously used. |
| 21849 |
|
| 21850 |
When buying equipment, weight is now subtracted properly from the player |
| 21851 |
for the coins that are used. |
| 21852 |
|
| 21853 |
Maps can now have a fixed reset time. This means that the map will reset |
| 21854 |
after a set amount of time, no matter whether it is accessed or not. Useful |
| 21855 |
for highly used maps that really need to be reset once in a while. |
| 21856 |
|
| 21857 |
Bug fixed in get_ob_diff. The difference array would get overflow, |
| 21858 |
corrupting other data. Many core dumps were probably caused by this. |
| 21859 |
|
| 21860 |
Fixed bug in legal_range routine where legal_range would only check to |
| 21861 |
first item of type BOW in a players inventory. This caused rotateshoottype |
| 21862 |
to not list the bow entry if it was not the first bow equipped. |
| 21863 |
|
| 21864 |
Cloaks are not always turned into artifacts - normal cloaks can be found now. |
| 21865 |
|
| 21866 |
Charisma bonus changed around some more. Penalties are not quite as harsh |
| 21867 |
for very ugly characters - with the change, a character will never pay |
| 21868 |
more than 10 times to buy something than to sell that same item. |
| 21869 |
|
| 21870 |
Various functions changed around and some new ones added so things will |
| 21871 |
work properly with the new client (still under developement.) Most notable |
| 21872 |
changes were to common/xutil.c, with the newclient.c and newsocket.c |
| 21873 |
files added. |
| 21874 |
|
| 21875 |
Unpaid items that are alchemied are now worth nothing. |
| 21876 |
|
| 21877 |
TWO_BYTES_FONT is now a standard. I can't see crossfire ever going back to |
| 21878 |
having less than 256 images. |
| 21879 |
|
| 21880 |
free map->tmpname when it is no longer needed (before setting it to NULL). |
| 21881 |
this pointer is assigned from a tempnam calls, which (on Sunos 4.1.x) uses |
| 21882 |
malloc to allocate space. Note - if this is not true for you system, let me |
| 21883 |
know, so I can put code in to handle this. |
| 21884 |
|
| 21885 |
destruction spell (from scrolls) fixed. This was actually a problem |
| 21886 |
in that cast_spell was not setting the owner properly. |
| 21887 |
|
| 21888 |
Magic mapping improved for bw systems. This actually makes it work like |
| 21889 |
it used to, with it doing stippling for object. |
| 21890 |
|
| 21891 |
Casting of director spells changed. Placement away from characters and |
| 21892 |
underneath characters now possible |
| 21893 |
|
| 21894 |
New potion type added - Improvement: This will raise level hit point or |
| 21895 |
spell point gain to the maximum value. It starts at the lowest level (ie, |
| 21896 |
first hit/spell points gained), and will raise one value to maximum. |
| 21897 |
|
| 21898 |
Some patches added (From Manfred Weichel, [email protected]) which |
| 21899 |
should make compiles on SVR4 work properly. |
| 21900 |
|
| 21901 |
New artifacts (in lib/artifacts file) added. |
| 21902 |
|
| 21903 |
Configurable option: cone attacks no longer propogate through monster - it |
| 21904 |
will only hit the first row. |
| 21905 |
|
| 21906 |
Remove curse/damnation changed so that it will not remove curses which |
| 21907 |
are a higher level than the spell caster. |
| 21908 |
|
| 21909 |
Polymorph code changed around. Greater chance of items being destroyed, |
| 21910 |
value can never be greater than twice the original value, no mininum value. |
| 21911 |
Also, now the item value and not clone value is used, so things like |
| 21912 |
scrolls, wands, rods, etc should have the max price work correctly. magic |
| 21913 |
is not maintained, rather, magic*4 is used as the difficulty for creating |
| 21914 |
the new item, with max_magic of the new item never being greater than the |
| 21915 |
magic of the old item. The number of objects remaining after a polymorph |
| 21916 |
will be less than the original (10 arrows might become 8 bolts, for example.) |
| 21917 |
|
| 21918 |
You will no longer attack players in the group you are in by running |
| 21919 |
into them. |
| 21920 |
|
| 21921 |
Titles now restored properly from save files (only makes a different if |
| 21922 |
SET_TITLE is defined |
| 21923 |
|
| 21924 |
When doing a save, check the return value of fclose when writing to tmp file |
| 21925 |
and the final file. If either of these writes file, use the backup file |
| 21926 |
instead (previous save file is renamed as a backup file.) Should prevent |
| 21927 |
problems when there are full filesystems of quotas in effect. The character |
| 21928 |
will not be saved, but at least an older save file exsists instead of the |
| 21929 |
character being totally gone (like before.) Patch from Laurent Wacrenier |
| 21930 |
<[email protected]> |
| 21931 |
|
| 21932 |
Plural names for items that have a 'of' in them is fixed/added. This mostly |
| 21933 |
deal with potions (so instead of potion of dexterys, you get potions of |
| 21934 |
dexterity) Patch from Laurent Wacrenier <[email protected]> |
| 21935 |
|
| 21936 |
query_cost changed around so that value for very low priced items are now |
| 21937 |
computed correctly. Before, the nrof of items was multiplied in very late, |
| 21938 |
and various divisions (for being unidentified) were done previously. For |
| 21939 |
low value items, this would result in a zero value. Zero values still |
| 21940 |
result for low priced items if you only have 1 or 2 of them, but if you |
| 21941 |
have 80 of them, a proper value is now generated. |
| 21942 |
|
| 21943 |
Code to control golems (and in fact many summoned creatures) now fixed. |
| 21944 |
Help file added about golems. This also fixes a core dump that was caused |
| 21945 |
when a summoned creature was around, and another scroll was used. |
| 21946 |
|
| 21947 |
Modified logger in common directory to no longer create a fatal error if you |
| 21948 |
get too many minor errors in and the editor is what is being used. Before, |
| 21949 |
occasional errors would be reported by the editor (mostly dealing with not |
| 21950 |
found archetypes in maps), which would eventually cause a fatal error. This |
| 21951 |
seemed erratic, because the editor never changes the tick, so loading one |
| 21952 |
map might result in the fatal error because of the error total from the |
| 21953 |
previous maps. Also, when using the editor, having missiong archetypes |
| 21954 |
probably should not be a fatal condition. |
| 21955 |
|
| 21956 |
food value can be changed in artifact file. Food is mostly used to have |
| 21957 |
various meanings in different objects. The artifact file has also been |
| 21958 |
updated about everything that is changable, and what the values mean (ie, |
| 21959 |
docs are built into the top of the file as comments) |
| 21960 |
|
| 21961 |
Weapons/armor no longer 'disappear' when a class that can not use such an |
| 21962 |
item tries to equip a group of them. That is, if a class that could not use |
| 21963 |
armor tried to equip 2 chain mails, one of the chain mails would disappear. |
| 21964 |
|
| 21965 |
------------------------------------------------------------------------------ |
| 21966 |
Changes from Crossfire 0.91.3 to 0.91.4 |
| 21967 |
|
| 21968 |
FLAG_NO_FIX_PLAYER is set before saving the player, and cleared after the |
| 21969 |
player is loaded. Before, a character will full sp and hp could be save, and |
| 21970 |
when reload, not be at full strength. This is because fix_player was being |
| 21971 |
called during the load process, before all the characters items had been |
| 21972 |
loaded and equipped. This, the maxsp and maxhp values were that of the |
| 21973 |
character with no items. |
| 21974 |
|
| 21975 |
Artifacts can now pass the various spell paths to the newly created |
| 21976 |
artifact. The values are or'd with the previous spell path values of the |
| 21977 |
object. |
| 21978 |
|
| 21979 |
The artifact file now supports objects with name NONE. If this object is |
| 21980 |
rolled up when trying to generate an artifact, then no artifact is |
| 21981 |
generated. This allows for better tuning the chances of having certain |
| 21982 |
artifacts, by just reducing the chance of having an artifact at all. The |
| 21983 |
'type' field of the Object in the artifact field is still required, but any |
| 21984 |
other fields for the artifact object are not used. |
| 21985 |
|
| 21986 |
Crossedit fixed so that all the images do not appeared inversed when being |
| 21987 |
used on a monochrome display. |
| 21988 |
|
| 21989 |
Changed common/xutil.h so that XPM mode will work on monochrome systems. In |
| 21990 |
fact, XPM mode should now work on all systems, previously, the load process |
| 21991 |
tried to create a pixmap 8 bits deep. If the X server did not support it, |
| 21992 |
errors would result. So while playing in XPM mode on monochrome may be |
| 21993 |
pointless, this allows play on systems where it may have some use. |
| 21994 |
|
| 21995 |
libproto.h and sproto.h only check that __STDC__ is defined. Previously, |
| 21996 |
__STDC__ had to be nonzero, and not all compilers set this. Also, in |
| 21997 |
global.h, if __STDC__ is not defined, return an error. Many compilers do not |
| 21998 |
allow _STDC__ to be redefined. |
| 21999 |
|
| 22000 |
Updated changable variable in crossedit. Now the various spell paths can |
| 22001 |
be set in the editor. |
| 22002 |
|
| 22003 |
SPEED_GAME now standard compile option, and not selectable. Having it as |
| 22004 |
an option seemed to create more problems than bugs non speed game found. |
| 22005 |
|
| 22006 |
Crossfire man page updated. xledit.man changed to crossedit.man, to |
| 22007 |
reflect the name of the program it represents. |
| 22008 |
|
| 22009 |
crossfire.doc updated with more information - mostly about new objects |
| 22010 |
added to the game. |
| 22011 |
|
| 22012 |
More help files. |
| 22013 |
|
| 22014 |
Objects with type CREATOR were added. The objects, when applied, create |
| 22015 |
other objects. Documentation in crossfire.doc. |
| 22016 |
|
| 22017 |
Object that cast spells (rod, scrolls, wands, and horns) now have a level |
| 22018 |
associated with them. This level is used to determine at what level the |
| 22019 |
spell should be cast, instead of using the owners level, which was typically |
| 22020 |
used before (allows creation of super powerful wands/rods/horns, but having |
| 22021 |
them be a very high level.) |
| 22022 |
|
| 22023 |
Bow, crossbow, bolt, and arrow code redone by Tero Haatanen. This cleans up |
| 22024 |
the code, and allows for magical arrows and bolts. |
| 22025 |
|
| 22026 |
Race can now be changed in the artifacts file. |
| 22027 |
|
| 22028 |
A spell of Banishment has been added. |
| 22029 |
|
| 22030 |
Attacktype AT_DEATH is now more potent when if against a monster that |
| 22031 |
the item also has slayign capability against. |
| 22032 |
|
| 22033 |
Bug fixed to prevent players from getting infinite experience for finding |
| 22034 |
the same trap. Also, experience changed for disarming traps. |
| 22035 |
|
| 22036 |
------------------------------------------------------------------------------ |
| 22037 |
Changes from Crossfire 0.91.2 to 0.91.3 |
| 22038 |
|
| 22039 |
Changed artifact structure so that items with a chance greater than |
| 22040 |
255 are now possible. |
| 22041 |
|
| 22042 |
Object now put into icecubes when hit by a cold spell, like before. This |
| 22043 |
probably got messed up in the saving throw re-write, where objects had to be |
| 22044 |
either immune or protected from cold to be put in icecubes. In fact, the |
| 22045 |
reverse was supposed (and now does) happen. IF an object is |
| 22046 |
protected/immune from cold, it is also immune from being put in an icecbub. |
| 22047 |
|
| 22048 |
Fixed up is_magical and need_identify routines to handle more items. Rods, |
| 22049 |
scrolls, and spellbooks are always considered magical in nature. Wands and |
| 22050 |
staves are magical if they still have charges. Also, fixed up so that some |
| 22051 |
of the Artifact items are now detected as being magical. |
| 22052 |
|
| 22053 |
If player lacks sufficient money to buy from shop, it now prints how much |
| 22054 |
short he is in standard english string, (ie, 2 platinum 3 gold,etc), instead |
| 22055 |
of gold.silver format (lacke 44.25 gold). |
| 22056 |
|
| 22057 |
Inventory drawing changed. Should be a little more efficient, and be more |
| 22058 |
efficient on drawing. With auto pickup modes (that pick up more than one |
| 22059 |
item), inventory will be drawn after all applicable items have been picked |
| 22060 |
up, instead of after each one. |
| 22061 |
|
| 22062 |
Item status is printed next to item image in players inventory if |
| 22063 |
SHOW_INV_ICON is selected in the config.h file. It would be nice if better |
| 22064 |
imagines were designed for the status (right now, just words are printed |
| 22065 |
out.) |
| 22066 |
|
| 22067 |
When connecting to the server, a one line welcome message is printed. |
| 22068 |
Crossclient was modified to ignore this line if it starts with 'Welcome', so |
| 22069 |
changing it may cause problems with crossclient. |
| 22070 |
|
| 22071 |
Potion of restorations are now handled by means of different archetypes and |
| 22072 |
treasure lists, instead of having special code in the program to handle |
| 22073 |
them. |
| 22074 |
|
| 22075 |
If a RUNE is found in an object inventory when free_object has been called, |
| 22076 |
remove the rune instead of dropping it to the ground. This is so that traps |
| 22077 |
(runes) disappear when the object they are placed on is destroyed. |
| 22078 |
|
| 22079 |
Doors are now trapped, and be detected & searched just like chest |
| 22080 |
traps. |
| 22081 |
|
| 22082 |
Map difficulty can now be set in the map, and not be calculated at map load |
| 22083 |
time. Crossedit has been modified so that 'Attributes' now contains a |
| 22084 |
difficulty field, and if set, this will be used when loading a map (it is |
| 22085 |
stored in the level field of the map). If this value is 0 (default), then |
| 22086 |
the old formula for calculating the difficulty will be done. The advantage |
| 22087 |
of this is that map creators can now set the difficulty of the map more to |
| 22088 |
their liking, and certainly do a better job than the program can do. |
| 22089 |
|
| 22090 |
Pickup by value density fixed. The number of items is now taken into |
| 22091 |
consideration (before it did not, so a lot of arrows would be picked up, |
| 22092 |
because the total value divided by the weight of 1 arrow was greater than |
| 22093 |
the pickup value.) |
| 22094 |
|
| 22095 |
Bug fixed in query_cost. Before, for F_TRUE value, unless the item was |
| 22096 |
worth more than 10,000 sp, F_SELL value would be calculated instead of the |
| 22097 |
true value. |
| 22098 |
|
| 22099 |
Merge several small files in common.c into one file called porting.c. |
| 22100 |
porting.c contains common functions that are called by crossfire. This |
| 22101 |
allows system dependent code by be in one file, instead of scattered |
| 22102 |
throughout the program. |
| 22103 |
|
| 22104 |
-listen_port <num> command line option added. num is the port to use for |
| 22105 |
connections, instead of the default (13326) |
| 22106 |
|
| 22107 |
Instances when a variable name is the same as a structure name have been |
| 22108 |
fixed (by changing the variable name). On some compilers, this is a |
| 22109 |
problem. I can not be sure that all such cases have been fixed, as I have |
| 22110 |
not found a way for gcc to create warnings in this situation. |
| 22111 |
|
| 22112 |
Random happenings when a spell fails due to encumbrance has been added. |
| 22113 |
This option is configurable in the config.h file. |
| 22114 |
|
| 22115 |
Trap code added. Chests and doors can now be trapped. 'search' and |
| 22116 |
'disarm' commands added. old 'search' command was changed to 'search items' |
| 22117 |
|
| 22118 |
Inventory locking added. Makes it so that items can be locked in a players |
| 22119 |
inventory, and will not be dropped when a 'dropall' command is issued. |
| 22120 |
'inv-lock' and 'inv-unlock' commands were also added. |
| 22121 |
|
| 22122 |
'gsay' command added for party mode. |
| 22123 |
|
| 22124 |
Spellbooks can now have their slaying field set to the name of the spell |
| 22125 |
that the spellbook is of. |
| 22126 |
|
| 22127 |
Debugging output disabled in crossedit. It produced copious amounts of data |
| 22128 |
that has little relevance except for the developers. It can easy be turned |
| 22129 |
back on by editing the crossedit/include/debug.h file. |
| 22130 |
|
| 22131 |
Artifact gems (worth lots of money) and amulets added. |
| 22132 |
|
| 22133 |
Invisible object now appear in crossedit. Fixes a problem, but now makes |
| 22134 |
use of the global 'editor' variable, making it likely it won't be obsolete |
| 22135 |
any time soon. |
| 22136 |
|
| 22137 |
Artifacts (in artifacts file) can now have nrof field that will be used to |
| 22138 |
generated the number of items instead of the treasure list. If the nrof in |
| 22139 |
the artifact is 0, then the standard treasure list nrof is used instead. |
| 22140 |
|
| 22141 |
Artifacts can now grant reflect missile and spell ability. Also, by setting |
| 22142 |
stand_still, the objects will not be animated. |
| 22143 |
|
| 22144 |
------------------------------------------------------------------------------ |
| 22145 |
Changes from Crossfire 0.91.1 to 0.91.2 |
| 22146 |
|
| 22147 |
Some options now standard part of game (SHOP_LISTINGS, Line of Sight). The |
| 22148 |
config.h (for this release) contains these options, but they are commented |
| 22149 |
out with the note they no longer do anything. |
| 22150 |
|
| 22151 |
Changed value pickup to pick up things based on true value, and not sell |
| 22152 |
value. True value is how much the item is worth without applying charisma |
| 22153 |
bonuses. Before, if two different characters used the same pickup mode, |
| 22154 |
different stuff could be picked up because of charisma differences (or even |
| 22155 |
if a character gained charisma, the same pickup mode may not work as it did |
| 22156 |
before). By using true value, pickup mode operates the same between all |
| 22157 |
characters, |
| 22158 |
|
| 22159 |
Items of type TREASURE can now have their experience set, and this will be |
| 22160 |
used for the difficulty of the generated treasure instead of the map |
| 22161 |
difficulty (as was done with shops). If experience is not set, then the map |
| 22162 |
difficulty will instead be used (or 14 in the case of shop floors). |
| 22163 |
|
| 22164 |
Cure poison actually cures it, instead of reducing the duration. |
| 22165 |
|
| 22166 |
Don't use fseek when loading in map files. Some systems do not support |
| 22167 |
fseek on pipes (which are used for compressed files). Instead, just |
| 22168 |
set the variable with the data we read, instead of seeking back and |
| 22169 |
re-reading it. |
| 22170 |
|
| 22171 |
Transferrance spell changed so that supercharging will have bad effects |
| 22172 |
(first confuses the player, then a large fireball is created (with player |
| 22173 |
losing all spellpoints) |
| 22174 |
|
| 22175 |
Poisoning made more vicious - it does more damage based on the level of the |
| 22176 |
creature that uses it (level/2 in fact). This makes it so that very tough |
| 22177 |
creatures that poison someone will have the poison do serious damage. |
| 22178 |
Also, damage caused is no longer random. |
| 22179 |
|
| 22180 |
Chests can now contain multiple items. Code changed to handle this |
| 22181 |
properly. Treasure is also always dropped on the floor (Even if the chest |
| 22182 |
is in an objects inventory.) hp field used in chests (and in fact all |
| 22183 |
treasures) to determine how many objects to create (thus, a chest with 3 hp |
| 22184 |
will have 3 objects created). |
| 22185 |
|
| 22186 |
Crossedit now draws a rectangle around the selected area. Reversing the |
| 22187 |
color of the images did not work in XPM mode. |
| 22188 |
|
| 22189 |
Have client.c include "includes.h". includes.h sets up all the name defines |
| 22190 |
properly (ie, __sgi__, __sun__) |
| 22191 |
|
| 22192 |
SP_* functions changed (by Rupert Goldie) to take an object pointer instead |
| 22193 |
of a level value. This makes adjustments for spell costs (via stuff like |
| 22194 |
spell paths) easier to make, because now only the SP_* functions need to be |
| 22195 |
changed. With the object structure, checking for known paths (or perhaps |
| 22196 |
other things in the future) can easily be done. |
| 22197 |
|
| 22198 |
Bombs will now be dropped before exploding. |
| 22199 |
|
| 22200 |
New attack type (God Power) added. The cleric cause wound spells use this |
| 22201 |
attack type. |
| 22202 |
|
| 22203 |
Charm monster spell added. |
| 22204 |
|
| 22205 |
Party system re-written by Scott MacFiggen <[email protected]>. |
| 22206 |
Characters will now only share experience if on the same map, and other |
| 22207 |
features were also added. |
| 22208 |
|
| 22209 |
Modified check_item function (used in creating weapons with the improve |
| 22210 |
scrolls). The objects being sacrificed do not need to be in one group (ie, |
| 22211 |
two groups of 4 potions of dex will now be counted as 8 potions). This only |
| 22212 |
applies to potions, since some can be identified and others not identified. |
| 22213 |
Also, cursed or damned items will not count towards sacrifice count |
| 22214 |
(although, they will be consumed). |
| 22215 |
|
| 22216 |
Changed way cancellation works on items. Before, if cancellation hit a |
| 22217 |
player and the player failed the saving throws, the items got no saving |
| 22218 |
throw versus cancellation (only if their absolute magic value was less than |
| 22219 |
RANDOM()%6 did they survive). Now each item gets a saving throw. Note that |
| 22220 |
if a container makes a saving throw, then the items inside do not need to |
| 22221 |
make saving throws and are unaffected. |
| 22222 |
|
| 22223 |
A separate function did_make_save_item was split off from |
| 22224 |
save_throw_object. did_make_save_item justs checks to see if the item made |
| 22225 |
its saving throw based on the tables (and any protections or immunities |
| 22226 |
grants it an automatic save, as before) save_throw_item calls this function, |
| 22227 |
and in addition, does the appropriate actions (burns up items, turns them |
| 22228 |
into icecubes, calls cancellation, etc.) |
| 22229 |
|
| 22230 |
Saving throw method changed. Before, each item got 5 chances to make a save |
| 22231 |
for each item it is composed of. Now, it gets one chance for material it is |
| 22232 |
composed of. Then, based on the number of saves it made, and the number |
| 22233 |
materials it is composed of, an overall made save/failed save is |
| 22234 |
determined. This change is to make it easier to figure out saving throw |
| 22235 |
values, and hopefully make adjustment easier. |
| 22236 |
|
| 22237 |
Saving throw tables updated. In general, each item is +5 compared to what |
| 22238 |
it was before. This should hopefully make it so that items have about the |
| 22239 |
same success rate they did before. |
| 22240 |
|
| 22241 |
Crossedit modified to preserve value of connected field when cut/copying and |
| 22242 |
pasting. Before, an object that was copied/cut would also have its |
| 22243 |
connected field reset to 0. |
| 22244 |
|
| 22245 |
More XPM images colored. Filenames for the river directory have been |
| 22246 |
re-done, to actually make it a bit clearer of what does what. The archetype |
| 22247 |
names were not renamed however, to keep compatibility. |
| 22248 |
|
| 22249 |
World expanded. Another row of maps was added to the southern edge. The |
| 22250 |
world maps were also renamed to a world_xy format, where x is a letter |
| 22251 |
and y is a number. This represents the x and y location of the map, making |
| 22252 |
it easier to figure out how maps related to each other. |
| 22253 |
|
| 22254 |
Map spaces can prevent magic user spells, cleric spells, or both. Before, |
| 22255 |
an anti magic square prevented all types of spell casting. |
| 22256 |
|
| 22257 |
Have monsters regenerate spell points even if they don't cast a spell. |
| 22258 |
Monsters have a 1:3 chance of casting spells, irregardless of any other |
| 22259 |
factors. Before, spellpoints would only be regenerated if it got past this |
| 22260 |
check. Also, some monsters (dragons, chinese dragons) have had their max |
| 22261 |
spellpoint and regeneration rates increased to correspond with the higher |
| 22262 |
cost of casting their breath weapons. |
| 22263 |
|
| 22264 |
Altars now will also match on the slaying field of the object being |
| 22265 |
sacrificed. This is similar to how keys and special doors work. With this |
| 22266 |
change, it is no longer required to make a unique item that then needs to be |
| 22267 |
sacrificed (ie, the dagger, the cup, and the crown for the old city |
| 22268 |
quests). Instead, a cup, and crown can be used, with the slaying field set |
| 22269 |
appropriately (unfortunately, will not work for weapons, as it will think |
| 22270 |
that is the monster to do extra damage against.) However, the altar code |
| 22271 |
always did match item name, so calling it something special like 'The |
| 22272 |
Dagger' and have the sacrifice look for that should also work. |
| 22273 |
|
| 22274 |
Spell encumbrance code added. More you are carrying the higher your |
| 22275 |
chance for failure. |
| 22276 |
|
| 22277 |
------------------------------------------------------------------------------ |
| 22278 |
Changes from Crossfire 0.91.0 to 0.91.1: |
| 22279 |
|
| 22280 |
Fixed bug in the enchant weapon code. It was not allocing enough |
| 22281 |
space for the string, and thus would corrupt the heap. |
| 22282 |
|
| 22283 |
Minor fix to spells.c. IT was using strdup instead of strdup_local, |
| 22284 |
which caused the compile to fail on some machines. |
| 22285 |
|
| 22286 |
No longer gets errors when adding a player on a map that is not |
| 22287 |
loaded in a multi player game. Before, process_events would see that |
| 22288 |
the player has no object, and could get enough errors to cause the game |
| 22289 |
to quit. Now, it suppresses errors if it is only loading objects |
| 22290 |
for that map. |
| 22291 |
|
| 22292 |
Default map difficult for treasure that is created in shops was changed from |
| 22293 |
9 to 5. In this way, the likelihood is higher that good items will be found |
| 22294 |
in dungeons, not in the shops (there are very few items with difficulty |
| 22295 |
above 9) |
| 22296 |
|
| 22297 |
Archetypes cleaned up. All archetypes that were not being used in a map |
| 22298 |
were moved to dev/unused/0.91.1. Note: There are still a few archetypes |
| 22299 |
that are not used in any maps, but these are part of a collection (ie, one |
| 22300 |
section type of a wall). This was done really because there is no reason to |
| 22301 |
have archetypes that are not being used to be in the official distribution. |
| 22302 |
It could be misleading for people looking through the arch directory (ie, 'I |
| 22303 |
thought I looked at all the maps, but never saw this monster'). Also, I |
| 22304 |
have no problem moving these archetypes back in, once some maps actually use |
| 22305 |
them. |
| 22306 |
|
| 22307 |
'grass' and 'sea' are no longer animated. There are a few reasons for |
| 22308 |
this: 1) The animations never really were that interesting, 2) being |
| 22309 |
animated put them on the speed list, and being that over all, they are the |
| 22310 |
second and third most used objects, this is a performance hit, and 3) With |
| 22311 |
pixmap and xpm images, re-draws are only done on squared the have changed |
| 22312 |
(really improves performance). However, with them being animated, they |
| 22313 |
often changed, so that more re-draws were needed. The old archetype and |
| 22314 |
image files are in dev/old (in arch distribution) if you actually want to |
| 22315 |
use the animated versions. |
| 22316 |
|
| 22317 |
Put a limit of 70 on damage bonus for weapons. |
| 22318 |
|
| 22319 |
Treasure lists expanded. The old treasure lists (in treasure.c) have been |
| 22320 |
removed, and treasure lists added to the treasures file added to take their |
| 22321 |
place. The treasure file has been expanded have list transitions, and |
| 22322 |
treasure lists in which 1 object on that list will be generated. Archetypes |
| 22323 |
(shop, random, and chest) updated to use the randomitems field to determine |
| 22324 |
what treasure list to use to generate the items. Advantages of the new |
| 22325 |
method: Ability to better tune treasure probabilities, re-compiling not |
| 22326 |
necessary in order to update treasures. the create_treasure function was |
| 22327 |
modified to add an extra argument - this is used to keep track of how many |
| 22328 |
times it has been called on this attempt to create a treasure. In this way, |
| 22329 |
infinite loops (with list transitions) are avoided. Generate treasure |
| 22330 |
replaced with a simpler function that calls create_treasure, and returns the |
| 22331 |
object. create_treasure takes a treasurelist instead of a integer |
| 22332 |
treasurelist number, like it did before. The crossfire.doc file has |
| 22333 |
been updated about the new treasures file capabilities. |
| 22334 |
|
| 22335 |
Chests are now created with their treasure as their inventory (this mostly |
| 22336 |
happened because of the treasure changes above). Advantage is that when a |
| 22337 |
chest burns up, its treasure may remain (or may be burned up). Before, when |
| 22338 |
a chest was burned up, its treasure inside was not created. |
| 22339 |
|
| 22340 |
Rolling multi-part objects should now work better (not perfect, however). |
| 22341 |
|
| 22342 |
Carrying an open bag with a mode that picks everything up will no longer cause |
| 22343 |
an infinite loop. |
| 22344 |
|
| 22345 |
Crossedit changed to draw selected areas as a black box. Fixes some problems |
| 22346 |
with display in XPM mode. |
| 22347 |
|
| 22348 |
Fixed bug that would cause game to crash when pets were summoned. Problem |
| 22349 |
was an infinite recursive loop, that would then cause the system to run out |
| 22350 |
of stack space. Solution is to decrease the speed_left of the object before |
| 22351 |
one of the function calls. This makes it so that at some point, one of the |
| 22352 |
functions will not be called. |
| 22353 |
|
| 22354 |
When a rune is cast, use the s->archname for the archetype name, and |
| 22355 |
not hard coded strings. Cured a bug with rune of transference. Also, |
| 22356 |
allowed several case statements to be merged. Really, no archetype names |
| 22357 |
should be used in spells.c, when casting spells. The archetype name should |
| 22358 |
be gotten from the spell structure. |
| 22359 |
|
| 22360 |
If a button is being updated on a map that is being saved, just return |
| 22361 |
from the function. Prevents errors 'object has speed but is free' |
| 22362 |
|
| 22363 |
Fixed bug that caused objects that got a speed_left of exactly 0 to |
| 22364 |
be frozen. This was because speed_left >0 to have the object be processed, |
| 22365 |
and <0 to have speed added. Now, speed is added if speed_left <=0. |
| 22366 |
|
| 22367 |
Some minor changes made to hopefully make it compile on AIX systems without |
| 22368 |
any modifications. |
| 22369 |
|
| 22370 |
process_active_maps now called when a map is being loaded. It should |
| 22371 |
hopefully work properly, since enter_exit was modified to not use any |
| 22372 |
static variables. Also, process_events was modified to take a map as |
| 22373 |
an argument, and if non null, only update objects on that map. That makes |
| 22374 |
process_map obsolete. process_active_maps was also changed to still process |
| 22375 |
even if there is only one player. |
| 22376 |
Crossfire should let players still perform actions when a map is being |
| 22377 |
saved. Problem is, handling a map that is in the process of it being |
| 22378 |
saved, and having a character enter it. Crossfire needs to finish |
| 22379 |
saving that map, then re-load it and insert the character. Large changes |
| 22380 |
to how player interact with loading & saving of maps would probably |
| 22381 |
be needed, and probably should be done. |
| 22382 |
|
| 22383 |
You no longer lose luck if you kill yourself, and the player who kills another |
| 22384 |
player now loses the luck (before, the player killed would lose luck). |
| 22385 |
|
| 22386 |
Now inventory display modes - unpaid, cursed, magical, nonmagical. All pretty |
| 22387 |
self explanatory. |
| 22388 |
|
| 22389 |
------------------------------------------------------------------------------ |
| 22390 |
Changes from Crossfire 0.90.5 to 0.91.0: |
| 22391 |
|
| 22392 |
Some new maps added to the standard distribution (Magara and some of |
| 22393 |
the esben maps). Magara was added as a place to depart to by ship, the |
| 22394 |
esben maps were merged in as new buildings or towers on existing maps, not |
| 22395 |
as a new continent. |
| 22396 |
|
| 22397 |
Keyboard buffering is now selectable via 'keyboard' command. Before, |
| 22398 |
an attempt to remove keystrokes from the X Events queue was made, but could |
| 22399 |
not always remove all of them. Now, it should remove all of them, or none |
| 22400 |
of them, depending on the keyboard buffer setting. The value will be |
| 22401 |
saved with the player. |
| 22402 |
|
| 22403 |
Pickup mode value now saved and restored from the characters save files. |
| 22404 |
|
| 22405 |
Inventory and look window should only be re-drawn once when selling |
| 22406 |
an item. |
| 22407 |
|
| 22408 |
Calls to draw_stats in common/living.c will only be made if the object |
| 22409 |
type is a player (should prevent some warning messages) |
| 22410 |
|
| 22411 |
Fixed create earth wall spell so that it uses bdur as the base hit |
| 22412 |
points of the wall (instead of bdam). This will prevent some core dumps, |
| 22413 |
because otherwise, the wall can have 0 hit points. |
| 22414 |
|
| 22415 |
Program should not core dump when person quits that game and the map he |
| 22416 |
is on has been swapped out. (ie, person saves or quits the character, |
| 22417 |
but the map gets swapped out before they type 'q' to the play again |
| 22418 |
question) |
| 22419 |
|
| 22420 |
Word activated teleporter code added (Peter Mardahl). |
| 22421 |
|
| 22422 |
Who can become DM, based on their user id, can now be set in the dm_file |
| 22423 |
(assumed to be in lib.) (Tyler Van Gorder) |
| 22424 |
|
| 22425 |
Tell should now work properly (Eric Mehlhaff) |
| 22426 |
|
| 22427 |
Cloak code added (Peter Mardahl) |
| 22428 |
|
| 22429 |
Objects can not grant invisibility, make_invisible variable added to |
| 22430 |
archetype files. |
| 22431 |
|
| 22432 |
Added information to the crossfire.doc file (was missing several |
| 22433 |
attack types and materials). Added better information on what some of |
| 22434 |
the flags do. Noticed that will_apply 4 applied for both scrolls |
| 22435 |
and earthwalls, now only applies to earthwalls. To have a monster |
| 22436 |
use scrolls, can_use_scroll should be used instead. |
| 22437 |
|
| 22438 |
Code added to deny users or sites from connecting. This is to prevent |
| 22439 |
users who intentionally crash the server to connect and start up a window, |
| 22440 |
which they then crash the server with. Patches from Tyler Van Gorder. |
| 22441 |
|
| 22442 |
Two floors will can now be drawn when using XPM mode and this options |
| 22443 |
has been selected in config.h This allows for towers to sit on top of |
| 22444 |
grass to look proper. From Gregor Schmid <[email protected]> |
| 22445 |
|
| 22446 |
Patches that modified 'create food' spell. Better food (ie, waybread) |
| 22447 |
will be created at higher levels, and the caster can also specify what |
| 22448 |
type of food to be created. From Peter Mardahl. |
| 22449 |
|
| 22450 |
Spell paths added by Rupert G. Goldie <[email protected]>. Simply put, |
| 22451 |
each 'spell path' contains a certain category of spells. Objects and |
| 22452 |
races can be attuned, repelled, or denied certain paths (objects would |
| 22453 |
apply the the person wearing them). Attuned allows casting of spells in |
| 22454 |
that path at lower cost and greater efficiency, repelled paths are cast at |
| 22455 |
a higher cost and lower efficiency, and denied paths can not be cast at all. |
| 22456 |
Thus, a wand of small fireball that is attuned to Fire would cast more |
| 22457 |
powerful fireballs. A character wearing a ring that is denied the path |
| 22458 |
of fire could not cast fire spells at all. Right now, no items will |
| 22459 |
be created using these features, and no characters have any of these, but |
| 22460 |
these might be added in the future. Look at the spell-paths file in the |
| 22461 |
doc directory for a little more information. |
| 22462 |
|
| 22463 |
Pickup mode 6 (pick up magical items) will not pick up known cursed items. |
| 22464 |
|
| 22465 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 22466 |
Object structure and process_events changed. Now, a separate list |
| 22467 |
us used to keep track of active objects (objects whose speed is nonzero). |
| 22468 |
All objects on the active list are still on the normal list, but |
| 22469 |
process_objects only needs to go through the active_list for objects |
| 22470 |
to process, saving a lot of time. The cost is adding two |
| 22471 |
pointers (active_next and active_prev) to each objects. But the speed |
| 22472 |
gains are well worth the minor memory cost. the 'malloc command |
| 22473 |
was changed to display the number of objects on the active list - |
| 22474 |
note that there is zero memory usage for these, since these objects |
| 22475 |
are also on the normal object list. |
| 22476 |
|
| 22477 |
Programming note: Any time an objects speed is changed (doesn't |
| 22478 |
happen too often), a call to update_ob_speed(object *) must be |
| 22479 |
made, so that the object can be added or removed from the active |
| 22480 |
list, as appropriate. |
| 22481 |
|
| 22482 |
In testing, I first ran crossfire, with process events using the |
| 22483 |
normal object list, and printing out error messages if it found |
| 22484 |
objects that had speed but were not in the active_list. I cleared out |
| 22485 |
a couple warehouses in Navar without any errors. |
| 22486 |
|
| 22487 |
Then, I switched to using the active_list, and printing out errors if |
| 22488 |
it found objects on that list with zero speed. I cleared out the |
| 22489 |
mages tower in Navar city without any errors. |
| 22490 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 22491 |
|
| 22492 |
|
| 22493 |
Selling items now works properly (it only failed to work if |
| 22494 |
AUTO_SAVE was not set previously, and the value of the item was |
| 22495 |
beyond a certain amount.) |
| 22496 |
|
| 22497 |
Look window code changed so that it does not erase the unused area |
| 22498 |
unless necessary. Also, when a player moves, freeze_look is set. |
| 22499 |
This was changed because the functions that move_ob calls update the look |
| 22500 |
window, and the window was being updated 3 times each time the player moved. |
| 22501 |
|
| 22502 |
When poisoning ends, it no longer core dumps. |
| 22503 |
|
| 22504 |
Inventory window updated if reading an unidentified spell book and you |
| 22505 |
already know that spell. |
| 22506 |
|
| 22507 |
Casting rune spells now works properly. |
| 22508 |
|
| 22509 |
Spells now (once again) sorted upon loading of characters. |
| 22510 |
|
| 22511 |
------------------------------------------------------------------------------ |
| 22512 |
Changes from Crossfire 0.90.4 to 0.90.5: |
| 22513 |
|
| 22514 |
Bug fixed with window titles getting their names changed. (Tero Haatanen) |
| 22515 |
|
| 22516 |
Container code changed around. Containers can be locked, they can be used |
| 22517 |
from the ground. FLAG_CONTAINER removed, since there is already a type |
| 22518 |
container, and bonus removed from object structure (Tero Haatanen) |
| 22519 |
|
| 22520 |
insert_ob_in_ob sorts objects, so items with more magic are before those |
| 22521 |
with no magic bonuses even for unidentified. It also uses the absolute |
| 22522 |
value of the magic, so it should be a little more difficult to know if the |
| 22523 |
item is cursed or not. |
| 22524 |
|
| 22525 |
Added unique-flag and UNIQUE_ITEMS define. All items which have unique flag |
| 22526 |
are saved to directory .../lib/unique-items. A filename is mapname + ".v" + |
| 22527 |
number, where number is normally 01, but if two or more server is running |
| 22528 |
same time it can be also greater. This feature can be used to banks and |
| 22529 |
inns to save permanently items. The code is one limitation: if map contains |
| 22530 |
unique item which can be carried away from map (e.g. an unique excalibur) |
| 22531 |
there must be at least one unique item on map which can't be carried away. |
| 22532 |
This is because unique items are loaded from original map only if unique |
| 22533 |
items file doesn't exit. If all unique items are carried away from map then |
| 22534 |
they are loaded back next time when someone enters that map. This should |
| 22535 |
not a problem if map makers remembers this. (Tero Haatanen) |
| 22536 |
|
| 22537 |
Editor by Jarkko Sonninen. He added toggle button into attribute window and |
| 22538 |
made map's reset time and timeout so that they can be configured in maps. He |
| 22539 |
also fixed map archetype, so that map default stating coordinate is (2,2) |
| 22540 |
like before. This seems break a gatehouse map, where it use default value |
| 22541 |
on map (changed 0 to 2), but it's easy to fix. |
| 22542 |
|
| 22543 |
Change check_walk_on (common/object.c) so it no longer calls the draw_func. |
| 22544 |
This eliminates a problem of seeing flashes of areas that should be blocked. |
| 22545 |
This is because the draw function it called would re-draw the game window |
| 22546 |
before the variable to re-calculate line of set was set. As I see it, this |
| 22547 |
function call was not needed in any case, because this is called during the |
| 22548 |
players movement. After the player moves, the draw function is called from |
| 22549 |
the process_events (now process_players1) function. This should also |
| 22550 |
conserver a little cpu time, and bandwidth. |
| 22551 |
|
| 22552 |
Coin code in shop.c changed. Patch from Kjetil Torgrim Homme made it so |
| 22553 |
that coin value can be changed in archetypes and the shop code should still |
| 22554 |
work properly. I made changes so that the number of coin types is set with |
| 22555 |
a #define, making adding new coin types easier. |
| 22556 |
|
| 22557 |
AUTOSAVE, SAVE_INTERVAL, and NO_EMERGENCY_SAVE should now work properly. |
| 22558 |
See include/config.h for more information on these options. |
| 22559 |
|
| 22560 |
Changed it so that updates to other maps will not be performed while |
| 22561 |
loading a map. This caused a bug if two players entered exits |
| 22562 |
at the same time. One or both of the players may end up in incorrect |
| 22563 |
locations, all exits in that location may be closed, etc. |
| 22564 |
|
| 22565 |
Saving throw table expanded to handle all materials and attack |
| 22566 |
types (Peter Mardahl) |
| 22567 |
|
| 22568 |
Fixes so that Turn Undead does not do physical damage (Peter Mardahl) |
| 22569 |
|
| 22570 |
Patch to make it impossible to prepare multiple weapons at the |
| 22571 |
same time (Peter Mardahl) |
| 22572 |
|
| 22573 |
Added 'sea1' archetype. This is the same as the sea archetype, but allows |
| 22574 |
for walk on. Its purpose is to use for backgrounds behind boats and similar |
| 22575 |
objects. Because it will probably be needed in so many places, I decided to |
| 22576 |
make an archetype, instead of editing the variables inside crossedit for the |
| 22577 |
object. |
| 22578 |
|
| 22579 |
Removed xbm_values array. This was used to map a face number to that face |
| 22580 |
location in memory. Since the bmaps file is created automatically without |
| 22581 |
any holes, this is not longer necessary. |
| 22582 |
|
| 22583 |
Archetype for wonder spell now in place. This will prevent core |
| 22584 |
dumps when the spell is cast. |
| 22585 |
|
| 22586 |
Pixmaps will now be freed upon exiting Crossfire. They will also be freed |
| 22587 |
after emergency saves are performed. This fixes the problem that some |
| 22588 |
X-Terminals would not free the memory used the the pixmaps otherwise, and |
| 22589 |
run out of memory. This fix pertains to both -pix and -xpm mode. |
| 22590 |
|
| 22591 |
Patch to hopefully double death problem/core dumps with NOT_PERMADEATH |
| 22592 |
mode. |
| 22593 |
|
| 22594 |
Changed the size of the temporary string that is used when loading |
| 22595 |
messages. For a few very long messages, 1024 bytes was not enought. |
| 22596 |
|
| 22597 |
Patches put in Crossedit to allow for XPM mode. From Petri Heinil. |
| 22598 |
|
| 22599 |
Cleaned up the code for look window. Now, everything agrees (ie, |
| 22600 |
when you click on something in the look window, it is actually |
| 22601 |
that object.) Likewise, invisible objects are not displayed |
| 22602 |
anywhere. This should also fix a bug of not being able to enter |
| 22603 |
some building by clicking the middle mouse button on them. |
| 22604 |
|
| 22605 |
Added help file for pickup. Explains the 8 basic pickup modes |
| 22606 |
plus the value-density pickup mode. |
| 22607 |
|
| 22608 |
Detect magic will detect magic on all items in a stack, not just the |
| 22609 |
top object. |
| 22610 |
|
| 22611 |
Spells fixes (From Peter Mardahl): |
| 22612 |
1) Identify modified to identify items on the ground if inventory is |
| 22613 |
identified. |
| 22614 |
2) Detect magic spell finds magical runes and makes them more visible |
| 22615 |
3) AT_CHAOS and AT_COUNTERSPELL reimplemented so that they are not |
| 22616 |
treated as special cases by the move_cone function |
| 22617 |
4) Magical walls created by spells (firewall, frostwall, ....) are |
| 22618 |
fixed |
| 22619 |
|
| 22620 |
If a map is reset, that map is then removed from the list of map objects |
| 22621 |
(what you see when you type 'maps ). This way, the 'maps commands only |
| 22622 |
displays maps that are reasonably active. This change should also save a |
| 22623 |
little memory. |
| 22624 |
|
| 22625 |
make depend now descends into crossedit/Cnv to depend there. |
| 22626 |
|
| 22627 |
Changed some of the colors in the xutil.c file. This is so that it uses |
| 22628 |
the same colors as the official colors for XPM files. It would have been |
| 22629 |
better to make those colors part of the official XPM colors to start |
| 22630 |
with, but it is a bit late to do that now. The change of the xutil.c file |
| 22631 |
was made so that crossfire would not use quite as many entries in |
| 22632 |
the colormap. The change in colors should be quite minor. |
| 22633 |
|
| 22634 |
Two new pickup modes added - one picks up all money and gems, the other |
| 22635 |
all magical items. |
| 22636 |
|
| 22637 |
Removed a lot of dead code from the various header files. removed |
| 22638 |
hiscore.h from distribution (wasn't declaring anything that was not |
| 22639 |
being declared elsewhere.) |
| 22640 |
|
| 22641 |
|
| 22642 |
------------------------------------------------------------------------------ |
| 22643 |
Changes from Crossfire 0.90.3 to 0.90.4: |
| 22644 |
|
| 22645 |
Many more XPM images now properly colored. NOTE TO COLORERS: A few minor |
| 22646 |
changes have been to the xpm.template file (palegreen has been replaced with |
| 22647 |
green3, and a more medium orange has been added.) I replaced palegreen |
| 22648 |
because it was very close to the 'green' color already present. And a |
| 22649 |
medium green was lacking. A medium orange was also lacking, so I added one |
| 22650 |
in. |
| 22651 |
|
| 22652 |
New pickup modes, that can be based on value density (from |
| 22653 |
Peter Mardahl <[email protected]>) |
| 22654 |
|
| 22655 |
Spells now have a casting time. (From Matthew Zeher <[email protected]>) |
| 22656 |
|
| 22657 |
Added libproto1.h file. This will be used for function prototypes |
| 22658 |
are affected by certain settings (ie, SPEED_GAME). This way, people |
| 22659 |
should not need to run 'make proto' |
| 22660 |
|
| 22661 |
New XPM loading method. Creates montage of the xpm files, |
| 22662 |
so that not as many calls to XPM are needed. This has reduced loading |
| 22663 |
time to about 30% of what it was before. Note: This done mean it takes |
| 22664 |
some more memory at start up, as the montage has to be stored |
| 22665 |
temporarily. |
| 22666 |
|
| 22667 |
Changed charisma bonuses. At 30 charisma, it will no longer be possible to |
| 22668 |
buy an item, and then sell it for more than you bought it for. |
| 22669 |
|
| 22670 |
Graphic exposures turned off on the GC's that are used in the game window. |
| 22671 |
Should improve performance. |
| 22672 |
|
| 22673 |
When a raise stat spell ends, the proper message (ie, You look ugly, you |
| 22674 |
feel less intelligent, etc) will now be printed out. |
| 22675 |
|
| 22676 |
If player NOT_PERMADEATH mode, and you die, a stat will only be decreased |
| 22677 |
one. Before, that stat was decreased one, and the max stat was set to that |
| 22678 |
value. So if the player was poisoned, or a stat was lowered due to some |
| 22679 |
other reason, that loss would become permanent. Now, both the stat and |
| 22680 |
orig_stat only gets decreased by one. |
| 22681 |
|
| 22682 |
invoke.c removed, cast_spell modified to handle what invoke.c did. |
| 22683 |
|
| 22684 |
Keep old shoot type if reading a scroll, instead of it being set to none. |
| 22685 |
|
| 22686 |
Raise stats spells should be progressively more costly (From Peter Mardahl) |
| 22687 |
|
| 22688 |
Should now be able to handle broken pipes without problem (ie, telnet |
| 22689 |
session closing unexpectedly). Made it so that listen level 0 on a socket |
| 22690 |
means that draw_all_sockets will not write to that socket. Crossclient uses |
| 22691 |
this so that it does not get unexpected messages, and thinks that it failed. |
| 22692 |
|
| 22693 |
Added 'set font' option. This basically unsets color pixmaps or xpm mode. |
| 22694 |
If crossclient was run without -xpm or -pix mode, it will send this command |
| 22695 |
to use fonts. What this means is that set (font,pix,xpm) should set that |
| 22696 |
display mode. Before, the display selection it defaulted to for crossclient |
| 22697 |
seemed unreliable at best. |
| 22698 |
|
| 22699 |
Fixed memory allocation problem in commands.c (it was writing to more |
| 22700 |
bytes than it had allocated) |
| 22701 |
|
| 22702 |
Draw message window almost complete re-written. In an effort to cut |
| 22703 |
down on flashing of the the status bars. ( Niilo Neuvo <[email protected]>) |
| 22704 |
|
| 22705 |
More bug fixes for spells (from Peter Mardahl) |
| 22706 |
|
| 22707 |
Fixed some bugs for compiling on the Alpha running OSF/1 1.3 |
| 22708 |
|
| 22709 |
------------------------------------------------------------------------------ |
| 22710 |
Changes from Crossfire 0.90.2 to 0.90.3: |
| 22711 |
|
| 22712 |
Added -xpm command line option to crossclient. |
| 22713 |
|
| 22714 |
All spells should not be handled in the switch statement in spells.c |
| 22715 |
|
| 22716 |
Let players buy zero value items from shop. This really shouldn't be a |
| 22717 |
problem, the only zero value items of any use might be wands with very |
| 22718 |
few charges. If someone wants to buy poison or cursed items, they should |
| 22719 |
be able to. |
| 22720 |
|
| 22721 |
Fix spelling error of command line argument 'detatch'. It is now |
| 22722 |
spelled properly (detach). |
| 22723 |
|
| 22724 |
Change draw_color_pix in server/xio.c. It now draws the images to an |
| 22725 |
intermediate pixmap, and then draws that to the screen. May or may not be |
| 22726 |
quicker (XSetClipOrigin only needs to be set once), but it does prevent |
| 22727 |
flicker. Also add two more GC's to the player struct, to make these |
| 22728 |
operations faster. |
| 22729 |
|
| 22730 |
Unless XPM_PIX is defined, draw_color_pix will note be compiled in the |
| 22731 |
code. |
| 22732 |
|
| 22733 |
Fixes to make it compile on both Solaris and NeXT machines (hopefully) |
| 22734 |
|
| 22735 |
Removed PLAYER_COLOR #ifdefs and lines they control out of login.c. Those |
| 22736 |
were not needed any more. |
| 22737 |
|
| 22738 |
Added 'mapinfo' command to valid input commands. |
| 22739 |
|
| 22740 |
Only have crossfire display -m as a valid command if it was compiled |
| 22741 |
with DUMP_SWITCHES set. |
| 22742 |
|
| 22743 |
Changed install procedure to only copy those files necessary to playing |
| 22744 |
into lib. Also, don't install obsolete scripts into the bin directory |
| 22745 |
when installing. |
| 22746 |
----------------------------------------------------------------------------- |
| 22747 |
Changes from Crossfire 0.90.1 to 0.90.2: |
| 22748 |
|
| 22749 |
Cleaned up the display from 'maps. Now things line up nicely. It |
| 22750 |
doesn't print the name anymore, and truncates the path at 18 characters. |
| 22751 |
But this doesn't make a difference for most maps, and now you can actually |
| 22752 |
see what variables are set to what. |
| 22753 |
|
| 22754 |
Experience requirements changed. Initial values from Peter, but I changed |
| 22755 |
them to be more round numbers. |
| 22756 |
|
| 22757 |
Change targets in server and crossclient from ComplexProgramTarget |
| 22758 |
to AllTarget, DependTarget, and NormalProgramTarget. This is because |
| 22759 |
ComplexProgramTarget expects man pages in those directories, which do |
| 22760 |
not exist. |
| 22761 |
|
| 22762 |
Moved data initialization out of treasure.h and into common/treasure.h. |
| 22763 |
In theory, no data initialization should be done in the .h files, it should |
| 22764 |
all be done in the .c files, with the .h files declaring the appropriate |
| 22765 |
externs. Likewise, no .c files should have extern's for other data |
| 22766 |
functions, they should include the appropriate .h file to get those |
| 22767 |
externs declared. This would fix the problem of having to go through |
| 22768 |
the various .c files whenever one of the data structures change, to update |
| 22769 |
all the externs made to it. Since the compiler will check to make sure that |
| 22770 |
the extern in the .h file and the actual declaration in the .c file are |
| 22771 |
the same, it prevents errors of mismatched declarations (ie, having |
| 22772 |
something like char s[40][20], which at later point gets to |
| 22773 |
char *s[40], but some files still think it is supposed to be s[40][20].) |
| 22774 |
|
| 22775 |
Changed doc/Imakefile so that make install.man will actually install |
| 22776 |
the man pages. |
| 22777 |
|
| 22778 |
Characters that dies who were poisoned should have the poisoning |
| 22779 |
removed. |
| 22780 |
|
| 22781 |
Changes from the Berkeley Folks: |
| 22782 |
What we've done that's in this server code that I know of: |
| 22783 |
|
| 22784 |
--level dependency added to many spells. |
| 22785 |
|
| 22786 |
--level dependency tunable on the fly by editing the spell_params |
| 22787 |
in the 'lib' dir and using the dm command 'spellreset' spellpoints |
| 22788 |
and spell level are also changeable on the fly. |
| 22789 |
|
| 22790 |
--many new spells added |
| 22791 |
--protection spells can now superimpose, as can gain stat spells. |
| 22792 |
repeated applications of protective or stat spells yield diminishing |
| 22793 |
returns. |
| 22794 |
|
| 22795 |
--runes added--an implementation of magical traps. any spell may |
| 22796 |
go in a rune. Read the documentation. |
| 22797 |
|
| 22798 |
--new spell interface. invoke <spell> invokes that spell immediately. Some |
| 22799 |
spells can take parameters now. invoke magic rune <spell> |
| 22800 |
will store <spell> in a magic rune. invoke <spell> will not set the |
| 22801 |
range spell. cast and prepare are synonymous. |
| 22802 |
|
| 22803 |
--Certain spells cannot be set as range spells now--less than 10 of these. |
| 22804 |
These are spells which no one would want to use more than once in a while, |
| 22805 |
like magic map. |
| 22806 |
|
| 22807 |
--A hack to object.c in common dir which makes objects created by objects |
| 22808 |
with owners owned by the creating object's owner. (This allows players |
| 22809 |
to get credit for a kill with the meteor swarm spell, which creates a |
| 22810 |
'swarm' object, which in turn creates the meteor objects.) |
| 22811 |
-- End of Berkeley additions. |
| 22812 |
|
| 22813 |
New maps and archetypes added. |
| 22814 |
|
| 22815 |
Crossedit can now load maps that are compressed. |
| 22816 |
|
| 22817 |
Add Solaris 2.x compile support. |
| 22818 |
|
| 22819 |
Now prints out what the scroll name was that turned to dust. |
| 22820 |
|
| 22821 |
Minor artifact changes (ring of ice is blue, ring of fire is red) |
| 22822 |
|
| 22823 |
Horn range weapon now works properly, via using the + and - keys. |
| 22824 |
|
| 22825 |
New input method (From Jari Vanhala <[email protected]>). Looks like |
| 22826 |
it should now be possible to define keys to do most every command. Made |
| 22827 |
a few minor changes to default key file to make the present set up |
| 22828 |
act like the previous one. |
| 22829 |
|
| 22830 |
Fixed triggers and magic mouth. These devices will now open gates |
| 22831 |
as would be expected. The problem was that the opening routine |
| 22832 |
expects to see the op->value of these to be one, in order to open the |
| 22833 |
gate or whatever. Changed routines to toggle value between 0 and 1. |
| 22834 |
Note: As I understand, trigger handles return to their original state, but |
| 22835 |
keep the same value. That is, you pull the trigger handle, the handle returns |
| 22836 |
to its original position, but gate opens. Pull handle again, handle returns |
| 22837 |
to same position, but gate now closes. Or at least that is how I implemented |
| 22838 |
the devices. |
| 22839 |
|
| 22840 |
Make some more changes to the is_magical routine. Hopefully, it will now |
| 22841 |
detect all rings and amulets that are magical. Also, it should not |
| 22842 |
detect monsters (or any living object) as magical. |
| 22843 |
|
| 22844 |
Fixed bug with Color Pixmaps (XPM). Would try to free the pl->pixmaps |
| 22845 |
area twice, causing core dump. Looks like the same thing should have |
| 22846 |
happened when using bitmaps also. In any case, only one free(pl->pixmaps) |
| 22847 |
is now performed. |
| 22848 |
|
| 22849 |
Bug fixed with XPM code, in which 'floors' would appear to be |
| 22850 |
carried around with the player. This is because the players pixmap did |
| 22851 |
not change, and hence, it did not update that square. Now fixed. |
| 22852 |
|
| 22853 |
Random encounter bug might now be fixed (patches from Frank) |
| 22854 |
|
| 22855 |
New FLAG method used. flags in the object structure is now an array, |
| 22856 |
and SET_FLAG, CLEAR_FLAG and QUERY_FLAG functions are now used. This reduced |
| 22857 |
a lot of code in common/loader.c |
| 22858 |
|
| 22859 |
Fixed bug in common/object.c in expand_objects function. Looks like |
| 22860 |
braces were missing from for statement, so the the prev and flag fields of |
| 22861 |
the new objects were not being set properly. |
| 22862 |
|
| 22863 |
Fixed bug that could cause core dump if trying to print map message when |
| 22864 |
no message existed. (From Tero Haatanen <[email protected]>) |
| 22865 |
|
| 22866 |
Starting character will have uncursed, undamned and identified items |
| 22867 |
at the start of the game. (From Tero Haatanen <[email protected]>) |
| 22868 |
|
| 22869 |
----------------------------------------------------------------------------- |
| 22870 |
Changes from Crossfire 0.90.0 to 0.90.1: |
| 22871 |
|
| 22872 |
Crossedit 0.7 was merged in with the 0.90.0 source. This once again creates |
| 22873 |
a common distribution. |
| 22874 |
|
| 22875 |
I tried to retain the best features of both programs. This means that |
| 22876 |
the artifact code, and cursed/uncursed items (from CF 0.90.0) remain. |
| 22877 |
But I also used the filepaths for fonts, elimination of omaps for |
| 22878 |
internals use, and creation of partially processed bitmap file for |
| 22879 |
bitmap reading. |
| 22880 |
|
| 22881 |
The general patch method was to keep the cf 0.90.0, and create a diff |
| 22882 |
file for crossedit 0.7 from crossfire 0.89.3. These patches were then |
| 22883 |
applied. Many had to be implemented by hand. |
| 22884 |
|
| 22885 |
There are some exceptions. The crossedit program is almost the exact |
| 22886 |
same thing as in the crossedit 0.7 distribution. I made a few minor changes |
| 22887 |
to clean up compiling, but otherwise, no serious changes were made. |
| 22888 |
|
| 22889 |
The archetypes (lib/arch) structure was also taken from crossedit 0.7, as |
| 22890 |
well as most of the archetypes themselves. I think the breakdown makes |
| 22891 |
things much easier to handle for changes or improvements. NOTE: it is |
| 22892 |
likely that directory (lib/arch) will not be in the standard distribution, |
| 22893 |
but will instead be a separate file (to keep the size down). The various |
| 22894 |
files (archetypes, bmaps, font, etc.) will be created for the distribution. |
| 22895 |
All new archetypes from cf 0.90.0 were merged into the structure, as well |
| 22896 |
as a few minor changes in the old archetypes I noticed. |
| 22897 |
|
| 22898 |
The maps are from the crossfire 0.90.0-a-maps distribution. A few |
| 22899 |
simple programs (in lib/adm) were used convert them to use fontpaths |
| 22900 |
and to change some monster names that conflicted with character classes. |
| 22901 |
Note: Because in the old format, a 'food' field was used to determine the |
| 22902 |
map to link to, it is possible some of these fields were changed when |
| 22903 |
they were not supposed to be. This is because some other archetypes |
| 22904 |
(altars for one) also use the food field. If you notice any converted |
| 22905 |
by mistake, please let me know. |
| 22906 |
|
| 22907 |
A few minor memory leaks and other patches have also been applied. |
| 22908 |
|
| 22909 |
Other specific changes to this version: |
| 22910 |
'set' now gives better help message (like what can be set.) |
| 22911 |
XPM code added. |
| 22912 |
Fixed bug in 'who', which would cause a core dump if done when |
| 22913 |
another playing was still creating their character. |
| 22914 |
'who' also display the map path of the other players, and not |
| 22915 |
the map name. Map names seldom seem to be set. |
| 22916 |
The crossfire.cfb and crossfire.pix files (in lib) can be compressed. |
| 22917 |
Fixed bug that caused core dumps when pet monsters were summoned. |
| 22918 |
If restoring a saved game, and the map it was saved on does not exist, |
| 22919 |
start them on the standard starting level. |
| 22920 |
Added option in config.h, that allows full ring and amulet descriptions |
| 22921 |
to be printed in inventory and look window. |
| 22922 |
Hopefully fixed bug which caused game to dump core when player died, |
| 22923 |
if NOT_PERMADEATH was set on. |
| 22924 |
Add flag HAS_MAGIC, and use that for the detect magic spell. This way, |
| 22925 |
artifacts that have no magic, will still be shown as magical. |
| 22926 |
So will rings that change abilities, etc. Doesn't work |
| 22927 |
quite perfectly, but seems to work as well as the old method. |
| 22928 |
Fixed bug so that if it can not find a map, it just prints that |
| 22929 |
that exit is closed, instead of panicing. |
| 22930 |
Have it re-draw the look window when you middle click on something (ie |
| 22931 |
apply) in that window. This fixes a bug with bags/sacks, of it |
| 22932 |
not updating when an item is used directly from a sack. |