ChangeLog
- 2008-02-01 07:22 mwedel
- [r8338] include/Makefile.am, include/Makefile.in Add metaserver2.h to Makefiles
MSW 2008-01-31
- 2008-02-01 06:14 mwedel
- [r8337] Makefile.in, common/Makefile.in, configure, crossedit/Cnv/Makefile.in, crossedit/Makefile.in, crossedit/bitmaps/Makefile.in, crossedit/doc/Makefile.in, crossedit/include/Makefile.in, devel/Makefile.in, doc/Developers/Makefile.in, doc/Makefile.in, doc/playbook-html/Makefile.in, doc/playbook/Makefile.in, doc/scripts/Makefile.in, doc/spell-docs/Makefile.in, doc/spoiler-html/Makefile.in, doc/spoiler/Makefile.in, include/Makefile.in, lib/Makefile.in, plugins/Makefile.in, plugins/cfanim/Makefile.in, plugins/cfanim/include/Makefile.in, plugins/cfpython/Makefile.in, plugins/cfpython/include/Makefile.in, plugins/common/Makefile.in, plugins/common/include/Makefile.in, random_maps/Makefile.in, server/Makefile.in, socket/Makefile.in, test/Makefile.in, test/include/Makefile.in, test/templates/Makefile.in, test/toolkit/Makefile.in, test/unit/Makefile.in, test/unit/common/Makefile.in, test/unit/crossedit/Makefile.in, test/unit/random_maps/Makefile.in, test/unit/server/Makefile.in, test/unit/socket/Makefile.in, utils/Makefile.in Rebuild makefiles - had problem with MAINTAINER_MODE macros still in
the old makefiles.
MSW 2008-01-31
- 2008-02-01 05:57 mwedel
- [r8336] ChangeLog Remove SVN line from 1.11.0 release.
MSW 2008-01-31
- 2008-02-01 05:55 mwedel
- [r8335] . 1.11.0 branch
- 2008-02-01 05:54 mwedel
- [r8334] Update for 1.11 release, rebuild aclocal and get latest version of helper
programs.
MSW 2008-01-31
- 2008-01-28 07:06 mwedel
- [r8300] Fix for bug 1850524 - SDL clients crash when entering boat. Bogus scroll
values were being sent on mapscroll, but only the SDL client did anything
with the mapscroll variables, so only it saw problems.
---
server/apply.c: Store away player x and y positions so we
can do proper comparisions. Move update of applier values out of
if coordinates are different, since those need to get updated in all
cases.
MSW 2008-01-27
- 2008-01-13 10:45 akirschbaum
- [r8186] Fix typo in filename.
- 2008-01-12 09:27 akirschbaum
- [r8175] Fix buffer overflows in get_ob_diff(), dump_object(), and dump_arch().
- 2008-01-12 08:59 akirschbaum
- [r8174] Remove trailing whitespace.
- 2008-01-12 08:53 akirschbaum
- [r8173] Remove trailing whitespace.
- 2008-01-07 22:48 ryo_saeba
- [r8147] Make the 'player quits the game' in the same style as entered/leave.
- 2008-01-04 09:37 ryo_saeba
- [r8087] Handle invalid file descriptors more gracefully.
- 2008-01-03 10:53 ryo_saeba
- [r8074] Win32 compilation fixes.
- 2008-01-03 10:50 ryo_saeba
- [r8073] Win32 compilation fixes.
- 2007-12-16 22:15 ryo_saeba
- [r7940] Add Object.NoDamage and Object.RandomMovement to Python Crossfire Object (merge from trunk).
- 2007-12-04 08:15 mwedel
- [r7688] Fix typo on sample metaserver2 line.
MSW 2007-12-04
- 2007-12-02 18:13 ryo_saeba
- [r7666] Fix 0 destination coordinates warning for final exit of random maps.
- 2007-12-01 12:21 ryo_saeba
- [r7638] Fix bug #1828785: Possible false positive in the alchemy formula list.
- 2007-12-01 11:52 ryo_saeba
- [r7636] Fix bug #1825685: 'Got no region...' when creating weather.
- 2007-12-01 11:42 ryo_saeba
- [r7634] Fix some nrof issues when many items. Always return real money value.
- 2007-12-01 10:58 ryo_saeba
- [r7629] Fix bug #1827100: Curse dection not working or problem with containers ?
- 2007-12-01 10:23 ryo_saeba
- [r7626] Fux bug #1841391: Item Power and pickup bug.
- 2007-12-01 10:15 ryo_saeba
- [r7624] Fix bug #1833943: Buffer overflow in item power calculation.
- 2007-11-25 15:25 tchize
- [r7574] Backport of probable fix for [ 1835332 ]. At least, now, the experiences for
throwing object is rewarded to a skill.
- 2007-11-24 21:19 akirschbaum
- [r7569] Remove code having no effect.
- 2007-11-24 21:17 akirschbaum
- [r7568] Fix typos.
- 2007-11-20 18:33 tchize
- [r7548] Backport fix for [ 1825589 ] Cheat bug with containers
- 2007-11-09 00:53 rjtanner
- [r7498] Update the treasure list so the different types of Potions show up in shops
- 2007-11-07 06:27 akirschbaum
- [r7491] Display information for weather even if turned off.
- 2007-11-07 06:19 akirschbaum
- [r7490] Remove trailing whitespace.
- 2007-11-03 19:14 akirschbaum
- [r7461] Fix collect script to not insert editor_folder lines into nested inventory objects.
- 2007-11-03 17:09 akirschbaum
- [r7460] Adapt alchemy formulas to changed archetypes.
- 2007-11-03 17:06 akirschbaum
- [r7459] Remove trailing whitespace.
- 2007-11-02 00:51 akirschbaum
- [r7437] Add missing break statement.
- 2007-11-02 00:50 akirschbaum
- [r7436] Whitespace change.
- 2007-11-02 00:49 akirschbaum
- [r7435] Remove trailing whitespace.
- 2007-10-27 08:51 ryo_saeba
- [r7405] Fix for bug #1693250: loader.c isn't correctly generated.
- 2007-10-20 20:54 ryo_saeba
- [r7377] Fix for bug #1815251: Multiple 'the' displayed in party who.
- 2007-10-04 07:00 mwedel
- [r7297] common/map.c: Add misisng call to unlink() empty unique maps. Fixes bug
1799361 - Permadeath corpse reproduction. Bug is more general - any unique
object could be duplicated, so long as it was the only unique object on
the map.
MSW 2007-10-03
- 2007-10-03 06:48 mwedel
- [r7294] Clean up the code a little bit - no function change.
MSW 2007-10-02
- 2007-10-03 06:45 mwedel
- [r7293] server/pets.c: Add missing call to get_map_from_coord() - summoned big
creatures on tiled maps end up having incorrect map/coordinate data set,
resulting in crash. Fixes bug 1800719
MSW 2007-10-02
- 2007-10-02 06:26 mwedel
- [r7291] server/c_object.c: Add call to fix_player() in pick_up_ob() - this causes
player weight & speed to be recalculated - fixes bug 1799411 where this
wasn't happening.
MSW 2007-10-01
- 2007-09-28 18:12 ryo_saeba
- [r7283] Fix wrong #define leading to crash.
- 2007-09-28 06:56 mwedel
- [r7282] common/map.c: Move update_buttons() from ready_map_name() to
load_original_map() - in this way, button state is not reset when
swapping a map back into memory, but button state is still verified
at first load. Fixes bug 1706075.
MSW 2007-09-27
- 2007-09-28 05:55 mwedel
- [r7279] server/gods.c: modify god_enchants_weapon() to increase item_power of weapon
by 1 each time god improves it. This make sense, but also fixes bug
1696807 - if the weapon has item_power 0, when player logs on, game
will calculate new item power, which may be quite surprising to
character. If item_power is set, new item_power won't be calculated.
MSW 2007-09-27
- 2007-09-28 05:18 mwedel
- [r7278] Fix some hiscore changes - some functions were not passing in quiet flag
when they should have been, etc.
--
server/apply.c: Remove some code that sees if player can save - update_score()
does this, so no reason to have it in both places.
server/hiscore.c: Add check not to save 0 scores.
server/login.c: Be quiet for backup saves.
server/server.c: Be quiet for backup saves.
---
MSW 2007-09-27
- 2007-09-27 20:56 rjtanner
- [r7273] ChangeLog update
- 2007-09-27 20:11 ryo_saeba
- [r7272] Face/animation related plugin functions.
- 2007-09-27 17:46 rjtanner
- [r7269] Required updates for the potion of invulnerability to potion of shielding name change
- 2007-09-27 06:56 mwedel
- [r7268] Couple bug fixes related to 1713188 - dropall performance issues.
---
include/config.h: Increase SOCKETBUFSIZE - should help reduce premature
dropped connections.
server/c_object.c: Improve dropall logic - instead of calling fix_player() for
each object dropped, call it just once for the entire stack - should
improve performance considerably. This also fixes sending updated
weight information to the client for each object dropped (player weight
1000, player weight 995, player weight 992, etc), so may help on dropped
connections.
MSW 2007-09-26
- 2007-09-27 06:11 mwedel
- [r7266] common/object.c: Modify can_pick() so you are not allowed to pick up
multipart objects. insert_ob_in_ob() doesn't let it happen, but
this way, at least the player gets a message. Also cleaned up function
so it is easier to read.
MSW 2007-09-26
- 2007-09-27 04:10 rjtanner
- [r7257] ChangeLog updates
- 2007-09-27 04:02 rjtanner
- [r7256] Adding the minor, medium and major Potions of Life to the treasure list so they can be found in shops, dungeons, et al.
- 2007-09-27 03:53 rjtanner
- [r7255] Missed updating the treasures list in r7254 which was to rename potion of invulnerability to potion of shielding. Hopefully this will remove confusion as to why one takes damage from all attack types (except physical) when drinking this potion.
- 2007-09-26 07:23 mwedel
- [r7246] common/loader.l: Add artifact_init check to check_loaded_object() - if set
don't do processing. This has been in the trunk for 9 months, without
any problems observed. Fixes bug 1727944 - horn of plenty shoots bullets -
what happens now is the artifacts are 'fixed' in check_loaded_objects(),
with magic bullet getting added to them.
MSW 2007-09-25
- 2007-09-26 06:02 mwedel
- [r7245] Add support for periodic updating of hiscore information for players - fixes
bug 1735262. Main change was to modify check_score() to take a flag that
determines if messages related to high score placement should be displayed
or not.
--
include/sproto.h: Rebuilt because of change to check_score()
server/apply.c: Change calls to check_score() to take quiet flag.
server/c_wiz.c: Change calls to check_score() to take quiet flag.
server/hiscore.c: Modify check_score to take quiet flag, update function
not to print messages if it is set.
server/login.c: Change calls to check_score() to take quiet flag, remove
some meaningless code at end of emergency_save()
server/player.c: Change calls to check_score() to take quiet flag.
server/server.c: Add calls to check_score() when doing autosaves as well
as when player connection is unexpected terminated.
--
MSW 2007-09-25
- 2007-09-26 06:00 mwedel
- [r7244] Add missing __CEXTRACT__ around include of sproto.h
MSW 2007-09-25
- 2007-09-20 18:31 akirschbaum
- [r7231] Always destroy projectiles having no_drop when they stop being a projectile.
- 2007-09-20 18:21 akirschbaum
- [r7230] Whitespace changes.
- 2007-09-20 18:07 akirschbaum
- [r7228] Whitespace changes.
- 2007-09-20 07:04 mwedel
- [r7227] Fix bug 1763098 - wrong key placement in random maps. The key placement breaks
if there is a normal door next to the locked door, so modify code to remove
normal doors next to locked doors. On broken test map, this change results
in key being placed in right area.
--
random_maps/treasure.c: Update some comments on keyplace(), since the comments
did not go into limitations on what keyplace does. Add
remove_adjacent_doors() to remove the doors, and call to function from
lock_and_hide_doors()
MSW 2007-09-18
- 2007-09-18 06:55 mwedel
- [r7217] Fix bug 1790456 - dropall with count drops more than 'count' of each
object. Note for the 1.x branch, this looks like a bigger change
because of whitespace/formatting differences.
server/c_object.c: in command_dropall(), after each call to drop(),
set op->contr->count back to original value - drop() sets it to 0.
MSW 2007-09-17
- 2007-09-18 06:32 mwedel
- [r7213] Add ability to specify port that crossfire listens to in settings file.
Handy when you want to run 2 servers on same host and don't want to
mess with command line options.
--
lib/settings: Add port variable and comment on its usage.
server/init.c: Add code to handle port value in settings file.
MSW 2007-09-17
- 2007-09-17 07:16 mwedel
- [r7184] Fix chaos attacktypes when used from a weapon - Fixes bug 1795875.
Problem was target of attack was getting attacktype changed, and
attacker was never getting chaos attacktypes.
--
include/attack.h: move ATTACKS array and Chaos_Attacks structure
here. server/attack.c now needs that data, so having it only in
server/spell_util.c no longer works.
server/attack.c: Remove call to shuffle_attack(), instead just update
the local type (attack type) variable.
server/spell_util.c: Remove ATTACKS array - moved to include/attack.h.
MSW 2007-09-16
- 2007-09-17 06:03 mwedel
- [r7174] Fix problems with player updating client with spell handling - should all
work now.
--
server/login.c: Move esvr_add_spells() and fix_object() to after
esvr_new_player() - when client gets new player protocol from server,
it purges all info it has, including spell data.
server/player.c: Remove the line that clears the monitor_spells in the
socket structure. With the clear there, if you play a new character on
the same server (savebed, a to play again), this second character
doesn't get any spells.
socket/request.c: Check to see if pl->spell_state is non null in
esrv_update_spells() - in this way, server doesn't try to update
spells on client before the first add_player_spells() is called.
--
MSW 2007-09-16
- 2007-09-17 05:53 mwedel
- [r7173] Fix returns that are missing return value.
MSW 2007-09-16
- 2007-09-17 05:51 mwedel
- [r7172] Remove unused variable.
MSW 2007-09-16
- 2007-09-17 05:51 mwedel
- [r7171] Minor cleanup - remove some unused variables in some functions.
MSW 2007-09-16
- 2007-09-16 21:35 akirschbaum
- [r7164] Whitespace changes.
- 2007-09-16 21:29 akirschbaum
- [r7163] Always expand randomitems; do not omit it for player summoned monsters or golems.
- 2007-09-16 21:14 akirschbaum
- [r7162] Mark all inventory objects as FLAG_NO_DROP, not only objects having nrof=0.
- 2007-09-16 21:04 akirschbaum
- [r7161] Always mark inventory objects as FLAG_NO_DROP, not only objects created from randomitems attribute.
- 2007-09-16 21:01 akirschbaum
- [r7160] Remove trailing whitespace.
- 2007-09-16 20:59 akirschbaum
- [r7159] Extract common code into function.
- 2007-09-16 20:01 akirschbaum
- [r7158] Remove unneeded parentheses.
- 2007-09-16 19:54 akirschbaum
- [r7157] Remove unneeded check for NULL pointer.
- 2007-09-16 19:52 akirschbaum
- [r7156] Remove trailing whitespace.
- 2007-09-16 18:47 ryo_saeba
- [r7154] Add a message when explore mode is disabled. Add help file for this command.
- 2007-09-09 18:31 ryo_saeba
- [r7134] Add an 'empty' command, that puts all contents of a (or all) container either on ground or in player's opened container.
- 2007-09-01 05:32 mwedel
- [r7091] Server support for Metaserver2 - brought back from trunk:
acinclude.m4: Add LIBCURL_CHECK_CONFIG macro, used by configure.
configure.ac: Add check for pthread, LIBCURL. Extra
logic to display if we will build with metaserver2 support
lib/Makefile.am: add metaserver2 to list of files to install.
*/Makefile.in: rebuilt
lib/metaserver2: Settings file for metaserver2 support.
server/init.c: Add call to metaserver2_init() during startup.
include/metaserver2.h: Header file include metaserver2 related data.
include/autoconf.h.in: Rebuilt
include/sockproto.h: Rebuilt with new metaserver2 functions.
socket/metaserver.c: metaserver2 update logic added.
MSW 2007-08-31
- 2007-08-23 18:38 ryo_saeba
- [r6980] Fix mistake in check logic, preventing from building connected items.
- 2007-08-23 17:59 ryo_saeba
- [r6978] Fix bug #1779574: can destroy outer walls in lone town apartment, level 2.
- 2007-08-22 20:03 akirschbaum
- [r6976] Add help for "fire" and "fire_stop" commands.
- 2007-08-22 19:50 akirschbaum
- [r6975] Document all defined drawextinfo type numbers.
- 2007-08-22 19:47 akirschbaum
- [r6974] Fix typos.
- 2007-08-22 03:50 kbulgrien
- [r6971] - Remove duplicate void esrv_update_item() that breaks make from top of server
on fresh checkout / autogen.sh && make.
- 2007-08-20 22:08 ryo_saeba
- [r6966] Don't display an evil error message when trying to reset a map with a player on.
- 2007-08-18 10:25 ryo_saeba
- [r6956] Fix item update on ground. Factorize code. Add increase_ob_nr() function.
- 2007-08-15 10:21 ryo_saeba
- [r6931] Partial fix for #1772759: Too much alchemy causes client crash.
- 2007-08-15 10:10 ryo_saeba
- [r6930] Try to factor esrv_del_item and esrv_send_item into remove_ob() and insert_ob_in_ob(). Fix calls to esrv_send_item that are really esrv_update_item(). Merge from trunk.
- 2007-08-12 11:14 ryo_saeba
- [r6920] Fix plugin documentation, add some .ps version made from the wiki. This fixes bug #1537236: cfpython 2.0 - documentation missing.
- 2007-08-12 10:34 ryo_saeba
- [r6918] Save maps into a .savefile first, then rename if success. Flush files. This should fix bug #1542893: Full disk destroys player's apartment.
- 2007-08-12 10:28 ryo_saeba
- [r6917] Don't delete (partial) map from memory in case of save error, warn DMs.
- 2007-08-12 10:06 ryo_saeba
- [r6916] Add new NDI_ALL_DMS to send a message to all connected DMs. Used in case of errors.
- 2007-07-25 22:13 ryo_saeba
- [r6821] Sanity checks on parameters for usual crashing culprit.
- 2007-07-17 05:48 mwedel
- [r6787] Add support for using png files for html handbook and spoiler - png support
is common enough in browsers now days that don't need to convert to gif.
Reduces tool requirements to build documents (as it is a simple copy
for the png, vs actual conversion), and speeds up building the files
dramatically.
--
doc/scripts/makeps.pl: Add png output handling. What this amounts to is
doing a hard link to the original png file.
doc/playbook-html/Makefile.am, doc/spoiler-html/Makefile.am: Use png
output for images now, not gif.
MSW 2007-07-16
- 2007-07-16 22:22 ryo_saeba
- [r6785] Fix potential crash.
- 2007-07-12 06:55 mwedel
- [r6772] lib/Makefile.in: Rebuilt
server/skills.c: Fix crash - using incorrect map pointer in call
to get_map_ob
common/object.c: Add some debugging to maybe help track down a crash
on metalforge.
MSW 2007-07-11
- 2007-07-11 20:35 ryo_saeba
- [r6770] Tentative fix for bug #1746208: Critical crash with 'printlos'.
- 2007-07-09 06:45 mwedel
- [r6762] Update face information below player if it changes. Add P_PLAYER mapflag
field, as well as pointer to player on space making it easy to find
players on a space. Fix for bug 1735459. Change merged from trunk.
---
test/unit/common/stubs_common.c, crossedit/stubs.c, random_maps/standalone.c:
Add esrv_update_item() stub
common/map.c: Modify update_position() to look for player and
update MapSpace accordingly.
common/object.c: update_object(): If player is object, update map
attributes immediately. Add handling for face or object changes.
include/map.h: Add SET/GET_MAP_PLAYER, player * to MapSpace, P_PLAYER
flag
---
MSW 2007-07-08
- 2007-07-05 23:43 qal21
- [r6758] Revert accidental commit
- 2007-07-05 22:06 qal21
- [r6756]
- 2007-07-05 19:00 qal21
- [r6748] Fix merge conflict blurb that got commited
- 2007-07-04 21:12 ryo_saeba
- [r6743] Hopefully fix invalid player count on map.
- 2007-07-02 21:38 ryo_saeba
- [r6738] Remove stacking logic for blockview items, obsolete with map_layer.
- 2007-07-02 20:01 akirschbaum
- [r6736] Add help for skills command.
- 2007-06-27 20:47 akirschbaum
- [r6719] Change behavior of shop mats: do not fail if the destination shop mat is blocked.
- 2007-06-27 17:38 akirschbaum
- [r6715] Fix typo.
- 2007-06-27 17:32 akirschbaum
- [r6714] Remove trailing whitespace.
- 2007-06-22 19:52 ryo_saeba
- [r6705] Don't say '(pk)' if duel, makes it easier to check for real pk.
- 2007-06-22 17:10 ryo_saeba
- [r6701] Fix mistake in party removal.
- 2007-06-20 20:07 ryo_saeba
- [r6683] Make detectors able to find players (slaying set to 'player').
- 2007-06-18 22:37 ryo_saeba
- [r6679] Add PLUGIN_DEBUG to log plugin activity, off by default.
- 2007-06-18 17:10 ryo_saeba
- [r6671] Fix inscribed scroll not working with MOVING_BALL.
- 2007-06-18 04:30 mwedel
- [r6668] server/login.c: Fix crash at login if player is set to rejoin party, and that
party does not exist - shouldn't try to use partyname from null structure.
MSW 2007-06-17
- 2007-06-16 09:54 ryo_saeba
- [r6621] Fix bug #1735464: Reset command does not accept relative names.
- 2007-06-11 21:26 ryo_saeba
- [r6518] Partial fix for #1735275: Server sends incorrect spell info data.
- 2007-06-11 21:23 ryo_saeba
- [r6516] Tentative fix for #1735272: Server sends invalid item tags
- 2007-06-09 21:31 ryo_saeba
- [r6481] Fix bug #1729829: Server using access to check for file existance.
- 2007-06-09 20:59 ryo_saeba
- [r6479] Fix bug #1730874: +dam on bracers not working.
- 2007-06-04 20:19 ryo_saeba
- [r6419] Don't try to decay a non head object, this leads to abort() from remove_ob().
- 2007-06-04 19:18 ryo_saeba
- [r6417] Add Crossfire.Object.Skill property.
- 2007-06-04 18:04 ryo_saeba
- [r6412] Don't ignore exp gained in a skill you don't know yet.
- 2007-06-03 10:37 ryo_saeba
- [r6397] Apply patch #1638868: Ident skills cover larger area with exp courtesy Aaron Baugher.
- 2007-06-01 22:36 ryo_saeba
- [r6372] Fix uninitialized memory / invalid memory access.
- 2007-06-01 21:16 ryo_saeba
- [r6371] Fix bug #1729192: Writing any spellscroll requires positive grace.
- 2007-05-30 20:07 ryo_saeba
- [r6369] Implement feature request #1724356: logging improvements.
- 2007-05-30 17:53 ryo_saeba
- [r6367] Fix bug #1726632: After useing a # of times on the forge..
- 2007-05-28 18:33 ryo_saeba
- [r6362] Fix bug #1726561: formulae for potion_heal needs supreme potion of life.
- 2007-05-26 17:06 ryo_saeba
- [r6345] Food/drink can't be eaten if no_pick is set.
- 2007-05-24 21:17 ryo_saeba
- [r6336] Implement feature request #1653768: Pants/legs
- 2007-05-24 18:56 ryo_saeba
- [r6334] Allow plugins to override the usual move process.
- 2007-05-21 21:18 ryo_saeba
- [r6328] Add party rejoin at login. New command 'party_rejoin' to control the behaviour.
- 2007-05-20 15:21 ryo_saeba
- [r6316] Fix bug #1713140: sustenance overflow.
- 2007-05-20 07:10 mwedel
- [r6313] Re-do last commit a bit (Add check to make sure symptom was not destroyed
when victim dies - otherwise we get double remove/free) - still want to
exit the function if the victim is dead, just don't want to do the
remove/free_ob
MSW 2007-05-19
- 2007-05-20 07:00 mwedel
- [r6311] server/disease.c: Add check to make sure symptom was not destroyed
when victim dies - otherwise we get double remove/free.
MSW 2007-05-19
- 2007-05-10 22:33 ryo_saeba
- [r6233] Fix wrong 'skills' display when no god is whoreshipped.
- 2007-05-09 21:13 ryo_saeba
- [r6229] Fix bug #1713112: rabies infects audience of the arena.
- 2007-05-09 20:49 ryo_saeba
- [r6225] Fix multipart object creation.
- 2007-05-08 16:32 ryo_saeba
- [r6223] Fix wrong parameter order.
- 2007-05-08 16:15 ryo_saeba
- [r6221] Add 'Crossfire.Object.Race' attribute.
- 2007-05-07 20:17 ryo_saeba
- [r6204] Fix plugin unloading which didn't call the closePlugin function. Document
- 2007-05-06 20:50 akirschbaum
- [r6198] doc/Developers/objects: Mark 'flying' attribute as obsolete.
- 2007-05-05 21:10 ryo_saeba
- [r6193] Apply patch #1713563: Reopen log file on SIGHUP, courtesy Kari Pahula.
- 2007-05-05 21:04 ryo_saeba
- [r6191] Apply patch #1713564, Open log file only once with -detach, courtesy Kari Pahula.
- 2007-05-05 17:42 ryo_saeba
- [r6189] Implement feature request #1657735: Server setting for handling 'incorrect' converters.
- 2007-05-05 16:56 ryo_saeba
- [r6183] Fix some type issues in plugin. Wrap change_abil(). Add set_resist(). Add duration property.
- 2007-05-04 22:47 ryo_saeba
- [r6179] Initialize map's reset time, so town portal works correctly there too.
- 2007-05-01 09:37 ryo_saeba
- [r6170] Add blue and green dragon scales.
- 2007-04-30 14:08 ryo_saeba
- [r6162] Ensure you can't harvest items already harvested, or skills and such.
- 2007-04-30 08:44 ryo_saeba
- [r6160] Fix bug #1709618: Text message is too long/truncated.
- 2007-04-29 22:05 ryo_saeba
- [r6157] Typos.
- 2007-04-29 22:00 ryo_saeba
- [r6156] Merge random map changes from trunk.
- 2007-04-29 21:35 ryo_saeba
- [r6151] Trap's message can be NULL (random maps for instance).
- 2007-04-29 16:12 ryo_saeba
- [r6147] Add Crossfire.Object.Move, tweak cf_object|player_move(), add missing getter.
- 2007-04-29 13:27 ryo_saeba
- [r6145] Give read-only access to map->unique to plugins. Add Crossfire.Map.Unique property.
- 2007-04-28 20:16 akirschbaum
- [r6138] Fix type mismatch in varargs function parameters in plugin code.
- 2007-04-28 19:32 ryo_saeba
- [r6137] Fix bug #1706986: Rabies can infect a DM
- 2007-04-28 19:24 ryo_saeba
- [r6132] Fix unitialized variable.
- 2007-04-28 19:03 ryo_saeba
- [r6130] Fix wrong property set (value is int).
- 2007-04-26 05:45 mwedel
- [r6126] server/player.c: No need to copy faces_sent - just use the data already
there, and set ns->faces_sent to NULL so we know there is no data there.
socket/init.c: Allocate ns->faces_sent if not there.
MSW 2007-04-25
- 2007-04-25 20:03 akirschbaum
- [r6125] Stop processing if a disease dies the victim. This prevents access to freed objects.
- 2007-04-25 18:17 akirschbaum
- [r6124] Do not pass NULL value to add_string().
- 2007-04-25 18:15 akirschbaum
- [r6123] Remove trailing whitespace.
- 2007-04-25 07:08 akirschbaum
- [r6119] Fix possible buffer overflow when creating disease symptom names.
- 2007-04-25 06:50 akirschbaum
- [r6118] Remove trailing whitespace.
- 2007-04-25 05:45 mwedel
- [r6117] socket/init.c: Change free calls with FREE_AND_CLEAR - were getting double
frees - since pointer wasn't reset, was no way for program to know not
to have the data cleared again.
MSW 2007-04-24
- 2007-04-24 21:46 akirschbaum
- [r6116] Remove unused variables.
- 2007-04-24 21:05 akirschbaum
- [r6114] Fix possible access to freed object.
- 2007-04-24 21:02 akirschbaum
- [r6113] Fix array out-of-bounds access for clients using 25x25 map size.
- 2007-04-24 20:52 akirschbaum
- [r6112] Remove trailing whitespace.
- 2007-04-23 22:15 ryo_saeba
- [r6111] Clean old code related to single player directory.
- 2007-04-23 20:37 ryo_saeba
- [r6108] Implement feature request #1560389: improve inscription logic.
- 2007-04-22 13:49 ryo_saeba
- [r6098] Add background music support to maps, change 'socket.sound' field signification.
- 2007-04-22 13:47 ryo_saeba
- [r6096] Remove obsolete spellbook handling.
- 2007-04-22 08:51 ryo_saeba
- [r6094] Second and last part of feature request #1543553: Inventories in artifacts/archetypes.
- 2007-04-22 06:49 mwedel
- [r6089] server/server.c: Add some debug to see if objects are on swapped out
maps in process_objects()
socket/loop.c: Hopeful fix for old bug - can be rare cases where
next player gets freed, so code tries to process garbage player
and crashes.
MSW 2007-04-21
- 2007-04-21 22:41 ryo_saeba
- [r6086] Fix bug #1673804: Items of Occidental Mages use obsolete event_xxx fields.
- 2007-04-21 22:39 ryo_saeba
- [r6084] Partially implement feature request #1543553: Inventories in artifacts/archetypes.
- 2007-04-21 11:50 ryo_saeba
- [r6082] Implement EVENT_TELL.
- 2007-04-20 17:41 ryo_saeba
- [r6073] Potions of life now won't affect player if their level is too low.
- 2007-04-18 20:43 ryo_saeba
- [r6062] Enable plugins to prevent attacks. Fix wrong return type.
- 2007-04-17 20:47 ryo_saeba
- [r6056] Merge changes from trunk.
- 2007-04-15 21:45 ryo_saeba
- [r6039] Don't crash if no regions file found.
- 2007-04-15 20:14 ryo_saeba
- [r6037] Fix crash with map reset (parameter is map, not path).
- 2007-04-15 19:23 ryo_saeba
- [r6035] Merge all plugin changes from trunk.
- 2007-04-14 19:01 ryo_saeba
- [r6021] Correctly clear god information.
- 2007-04-14 18:58 ryo_saeba
- [r6019] Remove unused godlink::pantheon field.
- 2007-04-14 18:45 ryo_saeba
- [r6016] Remove unused (and obsolete) current_weapon_script field. Remove now unused find_best_weapon_used_match().
- 2007-04-12 20:58 ryo_saeba
- [r6008] Make monsters use the same 'say' format than players.
- 2007-04-12 19:19 ryo_saeba
- [r6003] Object.Enemy and Object.Count
- 2007-04-12 17:54 ryo_saeba
- [r6002] Add -conf documentation to help.
- 2007-04-11 21:33 akirschbaum
- [r5998] Do not crash for SKILL objects having incorrect subtype.
- 2007-04-11 21:28 akirschbaum
- [r5997] Remove trailing whitespace.
- 2007-04-11 21:23 akirschbaum
- [r5995] Remove trailing whitespace.
- 2007-04-10 22:51 qal21
- [r5994] Correct incorrect ChangeLog merge.
- 2007-04-10 18:11 ryo_saeba
- [r5993] Fix bug #1696810: skill items autoapply.
- 2007-04-08 12:57 ryo_saeba
- [r5979] New skill: 'harvesting', get something from some place - example: fishing. Merge from trunk.
- 2007-04-08 08:42 ryo_saeba
- [r5970] Abort() if first map doesn't exist.
- 2007-04-07 13:38 ryo_saeba
- [r5960] Fix bug #1695764: Charm monsters - shared experience broken.
- 2007-03-31 21:25 akirschbaum
- [r5913] Add a help file for the 'maps command (merge to branch).
- 2007-03-31 19:42 ryo_saeba
- [r5910] Fix bug #1672117: elves etc don't fire over move_allow flying tiles.
- 2007-03-26 07:24 mwedel
- [r5900] Change sstring to char*, since the 1.x branch doesn't have sstring.
Without this, program won't compile.
MSW 2007-03-25
- 2007-03-26 07:11 mwedel
- [r5898] Bring forward fix from 1.10.0:
Fix 'make distclean':
acinclude.m4: Use -I./${srcdir} for crossedit check - otherwise, when
building in alternate directory, doesn't fine files correctly.
configure.*: Add new makefiles.
check-fragment.am, test/unit/crossedit/Makefile.am,
test/unit/common/Makefile.am,test/toolkit/Makefile.am: Add support for buildin
g in alternate directory, which
make distclean does - using relative directories to find files
does not work. Some files should also be in the buildir, not srcdir.
Have Makefiels remove .autrun.xml with distclean
Makefile.am: Remove to config files on make distclean
test/include/Makefile.*, test/templates/Makefile.*: Add missing Makefiles
test/unit/random_maps/Makefile.am,test/unit/socket/Makefile.am,
test/unit/Makefile.am: remove .autorun.xml file as part of distclean
test/unit/server/Makefile.am: Remove LDFLAGS from Makefile.am - automake
says don't mess with those - use AM_LDFLAGS instead. Remove
.autrun.xml file with distclean
test/Makefile.am: Add include, templates to subdir list. Have
make clean remove log files, .autorun.xml file.
crossedit/Makefile.am: Fix indentation of stubs.c (use tab, not spaces)
other files: Rebuilt as part of running autogen.sh
MSW 2007-03-25
- 2007-03-25 22:24 ryo_saeba
- [r5896] Implement feature request #1560387: DM follow command.
- 2007-03-25 20:41 ryo_saeba
- [r5894] Fix broken banish command.
- 2007-03-25 11:47 ryo_saeba
- [r5877] Win32 installer update.
- 2007-03-24 15:08 ryo_saeba
- [r5866] Win32 compilation fixes.
- 2007-03-24 12:25 ryo_saeba
- [r5860] Fix missing treasure generation for create command in some cases.
- 2007-03-19 06:45 mwedel
- [r5824] Update for 1.10.0 release.
MSW 2007-03-18
- 2007-03-18 00:06 ryo_saeba
- [r5818] Implement feature request #1528522: Initial items should be applied/worn.
- 2007-03-18 00:06 ryo_saeba
- [r5817] Keep the AP_NOPRINT flag for subcalls.
- 2007-03-17 23:38 ryo_saeba
- [r5813] Update DM's view when using nodm.
- 2007-03-17 23:28 ryo_saeba
- [r5811] Update player's view when turning on/off a lamp.
- 2007-03-17 22:45 ryo_saeba
- [r5806] Implement feature request #1680229: dmhide - glowing things.
- 2007-03-17 22:22 ryo_saeba
- [r5803] Implement feature request #1669464: Need new command - dmtell.
- 2007-03-17 22:21 ryo_saeba
- [r5802] 'Listen' should be positive.
- 2007-03-17 22:21 ryo_saeba
- [r5801] Enable 'teleport' to use a partial name.
- 2007-03-17 21:29 ryo_saeba
- [r5796] Fix bug #1668283: Crossfire.CreateObjectByName is faulty.
- 2007-03-17 21:13 ryo_saeba
- [r5794] Fix bugs #1671102 and #1657675
- 2007-03-06 23:03 ryo_saeba
- [r5707] Fix bug #1673713: event_attack in (sword etc) weapon doesn't work.
- 2007-03-06 19:41 ryo_saeba
- [r5704] Implement feature request #1560416: give warning when spell is about to expire (merge from trunk).
- 2007-03-06 18:28 ryo_saeba
- [r5699] Implement feature request #1675158: dmhide - detect monster will reveal DM.
- 2007-03-04 13:07 ryo_saeba
- [r5675] Friendly-list functions and owner property, merged from trunk.
- 2007-03-04 11:55 ryo_saeba
- [r5672] Implement request feature #1669443: dmhide - players can still send 'tell.
- 2007-03-04 10:47 ryo_saeba
- [r5669] Call EVENT_PICKUP which was forgotten somewhere along the way.
- 2007-03-04 10:28 ryo_saeba
- [r5667] Fix bug #1670465: server doesn't have check to see if it is removing removed
- 2007-02-27 23:33 ryo_saeba
- [r5626] Speed and SpeedLeft fixes, merged from trunk.
- 2007-02-24 10:50 ryo_saeba
- [r5605] fix crash when Python and server are compiled with different versions of MS's DLLs.
- 2007-02-18 21:13 ryo_saeba
- [r5567] Fix uninitialized variables (merge from trunk).
- 2007-02-18 18:34 ryo_saeba
- [r5564] Fix mishandling of weapon/shield/armour restriction. Fix crash with NULL value. (merge from trunk)
- 2007-02-16 00:06 ryo_saeba
- [r5555] New server settings: allow_denied_spells_writing, for inscription.
- 2007-02-15 20:40 ryo_saeba
- [r5550] Handle no money case when player tries to exit shop.
- 2007-02-15 19:45 ryo_saeba
- [r5545] Fix a crash with object handling by plugins.
- 2007-02-15 19:44 ryo_saeba
- [r5544] Make armour handling coherent between gods, monsters and such. Cloaks and bracers are not armour. (merge from trunk)
- 2007-02-15 07:36 mwedel
- [r5542] Delete server/branches/1.x/trunk - this isn't deleting the 1.x branch, but rather a copy of the server
inside of the server area - no reason for it to be there, it (rightfully) isn't getting updated.
MSW 2007-02-14
- 2007-02-12 22:26 ryo_saeba
- [r5523] Invalidate player's view if teleporting. Call update_ob_speed when changing speed (merged from trunk).
- 2007-02-12 04:46 kbulgrien
- [r5518] lib/smooth updated in conjunction with arch update (revision 5421).
- 2007-02-09 06:39 mwedel
- [r5413] Add missing return at end of function.
MSW 2007-02-09
- 2007-02-09 06:38 mwedel
- [r5412] Fix a few compiler warnings. Most were just unused variables, but
some in server/c_object.c had returns without values.
Files: server/c_object.c server/monster.c server/player.c server/weather.c
MSW 2007-02-0
- 2007-02-06 19:15 ryo_saeba
- [r5389] Implement feature request #1652066: Python: get user's savebed location and x,y coords.
- 2007-02-04 00:49 qal21
- [r5362] Fix missing braces
- 2007-01-26 21:40 akirschbaum
- [r5351] lib/formulae: Fix formula for "low boots of steel".
- 2007-01-26 21:38 akirschbaum
- [r5350] Remove trailing whitespace.
- 2007-01-24 16:42 qal21
- [r5342] Fix typo
- 2007-01-11 05:53 qal21
- [r5305] Clean up follower_remove_given_items()
- 2007-01-04 08:53 qal21
- [r5296] Apply patch #1627442 by Aaron Baugher, to fix bug #1551735. Works by using a key_value of divine_giver_name to objects that are given by a god.
- 2007-01-03 21:03 ryo_saeba
- [r5295] Fix error logic crashing with empty spellbooks.
- 2007-01-02 22:59 ryo_saeba
- [r5290] Check len of client-sent commands.
- 2007-01-02 22:40 ryo_saeba
- [r5288] Implement feature request #1443844: Lock in 1.9.0 is ethernal.
- 2007-01-01 04:50 qal21
- [r5269] Merge rev 5268 from trunk: Fix bug #1543130 and make handling of can_use_armour and can_use_shield consistant.
- 2006-12-30 14:47 gros
- [r5258] Implemented proposal #1497089: fix for some random items.
Changed the title of several treasures from Gaea to Vitality, and from
Ruggilli to Blazing Fires, to match better the personality of those gods.
Yann Chachkoff 2006-12-30
- 2006-12-30 13:32 gros
- [r5252] Fix for bug #1539120: talisman of Evocation grants wrong skill.
Changed the name of the "Talisman of Evocation" artifact to "Talisman of Creation",
so there is no confusion with the skill name.
- gros 2006-12-30
- 2006-12-30 12:35 gros
- [r5248] Last part of the fix for bug #1612838
Changed the formula used to compute the item_power of a generated artifact treasure.
- gros 2006-12-30
- 2006-12-30 12:00 gros
- [r5246] Partial fix for bug #1612838: Problem with item_power code
Now armours get +3*magic increase to their item_power field.
Corrected stupid mistakes made when fixing bug #1528525
- gros 2006-12-30
- 2006-12-30 10:27 gros
- [r5241] Fix for bug #1573294: Flesh displays speed +x and gives lot identification exp.
Patch initially submitted by Aaron Baugher
- gros 2006-12-30
- 2006-12-30 10:10 gros
- [r5240] Fix for bug #1528525: Sometimes "bad" initial items are created.
Changed the behavior of create_one_treasure, that will now not generate a
treasure whose base object is cursed or damned when the GT_ONLY_GOOD flag is set.
- gros 2006-12-30
- 2006-12-29 17:38 gros
- [r5232] Fix for bug #1622609: Specific flags no longer displayed with 'who command
Replaced [] by <> in the who output command, as [] are reserved for the various
formatting tags.
- gros 2006-12-29
- 2006-12-27 18:00 ryo_saeba
- [r5217] Fix for bug #1622575: Range attack switches to punching on contact
- 2006-12-27 00:34 mwedel
- [r5213] Fix some crashes observed on metalforge:
common/treasure.c: When generating flesh items from custom monsters,
update other_arch of the flesh item to point back to the original
base archetype, not the custom archetype.
random_maps/treasure.c: Create the key object before we reference it
in find_first_free_spot()
MSW 2006-12-26
- 2006-12-26 21:14 ryo_saeba
- [r5211] Make method/property coherent for Python objects (forgot some)
- 2006-12-26 21:11 ryo_saeba
- [r5209] Make method/property coherent for Python objects.
- 2006-12-26 19:22 ryo_saeba
- [r5206] Fix for bug #1527978: summon fog spell is somewhat broken.
- 2006-12-26 18:00 ryo_saeba
- [r5204] Implement feature request #1617446 :add glow radius to perceive self
- 2006-12-26 17:32 ryo_saeba
- [r5202] More fixes, add LastEat.
- 2006-12-26 17:17 ryo_saeba
- [r5200] Fix plugin stuff not working nicely. Add Crossfire.Object.Subtype property
- 2006-12-26 14:19 gros
- [r5197]
Fixed bug #1551404 ("Player attacks wrong object").
- gros 2006-12-26
- 2006-12-26 13:45 gros
- [r5196] Fixed bug #1530000 ("Failed inscription skill reduces bargaining experience").
- gros 2006-12-26
- 2006-12-24 13:39 akirschbaum
- [r5193] lib/{Makefile.in,adm/map_info,collect.pl.in,Makefile.am}: ignore .svn rather than CVS.
- 2006-12-22 07:36 mwedel
- [r5189] common/loader.l: Fix some problems related to curse spell monster
handling. Specifically, coordinates of custom monsters was not
being saved (always set to 0,0), which caused crashes for multipart
monsters upon load. Also, speed was being set to 0, resulting in
customized monsters not having any speed.
MSW 2006-12-21
- 2006-12-13 23:45 ryo_saeba
- [r5177] Fix method not checking correct format - never assume client plays nice :)
- 2006-12-09 18:12 ryo_saeba
- [r5159] Tentative fix for bug #1551398: Curse spell breaks customized monsters
- 2006-12-03 15:48 ryo_saeba
- [r5155] Tentative fix bugs #1605033 and #1522796 related to locked doors with no key.
- 2006-12-03 15:21 ryo_saeba
- [r5153] Fix indentation before bugfix.
- 2006-12-03 11:46 ryo_saeba
- [r5151] Fix for bug #1556723: Broken Show invisible - scrolls, wands, staves and rods
- 2006-12-02 19:17 ryo_saeba
- [r5149] Fix for bug #1569017: Healing gives grace cost to target.
- 2006-11-29 22:48 ryo_saeba
- [r5143] Merge patch #1558073: newpickup flesh courtesy bencha
- 2006-11-26 20:11 ryo_saeba
- [r5141] Implement feature request #1555887: Thief player - should have bargaining as default skill
- 2006-11-26 18:23 ryo_saeba
- [r5138] Fix bug #1539207: Max speed attribute does not work
- 2006-11-20 07:45 mwedel
- [r5131] include/newclient.h: Grab/merge copy from 2.x head - some code brought
back from the 2.x head in the build_map.c file is using the MSG_TYPE
declarations.
MSW 2006-11-19
- 2006-11-20 07:43 mwedel
- [r5130] Fix typo - was extra " causing compile errors.
MSW 2006-11-19
- 2006-11-19 22:15 akirschbaum
- [r5129] Fix bug #1599307:
server/shop.c: In pay_from_container() handle non-standard MONEY objects when
buying items.
- 2006-11-19 20:15 akirschbaum
- [r5127] Fix LOG() messages: add trailing "\n"; use "%s" format for variable strings.
- 2006-11-19 07:46 mwedel
- [r5125] server/rune.c: If skill is NULL in dispel_rune(), just return as server
will otherwise crash in trap_disarm()
server/spell_util.c: Fix bug in that runes that hold other spells (glyphs,
firetraps, magic runes, etc) do not find a skill object, and thus
player doesn't get exp. Instead, for runes, try to find owner, and
then the relevant skill object.
MSW 2006-11-18
- 2006-11-18 18:11 ryo_saeba
- [r5121] Fix bug #598649: Building apartments use multiple materials per tile.
- 2006-11-16 23:26 ryo_saeba
- [r5119] Tentative fix for bug #1519089: item cannot afford in container can be taken from store.
- 2006-11-15 02:29 qal21
- [r5117] Merge rev 5116 from trunk: Clean up anti-double-include mechanisms.
- 2006-11-15 01:32 qal21
- [r5115] Merge rev 5114 from trunk: Remove unused arch.h
- 2006-11-14 03:53 qal21
- [r5112] Fix weird characters inserted in ChangeLog
- 2006-11-13 22:39 ryo_saeba
- [r5108] Fix bug ♯1573296: arena : spells with target doesn't works
- 2006-11-13 21:50 ryo_saeba
- [r5106] Fix bug #1594696: Altar created with creator - consecration
- 2006-11-05 11:15 akirschbaum
- [r5084] Fix typo.
- 2006-11-04 07:37 mwedel
- [r5074] doc/Developers/protocol: Add documentation about exp_table requestinfo
addition
socket/loop.c: Add call to send_exp_table() in request_info_cmd()
socket/request.c: Add send_exp_table() to use a replyinfo exp_table to
send data to client.
MSW 2006-11-03
- 2006-11-03 05:47 mwedel
- [r5071] socket/loop.c: Fix replyinfo, in that it was using incorrect length parameter
when replying to unsupported requests.
MSW 2006-11-02
- 2006-10-29 21:28 ryo_saeba
- [r5061] Fix bug #1547517: DM issue with containers
- 2006-10-28 19:29 ryo_saeba
- [r5052] Implement request feature #1551406: Add player's name to disease symptoms, fix indent
- 2006-10-28 04:00 qal21
- [r5051] Remove redundent checks in values passed to Crossfire_Foobar_wrap() functions.
- 2006-10-22 11:51 ryo_saeba
- [r5043] Fix for bug #1573381 (death attacks does works on skull)
- 2006-10-22 11:13 ryo_saeba
- [r5041] Fix for bug #1553636 (Crashbug: reset/swaped map after use of overlay_save). Rename function for coherence
- 2006-10-19 05:40 mwedel
- [r5032] common/loader.l: Make it so that long msg/endmsg won't overflow temp buffer
by using safe_strcat. Will result in long messages being truncated, but
better than crashes.
server/pets.c: Check for existance of object existance after call to
follow_owner() in remove_all_pets(). Can be cases where put is killed
when moving to new map.
MSW 2006-10-18
- 2006-10-13 07:24 mwedel
- [r5027] server/apply.c: If the captain of a transport exits the transport, make the
next player on the transport the captain.
server/server.c: Like change to apply.c to make player another player captain
if one leaves the game. But in addition, in all cases, we need to clean
up the transport->contr pointer, which will otherwise cause crashes.
MSW 2006-10-12
- 2006-10-13 05:43 mwedel
- [r5025] common/readable.c: Rewrite god_info_msg() - a buffer overflow crash was seen
on metalforge, and the old code had lots of dangerous string operations
(non safe strcats, sprintf with overlapping buffers). No code is
functionally equivalant, just uses safe string funtions.
MSW 2006-10-12
- 2006-10-09 00:25 kbulgrien
- [r5018] - Oops. Fix typo in commit 5017.
- 2006-10-09 00:16 kbulgrien
- [r5017] - Spelling adjustments
- doc/Developers/objects updated to better describe @match use in objects. Many
objects contain useless case handling keys like @match Hello|hello because
mapmakers do not know how @match works. Also add mention of the limited
regular expression support that applies to match keys.
- 2006-10-09 00:15 kbulgrien
- [r5016] - Spelling adjustments
- 2006-10-08 17:38 akirschbaum
- [r5015] Make converters inside shops work again.
- 2006-10-06 07:48 mwedel
- [r4996] Fix bug where in players could unequip cursed weapons by switching to a hand
to hand skill (punching, karate, etc).
--
include/define.h: Add AP_NOPRINT flag.
server/apply.c: Modify the apply_special() code to take AP_NOPRINT option,
which as implies, causes messages not to be printed. Used in change
to skill_util.c, since the code thre prints better message about uequipping
of weapon.
server/skill_util.c: Do some cleanup of unused vars in do_skill(). Modify
attack_hth() to call apply_special() to unequip weapon (that takes care
of checking cursed status, etc).
--
MSW 2006-10-05
- 2006-10-05 04:53 qal21
- [r4993] Fix double commit of a fix.
- 2006-10-05 04:46 qal21
- [r4992] Fix mistake in revision 4979, causing get_rangevector to be called with an uninitialized env.
- 2006-10-05 03:14 kbulgrien
- [r4991] - Move env pointer assignment to fix error in Revision 4979 modification of spring_trap()
See also Sourceforge bug # 1571081.
- 2006-10-03 03:42 qal21
- [r4990] Fix incorrect use of FMT64 in commant_statistics().
- 2006-10-03 03:40 qal21
- [r4989] Change references in the ChangeLog files from CVS to SVN.
- 2006-10-02 20:34 akirschbaum
- [r4987] server/monster.c: Revert message formatting of NPC responses back to the
two-line format. Fix a possible buffer overflow when players talk to
certain NPCs.
- 2006-10-02 05:54 mwedel
- [r4986] Add cast to type int for time_t, prevent compiler warning.
MSW 2006-10-01
- 2006-09-26 06:04 qal21
- [r4979] Merge rev 4978 from trunk: Cleanup spring_trap() and clean some questionable logic. Cause spell traps to be triggered when containers with traps are destroyed by a spell effect.
- 2006-09-21 05:14 mwedel
- [r4961] Add svn propset ID to these files.
MSW 2006-09-20
- 2006-09-21 04:54 mwedel
- [r4957] creating branch for stable 1.x release
- 2006-09-19 22:27 qal21
- [r4949] Merge revision 4948 from trunk to 1.x: Fix incorrect example for 'move_block' syntax.
- 2006-09-19 07:35 mwedel
- [r4947] creating branch for stable 1.x release
- 2006-09-19 07:33 mwedel
- [r4945] rename crossfire to server.
- 2006-09-19 07:18 mwedel
- [r4941] move some files about.
- 2006-09-18 06:12 mwedel
- [r4940] Add support (or at least documentation) for underlining.
MSW 2006-09-17
- 2006-09-18 04:34 mwedel
- [r4938] Move entries from this file to the sourceforge tracker and wiki
TODO - both provide better tracking than this file.
MSW 2006-09-17
- 2006-09-17 05:34 qal21
- [r4934] Change cfapi_object_say() to use either command_say() or npc_say() depending on if the object is a player. Fixes bug #1534889.
- 2006-09-16 20:12 qal21
- [r4933] Commit changes forgotten in previous commit of alchemy changes.
- 2006-09-16 20:01 qal21
- [r4932] Implement proposed alchemy changes from the mailing list. Make value of nuggets given range from 5% to 40%. Depends on archetype changes to the alchemy spell and nuggets.
- 2006-09-16 06:18 qal21
- [r4930] Make shadow alchemy and random alchemy failures ignore the 'cauldron' type being used. Fixes bug #1551385.
- 2006-09-13 02:25 qal21
- [r4927] Fix small errors in my previous commit of an update to lib/README.
- 2006-09-13 02:20 qal21
- [r4926] Large update to the ancient readme file describing the files in lib.
- 2006-09-12 16:58 akirschbaum
- [r4925] Fix typo.
- 2006-09-11 05:10 qal21
- [r4924] Add MAX_SPELLITEM_LEVEL set to 110 and set MAXLEVEL to 115.
- 2006-09-10 22:51 qal21
- [r4922] Document create_home_portals setting in doc/settings.
- 2006-09-10 14:55 qal21
- [r4921] Comment cleanup. No code changes.
- 2006-09-10 14:21 qal21
- [r4920] Forgot ChangeLog for: Add check to auto-dropping of applied transports to not drop in shops.
- 2006-09-10 14:21 qal21
- [r4919] Add check to auto-dropping of applied transports to not drop in shops.
- 2006-09-10 06:44 qal21
- [r4917] Make fix_flesh_item only run when the donor is a monster. Fixes bug #1555569.
- 2006-09-10 00:24 qal21
- [r4916] Previous commit to use is_in_shop() caused the shopkeeper to wave when entering instead of exiting. Fixing that.
- 2006-09-10 00:04 qal21
- [r4915] Use is_in_shop() to check if it's in a a shop.
- 2006-09-09 23:46 qal21
- [r4914] Change yyyy/mm/dd to yyyy-mm-dd in ChangeLog to match the typically used convention.
- 2006-09-09 23:43 qal21
- [r4913] Add is_in_shop() and coords_in_shop() based on addition of is_in_shop() in cf+ by elmex.
- 2006-09-09 20:32 qal21
- [r4907] When applying a transport which is in an inventory, drop the transport.
- 2006-09-09 20:31 qal21
- [r4906] Make drop_object return a pointer to the dropped object, NULL otherwise.
- 2006-09-09 17:41 lalo
- [r4904] d'oh, forgot the ChangeLog *again*, sorry
- 2006-09-09 16:09 lalo
- [r4902] small, useful note about map difficulty in the map guide
- 2006-09-09 16:07 lalo
- [r4901] add exp and other_arch to flesh; more info about the original monster, to be used in spells or scripts
- 2006-09-07 06:25 mwedel
- [r4899] doc/Developers/protocol: Fix off by one on how many layers are currently
defined.
server/swap.c: When loading up temp maps, make sure timeout is set to 0 -
fixes bug 1539203.
MSW 2006-09-06
- 2006-09-07 00:48 lalo
- [r4898] make collect.pl ignore backup files just in case
- 2006-09-07 00:10 lalo
- [r4897] I suck, forgot the ChangeLog on my last commit
- 2006-09-06 23:38 qal21
- [r4896] Make get_god_for_race() safe for gods without races.
- 2006-09-06 21:58 lalo
- [r4891] making sure shops don't give jade/amber. For real this time.
- 2006-09-04 21:23 ryo_saeba
- [r4878] patch #551467 (type mismatch in surround_flag3() can cause SIGSEGV) courtesy Mark Kidder
- 2006-09-04 07:21 mwedel
- [r4876] Bulk of this change is updating some files to use draw_ext_info() - all
future code should use this, since there is no real reason not to and
it provides additional features. One notable change - reversed the
order of the new and old formats in draw_ext_info_format() - the
order was different than that of draw_ext_info(), which leads to confusion.
draw_ext_info_format() wasn't used in many places, so easier to change
that than all the draw_ext_info() calls. Only another 1200
new_draw_info calls left in the server.
--
doc/mediaTags: Fix some typos, clarify some behaviour (the way it works
now so that there will not be confusion in the future).
include/define.h: Remove MSG_ tags - moved to newclient.h
include/newclient.h: Synchronize with client version. Add MSG_ defines
include/newserver.h: Move some defines from here to newclient.h
server/apply.c: Reverse format parameters to draw_ext_info_format() calls.
server/c_misc.c: Rewrite to use draw_ext_info{_format} - this allows nice
formatting of tables, etc. Also general style cleanups, clarify some
messages. in help_topics(), don't do linewrap - let the client
handle it. remove bug_report() function - no longer used. Remove
explore_mode() - wasn't used. Move command_style_map_info() to
c_wiz.c since it is a wiz only command.
server/c_wiz.c: As per above, move command_style_map_info() to this file
since it is a wiz command.
server/player.c: Reverse format parameters to draw_ext_info_format() calls.
server/shop.c: Update to use draw_ext_info{_format} instead of new_draw_info()
socket/info.c: Reverse format parameters in draw_ext_info_format().
Update va_start() to use new last parameter. Remove call to
strip_media() if the client supports the tag - that should only be
used if the client does not support the tag.
socket/request.c: remove commented out MSG_TYPE values.
MSW 2006-09-03
- 2006-09-03 17:37 qal21
- [r4873] make Win32 define of uintptr_t more correct.
- 2006-09-03 15:11 ryo_saeba
- [r4870] Snapshot, fix compilation, and so on.
- 2006-09-03 14:45 ryo_saeba
- [r4869] Fix Win32 compilation
- 2006-09-03 14:38 ryo_saeba
- [r4868] Potential fix for bug #1551307 (crash in python plugin).
- 2006-09-03 14:00 ryo_saeba
- [r4867] Missing return value.
- 2006-09-03 13:29 ryo_saeba
- [r4866] Fix bug #1551371 (No-magic prevents monsters from casting spells)
- 2006-09-03 13:01 ryo_saeba
- [r4865] #1551386 (Alchemy with unpaid items)
- 2006-09-03 03:17 mwedel
- [r4863] server/attack.c: Store away victim_map in hit_with_arrow() - what could
otherwise happen is that victim is a player, and killed and ends up
on new map, so that victim->map points at the wrong map.
MSW 2006-09-02
- 2006-09-02 15:23 ryo_saeba
- [r4862] Feature request #1539125 (woodsman makes swamps uesless) by Andreas Kirschbaum
- 2006-09-02 14:25 ryo_saeba
- [r4860] Apply patch #1550716 (Frequent crashes after client disconnects) courtesy Mark Kidder
- 2006-08-31 07:41 mwedel
- [r4857] server/attack.c: Move kill_player() after we set up the pl->killer string.
Needed just so right message is on grave stone - also prevents crashes,
as if the hitter is poison or disease, kill_player() will remove those.
MSW 2006-08-30
- 2006-08-31 05:34 qal21
- [r4855] Fix missing space in a 'type 17' attack message.
- 2006-08-28 18:39 tchize
- [r4854] Added media tags documentation
- 2006-08-28 07:03 qal21
- [r4853] Fix logic error in fire_bow and avoid unnecessary messages. Fixes bug #1547699.
- 2006-08-27 15:19 akirschbaum
- [r4852] Fix type mismatch.
- 2006-08-27 14:11 ryo_saeba
- [r4850] Add constants for many things.
- 2006-08-27 14:09 ryo_saeba
- [r4849] Add 'object->env' and move_xxx wrappers to Object.
- 2006-08-27 14:09 ryo_saeba
- [r4848] Add plugin access to move fields. Add sint64 type to plugin. 'AddExp' wrapper.
- 2006-08-26 17:56 ryo_saeba
- [r4845] Remove obsolete event system.
- 2006-08-26 16:09 ryo_saeba
- [r4844] Fix spurious logic in weather_avoid
- 2006-08-26 08:08 ryo_saeba
- [r4843] Fix insert_ob_in_map strange behaviour with some flags combo.
- 2006-08-26 03:45 qal21
- [r4842] Fix potential 'coord outside of map' issue in previous commit.
- 2006-08-26 03:30 qal21
- [r4841] Make generators work properly with multi-tile objects.
- 2006-08-25 23:03 quinet
- [r4839] Stop complaining about .autorun.xml
- 2006-08-25 23:00 quinet
- [r4838] Regenerated again.
- 2006-08-25 22:57 quinet
- [r4837] check-fragment.am: Add some quotes to avoid problems with spaces appearing in macro expansions.
- 2006-08-25 21:28 quinet
- [r4836] configure, aclocal.m4, utils/config.guess, utils/config.sub,
utils/ltmain.sh, include/autoconf.h.in, */Makefile.in: regenerated using
slightly newer versions of libtoolize, aclocal, automake and autoconf.
- 2006-08-25 21:23 quinet
- [r4835] configure.ac: add option to disable unit tests, fix incorrect usage of
AC_ARG_ENABLE for dmalloc, fix some typos.
- 2006-08-25 18:45 ryo_saeba
- [r4834] Static buffers cause strange issues.
- 2006-08-23 21:24 ryo_saeba
- [r4832] Buffer overwriting leads to strange issues.
- 2006-08-22 21:45 ryo_saeba
- [r4831] Fix for bug #1528636 (Invisible player disappears from map view)
- 2006-08-22 07:16 mwedel
- [r4829] Fix/improve login procedure such that if a player is trying to log in with
the name & correct password of character already on server, terminate old
connection and let them log in.
---
server/login.c: Remove name check for players on server in check_name().
Make wrong_password() to handle error message handling for wrong password
In check_login(), iterate over players on system to see if there is a
match - if mismatched password, print error. If correct password,
terminate old connection. Move wrong password logic from check_login()
to wrong_password().
MSW 2006-08-21
- 2006-08-21 20:47 qal21
- [r4824] Call kill_player() from the kill_object() code. Fixes bug #1539192.
- 2006-08-21 05:40 qal21
- [r4822] Fix error in previous commit.
- 2006-08-21 05:18 qal21
- [r4821] Make counterspell not effect permenant spell effects. Fixes bug #1539220.
- 2006-08-21 03:18 qal21
- [r4820] Add 'getfaces' script I put on the tracker a long time ago and forgot about.
- 2006-08-20 09:59 ryo_saeba
- [r4815] Plugin wrappers for timers.
- 2006-08-20 09:58 ryo_saeba
- [r4814] Fix timers.
- 2006-08-20 01:23 qal21
- [r4812] Scatter objects dropped from a multi-tile object being freed. Fixes bug #1542884
- 2006-08-20 00:07 qal21
- [r4811] Make DM 'free' command safe on multi-tile objects.
- 2006-08-19 21:23 ryo_saeba
- [r4807] DMs can cast denied spells, that's why they are DMs.
- 2006-08-19 21:22 ryo_saeba
- [r4806] Fix bug #1523571 (Diseases work only on head part).
- 2006-08-19 20:47 ryo_saeba
- [r4805] Update.
- 2006-08-19 20:22 ryo_saeba
- [r4803] Fix for bug #1460251 (Big monsters generated by generators broken). Tweaks to object dumping.
- 2006-08-19 17:03 ryo_saeba
- [r4801] Fix for bug #1540158 (Broken spells - Face of Death). Death attack is now always killing
- 2006-08-18 19:37 quinet
- [r4799] Recollected archetypes and stripped accent from my name in ChangeLog.
- 2006-08-15 13:43 ryo_saeba
- [r4794] Add plugin function to get time of day. Add matching Python function.
- 2006-08-12 19:38 qal21
- [r4785] Impliment cfpython map invalidation. Change behavoir of EVENT_MAP*
- 2006-08-12 19:21 qal21
- [r4784] Add some artifact descriptions, courtesy of Raphael Quinet
- 2006-08-12 19:00 gros
- [r4782] Fixed the Burial Ground so the clues cannot be destroyed or removed.
Added a couple of details on the gravestones to make them a little more,
hum, alive :). Fixed a mistake in the code of examine that didn't properly
detect the @match directives.
This is a fix for bug #1539227 - may it Rest In Peace.
gros, 2006-08-12
- 2006-08-12 14:52 gros
- [r4781] Added a field in the map structure to store the timestamp of the last original map loading, and
modified the Town Portal spell so that it now cannot lead to a map that was marked before a reset, after a reset.
This is a fix for bug #1539155
gros, 2006-08-12
- 2006-08-12 13:00 gros
- [r4780] Changed the comparaison code between the weapon's name and the player's, so that a weapon created by "gro" cannot be used by "gros.
This is a fix for bug #1539150.
gros, 2006-08-12
- 2006-08-12 12:23 gros
- [r4779] Modified command_take so it is less noisy about no_pick items when doing a "get all" request.
This is a fix for bug #1539122.
gros, 2006-08-12
- 2006-08-12 12:00 gros
- [r4778] Modified command_drop so it is less noisy about locked items when doing a "drop all" request.
This is a fix for bug #1539121.
gros, 2006-08-12
- 2006-08-12 11:31 gros
- [r4777] Added filling of inventory for monsters magically created that don't come from a player caster, and aren't golems.
This should fix bug #1529980.
gros, 2006-08-12
- 2006-08-12 09:15 akirschbaum
- [r4776] Fix typo.
- 2006-08-12 08:52 gros
- [r4775] fixed incorrect behavior of the create missile spell, that couldn't find a proper archetype when a bow or a crossbow was wielded.
This is a fix for bug #1532403.
gros - 2006-08-12
- 2006-08-12 04:09 lalo
- [r4774] keep converters from accepting unpaid items
- 2006-08-11 12:13 ryo_saeba
- [r4772] Help text update
- 2006-08-10 16:47 ryo_saeba
- [r4771] Fix minor create bug. Update inventory when using remove.
- 2006-08-10 06:13 qal21
- [r4770] Tell the client the map has scrolled when applying transports. Fixes bug #1528565.
- 2006-08-10 03:07 qal21
- [r4768] Remove references to regions from makefiles.
- 2006-08-10 02:35 qal21
- [r4767] Regions file moved to map tree.
- 2006-08-09 20:54 qal21
- [r4766] Setting default listen level to 10.
- 2006-08-08 18:17 qal21
- [r4765] Add no_save, and python object invalidation.
- 2006-08-08 10:22 ryo_saeba
- [r4764] Feature request #1465397 (improved feedback in character creation for existing names)
- 2006-08-08 10:05 ryo_saeba
- [r4763] Feature request #821645 (change password command)
- 2006-08-07 20:16 ryo_saeba
- [r4761] Copy level of cosnecrated altar too.
- 2006-08-07 13:39 ryo_saeba
- [r4759] Implement feature request #1528641 (consecrate should change face of altar)
- 2006-08-07 07:57 ryo_saeba
- [r4757] Tell player whether she's the transport's captain or not
- 2006-08-07 07:38 ryo_saeba
- [r4756] Rebuild makefiles, closing bug #1535160 (Python just broke)
- 2006-08-07 07:22 ryo_saeba
- [r4752] Patch #1389033 (Large-value coins) courtesy Lalo Martins
- 2006-08-05 09:57 ryo_saeba
- [r4747] Fix bug #1534727 (create_home_portals TRUE doesn't work)
- 2006-08-05 08:56 ryo_saeba
- [r4746] Patch #1389432 (Per-race HallOfSelection) courtesy Lalo Martins
- 2006-07-30 08:43 ryo_saeba
- [r4732] Fix spellings courtesy Kevin R. Bulgrien - kbulgrien (bug #1531073)
- 2006-07-29 20:55 qal21
- [r4731] Remove excess inlcudes.
- 2006-07-29 20:44 qal21
- [r4730] Modify Crossfire_Object_wrap() to use the hash tables provided by hashtable.c to avoid creating more python wrapper objects than is needed.
- 2006-07-29 16:36 qal21
- [r4729] Add more files to .cvsignore
- 2006-07-29 10:13 ryo_saeba
- [r4727] Add .cvsignore files, courtesy Rapha��l Quinet - quinet
- 2006-07-29 09:29 ryo_saeba
- [r4726] Fix bug #1526364 (stacking Royal Guards)
- 2006-07-29 08:39 ryo_saeba
- [r4725] Fix bug #1529969 (shop floor not working in random maps)
- 2006-07-29 07:43 qal21
- [r4723] Remove an usused macro from hashtable.h that was leftover from shstr.h
- 2006-07-29 07:12 qal21
- [r4722] Add hashtable.c for planned use in cfpython.
- 2006-07-28 21:13 ryo_saeba
- [r4721] Fix duplicator-related crash
- 2006-07-28 20:23 gros
- [r4720] Prevents one to write a scroll with a spell he/she's denied from.
Fix for bug #1530001 - "Inscription skill allows to cast denied spells"
gros 2006/07/28
- 2006-07-28 20:19 ryo_saeba
- [r4719] Fix addexp not working on skills
- 2006-07-28 18:25 qal21
- [r4717] Fix cfpython compiliation on python 2.3
- 2006-07-28 18:23 qal21
- [r4716] Remove trailing whitespaces
- 2006-07-28 06:45 qal21
- [r4711] Add EVENT_DESTROY. Allow execute_event to be called from common.
- 2006-07-27 22:37 akirschbaum
- [r4710] common/item.c: In describe_item() correct capacity description of large
(>1000 maxsp) Glowing Crystals.
- 2006-07-27 06:16 qal21
- [r4708] Add caching of the bytecode of python scripts, based upon code used in Daimonin's old python plugin before they moved to lua.
- 2006-07-26 15:20 gros
- [r4707] Forbid the reset of a random map from inside that random map itself.
Workaround for bug #1528173 - "Reset command does not work for random maps".
gros 2006/07/26
- 2006-07-25 22:37 ryo_saeba
- [r4706] Fix bug #1528194. Fix an annoying message.
- 2006-07-25 21:49 ryo_saeba
- [r4705] Fix a crash when DM removes an animated object
- 2006-07-25 19:14 tchize
- [r4703] improved indentation on some functions
- 2006-07-25 18:17 gros
- [r4701] Correct improper selection of the target of some spells, when the spell
is cast on a transport. Hopefully definitively fixes bug #1528018.
gros - 2006/07/25
- 2006-07-25 18:04 gros
- [r4700] Select op->facing instead of op->direction in process_events for players
and monsters as the direction reference for the face to display.
Fix for bug #1528182.
- 2006-07-25 16:23 gros
- [r4699] Make the search for a friendly target for some spells also browse transports
located in the square from which the spell was cast.
This is a fix for bug #1528018.
gros - 2006/07/25
- 2006-07-25 15:43 gros
- [r4698] Forbids the use of reset on oneself's map while in a transport. This is a
workaround for bug #1528172
gros 2006/07/25
- 2006-07-25 11:44 gros
- [r4697] Fix bug #1528197, by making dragons prefer clawing over anything else as unarmed combat technique.
gros - 2006/07/25
- 2006-07-21 12:39 gros
- [r4694] Modified the way the "undead" flag is removed from the player when changing god. This fixes bug #1157459;
now, the player should recover its initial race after leaving the Devourers for another god.
- gros 2006/07/21
- 2006-07-21 10:17 gros
- [r4693] Added explicit item_power calculation for generated items that got an item_power of 0 - should solve bug #1460354 without creating new issues.
gros - 2006/07/21
- 2006-07-19 09:58 gros
- [r4692] Corrected a typo preventing the code to compile properly.
- 2006-07-18 22:53 qal21
- [r4691] Add check to block_linked() to make sure things never block themself.
- 2006-07-17 19:06 tchize
- [r4688] Fixed error in file (srunner_check_out does not exist, removed line)
- 2006-07-17 18:57 qal21
- [r4687] minor correction of a typo in a comment
- 2006-07-17 03:03 qal21
- [r4686] Attempt to fix bug #1523571 "Diseases work only on 'head' part".
- 2006-07-16 08:46 akirschbaum
- [r4676] Fix player count reporting to the metaserver. It now excludes connections with
not-yet-logged-in players and AFK/WIZ/BOT players.
- 2006-07-14 17:58 qal21
- [r4675] Add setting to allow server admins to allow town portals to be created in apartments. Based on a patch by pippijn in the cf-ext project.
- 2006-07-11 20:19 tchize
- [r4674] FIX bug 1518321: check for x compiling does not require anymore autoconf.h
- 2006-07-06 22:08 akirschbaum
- [r4672] lib/regions: Fix typo in region "portjoseph". Bug #1518392 (Port Joseph
region spelling inconsistent with map directory) by Kevin R. Bulgrien.
- 2006-07-06 04:27 mwedel
- [r4668] acinclude.m4, configure: Fix last fix which discarded any passed in
CFLAGS or if that is set in the environment.
MSW 2006-07-05
- 2006-07-06 04:22 mwedel
- [r4667] common/button.c: Fix for sourceforge bug common/button.c - harpsicord crashes
client. The problem is that the trigger code presumed that the object
would be animated, and blindly set teh face to the second animation frame.
harpsicords are not animated, so this could amount to garbage. So add
check for trigger objects to see if they are in fact animated before
blindly setting the face.
MSW 2006-07-05
- 2006-07-05 07:22 mwedel
- [r4666] server/daemon.c: Patch by wart, tracker 1489902 - open a file like /dev/null
to then dup - this fixes -detach crash problem. Might be better to use
some other file, but in theory, shouldn't be much going here, and I
don't think we can safely use a file that is already opened by the
server.
MSW 2006-07-05
- 2006-07-04 21:22 ryo_saeba
- [r4663] Actually commit file I forgot.
- 2006-07-04 21:21 ryo_saeba
- [r4662] Fix memset call.
- 2006-07-02 15:32 tchize
- [r4661] more progress in unit testing, marked points of interrest in code
- 2006-06-30 06:49 mwedel
- [r4656] Add banner for 1.9.1 demarcation.
MSW 2006-06-29
- 2006-06-30 05:46 mwedel
- [r4655] acinclude.m4, aclocal.m4, configure, configure.ac: Fix crossedit header
detection - even when passed --with-x to configure and having all the files,
it wouldn't find the headers because it didn't pass in the correct -I
options for where they sit. Also, update for 1.9.1 release.
MSW 2006-06-29
- 2006-06-29 06:09 mwedel
- [r4651] server/rune.c: Undo last patch - breaks summoning runes.
server/skills.c: Change disarm logic - after first failure, don't continue
to disarm traps (makes sense anyways - can really only disarm one thing
at a time) - this fixes the problem that last change to rune.c tried
to fix.
MSW 2006-06-27
- 2006-06-26 07:31 mwedel
- [r4649] server/rune.c: Patch from schmorp - when dealing with traps, don't put them
underneath the player when a disarm failure happens, instead, update the
direction to hit the player - prevents a recursion problems causing
hundreds of objects.
MSW 2006-06-25
- 2006-06-24 10:41 ryo_saeba
- [r4646] Fix merging bug.
- 2006-06-18 11:27 tchize
- [r4645] added some test, corrected some indentation, added some TODO and FIXME
- 2006-06-08 04:30 qal21
- [r4641] Fix typo in comment
- 2006-06-07 21:44 tchize
- [r4640] update test build process slighlty, changed tests so unimplemented ones success, added some *FIXME*
- 2006-06-07 21:28 tchize
- [r4639] partial update of check_object
- 2006-06-07 07:10 mwedel
- [r4638] common/object.c: in insert_ob_in_map() don't stop processing flying objects
if the object also has floor set. This fixes crashes when an object
is both flying and has floor set.
MSW 2006-06-06
- 2006-06-06 22:16 ryo_saeba
- [r4637] Fix Win32 compilation
- 2006-06-06 21:38 akirschbaum
- [r4636] Add commands rules and news to display the rules/news files.
- 2006-06-05 12:07 tchize
- [r4628] Improved log message (to see priority of error in log file).
This change is part of unit tests writing.
- 2006-06-05 07:23 mwedel
- [r4627] Fix problem with create food when used on transports. Rather than put a
specific check in the create food code, modify insert_ob_in_map to
check to see of the passed in originator is on a transport, and if so,
find out the right info - this probably fixes the same type of bug that
happens from other areas of the code.
common/object.c: Above change, as well as #if 0 out some unused functions.
MSW 2006-06-04
- 2006-06-05 06:28 mwedel
- [r4626] Clean up some compiler warnings. Most of the changes are related to replaced
%lld with FMT64 defines so that the format will be correct, no matter if
the 64 bit type is a long, long long, or if this is windows. #if 0 out a
bunch of code that isn't used.
--
common/exp.c: Replaced lld with FMT64
common/holy.c: #if 0 out baptize_altar(). Add banner copyright at top of file.
common/info.c, common/item.c, common/loader.l, common/loader.c, common/map.c:
common/porting.c Replaced lld with FMT64
common/time.c: Replace a bunch of variables declared as longs to be uint32.
Update various sprintf appropriately.
include/global.h: Add FMT64 and FMT64U as appropriate for different systems.
Change max_time to be a uint32
include/sockproto.h, include/sproto.h: rebuilt
server/apply.c: #if 0 out monster_apply_special
server/c_range.c: Add != 0 in assignment if statement - same meaning, clearer
on intention and avoids compiler warning.
server/c_wiz.c: Update command_kick() to take const char. Update command_speed()
to operate properly based on max_time being a uint32. Update various lld
to FMT64. Clarify ambiguous if/if/else statement in command_insert_into()
server/commands.c: Add cast to command_kick for new function prototype. #if
0 out find_command(), parse_string(), parse_command()
server/disease.c: #if 0 out find_disease(), reduce_symptoms()
server/egoitem.c: #if 0 out create_artifact(). Add copyright at top of file.
server/gods.c: #if 0 out get_god()
server/hiscore.c: Replace lld with FMT64
server/login.c: #if 0 out create_savedir_if_needed()
server/resurrection.c: Replace lld with FMT64. #if 0 out dead_character() and
dead_player_exists()
server/server.c: Remove info_keys() - hasn't been used in a long time. #if 0
out process_active_maps()
server/skill_util.c: Replace lld with FMT64
server/spell_util.c: #if 0 out check_spell_effect()
server/weather.c: #if 0 out feather_map(). Fix what I suspect is an error
in worldmap_to_weathermap() to skip over starting slashes.
socket/image.c: Add a fair number of char * casts to suppress warnings.
socket/init.c: Change buflen in init_connection() to socklen_t to match
function prototype. Add some char * casts.
socket/loop.c: Add some char * casts.
--
MSW 2006-06-04
- 2006-06-03 21:56 ryo_saeba
- [r4624] Implement feature request #815622
- 2006-06-03 18:47 tchize
- [r4623] Created 2 little script to detect functions that are dead or shuold go static and to extract check_prototypes
- 2006-06-03 18:28 tchize
- [r4622] made a few methods in object.c static and created empty checks.
Methods in object.c that weren't used anywhere else were made static.
Methods in object.c that weren't static where assigned an empty test in check_object.c
- 2006-06-02 21:58 qal21
- [r4621] toolkit_common.c: Clarify comment.
- 2006-06-02 08:19 akirschbaum
- [r4620] Do not merge renamed items with differing custom names.
- 2006-06-01 23:07 tchize
- [r4619] toolkit_common activated in unit test.
check_arch is the first check to use it.
Rebuilded makefiles in accordance
- 2006-06-01 20:55 akirschbaum
- [r4618] Do not merge locked and unlocked items.
- 2006-06-01 19:07 tchize
- [r4617] Fixed error in build process regarding unit test.
Our modularization is way broken, with have intredependent .a files, this should be solved.
Applied a compilation workaround suggest by gnu, twice every .a at link time. Applied an automake
workaround as we need to pass --preserver-dup-deps to autotools and to do this only current CVS
version can do it without a bit i hacking. Applied Hacking suggested by automake mailing list.
- 2006-06-01 18:59 tchize
- [r4614] Fixed error with function declared as static in one place and not static in another, leading to problems in make proto
- 2006-06-01 18:04 akirschbaum
- [r4613] lib/artifacts: Fix typo to not anymore generate "boots of of steel".
- 2006-06-01 17:59 akirschbaum
- [r4612] Fix typo to make bows of Sorig work.
- 2006-06-01 17:47 akirschbaum
- [r4611] lib/archetypes, lib/treasures.bld: Rebuilt.
- 2006-05-30 07:16 mwedel
- [r4608] Various bug fixes, related to the new map display code.
common/loader.c, common/loader.l: Add map_layer attribute so object can
override what layer it should go on (fix for levitation boots).
common/map.c: Add support for map_layer to override layering. Fix bug
where if there were more objects than would fit on a layer, not all
would be drawn (same object was duplicated onto multiple layers).
common/object.c: Add check for ob->map_layer in can_merge()
include/map.h: Add extern declaration for map_layer_name[]
include/object.h: Add map_layer to object.
socket/request.c: In map1 compatibility mode, make sure we always
send the player.
MSW 2006-05-29
- 2006-05-30 07:12 mwedel
- [r4607] Only call animate_object() if object is animated - otherwise,
animate_object() spews bunch of error about being called with non
animated object.
MSW 2006-05-29.
- 2006-05-26 23:13 akirschbaum
- [r4603] Monsters now cannot anymore see through earthwalls/monsters. This restores the
behavior to what it was before the new movement code. For players this
basically means that monsters will not anymore cast spells though earthwalls or
other monsters.
- 2006-05-26 22:29 akirschbaum
- [r4602] Make attacking with melee in 'fire command work again. Now attacking with
<shift>+<direction> works again.
- 2006-05-25 17:49 akirschbaum
- [r4599] Make swarm spells work again. These spells did not work anymore on tiles which
had a move_block type set (for example cobblestones).
- 2006-05-25 15:31 ryo_saeba
- [r4598] Fix monster facing bug.
- 2006-05-21 20:09 akirschbaum
- [r4594] Fix typo in comment.
- 2006-05-21 19:58 akirschbaum
- [r4593] Simplify expression.
- 2006-05-21 19:56 akirschbaum
- [r4592] Fix typo in comment.
- 2006-05-21 19:38 akirschbaum
- [r4591] Properly declare prototype for rmap_yval().
- 2006-05-21 19:17 akirschbaum
- [r4590] Remove trailing white space from attack messages.
- 2006-05-21 19:06 akirschbaum
- [r4589] Improve comment.
- 2006-05-21 14:02 akirschbaum
- [r4588] Fix comment.
- 2006-05-21 13:44 akirschbaum
- [r4587] Improve comment.
- 2006-05-21 12:54 akirschbaum
- [r4586] Use 'NULL' for pointers.
- 2006-05-21 12:50 akirschbaum
- [r4585] Fix typo in parameter name.
- 2006-05-21 12:44 akirschbaum
- [r4584] Remove useless sizeof() operator.
- 2006-05-21 12:43 akirschbaum
- [r4583] Do not crash in strdup_local() in out of memory condition.
- 2006-05-21 12:41 akirschbaum
- [r4582] Fix error message.
- 2006-05-21 12:37 akirschbaum
- [r4581] Properly declare prototype for yval().
- 2006-05-21 12:27 akirschbaum
- [r4580] Skip some processing if NEW_MATERIAL_CODE is undefined.
- 2006-05-21 12:23 akirschbaum
- [r4579] Declare missing variable if NEW_MATERIAL_CODE is defined.
- 2006-05-21 12:22 akirschbaum
- [r4578] Declare some functions as "static".
- 2006-05-21 10:35 akirschbaum
- [r4577] Make socket handling more robust.
- 2006-05-21 10:07 akirschbaum
- [r4576] Fix reference to undefined type name.
- 2006-05-20 15:47 ryo_saeba
- [r4575] Log hook for plugins. Use it for Python & cfanim.
- 2006-05-20 12:37 ryo_saeba
- [r4574] Add a bot flag, to not count in metaserver information
- 2006-05-20 10:51 ryo_saeba
- [r4573] Snapshot
- 2006-05-20 10:37 ryo_saeba
- [r4572] Snapshot
- 2006-05-20 10:32 ryo_saeba
- [r4571] Fix declaration
- 2006-05-18 05:27 mwedel
- [r4568] This commit adds support for the map2 protocol command (10 layer map).
This changes how the data is stored and sent to the client. This also
implements the idea of client handling map animations, so adds some object
flags so that the server knows if it should let the client handle animations
or not. Support for the original map protocol command is removed.
---
aclocal.m4: rebuilt
configure.ac: Add checks for zlib.h, libz - not used right now, but will
probably be used in the future, so no reason to remove it.
common/loader.l: Add client_anim_sync, client_anim_random FLAGS.
common/map.c: Add add_face_layer() to set face for a layer. Redo/simplify
update_position to store faces away based on layering criteria.
common/time.c: Replace long pticks with a uint32, since size of a long will
vary, and we now send pticks to the client as a 32 bit value.
crossedit/CrEdit.c: Update the draw logic based on the fact there are more
layers now.
crossedit/Edit.c: Comment out some code that probably should be fixed.
Replace calls of SET_MAP_FACE with SET_MAP_FACE_OBJ
doc/Developers/protocol: Updated with map2, tick protocol additions.
Reorganize the parameters in the setup protocol command so they are now
listed in alphabetical order.
include/autoconf.h.in: Add HAVE_ZLIB_H define.
include/define.h: Update for the FLAG_CLIENT_ANIM values.
include/face.h: Remove MapLook structure - no longer used.
include/global.h: change extern type for pticks from long to uint32
include/map.h: Change MAP_LAYERS to 10. Add definitions for what each
map layer is. Remove GET/SET_MAP_FACE macro - no longer used,
GET/SET_MAP_FACE_OBJ replaces it. Add GET_MAP_FACE_OBJS which
returns pointer to all the object info for the space. Remove
faces from MapSpace structure.
include/newclient.h: Update with new defines used for map2 protocol
command.
include/newserver.h: Change type of faces in map_cell_struct to be
uint16 to be consistent. Change 'count' to 'darkness' to more
accurately describe what it represents. Add MAP2_COORD_OFFSET
define. Add Map2Cmd to MapMode enum. Add map_scroll_x/y
to socket structure so we send those as part of map2 command.
Add tick field to socket structure to know if we should send
tick data to the client.
server/login.c: Remove extern long pticks declaration - declared
in global.h - don't need to declare it again locally.
socket/info.c: Rewrite magic map code to use GET_MAP_FACE_OBJ
instead of GET_MAP_FACE macros.
socket/init.c: Initialize new fields in socket structure to 0.
socket/loop.c: If client wants tick data sent, send one each tick.
socket/request.c: Add setup responses for tick, map2 requests. Remove some
extra code in Map1a setup. Send error message to client if not using
at least Map1 protocol level. Modify map_newmap_cmd() to clear
scroll information when using Map2. Remove original (map0) protocol
logic. Update map_clearcell() to clear all 10 layers. Replace
MAX_LAYERS with MAP_LAYERS. Add add_head() to remove some of the
complication from update_space(). Add code in draw_client_map1()
to find which 3 layers to send to the client from the 10 we now have.
Add map2_add_ob(), map2_delete_layer(), check_space_for_heads(),
draw_client_map2() to handle map2 protocol. Add send_tick() -
sends tick to client, but also forces flush of data to reduce lag.
utils/config.guess.utils/config.sub,utils/ltmain.sh: rebuilt
MSW 2006-05-15
- 2006-05-13 21:21 akirschbaum
- [r4565] Fix server crash when sending addspell command(s).
- 2006-05-13 20:44 akirschbaum
- [r4564] Fix typo; add default value for facecache command.
- 2006-05-13 05:18 qal21
- [r4563] correct bug in previous commit.
- 2006-05-13 05:02 qal21
- [r4562] Disallow town portal while in transports (caused map corruption, crashes and other nasty things)
- 2006-05-05 10:14 ryo_saeba
- [r4561] Fix for bug #1473941 (Damnation bug)
- 2006-05-05 09:47 ryo_saeba
- [r4560] Third and last part of patch #1453869 courtesy Stefan Huehner (shuehner)
- 2006-05-05 09:41 ryo_saeba
- [r4559] Second part of patch #1453869 courtesy Stefan Huehner (shuehner)
- 2006-05-05 09:26 ryo_saeba
- [r4558] First part of patch #1453869 courtesy Stefan Huehner (shuehner)
- 2006-05-05 09:21 ryo_saeba
- [r4557] No need to fail when autorun.xml doesn't exist :)
- 2006-05-05 08:52 ryo_saeba
- [r4556] Add Map.Insert(object,x,y) and Player.CanPay( ) to Python plugin
- 2006-05-05 08:52 ryo_saeba
- [r4555] Patch #1456016 courtesy schmorp.de development team
- 2006-05-03 21:50 tchize
- [r4554] Added autogeneration of html and text report for test process.
- 2006-05-03 00:51 qal21
- [r4553] removed redundant check and fixed an uninitialized variable in attack.c
- 2006-04-06 21:18 tchize
- [r4551] finished common/arch.c unit test, fixed a few bugs, moved function around and renamed other
- 2006-04-06 16:58 cavesomething
- [r4550] Increase Archtable to 8192, the new hashing algorithm works better with a table size that is a power of 2, and the current value is very close to being exceeded anyway. Suggested by Crossfire+ Development Team http://cf.schmorp.de
- 2006-04-04 23:34 qal21
- [r4548] Use object name for swamp messages.
- 2006-03-23 19:39 tchize
- [r4547] corrected check_shstr.c (lacking a few line of code)
- 2006-03-22 23:06 tchize
- [r4546] updated configure.ac to automatically check availability of a few headers required by crossedit
Basically, it tries to compile a test code having only includes of xaw, posix, etc. Should be
enough to prevent most crossedit compilation issue but not perfect. (Should check version of lib and
try a few methods on them). crossedit/ and test/unit/crossedit are skipped by make if test fail.
- 2006-03-22 09:29 akirschbaum
- [r4545] Fix exploit with alchemy spell. This effectively removes the improvement
implemented at 2006-03-07.
- 2006-03-21 23:34 ryo_saeba
- [r4544] Typos.
- 2006-03-21 22:46 tchize
- [r4543] Initial commit of unit tests (see doc/Developers/testplans)
This is it, initial commit of unit test framework. It contains empty testcases
for all unit tests. See test/unit/check_shstr.c for a completed example unit test :)
- 2006-03-19 08:55 ryo_saeba
- [r4542] Removing Perl plugin. Right now it requires too many changes to server code to make it work.
- 2006-03-19 01:51 akirschbaum
- [r4541] Apply patch by Stefan Huehner: add const where appropriate.
- 2006-03-18 19:30 ryo_saeba
- [r4540] Forgot one file.
- 2006-03-18 17:15 ryo_saeba
- [r4539] Use const when possible. Patch courtesy Stefan Huehner.
- 2006-03-18 16:43 ryo_saeba
- [r4538] Removed unused file
- 2006-03-18 16:27 ryo_saeba
- [r4537] Typo.
- 2006-03-18 16:24 ryo_saeba
- [r4536] Add add_key to set_key (object) for plugins.
- 2006-03-18 16:23 ryo_saeba
- [r4535] Forgot that one.
- 2006-03-18 15:05 ryo_saeba
- [r4534] Massive cleaning of code. Shouldn't be any functional change.
- 2006-03-16 21:54 akirschbaum
- [r4533] Apply patch #1450408 (Improved hash table) by cf.schmorp.de development team.
- 2006-03-16 20:59 akirschbaum
- [r4532] Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove
unused code, add static/const where appropriate.
- 2006-03-14 17:12 ryo_saeba
- [r4530] Fix memory leak and uninitialized variable
- 2006-03-14 15:53 ryo_saeba
- [r4526] Disabled some unused big arrays.
- 2006-03-14 15:33 ryo_saeba
- [r4525] Fix monster/scroll crash, based on patch by the cf.schmorp.de development team
- 2006-03-14 15:25 ryo_saeba
- [r4524] Merge 2 functions which are the same
- 2006-03-14 14:41 ryo_saeba
- [r4523] Apply patch #1445892 (transmute_materialname crash) courtesy the cf.schmorp.de development team
- 2006-03-14 14:34 ryo_saeba
- [r4522] Fix merging bug with inscription
- 2006-03-14 07:44 mwedel
- [r4521] Fix non ANSI conforming code so it will compile with compilers that
care about that type of things.
MSW 2006-03-20
- 2006-03-14 07:41 mwedel
- [r4520] Fix bug/exploit in setup command. We were strcat'ing back data provided
by the client.
---
socket/request.c: Modify SetUp() to use safe_strcat() - eliminates buffer
overflow issues. Add some char* casts to spell/skill requestinfo
to eliminate compiler warnings. Add IP address to log for incoming
connections.
MSW 2006-03-13
- 2006-03-12 17:03 tchize
- [r4519] query_refcount returns wrong value if string is at top of linked list (a bit flagging this state was not cleared)
detected when preparing unit testing framework
- 2006-03-12 04:57 mwedel
- [r4518] Update with new/proper sourceforge download location.
MSW 2006-03-11
- 2006-03-08 06:58 mwedel
- [r4514] Add proper banner/copyright to this file.
MSW 2006-03-07
- 2006-03-07 21:28 akirschbaum
- [r4513] Fix possible exploit with shadow alchemy. Also improve the alchemy spell to
yield more nuggets.
- 2006-03-07 18:46 cavesomething
- [r4512] Add settings permanent_experience_percentage, death_penalty_percentage and
death_penalty_levels to the settings file.
---
common/living.c: don't hardcode exp calculations
common/init.c, include/config.h, lib/settings: set defaults for new values
doc/settings: document new values
include/global.h: change settings struct to hold the new values
server/init.c: parse new values in the settings file.
server/skill_util.c: reference new value
- 2006-03-04 17:37 akirschbaum
- [r4509] Apply modified parts of patch #1439490 (Fix in random map generation) by CF
Development Team Schmorp.de <crossfire@schmorp.de>.
- 2006-03-04 16:34 akirschbaum
- [r4508] Apply patch #1436833 (Patch for forked lightning crash at map borders) by CF
Development Team Schmorp.de <crossfire@schmorp.de>.
- 2006-02-27 20:12 akirschbaum
- [r4504] common/loader.c: Rebuilt.
- 2006-02-27 20:08 akirschbaum
- [r4503] common/loader.l: Prevent excess whitespace while saving objects.
- 2006-02-27 20:06 akirschbaum
- [r4502] Apply patch by Marc Alexander Lehmann to improve server performance.
- 2006-02-26 15:57 akirschbaum
- [r4500] lib/archetypes: Rebuilt.
- 2006-02-26 15:54 akirschbaum
- [r4499] lib/collect.pl.in: Again fix generation of 'editor_folder' field to make
sub-folder selection work again.
- 2006-02-26 15:47 akirschbaum
- [r4498] Fix credits for patch.
- 2006-02-26 10:09 ryo_saeba
- [r4496] Win32 1.9.0 release
- 2006-02-25 19:46 qal21
- [r4494] whitespace changes
- 2006-02-25 09:08 mwedel
- [r4492] Update some of the documentation - way out of date.
Update configure.ac for 1.9.0 release.
MSW 2006-02-18
- 2006-02-25 08:41 mwedel
- [r4491] */Makefile{in.am}: Fix plugin makefiles so that 'make distcheck' works. Using
relative path names for files to include in distribution does not work -
need to have a makefile in each directory.
configure{.ac}: Updated as result of new Makefiles.
MSW 2006-02-24
- 2006-02-23 22:25 ryo_saeba
- [r4487] Patch #1428057 courtesy Pippijn van Steenhoven: fix to a crashing bug in plugins
- 2006-02-23 22:05 ryo_saeba
- [r4486] Perl plugin courtesy Marc Lehmann (patch #1423431)
- 2006-02-22 09:47 akirschbaum
- [r4483] Remove object type CONFUSION since it was not used anymore.
- 2006-02-21 06:47 akirschbaum
- [r4481] lib/{archetypes,bmaps.paths,crossfire.0}: Rebuilt.
- 2006-02-21 05:37 akirschbaum
- [r4480] lib/collect.pl.in: Fix generation of 'editor_folder' field. It did not work
too well for .arc files in deep subdirs.
- 2006-02-20 23:35 cavesomething
- [r4479] A better fix for sending the spell skill data
- 2006-02-20 23:33 qal21
- [r4478] Cause the random map generator to skip certain elements if the style is set to "none".
- 2006-02-20 18:43 cavesomething
- [r4475] fix crash when sending spell info if there no associated skill
- 2006-02-19 18:06 akirschbaum
- [r4472] Do not allow to dimension door into monsters or earthwalls.
- 2006-02-19 17:27 akirschbaum
- [r4470] random_maps/style.c: In find_style() fix access to uninitialized variable.
- 2006-02-19 14:29 akirschbaum
- [r4466] Prevent crossedit from stripping out 'maplore' map header field.
- 2006-02-19 13:31 akirschbaum
- [r4465] Document 'nosmooth' attribute.
- 2006-02-17 21:37 akirschbaum
- [r4462] common/loader.c: Rebuilt.
- 2006-02-17 21:29 akirschbaum
- [r4461] Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static.
- 2006-02-17 08:04 mwedel
- [r4459] common/map.c: Modify ob_blocked() to properly handly objects with a 0
ob->move_type. Fixes infinite loop from random map code when trying
to place exits.
MSW 2006-02-16
- 2006-02-15 20:37 ryo_saeba
- [r4457] Commit forgotten file
- 2006-02-15 07:51 mwedel
- [r4455] Minor bugfixes:
server/apply.c: Fix apply_transport ->contr checks to actually
check against correct values.
server/plugins.c: Replace CFAPI_INT16 with CFAPI_INT - there is no
declaration anyplace for CFAPI_INT16 so compiles fails.
server/swamp.c: Fix swamp code so that only objects that can be
picked up disappear - this way, transports don't disappear into
oblivion.
MSW 2006-02-15
- 2006-02-14 22:31 ryo_saeba
- [r4452] Misc plugin fixes
- 2006-02-14 20:46 ryo_saeba
- [r4450] Swamp fixes.
- 2006-02-14 20:46 ryo_saeba
- [r4449] Swamp fixes.
- 2006-02-11 14:05 akirschbaum
- [r4444] Apply modified patch #1428048 (make the log line buffered) by Marc Lehmann.
- 2006-02-11 00:21 akirschbaum
- [r4443] server/apply.c: In apply_scroll() do not identify the scroll if the player
lacks the literacy skill.
- 2006-02-10 23:59 akirschbaum
- [r4442] Apply slightly modified patch #1428309 (code-cleanup: const, static) by
Stefan Huehner: add const/static to functions/variables. Remove some type
casts.
- 2006-02-10 02:17 cavesomething
- [r4440] make the dm stats command print Int and damage, display in sequential order, and add a help file for the command
- 2006-02-09 21:58 ryo_saeba
- [r4439] Missing file, changelog
- 2006-02-09 21:25 akirschbaum
- [r4438] Apply modified patch by Pippijn van Steenhoven to fix get_rangevector
functions on tiled maps.
- 2006-02-09 01:51 cavesomething
- [r4437] lock players' starting items to make it less likely they will accidentally drop them
- 2006-02-09 00:48 akirschbaum
- [r4435] Apply patch #1427979 (code-cleanup: add const, fix warnings) by Stefan
Huehner.
- 2006-02-08 23:53 akirschbaum
- [r4434] Make create food spell work for all FOOD/DRINK objects. It used to fail for
objects where another object with the same name but type POISON does exist.
- 2006-02-08 21:41 ryo_saeba
- [r4433] Add DM command insert_into <where> <what>
- 2006-02-08 06:53 mwedel
- [r4432] server/main.c: Modify enter_exit() to see if player is in a transport,
and if so, remove him. Can happen if player uses word of recall
while in a transport.
MSW 2006-02-07
- 2006-02-08 01:52 cavesomething
- [r4430] add arrest command, and regional jails
- 2006-02-07 07:54 mwedel
- [r4427] Code that adds transports. Transports are described more in detail in
docs/Developers/objects.
---
loader.l: Add new move type ('boat'). Update move_name field to be aware of
this type.
common/object.c: Unrelated to transport, but more apparant with transports -
fix bug with insert_ob_in_map() and multipart objects - we now only
try to fix up map and coordinates if the provided coordinates are
out of the map. Before, function would always use the passed
map for multipart objects, which is incorrect if we have already
set valid coordinates.
doc/Developers/objects: Update notes for TRANSPORTS. Update move
information to include MOVE_BOAT.
include/define.h: Add type TRANSPORT. Add MOVE_BOAT.
include/player.h: Add transport field to player structure.
include/sproto.h: rebuilt.
server/apply.c: Add code to handle applying of transports. Update
apply_below to apply transport if player is on one.
server/attack.c: Update hit_map() to look for transports, and hit any
players with the damage.
server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS
so that code can be re-used.
server/move.c: Fix handling of multipart objects in move_object() -
old code didn't work right with multipart objects moving along seams
of tiled maps. Add code to move_ob() to update player map position
for all players in a moving transport.
server/player.c: Update move_player_attack() too check of player is
in tranport, and use that for map and location information. Update
move_player() to handle speed related issues with transports.
server/time.c: Add code to credit time back to TRANSPORT objects since
we remove time in move_player() for TRANSPORTS.
socket/item.c: Add add_object_to_socklist() so that same code isn't
reproduced in 3 different places in the file. Update draw_look()
to handle transports - send transport object itself, then objects
in transport. Update esrv_send_inventory() and esrv_send_item()
to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look
for objects in transport if player is in transport.
socket/loop.c: Remove checking of pl->map status, since draw_client_map()
does that, and we need to handle if the player is in a transport.
socket/request.c: Handle map drawing if player is in a transport.
MSW 2006-02-06
- 2006-02-07 07:31 mwedel
- [r4426] Recollect archetypes - some new objects, some objects modified to include
move_.. fields.
MSW 2006-02-06
- 2006-02-05 09:10 mwedel
- [r4424] Fix bug in previous commit (using string names for move_ values). Forgot
about the case where move_ was 0 - just save that as an int.
MSW 2006-02-05
- 2006-02-05 05:51 mwedel
- [r4423] No real code change - just making formatting consistent in manual_apply().
One minor note - move check for user being a PLAYER and object be a TREASURE
into the case that handles the TREASURE type - this matches with what we
do for all the other item types where we care about that.
MSW 2006-02-04
- 2006-02-05 05:27 mwedel
- [r4422] movement type changes. Add move_allow field to explicitly allow certain
movement types on spaces. Add suppport for using string names instead
of numeric values to specify the MOVE_ values. Add code so when saving
data out, use string names instead of numeric value.
---
common/loader.l: Remove save_double(), as it isn't used by any code.
Add set_move() to set movement types from strings.
Add get_string_move_type, which takes integer movement type and
returns a string. Update load and save code to use these functions
respectively.
common/map.c: Change blocked_link() so that we only examine all the objects
on a space if there is something alive on the space or space is otherwise
blocked. There is no reason to examine all the objects on the space if
the object in question can move onto it.
Modify update_position() to use the move_allow field to clear bits
in the move_block field.
common/object.c: Add check in CAN_MERGE for move_allow. Add check for
move_allow in update_object to see if we should update the space or
not.
doc/Developers/objects: Update Movement code section to note use of using
strings to set movement types. Add note about move_allow. Section
about Transports added, but code isn't there yet.
include/object.h: Add move_allow to object structure.
MSW 2006-02-04
- 2006-02-05 03:56 mwedel
- [r4421] No code change - just cleaning up the formatting of move_marker() -
indentation was all wacky.
MSW 2006-02-04
- 2006-02-04 15:46 akirschbaum
- [r4420] Add trailing \\n to LOG() messages.
- 2006-02-04 01:32 akirschbaum
- [r4417] Fix attack messages containing random characters.
- 2006-02-03 02:34 cavesomething
- [r4415] fix bug #1413239 related to the who command
- 2006-02-01 04:27 qal21
- [r4413] Fixed arch2xml.py script to parse comments
- 2006-01-30 17:00 cavesomething
- [r4410] prevent unlimited login attempts by dropping the connection after too many password failures. Document the itemcmd setup flag, and improve that for the item and item2 commands
- 2006-01-22 02:32 mikeeusa
- [r4408] adding to the player v player stealing setting comment explicitly showing how to enable it (this will avoid any possibility of questions on it... I assume)
- 2006-01-21 16:56 ryo_saeba
- [r4406] Improved installer, now separates unlinked/python/test maps.
- 2006-01-15 16:50 ryo_saeba
- [r4399] Custom commands fixes. Global logout event change.
- 2006-01-14 11:41 ryo_saeba
- [r4397] New files
- 2006-01-13 21:26 akirschbaum
- [r4391] socket/request.c: In ReplyCmd() make sure the reply does not cause a buffer
overflow.
- 2006-01-13 20:59 akirschbaum
- [r4390] Fix mismatch 'client' and 'server' in darkness setup option.
- 2006-01-13 20:42 cavesomething
- [r4389] fix a crash bug in addspell packet formation
- 2006-01-13 07:10 mwedel
- [r4384] Quick change to include proper byte counts in packet sizes for
spell - see if it will reduce the crashes.
MSW 2006-01-12
- 2006-01-11 16:28 cavesomething
- [r4375] stop rename crashing if there is no name to rename to when object is passed by number.
- 2006-01-11 08:12 mwedel
- [r4374] Make function ANSI C compliant.
MSW 2006-01-11
- 2006-01-11 08:05 mwedel
- [r4373] Doesn't really fix anything - just that I had fixed the same bug that
Andreas did. I think my fix is slightly better since it uses spaces
and map value already calculated, so should be slightly faster so that
work doesn't need to be done again.
MSW 2006-01-10
- 2006-01-11 02:03 cavesomething
- [r4370] allow rename command to use item tag instead of name
- 2006-01-10 16:32 cavesomething
- [r4368] allow spells cast by number to take options, also the changelog entry which I forgot from the last commit
- 2006-01-09 19:35 cavesomething
- [r4358] spell listing support
- 2006-01-09 02:02 cavesomething
- [r4350] Allow cast and invoke commands to select spells by count as well as name
- 2006-01-08 23:57 qal21
- [r4349] Fixed misc 'warning: will never be executed' stuff
- 2006-01-08 23:12 qal21
- [r4348] Change 'if(0)' to an '#if 0'
- 2006-01-08 22:47 qal21
- [r4347] Fix warning with paranoid cflags and make more proper: Don't let inactive code that would never be reached get through the preprocessor.
- 2006-01-08 22:40 qal21
- [r4346] Fix stray commas at the end of enums (detection thanks to paranoid CFLAGS ;P)
- 2006-01-08 21:30 akirschbaum
- [r4344] include/newserver.h, socket/{init.c,request.c}: Remove unused fields ext2 and
ext_title_flag from NewSocket structure.
- 2006-01-08 21:02 akirschbaum
- [r4343] include/newserver.h, socket/{init.c,request.c}: Remove unused fields ext2 and
ext_title_flag from NewSocket structure.
- 2006-01-08 20:52 akirschbaum
- [r4340] Update to 'no_player_stealing' patch: use correct place to initialize settings structure.
- 2006-01-08 16:54 akirschbaum
- [r4324] server/skills.c: Fix/improve feedback messages for stealing skill.
- 2006-01-08 16:31 akirschbaum
- [r4323] Apply modified patch #1396303 (add setting to disable stealing from players)
by Terry Brown. It adds a new option "no_player_stealing" to the settings
file. If set, it prevents players from stealing from other players. It
defaults to ON.
- 2006-01-08 14:35 akirschbaum
- [r4322] server/plugins.c: Just whitespace changes to make it conform to
programming_guide.
- 2006-01-08 13:45 akirschbaum
- [r4321] plugins/cfpython/cfpython.c: Just whitespace changes to make it conform to
programming_guide.
- 2006-01-08 13:23 akirschbaum
- [r4320] plugins/cfpython/cfpython.c: Make sure context->options always is initialized.
- 2006-01-08 13:06 akirschbaum
- [r4319] server/main.c: Make code more readable; use snprintf where appropriate.
- 2006-01-08 11:05 akirschbaum
- [r4318] crossedit/Cnv/CnvPrompt.c: Make file compilable with Ansi C89 compiler.
- 2006-01-08 10:23 ryo_saeba
- [r4317] Missing directory.
- 2006-01-08 06:48 qal21
- [r4314] Remove win32 cr characters
- 2006-01-07 23:37 ryo_saeba
- [r4310] Dispatch Python event handler scripts in subdirectories.
- 2006-01-07 18:56 akirschbaum
- [r4309] Use named constants instead of numbers.
- 2006-01-07 18:30 akirschbaum
- [r4308] server/monster.c: Use correct field name in move_monster().
- 2006-01-07 18:18 akirschbaum
- [r4307] Fix comment.
- 2006-01-07 18:13 akirschbaum
- [r4306] Summon pets less often to the owner on tiled maps.
- 2006-01-07 18:05 akirschbaum
- [r4305] Change meaning of "items are on same map": for tiled maps now two objects are
also considered to be on the same map if they are on diagonally adjacent maps.
This solves the issue that a pet can be only one tile away from the owner but
still considered not to be on the same map.
- 2006-01-07 17:41 ryo_saeba
- [r4304] Regions support for plugins
- 2006-01-07 14:30 akirschbaum
- [r4302] Make teleporters hidden below the floor work again.
- 2006-01-07 12:49 akirschbaum
- [r4300] Fix issues with map tiling.
- 2006-01-07 06:33 qal21
- [r4299] Actually, reletive paths should work from unique maps too; my thoughts on why they woudln't be for are flawed.
- 2006-01-06 20:31 mikeeusa
- [r4298] adding some regions
- 2006-01-06 19:22 mikeeusa
- [r4297] adding some regions
- 2006-01-06 18:55 qal21
- [r4296] Allow map tiling paths to be reletive unless tiling from a unique map.
- 2006-01-06 18:38 qal21
- [r4295] Template maps: Improve reletive path support
- 2006-01-05 18:44 qal21
- [r4284] Template maps: Add an important null check.
- 2006-01-05 18:22 qal21
- [r4282] Template maps: Update changelog (forgot to before)
- 2006-01-05 18:15 qal21
- [r4281] Template maps: Impliment using fixed maps as templates
- 2006-01-04 21:50 akirschbaum
- [r4274] Make SIGNs (including Magic Mouths) trigger for DMs again. Does not reduce the
counter if in 'wizpass mode.
- 2006-01-02 07:16 mwedel
- [r4259] Recollect archetypes/images, since there has been a bunch of changes.
MSW 2006-01-01
- 2006-01-02 06:45 mwedel
- [r4257] server/spell_effect.c: Apply patch 1394861 - fixes magic walls. In conjuction
with archetype changes, look at the spell object (and not created wall)
to see if it blocks.
MSW 2006-01-01
- 2006-01-02 05:50 mwedel
- [r4254] server/c_chat.c: Apply patch 1389113 - orcknuckle messages appear in
same window.
MSW 2006-01-02
- 2006-01-01 20:57 akirschbaum
- [r4251] Prefer marked item when throwing objects.
- 2006-01-01 20:36 akirschbaum
- [r4250] Make EXITs affect DM players again.
- 2006-01-01 13:39 akirschbaum
- [r4249] Make forked lightning correctly traverse tiled maps.
- 2006-01-01 13:03 akirschbaum
- [r4247] Properly unready forgotten spells. Prevents crashing the server if casting a
forgotten spell.
- 2006-01-01 11:58 akirschbaum
- [r4244] Improve the commands learn_spell and forget_spell: now these commands accept
partial spell names and print sensible error messages if they fail.
- 2006-01-01 11:33 ryo_saeba
- [r4243] Reference-related crashes
- 2006-01-01 11:22 akirschbaum
- [r4242] Update obsolete comment; remove useless expression.
- 2005-12-31 19:56 akirschbaum
- [r4238] Apply modified patch #1391648 (FIX: new movement code and generators) by Lalo
Martins. This fixes bugs #1383398, #1383392, #1375643, #1372035, #1370409; all
bugs are related to objects stacking which should not stack.
- 2005-12-31 18:20 ryo_saeba
- [r4231] Don't print file not found messages for global events.
- 2005-12-31 16:39 akirschbaum
- [r4224] Make file compilable again.
- 2005-12-28 23:00 ryo_saeba
- [r4223] More leak fix
- 2005-12-28 09:54 ryo_saeba
- [r4221] Scripts don't share variables anymore.
- 2005-12-27 14:38 ryo_saeba
- [r4219] Apply patch #1383359 (Fix death message) courtesy Anton Oussik
- 2005-12-23 21:56 akirschbaum
- [r4189] server/skills.c: In steal() do not give exp for stealing from pets since this
can be exploited to gain exp over and over.
- 2005-12-18 11:45 akirschbaum
- [r4162] Code reformatting to a consistent style and to comply with programming_guide;
should not affect behavior: mostly whitespace or comment changes; convert all
TABs into spaces; rewrite statements to improve readability.
- 2005-12-17 19:45 ryo_saeba
- [r4161] Indentation
- 2005-12-17 19:42 ryo_saeba
- [r4160] Missing break. Add void to function declaration.
- 2005-12-17 18:34 ryo_saeba
- [r4159] Forgot some magic
- 2005-12-17 18:26 ryo_saeba
- [r4158] Update Win32/MSVC project file
- 2005-12-17 18:24 ryo_saeba
- [r4157] Add missing files, tentative fix for build under Linux
- 2005-12-17 18:21 ryo_saeba
- [r4156] Plugins can get party information
- 2005-12-15 21:50 akirschbaum
- [r4143] server/attack.c: Make spells destroy objects again.
- 2005-12-13 22:17 ryo_saeba
- [r4135] Moved natural resistances display from statistics to resistances
- 2005-12-11 20:57 ryo_saeba
- [r4133] Fix Win32 compilation
- 2005-12-11 19:11 akirschbaum
- [r4132] Fix buffer overflows which can be triggered remotely.
- 2005-12-11 18:06 akirschbaum
- [r4131] Prevent the map loader from crashing when loading maps with incorrect headers.
- 2005-12-11 12:32 akirschbaum
- [r4128] lib/collect.pl.in: General cleanup - just whitespace changes.
- 2005-12-11 11:56 akirschbaum
- [r4127] Prevent the map loader from crashing when loading maps with incorrect headers.
Changes are based on patch #1275563 by Kevin Rudat.
- 2005-12-10 23:34 akirschbaum
- [r4122] Fix credits for patch.
- 2005-12-10 23:32 akirschbaum
- [r4121] Apply modified second part of patch #1275563 (Crossedit: fix map attributes
window) by Kevin Rudat: let crossedit save/load tiling paths as the mapmaker
entered them, rather than saving the normalized version.
- 2005-12-10 14:47 akirschbaum
- [r4113] server/move.c: In move_ob() print error message instead of crashing: check
passed arguments before accessing them.
- 2005-12-10 14:27 akirschbaum
- [r4112] common/object.c, server/{pets.c,player.c,spell_attack.c,time.c},
socket/request.c: Properly check for P_OUT_OF_MAP after calling
get_map_flags().
- 2005-12-10 10:37 ryo_saeba
- [r4111] Remove duplicated header
- 2005-12-09 22:17 ryo_saeba
- [r4110] Fix Windows compilation
- 2005-12-09 21:34 akirschbaum
- [r4108] crossedit/Makefile.in: Rebuilt.
- 2005-12-09 21:24 akirschbaum
- [r4107] Apply slightly modified first part of patch #1275563 (Crossedit: fix map
attributes window): make the map attributes dialogs work again.
- 2005-12-08 21:57 akirschbaum
- [r4105] common/Makefile.in, include/Makefile.in: Rebuilt.
- 2005-12-08 21:50 akirschbaum
- [r4104] Remove a strange feature of normalize_path(): it did convert the path
"<path1>//<path2>" into "/<path2>". Also add a stand-alone application for
regression testing this function, and fix a few issues with ".." in path name.
- 2005-12-07 21:02 akirschbaum
- [r4099] server/ban.c: General cleanup - whitespace changes, rename variable names.
Should not affect function.
- 2005-12-07 20:29 akirschbaum
- [r4098] server/apply.c: In player_apply() do not consider DM PLAYERs to be DM-created
items. This prevents the server from destroying the player object (and
crashing shortly afterwards).
- 2005-12-07 19:39 akirschbaum
- [r4097] Apply slightly modified patch #1293744 (Inversed ban entries) by Thomas
Equeter.
- 2005-12-07 18:25 akirschbaum
- [r4093] Apply modified patch #1293774 (Kick banned hosts at once) by Thomas Equeter:
disconnect new connection for banned host right after connecting. Also add
support for user name in ban files.
- 2005-12-05 23:34 akirschbaum
- [r4092] Apply patch #1371956 (code cleanup patch) by Stefan Huehner: fix old-style
function declarations and prototypes to proper Ansi C syntax. This patch
allows the compiler to check function arguments and also removes some warnings
when compiling with -Wstrict-prototypes.
- 2005-12-05 23:01 akirschbaum
- [r4091] common/loader.c: Rebuilt.
- 2005-12-05 22:58 akirschbaum
- [r4090] Fix bug #1173563 (Creator created Bombs malfunction): Creators and Converters
now copy items from inventory. Fallback (for empty inventory) is the old
behavior to create the new item from other_arch. If the inventory contains more
than one item, a random one is picked.
- 2005-12-04 13:26 ryo_saeba
- [r4085] New plugin property 'marked item'
- 2005-12-04 11:01 ryo_saeba
- [r4082] References fix
- 2005-12-04 06:35 akirschbaum
- [r4079] Fix bug #1372194 (stairways now block movement).
- 2005-12-02 21:09 akirschbaum
- [r4076] server/apply.c: In move_apply() properly decrement recursion counter.
- 2005-12-01 08:25 mwedel
- [r4075] server/spell_attack.c: Add some missing P_IS_ALIVE checks - these weren't
needed in the past because living objects would block movement -
with new movement code, isn't always the case.
server/time.c: Fix player movers so that if the victim doesn't have any
movement type, we move it.
MSW 2005-11-30
- 2005-11-30 21:16 akirschbaum
- [r4074] Fix function comment.
- 2005-11-30 20:59 akirschbaum
- [r4073] common/time.c: In move_teleporter() and move_player_mover() do not affect DMs
if FLAG_WIZPASS is set.
common/object.c: In check_move_on() do not affect DMs if FLAG_WIZPASS is set.
This prevents DMs from triggering traps when walking over them.
- 2005-11-30 08:10 mwedel
- [r4070] server/c_party.c: Remove double use of ->next pointer/loop in
confirm_party_password() - fixes crash and likely makes setting party
password work more reliably.
MSW 2005-11-29
- 2005-11-30 07:58 mwedel
- [r4069] common/map.c: Replace code with OB_TYPE_MOVE_BLOCK - effectively same as what
it was.
include/define.h: Update OB_TYPE_MOVE_BLOCK so that spaces that don't block
any type of movement doesn't block objects that also don't have movement.
This fixes cases of gates not pushing objects off them.
MSW 2005-11-29
- 2005-11-28 19:50 akirschbaum
- [r4058] common/object.c: Fix wrong comparision operator in free_object2() to make
monsters drop loot again.
- 2005-11-27 15:13 ryo_saeba
- [r4057] A few tweaks to build process
- 2005-11-27 14:19 ryo_saeba
- [r4056] Revert accidental commit
- 2005-11-27 14:16 ryo_saeba
- [r4055] Add a filter to skills command
- 2005-11-26 14:04 ryo_saeba
- [r4049] Wrappers for map properties get
- 2005-11-23 23:04 akirschbaum
- [r4045] plugins/cfpython/Makefile.in: rebuilt.
- 2005-11-20 15:17 ryo_saeba
- [r4043] Fix/break? build.
- 2005-11-20 15:15 ryo_saeba
- [r4042] Fix build.
- 2005-11-20 15:08 ryo_saeba
- [r4041] Plugins can access archetypes. Added wrappers in Python.
- 2005-11-19 21:05 cavesomething
- [r4039] increase the minimum value that shop_specialisation_ratio returns to 0.1 to stop very high shop prices
- 2005-11-16 08:16 mwedel
- [r4037] Commit for new blocking code. Not going to dictate all the changes -
but will outline the broad points. Note also that the
doc/Developers/objects is updated and goes into more details also.
- check for P_WALL no longer used - instead, need to use GET_MAP_MOVE_BLCOK
and check against movement type of objects.
- arch_blocked() changed to ob_blocked(), now takes object. Needed because
just looking at archetype move_ values is no longer sufficient.
- find_first_free_spot() changed to take object, since it just calls
arch_blocked()
- FLAG_FLYING removed, now in move type.
- walk_on/walk_off/fly_on/fly_off removed - now based on move_on and
move_off fields.
- Map space structure extended to hold the move_on/move_off, etc
values so that we can shortcut some processing by not having to
check every object on the space when something enters it if
move_on isn't set.
- archetypes recollected - boulders needed move_walk to properly trigger
buttons.
- Note that the new plugin code has to be fixed up for the new movement
code. Look for FIXME in plugins/cfpython/cfpython_object.c
MSW 2005-11-15
- 2005-11-12 13:49 ryo_saeba
- [r4031] Patch 1352485 (newpickup rings/amulets) courtesy anonymous
- 2005-11-11 21:56 ryo_saeba
- [r4030] Version info for plugin
- 2005-11-10 10:13 gros
- [r4021] Correcting incorrect memory allocation scheme crashing the server after a couple of plugin/plugout commands.
- 2005-11-10 08:22 akirschbaum
- [r4020] server/plugins.c: Properly update client view after removing objects.
- 2005-11-09 22:27 akirschbaum
- [r4018] server/plugins.c: Properly update client view after changing object names.
- 2005-11-09 21:52 akirschbaum
- [r4017] Implement new function for the Python plugin: Object.NamePl. Change Object.Name
to set both name and name_pl. This should prevents scripts from failing to set
name_pl.
- 2005-11-09 21:46 akirschbaum
- [r4016] server/plugins.c: Return an empty string if an object has no message. This
makes Object.Message() always return a string object, which removes the
need for special case code to handle empty messages.
- 2005-11-09 19:34 akirschbaum
- [r4015] include/sproto.h, server/monster.c: Declare parameter of communicate() as
"const".
- 2005-11-09 19:08 akirschbaum
- [r4014] Implement new functions for the Python plugin: Object.WeightLimit,
Object.InsertInto(Object).
- 2005-11-09 15:37 cavesomething
- [r4010] check all unpaid items on leaving shops, not stopping when we reach the bottom of a container
- 2005-11-07 23:25 ryo_saeba
- [r4002] Fix crash with Python plugin.
- 2005-11-06 12:24 ryo_saeba
- [r3996] Fix WoR not working on cursed ground with WIZCAST set for DM
- 2005-11-06 12:14 akirschbaum
- [r3995] server/skills.c: In do_throw() abort processing if the thrown object was
destroyed before it gets its first move.
- 2005-11-05 21:32 ryo_saeba
- [r3993] Fix build issue with floors that are not type FLOOR.
- 2005-11-05 20:38 akirschbaum
- [r3991] server/shop.c: In value_limit() return the unmodified item price if not in a
shop or not for a player.
- 2005-11-05 20:33 ryo_saeba
- [r3990] Added data retention functions to Python
- 2005-11-05 15:45 akirschbaum
- [r3986] plugins/Makefile,plugins/cfanim/Makefile: Remove files to be generated by
configure.
- 2005-11-05 14:02 akirschbaum
- [r3983] server/main.c: Fix possible out-of-bounds array access.
- 2005-11-05 11:17 ryo_saeba
- [r3982] Fix case. Add compare for map and object.
- 2005-11-05 10:17 akirschbaum
- [r3980] aclocal.m4, configure, utils/config.guess, utils/config.sub, utils/ltmain.sh,
*Makefile.in, plugins/cfanim/Makefile, plugins/Makefile: Rebuilt.
- 2005-11-05 08:28 akirschbaum
- [r3979] lib/Makefile.am: Add template-maps to list of directories to create while
install.
- 2005-11-05 05:16 cavesomething
- [r3977] document use of '.' as an argument to reset
- 2005-11-01 20:52 akirschbaum
- [r3968] random_maps/treasure.c: Fix out-of-bounds array access if place_chest() cannot
find a free spot to place a new chest.
- 2005-11-01 18:56 akirschbaum
- [r3967] Fix bug #1082534 (monks with weapons): Now monks properly are denied from
using weapons. Only newly created monks are affected since it now relies on a
force named "no weapon force" in the player's inventory. The problem was that
become_follower() assumed it was the only means do allow/disallow weapon use.
- 2005-11-01 15:36 akirschbaum
- [r3965] Fix bug #815620 (CFPython.SetQuantity() doesn't update client): now notifies
the client after changing nrof and/or weight.
- 2005-11-01 13:42 akirschbaum
- [r3963] Improve newpickup command: add new flag PU_NOT_CURSED to ignore cursed items.
- 2005-11-01 12:11 ryo_saeba
- [r3962] Add animator (experimental) to installer
- 2005-11-01 11:50 ryo_saeba
- [r3961] Fix workspace & such, add cfanim.
- 2005-11-01 11:48 ryo_saeba
- [r3960] Fix CFAnim for Win32. Misc fixes.
- 2005-11-01 11:08 ryo_saeba
- [r3959] Add gettimeofday for WIN32.
- 2005-11-01 11:05 akirschbaum
- [r3958] server/plugins.c: Print error message for event_xxx objects with missing or
invalid parameters. Also remove the affected object to prevent multiple
error messages.
- 2005-11-01 10:32 gros
- [r3957] Corrected unresolved symbols issues.
- 2005-11-01 10:08 akirschbaum
- [r3955] Add new function object_get_env_recursive() to find the outermost environment
object for a given object.
- 2005-11-01 09:02 akirschbaum
- [r3954] General cleanup of weather code.
- 2005-10-31 21:23 akirschbaum
- [r3953] Fix bug #1102975 (Bronze items not keeping their + in alchemy): the problem
was that a formula for full_helmet did exist but not for b_full_helmet. Since
both helmet's names are "full helmet", the recipe was selected even if using
the ingredient b_full_helmet. This fix adds new formulae for alternative
archetypes with the same name as the base object, and makes the server code
select the matching formula from multiple arch names in the "arch" field.
- 2005-10-31 20:58 akirschbaum
- [r3952] Replace undefined function max() by MAX().
- 2005-10-31 20:57 akirschbaum
- [r3951] Make protoype match implementation.
- 2005-10-31 18:44 ryo_saeba
- [r3950] Fix a crash with create command. Forbid removing a PLAYER object.
- 2005-10-31 07:52 gros
- [r3949] Corrected a nasty conversion from object* to char*
- 2005-10-30 00:16 akirschbaum
- [r3948] Fix bug #1236244 (Exp from scrolls): reading a scroll of charm monsters or
meteor swarm now gives exp for use magic item, not summoning or pyromancy.
- 2005-10-29 22:03 akirschbaum
- [r3947] random_maps/style.c: Pass correct sorting function to qsort(): the sorted
array contains pointers to strings, not strings.
- 2005-10-29 21:59 akirschbaum
- [r3946] Fix part of bug #1236244 (Exp from scrolls): reading a scroll of charm
monsters now gives exp for use magic item, not summoning.
- 2005-10-29 12:23 ryo_saeba
- [r3944] Fix the fix :)
- 2005-10-29 09:34 ryo_saeba
- [r3942] Win32 compilation fix. Plugin fix.
- 2005-10-28 23:43 akirschbaum
- [r3941] Prevent problems (crashes) for large item piles. Now limit nrof to less than 2^31.
- 2005-10-28 19:08 akirschbaum
- [r3937] Fix compiler warnings. Most changes do not change the program (remove unused
variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix
(possible) problems (fix uninitialized variables, fix printf format
specifiers, fix mismatches between signed and unsigned variables, add missing
return and default statements).
- 2005-10-28 18:19 akirschbaum
- [r3935] Fixes my previous commit. Should now properly allocate/deallocate the
faces_sent array.
- 2005-10-26 08:41 gros
- [r3931] Solved an x86 (32bit) specific issue creating symbol mismatches in the plugin dynamic linking.
- 2005-10-24 22:51 akirschbaum
- [r3929] The archetypes now contain more than MAXFACENUM (5000) faces. The following
changes remove the fixed limit of the number of faces. The server now
allocates enough memory to handle all defined faces.
include/newserver.h: Remove MAXFACENUM since it is not used anymore. Change
NewSocket.faces_sent from array into pointer.
socket/{init.c, loop.c}: Allocate/initialize NewSocket.faces_sent.
socket/request.c: Remove safeguard/error message since it depends on
MAXFACENUM.
- 2005-10-24 20:48 akirschbaum
- [r3928] Code improvements:
common/image.c: Declare some variables and functions as static or const; add
safeguards while loading config files; remove support for numeric face
names (no active archetype or map does use it); in free_all_images()
deallocate memory allocated for smoothing.
crossedit/xutil.c: Remove assignment to nrofpixmaps since ReadBmapNames()
already sets this variable.
include/{global.h, libproto.h, loader.h}: Remove now static variables and
functions.
- 2005-10-24 20:32 akirschbaum
- [r3927] Remove stray characters causing a syntax error.
- 2005-10-24 19:49 akirschbaum
- [r3926] common/readable.c: Fix out of bounds access to max_titles[] in
init_book_archive().
- 2005-10-24 19:28 gros
- [r3925] Corrected a bug in the custom command system of cfpython.
Gros - 24/10/2005
- 2005-10-24 18:27 akirschbaum
- [r3924] common/image.c, include/define.h, include/global.h: Remove unused variables
potion_face and POTION_FACE_NAME.
- 2005-10-24 18:11 akirschbaum
- [r3923] common/image.c, include/global.h: Remove unused variable blank_look.
- 2005-10-23 15:44 akirschbaum
- [r3921] Make shout command work in old socket emulation mode.
- 2005-10-21 19:03 cavesomething
- [r3920] make shops check if a player can afford all items, before buying any of them
- 2005-10-20 09:34 gros
- [r3918] Updated the changelog to include the recent plugin modifications.
Gros - 20/10/2005
- 2005-10-20 09:11 gros
- [r3917] Solved an issue related to regenerating the function prototypes of cfpython.
Gros - 20/10/2005
- 2005-10-19 20:57 gros
- [r3913] Cleaning up the console spam produced by cfanim.
Gros - 19/10/2005
- 2005-10-19 20:50 gros
- [r3911] Added support for running python_init.py at CFPython startup.
Gros - 19/10/2005
- 2005-10-19 19:42 gros
- [r3907] Various small fixes of the plugin subsystem.
Gros - 19/10/2005
- 2005-10-18 22:12 ryo_saeba
- [r3906] Update MSCV project.
- 2005-10-18 22:08 ryo_saeba
- [r3905] Fix Windows compilation
- 2005-10-18 20:17 bbotbuilder
- [r3903] Recollect archetypes.
- 2005-10-18 16:54 gros
- [r3898] Upgrade of the Crossfire server to version 2.0 of the plugin interface.
Upgrade of the Python plugin to version 2.0 of the plugin interface.
Gros - 18/10/05
- 2005-10-18 15:12 gros
- [r3897] Moving the Animator documentation in a more logical place. Part of the version 2.0 plugin interface switch.
Gros - 18/10/2005
- 2005-10-18 14:51 gros
- [r3896] Version 2.0 of the Animator and Python plugins. Part of the transition to version 2.0 of the plugin interface.
An empty template for plugins writing as well as a library of common wrappers are also provided.
Gros - 18/10/2005
- 2005-10-18 14:42 gros
- [r3895] Removal of the old Animator plugin code, as part of the move to version 2.0 of the plugin interface.
An adapted version of the Animator code will get into plugins/cfanim.
Gros - 18/10/2005
- 2005-10-18 14:36 gros
- [r3894] Removing the old plugin_logger files. Part of the migration to version 2.0
of the plugin code.
Given the current (broken) status of plugin_logger, expect a significant
rewrite to take place before seeing it again.
Gros - 18/10/2005
- 2005-10-18 12:21 qal21
- [r3893] Silly me forgot to date the changelog again.
- 2005-10-18 07:19 qal21
- [r3891] Template Maps: Allow %x, %y, and %n in the path to respectively be replaced with, the x coord, the y coord, and the parent map name.
- 2005-10-17 13:08 qal21
- [r3886] Add convenience function for string replacement (Which I plan to use soon)
- 2005-10-16 22:52 qal21
- [r3884] Template maps: Forgot the ChangeLog
- 2005-10-16 22:51 qal21
- [r3883] Add support for random template maps (still need to document, and still need to add support for template maps created from non-random templates)
- 2005-10-16 22:32 qal21
- [r3882] Clarify comment slightly.
- 2005-10-16 17:51 ryo_saeba
- [r3881] Fix -m1 and -m2
- 2005-10-16 09:22 ryo_saeba
- [r3879] Check for Python DLL. Fix typo in path remove.
- 2005-10-16 08:48 ryo_saeba
- [r3878] Don't stack WoR effects. Don't display 'can't recast xx' message for divine intervention
- 2005-10-15 08:40 ryo_saeba
- [r3875] print_shop_string can safely be void
- 2005-10-15 07:25 qal21
- [r3874] Make win32 users happy. (Untested: Ryo will have to check this)
- 2005-10-15 07:19 qal21
- [r3873] Forgot to date ChangeLog entry
- 2005-10-15 07:08 qal21
- [r3872] Add directory in preparation for template (where the template can be from the random map generator) maps. (Forgot ChangeLog)
- 2005-10-15 07:07 qal21
- [r3871] Add directory in preparation for template (where the template can be from the random map generator) maps.
- 2005-10-14 01:01 cavesomething
- [r3867] make reset command print names of players that are stopping it from working
- 2005-10-13 07:26 mwedel
- [r3866] Add extra set of parentheses (and !=NULL check for clarity) -
gcc warns on while (a=b) type constructs.
MSW 2005-10-12
- 2005-10-13 07:24 mwedel
- [r3865] Remove subtype<0 check - subtype is an unsigned value, so can never
be less than zero - removes gcc warning message.
MSW 2005-10-12
- 2005-10-13 07:22 mwedel
- [r3864] No actual code change - just use #if 0/#endif to comment out of blocks -
gcc generates warnings on comments being inside comments, generate
a bunch of warning messages that one has to then ignore.
MSW 2005-10-13
- 2005-10-11 23:26 cavesomething
- [r3860] yet another party obsoletion bug fixed
- 2005-10-11 20:44 cavesomething
- [r3858] fix a party obsoletion bug
- 2005-10-09 08:52 ryo_saeba
- [r3847] Rebuild archetypes and such.
- 2005-10-09 08:49 ryo_saeba
- [r3846] Fix bug in key/value. Can now drop item when applying food/potion/poison.
- 2005-10-09 08:30 ryo_saeba
- [r3843] Remove trailing spaces that confuse parser
- 2005-10-09 07:34 ryo_saeba
- [r3842] Don't hardcode strings. Undead_name contains undead name.
- 2005-10-08 09:56 ryo_saeba
- [r3841] Removed gps code. Added GetMarkedItem to Python
- 2005-10-07 23:35 akirschbaum
- [r3833] Prevent objects from losing inventory when thrown.
include/libproto.h, common/object.c: Add new parameter "free_inventory" to
free_object(). Is set, free inventory as well instead of dropping it on the
ground.
common/object.c: In get_split_ob() prevent inventory of splitted object to be
dropped.
- 2005-10-07 19:41 qal21
- [r3828] Use object_create_clone in get_split_ob; Fixes things inside of objects disappearing when throwing.
- 2005-10-07 19:38 akirschbaum
- [r3827] Make damage done by area spells not depend on monster size.
include/sproto.h, server/attack.c: Add additional parameter "full_hit" to
hit_map() and hit_player(). If set, do full damage, if unset scale down by
monster size.
server/{apply.c, attack.c, disease.c, monster.c, player.c, rune.c,
spell_attack.c, spell_effect.c, spell_util.c, time.c}: Change callers to set
"full_hit" parameter according to the attack used.
- 2005-10-07 17:54 akirschbaum
- [r3821] common/{arch.c, object.c}, crossedit/{Attr.c, Defines.h, Edit.c},
include/libproto.h, server/{plugins.c, time.c}: Rename functions with
mixed-case names to lower case only.
crossedit/Defines.h: Remove prototypes for nonexisting functions.
- 2005-10-06 23:36 akirschbaum
- [r3805] server/apply.c: In prepare_weapon() do not lose a reference to the item name.
- 2005-10-06 21:25 ryo_saeba
- [r3804] Declaration are before assignments.
- 2005-10-06 13:18 cavesomething
- [r3801] fix value calculations for alchemy and pickup code
- 2005-10-06 05:27 qal21
- [r3800] Fix segfault upon alchemy spell after updating to the new shop code: Make sure who is non-null in query_cost for certain portions of logic.
- 2005-10-05 22:07 akirschbaum
- [r3796] server/monster.c: In move_monster() prevent hp/sp overflows for monsters with
very high maxhp/maxsp and very high regeneration rates.
- 2005-10-05 01:01 cavesomething
- [r3786] prevent crashyness on some broken treasure lists
- 2005-10-04 17:16 ryo_saeba
- [r3783] Fix Windows compilation
- 2005-10-04 06:12 mikeeusa
- [r3782] CVS: crossfire: added amethyst to the treasureslist and artifact file where needed, while not the most valuable of gems, it's not often found around these parts
- 2005-10-04 05:49 mikeeusa
- [r3781] CVS: crossfire: added amethyst to the treasureslist, while not the most valuable of gems, it's not often found around these parts
- 2005-10-04 05:25 mikeeusa
- [r3780] CVS: crossfire: added amethyst to the treasureslist, while not the most valuable of gems, it's not often found around these parts
- 2005-10-04 05:06 cavesomething
- [r3779] fix output names in new_save_map.
- 2005-10-04 04:39 cavesomething
- [r3778] fix segfault in shops code when passed broken objects.
- 2005-10-04 03:54 bbotbuilder
- [r3777] Added "vial of poison" to the "shop_potion" treasure list.
- 2005-10-04 01:39 cavesomething
- [r3774] fix segfault in shops code, for real this time.
- 2005-10-04 01:00 cavesomething
- [r3773] fix segfault in shops code
- 2005-10-03 15:47 cavesomething
- [r3765] using < instead of > could prove helpful
- 2005-10-03 05:45 mikeeusa
- [r3763] CVS: crossfire: treasures: added some weapons and armour to the treasureslist
- 2005-10-03 03:29 cavesomething
- [r3762] add support for specialised shops
- 2005-10-01 18:17 ryo_saeba
- [r3751] Didn't read doc, but needed a fix anyway
- 2005-10-01 18:08 ryo_saeba
- [r3750] Fix diseases with negative value
- 2005-10-01 17:46 ryo_saeba
- [r3749] Fix const warnings
- 2005-10-01 17:46 ryo_saeba
- [r3748] Patches #1307880 and #1306987 courtesy quisar
- 2005-10-01 16:36 ryo_saeba
- [r3747] Clean some compilation warnings.
- 2005-09-30 19:14 ryo_saeba
- [r3741] Some plugin fixes, added [GS]etWeightLimit.
- 2005-09-28 20:01 akirschbaum
- [r3728] Ignore multiple identical attacktypes; correctly reject invalid attack type names containing digits.
- 2005-09-28 18:48 ryo_saeba
- [r3727] Improved collect.pl.in
- 2005-09-27 17:48 akirschbaum
- [r3721] server/spell_effect.c: In recharge() verify that the object to charge is in
fact a wand or staff.
- 2005-09-25 18:36 ryo_saeba
- [r3711] Changed quest system, needs tweaks and fixes.
- 2005-09-25 14:31 cavesomething
- [r3709] of course committing the file that was actually changed, should be consided entirely optional....
- 2005-09-25 14:24 cavesomething
- [r3708] more party bugfixes
- 2005-09-25 09:47 ryo_saeba
- [r3707] Fix some compilation warnings.
- 2005-09-25 02:17 cavesomething
- [r3706] oops, forgot the Changelog....
- 2005-09-25 02:15 cavesomething
- [r3705] make prior party obsoletion patch not completely broken
- 2005-09-24 09:55 ryo_saeba
- [r3700] Remove unused variable
- 2005-09-24 09:49 ryo_saeba
- [r3699] Fixes after party patch
- 2005-09-24 09:28 ryo_saeba
- [r3697] Patch 1194964 (party obsoletion) by cavesomething
- 2005-09-23 23:36 akirschbaum
- [r3695] Fix bug #744327 ('immortal' monsters): Prevent monsters from loosing hp or sp
if they have negative Con/Pow. For hp, this made some monsters unkillable
because they eventually had negative hp.
- 2005-09-21 13:06 qal21
- [r3687] Use #error directive, so certain C processing applications don't complain.
- 2005-09-18 00:01 cavesomething
- [r3675] Recollect archetypes, faces, etc
- 2005-09-17 23:31 qal21
- [r3674] Remove what appears to be a old debug message. Ugly to players.
- 2005-09-17 13:24 akirschbaum
- [r3667] Update client inventory view for players dieing in a shop with unpaid items in
inventory.
- 2005-09-16 01:02 qal21
- [r3647] Allow directors/movers to specify a specific arch/name/race.
- 2005-09-13 19:41 akirschbaum
- [r3635] Make untriggered TIMED_GATEs work again.
- 2005-09-13 06:46 mwedel
- [r3634] This change is mostly cosmetic and a preparation for the new movement
type code. Basically, it just changes the old object movement_type
field to attack_movement. This makes sense because that is what that
field is called in saved and loaded objects/archetypes, and thus
frees up that name for the new movement code.
--
common/button.c: field name change
common/loader.{cl}: field name change
doc/Developers/objects: Add section on new movement types, update old
documentation to note it is attack_movement and not movement_type
field that is important.
include/object.h: field name change.
server/attack.c: field name change.
server/monster.c: field name change
server/pets.c: field name change
server/skills.c: field name change.
server/spell_attack.c: field name change
server/spell_effect.c: field name change
MSW 2005-09-12
- 2005-09-09 21:09 akirschbaum
- [r3616] Allow a DM to cast spells and prayers in no-magic/no-prayer areas. Add new
command "wizcast" to toggle this setting.
- 2005-09-08 21:19 akirschbaum
- [r3615] server/monster.c: Set FLAG_READY_SKILL in monster_check_apply() for monsters
with skills. This fixes hill giants and trolls not throwing boulders
anymore.
- 2005-09-08 21:10 akirschbaum
- [r3614] server/monster.c: Add missing "break" statement in monster_can_pick(). It did
prevent some monsters from picking up scrolls.
- 2005-09-04 16:58 akirschbaum
- [r3596] common/{anim.c, image.c, los.c, map.c, porting.c, treasure.c},
include/define.h, random_maps/treasure.c,
server/{apply.c, c_misc.c, c_object.c, c_wiz.c, commands.c, daemon.c,
hiscore.c, init.c, login.c, player.c, plugins.c, resurrection.c, weather.c},
socket/{init.c, item.c, loop.c, lowlevel.c}: Use LOG() for error messages and
debug output instead of stdout/stderr. Include filename in error messages.
server/resurrection.c: Fix error message in read_player().
- 2005-09-04 15:44 tchize
- [r3595] Fixed a bug in map loading (doors and fireplacs could have disappear)
- 2005-09-03 20:42 tchize
- [r3591] Changed altar behaviour. Now altar can check also against fullname of object.
examples are:
slaying bronze sword +2
slaying diamond of exceptional beauty
- 2005-09-03 19:15 tchize
- [r3590] Added glowing crystal charge/max charge information in description.
See RFE #1241712 on sourceforge
http://sourceforge.net/tracker/index.php?func=detail&aid=1241712&group_id=13833&atid=363833
- 2005-09-03 00:27 akirschbaum
- [r3586] common/{loader.l, map.c, object.c}, include/{define.h, map.h, object.h}:
Accelerate map loading (a lot) and map saving (a bit) codes to improve map
transition experience.
common/loader.c: Rebuilt.
- 2005-09-03 00:20 akirschbaum
- [r3585] socket/item.c: Make selecting objects from ground view work again.
- 2005-09-03 00:12 akirschbaum
- [r3584] common/object.c: Fix update of player's ground view in insert_ob_in_map().
Previously the ground view was not updated after applying exits or after
being hit by a spell.
- 2005-08-31 21:53 akirschbaum
- [r3581] Fix bug #1102991 (Duplicate grapical display of the same monster):
doc/Developers/protocol: Change semantics of map_scroll command to what the
server actually does: big faces outside the viewable area are cleared. Add
newmap command.
include/newserver.h: Increase MAX_HEAD_OFFSET to 8 (the size of a Greater
Demon).
socket/request.c:
MapRedrawCmd(): Disable mapredraw command; it is now just ignored.
MapNewmapCmd(): Clear map state before sending newmap command.
check_head(): Remove redundant code.
update_space(): Move invariant condition out of loop to speed it up. Fix
uninitialized variable. Remove redundant condition. Fix off-by-one array
access.
update_smooth(): Remove unused code. Properly send cleared big faces.
draw_client_map(): Remove duplicate check. Properly clear newly visible
area when scrolling the map.
- 2005-08-31 20:07 tchize
- [r3580] Accelerated map loading (a lot) and map saving (a bit) codes to improve map transition
experience.
- 2005-08-30 22:15 akirschbaum
- [r3579] Add (slightly reformatted) patch #1276121 (Crossedit: handle big faces) by
Kevin Rudat:
crossedit/CrEdit.c: UpdatePosition(): Use new drawing subroutines.
crossedit/CrFace.c: DrawObject(): Use new drawing subroutine.
crossedit/CrList.c: Redisplay(): Use new drawing subroutine.
crossedit/CrUtil.c, crossedit/CrUtil.h: Remove FaceDraw(), add DrawFacePart()
and DrawPartObject().
crossedit/png.c: Upload the whole image, not just the top-left corner.
- 2005-08-30 18:50 akirschbaum
- [r3574] Fix bug #1256173 (Magic drain not exploding head):
server/spell_effect.c: Prevent mana transfer to/from caster himself; also
create fireball for overcharges resulting from sucking mana.
- 2005-08-29 20:18 akirschbaum
- [r3573] Fix bug #1059537 (Chainmail mutations):
common/loader.l: Remove code that "fixes" broken item names by removing a
leading material name. This effectively renames "mithril chainmails" into
"chainmails".
common/loader.c: Rebuilt.
- 2005-08-29 03:56 mwedel
- [r3571] Fix player weapon speed/speed. There are a few bugs this fixes:
1) when player hit something, a has_hit field was set to true, to denote
they hit something and to use weapon speed. However, this was only
cleared when player issued a command. Thus, if you are running
and hit something, you'd continue at weapon_speed pace until you
needed to change direction.
2) Because has_hit was used, this basically put in a 1 tick lag - you'd hit
something, but not until objects were processed and speed given would
you get your extra speed. Likewise, after you killed something, you'd
get your burst of speed for the next tick also.
--
server/main.c: Clear has_hit, change function to only do bounds checking,
not actually do weapon_speed adjustments.
server/player.c: Give player speed boost when they hit something.
MSW 2005-08-28
- 2005-08-29 03:52 mwedel
- [r3570] Fix up comment so easier to parse - using double negatives just makes
things confusing.
MSW 2005-08-28
- 2005-08-28 08:18 akirschbaum
- [r3567] Add patch #1274385 by Kevin Rudat to make crossedit draw floors on tiles with
items.
crossedit/CrEdit.c: Add call to update_position() in UpdatePosition().
- 2005-08-28 06:58 akirschbaum
- [r3566] Add patch #1271417 by Kevin Rudat to stop crossedit losing regions. Patch is
slightly modified to properly handle all map fields.
crossedit/Edit.c: Copy all map fields in MapMoveScrollResize(). Do not add a
msg header to already existing maps.
crossedit/crossedit.c: Call init_regions() at program initialization.
- 2005-08-27 22:10 akirschbaum
- [r3565] socket/init.c: Make setsockopt(REUSEADDR) work if using gcc in Ansi C mode on
Linux.
- 2005-08-27 21:42 akirschbaum
- [r3564] common/map.c: Change default values for reset_timeout, enter_x, and enter_y
map headers to zero. In set_map_reset_time() use MAP_DEFAULTRESET if
reset_timeout is zero. This change prevents crossedit from adding these
headers by just loading and saving a map.
include/config.h: Add MAP_DEFAULTRESET.
- 2005-08-25 20:44 akirschbaum
- [r3563] server/rune.c: Fix crash if casting disarm out of map bounds.
server/spell_effect.c: Fix crash if casting polymorph out of map bounds.
- 2005-08-23 05:42 mwedel
- [r3562] Apply patch 1200555 - addition of key/value lists which allows arbitrary
storing of data in objects - see doc/Developers/key-value for more
information
---
loader.l, loader.c: Add add_key_value() function which parses the unknown
line in the object/archetype. Update get_ob_diff() to make differences
for the key/value lists.
common/object.c: Add functions for properly comparing the key/value lists,
setting and getting the vaues, clearing values upon freeing of object,
etc.
doc/Developers/Makefile.am: Add key-value file.
doc/Developers/key-value: Documentation of this feature.
include/libproto.h: Rebuilt
include/object.h: Addition of key_value struct, addition of key_values
field to object.
MSW 2005-08-22
- 2005-08-20 06:15 mwedel
- [r3560] Remove files that appear to be committed in error - I can't
see any reason why these are in the doc area, and even if so,
not using proper directory naming anyways.
MSW 2005-08-19
- 2005-08-17 22:45 qal21
- [r3557] Clean up and fix bugs. Allow buttons and pedestals to be built underneath gates.
- 2005-08-17 18:38 qal21
- [r3556] Fix bugs, and allow buttons and pedestals to be built underneath gates.
- 2005-08-17 08:17 akirschbaum
- [r3555] socket/request.c: Fix range checking of toggleextendedtext parameters.
- 2005-08-17 07:44 akirschbaum
- [r3554] The following fix code that basically does "for(x = pos-5; x < pos+5; x++)".
This is not correct because it includes "pos-5" but not "pos+5".
common/los.c: Make lighted distance equal in all directions.
server/disease.c: Make infection distance equal in all directions.
server/monster.c: Make lighted distance equal in all directions.
- 2005-08-17 06:58 mwedel
- [r3553] Add patch by Kevin Rudat for applyable but non
pickable objects to have item items.
doc/Dvelopers/objects: Update item types.
socket/item.c: Use the head of any objects we send. Should generally
only be an issue for objects on the ground, as currently there is no
large objects players can pick up. Also fix up some of the formatting/
indenting in this file.
MSW 2005-08-16
- 2005-08-16 20:31 cavesomething
- [r3550] Add flag to lamps to make them able to be lit without needing negative light radii
- 2005-08-16 05:23 qal21
- [r3549] Add support for buildable signs and magic mouths/ears
- 2005-08-15 23:08 akirschbaum
- [r3548] lib/Makefile.am, lib/Makefile.in: Actually install help file for showpets.
- 2005-08-15 22:40 akirschbaum
- [r3547] common/living.c, include/living.h: Make global arrays really const.
- 2005-08-14 19:06 akirschbaum
- [r3546] server/gods.c: Fix crash for monsters without appropriate god.
- 2005-08-14 18:21 akirschbaum
- [r3545] server/gods.c: Add missing braces around body of if statement.
- 2005-08-12 23:16 cavesomething
- [r3540] Change the way NPCs are allocated gods
- 2005-08-12 13:47 ryo_saeba
- [r3539] Fields changed from char* to const char*, cleanup.
- 2005-08-12 08:18 ryo_saeba
- [r3538] Use const char* instead of char* when possible
- 2005-08-12 08:06 ryo_saeba
- [r3537] Add showpets file to install.
- 2005-08-11 22:23 cavesomething
- [r3535] Add help for showpets, and update help for killpets
- 2005-08-11 16:44 cavesomething
- [r3534] Add showpets command, let killpets selectively kill pets
- 2005-08-11 15:42 cavesomething
- [r3531] Make random maps take the region of the map creates them.
- 2005-08-11 09:35 ryo_saeba
- [r3530] 1.8.0 Windows release.
- 2005-08-11 08:59 ryo_saeba
- [r3529] Version information files.
- 2005-08-11 08:48 ryo_saeba
- [r3528] 1.8.0 Windows release.
- 2005-08-11 06:22 mwedel
- [r3525] Update for release 1.8.0.
include/Makefile.am: missing quest.h file
Rest automatic rebuild
MSW 2005-08-10
- 2005-08-10 13:38 ryo_saeba
- [r3524] Use ARCH_DEPLETION instead of depletion.
- 2005-08-10 05:54 qal21
- [r3522] Add region 'dream' which was causing server warnings. If anybody has anything better for an entry, please add it.
- 2005-08-10 04:57 mwedel
- [r3520] server/player.c: Set map for arrow as returned by get_map_flags -
otherwise when firing at edge of tiled maps, arrows could end up
in wrong place.
MSW 2005-08-09
- 2005-08-08 06:27 mwedel
- [r3519] include/config.h: Make DEBUG default - appears last commit changed this
as unrelated to actual changes in place.
include/sproto.h: Rebuild
server/player.c: fire_bow() - add checks for wall/out of map. fire_bow()
wasn't using right coordinates on check, which caused problems in
threewide mode at edge of maps.
MSW 2005-08-07
- 2005-08-01 20:36 qal21
- [r3518] Make get_real_owner make use of get_owner.
- 2005-07-30 18:59 ryo_saeba
- [r3515] Logger plugin compilation for Win32.
- 2005-07-30 15:03 ryo_saeba
- [r3513] Crash when news/rules >4096 bytes.
- 2005-07-30 09:47 ryo_saeba
- [r3512] Missing files at uninstall.
- 2005-07-30 08:24 ryo_saeba
- [r3511] Add news & rules to installer. Remove .pyc files at uninstall.
- 2005-07-29 18:05 ryo_saeba
- [r3509] Add some technical plugin information
- 2005-07-29 17:20 qal21
- [r3508] Fix battleground check, and some style nitpicks regarding NULL.
- 2005-07-29 16:45 qal21
- [r3507] Add more safeguards to arena petmode
- 2005-07-28 07:23 qal21
- [r3506] Fix bugs in arena petmode and clean up most of it's logic into it's own function. Document the arena petmode in the "help petmode" output.
- 2005-07-27 17:54 ryo_saeba
- [r3505] Inscription uses correct sp/grace points.
- 2005-07-26 00:23 akirschbaum
- [r3504] The following changes prevent spells in player's inventories from being
damaged by casting spells, using skills, or praying.
server/attack.c: Limit cancellation and acid attacks to visible objects only.
server/gods.c: Limit god granted remove curse/damnation to visible objects
only.
server/skills.c: Limit the skills sense curse and sense magic to visible
objects only.
server/spell_effect.c: Limit the spells detect curse and detect magic to
visible objects only.
- 2005-07-25 05:29 mwedel
- [r3503] recollect archetypes.
MSW 2005-07-24
- 2005-07-23 10:06 ryo_saeba
- [r3502] Fix message with 'null'
- 2005-07-22 20:41 ryo_saeba
- [r3501] Initialising values works better :)
- 2005-07-22 19:53 ryo_saeba
- [r3500] Better read doc next time.
- 2005-07-22 19:39 ryo_saeba
- [r3499] Don't uninstall service if not installed
- 2005-07-21 21:30 ryo_saeba
- [r3495] Small updates, points to quests document.
- 2005-07-21 21:18 ryo_saeba
- [r3493] Add item transformer client type.
- 2005-07-20 08:38 akirschbaum
- [r3487] random_maps/random_map.h: Add prototype for set_random_map_variable().
server/main.c: Remove prototype for set_random_map_variable().
- 2005-07-20 08:18 akirschbaum
- [r3486] lib/Makefile.am, lib/Makefile.in, lib/help/whereabouts: Add help for
whereabouts command.
- 2005-07-19 22:52 akirschbaum
- [r3485] server/apply.c: Properly terminate destination string with '\0' in
apply_item_transformer(). Avoid clearing the string buffer multiple times.
- 2005-07-19 20:59 ryo_saeba
- [r3482] Don't hardcode values. Fix item transformer code.
- 2005-07-19 19:30 akirschbaum
- [r3481] Add description for 'slaying' field.
- 2005-07-18 19:40 ryo_saeba
- [r3472] Add missing Win32 define.
- 2005-07-18 19:07 akirschbaum
- [r3471] server/plugins.c: Merge mostly identical code from #ifdef WIN32 and #else
blocks. Use opendir/readdir/closedir instead scandir for Unix because WIN32
probably does not have these functions. Prevent loading one plugin multiple
times.
include/sproto.h: Update prototypes for plugin functions.
server/c_wiz.c: Add success/failure messages to plugin and plugout commands.
Do not crash due to missing parameter.
- 2005-07-17 11:48 akirschbaum
- [r3462] server/pets: Fix off-by-one error in follow_owner().
- 2005-07-17 11:22 akirschbaum
- [r3461] server/c_wiz: Allow the summon and teleport commands to place the summoned
player/DM north-west of DM/player.
- 2005-07-17 11:00 ryo_saeba
- [r3460] Use const char* instead of char* when possible. Removed unused variables from weather code.
- 2005-07-17 10:57 akirschbaum
- [r3459] Remove unused variable.
- 2005-07-17 09:44 akirschbaum
- [r3457] server/apply.c: Make converters that increase value non-functional.
- 2005-07-17 04:19 qal21
- [r3456] Fixed bug in previous commit of arena petmode that cause pets that should be friendly to eachother to fight.
- 2005-07-16 22:05 akirschbaum
- [r3455] Remove non-existent file from list of help files to install.
- 2005-07-16 21:10 akirschbaum
- [r3454] Fix spelling errors in string constants.
- 2005-07-16 19:52 akirschbaum
- [r3453] server/c_misc.c: Remove superfluous trailing '\0' from strings.
- 2005-07-16 19:03 qal21
- [r3452] server/{c_misc.c, monster.c, pets.c}, include/player.h: Add new "arena"
petmode which allows pets to attack players and other pets while in the
arena.
Alex Schultz 2005-07-16
- 2005-07-16 18:14 akirschbaum
- [r3451] *Makefile.in, aclocal.m4, configure: Rebuilt generated files.
- 2005-07-16 18:02 akirschbaum
- [r3450] lib/Makefile.am: Update list of help files to install.
- 2005-07-16 14:20 akirschbaum
- [r3448] server/skills.c: Do not reveal a hidden DM in attempt_jump().
- 2005-07-16 14:02 akirschbaum
- [r3447] server/skills.c: Do not reveal a hidden DM in steal().
- 2005-07-16 13:25 akirschbaum
- [r3446] server/player.c: Ignore hidden DM in stand_near_hostile(). Formerly it always
returned false if a hidden DM was present.
- 2005-07-16 10:53 ryo_saeba
- [r3445] Improve pickup command.
- 2005-07-15 23:23 akirschbaum
- [r3444] server/c_party.c: Make party passwords with a length of 8 characters work
again.
- 2005-07-15 21:52 akirschbaum
- [r3443] lib/artifacts: Fix type of lockpicks of quality/high quality.
- 2005-07-15 21:17 ryo_saeba
- [r3442] Plugin cleanup, remove obsolete libcross.
- 2005-07-15 21:11 ryo_saeba
- [r3441] Massive plugin changes, fixes bugs for Win32
- 2005-07-15 17:24 gros
- [r3439] Correcting end-of-line issue within Makefile.in
- 2005-07-15 15:48 ryo_saeba
- [r3438] A few more fixes
- 2005-07-15 15:42 ryo_saeba
- [r3437] A few more fixes
- 2005-07-15 15:36 ryo_saeba
- [r3436] Missing stubs for random maps standalone
- 2005-07-15 15:34 ryo_saeba
- [r3435] Rebuilt file courtesy gros
- 2005-07-15 15:15 ryo_saeba
- [r3434] Missing quest.c file in building process.
- 2005-07-15 13:51 ryo_saeba
- [r3433] Glue cleaning. New plugin function.
- 2005-07-15 09:28 ryo_saeba
- [r3431] Fix plugin crashes
- 2005-07-15 08:02 ryo_saeba
- [r3430] Use on_same_map instead of comparing pointers
- 2005-07-14 16:27 ryo_saeba
- [r3429] Forgot that file
- 2005-07-14 16:21 ryo_saeba
- [r3428] Quest handling
- 2005-07-14 09:18 akirschbaum
- [r3427] common/{button.c, treasure.c, utils.c}, server/{c_wiz.c, login.c, shop.c,
skill_util.c, spell_effect.c}, socket/{image.c, item.c}: Fix printf like
format specifiers. At least one of them fixes a means to crash the server.
Andreas Kirschbaum 2005-07-14
- 2005-07-10 21:12 ryo_saeba
- [r3426] Tentative party spell - needs to be really tested
- 2005-07-10 13:54 akirschbaum
- [r3423] server/{login.c, player.c}: Fix buffer overflow with pl->title. Based on patch
by Scott Kullberg.
crossedit/{Edit.c, Cnv/CnvPrompt.c}, server/{ban.c, hiscore.c, login.c,
player.c, shop.c, win32.c}: Properly terminate destination string of strncpy
with '\0'.
- 2005-07-10 12:55 akirschbaum
- [r3422] server/init.c: Fix error message.
- 2005-07-09 01:03 mwedel
- [r3408] configure.ac, configure, aclocal.m4, */Makefile.in: Add AM_MAINTAINER_MODE
macro to configure.ac - this should hopefully supress auto regeneration of
makefiles.in
MSW 2005-07-08
- 2005-07-09 01:01 mwedel
- [r3407] configure.ac, configure, aclocal.m4, Makefile.in: Add AM_MAINTAINER_MODE
macro to configure.ac - this should hopefully supress auto regeneration of
makefiles.in
MSW 2005-07-08
- 2005-07-09 00:56 mwedel
- [r3406] configure.ac, configure, aclocal.m4: Add AM_MAINTAINER_MODE macro to
configure.ac - this should hopefully supress auto regeneration of
makefiles.in
MSW 2005-07-08
- 2005-07-09 00:07 mwedel
- [r3405] Add a --with-python option to configure. Also, update the python
detection script to check for 2.5 (not out yet, but might as well be prepared.)
Will try to commit files in proper order so that dependency checking is correct
and it won't try to rebuild makefiles or other files.
--
acinclude: Updated checks for --with-python
aclocal.m4: updated
configure.ac,configure: Updated checks for --with-python
config.sub, config.guess - update to latest versions
INSTALL: Updated build directions
MSW 2005-07-08
- 2005-07-09 00:06 mwedel
- [r3404] configure.ac,configure: Updated checks for --with-python
MSW 2005-07-08
- 2005-07-09 00:03 mwedel
- [r3403] Commit updated makefiles so files these depend on have been updated
(aclocal/include).
MSW 2005-07-08
- 2005-07-09 00:01 mwedel
- [r3402] Commit updated versions - likely result of config.sub and config.guess
in top level directory being updated.
MSW 2005-07-08
- 2005-07-08 23:58 mwedel
- [r3401] lib/Makefile.am, lib/Makefile.in: Remove map_check from normal distribution
due to different license on file
MSW 2005-07-08
- 2005-07-08 23:56 mwedel
- [r3400] Add a --with-python option to configure. Also, update the python
detection script to check for 2.5 (not out yet, but might as well be prepared.)
Will try to commit files in proper order so that dependency checking is correct
and it won't try to rebuild makefiles or other files.
MSW 2005-07-08
- 2005-07-08 23:53 mwedel
- [r3399] Add a --with-python option to configure. Also, update the python
detection script to check for 2.5 (not out yet, but might as well be prepared.)
Will try to commit files in proper order so that dependency checking is correct
and it won't try to rebuild makefiles or other files.
aclocal.m4: updated
MSW 2005-07-08
- 2005-07-08 23:50 mwedel
- [r3398] config.sub, config.guess - update to latest versions
MSW 2005-07-08
- 2005-07-08 23:48 mwedel
- [r3397] random_maps/monster.c: Reduce monster density on random maps - take into account
size of monsters when calculating density.
utils/metaserver.pl.in: At a timeout value that limits how often clients can
ask for metaserver info.
MSW 2005-07-08
- 2005-06-25 08:11 ryo_saeba
- [r3389] Missing function prototypes
- 2005-06-23 05:18 mwedel
- [r3386] lib/settings: Turn of fastclock as default option.
socket/loop.c: Change behaviour of metaserver/flushmaps/watchdog
calls if fastclock is set - don't do those any faster than normal.
MSW 2005-06-22
- 2005-06-22 18:45 ryo_saeba
- [r3385] Handle Windows service (un)registration
- 2005-06-22 18:42 ryo_saeba
- [r3384] Don't define functions for plugin
- 2005-06-22 18:22 ryo_saeba
- [r3383] Add service-related capability for Windows
- 2005-06-14 18:51 akirschbaum
- [r3379] common/living.c: Print correct message when (un-)wearing items with negative
luck.
- 2005-06-01 05:58 akirschbaum
- [r3350] include/living.h: Patch from Kari Pahula to remove obsolete variable
declarations.
- 2005-05-29 17:35 tchize
- [r3336] add-on: title more lenghtly are now allowed and the part ' the ' in title is now optional.
This does not add a 'title prefix' command as suggest by mwedel and casper1 on tracker
reference: [ 1088383 ] title_prefix
http://sourceforge.net/tracker/index.php?func=detail&aid=1088383&group_id=13833&atid=313833
- 2005-05-29 15:37 tchize
- [r3332] MOTD now splitted in 3 files: rules, news and motd.
They are sent on connection to client in this exact order.
- 2005-05-22 07:41 akirschbaum
- [r3291] server/skill_util.c: Print correct permanent experience ratio for experience
values >2 billion.
- 2005-05-21 19:33 akirschbaum
- [r3285] server/apply.c: Do not unlock LAMP items when turning them on or off.
- 2005-05-21 17:35 tchize
- [r3282] Added support for readable subtypes in sign managements.
Added some documentation on readable subtypes in the form
Now signs should show nice on new clients (if you except my awful drawings)
- 2005-05-21 17:18 akirschbaum
- [r3281] server/apply.c: Fix CONVERTER items with slaying "money" to trigger for MONEY
items only.
- 2005-05-21 15:02 akirschbaum
- [r3278] server/player.c: Generate proper plural name for player's gravestones.
- 2005-05-20 19:28 akirschbaum
- [r3275] Ensure that object->msg always has a trailing \n character. This is necessary
to prevent corrupted map files.
- 2005-05-20 08:17 akirschbaum
- [r3274] Apply qal21's patch [ #1205421 ]: Implement new Python functions:
GetArchType, GetFacing, GetLevel.
- 2005-05-20 02:38 bbotbuilder
- [r3273] Add a region for use with mikeeusa's "fareastpatch".
- 2005-05-15 20:03 akirschbaum
- [r3261] server/monster.c: Fix monsters to cast spells from spellbooks.
- 2005-05-07 17:39 ryo_saeba
- [r3250] Tweak for release compilation
- 2005-05-07 16:24 ryo_saeba
- [r3249] Fix Win32 compilation
- 2005-05-07 16:07 ryo_saeba
- [r3247] Fix compilation issue, remove unused variable
- 2005-05-07 11:51 tchize
- [r3246] Corrected silinesses in code. Now compiles when CFLAGS=-ansi -pedantic
- 2005-05-06 21:10 tchize
- [r3245] added a new command to identify the type of text send to client.
media tags can be included inside them. Those text types include
scrolls, books, message of the day, signs, aso.
See protocol doc for details
- 2005-05-03 19:31 ryo_saeba
- [r3241] Patch #1193516 courtesy Casper1 for Hurd support
- 2005-05-03 18:31 ryo_saeba
- [r3239] Use const char* instead of char* when possible
- 2005-04-30 15:39 ryo_saeba
- [r3237] Use const char* instead of char* when possible
- 2005-04-30 07:32 ryo_saeba
- [r3236] Add reader.l to project, so it's shown
- 2005-04-27 21:43 ryo_saeba
- [r3234] Change some char* to const char*
- 2005-04-27 07:13 mwedel
- [r3233] server/skills.c: Change it so that jeweler skill is used to identify
amulets, not alchemy skill.
MSW 2005-04-27
- 2005-04-27 06:40 mwedel
- [r3232] Apply patch 1190107 so server compiles on HURD.
common/porting.c: Add define for MAXPATHLEN
socket/init.c: Add check for __GNU__ for setsockopt()
MSW 2005-04-27
- 2005-04-27 06:25 mwedel
- [r3231] Change to have objects generated by creator properly fixed up (material,
for potions, spell object, etc).
---
common/treasure.c: add GT_MINIMAL flag to change_treasure() to do minimal
processing for objects created.
include/treasure.h: Add GT_MINIMAL define.
server/apply.c: Add call to fix_generated_item() in convert_item()
MSW 2005-04-27
- 2005-04-21 19:52 ryo_saeba
- [r3225] Add mikeeusa's axe to weapon list
- 2005-04-18 07:14 mwedel
- [r3220] Update with latest change of lighting patch.
MSW 2005-04-17
- 2005-04-17 04:25 mwedel
- [r3214] Various minor bugfixes.
common/los.c: Patch to fix negative lighting. Use isqrt instead of sqrt,
so we only want integer values anyways.
include/libproto.h, include/sproto.h: Rebuilt as there were some improperly
matching prototypes.
random_maps/rogue_layout.c: Replace sqrt with isqrt calls.
server/c_misc.c: Make name_cmp() a static declaration so it won't be put
in the sproto.h file.
server/init.c: Remove /* within comment string.
server/monster.c: Change sqrt to isqrt
MSW 2005-04-16
- 2005-04-16 22:05 ryo_saeba
- [r3213] Use const char* instead of char* in function parameters
- 2005-04-16 21:22 ryo_saeba
- [r3212] Add missing function declaration from reader.c
- 2005-04-16 13:19 cavesomething
- [r3211] add whereabouts command
- 2005-04-16 05:30 mwedel
- [r3210] Commit patch that makes lighting illuminate in a circular instead of
square radius. Patch by Rednaxela - patch 1171646
MSW 2005-04-15
- 2005-04-16 05:27 mwedel
- [r3209] Commit documentation on difficulty_increase, so it appears not to have
been commited with the prior commit.
MSW 2005-04-15
- 2005-04-15 20:56 ryo_saeba
- [r3207] New item type: 163 item transformer, see doc
- 2005-04-15 00:41 cavesomething
- [r3206] patch 1123766 to make PK luck penalty configurable
- 2005-04-14 19:15 ryo_saeba
- [r3201] Fix a few things, use const char* instead of char* when possible
- 2005-04-14 06:57 mwedel
- [r3198] Random map code improvements - add support for subdirectories in the
style maps for random maps. Add difficulty_increase parameter for random
maps to control how fast they get harder.
doc/Developers/random-maps: Add notes about difficulty_increase parameter.
random_maps/Makefile.am: Update proto directive to use cproto, not cextract.
random_maps/random_map.c: Update to use difficulty_increase when figuring
difficulty of maps. Add code to save it in list of parameters.
random_maps/random_map.h: Add difficulty_increase field to structure.
random_maps/reader.l, reader.c: Add code to find difficulty_increase parameter.
random_maps/rproto.h: rebuilt.
random_maps/special.c: Pass in difficulty increase to
write_parameters_to_string()
random_maps/style.c: Remove old scandir - replaced by our own load_dir() -
necessary because we need to check type of files, which scandir doesn't
easily let us do. Since it is now our own routine, just return
array of file names instead of dirent structures.
MSW 2005-04-13
- 2005-04-14 06:49 mwedel
- [r3197] utils/Makefile.am: Add cfmeta-rrd to list of files to add to distributions
utils/cfmeta-rrd: Example of sample script that takes data and stores it into
rrd file and draws graphs (new file).
utils/metaserver.pl.in: Add recording of useful stats to external file so they
can be processed by other external scripts.
MSW 2005-04-13
- 2005-04-14 06:12 mwedel
- [r3196] server/shop.c: Pass in player object to pay_from_container() - code was
trying to deref pouch->contr which was null. Only occurs when player
has 2 different money objects of the same type, but 2 crashes observed
on metalforge.
MSW 2005-04-13
- 2005-03-28 07:20 mwedel
- [r3182] socket/image.c: Change esrv_send_face to check for <=0 instead of <0 on face
number.
socket/request.c: Change if statement that acted improperly to determine when
to send faces.
MSW 2005-03-27
- 2005-03-25 07:53 cavesomething
- [r3178] fix for bug #1170280
- 2005-03-24 22:35 cavesomething
- [r3177] minor fix to remove compile error on old compilers
- 2005-03-24 21:07 tchize
- [r3175] Modified lots of call to GET_MAP_OB not checking for null
- 2005-03-23 21:35 cavesomething
- [r3173] allow who command to take regions as arguments, if a region is given as an argument then only the players in the region are shown. Partial region names can be used also. Calling who on its own shows everyone that was shown before.
- 2005-03-22 23:22 ryo_saeba
- [r3171] Fix broken win32 compilation. Remove sleep(1) in hide commandas that causes the whole server to sleep
- 2005-03-22 21:44 akirschbaum
- [r3170] common/living.c: Allow luck to drop back to zero. Limit bad luck object to
+/-100 to prevent overflows.
- 2005-03-22 07:28 mwedel
- [r3168] Update Makefile.in so that it will install the regions file.
MSW 2005-03-21
- 2005-03-22 03:15 majorwoo
- [r3166] Allow a player to hide if standing near a hidden dm. #1119594
- 2005-03-22 02:39 majorwoo
- [r3165] Updated who to sort case insensitive and prevent the occasional printing of garbage characters
- 2005-03-22 01:54 majorwoo
- [r3164] Add's a slight pause to dm's using the hide command to make it look more realistic.
- 2005-03-21 19:29 majorwoo
- [r3163] Corrected firevolcano region entry
- 2005-03-21 17:48 majorwoo
- [r3162] Defining a region for teamwar maps
- 2005-03-20 22:26 majorwoo
- [r3154] This is patch #1166750 to allow a battleground tile to send a player who dies to maxhp,maxsp or hp,mp based on a matching force=slaying
- 2005-03-20 22:23 majorwoo
- [r3153] This is path #1165501 to sort the who command by character name. Also some formatting for the DM who that was broken in #1152538
- 2005-03-20 22:20 majorwoo
- [r3152] This is patch #1152538 to add a server configurable who command
- 2005-03-20 16:32 akirschbaum
- [r3151] common/living.c: When randomly adjusting luck, change both op->stats.luck and
the applied bad_luck object.
- 2005-03-20 16:20 akirschbaum
- [r3150] server/attack.c: Do not decrease luck if a player kills himself with a spell
or pet.
- 2005-03-20 06:22 mwedel
- [r3149] server/c_wiz.c: change command_free() and command_remove() to always
process the head of the object - doing this operations on the non head
will typically always cause problems.
MSW 2005-03-19
- 2005-03-19 09:14 mwedel
- [r3148] This change makes it so that the smoothing information is pushed to the client
(if the client is using smoothing) instead of a process were we tell the
client the smoothlevel and the client then has to request the face info for
smoothing. If we know the client wants the info, much easier to push it to
the client. This simplifies the client code (doesn't have to keep track
of what is requests). It also fixes the 'problem' that when you join the
game, you get a few frames with no smoothing and then the smoothing shows
up, which seems a bit odd. My testing shows that old clients that want
smoothing use this new logic withouth any problems.
--
common/image.c: add smooth_face default so that we don't have to look it
up everytime.
include/define.h: Add SMOOTH_FACE_NAME used by image.c
include/global.h: Add smooth_face extern declaration.
include/newserver.h: Update comment on what faces_sent is used for,
add NS_FACESENT_* values which determines what info for the face was
sent.
socket/image.c, socket/init.c, socket/item.c: Update faces_sent checks/set
to check against NS_FACESENT bitmask.
socket/request.c: Update faces_sent as mentioned above. And SendSmooth(),
rewrite AskSmooth() to use SendSmooth(). Modify update_smooth()
to send smoothing information to the client.
MSW 2005-03-19
- 2005-03-19 09:10 mwedel
- [r3147] rebuild file so that it includes region.c in its compilation.
MSW 2005-03-19
- 2005-03-19 08:35 mwedel
- [r3146] common/map.c: Clean up if statement ins blocked_link() which caused warning
messages - broke it apart to make it a little clear. Add check for
premature end of map header - make code more resilent in case of truncated
saved maps. Fix saving of region name in new_save_map() - saving the
pointer to the region isn't what the loader is expecting, and is highly
non portable even if it was.
MSW 2005-03-18
- 2005-03-15 22:16 ryo_saeba
- [r3143] Add missing file
- 2005-03-15 21:42 ryo_saeba
- [r3141] Add regions documentation
- 2005-03-15 21:06 ryo_saeba
- [r3140] Apply patch #1145089 by cavesomething for region support
- 2005-03-13 15:54 ryo_saeba
- [r3128] Windows 1.7.0 release.
- 2005-03-13 15:48 ryo_saeba
- [r3127] Apply patch #1119762 (salathar): afk command
- 2005-03-13 15:13 ryo_saeba
- [r3125] Apply patches #1119366 and #1161816
- 2005-03-09 21:20 ryo_saeba
- [r3116] Tweak comments for doxygen
- 2005-03-09 19:17 akirschbaum
- [r3109] *Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub,
utils/ltmain.sh: Rebuild generated files.
- 2005-03-09 18:59 akirschbaum
- [r3108] acinclude.m4: Check whether Python supports the "L" format specifier. Do not
build python plugin if not.
- 2005-03-08 12:58 elsbernd
- [r3107] Load can modify self->w only, if self->w was created, which is not alwas the case
- 2005-03-06 20:38 akirschbaum
- [r3099] common/{map.c, readable.c, treasure.c}, crossedit/Attr.c, server/{apply.c,
attack.c, c_wiz.c, init.c, monster.c, pets.c, shop.c, skill_util.c, skills.c,
spell_attack.c, spell_effect.c, time.c}, socket/{info.c, request.c}: Add
missing newline character to LOG() messages.
- 2005-03-06 19:05 akirschbaum
- [r3098] common/living.c, include/living.h: Change type of weight_limit to uint32.
socket/request.c: Remove non-portable assignment to rvalue.
- 2005-03-06 18:13 akirschbaum
- [r3097] doc/{README_PLUGINS.doc, README_PYTHON.txt, plugins}, doc/Developers/{README,
plugins, python}: Update plugin documentation.
- 2005-03-06 16:46 akirschbaum
- [r3096] plugin/plugin_python.c, plugin/include/plugin_python.h: Whitespace changes,
remove obsolete comments.
- 2005-03-06 16:26 akirschbaum
- [r3095] plugin/plugin_python.c: Only set WhoAmI when running the command registered by
CFPython.RegisterCommand. Set default result value to "success".
- 2005-03-06 15:56 akirschbaum
- [r3094] plugin/plugin_python.c: Fix memory leaks by freeing old strings before
assigning a new value.
- 2005-03-06 15:24 akirschbaum
- [r3093] plugin/plugin_python.c: Use correct format specifiers for item values and
experience values.
- 2005-03-06 15:11 akirschbaum
- [r3092] plugin/plugin_python.c: Make CFPython.IsCanBePicked return whether the object
can be picked up. (Did return whether the object cannot be picked up.)
- 2005-03-06 13:58 akirschbaum
- [r3091] plugin/plugin_python.c: Do not return a pointer to a variable on the stack.
- 2005-03-06 13:55 akirschbaum
- [r3090] server/plugins.c: Fix pointer type mismatch while processing
CFPython.RegisterCommand.
- 2005-03-06 13:49 akirschbaum
- [r3089] plugin/plugin_python.c: Change second parameter of CFPython.CheckMap to use
a map object instead of a map name. Now it works for tiles maps.
- 2005-03-06 11:46 akirschbaum
- [r3088] acinclude.m4: Add check for python 2.4 to match this file with aclocal.m4.
- 2005-02-28 21:36 akirschbaum
- [r3080] plugin/plugin_python.c: Increase limits of values the Python script may set
to the ranges given by objects in the archetypes file.
- 2005-02-28 16:31 majorwoo
- [r3079] Added python 2.4 back to the check, my fault.
- 2005-02-27 18:05 majorwoo
- [r3075] Applied patch 1144782 - Fix town portal to maps that have reset
- 2005-02-22 11:34 salathar
- [r3072] Apply patches 1126149,1118618 courtesy Mithzi
- Fix several broken formulae
- 2005-02-20 20:43 akirschbaum
- [r3071] common/object.c, include/libproto.h: change nrof parameter of get_split_ob to
uint32 type.
server/c_object.c, include/sproto.h: change nrof parameter of drop_object to
uint32 type.
plugin/{plugin_python.c, include/plugin_python.h},
plugin_animator/{plugin_animator.c, include/plugin_animator.h},
server/{apply.c, attack.c, gods.c, monster.c, player.c, skills.c, time.c,
timers.c}: Change type of CFParm.Value[5] and StackParm1[] to uint32 to be
able to pass an "nrof" value.
- 2005-02-20 18:06 akirschbaum
- [r3070] plugin/plugin_python.c, plugin/include/plugin_python.h: Remove spell wrapper
functions.
- 2005-02-20 17:20 akirschbaum
- [r3069] plugin/plugin_python.c, plugin/include/plugin_python.h: Replace skill-IDs by
skill names. Remove skill-ID wrapper functions.
- 2005-01-24 08:37 mwedel
- [r3057] Add break for 1.7.0 changes.
MSW 2005-01-24
- 2005-01-24 07:55 mwedel
- [r3054] configure, configure.ac, include/autoconf.h.in: Update for
version 1.7.0. Add check for libz - needed by libpng (at least on my
system), which is needed for the editor.
MSW 2005-01-23
- 2005-01-24 07:29 mwedel
- [r3053] common/object.c: Change CAN_MERGE() from an inline function, since
it calls itself and inline functions are not supposed to do that.
Update type check in insert_ob_in_map() to check against defined
type (EXIT) instead of hardcoded integer value (66).
crossedit/xutil.c: Update to just include Defines.h, which then includes
all the other necessary files, including global.h.
include/global.h: Add #ifdef checks for the UINT*_MAX types, as some
systems already define these values, which results in a redefinition
error. Also fix up // style comment.
include/shstr.h: Include proper cast in TOPBIT definition.
server/main.c: Don't display 'xyz left the game' messages if the player
is only at the get name or get password prompt. Prevents possible
spoofing of that message.
server/player.c: Clean up formatting of check_pick() function. If player
is using newpickup to pick up booze, also pick up poison unless
they know it is cursed.
socket/request.c: AskSmooth() - change buffer type to uint8 so that
it matches what the SockList structure wants.
utils/scores.pl.in: Use skill_praying to find players god, and not the
deprecated experience_wis object.
MSW 2005-01-23
- 2005-01-24 05:00 temitchell
- [r3052] Add in some help files for a few newer features. The 'mode' file
isn't explaining a command per/se but should have brief info on the
different player 'modes', prompting more detailed help requests on them.
- 2005-01-19 00:23 crowbert
- [r3050] fix formulae: talisman_* -> talisman of *; leather armour -> armour
- 2005-01-16 11:31 tchize
- [r3047] fix for bug [ 1082423 ] things I cannot bind
Trailing spaces on commands are now removed.
- 2005-01-16 09:13 tchize
- [r3046] Fixed bug [ 1097216 ] potion of might is missing
The potion of might has been renamed on 13 sep 2003 to potion of strength.
Update formulaes still relying on potion of might to potion of strength
- 2005-01-15 19:19 crowbert
- [r3045] print skill used for formula with -m7 and -m9 options
- 2005-01-12 08:04 mwedel
- [r3043] aclocal.m4, configure: Add check for python 2.4.
common/re-cmp.c: Fix improper comparison *(str+1) instead of str+1
server/login.c: don't allow null names.
server/main.c: Disable logging of removed objects - filling up log
files on archmage of all the errors.
server/player.c: Fix improper initialization of attacktype in
for loop. Give players max grace, sp when they die - also, if they
are near starvation, give them a bunch of food.
server/spell_effect.c: Put cap on duration of godly retribution - it
can otherwise last so long that if a player is killed by it at
their savebed location, spell could still go on after players
temporary immunity ends. Retribution as increases in damage,
so no need to really increase damage and duration to really high
amounts.
server/spell_util.c: In fire_arch_from_position(), and check that
player isn't casting spell on top of wall - fixes for many
spells, including ball lightning.
server/time.c: Change comparsion on return of get_map_flags() from
== P_OUT_OF_MAP to & P_OUT_OF_MAP - keeps syntax consistent.
MSW 2005-01-11
- 2005-01-10 10:55 akirschbaum
- [r3042] plugin/plugin_python.c, plugin_animator/plugin_animator.c,
plugin_animator/plugin_animator.c: Use script return value set by
CFPython.SetReturnValue(): access to stack was off by one. Do not return a
pointer to a local variable on the stack.
- 2005-01-10 09:12 akirschbaum
- [r3041] plugin/plugin_python.c, plugin_animator/plugin_animator.c: Handle all defined
events.
- 2005-01-08 22:30 ryo_saeba
- [r3040] Snapshot release. Create 'datafiles' directory (guild stuff)
- 2005-01-07 21:23 ryo_saeba
- [r3036] Apply patch #1096921 courtesy Salathar (mice outbreak fix)
- 2005-01-07 20:02 akirschbaum
- [r3032] plugin/plugin_pyhton.c, plugin/include/plugin_python.h: Remove obsolete
functions: SetGender, SetRank, SetAlignment, SetGuildForce, GetGuildForce,
CreatePlayerForce, CreatePlayerInfo, GetPlayerInfo, GetNextPlayerInfo,
SetPreviousObject, SetNextObject.
- 2005-01-07 19:19 akirschbaum
- [r3030] plugin/plugin_python.c, plugin/include/plugin_python.h: Add function
CFPython.SetDamned(), wrapper functions for missing cost flags, and wrapper
functions for event types.
- 2005-01-07 18:44 akirschbaum
- [r3029] plugin/plugin_python.c, plugin/include/plugin_python.h: Add missing attack type
wrapper functions.
- 2005-01-07 18:19 akirschbaum
- [r3028] plugin/plugin_python.c: Add an optional parameter to CFPython.SetName() to
specify name_pl as well. Always set name_pl.
- 2005-01-07 17:55 akirschbaum
- [r3027] plugin/plugin_python.c: Fix a buffer overflow in CFPython.RegisterCommand():
allocated memory was not sufficient to hold the trailing '\0'.
- 2005-01-07 17:24 akirschbaum
- [r3026] plugin/plugin_python.c: Use #define constants.
- 2005-01-07 15:24 akirschbaum
- [r3025] plugin/include/plugin_python.h, plugin/plugin_python.c,
plugin_animator/plugin_animator.c, server/plugins.c: General cleanup - merge
duplicate code, remove debugging code, rename variables, rename C function
names to match the Python function name, use hook functions where
appropriate.
- 2005-01-07 12:00 akirschbaum
- [r3024] include/sproto.h, plugin/plugin_python.c, server/plugins.c, server/shop.c:
Use uint64 type for variables holding money. Use Python long integers to
pass these variables to/from the Python plugin.
- 2005-01-06 16:20 akirschbaum
- [r3023] plugin/plugin_python.c: Check values passed in from the Python code; generate
proper Python exceptions for invalid values.
- 2005-01-06 12:08 akirschbaum
- [r3022] plugin/plugin_python.c, plugin_animator/plugin_animator.c: Make sure all
fields on the stack are initialized. Prevent stack overflow: check was one
off, causing a buffer overflow. Decrement stack pointer in error case.
- 2005-01-04 18:24 akirschbaum
- [r3021] Remove generate_treasure_now as an option for random maps.
- 2004-12-29 08:45 mwedel
- [r3020] common/regexp.c: Fixed couple flaws in regexp handling. First, there was an
off by one error in the handling of matches (if the match was for example
eureca, player could just say eurec, and it would treat that as a valid
match). Second case was that the regular expression logic would not
try comparing the rest of the passed in string after a partial match -
In the eureca case above, if the passed in string was 'where is eureca',
after matching the first e (in where), it then fails to match the
to prevent unpaid objects from teleporting out of the shop. Also
extend code so that non living objects can't use shop mats.
server/player.c: Insert force into the player when they die making them
immune to any spells on the space they reappear on - this prevents
multiple deaths if there is large spell effect going on in the
savebed location. Duration of force should be long enough for most
spells to run their course, but no so long that the player can use
it for much of an advantage (plus, killing yourself to get such
an advantage seems odd, and the force only makes the player immune
to the attacktypes currently on the space)
server/spell_effect.c: Fix spell casting walls (lighting wall,
firewall, etc) in that the spell object they cast was not being
inserted, resulting in the walls not doing anything.
MSW 2004-12-28
Applied patch (bug misc/zoo2) by Lalo
server/time.c: creators can now create multi part objects.
Applied patch 1086102 by Salathar:
server/attack.c: If player kills another player, add (pk) to the death
message.
Applied patch 1086103 by Salathar:
server/move.c: If player pushes another player, send message to both players
that pushed happened. Previously, when pushing another player, the pusher
wouldn't get any notice.
MSW 2004-12-28
- 2004-12-29 01:08 mwedel
- [r3019] Applied patch 1001079 - make alchemy books say what skill & equipment
is needed - by Kevin Rudat.
common/readable.c: Update code that generates book title, contents
to denote what skill and equipment is needed.
random_maps/{random_map.c, random_map.h, reader.l, reader.c, standalone.c},
server/main.c:
Remove generate_treasure_now as an option
for random maps - none are using delayed treasure, and IMO, if someone
did, it would horribly break things, so it should never be used - given
that, no reason to leave the code there.
server/main.c: Add additional debugging for process events on removed
objects - trying to track down occasional disease crash.
server/time.c: Fix crash in move_player_mover() - it was never map tile
aware, but even more so, appears to have always been broken if the
player move tried to push the player off the edge of a map. Check
for out of map condition, as well as make it map tile aware.
MSW 2004-12-28
- 2004-12-25 18:09 ryo_saeba
- [r3017] Patches #1086095 and 1088385, party password length tweak
- 2004-12-21 23:30 ryo_saeba
- [r3016] Fix crash when dm using free
- 2004-12-14 23:55 crowbert
- [r3013] add slight chance for default skill scrolls for unclassed characters
- 2004-12-10 09:34 akirschbaum
- [r3007] Use correct filename 'server_speed'.
- 2004-12-10 09:16 akirschbaum
- [r3006] server/c_party.c: Make party passwords of 8 characters work, disallow longer
passwords. Based on patch #1080096 from Casper.
Correct help message for party commands.
Andreas Kirschbaum 2004-12-10
- 2004-11-29 12:03 ryo_saeba
- [r2999] Misc updates
- 2004-11-29 11:30 ryo_saeba
- [r2998] Change long long to sint64
- 2004-11-29 11:28 ryo_saeba
- [r2997] ChangeLog
- 2004-11-25 18:47 ryo_saeba
- [r2994] Apply a few patches from tracker
- 2004-11-25 18:26 ryo_saeba
- [r2992] Apply patch #1066665
- 2004-11-15 17:58 akirschbaum
- [r2991] Fix comment.
- 2004-11-15 17:55 akirschbaum
- [r2990] common/loader.l: Fix passed size in FAST_SAVE_LONG() - was one too long,
causing truncated diffs after "dam_modifier" entry.
- 2004-11-09 07:44 mwedel
- [r2986] This commit adds the functionality of patch 991916, although the patch
as submitted was used as a baseline to start from.
include/sproto.h: rebuilt
server/c_chat.c: Rename command_chat() to command_tell_all() which takes
a few more optional parameters. Add command_shout() and command_chat()
that invoke command_tell_all() with the appropriate changes.
server/commands.c: Add chat to list of command table.
MSW 2004-11-08
- 2004-10-26 05:16 mwedel
- [r2982] collect & commit.
MSW 2004-10-25
- 2004-10-26 05:13 mwedel
- [r2981] Modify collect script so that it strips first pathname component for
editor_folder - matches how it appears the java editor stores it.
MSW 2004-10-25
- 2004-10-21 19:10 akirschbaum
- [r2972] plugin/plugin_python.c: Run the script python_init.py right after
initializing the interpreter.
- 2004-10-21 16:52 ryo_saeba
- [r2970] Notify of party join/pwd change
- 2004-10-19 20:31 akirschbaum
- [r2966] plugin/plugin_python.c, plugin/include/plugin_python.h, server/plugins.c:
Fix comments, change whitespace.
- 2004-10-18 06:54 mwedel
- [r2965] Fix some bugs I introduced in my last commit.
common/map.c: Add back in call to sum_weight that got removed when removing
the object checking code.
common/treasure.c: Have fix_generated_item() blank out the randomitems
field after it has created treasure.
server/apply.c: Only clear randomitems after create_treasure() - don't
presume it should get blanked out for other reasons - with change
to treasure.c above, this should be more reliable and fix starting
skill issue, as randomitems was getting blanked out for CLASS object.
server/main.c: Change processing of players a little - found crash where
autosave was called for a removed player (map had got swapped out) -
don't do autosave logic if player is removed. Move the autosave code
to after the players action, so that can just have a single check of
removed status.
MSW 2004-10-17
- 2004-10-18 06:35 akirschbaum
- [r2964] include/sproto.h, server/egoitem.c: Change create_artifact() to return whether
the artifact was created.
server/plugins.c: Change CFWCreateArtifact()/HOOK_CREATEARTIFACT to return
whether the artifact was created.
plugin/plugin_python.c: Define new function create_object() to create
objects. Use this function to fix CFPython.CreateObjectInside() and
CFPython.CreateObject(): creation of artifacts does work now.
- 2004-10-18 06:21 akirschbaum
- [r2963] plugin/plugin_python.c: Fix CFPython.GetNextPlayerInfo() to work with long
force names. Remove duplicate variable initialization.
- 2004-10-18 06:10 akirschbaum
- [r2962] server/plugins.c: Remove the use of malloc() in initOnePlugin().
- 2004-10-18 03:25 temitchell
- [r2961] - peaceful state is no danger to others so does not need
to be in display unless player is hostile. (ok done for sure now)
- 2004-10-18 03:14 temitchell
- [r2960] - arg! add missing string place for hidden status.
- 2004-10-18 03:07 temitchell
- [r2959] - make who output even more readable - also clean up code formatting
- 2004-10-18 02:20 temitchell
- [r2958] - reformat output for who command so it is actually readable.
- 2004-10-16 22:38 akirschbaum
- [r2956] plugin/plugin_python.c, plugin_animator/animator_box.c,
plugin_animator/plugin_animator.c, plugin_logger/arena.c,
plugin_logger/plugin_logger.c: Use HOOK_FREEMEMORY to free memory allocated
by HOOK-functions. Fix memory leaks.
- 2004-10-16 21:43 akirschbaum
- [r2955] plugin/plugin_python.c, server/plugin.c, plugin_animator/animator_box.c: Fix
some more mismatches between plugin interface and implementation.
CFPython.Get/SetSkillExperience() use 64-bit exp values now.
CFPython.CastAbility() works again.
- 2004-10-15 21:01 akirschbaum
- [r2954] plugin/plugin_python.c, server/plugin.c: Fix type mismatches between plugin
interface and implementation.
- 2004-10-15 18:34 akirschbaum
- [r2953] plugin/plugin_python.c, server/plugin.c: Add/remove "static" to/from some
variables. Fixes a memory leak in CFPython.SaveObject().
- 2004-10-15 17:35 akirschbaum
- [r2952] plugin/plugin_python.c: Fix reference counting for Python objects.
- 2004-10-15 07:09 mwedel
- [r2951] common/living.c: Fix exp functions to use the player objects expmul
value when determining level gains, and not the skills. Also,
fix bug where players last hp/sp/grace gain I think was being
re-rolled when player gained level in skill.
common/loader.l, loader.c: Add better recording of non existant objects
(no archetype for them) in maps. Also, handle such objects in
players inventories properly (which is to just discard them)
common/map.c: Add better logging about discarded archetypes. Since the
loader now deals with objects without archs in inventories, that
code doesn't need to be in the server.
common/object.c: copy_object() was not properly nulling out the
next field in the event object, pointer to event list was also
incorrect, causing events to not be copied properly.
doc/spoiler-html/spoiler.html: Rebuilt.
server/apply.c: Apply patch by MT that fixes problem of entire inventory
not being copied properly. Fix problem that objects in creatures
were not having any sub treasure created (eg, put a pyro_book in
a monster on the map, and the pyro_book wouldn't have a spell in
it) - now we make sure we process inventory objects as well as map
objects, creating treasure as needed.
server/monster.c: Reverse order of cast_spell() and drain_rod() in
monster_use_range() - drain_rod() should go first, because
case_spell() can in rare cases destroy the rod.
MSW 2004-10-14
- 2004-10-11 19:28 temitchell
- [r2947] - add bronze weapons and armour to starting treasures and some lists
- 2004-10-10 15:01 ryo_saeba
- [r2944] Natural resistances display by statistics for dragon players
- 2004-10-09 19:36 akirschbaum
- [r2943] common/readable.c: Apply patch by Kevin Rudat to add some alchemy book names.
- 2004-10-09 19:26 akirschbaum
- [r2942] common/readable.c: Apply patch by Kevin Rudat to fix buffer overrun while
generating book titles.
- 2004-10-09 15:45 akirschbaum
- [r2939] Fix typo.
- 2004-10-09 15:40 akirschbaum
- [r2938] Fix address of cvs repository.
- 2004-09-26 10:09 tchize
- [r2931] Colelcted archetypes from arch cvs
- 2004-09-26 09:42 ryo_saeba
- [r2930] Add 'stack_clear' command.
- 2004-09-25 16:02 tchize
- [r2929] Modified so the comment in arches are stripped away
- 2004-09-20 03:19 temitchell
- [r2924] - add Cloak of Unholy Protection and recipie for same as per patch
1030545
- 2004-09-19 17:13 akirschbaum
- [r2922] server/player.c: Allow to 'reply' to players that logged out but did not yet
drop the connection. Now reply works like other communication commands.
- 2004-09-19 16:17 akirschbaum
- [r2920] common/utils.c: Fix random_roll() and die_roll() to not return out of range
values.
- 2004-09-19 16:12 akirschbaum
- [r2919] include/define.h: Add parentheses around arguments of FABS macro.
- 2004-09-14 19:59 akirschbaum
- [r2915] server/rune.c: Prevent creation of level 0 runes. Re-enable runes to cast
multiple spells.
- 2004-09-14 19:23 akirschbaum
- [r2913] Correct field descriptions.
- 2004-09-12 12:55 ryo_saeba
- [r2911] Removed windows newlines *sigh*
- 2004-09-12 12:53 ryo_saeba
- [r2910] Various fixes for Win32, apply some tracker patches
- 2004-09-10 07:03 mwedel
- [r2909] server/attack.c: Pass in skill (string) to change_exp instead of skop->skill -
skop can be null, resulting in a crash here. In addition, other calls
to change_exp in this function use the skill string, so it is good to
be consistent.
MSW 2004-09-09
- 2004-09-05 22:11 ryo_saeba
- [r2905] Forgot to skip blanks when item number for dm stuff
- 2004-09-03 06:43 mwedel
- [r2904] common/object.c: Fix insert_ob_in_map so right coordinates and map
value are used on GET_MAP_OB call - was using values before changes
for tiling were applied.
MSW 2004-09-02
- 2004-09-01 01:26 temitchell
- [r2900] - move direwolf and hellhoud treasures to arches.
- 2004-08-30 17:21 akirschbaum
- [r2898] server/player.c: allow to 'talk' to players with ambiguous names: use a
perfect match even if other partial matches exist.
- 2004-08-29 16:43 temitchell
- [r2895] - add new directory for datafiles to local dir (var/crossfire/datafiles)
- 2004-08-28 01:12 temitchell
- [r2894] - fix typo item->items
- 2004-08-28 01:09 temitchell
- [r2893] - change paths to python files
- 2004-08-24 19:43 akirschbaum
- [r2890] include/define.h
server/shop.c
add new flags F_IDENTIFIED and F_NOT_CURSED to query_cost() to pretend
the item to be identified/not cursed or damned.
server/alchemy.c
fix possible abuse of shadow alchemy: do not allow the generated items
to be more valuable than the ingredients when using alternate recipes.
- 2004-08-24 06:37 mwedel
- [r2889] common/map.c: Add extra check to make sure variable is set before calling
strcmp - this can happen if the map file that is being loaded is
0 bytes - without this, the server would crash.
MSW 2004-08-23
- 2004-08-20 20:02 akirschbaum
- [r2888] server/disease.c: fix crash when casting diseases on tiled maps.
server/move.c: fix problem with multi-tile monsters and pass thru walls.
server/spell_effect.c: fix magic walls sometimes appearing in wrong place.
Andreas Kirschbaum 2004-08-20
- 2004-08-18 07:02 mwedel
- [r2887] If MANY_CORES is defined, and we get call to update_object() with invalid
coordinates, call abort to make debugging easier. Ignoring the error
seems only marginally useful, as I've observed a crash after a bunch
of errors from that area.
MSW 2004-08-17
- 2004-08-18 06:29 mwedel
- [r2886] common/loader.l, loader.c: in check_loaded_object() - don't give spell
objects inventory if we are in the arch_init phase. When loading objects
in common loader routine, if object doesn't have arch, set the object
name to the arch name so that it is more meaningful than 'singularity'.
common/map.c: If object has inventory, check to make sure the inventory
objects have an archetype set - if not, remove and free the object -
objects without archetypes causes crashes.
MSW 2004-08-17
- 2004-08-17 07:38 mwedel
- [r2885] add check to see if pl->stack_items is set before calling free on it.
MSW 2004-08-23
- 2004-08-17 06:41 mwedel
- [r2884] server/apply.c: fix_auto_apply() - add some debugging statements, as I've
seen crashes caused by monsters with scrolls with no spells - need to
figure out how those are showing up.
server/c_wiz.c: command_kick() - fix occasional crashes when player isn't
on any map when kicked. command_create() largely rewritten so it doesn't
crash the server on any malformed values passed in, add some more features
so it should be easier to create objects.
MSW 2004-08-16
- 2004-08-16 20:55 ryo_saeba
- [r2883] Add Win32 NSIS installer script
- 2004-08-16 08:47 ryo_saeba
- [r2881] Fix bug #989110, mutating spellbooks
- 2004-08-15 17:03 ryo_saeba
- [r2877] Add item stack for DMs, to ease item manipulation
- 2004-08-14 09:48 ryo_saeba
- [r2876] Fix charm monster exploit
- 2004-08-07 23:24 temitchell
- [r2869] added fix for random maps with single arch walls,
added level indicator on random map signs
added new parameter 'exit_on_final_map'- see documentation
addresses patches 983780 and 983716
- 2004-08-02 23:27 temitchell
- [r2866] - add event hooks for Kick and Muzzle(toggle_shout) commands
- fix CFSetQuantity by changing the int to uintand remove
- now looks for event scripts in python/events
- 2004-07-16 22:24 ryo_saeba
- [r2864] Writing xp gets mutiplied by level, to make it possible to level up
- 2004-07-03 09:16 ryo_saeba
- [r2847] Win32 fixes
- 2004-06-23 05:49 mwedel
- [r2842] server/skill_util.c: Fix skills command so that it properly displays
percentage of permanent exp.
server/time.c: Modify move_arrow() so that it removes thrown objects
with no inventory.
MSW 2004-06-22
- 2004-06-22 06:28 mwedel
- [r2841] socket/info.c: Replace sprintf() calls with snprintf() - got metalforge
crash with apparent buffer overun - going to snprintf should prevent
the problem in the future.
MSW 2004-06-21
- 2004-06-18 07:45 mwedel
- [r2840] server/c_wiz.c: for command_create() - check to see if 'of' parameter
is a spell archetype name, and do the right thing if it is. This
allows things like 'create rod_heavy of spell_large_lightning'.
Note that the command_create is still a seriously broken function
in many regards.
server/rune.c: Fix write_rune() when trying to find the spell in encase
in the rune - assignment was incorrect, so it always took the last
matching spell in the players inventory, not the best matching spell.
server/spell_util.c: Change the call to prayer_failure() so that its
potency is based on how badly short the player is short of grace. Eg,
if only 1 point short, potency of 1. This changes from before where
the potency was always the difference in mana.
MSW 2004-06-17
- 2004-06-16 07:09 mwedel
- [r2839] server/attack.c: Fix hit_with_arrow() so that it uses the proper map
when inserting the arrow.
server/c_wiz.c: Add note about brokeness of command_create()
server/spell_effect.c: execute_word_of_recall() - don't attempt recall
if player isn't on any map.
MSW 2004-06-15
- 2004-06-15 04:12 mwedel
- [r2838] Remove the 'name' help file. No command exists.
MSW 2004-06-14
- 2004-06-13 17:30 akirschbaum
- [r2833] common/object.c
include/define.h
include/player.h
include/sproto.h
server/attack.c
server/c_object.c
server/player.c
server/shop.c
socket/item.c
socket/loop.c
socket/request.c: Remove explicit calls to
esrv_update_item(UPD_WEIGHT, pl, pl) for player objects. Instead
send the new weight whenever it changes.
- 2004-06-12 19:09 akirschbaum
- [r2832] Set type of variable holding a weight to sint32.
- 2004-06-11 07:23 mwedel
- [r2828] common/item.c: describe_monster() - if the creature/player is stealthy,
mention it when the object is described.
common/loader.l, loader.c: Fix passed in size to get_ob_diff() - was one
to long, causing string corruption.
server/spell_attack.c: mood_change() - fix get_map_ob call - wasn't using
correct coordinate variables, resulting in crash.
MSW 2004-06-10
- 2004-06-11 06:12 mwedel
- [r2827] common/object.c: insert_map_in_ob() - remove CAN_MERGE checks after the
map translation - otherwise, we can have bogus coordinates
that are used for GET_MAP_OB.
random_maps/style.c: pick_random_object() - have it return null object
(and probably crash) instead of getting into an infinite loop.
server/c_wiz.c: command_kick() - check FLAG_FREED of player. Remove all
the broken skill/exp object granting code in command_possess() - this
is probably still a broken function.
server/spell_attack.c: mood_change() - fix get_map_ob call - wasn't using
correct coordinate variables, resulting in crash.
MSW 2004-06-10
- 2004-06-09 16:47 ryo_saeba
- [r2826] gsay tweaks, courtesy Katia
- 2004-06-06 17:15 ryo_saeba
- [r2815] Disable possess command
- 2004-06-06 16:30 ryo_saeba
- [r2814] Remove Windows newlines
- 2004-06-06 16:25 ryo_saeba
- [r2813] Fix for monsters not using hands, and now ignore DM
- 2004-06-01 07:21 mwedel
- [r2810] server/c_misc.c: Add sum_weight() call to fix_me command so that players
weight is properly recalculated.
server/skills.c: Fix up attempt_steal() so that it doesn't improperly
remove object from target when person doing the stealing can't pick
it up.
server/spell_attack.c: Set maxhp properly, so multipled fireballs, etc
can be going off at the same time.
server/spell_effect.c: Fix up cast_create_missile() so more esoteric
missiles can be created.
MSW 2004-05-31
- 2004-06-01 06:32 mwedel
- [r2809] add newline to end of file - prevents gcc warning message.
MSW 2004-05-31
- 2004-06-01 06:22 mwedel
- [r2808] Commit note about proposed map2 protocol command. Figure might as well
make it more readily available.
MSW 2004-05-31
- 2004-05-24 21:03 ryo_saeba
- [r2796] Missing return value :p
- 2004-05-24 21:00 ryo_saeba
- [r2795] new dmhide command, dm + hide
- 2004-05-20 05:50 mwedel
- [r2788] include/book.h: Increase the size of BOOK_BUF, so inscribed books can hold
more informatin.
lib/Makefile.am, lib/Makefile.in: Add the 'rename' to the list of help
files.
lib/archetypes: update the glyph/rune spells to have proper face.
lib/bmaps, lib/crossfire.* - add glyph.111 image.
server/gods.c: Modify tailor_god_spell() to look harder to find a god -
necessary for glyph spells.
server/spell_attack.c: Give players 50% of exp for monsters they charm.
MSW 2004-05-19
- 2004-05-18 16:11 akirschbaum
- [r2787] common/object.c: Correct get_search_arr() to return a proper permutation.
Andreas Kirschbaum 2004-05-18
- 2004-05-17 03:19 mwedel
- [r2785] server/main.c: Have process_events display information from dumped object.
also, more refinement on checking of object status.
MSW 2004-05-16
- 2004-05-16 10:38 ryo_saeba
- [r2784] Changes for now
- 2004-05-16 09:06 ryo_saeba
- [r2783] Fix learn_spell
- 2004-05-16 08:42 ryo_saeba
- [r2782] Fix not saved pedestals when building on non unique maps
- 2004-05-16 06:13 mwedel
- [r2781] server/acinclude.m4: Patch by acinclude.m4 to add python 2.3 support.
Rebuilt files (Makefile.in, aclocal.m4, configure, configure.in). add
config.guess, config.sub since automake now includes them in the Makefile.in
file.
MSW 2004-05-15
- 2004-05-16 06:05 mwedel
- [r2779] server/spell_effect.c: Fix cast_create_food() to call
find_archetype_by_object_name() instead of find_archetype(). In this
way, players can use invoke without having to know the archetype name.
MSW 2004-05-15
- 2004-05-16 05:29 mwedel
- [r2778] server/c_wiz.c: Modify command_banish() to record dm name, player name,
and date of command.
MSW 2004-05-15
- 2004-05-16 03:58 mwedel
- [r2777] server/main.c: freeing removed objects appeared to have more of a
consequence than expected - only remove the object if it was on a map
(op->map). It turns out that the artifact code uses objects that
are removed to store what the new object is.
MSW 2004-05-15
- 2004-05-15 18:15 ryo_saeba
- [r2775] Added a positioning system
- 2004-05-14 07:38 mwedel
- [r2774] commit the changelog for the night. MSW 2004-05-13
- 2004-05-14 07:35 mwedel
- [r2773] server/apply.c: Fix fix_auto_apply() so we don't generate additional
spells for spellcasting objects that already have them (regression
from fix from 5/11 below)
MSW 2004-05-13
- 2004-05-14 07:23 mwedel
- [r2772] server/main.c: Fix process_events() so it doesn't purge removed players
from the list - players get in the removed state at play again
prompt.
MSW 2004-05-13
- 2004-05-14 06:41 mwedel
- [r2771] server/spell_util.c: SP_level_spellpoint_cost() - never have a spell
cost 0 spellpoints due to attunement or other bonuses - spell always
cost at least 1 sp/grace.
MSW 2004-05-13
- 2004-05-14 05:55 mwedel
- [r2770] Clean up the formatting of move_teleporter() - no code changes.
MSW 2004-05-13
- 2004-05-14 05:47 mwedel
- [r2769] Add notes about duplicators.
MSW 2004-05-13
- 2004-05-12 07:15 mwedel
- [r2768] get todays updates in
MSW 2004-05-11
- 2004-05-12 07:14 mwedel
- [r2767] server/apply.c: modify fix_auto_apply() so that it properly generates
items for creatures that start with objects in their inventory.
MSW 2004-05-11
- 2004-05-12 05:52 mwedel
- [r2765] server/pets.c: Fix summon golem, summon pet monsters so that the summoned
monsters are not worth any exp. Fixes bugs were players could
summon monsters and then kill them.
MSW 2004-05-11
- 2004-05-12 04:43 mwedel
- [r2764] server/skills.c: Fix do_skill_detect_curse() and do_skill_detect_magic()
so that they don't process objects the player is incapable of picking
up (eg, floors). Fixes experience exploit.
MSW 2004-05-11
- 2004-05-11 06:57 mwedel
- [r2763] server/spell_util.c: Fix cast_spell() so that failed spells (due to
encumberance or other penalties) still cost some random number of grace/
mana points.
MSW 2004-05-10
- 2004-05-09 08:03 mwedel
- [r2762] common/treasure.c: Change the loading of the artifacts file to actually
calloc() the object - reset_object() doesn't clear all the values,
like active_next, active_prev, so better to just do it there.
server/main.c: Add code in process_events() that checks for removed objects -
have seen occasional crashes caused by them.
MSW 2004-05-08
- 2004-05-08 13:38 ryo_saeba
- [r2758] Add settings to control armor enchantment
- 2004-05-08 11:11 ryo_saeba
- [r2757] Use LOGFILE for logfile, not hardcoded value
- 2004-05-08 07:50 ryo_saeba
- [r2756] Nodm tweak
- 2004-05-06 07:04 mwedel
- [r2755] Fix problem with shop not making change - wrong type of variable
used.
MSW 2004-05-05
- 2004-05-05 07:25 mwedel
- [r2754] server/apply.c: Fix apply_special() to properly deal with LAMP objects - it
wasn't dealing properly with the split off lamp compared to the one it
was supposed to deal with - was crashing server.
MSW 2004-05-04
- 2004-05-04 07:14 mwedel
- [r2752] common/item.c: describe_monster() - print luck when describing players (fixex
perceive self not showing luck)
server/attack.c: kill_object() - don't give player exp if he kills himself -
compare owner against what was killed, not the hitter.
server/pets.c: summon_object() - move breaking out for last treasurelist
after we set the last valid treasurelist - otherwise, the list entry for
the treasurelist was never used. Change summoned creatures so that
the items they have are god given, and thus disappear when they
are killed - prevents players from summoning and then looting their pets.
server/spell_attack.c: explode_bullet() - Get owner of the spell so that we
can properly tailor the explosion portion of the spell for the god
of the worshipper.
MSW 2004-05-03
- 2004-05-03 21:38 ryo_saeba
- [r2751] Win32 fixes
- 2004-04-28 22:04 ryo_saeba
- [r2749] Change char* to const char*, value shouldn't be changed
- 2004-04-28 19:49 ryo_saeba
- [r2748] Sync client version with server
- 2004-04-27 22:01 ryo_saeba
- [r2747] Fix Win32 server version
- 2004-04-27 07:35 mwedel
- [r2746] Re-add bmaps.paths to list of files to include in distribution. While
it is not needed by the target, if it is missing, the makefiles try to
rebuild it, which it may not be able to do.
MSW 2004-04-26
- 2004-04-27 07:08 mwedel
- [r2745] configure, Makefiles: Rebuilt for 1.6.0 release
doc/*/Makefile.am: Modified to use one makeps.pl utility in scripts directory.
doc/scripts/makeps.pl: Make this the definitive copy - fix problem with it
trying to combine big images when it doesn't need to. Remove other copies.
doc/playbook/chap1.tex, doc/playbook/chap5.tex: Fix some obvious errors,
but overall, the playbook is still quite out of date.
doc/playbook/treas2-extract: Have it not include abilities in given items,
have it properly deal with multiple underscores in arch names.
doc/spoiler-html/spoiler.html, doc/spoiler.ps: Rebuilt
MSW 2004-04-26
- 2004-04-26 05:27 mwedel
- [r2744] server/apply.c: apply_savebed() - make call to terminate_all pets before
call to remove_ob() so that pets are properly removed.
- 2004-04-26 05:07 mwedel
- [r2743] common/item.c, server/c_object.c: Fix code so that skill tools (talismans,
holy symbols, etc) are properly describe. Clean up formatting of long_desc()
MSW 2004-04-25
- 2004-04-25 07:17 mwedel
- [r2741] Change most shop buy/sell functions to use 64 bit values. Problem arises
where player would sell valuable item, and if they wanted to buy them back,
it would overflow a 32 bit value, so they could buy them back for free.
Note quite as odd when you consider the buy/sell price for really valuable
items to be very different.
include/global.h: Add UINT32_MAX and other max type defines for our typedef
values so that we have standard setting of what the cap is.
server/apply.c: Change get_payment call to take second argument.
server/plugins.c: Add note about bug in handling of query_cost in this
function.
server/shop.c: query_cost() now returns 64 bit. Many other functions
updated to also take/return 64 bit cost values. Have cost_string
nicely deal with values that are beyond affordability. Rename get_payment2()
to get_payment(), and remove the later, which was just a simple wrapper
function that called get_payment2.
server/spell_effect.c: Update alchemy code. Remove some suspect use of
static values.
MSW 2004-04-24
- 2004-04-25 06:18 mwedel
- [r2740] Fix suspect code for figuring out wc of thrown objects.
MSW 2004-04-24
- 2004-04-22 21:55 ryo_saeba
- [r2739] Fixed & wrote some comments
- 2004-04-21 06:44 mwedel
- [r2738] server/apply.c: fix check_weapon_power() so it operates on overall character
level and not skill level - this matches up what the out of skills
displays.
MSW 2004-04-20
- 2004-04-18 09:32 ryo_saeba
- [r2734] Update comments, doxygen format
- 2004-04-18 07:59 mwedel
- [r2733] common/button.c: Patch by Bernd Edler to have proper speed set for items
activated by buttons.
server/apply.c: Apply the 'special prayer' marker stuff, since it wasn't
used anymore.
server/gods.c: Check for FLAG_EQUIP on spells and not for a special prayer
marker to guess if a spell is a god given spell or not.
server/spell_util.c: Patch by Bernd Edler so that firewalls are immune
to casting time.
MSW 2004-04-17
- 2004-04-16 16:28 akirschbaum
- [r2729] server/shop.c: Decrease adjustment limit for expensive items to 10000 to get a
continuous adjustment function. That is you will get much less when selling
items with a value between 800pp and 2000pp.
Andreas Kirschbaum 2004-04-16
- 2004-04-16 06:23 mwedel
- [r2728] common/map.c: Change blocked_link() to take a map parameter. Also, change code
in blocked_link() to assume that the caller has set up appropriate map and
coordinates related to tiling (in all functions that currently call
blocked_link, this is the case)
include/libproto.h: Rebuilt.
server/move.c, server/player.c: update call to blocked_link to include the map.
MSW 2004-04-15
- 2004-04-14 07:24 mwedel
- [r2726] common/object.c: Change CAN_MERGE() so that it compares the stats structure of
the objects being merged. Fixes problems of rings improperly merging with
other rings that have different stat values.
server/monster.c: Modify check_earthwalls() and check_doors() to take a
map structure as an option parameter, and use that structure when
calling get_map_ob. Fixes a crash in cases where earthwalls/doors
were at the edge of a tiled map, and creature was on other map moving into
it.
server/move.c: Change move_ob() to adjust coordinates for tiling, and
pass in these adjusted coordinages (and map) to the check_() functions
in monster.c
random_maps/treasure.c: Apply patch by Andreas Kirschbaum so that it does
more work in trying to place keys on maps.
MSW 2004-04-13
- 2004-04-10 07:27 mwedel
- [r2719] common/living.c: Patch by Bernd Edler to remove cap on exp for players.
MSW 2004-04-09
- 2004-04-10 03:21 temitchell
- [r2717] - remove god lists from treasures file - will collect them from arches
instead
- add goose to birds race
- 2004-04-10 03:18 temitchell
- [r2716] - add patch to stop pets from multiplying (good idea thanks David
McIlwraith)
- 2004-04-08 06:48 mwedel
- [r2715] common/item.c: If potion wasn't given a random spell, use the archetype
name when it is identified.
common/treasure.c: Fix potion codes so that healing and magic power potions
get the proper spell inserted into them. Also fix line termination issue.
server/skill_util.c: Add check in skill_attack() to make sure current_weapon
is not null - there has been some crashes here, but I can't figure out
how it gets to this state, so better to at least handle it.
MSW 2004-04-07
- 2004-04-07 06:49 mwedel
- [r2714] Patch by Bernd Edler to fix message printout on spells that raise stats -
function cast_change_ability()
MSW 2004-04-06
- 2004-04-07 06:46 mwedel
- [r2713] server/player.c: In flee_player(), make sure the enemy to the player is
on an actual map - fixes crashes.
MSW 2004-04-06
- 2004-04-06 07:05 mwedel
- [r2711] common/potion.c: Fix up change_abil() to more properly deal with potions -
characters could get 0 stat values. Also, messages were not being properly
displayed. Patch is slightly modified from one sent in by Bernd Edler.
MSW 2004-04-05
- 2004-04-05 07:01 mwedel
- [r2710] Fix file with right code - made mistake when with previous checkin.
MSW 2004-04-04
- 2004-04-04 16:37 temitchell
- [r2708] - modify spell_knockback function to exclude DM and add a simple
modifier for friction. Flying creatures are easier to push than
walking creatures (perhaps if a FLAG_STICKYFEET ever comes into play
this modifier can be used here as well to increase effects of friction).
- 2004-04-03 08:05 mwedel
- [r2700] server/main.c: Add extra checking for valid map coordinates after we grab
them from the destination map itself - if a map is broken and has
default enter_ coordinates outside the maps range, this previously
resulted in a crash.
server/pets.c: Pass the correct map object into insert_ob_in_map().
MSW 2004-04-03
- 2004-03-28 15:34 ryo_saeba
- [r2697] Fix wiz's hide against monsters.
- 2004-03-26 22:41 ryo_saeba
- [r2696] Const specifiers
- 2004-03-26 21:59 ryo_saeba
- [r2695] Win32 fixes
- 2004-03-24 08:15 mwedel
- [r2694] server/attack.c: Add scare_creature() function, which sets FLAG_SCARED
and also sets up appropriate enemy. Clean up some formatting in
other functions, and fix friendly fire - move it out of the loop for
all attacktypes (can be after we have figured out max damage). Also,
has a bug where if an attach wasn't doing any damage, friendly fire could
actually make it do damage (eg, fear spell).
server/player.c: Fix up flee_player() to be map tile aware. Also, add
call to flee_player() in handle_newcs_player() so player will run away.
MSW 2004-03-24
- 2004-03-23 07:52 mwedel
- [r2693] server/attack.c: Add missing skill=NULL in kill_object() - can be rare
cases where the proper skill can't be found.
server/move.c: Fix push_object() so that it also updates the pushers/
pushees map - should only happen in tiled map cases.
server/pets.c: Fix summon_object() so that if a summon cult monsters was
cast, we try to find the god from the owner. If still can't find the
god, just return instead of crashing.
server/rune.c: Change trap_disarm() to call destroy_object() on the
trap object, so that all the trapss inventory is also destroyed
and not dumped on the ground.
server/skills.c: Only players without arms to steal.
server/spell_util.c: Change cast_spell to set up the skill pointer for the
caster even if the caster is the wizard.
MSW 2004-03-22
- 2004-03-17 19:20 tanner
- [r2689] crossfire-server-dbg requires crossfire-server to be installed
- 2004-03-15 23:06 tanner
- [r2688] Changed version to cvs date.
- 2004-03-15 22:53 tanner
- [r2687] First attempt and making a debug package for this whole thing.
- 2004-03-12 19:21 ryo_saeba
- [r2679] Patch to enable multiple 'allowed' lines in artifacts
- 2004-03-12 19:04 ryo_saeba
- [r2678] Change join/leave messages color, make DMs more 'stealthy'
- 2004-03-11 02:12 tanner
- [r2676] Changing Makefile.am pushes changes down into each Makefile.in
- 2004-03-11 02:11 tanner
- [r2675] Added very simple crossloop manpage.
- 2004-03-10 18:29 tanner
- [r2674] Fixes to issues identified by lintian.
- 2004-03-07 10:04 akirschbaum
- [r2672] common/item.c: Fixed calc_item_power() to return valid item power for
items with high enchantments.
Andreas Kirschbaum 2004-03-07
- 2004-03-06 08:32 ryo_saeba
- [r2671] Save player's name when using marking rune
- 2004-03-04 23:46 tanner
- [r2669] Make the .pl (perl scripts) be installed 755.
- 2004-03-04 23:11 tanner
- [r2668] Continued re-work on the debian build stuff.
Mostly changes do to my learning curve and splitting out packages so we can have a -dbg package.
- 2004-03-03 01:17 temitchell
- [r2659] - change buffer used for artifact item Allowed lists
- 2004-02-29 02:46 temitchell
- [r2653] - small change in message to make the horn code more generic
- 2004-02-29 02:38 temitchell
- [r2652] - add some items to artifacts for Ixa, also work in the rapier a bit
- 2004-02-29 01:59 temitchell
- [r2651] - add races for water goddess
- 2004-02-29 01:53 temitchell
- [r2650] - change check_cone_push to check_spell_knockback
move function and change it to use the spell object weight
now cone spells (also perhaps bolts later?) which use an arch with
weight will have a 'knockback' or push component based on the weight
of the arch.
- 2004-02-28 22:55 temitchell
- [r2649] add lythander's pipe
shadows use negative energy spells
- 2004-02-28 10:40 ryo_saeba
- [r2641] Warning cleaning
- 2004-02-27 23:00 ryo_saeba
- [r2640] Some warnings cleaning.
- 2004-02-26 06:17 mwedel
- [r2639] copy over x, y into nx, ny in do_mood_change - otherwise, infinite
loop can result because loop variable (x, y) will ge clobbered.
MSW 2004-02-25
- 2004-02-24 06:00 mwedel
- [r2638] common/living.c: Have give_skill_by_name() update the skill pointers in the
player object.
MSW 2004-02-23
- 2004-02-24 05:43 mwedel
- [r2637] server/spell_attack.c: Properly set maxhp in the cone spell - this is used
in ok_to_put_more() to make sure one spell doesn't hit a single space
too many times.
MSW 2004-02-23
- 2004-02-23 06:06 mwedel
- [r2636] common/object.c: Change CAN_MERGE() so that we never merge applied objects -
whether or not they are rings.
server/spell_attack.c: Fix cast_cone() so that it properly hits all directions.
MSW 2004-02-22
- 2004-02-23 01:21 mwedel
- [r2635] lib/*: different spell for dragons vs players for firebreath - update
treasures so monsters use ability version.
server/gods.c: Add missing call to link_player_skills(), resulting in players
having multiple praying skills.
server/skill_util.c: Change learn_skill() so we don't create a skill pointer
for the player if they didn't learn the skill (even if they can't use
such a created skill, it is still a bit confusing). Fix finding of
hand to hand skills to make sure the player can in fact use the skill
in question.
MSW 2004-02-22
- 2004-02-20 00:14 tanner
- [r2627] First attempt at fixing the bugs and wishlist items listed here:
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=crossfire-server&archive=no
My debian build box is an old sparc20, so it takes a very long time
for it to do a QA build, but I'll check this in for people to look at.
Big changes are adding the crossfire-server-common and crossfire-server-dbg
packages.
- 2004-02-18 05:28 mwedel
- [r2626] Fix bug with item_power not being summed properly when determining if
players can equip items or not.
MSW 2004-02-17
- 2004-02-17 03:38 mwedel
- [r2624] include/define.h,server/shop.c: Apply patch by Bernd Edler that gives
bargaining experience based on the amount of money a character saves.
Higher the bargaining skill, the more money they can save.
MSW 2004-02-16
- 2004-02-17 00:35 mwedel
- [r2623] increase the size of the highscore list - 10 seems way too low for
a default value.
MSW 2004-02-16
- 2004-02-17 00:22 mwedel
- [r2622] doc/Developers/spells: Update type on casting_time - include suggested value
for times so that results are hopefully more coherent.
lib/archetypes, treasures.bld: rebuilt.
lib/treasures: Change some of the 'spelldirect' types to just the actual spells,
so that two seperate archs don't have to be maintained.
server/c_wiz.c: Add some basic sanity checking to command_remove() so that
we don't unnecessarily crash.
server/skills.c: write_scroll() - have it reset value of the scroll so that
the scrolls so inscribed by players have better chance of merging.
server/spell_attack.c: cast_cone() - if the caster is a trap, have it hit
the center space, so that characters who detonate cone traps will get hit
by the effects. Also, reduce range of cone spells if they are going
in all directions, compared to being targetted in a speciifc direction.
server/spell_util.c: cast_spell() - put lower limit on player speed_left value
when casting spells - since higher up the calling stack, the player speed
is also reduced, we need to set the lower limit here so that the player
isn't out of action longer than they should be.
MSW 2004-02-16
- 2004-02-17 00:13 tanner
- [r2621] First part of fixing http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232421
- 2004-02-16 20:03 tanner
- [r2619] When the crossfire server crashes or restarts it over-writes the
logfiles.
This make and sort of port-mortem analysis of a crash impossible.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232336
- 2004-02-16 18:05 ryo_saeba
- [r2618] Cleaned some unused fields. Type coherence.
- 2004-02-16 05:10 mwedel
- [r2617] Add check for null path name in load_and_link_tiled_map() - it's possible
that maps like assymetrically.
MSW 2004-02-15
- 2004-02-13 07:42 mwedel
- [r2616] common/object.c: change get_owner() so that it also returns no valid owner if
the owner is removed. This fixes a crash if a player quits but is still
sitting at the play again prompt when something he owns kills something.
server/skill_util.c: Fix show_skills() so that if the character has too many
skills for whatever reason, we don't crash, and instead print an error
to the player.
server/spell_attack.c: Fix typo - not sure actual effect, but probably nothing
good. '+ +' should just have been '+'
MSW 2004-02-12
- 2004-02-11 08:09 mwedel
- [r2614] common/Makefile.am: Clean up proto - lex seems to toss some new symbols in
now days.
common/map.c, common/object.c, server/player.c, socket/item.c,
socket/request.c: change parameters of get_map_from_coord from int to
sint16, so the op->x,op->y can get passed directly in. Update callers of
this function.
lib/archetypes: Add damned 1 to the shop floors.
server/pets.c: Fix problem with big (multisquare) pets following the owner
across tiled map boundaries.
socket/item.c: Fix problem of players being able to see everything within
containers by just looking at them.
MSW 2004-02-10
- 2004-02-11 07:40 mwedel
- [r2613] Clean up even freeing code. Functionality should basically be the
same, but IMO is a bit clear/more efficient now.
MSW 2004-02-10
- 2004-02-10 07:14 mwedel
- [r2612] Fix horrendous memory leak related to extended map info - wasn't
freeing data when it should have.
MSW 2004-02-09
- 2004-02-09 08:04 mwedel
- [r2611] common/treasure.c: add_abilities(): For potions and horns (spell casting
objects) convert the other_arch into a spell and put into the object -
otherwise, the spell casting object casts the wrong spell.
MSW 2004-02-08
- 2004-02-09 05:52 mwedel
- [r2609] cast_change_ability(): Make call to change_abil() after inserting
force into player - necessary for change_abil() to work correctly.
MSW 2004-02-08
- 2004-02-09 05:36 mwedel
- [r2608] common/object.c: Clean up formatting of copy_object. Only real code change
is to fix events - copied event data wasn't getting malloc'd, and thus
when another object of that event was freed, it freed the event data
for all objects derived from it.
common/treasure.c: Fix fix_generated_item() so that books generated by
monsters with no_pick set don't inherit that for the book itself.
Still do it for other objects of the creator type.
MSW 2004-02-08
- 2004-02-08 17:07 ryo_saeba
- [r2607] Object weight limit, become fellower bug
- 2004-02-08 04:24 mwedel
- [r2606] apply(): Allow players to manually apply skill tools.
player.c: Tell player when invisibility spells expire.
MSW 2004-02-07
- 2004-02-05 20:30 tanner
- [r2604] After talking with a couple debian developers, they seem to think debian best practice is to run crossfire as user games.
- Commented out the useradd/userdel from pre/post scripts
- Updated init.d to run crossfire as games
- Changed some perms to allow games to write files/etc.
- 2004-02-05 18:06 tanner
- [r2603] As discussed on irc, making crossfire server run as user crossfire/crossfire.
- 2004-02-05 06:21 tanner
- [r2602] Jaakko's debian specific patch is dpatch format.
- 2004-02-05 05:40 tanner
- [r2601] Moved forward Jaakko's patches.
I think this is a good-to-go-debian build.
- 2004-02-05 00:22 tanner
- [r2600] Small change to changelog.
- 2004-02-05 00:17 tanner
- [r2599] Re-worked the debian stuff to be more elegant(?), meaning it depends more on
the makefiles for where to install stuff, instead of having it all hard coded
in the rules file.
Going to commit, because it compiles now.
STILL have to merge in a couple of Jaakoo's patches from 1.4.0 (like log path,
etch).
- 2004-02-05 00:05 tanner
- [r2598] More badly needed documentation.
- 2004-02-04 23:48 tanner
- [r2597] Wow. Debian lint is much more picky then rpmlint!
- 2004-02-04 23:36 tanner
- [r2596] Some badly needed updates to the man pages.
- 2004-02-04 20:50 tanner
- [r2595] Needed to add the crossfire-config man page to .am and regen the .in. Why is
the autotools so convoluted.
- 2004-02-04 19:47 tanner
- [r2594] E: crossfire-server: copyright-file-contains-full-gpl-license
N:
N: The copyright file /usr/share/doc/<pkg>/copyright contains the
N: complete text of the GPL. It should refer to the file
N: /usr/share/common-licenses/GPL instead.
N:
N: Refer to Policy Manual, section 13.5 for details.
- 2004-02-04 19:39 tanner
- [r2593] Super-quick hack on the crossfire-config man page.
Just took Mark's comments from the code and dropped them into the file.
- 2004-02-04 19:35 tanner
- [r2592] Call me a linux bigot, but I believe all the open source operating systems and
many of the commerical operating systems install perl in /usr/bin/perl now.
- 2004-02-04 18:13 tanner
- [r2591] Removed from cvs 2003/04/05.
- 2004-02-04 18:05 tanner
- [r2590] spell-paths was remove 04/05/2003 in v1.2 of the server.
- 2004-02-04 08:51 tanner
- [r2589] This file is used to configure the uscan(1) and uupdate(1) programs (in the devscripts package). These are used to watch the site you got the original source from.
- 2004-02-04 08:37 tanner
- [r2588] First attempt at adjusting the changelog for 1.5.x builds.
I give the official debian maintain full rights to change whatever they need to to make this stuff get back into the official debian repository.
- 2004-02-04 08:13 tanner
- [r2587] Christian Perrier <bubulle@debian.org> actually French translations.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207120
- 2004-02-04 08:10 tanner
- [r2586] New files associated with Christian Perrier <bubulle@debian.org> fr.po patch.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205773
- 2004-02-04 08:08 tanner
- [r2585] First attempt at importing Christian Perrier <bubulle@debian.org> fr.po patch
into baseline: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205773
- 2004-02-04 07:58 tanner
- [r2584] Mark caught me on irc and said the crossfire-devel mailing list is a better
address for the upstream authors.
- 2004-02-04 07:50 tanner
- [r2583] Trival spacing.
- 2004-02-04 07:46 tanner
- [r2582] - Upstream patch http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=57744
- Mark said (via irc) just remove it
- 2004-02-04 07:25 tanner
- [r2581] Feed debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=168524
back into upstream source
- 2004-02-04 04:02 tanner
- [r2580] - Changed Mark's email address
- Updated the license to CPL v2 as specified in the COPYING file
- 2004-02-04 03:47 tanner
- [r2579] Put Jaakko Niemi's debian stuff into cvs.
Will take these files rel-1-4-0 after this commit.
- 2004-02-02 00:37 mwedel
- [r2578] rebuild various files from arch directory.
MSW 2004-02-01
- 2004-01-31 12:46 tchize
- [r2572] Ooops, last fix had c++ style comments, sorry, fixed
- 2004-01-31 12:10 tchize
- [r2571] Fixed a bandwidth consuption bug. One was in map1a command the other was
in mapextended command. Both having same reason: empty squares outside of
client visible area were sent with empty layer data. mapextended error
came from a cut and paste, simply deleted it. map1a error came from a
mischeck which considered 'nothing to send' the same as 'send all empty faces'.
Fixed
- 2004-01-29 20:29 ryo_saeba
- [r2561] Added flag to not include unistd.h, thus this file doesn't require any modification anymore
- 2004-01-25 06:51 mwedel
- [r2530] Minor bug fixes
treasure.c: add_abilities() - fix problem with not using the correct event
pointer if an artifact had more than two events tied to it (or perhaps
if the object already had one event tied to it, and we are adding
another event)
server/spell_util.c: put_a_monster() - set map for all parts of a multi
part object. prayer_failure() - remove free_object after call of
cast_magic_storm.
MSW 2004-01-24
- 2004-01-21 08:13 mwedel
- [r2527] Rebuilt with up to date aclocal/automake/autoconf so that they all work
properly.
MSW 2004-01-20
- 2004-01-21 08:12 mwedel
- [r2526] Fix for some map drawing anomalies, mostly related to fog of war.
MSW 2004-01-20
- 2004-01-20 14:52 tchize
- [r2525] Slight modification to smoothing code.
Now it's possible to desactivate the smoothing on a map adding
nosmooth 1
in map header. Some mapmaker asked for a 'special arch' which would
disable smoothing on a whole region of map. I think disabling for a whole
map is easier. Maps don't look crappy because of the special arch visibility
(think about no_spell). So no special arch, just about 4 additionnal lines
of code :P. No changes to protocol, so no change to client!
- 2004-01-20 05:48 mwedel
- [r2524] Patch by Andreas Kirschbaum that fixes a bounds error on plugin setup.
MSW 2004-01-19
- 2004-01-20 05:45 mwedel
- [r2523] commit fix by Andreas Kirschbaum that fixes various typos.
MSW 2004-01-19
- 2004-01-19 21:12 ryo_saeba
- [r2522] Let players build on non-unique maps too
- 2004-01-18 10:51 tchize
- [r2520] Rebuilded Makefile.in using autogen.sh because of recent add of a file in server/
Also rebuilded loader.c for linux because loader.l was modified by a windows developper.
- 2004-01-18 10:37 ryo_saeba
- [r2519] Added build_map.c
- 2004-01-18 10:36 ryo_saeba
- [r2518] Added map-building code.
- 2004-01-16 23:15 ryo_saeba
- [r2514] Hook strings-related certain crash
- 2004-01-16 21:17 ryo_saeba
- [r2513] Writing inscription fix. Win32-specific stuff
- 2004-01-16 07:52 mwedel
- [r2512] Fix a bunch of crashes observed on metalforge:
server/player.c: do_hidden_move(): Move call to find skill so that it is
always called.
server/skills.c: write_scroll(): Fix freeing of spell object in
scroll - newscroll->inv isn't valid after calling remove_ob, so
need to copy object to temporary pointer first.
server/spell_effect.c: cast_detection(): Pass in skill to use. If no
skill in use, use the caster object - fixes pointer derefence
as op->chosen_skill wasn't always set.
server/spell_util.c: modify caster_level() to always return at least 1.
Fixes pointer potential divide by zero problems - also guarantees
that players will be able to cast first level spells even if
repelled to that spellpath. ok_to_put_more() - Fix to use correct
map pointer variable. find_target_for_friendly_spell() - make it
so it handles tiled maps OK.
MSW 2003-01-15
- 2004-01-12 06:27 onefang
- [r2509] *** empty log message ***
- 2004-01-12 06:26 onefang
- [r2508] common/object.c: fix the monsters on tiled maps bug that I may have
mentioned a while ago. Seems that the server assumed that all
parts of a multi part monster are on the same map as the head
while moving.
DVS 2004-01-12
- 2003-12-31 19:13 temitchell
- [r2503] - add help file for banish command
- 2003-12-28 06:06 mwedel
- [r2497] common/living.c: fix fix_player() so that character gets benefits/penalties
for sp/hp/grace/etc regen bonuses as related to the god they worship.
server/player.c: dragon_ability_gain(): Modify so that character now gets
attacktype of new ability that they gain. Also, add code so that
the characters face/animation can change (getting set to values the bonus
ability).
MSW 2003-12-27
- 2003-12-21 02:13 mwedel
- [r2492] common/object.c: Set op->events=NULL in reset_object(), and move the
clearing of the op->events structure to be before the memset in
clear_object() - this was otherwise resulting in a memory leak,
as memset would clear the pointer without actually freeing the data.
server/attack.c: Fix indentation of hit_map(), modify it so that attacks
won't destroy items with no_pass set.
server/login.c: set op->speed=0, call update_ob_speed() before calling
reset_object() - fixes problem with players not moving with recent
changes to initting the active lists to NULL.
msw 2003-12-20
- 2003-12-20 16:13 ryo_saeba
- [r2491] Fix meditation message type
- 2003-12-18 20:40 ryo_saeba
- [r2490] GCC 3.3 infinite loop fixes
- 2003-12-14 16:28 ryo_saeba
- [r2488] Compilation warning cleaning
- 2003-12-02 18:51 ryo_saeba
- [r2480] Added & updated comments, now in doxygen-like style
- 2003-12-01 05:45 mwedel
- [r2479] server/rune.c: Fix it so that players won't be hit by traps if they are
not next to them when set off (firing arrows at a door for example).
server/spell_util.c: Fix spell_failure() to properly damage player if they
fumble. Fix cast_spell() to not complain about not having enough
grace if the spell doesn't take grace. Add same check for mana, but that
is much less likely, as harder to get negative mana.
socket/request.c: Fix problem where map sending code was not properly avoiding
duplicating the head of a big image on multiple layers. This bug most often
manifested itself of player standing on lower right corner of large building,
and something else standing on other portion of building - player would seem
to disappear.
MSW 2003-11-30
- 2003-11-29 16:37 ryo_saeba
- [r2477] Changed logical position of 'spell_attack.c'
- 2003-11-29 09:00 ryo_saeba
- [r2476] Fixed collect_images.pl for Windows
- 2003-11-29 02:17 mwedel
- [r2473] Add some op->type==PLAYER checks in cast detection that were missing.
Resulted in crashes if a monster cast one of the detection spells.
MSW 2003-11-28
- 2003-11-25 18:49 ryo_saeba
- [r2472] Skill name when learning. Sense curse and sense magic on items on ground
- 2003-11-17 00:17 mwedel
- [r2464] Rebuild archetypes and treaures.
update map_check to check for spellbook objects.
MSW 2003-11-16
- 2003-11-17 00:13 mwedel
- [r2463] Fix cure_confusion spell - was looking for wrong object.
MSW 2003-11-16
- 2003-11-14 07:57 mwedel
- [r2460] Add missing out_of_map() check to animate_bomb()
MSW 2003-11-13
- 2003-11-14 07:53 mwedel
- [r2459] Add missing {} in in_singing().
MSW 2003-11-13
- 2003-11-12 07:29 mwedel
- [r2456] fix starting spellbook for paladins.
MSW 2003-11-11
- 2003-11-12 06:28 mwedel
- [r2455] Fix by hsteoh@quickfur.ath.cx so that flying objects don't get sucked
up by swamps.
MSW 2003-11-11
- 2003-11-11 07:58 mwedel
- [r2453] common/loader.l, loader.c: Fix firewalls so that their spell is properly
initialized - uses 'dam' and not sp for those objects
MSW 2003-11-11
- 2003-11-11 07:37 mwedel
- [r2452] server/apply.c: Fix check_weapon_power so that it finds proper wc object.
Fix unapply_for_ob so that it won't unequip cursed/damned weapons if
player switches objects.
MSW 2003-11-11
- 2003-11-10 05:39 mwedel
- [r2449] bulk of this is to fix exp loss when changing gods if you have more than
2 billion exp, removal of spells when you switch levels, and not giving you
all new spells when you switch religions.
--
common/living.c: Update exp functions to be fully 64 bit aware. Don't
take away from player total exp if SK_SUBTRACT_SKILL_EXP is passed in.
common/utils.c: Add 64 bit version of random_roll(), called random_roll64()
lib/treasures: Make indentation consistent for some treasures.
server/apply.c: Use the FLAG_STARTEQUIP to denote god given spells, instead
of using special prayer markers. This simplifies the spell learning
and removal code.
server/gods.c: Make exp loss for changing religions 64 bit compliant.
Fix become_follower() so that it doesn't give all the new gods special
spells if you switch religions. Fix code so that it properly removes
all special prayers from previous god, and also print out message on what
spells you lost. Don't set the prayer skill as applied in various
areas - this results in two skills being applied, which isn't proper.
MSW 2003-11-09
- 2003-11-07 23:16 ryo_saeba
- [r2448] Added .cvsignore for make_win32 subdirectory.
- 2003-11-07 19:54 ryo_saeba
- [r2447] Fixed newline issue with previous commit.
- 2003-11-07 19:01 ryo_saeba
- [r2446] Improved 'tell' command. Fix Win32-Python issues. Fix Win32 compilation issue.
- 2003-11-07 05:17 mwedel
- [r2445] Fix bug would it cast_detect() would go into infinite loop.
MSW 2003-11-06
- 2003-11-04 18:53 ryo_saeba
- [r2444] First version, basic but working
- 2003-11-02 05:18 mwedel
- [r2440] common/treasure.c, doc/Developers/spells: Fix generation of rods so they have
enough charges to cast the spells. Update documentation on what maxhp for
the archetype of rods means.
MSW 2003-11-01
- 2003-11-02 04:17 mwedel
- [r2439] server/player.c: Fix crash in stand_near_hostile when it is called on
tiled maps with player near edge.
MSW 2003-11-01
- 2003-10-28 02:18 onefang
- [r2432] New developer added:
DEVELOPERS: David Seikel added.
dvs1 2003-10-28
- 2003-10-27 09:48 gros
- [r2431] Corrected improperly assigned pointers when calling a plugin drop event.
- 2003-10-27 07:24 mwedel
- [r2430] Various bug fixes:
common/arch.c: Fix item_matched_string() so that it only passes in the length
of the pssed in name in the strncasecmp(), and not the shorter of the
passed in string or item name. Otherwise, if player does a 'drop wand of',
unidentified wands (name just wand) would match. Similarly, if a player
did 'drop ringmail', unidentified rings would match, etc.
common/living.c: Fix fix_player() to always process the praying skill with
respect to resistances and whatnot. This is necessary because the
god give abilities are put in this skill, and those shouldn't go away
depending on if the skill is in use or not. Also fix bug in add_exp
routines which wasn't multiplying permanent exp by PERM_EXP_GAIN_RATIO
common/object.c: Fix find_obj_by_type_subtype() - had extraneous semicolon
after the for loop, so the if code that was supposed to be for each object
was never called and instead would crash as it would get called with tmp
was null.
server/attack.c: Fix problem with kill_object() not finding proper skill -
it would use the skill object instead of the skill. Fix problem of
poisoning not setting up proper skill name in poisoning object.
server/c_range.c: If player is invoking a spell, don't update their
range_magic value.
server/skill_util.c: Fix divide by zero problem if improperly passed
skill object.
MSW 2003-10-26
- 2003-10-27 03:44 temitchell
- [r2425] - Add TRIGGER_MARKER object (type 52)
a MARKER that can activated by a connected trigger.
- 2003-10-26 06:56 mwedel
- [r2418] common/glue.c, common/object.c, common/player.c, include/funcpoint.h,
server/init.c, server/monster.c, server/shop.c, server/skill_util.c: add
find_skill_by_number() function - this replaces find_skill. Locate new
function in skill_util.c, which is more a proper place than
common/player.c - this change necessitated adding glue function pointers
so the other common files can call it.
server/spell_effect.c: Fix cast_heal() so if the spell is not one that heals
hit points, don't process the code that checks for that and sets
a false success value.
socket/metaserver.c: Clean up formatting - no code changes.
MSW 2003-10-25
- 2003-10-26 04:53 mwedel
- [r2417] Rebuild. Main change is removal of the spell_direct arches, and update
the treasures file to instead use the spell objects directly.
MSW 2003-10-25
- 2003-10-24 20:03 ryo_saeba
- [r2412] Fix apply_spellbook to return when spell is null before doing spell->level :)
- 2003-10-24 17:01 ryo_saeba
- [r2411] Added missing file spell_attack.c
- 2003-10-21 17:16 ryo_saeba
- [r2410] Patch by Karla Stenger to check given direction for command_run / command_fire
- 2003-10-21 17:14 ryo_saeba
- [r2409] Added myself so people know where to complain if I break things.
- 2003-10-17 17:24 ryo_saeba
- [r2399] Name of spell gained by a dragon is in item->name, not item->inv->name (item->inv is NULL)
- 2003-10-15 09:39 gros
- [r2398] Corrected a bug preventing the use of event_options.
- 2003-10-14 06:54 mwedel
- [r2397] server/apply.c: fix bug so that we don't re-do treasures for objects
that have already had them made.
server/attack.c: Fix bug with monsters with drain causing cores.
server/player.c: Fix spell gaining for dragon players. Use actual
spell object.
MSW 2003-10-13
- 2003-10-12 08:48 ryo_saeba
- [r2395] 'subtype ' is 8 chars long, not 2! May break some things...
- 2003-10-12 03:59 mwedel
- [r2394] force was not properly initalized, resuling in cores.
MSW 2003-10-11
- 2003-10-12 03:57 mwedel
- [r2393] If compiling with DEBUG enabled, disable the signal handlers that
catch program errors. I find that the signal handler that is otherwise
called tends to corrupt the stack trace/core image, making it somewhat
useless. If you're running DEBUG, presumably you want usable core files.
MSW 2003-10-11
- 2003-10-09 07:21 mwedel
- [r2388] common/arch.c: fix item_matched_string() so that matching makes sense -
the ordering was wrong, so that we would match something with a low
priority, and skip over looking to see if that same object would get
a better match. Order the function so that we look for the best
matches first.
MSW 2003-10-08
- 2003-10-08 07:20 mwedel
- [r2385] socket/request.c: Clean up some compile warnings. Improve big face
handling - there were cases where data wasn't being sent when
it should have, and vice versa. Basically, do better checking
to see if we should send a big face for a particular layer, and
also better checking to make sure we don't send the same face more
than once for the same layer. Also, change esrv_map_scroll()
to clear out spaces that appear into view - adds a little extra bandwdith,
but necessary because otherwise the fact there is a big face on the edge
doesn't always get sent.
MSW 2003-10-07
- 2003-10-08 05:43 mwedel
- [r2383] Fix typo that somehow slipped through my checks.
MSW 2003-10-07
- 2003-10-07 07:02 mwedel
- [r2381] TODO: various updates.
common/button: Old patch by David Seikel: change inventory checkers so that
the monster/player is also checked against. And do more proper for checkers
that check against slaying or race - if the trigger doesn't have
those set, we don't want to compare a null against another null and
get success).
server/apply.c: Change apply_shop_mat() so that it removes unpaid objects from
monsters (or thrown containers for that matter). Old patch by Bernd Edler
to improve messages dragons get for eating various food types.
server/player.c: Add another missing call to fix_player(). Modify
move_player_attack() so that the target player doesn't hit back if
they are the WIZ or on a battleground
MSW 2003-10-06
- 2003-10-06 04:25 mwedel
- [r2379] Recollect these. Various new arch's have been added.
MSW 2003-10-05
- 2003-10-02 07:13 mwedel
- [r2366] Clean up sack_can_hold. Same functionality, just prevent the buffers
from overflowing, and quit processing once we know we can't succeed.
MSW 2003-10-01
- 2003-10-01 06:55 mwedel
- [r2364] utils/player_dl.html utils/player_dl.pl.in: New files - scripts for allowing
character directories to be downloaded over the web.
configure.ac: Add check for 'tar', so that we can put it in the script above.
Makefile.in (All of them): Changed because TAR variable propogated to them.
MSW 2003-09-30
- 2003-09-29 04:02 mwedel
- [r2361] server/time.c: Real change is to add a missing call to fix_player - without
this new players would be getting messed up maxsp/maxgrace values. Cleaned
up formatting in move_player_changer() while doing the other change.
MSW 2003-09-28
- 2003-09-26 06:12 mwedel
- [r2349] PAtch by nicolas.weeger@laposte.net to replace usage of long long with
sint64 values.
MSW 2003-09-25
- 2003-09-26 05:46 mwedel
- [r2348] update changelog.
- 2003-09-26 05:46 mwedel
- [r2347] common/living.c, include/libproto.h: Update some functions to take 64 bit int
values for exp usage.
MSW 2003-09-25
- 2003-09-26 05:44 mwedel
- [r2346] random_maps/random_map.c: Don't ever make rogue maps symmetric -
creates unconnected maps. Clean up layoutgen() to not have a bunch
of duplicated code.
MSW 2003-09-25
- 2003-09-25 03:39 temitchell
- [r2345] - add in support for alternate doors styles in random maps. This will
now search for specific door style maps (e.g. special/webs) and if it
does not find them will default to normal doors (the horizonal and
vertical kind).
- 2003-09-24 06:08 mwedel
- [r2341] server/skill_util.c: Call esrv_send_inventory on the cauldron if we
performed alchemy. Needed for cauldron's contents to get updated.
MSW 2003-09-23
- 2003-09-23 07:13 mwedel
- [r2340] Fix problem with it truncating 64 bit exp values to 32 bit on
saves. Also fix problem where it wasn't using proper macros for
new fields added as part of spell/skill additions.
Note: The exp fixes should get back ported to rel-1-5-0-patch, as that
problem does exist there also.
MSW 2003-09-22
- 2003-09-23 05:40 mwedel
- [r2339] Add a little checking to 'kick' command so we don't kick a player that
is already removed, causing a crash. Also, fix up the formatting
of the command_kcik function.
MSW 2003-09-22
- 2003-09-23 05:21 mwedel
- [r2338] Add conditional compilation to the stop level Makefile.am so that it
only tries to compile crossedit if we have X libraries. Also, rebuild
the files with older version of aclocal/autoheader/automake, so it
shouldn't have as many troubles with some peoples systems.
MSW 2003-09-22
- 2003-09-23 04:45 mwedel
- [r2337] Add missing bit for checking custom names.
MSW 2003-09-22
- 2003-09-23 04:23 mwedel
- [r2336] Fix num_resist_table value in file - was one larger than it was supposed
to be.
MSW 2003-09-22
- 2003-09-16 04:58 temitchell
- [r2329] - add in command entry to activate Karla Stenger's me command code
previously committed.
- 2003-09-16 04:21 mwedel
- [r2328] More fix for artifact script events. Remove hardcode entry for number
of events, and update problem with event->type not being set, causing
crashes when it goes to save the object.
MSW 2003-09-15
- 2003-09-15 06:12 mwedel
- [r2327] Fix same bugs as fixed in rel-1-5-0-patch.
common/living.c, server/login.c:
Fix crashes when dragon player inventory is completely wiped out.
That in itself shouldn't happen, but we still shouldn't crash.
Problem is missing skin and ability forces.
MSW 2003-09-14
common/treasure.c
Fix problem with the even structure not fully being initiliazed, resulting
in crashes for artifacts that have events (eg, occidental mages item).
MSW 2003-09-14
- 2003-09-14 19:32 temitchell
- [r2326] - reformat these as structured text - it is easy to read, is a
consistant format and easy to apply styles to
(scripted conversion to html, pdf..).
these should now be easier to copy/diff directly onto/between the CFdoc
site
- 2003-09-14 07:07 mwedel
- [r2324] Don't allow _ or - for the first character of players names. Makes
handling of player files/directories a bit more of a pain (plus, may
not be legal on all potential OS's?)
MSW 2003-09-13
- 2003-09-13 22:39 temitchell
- [r2320] - by default the server should not generate weather maps
- 2003-09-13 18:30 mwedel
- [r2319] Fix apply.c compile error.
MSW 2003-09-13
- 2003-09-13 05:06 mwedel
- [r2317] Check in this file.
MSW 2003-09-12
- 2003-09-13 05:02 mwedel
- [r2316] Updated code for skill + spell code. skills and spells are now objects.
tuning these now means changing the archetypes. New spells can now
be added just by making a new archetype. Lots of code cleanup
also done.
MSW 2003-09-12
- 2003-09-13 04:12 mwedel
- [r2314] Some code cleanup, but mostly a bug in get_rangevector code which
would return incorrect results. This would result monsters attacking
the player, even though the player wasn't next to them.
MSW 2003-09-12
- 2003-09-12 01:37 crowbert
- [r2311] add a search option to the maps command
- 2003-09-04 06:25 temitchell
- [r2304] - add new type TRAP, make initial seperations from RUNE in code
add in traps triggering stuff if they are detonated
- 2003-09-03 13:42 tchize
- [r2301] Allow renaming items for users. Thanks to Nicolas Weeger (Ryo)
- 2003-09-03 12:25 tchize
- [r2300] generator may now use their inventory as a basis to generated items
instead of the other_arch field. Will allow more fine tuned generators
- 2003-09-03 03:52 temitchell
- [r2299] - adjust chances to find bodyparts on behemoth, giantrat and wolves
- 2003-09-03 00:54 temitchell
- [r2298] - changes to add brains and hides to treasures file
- 2003-09-01 14:31 tchize
- [r2295] Rune patch submitted by Ryo. Show name of runes when disarming (fails and success)
- 2003-08-28 02:06 temitchell
- [r2292] - oops no brains yet...
- 2003-08-28 02:03 temitchell
- [r2291] - add ape treasures
- 2003-08-27 00:00 temitchell
- [r2287] Added friendly_fire to attack.c, called from hit_player.
Will put a cap on maxdam that is a percentage (1-100%)
of damage (min 1)based on SET_FRIENDLY_FIRE value (in settings)when
players attack other players in peaceful mode. Changed who, statistics
commands to show this setting better and added a help file for peaceful.
It would be nice to have a indicator (even a toggle button?)in the
client for this as well.
- 2003-08-23 17:37 temitchell
- [r2286] - commit patch by Nicolas Weeger to fix random maps on win32
- 2003-08-23 16:17 temitchell
- [r2285] - fix this as per authors request (Nicolas Weeger).
- 2003-08-21 20:00 temitchell
- [r2284] - moved get_other_player_from_name to beginning of the file to clear
"assignment makes pointer from int without a cast" warnings up.
- 2003-08-08 17:49 tchize
- [r2283] Comments cleanup in the FASTCAT saving code (long waited by mwedel i
suppose :P) and in the smoothing map1function
- 2003-08-02 16:25 tchize
- [r2279] WIN32 bugfixes, (mappath fix and uint64 fix)
thanks to Nicolas Wegeer for submit.
Partial Transcript from mail:
...
The first, global.patch, fixes bad u/sint46 for Win32 in
include/global.h
There was no SIZEOF_LONG defined, so it would error...
Also, the Python includes define SIZEOF_LONG_LONG as 8, so it's better
to have some coherence somewhere :-)
The second is for common/map.c
It fixes broken check_path which would simply ignore the prepend_dir
argument, resulting in broken map links in big maps... (would try to
find map in world/world_xxx_xxx instead of
share/maps/world/world_xxx_xxx).
I think they don't change anything for other platforms.
...
- 2003-08-02 16:02 tchize
- [r2278] Correct a bug in find_best_object_apply_match so now match is coherent
with find_best_object_match
patch according to what submitted by Nicolas Wegeer on cf-devel mailing
on 1st of august 2003 with subject
"[CF-Devel] Patch submission: apply item matching bug"
- 2003-07-28 05:19 ketche
- [r2276] *** empty log message ***
- 2003-07-26 05:30 ketche
- [r2274] *** empty log message ***
- 2003-07-26 02:10 temitchell
- [r2273] - addition of Banish command. This ad a new file for ban.c to check in
var called banish where banished IPs are stored.
- modified kick command to kill the socket and really kick the player.
- touched up the get player by name so the messages are more generic.
- 2003-07-24 04:53 temitchell
- [r2268] - forgot to add these help files for shouting
- 2003-07-24 04:21 temitchell
- [r2267] - added toggle_shout DM command to disable/enable player shouting
- 2003-07-18 05:20 temitchell
- [r2257] - update collection
- 2003-07-17 09:36 tchize
- [r2255] Debugged collect script so it won't put the 'smoothface' info inside archetypes file. Rebuild the
archetypes file accordingly
- 2003-07-16 06:38 temitchell
- [r2250] - update the collection with changes
- 2003-07-15 16:45 garbled
- [r2242] Bah.. stupid me forgot to check in this file last night.
- 2003-07-15 12:56 tchize
- [r2239] updated collect.pl to pickup smoothing info from archetype and regenerated the picture and
smoothing file using it.
- 2003-07-14 22:10 garbled
- [r2238] Disable the feather_map routine, and replace with a jitter factor to smooth
the edges of the weathermaps. If this works out, I'll yank the whole
routine from the code. As of now, as far as I can tell, weather works up
to level 5 properly.
- 2003-07-13 07:33 garbled
- [r2235] Add selected patches contributed by David Seikel:
Fix the sscanf's in a few of the read operations.
Add the globe_spinning routine to help moosh the humidity around a bit
Add the wind factor stuff
Add the automatic image generation
Make the game stop writing the elevation data all the time.
Some minor humidity tweaks.
Also a few minor tweaks by myself. Not all of David's changes were added
in, but most of them were.
- 2003-07-13 07:21 garbled
- [r2234] Fix the bug where multi-tiled houses end up partially obscured by the snow.
- 2003-07-13 00:22 temitchell
- [r2232] - added seas
- 2003-07-12 08:42 temitchell
- [r2229] - add changes (first animated smoothie - lava)
- 2003-07-10 09:57 tchize
- [r2224] rebuild archetype files with smoothing and changed the smooth file since
there were mistakes in it.
- 2003-07-09 02:48 temitchell
- [r2221] - changed this to reflect my changes to the templates - still in
progress
- 2003-07-08 12:45 tchize
- [r2210] Changed the way smoothing is done. Switched th smooth command to binary
mode, rebuild archetype files, added doc on smoothing, updated protocol
file. Changed a the "togglemapextended smoothing" to "togglemapextended
smooth" to prevent problem of compatibilities with previous cvs
smoothing release.
- 2003-07-07 18:49 tchize
- [r2207] Fixed bug in new get_ob_diff code. The resist_save array needed to get the trailing space
or you would endup with "resist_electricty30" instead of "resist_electricity 30". Moreover
the maxgrace stat was saved as maxgra. Fixed both and regenerated loader.c
- 2003-07-03 20:03 tchize
- [r2206] Modified change logs and protocol documentation.
Promised smoothing doc will follow as fast as possible
- 2003-07-02 15:13 tchize
- [r2205] Corrects a bug un loader.l preventing from compiling with some compilers:
static int eol_size=strlen("\n");
which some compilers consider as non constant replaced by
static int eol_size=sizeof("\n")-1;
Sorry for convenience Todd
- 2003-06-30 20:51 gros
- [r2204] Corrected a bug involving assignation to an uninitialized pointer in the
new event code - Gros 30/06/03
- 2003-06-30 19:59 tchize
- [r2203] sorry, little bug in weather system
- 2003-06-30 19:14 tchize
- [r2202] Various code optimisations to help preventing peeks at maploads. Includes:
* rewritten saving of objects, removed needs for sprintf calls and most strlen calls
* modified map structures for saving of a very small amount of additionnal precalculated datas for weather
* added FAST_xxx macros for fast string manipulations
- 2003-06-30 11:21 gros
- [r2201] Corrected improper comparaison algorithm for event structures inside objects - Gros 30/06/03
- 2003-06-26 11:27 gros
- [r2200] Re-implemented the event hooks in objects as a dynamically linked list,
instead of a static table.
- 2003-06-21 07:38 gros
- [r2197] Completed the timer code, making it useable. Gros 21/06/03
- 2003-06-19 10:59 tchize
- [r2194] Added support for smoothing to the client.
This will allow (i hope) better graphical results while using very
little bandwidth overhead.
Changes done follows:
- Added protocol command MapExtendedInfos and smooth commands to server
- Added a SetUp paramater in protocol for activating smoothing
(disabled by default) or more general Extended map infos
- Added file lib/smooth a text file containing some smoothing info a
client might ask the server about.
- Changed loader.l to be able to mark an object as 'smoothed' in
archetypes (the smoothlevel parameter) and rebuild loader.c
accordingly
- Changed lib/Makefile.am to install lib/smooth file in shared folder
- Rebuild the Makefiles.am and the Configure script (using autogen.sh)
To be able to smooth, A client commit (the common part+ the gtk part)
will follow and an archetypes commit will also follow.
I will also detail changes to the protocol within a few days
Server has been tested with older client to check backward compatibility
- 2003-06-19 06:52 mwedel
- [r2193] server/apply.c: Fix auto_apply - missing else, causing extra
treausres to be generated inside of shop tiles.
server/monster.c: Fix npc_call_help to be map tile aware.
MSW 2003-06-18
- 2003-06-16 05:15 mwedel
- [r2185] Add fix for crashes if owner of object is in process of exiting.
MSW 2003-06-15
- 2003-06-11 18:38 gros
- [r2178] Typo correction for DecreaseObjectNr - Gros 11/06/03
- 2003-06-11 17:38 gros
- [r2176] Added support for DecreaseObject, a wrapper for decrease_object
- Gros 11/06/03
- 2003-06-11 06:49 mwedel
- [r2175] Modify collect.pl so that it strips blank lines out of the collected
.trs files.
MSW 2003-06-10
- 2003-05-31 11:48 gros
- [r2171] Added a Python wrapper for the set_variable function - Gros 31/05/03
- 2003-05-27 22:00 gros
- [r2170] Added Logger-aware Arena maps for the bigworld maps.
- 2003-05-27 21:58 gros
- [r2169] Minor fixes in the Logger code.
- 2003-05-27 21:54 gros
- [r2168] Added a small notice about settings on MySQL SGDB.
- 2003-05-27 21:50 gros
- [r2167] Various Logger corrections and improvements
- 2003-05-27 21:47 gros
- [r2166] Various corrections of the Logger.
- 2003-05-27 14:21 avogl
- [r2165] The big wizard treasurelist contained native fire-
and cold abilities, which caused the bigwiz to suicide
because it lacks resistance to fire/cold.
I have set them to "spell" abilities now, which means
the spells get the magic component and the wizzies
don't hurt themselves anymore.
--AV
- 2003-05-27 04:37 mwedel
- [r2164] lib/collect.pl.in: Modify it so that it will collect .trs (treasure) files and
build a treasures.bld from that as well as the existing treasures file. In
this way, treasure information for objects can be put in the arch
directory.
lib/Makefile.am, Makefile.in: Modified so that it copies over the
treasures.bld to treasures in the destination directory. Have
the collect directive also build the images, so that a double
make isn't necessary.
lib/treasures.bld: Added file - like the archetypes, this is the pre-
build treasure file. Until .trs files are added, this will just
match the treasures file with some additional comments.
MSW 2003-05-26
- 2003-05-26 23:58 mwedel
- [r2163] common/map.c: Fix bug causing unnecessary crashes - ok for the map
to match if the object has been removed.
socket/loop.c: Only make call to draw_client_map() if we have a valid
map to draw.
MSW 2003-05-26
- 2003-05-26 05:28 mwedel
- [r2159] common/anim.c: Patch by AV to make sure multipart monsters animations
stay in sync. MSW 2003-05-25
- 2003-05-25 19:25 gros
- [r2157] Quick correction - prevents the logger to try to read negative map coordinates
when creating screenshoots.
- 2003-05-25 11:53 avogl
- [r2156] Corrected a bunch of syntax errors in the treasures file.
The crossfire server is quite forgiving about these
errors but better to fix them anyways.
--AV
- 2003-05-25 05:14 temitchell
- [r2155] -shadow abilities
- 2003-05-25 00:00 temitchell
- [r2151] -hellhound abilities
- 2003-05-24 14:02 jbontje
- [r2144] Change IRC server hostname (thanks hoxu)
mids 2003-05-24
- 2003-05-24 04:51 mwedel
- [r2141] server/apply.c: Fix bug in that we weren't calling esrv_map_scroll()
when player used a shop map but lacked sufficient funds to pay
for his items.
MSW 2002-05-23
- 2003-05-21 07:31 mwedel
- [r2138] common/item.c, common/utils.c, include/config.h: Add #define NEW_MATERIAL_CODE
and checks in the other files for this - if this is commented out
(default), then the new material naming code is disabled - material
names won't be put in the items names as shown in the inventory
(can still see material by examining an object), and objects that are
created will be created with the default material (eg, iron for
most armor/weapons, eg, brass, bronze, copper items won't show
up anymore).
lib/settings: Add comments from the old config.h file that describes
what the options already does. Having no comments in this file
or in config.h anymore is very unfriendly.
MSW 2003-05-20
- 2003-05-06 06:20 temitchell
- [r2116] - lore collection script in python.
- basic functionality for the curious until this can be written in
Perl or some such (FYI - Perl 5 book is right under the one for the C#
class I have to take for work...)
- 2003-04-18 07:39 temitchell
- [r2105] - taking out the bigworld emergency map section as this will be handled
by a .emergency file in the map set.
- 2003-04-15 05:57 mwedel
- [r2104] server/player.c: Have players start at max hp/grace/sp.
MSW 2003-04-14
- 2003-04-14 06:41 mwedel
- [r2103] server/c_range.c: Add check to make sure we are actually removing a
golem and that the object hasn't been freed/recycled and the
player not updated. Fixes crashes.
MSW 2003-04-13
- 2003-04-14 01:11 temitchell
- [r2102] - Add my name to this (so people know who to blame)
- 2003-04-10 05:21 mwedel
- [r2097] Add missing initializer - fixes some crashes.
MSW 2004-04-09
- 2003-04-10 01:26 temitchell
- [r2096] - add in commented section for emergency placement for use with bigworld
maps
- 2003-04-05 05:39 mwedel
- [r2087] acinclude.m4: Update path to find python includes, since aclocal.m4 gets
derived from this file.
configure.ac, configure: Add utils/scores.pl to list of files to substitute on.
common/loader.l, loader.c: Add subtype for objects - will be used in future work.
common/object.c: Add subtype diff check in CAN_MERGE()
common/porting.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have
hardcoded 777 permissions.
doc/Makefile.in, doc/Makefile.am, doc/Developers/Makefile.am,
doc/Developers/Makefile.in: Move some of the spell docs around and merge
them together
doc/Developers/objects: Add notes about subtype.
doc/Developers/spells: New file, contains preliminary work on spell objects.
include/config.h: Remove command about DM_MAIL and LIBDIR from file, as they
are options no longer present. Update comment about SAVE_MODE, and add
SAVE_DIR_MODE
include/object.h: Add subtype field to object.
server/login.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have
hardcoded 6700 permissions.
utils/Makefile.in: Updated to know about scores.pl
utils/scores.pl.in: New file - reads player file to generate HTML score
file.
MSW 2003-04-04
- 2003-04-02 08:13 mwedel
- [r2084] TODO: Various updates
aclocal.m4,configure: Update path to find python (fix again)
common/image.c: Minor update to a ocmment in the code.
common/los.c: Add missing P_OUT_OF_MAP checks that resulted in some incorrect
LOS calcuations.
include/funcpoint.h: Remove draw_func function pointer.
lib/Makefile.am, in: Remove bmaps.paths to from being installed or being part
of distribution - bmaps.paths is only needed when collecting the image
lib/*: Rebuilt
server/c_object.c: Patch by Bernd Edler to have the apply functions take into
acount if the item is equipped or not when looking for good matched items.
server/commands.c: Move printlos to normal commands. I don't think it reveals
any information that is in any way harmful. And since it dumps the
output to the players screen, no concern of it filling up log files.
Also, when doing LOS debugging, it is pointless to have it as a DM command
because LOS is ignored for DM's.
server/disease.c: Modify remove_symptoms to remove all symptoms the player
may have a disease. Modify infect_object() to not allow a creature to
have more than one instance of the same disease.
socket/info.c: remove draw() - instead, draw_client_map() can be used,
as that is most the only thing draw() did anyways.
socket/loop.c: Update draw() calls to draw_client_map()
socket/request.c: Remove special handling for darkness==4 cases (first
space that is in full darkness) - this is extra complications and causes
display problems. Update draw_client_map() to include the little bit
of logic that draw() had that this function did not have.
MSW 2003-04-01
- 2003-03-30 16:40 temitchell
- [r2079] added one more groundtype to the weather code:
- 2003-03-24 06:58 mwedel
- [r2074] common/glue.c, include/funcpoint.h: remove draw_func() pointer - no longer
needed, so code that sets up pointer removed.
lib/*: rebuilt - facings added to old player animation information.
ruined_temple archetype added.
server/init.c: remove set_draw() function
server/player.c: remove call to draw() - socket code takes care of this.
socket/info.c: remove draw() - instead, draw_client_map() can be used,
as that is most the only thing draw() did anyways.
socket/loop.c: Update draw() calls to draw_client_map()
socket/request.c: Remove special handling for darkness==4 cases (first
space that is in full darkness) - this is extra complications and causes
display problems. Update draw_client_map() to include the little bit
of logic that draw() had that this function did not have.
MSW 2003-03-24
- 2003-03-21 08:01 mwedel
- [r2071] server/spell_effect.c: Some code cleanuip to cast_change_attr - mostly
to combine the processing of the stat improving spells together.
The actual change to playability is that bless and holy possession
don't stack if cast multiple times.
server/spell_util.c: Modify create_aura so that player can't have more than
one aura (of the same type) active at a time.
MSW 2003-03-20
- 2003-03-20 07:57 mwedel
- [r2070] server/apply.c: Change weapon improving code to only use up the number of
potions that it needs, and not all on the ground. Required adding
another arg to eat_item() which is the number of items to consume.
include/sproto.h: Rebuilt for new eat_item() (actually, a static, so no
longer shows up in this file)
MSW 2003-03-19
- 2003-03-20 07:21 mwedel
- [r2069] server/attack.c: Change did_make_save to strip out magic attacktype when making
saves for objects - otherwise, things like poison cloud destroy objects.
server/time.c: deal with player animations special in process_object - need to
pass in the facing value, and not direction, since direction gets reset.
MSW 2003-03-19
- 2003-03-19 08:18 mwedel
- [r2068] increase MAX_OBJECTS to 100,000. This value may still be too low, but
I have observed problems on a very active server (metalforge) where maps
are getting swapped out immediately as a player transfers to a new one -
this causes problems (crashes) in the caller that expects the map the
object just came from to still be in memory.
MSW 2003-03-18
- 2003-03-19 08:09 mwedel
- [r2067] crossedit/Attr.c, server/main.c, server/time.c: Update calls to animate_object()
MSW 2003-03-18
- 2003-03-19 08:04 mwedel
- [r2066] common/anim.c: Pass direction to animate_object() - needed for player
animations as player's facing may not match direction.
crossedit/Attr.c, server/main.c, server/time.c: Update calls to animate_object()
include/libproto.h: rebuilt
include/newserver.h, plugin_animator/animator_box.c, socket/init.c,
socket/request.c: Remove newanim field from socket structure - not needed -
how to animate is determined by object, not by socket.
server/move.c: Add check to P_OUT_OF_MAP in teleport function.
server/player.c: change move_player to call animate_object, so it gets full
power of functionality it supports instead of 4 way hardcode animation
information.
server/spell_effect.c: When altars are consecrated, don't look to arch name
for first portion of name - always call them Altar of %s - fixes problem
where altar is special god altar that has god's name in archetype, resulting
in altar of .. of ...
MSW 2003-03-18
- 2003-03-09 00:52 mwedel
- [r2059] Forgot to update the type to 64 bit value for resurrection code.
MSW 2003-03-08
- 2003-03-09 00:44 mwedel
- [r2058] Update a few printf/sprintf to use %lld for 64 bit exp values.
MSW 2003-03-08
- 2003-03-09 00:18 mwedel
- [r2057] More fixes for random map sizes - move the check for minimum size up
higher in the code (before expand2x and symmetry are checked). At another
check after size adjustments for symmetry and expand2x are done to make
sure size meets minimum values - if not, reset them. Some layouts
don't work right if map size is too small.
MSW 2003-03-08
- 2003-03-08 05:35 mwedel
- [r2055] Patch for 64 bit experience total, as well as flexible number of levels.
Basically, max level is now dynamic, set in exp_table file. Experience
is now a 64 bit value, so much higher totals now allowed. To
allow for flexible levels, add new function - did_make_save() which is used
for players/monsters to see if they make their saving throw - this is
necessary because the savethrow[] array may not be as large as max level -
did_make_save takes this into account.
NOTE: If your updating a server, you will need to copy over/set up a
new exp_table file that has max_levels defined and at least one of the
tables uncommented. There are no longer any compiled in defaults
--
configure, configure.ac: Add AC_CHECK_SIZEOF calls for long and long long
so we can know which one to use for 64 bit support (other checks
may need to be added)
common/exp.c: Remove levels table, replace it with a 64 bit pointer.
Change init_experience to allocate appropriately sized table, have it
read max_level value from exp_table file. Replace atoi calls with
atoll to get 64 bit value. Update dump_experience to properly
print 64 bit values.
common/info.c: Update dump routines that dump exp to properly print
64 bit values.
common/init.c: Add initializing for settings.max_level value.
common/item.c: Update sprintf's to handle 64 bit output of exp (speed)
value in objects.
common/living.c: change MAX_EXP define, update MAX_EXP_IN_OBJ define,
add MAX_SAVE_LEVEL which corresponds to how large the savethrow
table is. Change MAXLEVEL to settings.max_level. Change level_exp()
to return 64 bit value, other updates in functions to use 64 bit
values. Add did_make_save() function.
common/loader.l, common/loader.c: Update load/save routins of exp to
deal with 64 bit values.
common/map.c: Update calculate_difficulty to use 64 bit values when
storing exp - unlikely to make a difference, since unlikely any map
will get to a point where it has that much exp on it.
common/porting.c: Remove dead code from save_long(), add save_long_long()
to save 64 bit values.
include/autoconf.h.in: SIZEOF_LONG and SIZEOF_LONG_LONG values added.
include/global.h: Add code to typedef sint64/uint64 types based on what
type gives us those values. Add max_level to settings array.
include/libproto.h: rebuilt.
include/living.h: Replace exp field with 64 bit value.
include/player.h: Update party kill log exp tracking to have 64 bit
values.
lib/exp_table: Udpate comments about max_level, uncomment what
was the default table so new installs have working table.
Add 5 levels to all the tables.
random_maps/monster.c: Update place_monsters to use 64 bit when storing
exp total for map/per square.
server/apply.c: Replace MAXLEVEL with settings.max_level, add
did_make_save calls where appropriate
server/c_misc.c: have statistics command properly print 64 bit
exp value.
server/c_wiz.c: Have stats command properly display 64 bit value.
server/hiscore.c: Replace exp values with 64 bit values, update to
properly load/display them.
server/player.c: replace savethrow[] reference with did_make_save()
server/skill_util.c: Update skills command to properly show 64 bit exp values.
server/spell_effect.c: replace savethrow[] reference with did_make_save(),
allow players to cast directors right beneath themselves, but other
walls must be on empty space.
MSW 2003-03-07
- 2003-03-08 05:22 mwedel
- [r2054] Minor changes to clean up some compiler warnings.
MSW 2003-03-07
- 2003-03-08 05:11 mwedel
- [r2053] commit file that I thought was already updated - fix for missing /
in python search paths.
MSW 2003-03-07
- 2003-03-07 07:33 mwedel
- [r2051] Various bug fixes.
crossedit/Attr.c: Minor cleanup to eliminate some compile time warnings.
plugin/plugin_python.c: Remove some unused variables, thus fixing up some
compiler warnings.
random_maps/random_map.c, random_maps/random_map.h, random_maps/special.c:
Add MIN_RANDOM_MAP_SIZE values instead of hardcode constants.
server/monster.c: Fix communicate - odd bug can be map gets swapped out
just after player is transferred to another map, causing crashes as
map that was originally spoken on is no longer in memory.
server/rune.c: add missing free_object call when erasing runes.
server/skills.c: Change write_on_item to determine type of writing based
on content of mesage, or lack thereof, and not the marked object.
Fix problem of buf not being initalized.
MSW 2003-03-06
- 2003-03-04 05:57 mwedel
- [r2050] Fix bug in rogue layout in that if it is a single room, the exits
aren't placed next to each other - normally not a problem, but if the
map is symmetric, exit may otherwise be placed in another room that
isn't properly connected (that's really a problem in connect_spirals)
MSW 2003-03-04
- 2003-03-03 08:09 mwedel
- [r2049] Go back to old code that adds 1 to the random seed - this is necessary
because this data is used to make the next level, and if we constantly
use the same seed, the levels look pretty similar.
MSW 2003-03-01
- 2003-03-03 05:13 mwedel
- [r2048] Various bug fixes.
Makefile.am, Makefile.in: Put crossedit as the last directory, so any build
errors for crossedit doesn't effect anything else.
README: Update ftp site listing.
TODO: More things aded.
aclocal.m4, configure: Add missing / when checking in /usr/local for
python headers.
common/map.c: Add some debugging in free_all_objects that checks to make sure
there are not objects remaining that belong to the map just freed -
only active if MANY_CORES is set.
random_maps/random_map.c: Increase minimum random map size to 10x10 - this
is need for square spirals to work properly I think.
server/spell_effect.c: Have perceive self tell dragon players what they are
currently focused on. Fix town portal to remove force objects from
players if destination is no longer available.
server/swap.c: Reset maps reset_time when loading them in in read_map_log() -
this is only used if recycle temp maps is on. Also, do sanity checking
on reset_time value - bogus values were observed on metalforge.
socket/request.c: Update map timeout in draw_client_map() - in this way,
we don't swap out a map within a players view only to swap it back
in.
MSW 2003-03-01
- 2003-02-25 15:08 garbled
- [r2046] For the 1.5 release, put feather_map under dynamiclevel 4. It still has
some issues apparently, and I'm not going to have time to fix them before
the release. This way people can set dynamiclevel to 2 and 3 without
experiencing bizzare problems. 4 and 5 work, but aren't ready for
primetime yet.
- 2003-02-25 08:15 mwedel
- [r2045] Fix lib/Makefile.am - some lines got split/joined that should not
have been.
Rebuilt some of the doc files.
MSW 2003-02-24
- 2003-02-25 07:18 mwedel
- [r2042] */Makefile.in, related files: Updated for 1.5.0
server/attack.c: Don't change weak wall image if no damage was actually done.
server/c_object.c: Include math.h - needed for pow()
server/spell_effect.c: fix infinite loop in town_portal
MSW 2003-02-24
- 2003-02-24 07:39 mwedel
- [r2041] common/anim.c: Fix for 8 way facing animations.
lib/treasures: Add sheep treasures
lib/* (rest) - rebuilt
server/spell_effect.c: Fix up counterspell - mainly fix a bug in that if
counterspell hit a multipart magic that used magic as an attacktype,
it would also crash. However, code also woudln't work properly on
tiled maps, and I'm dubious if it would work properly if there was more
than one effect on a space.
MSW 2003-02-23
- 2003-02-22 07:26 mwedel
- [r2037] server/spell_effect.c: clean up town_portal to use its own arch's
so it doesn't have to reset so many fields. Also, fix crash.
server/spell_util.c: Update cast_create_obj to put new object below
casting up.
lib/*: Rebuilt
MSW 2003-02-21
- 2003-02-21 07:55 mwedel
- [r2033] server/skills.c: Fix jump so that it updates the clients map properly.
server/spell_effect.c: insert town portals below the player so it
works better with apply.
MSW 2003-02-20
- 2003-02-21 03:55 mwedel
- [r2031] Fix setting of message - turns out the map->msg structure is actually
strdup'd data, while ob->msg is shared string - new code in random_map.c
was doing the later, causing problems when the code when to free it.
MSW 2003-02-20
- 2003-02-20 06:46 mwedel
- [r2029] server/move.c: Fix transfer_ob so that it sends newmap command to client
if we're moving a playing - otherwise fog of war displays bad
information on the client.
MSW 2003-02-19
- 2003-02-19 06:58 mwedel
- [r2028] Fix error in threewide shot - typo had direction -22 instead of -2.
MSW 2003-02-18
- 2003-02-19 06:52 mwedel
- [r2027] Fix bug where it wasn't making new players level 1, thus not rolling
up appropriate hp, sp, and grace for them.
MSW 2003-02-18
- 2003-02-17 02:37 mwedel
- [r2025] More bugfixes:
server/c_wiz.c: Fix reset command - while it deleted the maps, it made things
so that it never got removed from the map listing - instead, just let
flush_old_maps do most of the work.
server/main.c: If player tries to enter a random map that has been reset
and that we have no informatino about (eg, going up in a dungeon),
just say the exit is closed instead of making a completely random map
that usually isn't in keeping with the dungeon (and still won't lead
outdoors)
server/move.c: In move_teleporter(), change it so that if a player uses
a shop map yet there is no place to put the player, just drop him on
top of a monster - this fixes problem of players getting trapped inside
of shops in random dungeons.
MSW 2003-02-16
- 2003-02-16 09:03 mwedel
- [r2024] random_map/random_map.c: Include parameters used to make map in msg of map -
this can hopefully be used to debug what is really happening when bad
maps are made.
MSW 2003-02-17
- 2003-02-16 07:30 mwedel
- [r2023] server/rune.c: Modify dispel_rune function (called from disarm spell)
to erase marking runes. While at it, fix it so that it does the right
thing with respect to tiled maps.
MSW 2003-02-17
- 2003-02-16 05:54 mwedel
- [r2022] Fix bug with light being cast outside the map.
MSW 2003-02-15
- 2003-02-14 08:18 mwedel
- [r2020] include/sproto.h, server/move.c: Modify try_fit() to take mapstruct parameter
for which map we are trying to fit this on - fixes problems with rolling
boulders accross map (only function that currently uses this).
MSW 2003-02-14
- 2003-02-14 05:57 garbled
- [r2019] fix compile warning generated with -Wall.
- 2003-02-14 05:54 garbled
- [r2018] Regen loader.c, add changes to changelog.
- 2003-02-14 05:50 garbled
- [r2017] Lots of updates here:
common/item.c: make item_power stop showing up in ring short descriptions.
fix some of the items that were double-displaying materialnames, like
mithril mithril chainmail.
common/loader.l: add tooltype
common/utils.c: Unless the object is armour or weapons, pick the first
materialname we find. Now, newly generated diamonds will stack.
Fix name_to_material to return NULL if it finds nothing, fixes
navar_city/museum crash.
Change set_materialname to take a materialtype_t argument, allowing
functions to manually set the materialname, rather than let the
randomizer pick for them.
include/define.h: Add TOOL and BUILDFAC for item building.
include/object.h: add tooltype for item building.
include/materials.h: add M_SPECIAL. Set this in an object, to prevent things
like mithril mithril chainmail. This is primarily only needed in
artifacts, because they change the base material of the arch. Also
useful in things like the demonspawn shield, and on maps.
lib/artifacts: sprinkle M_SPECIAL around.
server/player.c: remove auto_heal. This never should have been
committed, and was never referenced by any code.
server/c_object.c: add item building, but add it disabled. Too many
bugfixes were tied in with this code to cleanly add them. When
enabled, this code will add player item building, similar to
create to take place. Requires a host of graphics and arches
to be useable.
- 2003-02-12 08:04 mwedel
- [r2014] random_maps/special.c: Fix possible bug with placement of special maps.
MSW 2003-02-11
- 2003-02-12 06:30 mwedel
- [r2013] Add lore/endlore to object structure to hold general information about objects:
common/loader.c, common/loader.l: Add loading and saving of lore field.
common/object.c: handle lore field for copy/free/other object operations.
Also, update CAN_MERGE to look at materialname also.
doc/Developers/objects: Add notes about lore.
include/object.h: add lore field to object.
MSW 2003-02-11
- 2003-02-12 05:40 mwedel
- [r2012] server/apply.c: Fix bug in that cursed weapons were not equipped/
unequipped.
MSW 2003-02-11
- 2003-02-11 08:10 mwedel
- [r2011] Add substring matching to item_match_string, so players can search for
things like Str+1.
MSW 2003-02-10
- 2003-02-10 06:52 mwedel
- [r2010] doc/Developers/objects: Add nodes about shared strings in objects.
server/c_misc.c: Remove check for name length - check_name takes care
of that for us.
server/monster.c: store return value from get_map_flags - seen some
crashes traced back to this area, want to see what it returned.
Allow objects with no msg to still use scripts that listen.
server/player.c: Fix potentional issue of freeing/adding players name
when they enter play again - seen some crashes attributed to
odd names.
MSW 2003-02-08
- 2003-02-09 07:30 garbled
- [r2008] Remove the supplydb code. It has served it's purpose, and if we decide
we want to investigate that again.. thats what cvs -r is for.
- 2003-02-07 07:14 garbled
- [r2007] bestarrow changes:
1) compare resists against the arch of the monster, not the actual monster.
2) stop looking for a target if you hit a blocksview.
3) penalize ROF when using bestarrow.
- 2003-02-07 06:57 garbled
- [r2006] Mark clued me in that query_name existed.. and that brought to light that
the way I was handling materialnames before was stupid. Back the old
code out, and use query_name instead. Put something in the loader to
back the names out of the objects I mangled.
- 2003-02-06 08:20 garbled
- [r2005] regen these files.
materials: add a slew of new materialtypes. Too many people to list
helped me come up with these.
atrifacts: twiddle some of the materialtypes in here.. to avoid certain
wierd combinations of objects and materialnames.
- 2003-02-06 08:08 garbled
- [r2003] Fix the following bugs:
When doing alchemy with a transmute formula, check if we should add one
of the materialtype's special modification properties into the newly
created object.
When performing alchemy, do better checks to remove the materialname form
the object's strtoint value. Don't remove the materialname on
non-weapon/armour, and don't remove it if the object has it manually
specified in the arch.
Fixes alot of formulae I broke.
- 2003-02-05 05:32 garbled
- [r2001] New bow code. bowmode bestarrow. When firing arrows, look at the first
target in line, and attempt to pick the best arrow to use against it.
- 2003-02-04 07:25 garbled
- [r2000] Don't free the msg string before copying the item. Prevents crashes from
mass inscription.
- 2003-02-04 06:26 garbled
- [r1999] Fix some bugs for once, rather than introduce them.
- 2003-02-04 04:06 mwedel
- [r1998] Oops. Meant materialname, not material.
MSW 2003-02-03
- 2003-02-04 04:01 mwedel
- [r1997] Fix missing initialization of material, causign continous crashes on
metalforge.
MSW 2003-02-03
- 2003-02-03 08:27 mwedel
- [r1995] server/player.c: Fix permadeath without resurrection - wasn't deleting
player save files as it was supposed to. If permadeath +
resurrection was in use, I believe it all worked as expected.
- 2003-02-03 07:23 mwedel
- [r1994] More bugfixes:
include/shop.h: remove _SHOP_H after endif, causing compiler warnings.
include/skills.h: Add check to USING_SKILL to make sure chosen_skill
is not null.
server/c_chat.c: Add some missing return values, resulting in compiler
warnings.
server/skill_util.c: Remove unused variable. compiler warnings again.
server/spell_effect.c: Change dimension door so that you can't go
through spaces that block passsage and also block view (eg walls).
This goes back to the more traditional behaviour. Remove
some unused variables.
server/spell_util.c: Add missing P_OUT_OF_MAP to move_missile, resulting
in crashes.
server/time.c: if generator is not on a map, don't have it generates.
Fixes crashes.
MSW 2003-02-02
- 2003-01-30 22:12 temitchell
- [r1988] -modified let_it_snow to produce rivlets not puddles on mountains
-modified siinging_in_the_rain to produce rivlets not puddles on mountains
- 2003-01-30 19:17 garbled
- [r1987] Thanks to Kevin R Bulgrien for making me look at this file again.
Apparently NOT_PERMADETH and BALANCED_STAT_LOSS were reversed.
- 2003-01-30 08:34 garbled
- [r1984] More formulae hacking from Johnny Shelley. Mostly added new bow types,
fiddled a few difficulty/exp settings, and added trans to most of the
smithery/tannery formulae.
- 2003-01-30 02:50 garbled
- [r1981] Fix a little stupidity.
- 2003-01-30 00:21 garbled
- [r1979] Update the changelog
- 2003-01-30 00:20 garbled
- [r1978] Allow artifact file to set materialname. Sprinke materialnames on some
of the obvious artifacts.
- 2003-01-30 00:07 garbled
- [r1976] New materialtype system for crossfire. Based in concept on my original
design, but rewritten from scratch to make it easily extensible.
In a nutshell:
Each of the old materialtypes (metal, glass, stone, wood) are now a class
of materials. When an item in the game is created, if it does not have a
specific materialname of it's own, a materialname is generated randomly
from the matching entries in the "lib/materials" file. This file
contains all of the saving throws, and other material specific
modifications for each of the expanded materials.
Materials can be manually specified in the arch with the "materialname"
directive. Such as the gold coins, which are specified to be made of,
you guessed it, gold.
Saving throws have been slightly rewritten to use the new materialtypes,
and a few other minor details associated with materialtypes have been
patched up.
Adding a new type of stone or wood, is as simple as adding a new entry in
the lib/materials file. The game will automatically start distributing
them around randomly.
- 2003-01-29 05:44 temitchell
- [r1975] -bugfixes to let_it_snow and plant_a_garden (Tim walked me through these - was hitting empty spaces due to multipart objects in maps)
- 2003-01-28 23:43 garbled
- [r1974] Apparently nrof==0 == 1. I did not know that.
- 2003-01-28 05:12 temitchell
- [r1972] - added mountain snow and mountain rain to aviod list (to prevent buildups)
- added mushrooms and mountain foilage to the garden list
- 2003-01-28 01:45 garbled
- [r1971] Argh.. stupid stupid me. Forgot to check in init.c, which called
read_supllydb() which initializes the supply database to NULL on boot if
it doesn't exist. Without which.. chaos ensues.
- 2003-01-27 07:34 mwedel
- [r1970] Various bug fixes:
common/item.c: If nrof of an item is 0, have it print singular name and
not plural name.
server/c_object.c: Fix typo when printing value of optoins - had an
extra 'the' in place. Also, don't print value of objects with
no pick flag set.
server/login.c: Enforce maximum name length for new characters.
server/monster.c: Change parsing code for messages/@match code -
new code is simpler, and should also be simpler and less bug
ridden, but otherwise functionally equivalant. Also fix up
communicate to work properly on tiled maps.
server/spell_effect.c: fix up move_aura to not crash hopefully.
MSW 2003-01-26
- 2003-01-26 06:00 garbled
- [r1968] Experimental code to attempt a supply and demand based economy for
shops. This code lays the framework for a supply and demand based
pricing scheme, and tracks all purchases and sales by players. It
calculates what the price for the item should be, based on the data it
has collected.
However.. the code to make it actually chaneg the prices in the game has
not been added. At this stage, the code only tracks the prices in a
database, var/supplydb. It is my intention to collect this data from
running servers to see what effect such a change would make. It is quite
possible that this scheme will be backed out, and a different one used
based on the data collected. The data should give us a reasonable
picture of what is sold and purchased in the game, to better judge future
economic changes.
There should be no gameplay changes from this commit.
- 2003-01-23 07:38 mwedel
- [r1966] More bug fixes:
server/player.c: Call fix_player after lifesaving device is used to reset
body location values.
server/spell_effect.c, server/spell_util.c: Add some more P_OUT_OF_MAP
checks.
MSW 2003-01-22
- 2003-01-22 21:38 gros
- [r1965] Added support to get/set WC value.
- Gros (22/01/03)
- 2003-01-22 14:36 gros
- [r1964] Added support for reading Crossfire installation paths from a script.
- Gros (22/01/03)
- 2003-01-21 13:15 garbled
- [r1963] I have no idea how this got missed... Sorry.
- 2003-01-21 08:10 mwedel
- [r1962] have it abort() if trying to insert an object outside the map.
MSW 2002-01-20
- 2003-01-21 01:23 garbled
- [r1961] When players use nonexistent formulae, and they backfire, rp==NULL, so
corner case it.
- 2003-01-21 01:05 garbled
- [r1960] Reduce the amount of coinage and gems created by random treasure by a
factor of 10, except for goblins. Increase the starting money by a
factor of 20. Decreased the coinage from cyclops by a factor of 100.
- 2003-01-20 23:58 garbled
- [r1959] Change the way wands rods and scrolls are created. Rather than randomly
picking a level based on difficulty, the game now calculates a
multiplier. This is the larger of either the levels/damage increase or
levels/duration increase. If both of these are 0, we use 5. This does a
number of things:
1) Rather than having 100 different possibilities for level of these
items, there are 100/mult. Meaning that on average, more scrolls will stack.
2) A scroll of level 7 where the ldur was 5 is fundamentally equivilent
to a level 5 scroll.. so just make them that way anyhow.
3) We now change the value of the item, based on these properties.. so a
high level scroll will cost much more than a low level scroll. The cost
increase is more, depending on how much more powerful the scroll is per
level.
In the very least.. scrolls should stack better now, and shop prices for
them will make a wee bit more sense.
- 2003-01-19 07:12 garbled
- [r1956] Add orcknuckle and cointoss commands, per request of his Toddness.
- 2003-01-17 07:24 garbled
- [r1953] Fix the fact that shops ignored the difficulty of the map when generating
shop items. Shops now default to level 5, or difficulty.. whichever is
higher. Retained the old behavior where you could set the level of an
individual tile with the exp stat, which takes precedence over everything.
- 2003-01-17 07:07 mwedel
- [r1952] Fix random map name generation so that it strips off the numbers if
appropriate from the new map name.
MSW 2003-01-16
- 2003-01-17 06:23 mwedel
- [r1951] More bug fixes:
common/item.c: Add missing braces - was resulting in some items getting
display like 'gauntlets of strength (Str+1)(Str+1).
include/map.h: Add MAGIC_MAP definitions to the file.
server/shop.c: Put back in code that uses magic_mapping_mark to determine
what items to display in inventory. Update for new one magic mapping
code stores information away.
server/spell_util.c: Add missing P_OUT_OF_FLAG check, which resulted
in crashes.
socket/info.c: Move MAGIC_MAP definations to map.h. Add check for
P_OUT_OF_MAP. Remove code that stops on P_NO_MAGIC - with that
it wouldn't search the shops.
MSW 2003-01-16
- 2003-01-17 04:38 garbled
- [r1950] Add a duplicator/multiplier/destroyer object type. This will duplicate a
specific arch when triggered, and that arch is on top of the duplicator.
It will multiply the number of items in the pile, by the level of the
duplicator. If the duplicator is set to level 0, it will destroy the object.
- 2003-01-15 07:18 mwedel
- [r1949] Add a bunch of P_OUT_OF_MAP checks to dimension door.
MSW 2003-01-14
- 2003-01-14 07:29 mwedel
- [r1948] Fix blocked_link - was passing wrong coordinates if coordinates
were outside the map the object was on in a tiled map.
MSW 2003-01-13
- 2003-01-13 07:42 mwedel
- [r1946] server/move.c: fix try_to_fit and roll_ob to work properly on tiled maps.
Also some performance improvements to those functions.
MSW 2003-01-12
- 2003-01-13 05:26 temitchell
- [r1943] -added banshee treasures/abilities
- 2003-01-09 23:50 garbled
- [r1938] Change the collect program to put editor_folder in the collected arches,
just like the java editor wants. Change loader.l to ignore this string.
- 2003-01-09 20:22 garbled
- [r1937] Mark's magic mapping fix broke shop inventories. Fix.
- 2003-01-09 18:29 garbled
- [r1936] level_exp() made no sense at all, and looked like it predated the 110
level thing. Update this, and fix the bug where you could never drop out
of level 110. (well, unless you lost *Alot* of exp.)
- 2003-01-09 17:09 garbled
- [r1935] Dont allow throwing of unpaid objects, preventing looting of shots
nethack style.
- 2003-01-09 04:23 garbled
- [r1934] Document diff and exp fields
- 2003-01-09 04:20 garbled
- [r1933] Rewrite alchemy slightly. Now in the formula, we include a difficulty
(percentage) and the experience value for the formula. We no longer
adjust the experience given by the difficulty of the map. We no longer
use the number of items to determine difficulty, rather we use the
difficulty rating in the formula. We no longer multiply the experience
given by the yield of the product, one "casting" one exp. When writing
formulae, calculate the difficulty in when setitng the exp, because it is
not multiplied in any way.
Fix a bug in Mark's new armour enchantment stuff. Send the item to the
player, otherwise they mysteriously dissapear, and only add the split
items back if they were spilt, avoiding a segv when enchanting a single
piece of armour.
Change alchemy skills to only utilize cauldrons directly beneath the
user.. the other behavior was getting annoying.
This should slow down the abusive nature of alchemy. The exp settings
and difficulty levels probably should be tuned better. Feel free.
- 2003-01-08 19:30 garbled
- [r1931] Make these compile again
- 2003-01-08 08:39 mwedel
- [r1930] Bulk of this commit is to improve code for tiled maps - replace
wall/blocks_magic/blocks_cleric, etc with get_map_flags which
also does map tiling translation as needed. This should fix a lot
of the bugs related to map tiling (there are sure to be more out
there - all the get_map_ob still need to be checked).
Other changes - many spells stopped progressing on spaces that
blocked view - that is now removed - didn't make a lot of sense.
Other fixes - some cleric spells (eg, word of recall) checked to
see if magic was prohibited, didn't check to see if cleric
was prohibited.
Clean up some bugs in the lighting code that would cause erroneous
results. Also, allow players to see immediately around them on
outdoor maps no matter how dark the map really is - behaviour
on indoor maps is the same.
Lots of code reformatted, and lots of obsoleted/dead code removed.
Add max range to dimension door.
Fix magic map - got broken when the layer stuff was redone - was
not showing proper colors. IT also works sensibly on tiled maps
now - rather than display based on the map, it gives the player a
50x50 area centered on where the player is.
Change fire_bow - move special player fire modes into own function -
makes code much cleaner.
Hopefully this fixes more bugs than it introduces.
common/los.c, common/map.c, common/object.c, crossedit/Edit.c,
include/libproto.h, include/sockproto.h, include/map.h,
include/spellist.h, include/sproto.h, random_maps/treasure.c,
random_maps/wall.c, server/attack.c, server/c_misc.c,
server/c_wiz.c, server/disease.c, server/main.c, server/monster.c,
server/pets.c, server/player.c, server/rune.c, server/shop.c,
server/skill_util.c, server/skills.c, server/spell_effect.c,
server/spell_util.c, server/time.c, socket/info.c: See note above
server/apply.c: Limit number of times weapon can be enchanted so
that it won't overflow item_power. Modify enchant armor
to enchant as normal armor is enchanted, also only allows one
item to be enchanted.
MSW 2002-01-07
- 2003-01-08 08:28 garbled
- [r1929] Prevent infinate drain. If the player attacks with drain, he can drain
ad infinitum, and then kill the monster at his leisure for full exp, on
top of the millions he got from draining.
- 2003-01-07 09:46 garbled
- [r1927] Add lanterns to the treasurelist so they pop in shops. Could probably
be added to a few monster lists.. but not for now..
- 2003-01-07 09:39 garbled
- [r1925] Add code for lanterns. These lanterns can be turned on and off. This
should make nighttime in the bigworld a bit easier to handle.
- 2003-01-07 07:56 garbled
- [r1924] Convert all cloaks and gloves (not gauntlets) to woodsman/tanbench.
Convert all the "oven" instances to stove.
- 2003-01-07 05:51 garbled
- [r1920] Add the light_shop square type
- 2003-01-05 23:50 mwedel
- [r1918] common/item.c: Add 'unidentified' to display of examined items if the
item has not been identified. Only display spell regen penalty
for armour if there is in fact a penalty.
lib/archetypes: rebuilt for updated demon speed, pick up other new archs.
lib/animations, lib/bmaps lib/bmaps.paths lib/crossfire.0 lib/crossfire.1
lib/faces: rebuilt
server/main.c: Name random maps based on final map component (if available)
or map they are spawned from - this gives so clue in 'who' command
where the players really are.
server/monster.c: Fix code that would cause monsters to ignore golems/
avatars.
server/pets.c: Clean up a few warnings, fix bug in pet_move that caused
crashes - owner of a pet isn't always a player.
server/player.c: Remove on_same_map check - can_detect_monster also
performed check, so no need to have extra call.
server/spell_effect.c: modify alchemy to properly deal with tiled maps,
change behavior for spells that block view - they no longer block
alchemy, but spaces that block magic will.
MSW 2002-01-05
- 2003-01-04 00:28 mwedel
- [r1913] TODO - add notes about item damage - clear it out of my mailbox.
common/loader.l, loader.c: Add check at load time to see if monsters
hp is higher than its maxhp and print a debug message if so.
devel/Makefile: Remove - makefiles shouldn't be in CVS, only .in versions.
server/attack.c: Fix calculation of max_damage in kill_object - this
was being done incorrectly, resulting in fired spell objects causing
incorrect amounts of damage, resulint in some monsters ending up with
a lot of hp. Fix call to kill_object to pass in correct damage value.
server/monster.c: Put in check so that monster won't regen to more hp
than they should have.
server/spell_util.c: Removed unused variable from move_missile.
server/weather.c: fix bug that causes crash if empty space is encountered
on map.
MSW 2003-01-03
- 2003-01-02 07:05 mwedel
- [r1911] Rebuild automatically generated files, as they had become out of
data.
treasures: Remove some extra 'mores' before the end of the lists for
the pet monster tresurelists that were causing warnings at server
startup.
Makefile.in - rebuilt, my config is somehow different that it doesn't like
the .in file built previously.
MSW 2003-01-01
- 2003-01-02 06:31 mwedel
- [r1909] socket/request.c: Fix buffer (malloc) overrun in esrv_send_stats - more
stuff has gotten to be added, without ever increasing the size of the
buffer to hold it.
MSW 2003-01-01
- 2002-12-31 13:36 tchize
- [r1905] Added crossfire-config to the build list of the configure.ac and regenerated the Makefiles and
configure.in to handle it
- 2002-12-31 13:12 tchize
- [r1904] Small tool for easier plugin developpement.
This tool is written to get informations about compiled server directories.
compiled name is crossfire-config.
Should make plugin configure script developpement easier.
- 2002-12-31 07:19 mwedel
- [r1903] server/time.c: Fix bad code in stop_arrow that caused crashes/improper
freeing of data.
MSW 2002-12-30
- 2002-12-28 06:35 garbled
- [r1902] Fix some stupidity in summon_pet that made it not work above level 25 or so.
- 2002-12-27 08:37 mwedel
- [r1901] common/treasure.c: Fix initialization of treasure structs to use calloc.
server/player.c: Fix infinite loop.
socket/loop.c: Make sure we put in null terminator for socket data.
MSW 2002-12-26
- 2002-12-25 06:45 garbled
- [r1900] New Arrow and Pet Code:
Add bowmode and petmode commands. Allowing the player to change the firing
style for bows to one of either threewide, or spreadshot.
Allow players to change the operating modes of his pet with petmode. Can
be either seek and destroy, defend, or normal historical behavior.
Change bows to impart speed to arrows based on damage and other magical
plusses. Damage decays over distance, to stop arrows from flying forever.
Very fast moving arrows will pierce multiple targets. An arrow moving at a
speed greater than 10.0 will go straight through a target, losing 1.0 of
speed in the process.
Change magic missile to use spell_find_dir instead of find_dir to stop it
from flying in a circle and hitting the caster, and to make it stop
flying into walls to hit creatures behind the walls.
- 2002-12-22 20:43 temitchell
- [r1899] - modified weather table to use snow mountain transparancies
- 2002-12-21 08:02 mwedel
- [r1896] Various bug fixes:
common/living.c: Reset glow_radius for players, so they stop glowing
after they snuff out their torch or whatever.
server/apply.c: Fix message about improving armour so that it is now
accurate.
server/monster.c: Add some debug lines that may show cause of excess
monster hp.
server/spell_effect.c: fix compile warning in summon_pet(). Clean up
indentation of alchemy functions, but functional changes is to
insert gold nuggets below player (so more of the actions work),
as well as to reset the view position, so that it won't have the
'previous 50' object selection. Add suggested parens in
cast_detection.
server/weather.c: Fix crash in weather code if snow was only object
on space.
MSW 2002-12-20
- 2002-12-18 17:16 garbled
- [r1893] Formulae to go along with the new alchemy stuff. By Johnny Shelley,
looked over and verified by myself.
- 2002-12-18 16:52 garbled
- [r1892] Don't allow players to alchemy cauldrons into gold nuggets.
- 2002-12-18 16:39 garbled
- [r1891] Add new DM command "possess". This command allows a DM to possess the body
of a monster.
Also, fix a bug in the new implementation of summon_pet()
- 2002-12-14 07:04 garbled
- [r1886] Per the comment above summon_pet, I have modified summon_pet() to use the
treasurelist, rather than the built-in compiled list.
- 2002-12-13 07:23 garbled
- [r1885] Per Mark's suggestion, make it so attacktype is only transferred to arrows
that have AT_PHYSICAL only. To avoid fire/cold arrows and the like.
- 2002-12-13 05:09 garbled
- [r1884] Fix a typo in the attacktype bow->arrow transfer. Make it so gods can
now bless bows like they would any other weapon. Make slaying transfer
fom the bow to the arrow, so the god enchantment is not lost.
- 2002-12-12 23:48 garbled
- [r1883] Allow enchant weapon scrolls to be read against bows. Since bows and
swords can no longer be wielded together.. this isn't a problem anymore.
- 2002-12-12 21:52 garbled
- [r1882] Fix the fact that bows do not impart thier attacktype to arrows fired.
- 2002-12-11 21:31 garbled
- [r1881] It's really lame when I'm DM, and invisible, and a player casts "detect
invisible", and it works on me..
- 2002-12-11 19:54 garbled
- [r1880] Fix an off by one error in the weather pointed out by Mark. Change the
who command so dm's can see what level everyone is.
- 2002-12-09 04:59 garbled
- [r1879] More stuff for the changelog
- 2002-12-09 04:55 garbled
- [r1877] Clean up the warnings from gcc in this file.
- 2002-12-09 04:37 garbled
- [r1876] Argh.. cvs merged this for me.. and made a mess.
- 2002-12-09 04:03 garbled
- [r1875] Header changes for the weather stuff.
- 2002-12-09 03:52 garbled
- [r1874] More weather routines:
Now the game will attempt to completely reformat the world, and modify it
with the weather and elevation. When dynamiclevel is set to 5 or above,
the game looks at each tile, and the weather conditions present in that
tile. It then consults a table of different terrain types, and what
conditions they prefer to grow under. If the conditions match the spot,
and there is nothing special about the spot (like a house, or a road),
then we drop the new tile type on the overlay map on that location.
Tuning of this can be done at the top of weather.c, by changing the
weather_tile array.
Also.. add a feather_map() routine which tries to break up the blockiness
of some of the weather effects by spreading the tiles around.
This code works.. but needs tuning, and probably a little more testing.
Some of the conditions for the various tiles really need to be looked at,
and fiddled with.
- 2002-12-06 05:36 mwedel
- [r1872] common/exp.c: Fix bug were drain attacks added exp.
MSW 2002-12-05
- 2002-12-04 08:12 mwedel
- [r1871] server/player.c: Change move_player_attack() so that we look for monsters
to attack even after finding a rollable object - there can be non
blocking rollable objects with monsters on top - we want to attack
the monster, not roll the object.
MSW 2002-12-03
- 2002-12-03 07:40 mwedel
- [r1868] TODO: Move more items from my mailbox to the TODO list.
common/living.c: Init item_power in player to zero in fix_player() -
bogus results were getting generated as it just kept getting incremented.
common/porting.c: fix remove_directory so it works properly - checking
for . and .. entries too late, calling unlink instead of rmdir.
include/sproto.h: rebuilt
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.0,
lib/crossfire.1, lib/faces: Rebuilt - new archs added, catch is_thrown
addition to thrown rock/boulder archs.
server/c_move.c, server/c_range.c: Add another parameter to do_skill() - part, which
is closest part of creature to target object - current only used
for the throw code. Update calls to this function to add additional
parameter.
server/c_object.c: Remove the NDI_UNIQUE from the 'item is too heavy
to pick up' so that it won't flood the client with them if players
goes onto space with lots of objects.
server/main.c: Minor cleanup to fix compiler warning about ambigous
if/else.
server/monster.c: Pass closest part of monster when having it use
a skill so that it doesn't throw rocks into itself. Update calls to
do_skill as described above.
server/player.c: Cal delete_player() when player quits - this properly
cleans up any per player unique maps they have. Also, check for
any such maps currently in memory, and delete those so that unique
maps don't get 'gifted' to the next character of the same name.
Update calls to do_skill as described above.
server/shop.c: Combine items of the same name together in the output
of the shop listings. Include the number of items, remove special
casing of some objects so that query_base_name is used for all item
types.
server/skill_util.c: Modify do_skill() to take additional param as
described above. Also, have do_skill return 1 on success,
0 on failur to use skill, and not return exp - otherwise,
monster code has no idea if skill was successfully used, as throw
doesn't grant exp, and this caused monsters to move into the
object they just threw. Update calls to do_skill as described
above.
server/skills.c: Clean up skill_throw function to return meaningfull
value. Also, pass along extra part of closest monster part
to target. Modify do_throw to return value, use closest
part of body as origin point for thwon object.
server/spell_effect.c: Use isqrt function instead of definining
ISQRT that used float version. Cleans up compile warning - most
likely not seen before as spell was #ifdef SPELL_ENCUMBERANCE out.
server/time.c: Put sanity checking for players speed_left in
move_player_mover() - got some reports of infinite negative speed
on metalforge, and this is the only place in the code where I could
see that happening given the description of the events.
utils/arch2xml.py, utils/cfarches.xsl: New script (and template) by
Todd Mitchell. Script can convert archs to xml, and the template
is usuable with mozilla to look at the output.
MSW 2002-12-02
- 2002-12-01 03:46 mwedel
- [r1857] common/object.c, include/object.h: Add INS_BELOW_ORIGINATOR flag to
insert_ob_in_map - this is used for treasure chests so the
treasure is put below the player. Also fix insertiong of items
on spaces that block view - put them in proper order, and not just
directly above the floor
server/apply.c: Tell player what level they need to be if they are not
of sufficient level to improve armor. Modify apply_treasure to
use INS_BELOW_ORIGINATOR flag, clean up some of the other logic
in apply_treasure.
server/c_object.c: Modify command_take to use the container inventory
when doing a pickup, and not the container itself.
MSW 2002-11-30
- 2002-11-30 04:17 mwedel
- [r1851] TODO: Updated with dm 'follow' command.
common/loader.l: Rebuilt.
common/map.c: Fix up some formatting - no code change.
include/player.h, server/apply.c, server/player.c, socket/info.c: Remove
chosen_item_spell field - isn't needed anymore as that information
is determined each time player fires wand/rod/horn. This fixes
those items firing magic bullets if they were equipped when player
saved and rejoined. Some additional cleanup done in rangetostring() -
mostly formatting changes, but minor code changes.
MSW 2002-11-29
- 2002-11-27 01:51 garbled
- [r1847] Add yet another table and function. plant_a_garden(). Allows for herb
(and whatnot) growth on the map.
- 2002-11-26 23:25 garbled
- [r1846] Add a document describing the weather system.. Not perfect, but gives a
really good overview for programmers and DM's alike.
- 2002-11-26 22:13 garbled
- [r1845] Add comments to most of weather.c's functions to make it.. well..
comprehensible.
- 2002-11-26 21:53 garbled
- [r1844] Change singing_in_the_rain and let_it_snow to use a table lookup, rather
than embedding the names of all the special arches used to make it snow/rain.
Add my name to this file's copyright, as I think I deserve it. :)
- 2002-11-26 10:00 garbled
- [r1843] Change avoid_weather() to use a table lookup located at the beginning of
weather.c, rather than a mess of ifs/elses.
- 2002-11-26 08:57 garbled
- [r1842] Nuke #ifdef MAP_RESET
- 2002-11-26 08:48 garbled
- [r1841] Get rid of #ifdef PLUGINS (it is on by default, I didn't take out gros's
code)
- 2002-11-26 08:37 garbled
- [r1840] get rid of #ifdef NO_AUTO_SKILL_SWITCH
- 2002-11-26 08:33 garbled
- [r1839] Nuke USE_CHECKSUM. Done in a way that will not blow up on older playerfiles
with a checksum. This removes the function calculate_checksum.
- 2002-11-26 08:08 garbled
- [r1838] remove #ifdef DUMP_SWITCHES SECURE SHOP_LISTINGS
- 2002-11-26 07:57 garbled
- [r1837] get rid of #ifdef LOSSY_ALCHEMY
- 2002-11-26 07:55 garbled
- [r1836] remove MORE_PRIEST_GIFTS MULTIPLE_GODS ifdefs
- 2002-11-26 07:48 garbled
- [r1835] get rid of NO_CONE_PROPOGATE
- 2002-11-26 07:44 garbled
- [r1834] Remove ifdefs for USE_SWAP_STATS and SORT_ROLLED_STATS
- 2002-11-20 08:19 mwedel
- [r1830] include/shstr.h: Update REFCOUNT_TYPE to be an int - seems to at least fix
the bug of server crashing when running around the bigworld - given the
size of the maps, quite possible that enough objects of the same name
would be in memory to overflow the size size of a short.
MSW 2002-11-19
- 2002-11-14 11:56 gros
- [r1828] Added additional informations in the Python documentation.
(Gros - 14/11/02)
- 2002-11-14 11:00 gros
- [r1827] Back to work !
Added placeholders functions for weather support.
(Gros - 14/11/02)
- 2002-11-14 10:21 gros
- [r1826] Back to work !
Corrected a small typo in the Python docs
(yann.chachkoff@mailandnews.com - 14/11/02)
- 2002-11-14 10:17 gros
- [r1825] Back to work !
Corrected typo in the Python plugin code preventing the use of an archetype name in CreateObject
(yann.chachkoff@mailandnews.com - 14/11/02)
- 2002-11-14 10:13 gros
- [r1824] Back to work ! Minor correction in the Python documentation
(yann.chachkoff@mailandnews.com, 14/11/02)
- 2002-11-14 01:08 garbled
- [r1823] Nuke USE_LIGHTING and SHOP_LISTINGS from orbit.
- 2002-11-14 01:03 garbled
- [r1822] FULL_RING_DESCRIPTION is default. Nuke the define from orbit.
- 2002-11-14 00:47 garbled
- [r1821] Move stat_loss_on_death, use_permanent_experience, and balanced_stat_loss
from command line arguments to the lib/settings file. Document, and
clean up config.h
- 2002-11-14 00:32 garbled
- [r1820] Add a document describing some of the settings. At the same time, pull
most of the old setting cruft out of config.h, to avoid potential confusion.
- 2002-11-14 00:19 garbled
- [r1819] Nuke #ifdef ALCHEMY from orbit. If you don't want alchemy cp /dev/null
lib/formulae.
- 2002-11-13 05:56 garbled
- [r1818] Update the changelog. Add soemthing else to developers while I was in there.
- 2002-11-13 05:53 garbled
- [r1817] Update the settings file with all my new settings. wheeee.
- 2002-11-13 05:49 garbled
- [r1816] #define MOTD -> settings.motd
#define DM_MAIL -> settings.dm_mail
- 2002-11-13 05:24 garbled
- [r1815] #ifdef SPELLPOINT_LEVEL_DEPEND -> settings.spellpoint_level_depend
#ifdef EXPLORE_MODE -> settings.explore_mode
While I was here.. make explore mode actually *work*. It didn't even
have an entry in the commands array.
- 2002-11-13 04:57 garbled
- [r1814] #ifdef REAL_WIZ -> settings.real_wiz
#ifdef RECYCLE_TMP_MAPS -> settings.recycle_tmp_maps
Even found a cute bug while fixing up real_wiz.
- 2002-11-13 01:17 garbled
- [r1813] Missed a define for SPELL_ENCUMBRANCE
- 2002-11-13 00:55 garbled
- [r1812] update with my work so far: RESURRECTION SET_TITLE SEARCH_ITEMS
SPELL_ENCUMBRANCE SPELL_FAILURE_EFFECTS CASTING_TIME.
- 2002-11-13 00:49 garbled
- [r1811] #ifdef CASTING_TIME -> settings.casting_time
- 2002-11-13 00:26 garbled
- [r1810] #ifdef SPELL_ENCUMBRANCE -> settings.spell_encumbrance
#ifdef SPELL_FAILURE_EFFECTS -> settings.spell_failure_effects
- 2002-11-12 23:20 garbled
- [r1809] #ifdef SEARCH_ITEMS -> settings.search_items
- 2002-11-12 23:09 garbled
- [r1808] SET_TITLE and RESURRECTION are now settings.
- 2002-11-12 22:34 garbled
- [r1807] convert #ifdef NOT_PERMADETH into settings.not_permadeth.
- 2002-11-11 09:05 garbled
- [r1806] Add myself to the Developers list. Put the alchemy changes in the changelog.
- 2002-11-11 09:01 garbled
- [r1805] Update this file to be compatible with the new alchemy code. All
arrow/bow formulae were moved to bowyer/workbench. All weapon/armor
formulae were moved to smithery/forge. Please feel free to fiddle this
file, alot more can probably be done with it by someone creative.
- 2002-11-11 08:59 garbled
- [r1804] New alchemy code, as discussed on the developer list. Now recipies include
two new tags: skill and cauldron. With skill, you can set which skill
activates this recipie, and the cauldron, corresponds to the arch name of
the facility you will use when creating the item. In this way, item
creation is now more generalized than just alchemy, and specific formulae
can be written to utilize different skills, or perhaps special formulae
would require a hard-to-find cauldron.
Functionally, the alchemy, or alchemy-like-skills are now activated by
the use_skill command. The secondary use of the alchemy spell has been
withdrawn, so now it functions in the way it was originally intended again.
- 2002-11-08 08:54 garbled
- [r1801] Add new command "weather". Displays the current weather conditions to the
player. TODO: make it dump the weathermap data for a wiz.
Add rain. Touch up snow a bit, and hunt down and kill a few minor bugs.
All that is left to do for basic visual weather is hail and fog, and then
messages to the player expressing conditional changes.
Rain and snow only occur at dynamiclevel >= 2.
- 2002-11-08 08:50 garbled
- [r1800] Add glue for weather_effect from server/weather.c
Make decay_objects stop destroying all my snow and puddles. Lower the
ferocity of this function a bit as well.
in ready_map_name, we call weather_effect, so that as a player enters a
worldmap tile, he will immediately see the current weather conditions.
- 2002-11-08 08:45 garbled
- [r1799] Move the weather defines into tod.h. Add a function pointer for the
weather_effect command, so it can be called from ready_map.
- 2002-11-06 09:47 garbled
- [r1794] Better handling for snow. Now when snowing on cobblestones, we use a
see-through image, so we don't obscure the paths. Provide handling for
upgrading and downgrading snow. Actually melt glaciers. Create a new
flag, FLAG_FLOOR_OVERLAY. When set in an overlay map, this item is
loaded INS_ABOVE_FLOOR_ONLY, so we can load the see-through-snow over
cobblestones without obscuring things like signs and walls.
- 2002-11-01 07:54 garbled
- [r1787] Forgot to commit this for the rainfall stuff. Sorry everyone.
- 2002-10-31 04:50 garbled
- [r1786] Minor twiddlings and bugfixes throughout the weather code.
Addition of rainfall accumulation data, and finally something for
dynamiclevel 2: Snow. Yes, it now snows, melts, and oceans freeze into
glaciers. Still imperfect, and I don't reccomend turning it on just yet,
(at least for players). It's stable, it just makes a mess of the roads.
- 2002-10-29 21:26 garbled
- [r1781] When loading an overlay, if the object we load off the overlay is a floor
tile, load it INS_ABOVE_FLOOR_ONLY, rather than INS_ON_TOP, so we don't
obscure things that would normally sit on the floor.
- 2002-10-29 10:24 garbled
- [r1780] Hurray! Weather now works and functions. (still no game effect)
This commit adds the compute_sky routine. This routine takes all of the
conditions that make up the weather, and actually figures out what the real
weather is. Also, if we are in fastclock mode, we write the skymap out
occasionally, for debugging purposes. We never read the skymap, it is
allways computed on the fly.
Change the maps program to read the new skymap.
- 2002-10-29 09:00 garbled
- [r1779] Add a routine to figure out which weathermap something is in, given it's
x,y coordinates, and the name of the current map. Also add a function
to compute the real temperature of a given weathermap location. This
function takes the base temp, and applies wind and time to it.
- 2002-10-29 07:49 garbled
- [r1778] Finally. Fix the temperature calculations, so that the equator actually
moves north<->south during the seasons. Now the base temperature map is
actually correct.
- 2002-10-29 07:16 garbled
- [r1777] Add prototypes for new stuff added in weather.c
- 2002-10-29 07:16 garbled
- [r1776] Add better code for handling the "gulf stream". Now the gulf stream
actually persists, and is no longer nuked by the pressuremap. More
twiddles to the humidity, to try and prevent the whole continent from
becoming a vast desert. It would really help things if there were a few
more lakes and rivers...
- 2002-10-28 10:20 garbled
- [r1773] Add code to make humidmap.ppm
- 2002-10-28 10:20 garbled
- [r1772] If you are going to generate a file that takes 30 minutes to generate,
make sure you actually generate it correctly. Lots of fixes for humidity,
but humidity still isn't quite right.
- 2002-10-28 07:14 garbled
- [r1771] Don't save tiling data in the map_header on overlay maps. It makes the
overlay load really verbose.
- 2002-10-28 06:15 garbled
- [r1769] Forgot to add is_water somewhere
- 2002-10-28 06:04 garbled
- [r1767] Add messages for crash and bludgeon. Fix a typo in pierce
- 2002-10-28 04:54 garbled
- [r1764] Changelog entry for the last N commits.
- 2002-10-28 04:53 garbled
- [r1763] utils/maps.c: This program will generate ppm files from each of the
weathermaps. Mostly for debugging, but curious DM's might find it useful
to see the weather.
- 2002-10-28 04:50 garbled
- [r1762] server/init.c: add code to read fastclock setting
server/weather.c: Complete update, largely rewritten. Now the world is
cut into a 100x100 matrix of weathermaps. Each one of these maps is
computed at initial boot, and written to disk, following which, they are
simply read from disk at boot. For each of the main weather types
(pressure, humitidy, base temperature, wind direction, wind speed) the
game recomputes the entire weathermap, applying smoothing algorithims, or
derriving each map from it's predecessor. Weathermaps are only used if
you have set your dynamiclevel to 1 or greater, and, are using the
bigmap set. At this time, there is still no functional change to the game,
bigmap, or not.
- 2002-10-28 04:42 garbled
- [r1761] common/init.c: update for FLAG_IS_WATER
common/loader.l: update for FLAG_IS_WATER
- 2002-10-28 04:39 garbled
- [r1760] include/define.h: add FLAG_IS_WATER
include/global.h: add fastclock to settings
include/map.h: add water to weathermap structure
include/sproto.h: add tons of new functions in weather.c
- 2002-10-28 04:36 garbled
- [r1759] add a setting fastclock. This makes the server's clock run *really*
fast. For now, it's good for debugging purposes, but in the future it will
allow a dm to ravage a world with weather quickly.
- 2002-10-17 07:15 mwedel
- [r1751] server/c_chat.c: Fix some buffer overflow issues - use snprintf or
use new_draw_info_format instead.
lib/artifacts: Update some cloaks not to require a minimum magic level,
since that will never be met.
MSW 2002-10-16
- 2002-10-14 07:03 mwedel
- [r1748] Minor bugfixes:
common/living.c: Fix it so that if you die, you won't _gain_ exp in any
skills - could happen if new table is harder - 3 level loss could still
mean having higher exp total.
common/map.c: Fix on_same_map so check to see if either object has null
map value - prevents crashes.
MSW 2002-10-13
- 2002-10-12 05:34 mwedel
- [r1747] Experience cleanup - the main functional change is that no upper limit of
exp in an individual skill, save for the limit that there is an upper
limit of total exp a player can have. Thus, if a player concentrates
complete in one skill, he could get to level 110 in it. A lot of
code cleanup was done - so much had gotten added to the exp code that it
was a real mess.
common/living.c: re-arrange some of the code, so all the exp related
functions are together. remove adjust_exp(), change check_dm_add_exp_to_obj()
to check_exp_adjust. Add new functions add_player_exp(), check_exp_loss(),
check_exp_add(), subtract_player_exp().
include/libproto.h: rebuilt.
server/c_wiz.c: Update command_addexp() to use new exp functions.
server/gods.c: Update lose_priest_exp() to use new exp functions.
MSW 2002-10-11
- 2002-10-08 06:38 mwedel
- [r1746] configure, configure.ac: Remove --enable-old-layout option - that is more than
3+ years old now. Add --enable-dmalloc option so code can be compiled
with dmalloc debugging without needing to change/rebuild the configure
files.
common/porting.c: Add stdarg.h to list of included files.
include/autoconf.h.in: rebuilt, HAVE_LIBDMALLOC undef added.
random_maps/square_spiral.c: fix bound checking value.
MSW 2002-10-07
- 2002-10-04 05:59 mwedel
- [r1744] common/item.c: Fix bug with identified potions not getting set to proper name.
MSW 2002-10-03
- 2002-10-04 05:46 mwedel
- [r1743] Bug fix for animate weapon control - broken in last change with golems,
as golem_count wasn't getting set.
MSW 2002-10-03
- 2002-10-03 07:07 mwedel
- [r1742] Bugfixes: Add golem_count element to player structure so we can properly
detect when golem is destroyed. This fixes a crash in some places as the
code tried to remove this already removed golem.
Fix crash when null player maps.
include/player.h: Add golem_count element to player structure.
server/player.c: Add code in handle_newscs_player() that checks status of
golem, clears op->contr->golem is value is bogus
server/spell_effect.c, server/spell_util.c: Initialize golem_count
value when golem is created.
socket/request.c: Check for null map value.
MSW 2002-10-04
- 2002-09-28 07:25 mwedel
- [r1741] Add help file.
MSW 2002-09-27
- 2002-09-28 07:19 mwedel
- [r1740] Mostly bugfixes, but the addition of a wiz 'hide' command which makes the
wiz out of sight so to speak.
--
common/loader.l, common/loader.c: Fix bug where flag values were being saved
with actual value of the flag (eg, 32768, 16, etc) instead of 1/0 value -
Code effectively worked the same, just was a bit odd looking at save files.
include/player.h: Add hidden element to player structure.
include/sproto.h: Add command_hide(), update proto for players_on_map()
lib/Makefile.am, lib/Makefile.in: add wizhelp/hide file.
server/apply.c: Add error checking to converts so it doesn't crash if the
converter doesn't have a proper other_arch. Modify shopmats so that they
don't transport spell effects, like fireballs an burning hands.
server/attack.c: Modify code so players can drain other players exp.
server/c_misc.c: Modify various functions to not show info on hidden DM.
server/c_wiz.c: Add command_hide(), clean up command_invisible() a bit.
server/commands.c: Add hide command to dispatch table.
server/main.c: Add code to not update players on map for hidden dm.
server/player.c: Give hidden dm perpetual invisiblity.
server/skills.c: Only get exp if you actually stole an item - fixes abuse
whereby players who couldn't carry item could continually 'steal' it from
monster and just gain exp.
server/swap.c: modify players_on_map() to take addition arg to determine if
real players on map should be shown, or if we shouldn't count hidden dms.
socket/info.c: Modify code so that oldsockets don't get reports on high verbose
messages.
socket/metaserver.c: Modify metaserver update to not include hidden dms.
utils/Makefile.in: update datestmp.
MSW 2002-09-27
- 2002-09-24 06:34 mwedel
- [r1738] Add snprintf function if HAVE_SNPRINTF is not defined.
MSW 2002-09-23
- 2002-09-24 06:29 mwedel
- [r1737] Fix error of passing null value to LOG in item power diagnostics.
MSW 2002-09-23
- 2002-09-24 05:43 mwedel
- [r1736] server/pet.c: Add check to pet_move() to make sure the space we are
checking is within the map, and handle map tiling.
MSW 2002-09-23
- 2002-09-23 06:27 mwedel
- [r1735] server/apply.c, server/c_wiz.c, server/player.c: When players saves, reset
pl->map to be NULL - otherwise, the map they saved on can reset, and the
memory pl->map points to gets re-used, so when it tries to access that memory,
it crashes. Changes to apply.c and c_wiz.c necessary to make sure we do map
cleanup before calling play_again.
MSW 2002-09-22
- 2002-09-18 06:17 mwedel
- [r1731] Various updates:
NOTE - You need to install the updated archetypes (included below)
if you run this code without the updated archs, you will likely find
many things do not work.
acinclude.m4 aclocal.m4 configure: more refinements for libpython detection.
common/button.c: Two push_button() changes - have it check for ACTIVATE_ON_
PUSH/RELEASE to determine if the object should get activated. Also,
change behaviour of TIMED_GATE so that multipart timed gates work.
common/loader.l, loader.c: Update with acttivate_on_push/release
doc/Developers/objects: Add notes about how to add flags to objects.
include/define.h: add new FLAG_ values
include/win32.h: update by pstolarc so it compiles on Win32.
lib/archetypes: rebuilt
MSW 2002-09-17
- 2002-09-17 06:32 mwedel
- [r1729] Update for better python lib checking - should check for same
version of library as we found for header.
MSW 2002-09-15
- 2002-09-16 04:07 mwedel
- [r1727] common/map.c: Fix problem with ordering in check_linked() - checking
for NO_PASS was before checks for inventory checkers, resulting in
inventory checkers that require the player to have an item not working.
MSW 2002-09-15
- 2002-09-15 05:39 mwedel
- [r1726] Add 1.4.0 banner change.
MSW 2002-09-14
- 2002-09-15 04:56 mwedel
- [r1725] Update for 1.4.0 release. Rename CREDITS to AUTHORS, add a NEWS file,
and remove utils/crossloop.tmpl which isn't need in CVS.
MSW 2002-09-14
- 2002-09-15 03:15 mwedel
- [r1723] server/disease.c: Change move_disease() somehwat - before, if you were
not susceptible to a disease, it would never run its course. Yet you
would still get stuck with the symptoms. there was a case on
metalforge where a character had a symptom with no disease, and
had immunity, yet was still getting stuck with the symptoms. Not sure
if this change will help prevent that in the future or not.
include/player.h: Change item_power in player structure to be 16 bits -
8 bit values were getting overflowed.
Makefile.in, configure: rebuilt
MSW 2002-09-14
- 2002-09-13 06:32 mwedel
- [r1722] rebuild archetypes.
random_maps/square_spiral.c - fix off by one error in square_spiral.
add doc/plugins - update related makefiles.
lib/adm/map_info - reduce verbosity to only show real errors.
MSW 2002-09-12
- 2002-09-11 06:24 mwedel
- [r1718] Add updated file by pstolarc@theperlguru.com - needed for proper
building. MSW 2002-09-10
- 2002-09-11 06:21 mwedel
- [r1717] INSTALL: Update directions with new automake method.
common/Makefile.am, common/Makefile.in: Fix code for building the libproto.h
file - it was including loader.l and not loader.c
common/exp.c: Add init_experience() and dump_experience() functions -
init_experience() loads the experience table from a file. Add default
experience table into this file
common/init.c: Add call to init_experience()
common/living.c: Remove experience tables - players can select the one they
want by changing the exp_table file. Remove reference to new_levels[] -
only levels[] is used now for the formentioned reason.
include/config.h: Update notes about SIMPLE_EXP system.
include/libproto.h: rebuilt.
lib/Makefile.am, lib/Makefile.in: Add exp_table to list of files.
lib/exp_table: New file that contains experience information.
server/c_object.c: Modify command_take() to look for objects above the player
to pick up, then objects below. This fixes the bug with not being able
to use the take command on items from a chest the player opens without
moving off the space.
server/init.c: Add -mexp dump switch to dump the experience table. Allow
the simple experience system to be set in the settings file.
server/skill_util.c: Fix oddness in calc_skill_exp() which could result
in add amounts of exp given.
MSW 2002-09-10
- 2002-09-10 05:43 mwedel
- [r1716] Fix bug in check_enemy introduced in last checkin.
MSW 2002-09-09
- 2002-09-08 22:40 mwedel
- [r1714] Fix makefile for crossloop script.
MSW 2002-09-08
- 2002-09-08 22:23 mwedel
- [r1713] Added missing file.
MSW 2002-09-08
- 2002-09-07 22:59 mwedel
- [r1712] Add another missing file.
- 2002-09-07 22:55 mwedel
- [r1711] Rebuild/fix of makefiles:
Remove utils/flushlocks - player locking is no longer done, so no need
for that script.
Have crossedit put its proto.h file in the crossedit directory like it
did under old make system, and not in the include directory.
crossedit will probably go away sooner or later, so best to isolate
all of its code into its own directory.
MSW 2002-09-07
- 2002-09-07 22:44 mwedel
- [r1710] Add another missing file
- 2002-09-07 22:41 mwedel
- [r1709] Add another missing file.
- 2002-09-07 22:40 mwedel
- [r1708] Add missing file.
- 2002-09-07 22:34 mwedel
- [r1707] Add missing file.
MSW 2002-09-07
- 2002-09-07 22:24 mwedel
- [r1706] More automake cleanups.
MSW 2002-09-07
- 2002-09-07 22:08 mwedel
- [r1705] Automake patch - all files.
The changes for the source files is using confdir instead of
datadir.
Patch by Jacek Konieczny (jajcus@bnet.pl), applied by Mark Wedel,
2002-09-07.
- 2002-09-07 21:41 mwedel
- [r1704] include/sproto.h: rebuilt
lib/help/killpets: New file
lib/Makefile.in: Add help/killpets file.
server/c_misc.c: Add command_kill_pets().
server/commands.c: add killpets command which kills your pets.
server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07
- 2002-09-07 21:30 mwedel
- [r1703] server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07
- 2002-09-07 05:55 mwedel
- [r1701] More bugfixes:
common/loader.l, loader.c: Fix up the handling with speed with respect
to style maps - the objects were still getting put on the active
list.
common/map.c: Fix up blocked_link() to behave more like the
blocked_two() function - inventory checkers and door handling.
Comment out blocked_two since it isn't used anymore. Modify
load_objects to remove objects on style maps from the active
list. Remove some of the debug messages about map loading.
common/object.c: Add remove_from_active_list() function for use
in map.c to remove objects from active list.
common/porting.c: Comment out debug message if open_and_uncompress()
can open a file - caller of the function should print out messages,
and it really isn't much of an error in any case.
include/libproto.h: rebuilt.
random_maps/special.c: Modify place_special_exit() - this should fix
bug of very large treasure maps - problem was if the generated map
size was too small, when generate_random_map was called, it would
generate a newly sized map that was much larger. Code was also
re-arranged some to make it a little more readable.
server/attack.c: Fix crash when creature may not have an owner and
it kills something else.
server/move.c: comment added - no code change.
socket/request.c: Fix off by one error in esrv_send_animation() -
rare condition as it only showed up when trying to send the last
animation (zombie) - only an issue if the player is put on top of
a zombie for some reason (no other space for them) - observed when
leaving the random dungeon in the undead church in scorn without
clearing out all the zombies first.
MSW 2002-09-06
- 2002-09-06 04:44 mwedel
- [r1700] CHANGES: Update build instructions for the plugin.
random_maps/square_spiral.c: Fix bug that could cause the search
function to go off the edge of the map looking for a clear space.
Doesn't happen often, but one crash did happen here.
server/monster.c: Fix some bugs with monsters and wakeup - remove
check for friendly that could never be true, and also fix
logic so that monsters will now find the players.
MSW 2002-09-12
- 2002-09-05 06:19 mwedel
- [r1698] common/button.c: Fix do_mood_floor() to look at all objects on space for
something to effect, not just things above the moodfloor.
MSW 2002-09-11
- 2002-09-05 06:11 mwedel
- [r1697] server/attack.c: Add missing check to make sure the plugin exists before
we try to access the plugin function.
MSW 2002-09-11
- 2002-09-05 05:23 mwedel
- [r1696] common/readlable.c: Fix crash caused by passing null value to mon_desc -
check for non null was at end of { } do loop - check should be at the
start.
server/monster.c: Make it so that monsters with see invisible are not
immune to blind - monster can be given appropriate resistance to make
it so it is not effected by blind.
MSW 2002-09-11
- 2002-09-04 05:17 mwedel
- [r1693] server/main.c: Move #endif in crypt_string to more proper place.
server/monster.c: Fix bad if statement that may have been waking up
monsters when they shouldn't have been.
MSW 2002-09-03
- 2002-09-02 07:04 mwedel
- [r1692] Fix infinite number of uses on wands - missing return.
MSW 2002-09-01
- 2002-09-01 06:32 mwedel
- [r1691] This change mostly deals with improving behaviour of pet monstes.
Most of the code is from K. Reinert - however, I did some code cleanup/
fixes related to pet monsters, so it is difficult to note where
each piece of code came from. One thing this does fix is handling of
multipart pets - these now work properly.
common/map.c: Update comment for get_rangevector() - no code change.
common/object.c: Add get_search_arr() which is used in pet monster code.
This returns a semi random scrambling of the freearr array.
doc/Developers/protocol: Update documentation about map1a protocol command.
include/libproto.h, include/sproto.h: rebuilt.
server/attack.c: Have drain attacks return 1 damage so that it is clear
that you are actually hitting your opponent. Otherwise, you would
get messages that 'you missed xyz', even though you are draining it.
This extra point of damage shouldn't change balance in any significant
way.
server/monster.c: Update hnadling of enemies for pet monsters. It should
more intelligently choose the monsters and not switch/clear the
enemy field for no reason anymore. Change find_nearest_living_creature to
use the get_search_arr() to more randomly choose direction of target -
before, there was a proclivity to always look in the north direction.
Modify can_hit() to look for closes part of enemy - otherwise, monsters
may not attack opponents even if they were right next to them because
they couldn't get to the enemies head. Remove move_object from
this function - merged with move_ob in move.c
server/move.c: Fix move_ob to use 'cleaner' code of move_object, but
also have specific features that move_ob had (player handling).
Before move_ob didn't handle multipart objects correctly, and the
two functions were largely the same. Now move_object() just calls
move_ob - the only difference in the functions is that move_ob()
takes 3 parameters instead of 2 of move_object() (added
parameter is originator). I think this should now mean multipart
player objects may now work.
server/pets.c: get_pet_enemy enhanced to be much smarter about
selecting/finding things for the pet to attack.
server/player.c: Remove commented out line of init_beforeplay
MSW 2002-08-31
- 2002-08-31 07:28 mwedel
- [r1690] server/attack.c: Modify drain attack code so that if some agent of the
player is doing the drain (eg, avatar, summoned monster, or even spell),
player gets exp added to his total. Otherwise, the agent could suck all
the exp out of the monster, resulting in no gain for the player.
Also, fix bug in drain code where uninitialized value was being used
if enemy had 0 protection to drain.
MSW 2002-08-30
- 2002-08-26 07:14 mwedel
- [r1688] Various bugfixes:
common/map.c: Change so that same logic is used to determine pclose/fclose
that is used to determine popen/fopen - otherwise, compressed map
files probably don't work properly.
common/treasure.c: Do a memset to make sure entire treasureslist is
set to sane values.
lib/archetypes: Fix 'slaying' field (which determines spell name) in
god_spelldirect_face_of_death and god_spelldirect_finger_of_death
server/apply.c: Fix infinite loop if the player had cursed items
that needed to be unapplied to apply an item - setting up next
item iteration was inside if check when it shouldn't be. Also,
print message to player if this is the case.
server/monster.c: Better format some of the code for improved readability.
Fix indentation of can_see_enemy. Clean up invisiblity check - may
have fixed a bug - old code should have worked, but wasn't very
readable.
server/move.c: Fix some bad code from last checkin - didn't fix
the crash on no floor for door type, and instead removed
check type from next line by accident.
server/player.c: Remove call for init_beforeplay - this is already
properly called, and re-calling it resulted in some things being
redone when they shouldn't be.
server/skills.c: Add message if there is nothing to steal form the monster.
server/spell_effect.c: Improve message when invisiblity duration is
maximized.
socket/init.c: change O_NDELAY to O_NONBLOCK of fcntl.
MSW 2002-08-25
- 2002-08-22 12:37 jbontje
- [r1686] Pickups: added pickups for spellbooks,skillscrols,normal book/scroll. Patch created by Aprogas
mids 2002/08/22
- 2002-08-22 06:49 mwedel
- [r1684] doc/Developers/objects: Update with new (better) information from
Todd Mitchell. Doc is more complete, and now has an index which
should make it easier to find things.
server/move.c: Fix dereferencing NULL problem - was looking at op->above,
but op could be NULL if the map had no objects on a space (typically
not the case, but...) No reason I can see that we care about the object
above - just process in normal order.
MSW 2002-08-21
- 2002-08-21 06:43 mwedel
- [r1682] Add archetypes from Todd Mitchell. These add wolfs and bears,
with bodyparts for them. Also changes races for readable scroll
objects so that scrollcase objects can be used. Add ruined tower.
New images for some objects. Races and treasures updated to support
these new archs.
Commited by MSW 2002-08-20
- 2002-08-14 04:31 mwedel
- [r1679] server/time.c: Possible fix for bug seen on metalforge -
in move_player_mover, make sure we are working with the head of the
monster.
MSW 2002-08-13
- 2002-08-11 07:52 mwedel
- [r1678] More spoiler-html fixes - was not including attacktype information, but
also fixed some formatting issues.
common/item.c: Include attacktypes in describe_monster.
doc/scripts/Makefile.in: Add monsters-extract.pl file.
doc/spoiler-html/Makefile.in: Update to use ../scripts/monster-extract.pl
file, remove monster-extract file.
doc/spoiler-html/spoiler.html: rebuilt.
MSW 2002-08-11
- 2002-08-09 21:52 mwedel
- [r1677] Rebuilt spoiler with corrected resistance values for the items.
MSW 2002-08-09
- 2002-08-09 21:50 mwedel
- [r1676] Fix script to correct handle items with negative resist values.
MSW 2002-08-09
- 2002-08-03 06:18 mwedel
- [r1675] Fix spoiler-html generation to show resistances. Need to do normal spoiler
next. Add a new docs/scripts directory to hold the common scripts,
instead of spoiler, spoiler-html, playbook, and playbook-html each having
their own copies.
configure, configure.in: Add doc/scripts directory.
doc/spoiler-html/Makefile.in: Update build directions to use
../scripts/items-extract.pl
doc/spoiler-html/spoiler.html: Rebuilt with updated information.
doc/scripts/Makefile.in: Makefile for directory.
doc/scripts/items-extract.pl: perl version of the items-extract file.
doc/spoiler-html/items-extract: awk version - no longer used.
MSW 2002-08-02
- 2002-08-03 05:04 mwedel
- [r1674] common/item.c: Have describe monster show resistances of monsters - useful
for spoiler output, as well probe spell.
server/disease.c: Fix typo.
MSW 2002-08-02
- 2002-08-02 05:09 mwedel
- [r1673] include/global.h: add FREE_AND_CLEAR_STR macro, relocate DELETE_STRING
by the other macros.
server/c_misc.c: Fix string printout in applymode function.
server/disease.c: Update name_pl in diseases.
server/player.c: replace FREE_AND_CLEAR with FREE_AND_CLEAR_STR - was
freeing data that shouldn't be freed.
MSW 2002-08-01
- 2002-07-30 06:37 mwedel
- [r1672] Various fixes:
INSTALL: Update with note about --with-includes configure option.
common/loader.c, common/loader.l: Add comment about flag_invis_undead
include/define.h: Add FLAG_INVIS_UNDEAD
lib/adm/map_info: Modify to not follow symbolic links.
server/monster.c: Modify can_detect_enemy to be a bit more straightforward
in its logic. Also, modify detection of invisible creatures - don't
reduce duration, just return that the monster can detect the player.
There were also spurious messages about the player being seen.
Modify can_see_enemy to check FLAG_INVIS_UNDEAD, also fix broken
comparison
server/player.c: Clear FLAG_INVIS_UNDEAD when invisibility ends. Fix
action_makes_visible() - had reverse logic on FLAG_MAKE_INVIS check,
and a typo in the printed message.
server/spell_effect.c: cast_invisible() to use FLAG_INVIS_UNDEAD -
also check for maximum duration, and only search active objects when
clearing enemy.
server/weather.c: Fix off by one on comparision when intializing maps
darkness when loading map from disk. In dawn_to_dusk, don't do
further processing if the light hasn't changed.
MSW 2002-07-29
- 2002-07-25 06:57 mwedel
- [r1668] Various bug fixes, add glyph spell:
TODO: Updated
common/map.c: Fix change_map_light() - if darkness was reduced to zero,
it wouldn't properly notify the players or update the maps they are
on. Also, make it more robust to handle changes by more than one.
include/define.h: Increase NROFREALSPELLS
include/spellist.h: Add glyph spell.
include/spells.h: Add SP_GLYPH entry.
server/attack.c: Fix up kill_object() - it has had some many various
additions that it was difficult to follow the logic. It should also now
do better check on skill objects when awarding experience.
server/player.c: Add some checks/addition to properly deal with freeing the
name_pl in the player object. Fix it so that if you are braced, you
still won't attack friendly creatures.
server/rune.c: Add cast_generic_rune() to handle the glyph and rune spell.
server/spell_effect.c: Fix up some pointers in cast_cause_disease() -
needed so that it works properly when embedded in a glyph. Have it
return 1 even if no one caught anything - you still cast the spell, so
you should lose the grace for it.
server/spell_util.c: Fix some formatting. Break out the code dealing
with rune into cast_generic_rune()
socket/loop.c: Add flag to player command mapping, and update structure -
if flag is set, command can only be issued when player is in play,
and not when waiting at the quit or login prompt - fixes crashes where
players could wait for the map to get swapped out (after quitting), and
then looking at a space.
socket/request.c: Fix map2cmd so that invisible players are drawn.
MSW 2002-07-24
- 2002-07-19 04:21 mwedel
- [r1664] Fix bug in monster_cast_scroll which was referencing an uninitialized
value.
MSW 2002-07-18
- 2002-07-18 05:59 mwedel
- [r1663] Fix freeze count to 100 like the help says.
MSW 2002-07-17
- 2002-07-18 04:45 mwedel
- [r1662] Add dm command 'freeze' which freezes a player from doing anything for some
amount of time.
include/sproto.h: rebuilt.
lib/Makefile.in: Add freeze to wizhelp files.
lib/wizhelp/freeze: New file.
server/c_wiz.c: Add command_freeze(). Also, break out
get_other_player_from_name() - several functions need the same logic
of getting a player named X that is not us - making it a function
reduces the duplicate code. Fix some formatting for some functions.
server/commands.c: Add command_freeze to the dispatch table.
MSW 2002-07-17
- 2002-07-18 04:41 mwedel
- [r1661] If in the editor, don't calculate item power for items - better
to leave the default of zero so it is obvious on maps that no value
has been set.
MSW 2002-07-17
- 2002-07-16 05:21 mwedel
- [r1660] lib/Makefile.in: add a 'archonly' directive that only collects archetypes
and doesn't collect images.
lib/archetypes: rebuilt for fixes made to arches.
lib/collect.pl.in: modified to take second parameter -ARCHONLY, that causes
it not to save out animation, bmaps and faces file.
server/apply.c: Change order of print when applying/unapplying - print out
the 'you apply/unapply' before we print out the changes that applying
the item does. It seems odd for it to be 'you feel stronger. you apply
xyz'. Fix can_apply_object() so that if a player needs to unapply
several items, the right return code is returned and we don't say
the player has a choice.
server/player.c: Fix missing clearing of player->next.
MSW 2002-07-15
- 2002-07-15 04:57 mwedel
- [r1658] -- Start body commit notes --
Major commit. This adds body locations which is used for equipping items.
Equipment has information which body part it gets equipped to, and monsters
have information on how which body locations they can have.
As part of this work, I also did a lot of code cleanup.
To use this, you must use up to date archetypes - the ones included
in this commit are fine - just make sure you install them. If
you don't, players will not be able to equip items.
common/arch.c: Initialize body_used to be same as body_info for
archetypes - this way when monsters are created, they can
start equipping items right away.
common/exp.c: update new_exp() - some flags it checked for before no longer
exist or have new names.
common/info.c: describe_item() now takes second parameter - update
dump_abilities to use new calling convention.
common/item.c: Add table that describes the body_info locations and
their names. Add functions that calculate item power for objects
that don't have it set. Update display functions to show
item_power in items. Update describe_monster() - use_horn/wand/rod
merged into just use_range. Modify describe_item() to take second
paramater - who the item is being described for. Show item_power
in describe_item.
common/living.c: Pull out MAXLEVEL from being defined in this file -
define in in define.h, since other files use it. Add NUM_STATS
define - replace hard coded values of having just 7 stats with it.
Update change_abil to not display that the player has a new
attacktype when equipping a bow that has it - fix_player() ignores
the attacktype of the bow, so it was incorrect information.
fix_player(): Initialize player ranges structure to null -
will get filled in by code in function, updated to deal with
updating the body_used data from body_info in the objects.
Replace instances of last_heal with gen_sp_armour. Rearrange
some code to make function more readable.
common/loader.c, common/loader.l: Remove the variable_const information - no
longer needed and confusing for new people when adding in new object
elements. Add set_body_info() - parses the string from the load file and
sets the appropriate array element. Add check_loaded_object() - does
sanity checking for an object after finished loading - replaces need for
long processing directive in the actual rules by having seperate function.
Remove unused flags from load directives (apply_once, no_pretext,
can_apply), add some new ones (item_power, gen_sp_armour), update others
to can_use_range. Replace flag_links with simple array that contains the
name for each corresponding flag. Update get_ob_diff to not use the V_
values and just include the actual string name - all recent changes have
done this, just updated for old stuff. Update get_ob_diff to save new
values that have been added.
common/object.c: clear_object: Modify to use memset to clear
the structure to zero - this is less error prone than listing
all the specific values, and probably faster. Also, makes it
easier to add new elements - no need to update object.c in most
cases.
common/player.c: Remove get_player_ob routine - this is now merged
in with get_player_ob in server/player.c. Remove generate_ext_title -
not used.
common/readable.c: Update to pass second argument to describe_item.
common/treasure.c: Update to calculate item_power of generated items.
Clean up a lot of code formatting. Update add_abilities
to use gen_sp_armour values, not last heal (note, it appears
the last_heal values weren't being used before). Update
calls to describe item to take second parameter.
doc/Developers/objects: Update will_apply notes, add note about
item_power, body location.
include/define.h: Comment out unused flags (flag_apply_once, flag_paralyzed,
flag_no_pretext, flag_ready_rod, flag_read_horn). Add flag_use_shield.
rename flag_use_wand to flag_use_range. rename flag_ready_wand to
flag_ready_range. Add flag_ready_scroll. Update ARMOUR_SPELLS access
macro. Add AP_PRINT flag to apply flags. Add CAN_APPLY_.. return types
for can_apply_object function.
include/includes.h: add strftime, mktime checks to this file.
include/libproto.h: rebuilt.
include/living.h: Add NUM_STATS define, update extern declarations
to use it for sizing.
include/loader.h: remove the V_.. info and xbm_.. externs that were not
used.
include/newserver.h: Remove ext_tile information.
include/object.h: Add Body_Locations structure, NUM_BODY_LOCATIONS define.
Add definitions for WILL_APPLY values. Clean up object structure -
formatting is now consistent, ordering of values groups values
together more logically. Update all types to use the int8/int16/int32
types. Several unused fields removed.
include/player.h: Update rangetype enum. Add unapplymode enum.
Clean up player structure - type updates, unused fields removed,
formatting fixed up.
include/spells.h: remove range_name extern. Update SpellTypeFrom
field to combine wand/rod/horn into spellMisc - none of the
spell casting code was differentiating these.
include/sproto.h: rebuilt.
lib/Makefile.in: Add new help files (applymode, bind, brace)
lib/archetypes: rebuilt for body_info, gen_sp_armour, item_power,
can_use_shield information.
lib/artifacts: updated for item_poer and gen_sp_armour changes.
lib/treasures: remove unused _force for player treasure.
plugin/plugin_python.c: Change FLAG_USE_WAND to FLAG_USE_RANGE.
server/apply.c: Move stftime, mktime to include/includes.h. Remove
draw_find() - one line function can just as easly be in the
code itself. Update calls to long_desc to pass second parameter.
move gravestone_text() to player.c file. Add direction parameter to
apply_scroll() - in this way monsters can use it properly.
Remove dead code. Update apply_special function. Add
unapply_special(), get_item_from_body_location(), unapply_for_ob(),
and can_apply_object() functions.
server/attack.c: Remove SET_FLAG(op, FLAG_PARALYZED) line - no code
was ever checking status of FLAG_PARALYZED.
server/c_misc.c: add command_body() which dumps body information for
player. Update who as idle element in player structure removed -
was not being used by anything. Add command_applymode() to
set players prefered unapply method. Remove calls to unlock_player()
in various functions - unlock_player() has not done anything
meaningful for a while.
server/c_object.c: Modify long_desc to take a second parameter
which is who is examing the object. this is needed so that we
can pass it down to some of the lower level functions.
Update calls to describe_item to pass this second parameter.
remove FLAG_NO_PRETEXT code - no archetyps were using it. When
examining objects, also tell player where to put them on.
server/c_range.c: Update legal_range() - we now store the object that
is responsible for a range in the player object, so code is
much simpler. Update change_spell() to not destroy golem
just by readying another spell - we now let players regain control
of golems after switching to another range. Update change_spell
to use item name of object for range description.
server/c_wiz.c: remove reference to count_left from player object -
field removed from structure.
server/commands.c: add new commands (applymode, body) to command dispatch
table.
server/login.c: Remove unlock_player() and lock_player() and calls to it -
current checking of names at login should be sufficient to
prevent duplicates. Remove dead code from check_name. Update
load/save code for unapply mode value. Add set_flag(op,
FLAG_USE_SHIELD) if player is allowed to use armor - needed since
flag_use_shield is really a class feature and so is not automatically
updated for old player files.
server/main.c: Remove references to count_left. memset marker object to
NULL - seems to increase stability on metalforge server.
server/monster.c: Many updates related to the body info - monsters follow some
rules as players. Add monster_should_cast_spell function - monsters will
use this for all spellcasting related actions (abilities, scrolls, wands,
etc). Update for merged rod/horn/wand ranges. Update bow use by monsters
- they don't actually need to equip it to fire - this way we don't need to
constantly swap the monsters weapons between the bow and melee item. Use
fire_bow from player.c for most of the work. Modify scroll usage -
monster will use it when player is near, not when it first picks it up.
Add FLAG_READY_SCROLL to denote the monster has a scroll to use. Also,
monster now casts it in appropriate direciton. Merge the
monster_use_wand/rod/horn into monster_use_range. Modify
check_good_weapon and check_good_armour to just look at the stats of the
two items without needing the monster to apply it first.
server/player.c: Print motd in green so it is more noticable. Update
get_player function to do work it did before as well as that of
get_player_ob. Have get_player take a parameter which is the object of
the player if he has one. Modify to use memset to clear the player
structure - more sure fire than explicitly listing values to initialize.
Remove calls to unlock_player. Modify fire_bow so that monsters can also
use the function. Add fire_misc_object() to fire_wand/rod/horn - removes
code from fire(). Add gravesetone_text() to this file.
server/shop.c: Update to pass second parameter to describe_item().
server/skill_util.c: Update check_skill_to_fire since there are fewer
rangetypes now. change range_scroll name to range_golem, as that is
a bit more accurate for what it actually does. Modify show_skills()
to show player his item power and total of items he has equipped.
server/skills.c: Add second paramater to long_desc, remove references to
count_left.
server/spell_effect.c: Add second paramater to long_desc, remove references to
count_left. Update range_scroll to range_golem
server/spell_util.c: remove references to count_left. Update messages
if player trying to cast where he can't with new range names.
socket/info.c: Update range information and how we display what it is -
we will use the object name of the range if available. Remove
reference last_known_spell, last_shoot, last_spell, last_value
player structure fields.
socket/init.c: Remove ext_title information.
socket/request.c: Add element for life_stealing in the resistance array.
Remove references to idle, count_left in player structure. remove
ext2 title information.
MSW 2002-07-14
-- End body commit notes --
- 2002-07-15 04:25 mwedel
- [r1656] Update banner copyright with proper contact information.
MSW 2002-07-14
- 2002-07-09 04:27 mwedel
- [r1648] server/disease.c: Fix propogation of diseases with negative damage (these
do a percent of the creatures damage). The new disease was getting
a damage rating of 1 in all cases because we were passing a negative
value to random_roll for the top end of the range.
MSW 2002-07-08
- 2002-07-05 22:22 uid39786
- [r1646] common/arch.c: Add 'unlocked' match for item_matched_string.
lib/help/drop, lib/help/dropall: Help files for these commands.
lib/Makefile.in: Update to include help commands above.
server/spell_effect.c: Fix formatting of summon_pet() function. Modified so
that it no longers sucks player spellpoints when casting it via scroll -
scrolls should not cast the player spellpoints. No idea why that code was
there - in fact, casting off a scroll used more sp than casting from
memory. Modify cast_cause_disease() function so that if the passed
direction is 0, we refer to the facing and cast in that direction - this
means spells of cause disease now work. Also perform some minor formatting
changes in the function.
TODO: Add not about inscription.
MSW 2002-07-05
- 2002-07-05 21:09 uid39786
- [r1645] common/arch.c: Fix bug in item_matched_string which was matching all
values (inverse in fact) when passed with count > 1 in matching
string - missing ! operator.
README: Update - remove note about windows client, since it is currently
unsupported and could stop working in some future release.
MSW 2002-07-05
- 2002-07-03 00:20 mwedel
- [r1641] Update to not put files in subdir, but rather just at the top level
of the archive.
Have it generate a README file for the archive.
MSW 2002-07-02
- 2002-07-01 23:04 mwedel
- [r1638] socket/request.c: If players were using the original map command with
an even map size, server would try to send too much data to client -
checking in server would result in an abort. Modify code to now properly
send right number of spaces.
lib/Makefile.in: remove extraneous / in front of motd entry in file list.
include/version.h: Update for version 1.3.0
Makefile.in: Update for version 1.3.0
lib/archetypes: rebuilt.
MSW 2002-07-01
- 2002-07-01 08:00 mwedel
- [r1636] lib/Makefile.in: Fix error in variable not being surrounded by parens.
MSW 2002-06-30
- 2002-07-01 07:59 mwedel
- [r1635] doc updates: Rebuild the doc files, but most of this is fixing some of the
doc build stuff to correctly working with the new image set naming
scheme and fixing some bugs. Some doc is certainly out of date - the
playbook doesn't mention the classes for example.
doc/handbook.ps, doc/spoiler.ps: rebuilt
Note: all the doc/playbook changes also apply to the same files in
doc/playbook-html.
doc/playbook/Makefile.in, doc/playbook/makeps, doc/playbook/makeps.pl:
replace the awk makeps script with the perl one.
doc/playbook/items-extract: Don't show invisible items.
doc/playbook/levels-extract: Update so that it properly finds the declaration
of the levels in living.c
doc/playbook/treas1-extract: Clear type when we get a new Object header. was
resulting in duplicate entries for the characters.
doc/playbook/treas2-extract: Don't include forces of the no_class_face_change
as part of characters treasures
doc/playbook-html/chap1.html: Update ftp site information.
doc/spoiler/Makefile.in, doc/spoiler/makeps.pl, doc/spoiler/makeps:
replace the awk makeps script with the perl one.
doc/spoiler/items-extract: Add a space after the name match so that it won't
match on the name_pl field.
doc/spoiler-html/items-extract: Add a space after the name match so that it won
't
match on the name_pl field.
doc/spoiler-html/makeps.pl: Update to handle new naming scheme for images.
doc/spoiler-html/spoiler.html: rebuilt.
MSW 2002-06-30
- 2002-07-01 07:40 mwedel
- [r1634] rebuilt
MSW 2002-06-30
- 2002-06-27 06:28 mwedel
- [r1633] server/rune.c: Fix bug that allowed players to use marking runes to create
arbitrary objects by embedding a endmsg in the string.
MSW 2002-06-26
- 2002-06-21 05:58 mwedel
- [r1632] Forgot to update configure after my last update to configure.in - only
change was the removal of a debugging echo command. MSW 2002-06-20
- 2002-06-21 05:54 mwedel
- [r1631] More fixes for python checking - was setting whether we had python or
not before we checked for Python.h - now put check after that, and don't
set to build python plugin if Python.h does not exist. MSW 2002-06-20
- 2002-06-21 05:52 mwedel
- [r1630] lib/ban_file: Update comments to describe how it actually works.
server/commands.c: Add some time cost to shout, say, and tell commands. This
prevents abusive players from issuing huge number of these commands.
MSW 2002-06-20
- 2002-06-19 06:35 mwedel
- [r1629] doc/playbook-html/Makefile.in: Remove some superfluous blank lines
in the file.
configure, configure.in, plugin/Makefile.in: Modify configure script to
subtitute PLUGIN_TARGET, have plugin/Makefile not build/install
plugin if necessary support libraries are not in place.
MSW 2002-06-18
- 2002-06-19 04:33 mwedel
- [r1628] common/item.c, include/material.h: Move the declaration/initialization
of materialtype from material.h to item.c
server/main.c: Modify crypt_string so that on Freebsd systems, it will
use des_crypt if available, if not, won't encrypt.
MSW 2002-06-19
- 2002-06-15 07:47 mwedel
- [r1626] TODO: Additional updates.
Add support for loading the EMERGENCY_.. locations from a .emergency file in
the map directory. This makes it easy to switch map distributions without the
need to recompile. The emergency information is now stored in the settings
structure.
common/init.c: add EMERGENCY_ defines to default values in setting. Add
init_emergency_mappath which loads the information.
include/config.h: Remove NEW_WORLD_MAP definition, as it is no longer
needed. Update some of the EMERGENCY_.. information as we don't need
to include the information for the new world map.
include/global.h: Add emergency_.. fields to settings structure.
server/login.c, server/main.c, server/player.c: Update references from
the EMERGENCY.. values to settings.emergency values.
MSW 2002-06-15
- 2002-06-15 06:22 mwedel
- [r1625] lib/Makefile.in: modified so that it doesn't overwrite commonly customized
files (eg, motd, dm_file, ban_file). These files will get installed
on new installations.
MSW 2002-06-14
- 2002-06-15 05:35 mwedel
- [r1624] common/item.c: break out monster description into describe_monster
function from describe_item - the later was a really long function.
Reveal weapon speed for identified weapons, spell point regen
penalty and max speed for identified armor - this was discussed about
6 weeks ago. Clean up the code to reduce the number of redundant
if statements and otherwise confusing code in describe_item.
MSW 2002-06-14
- 2002-06-14 06:36 mwedel
- [r1623] Update TODO list - remove some items, add some others.
MSW 2002-06-13
- 2002-06-14 06:36 mwedel
- [r1622] Add plugin directory to list of SUBDIRS.
MSW 2002-06-13
- 2002-06-14 06:35 mwedel
- [r1621] configure.in, configure, plugin/Makefile, plugin/Makefile.in,
plugin/Makefile.old: Modify the plugin module to gets its needed
information from configure. configure.in modified to look for Python.h and
to find the python library. plugin/Makefile.in is a new file.
plugin/Makefile.old is the old plugin/Makefile (removed) - may be useful
for sites where configure does not work for some reason. The use of
--with-includes=-I/usr/include/python2.2 (or the like) will likely be
needed for configure to find the Python.h file. Note - if you
are doing a CVS update, you will need to re-run configure with the
appropriate options for this change to take effect.
MSW 2002-06-13
- 2002-06-14 03:59 mwedel
- [r1620] server/main.c: If on freebsd system, don't crypt the password.
Crypt on freebsd behaves diferently, and since there is little reason
to encrypt passwords, easier to just leave them decrypted.
Fix for sourceforge bug 469017
MSW 2002-06-13
- 2002-06-09 07:59 mwedel
- [r1619] More minor changes, including a fix for the disappearing object bug -
this was caused by the flag_links not getting updated the last
time new flags were added. Problem probably only showed up now
because loader.c wasn't rebuilt until recent changes.
--
common/loader.c, common/loader.l: add extern to arch_init, when
loading and get an object from a file, complain and ignore it if
arch_init is not set (only time we should get object (vs arch) for
names is when we load the archetypes file). Add missing entries
to flag_links array.
common/treasure.c: Fix code so that proper plural names are generated
for custom items (potions, flesh items, etc).
include/define.h: Add note about updating flag_links when NUM_FLAGS is
increased.
server/skills.c: don't let players steal from players with FLAG_WIZ set.
MSW 2002-06-09
- 2002-06-07 08:02 jbontje
- [r1618] longsword -> sword
- 2002-06-07 07:26 mwedel
- [r1617] Add ranlib to the archive - some OS's need it.
MSW 2002-06-06
- 2002-06-07 07:00 mwedel
- [r1616] Mostly bugfixes. I'm not sure if this will fix the disappearing arch problem-
none of the changes made in the original multiple name would seem to
cause it, so hard to say if any of these changes may fix it.
--
common/arch.c: Change get_archetype_by_name to be more efficient and
not leak memory. Modify code that frees all archetype data to free
the name_pl information. Make sure the clone.name_pl is set to
NULL. When singularites are created, set the name_pl for them.
common/loader.l, common/loader.c: Modify code that fixes up name_pl
to be more correct when it fixes up name_pl for old objects.
common/map.c: Modify load_map_header so that tile_paths will be normalized -
need for editor to be able to load maps that have a multipart object
that spans the maps.
crossedit/Edit.c: Modify some calls of out_of_map to OUT_OF_REAL_MAP, since
tiling code really isn't fully in place for the editor. Modify
EditPerformFill so that it actually works and doesn't crash the editor.
include/global.h: Move FREE_AND_COPY macro from loader.l to here so that
all source code files can use it.
lib/adm/map_info: Modify to actually be able to examine just a sub
portion of the map directories, and not all of them. Don't always
show the unused objects - information isn't very interesting if only
a portion is being examined. Modify the exit examining code to properly
deal with random maps (if there is a finalmap component, make sure
that does exist.) Loade the bmaps file and not the faces file to
find valid faces.
plugin/plugin_python.c: Add missing %s that described what script
was actually loaded.
random_maps/special.c, server/alchemy.c, server/c_misc.c, server/gods.c,
server/login.c, server/player.c, server/spell_effect.c: Set up proper
name_pl value for code that changes the name of objects.
server/apply.c: Use FREE_AND_COPY to set up names. Set up proper
name_pl values for cases that change name. In apply_lighter, call fix_player
if player is lighting an object in his inventory - necessary for the
players glow_radius to get updated so the change actually takes effect.
socket/request.c: Modify esrv_map_scroll so that it properly clears cells
that are moving out of view - failure to do this was resulting in the
map1a updating these spaces with empty faces. This was causing
fog of war wackiness with the client.
MSW 2002-06-06
- 2002-06-01 05:38 mwedel
- [r1611] Fix bug in 'item2' command when sending large numbers of look objects -
the type wasn't being included for the see next/see previous entries.
MSW 2002-05-31
- 2002-06-01 04:33 mwedel
- [r1610] common/button.c: Fix mood floor code - before, it was changing the moods
of all sorts of objects (luggage, itself, etc). Now, it only
changes objects above the floor, and only monsters.
MSW 2002-05-31
- 2002-05-31 04:18 mwedel
- [r1605] Main change is the addition of name_pl and client_type to object
structure. The name_pl contains the proper plural name instance - fixes
problem of '2 tooths'. client_type is sent to the client so that client
doesn't need to figure out sorting on its own. Client_type is an object
attribute, so can be modified in maps to hide the real type.
--
common/arch.c: item_matched_string() modified to use the name_pl field
when trying to match names, and not to try to make the name plural
itself.
common/item.c: query_short_name(),query_base_name() modified to
use name_pl instead of trying to make the name plural.
common/loader.c, common/loader.l: Add code to load and save the name_pl
value and client_type. Add logic when object is finished loading
to set name_pl value to same as name or arch name if no name_pl
is specified - this supports old maps/characters in which the objects
dont have a name_pl field yet. Disable logic for need_an and need_ie
flags since they are no longer needed. Fix bug that caused
elevation not to get saved.
common/object.c: Add client_type check for CAN_MERGE function. Add
appropriate logice in functions to handle setting, clearing, and
copying of name_pl values. Remove unused anim_... fields
initialization.
doc/Developers/objects: Add information about the name_pl field and
client_type.
doc/Developers/protocol: Remove item protocol command info - it has
been obsoleted. Add information about item2 protocol command.
include/define.h: Remote ST1_* values - they were not being used.
comment out FLAG_AN and FLAG_NEED_IE values.
include/newserver.h: Add itemcmd to socket structure - this is the
version of the item protocol command that will be sent to the client.
include/object.h: Add name_pl and client_type field to object structure.
Remove unused anim_* values.
lib/archetypes: rebuilt with new archetypes that contain client_type
and name_pl information.
lib/bmaps, lib/bmaps.paths, lib/crossfire.1, lib/crossfire.0, lib/faces:
rebuilt.
server/monster.c: Remove anim_ references that were not being used.
socket/init.c: Initialize itemcmd version in the socket to 1.
socket/item.c: Remove special handling for clients of old versions - all
clients now have to be at least sc_version 1024 (which has been around for
a long time). This simplifies a lot of the object code that deals with
sending or not sending plural names to the client - now always send them.
Change code that sends item to client to use the item revision (currently
1 or 2) that the client wants. If version 2, send along client_type
information.
socket/request.c: Handle 'itemcmd' parameter in setup command. Make
sure it is in proper range. If client is very old (sc_version < 1024)
tell them so.
MSW 2002-05-30
- 2002-05-30 19:36 rower
- [r1602] Anyone with inscriptions skill could make anything:
use_skill inscription endmsg
use_skill inscription Object CSword
...
use_skill inscription end
use_skill inscription msg
- 2002-05-20 03:11 mwedel
- [r1594] crossedit/png.c, crossedit/xutil.c: Increase size of temporary buffers that
are used when loading images - necessary to allow the editor to run without
crashing.
include/newserver.h: Remove quick_pos from the MapCell structure.
server/main.c: Add code to set the coordinates to the EMERGENCY_X/Y
values if using the EMERGENCY_MAP.
socket/request.c: Fix code that was causing darkness to get repeatedly
sent for some spaces.
MSW 2002-05-19
- 2002-05-19 05:47 mwedel
- [r1593] Fix for last commit - the old map command caused the server to crash
because it apparantly packed in more layers. Increase MAP_LAYERS
by one in map.h, and just return on the buffer being full, don't
abort.
MSW 2002-05-18
- 2002-05-19 03:55 mwedel
- [r1592] The bulk of this commit is to modify the server to only send the lower
rightmost part of multipart archetypes that use the same head. This allows
support of big images in the client.
common/arch.c: Modify first_arch_pass to figure out the tail_x/y values for
multipart archs. Rename the prev variable to head, as that it really what
it is. Remove quick_pos info.
common/object.c: remove quick_pos info from object.
doc/Developers/images: Add notes about using merged images.
doc/Developers/protocol: Add information about the map1a command, which
is used to for big image support. Remove map2 documentation.
include/map.h: Add MAP_LAYERS define instead of using hardcoded value of 3.
include/newserver.h: Change the MapCell to use MAP_LAYERS - saves
considerable memory. Add defines for MAX_CLIENT_ map sizes.
Remove map1cmd, map2cmd elements from socket structure - instead use enumeration
of mapmode - only one map type will be used at any time by the client, so
no reason to have individual elements - it also makes it easier to add new
mapmode commands.
include/object.h: remove quick_pos, update_tag from object structure.
Add tail_x, tail_y values to archetype structure.
include/player.h: Remove some now unused values from the player structure
(drawn, floor, floor2, darkmask). These have been superseded by the
map cells in the socket structure for quite a while.
include/sockproto.h: rebuilt
server/player.c: Remove code that initialized the drawn values in the player
structure since they no longer exist.
socket/init.c: Replace map1cmd, map2cmd elements in socket structure with
mapmode element. Modify init_ericserver so that it properly passes an
int when setting the SO_REUSERADDR field.
socket/request.c: Modify code in SetUp function to use the new mapmode
enumeration in the socket structure. Add support for map1acmd setup
option. Throughout map code, replace MAXMAPCELLFACES with MAP_LAYERS.
modify map_clearcell to take options for values to clear the cell to.
Add have_head, check_head, and update_space commands - used with the
map1 command to store and find head information.
draw_client_map1 modified to support map1a extensions, as well as added
logic for checking for heads in blocked and out of viewable map spaces.
Some of the code is simplified by using the update_space function, since
the logic for processing each layer was otherwise the same. remove
draw_client_map2 function. esrv_map_scroll has same logic - some
variables and code formatting changes.
MSW 2002-05-18
- 2002-05-19 00:30 mwedel
- [r1591] Patch to prevent players with no experience from saving. This apparantly
should prevent some abuses. MSW 2002-05-18
- 2002-05-14 06:47 mwedel
- [r1589] server/attack.c: Don't generate PLAYER_KILL_PLAYER messages if kill
happened on battleground. Also, datestamp the messages.
MSW 2002-05-13
- 2002-05-07 05:27 mwedel
- [r1587] server/attack.c: Generate log message when a player kills another player -
include the ip address of the killer to make it easier to add them to
ban files. MSW 2002-05-06
- 2002-05-01 11:15 gros
- [r1585] Fixed the Occidental Mages scripted items. Those were broken since the switch from Guile to Python
- 2002-04-30 14:22 rower
- [r1584] Removed a compiler warning
- 2002-04-29 03:56 mwedel
- [r1582] Changes for 1.2.0:
Makefile.in, include/version.h: Update for 1.2.0 release
lib/Makefile.in: have it make an archive for the archetypes.
MSW 2002-04-28
- 2002-04-29 00:18 mwedel
- [r1580] doc/Developers/protocol: Add documentation about the map2 protocol command.
socket/request.c: Fix bad indentation for the map2 function. No actual
functional code changes, but some comments updated. Running diff with the
-w option will make the changes, or lack thereof, more viewable.
MSW 2002-04-28
- 2002-04-26 23:56 avogl
- [r1579] I removed the transmutation flag from all equipment
in the formulae file. Transmutation allows to
collect resistances and that has to be prevented.
I do this in agreement with cryo, who is the
original author of the recent formulae-updates.
--AV
- 2002-04-24 06:31 mwedel
- [r1578] crossedit/xutil.c: Update to use name of png file.
lib/archetypes: collected - pl_dragon arch changed a while back, with no
new collect.
lib/collect.pl.in: Add some notes about usage if no option is given or
if --help is given.
server/gods.c: Fix that resulted in weapon/armor restrictions not working.
MSW 2002-04-23
- 2002-04-21 05:23 mwedel
- [r1577] Various minor bugfixes. Note the changes may appear larger than they
really are due to formatting/indentation changes. Run diff -w to
supress those:
make_win32/installwin32.bat: Update for new image files.
server/c_object.c: Fix SAVE_INTERVAL #ifdef block. It failed to compile
as it was written. Simplify code, but it should have the same effect.
server/move.c: Modify push_object so that if a player swaps position
with his pet, we send a esrv_map_scroll. This should save bandwidth,
and also prevents display corruption when fog of war on the client
is in use. Add some new comments, adjust some formatting.
server/player.c: Fix minor typo in comment.
server/skills.c: Modify new_draw_info that is responsible for the
"You pray" messages to not have the NDI_UNIQUE flag so that
they can get batched up, depending on users value of output-count
server/swap.c: Remove swapped out per player unique maps from the list
of maps. Reduces cpu and memory consumption by a minor amount, and
results in a cleaner 'maps command output.
server/weather.c: Add standard crossfire banner to top of file.
Modify long long declartion to just be a long.
MSW 2002-04-20
- 2002-04-19 05:28 mwedel
- [r1575] socket/item.c: Add checks to esrv_move_object - before it just trusted
the client that the destination target to move items into was a container.
Now do valid checking that the object can be picked up, that the container
can hold it, etc. MSW 2002-04-18
- 2002-04-15 06:20 mwedel
- [r1574] Add utils/crossloop.web.in script. This script is used on metalforge -
it generates the backtrace file, compresses the core, and sends out
mail.
configure.in, configure: Rebuilt to make the crossloop.web script.
utils/Makefile.in: Install the crossloop.web script. Include the
crossloop.web.in script when making the archive.
utils/crossloop.web.in: New file.
MSW 2002-04-14
- 2002-04-13 23:01 jbontje
- [r1573] New formulae and artifacts. Some of the arrows made a bit more powerfull.
cryo 2002-04-14
- 2002-03-26 07:18 mwedel
- [r1565] Update to improve image caching and faceset support in the client.
The main change is adding the 'requestinfo image_info' and
'requestinfo image_sums' commands.
common/image.c: Checksum the bmaps file when we load it - we send this as
part of the image_info data.
doc/Developers/protocol: Document the requestinfo data.
include/global.h: Add extern for bmaps_checksum, and the define for
ROTATE_RIGHT which is used for checksumming.
include/newserver.h: Update SC version to 1027 so that clients can
know if they can issue requestinfo commands.
include/sockproto.h: rebuilt
lib/adm/collect_images.pl: Add support for it to make a crossfire-images
distribution that the client can use to bootstrap its image set.
socket/image.c: Change SendFaceCmd to take a NewSocket parameter instead
of a player parameter - in this way, it can be used before the
AddMe command - this allows the client to download images before
issuing that command. Add send_image_info and send_image_sums
function which send the requestinfo data to the client.
socket/loop.c: Move the askface command from the player commands to the
newsocket commands. Add RequestInfo functino that determines the
type of request and calls the specific function to deal with it.
MSW 2002-03-25
- 2002-03-21 14:43 jbontje
- [r1564] Oops, forgot adding the 'faces' directive
mids 2002-03-21
- 2002-03-21 14:40 jbontje
- [r1563] Add install of faces file.
Thanks to Lord_Devi for reporting this.
mids 2002-03-21
- 2002-03-20 06:27 mwedel
- [r1561] Updates for 1.1.0 release - pretty much all minor bug fixes, like
compiler warning messages, invalid ANSI C constructs, missing files to
include in the distribution.
Makefile.in, include/version.h: update version.
include/Makefile.in: Add some missing files
include/libproto.h, sproto.h: rebuilt to prevent compiler warnings
lib/Makefile.in: Include the wizhelp files in the archive.
server/apply.c, server/skill_util.c: fix invalid code (function parameter
names can't match structs/typedefs), add a missing return value.
server/c_move.c, server/c_new.c, server/c_object.c, server/commands.c,
server/daemon.c: Don't include the sproto.h if CEXTRACT is defined.
server/plugins.c: fix printf command that was printing wrong value type.
doc/spoiler-html/Makefile.in: Remove extraneous newline
- 2002-03-14 22:16 avogl
- [r1560] Modified dragon titles:
Now players with > 50% skin resistance are "ancient dragons"
and with > 80% (VERY hard) are "legendary dragons"
- 2002-03-13 04:59 mwedel
- [r1559] server/player.c: modify play_again to remove the player object if not done so
already. This fixes a crash observed on metalforge when a player quit at the
roll/swap stats prompt (undocumented that you can use 'q' then to do so). It
looks like this should also fix crashes that may be associated with the kick
and shutdown wiz commands.
MSW 2002-03-12
- 2002-03-11 22:05 avogl
- [r1558] uups, forgot a testing-printf in
the get_random_receipe() function
- 2002-03-11 22:02 avogl
- [r1557] common/object.c:
I saw from mids' cores that the server crashed inside
the update_object() function. Can't verify the crash,
but I put in some extra security-checks which might
help.
server/attack.c
Out-commented the errormessage "hit_map(): next object destroyed".
This routine is by no means a bug/error, happens very frequently,
and thus doesn't deserve to spam the logs.
- 2002-03-11 20:58 avogl
- [r1556] Fixed a crash-bug in the get_random_receipe()
function. There was a possible modulo-division
through zero.
- 2002-03-10 16:18 avogl
- [r1555] I've increased the length of the player->title
string (from 16 to 32 byte) to fix the buffer-overrun
issue with long dragon titles.
Note that the object->title remains unchanged.
Tell me if I'm wrong, but afaik the player title doesn't
mingle with object titles.
I also simplified the storage of dragon titles. It is
no longer saved in the dragon_ability_force but
recalculated every reload.
- 2002-03-06 22:52 avogl
- [r1554] Fix for the dragon-devourer issue.
When turning to devourers, the player's race
is changed to "undead". Dragon race is now
read from the player arch's race instead of
the player race directly.
- 2002-03-03 21:56 avogl
- [r1552] patch: the special titles of dragon players
now get saved into the player file and
are always present after re-login.
Also added initial woodsman skill to the dragon-race.
That's good for identifying food, and it doesn't
influence balance IMO.
- 2002-03-03 20:05 avogl
- [r1550] two fixes to my dragon-race code:
- fixed stringcompares wich caused crashed
with players that have race NULL.
- forgot to commit "server/init.c" before,
which resulted in function dragon_ability_gain()
not to get bound, thus missing dragon ability gains.
- 2002-03-02 01:48 avogl
- [r1549] small fix: dragons now always use clawing
skill as default combat skill. That's
needed because only on clawing skill go the
special attacktypes.
- 2002-03-01 22:17 avogl
- [r1548] noted patch in the changes
- 2002-03-01 21:33 avogl
- [r1547] As announced on cf-devel, this is the patch which
adds a new dragon-race to Crossfire.
Players of this dragon race can gain resistances
by eating the flesh of their defeated foes.
They can also specify in a certain resistance-type
and gain various abilities when increasing levels.
This "focus" can be switched by eating very special
As announced on cf-devel, this is the patch which
adds a new dragon-race to Crossfire.
Players of this dragon race can gain resistances
by eating the flesh of their defeated foes.
They can also specify in a certain resistance-type
and gain various abilities when increasing levels.
This "focus" can be switched by eating very special
flesh, which will be available for sale.
Dragon players gain special titles which cannot
be overwritten by manually set titles.
Also see the dragon race description during the
race selection process.
Note that the quetzal has been slightly modified
(picture and race) to prevent getting mixed up with
the new dragon race.
Please keep in mind that this is the first version
of this dragon-race-code. Do not expect it to be
perfectly balanced in all aspects.
Player's opinions will provide some good feedback
for further development I hope.
--AndreasV
- 2002-02-27 09:30 gros
- [r1545] Corrected a bug preventing archetypes file to be properly rebuild. - Gros Feb. 27 2002
- 2002-02-26 05:45 mwedel
- [r1542] lib/collect.pl.in: Modified so that it uses the image.base.xyz.png to make
sure each listed face in objects has an image, and not the old xbm images
for that task. Also, ignore all files that end in .png, .xpm, or the
face extension - consider them legitimate files for the arch directory.
MSW 2002-02-25
socket/image.c: Change type of image data to be uint8 from char. Checksums
were being incorrectly calculated when using the char type. MSW 2002-02-25
- 2002-02-22 09:47 gros
- [r1538] Bugfix - Fixed memory leak problems with find_plugin_command
- 2002-02-15 03:06 tanner
- [r1534] The documention is listed in doc/Developer/images.
- 2002-02-15 00:56 tanner
- [r1533] Some of the .pl files do not have the execution bit set properly, so make fails
on them. So I changed the .pl scripts to be 'perl script.pl'. Mids pointed out
that not all instance of perl are called 'perl', so I let configure find perl
for me and used @PERL@ in the Makefile.in
- 2002-02-15 00:54 tanner
- [r1532] Replaced hard coded perl with @PERL@ which is what configure finds for you.
- 2002-02-13 21:10 jbontje
- [r1531] server/main.c: If exit is damned, update players death & WoR home-position
and delete town portal.
server/apply.c: Fix bug in move_apply. return was used instead of goto
leave, so recursion_depth wasn't decremented.
mids 02/13/2002
- 2002-02-11 04:22 mwedel
- [r1530] server/spell_effect.c: Fix bug in summon_cult_monster that would result
in crash if monster was killed when inserted. MSW 2002-02-10
- 2002-02-08 20:19 avogl
- [r1529] The Swamp-code was kinda broken. It didn't kill
drowning players correctly. :-)
I fixed that and added a big extra saving-throw
for having the woodsman skill. It's very unlikely
now to die despite of being a woodsman.
(In case someone doesn't know: Players die in swamp
if they stand still for too long. It's a direct kill,
no immunities can save the player.)
--AV
- 2002-02-08 15:43 avogl
- [r1528] another small patch:
Monsters will no longer trigger magic_mouths with a
counter set. (Magic_mouths with a counter value display
their message only that many times.)
- 2002-02-08 15:07 avogl
- [r1527] Patch: Monsters can no longer apply random chests.
Random chests are designed for players to open IMO.
- 2002-02-06 05:54 mwedel
- [r1526] common/map.c: load_map_header: If the map message is empty, don't copy
uninitialized data as the message. This fixes various crashes.
lib/Makefile.in: Remove the adm/*xpm* utilities, as they are no longer
needed or distributed.
server/apply.c: set the player speed to zero after they use a savebed.
Fixes crashes with players that have constant image animation (fireborns)
when they apply the savebed and the map then gets swapped out.
server/plugins.c: Fix some serious memory leaks. Some still remain, with
my comments included.
server/skills.c: Removed unused variable.
MSW 2002-02-05
- 2002-02-03 16:01 tchize
- [r1525] Modified battle arena to support logging of combats and comments
- 2002-02-03 11:01 gros
- [r1524] Completed SendCustomCommand plugin support - Gros Feb. 3rd 2002
- 2002-02-03 09:52 gros
- [r1523] Quite some bugfixes, including string corruptions and strange Write behaviour. - Gros Feb. 3rd 2002
- 2002-02-02 12:21 tchize
- [r1522] Added Mysql to list of php supported databases
- 2002-02-02 12:09 tchize
- [r1521] mysql support in php scripts. Thanks to mids
- 2002-01-27 11:30 tchize
- [r1520] fixed bug that prevent from compiling correctly
- 2002-01-25 10:53 gros
- [r1519] Bugfix: Corrected strange behaviour with the use of inscription skill,
resulting in corrupted strings sometimes. - Gros 01/25/02
- 2002-01-22 07:23 tanner
- [r1518] Work on multiple projects, each with their own coding style?
Info on how to setup emacs to autoconfig itself for each project.
- 2002-01-18 21:00 tchize
- [r1517] COnverted the specie entry in DB to species
- 2002-01-18 16:14 tchize
- [r1516] An example file defining an animation
- 2002-01-18 16:05 tchize
- [r1515] some fixes in informations show in console
- 2002-01-18 15:42 tchize
- [r1514] The static html files associated with logger
- 2002-01-18 15:39 tchize
- [r1513] The cgi files needed to show stats. As requested by mids. Sorry for forgotting:(
- 2002-01-17 23:59 tanner
- [r1512] Given AV's complaint here:
http://mailman.real-time.com/pipermail/crossfire-devel/2002-January/002917.html
And the stylistic recomendations of #12, I add info on how to make emacs and vim
do the right spacing.
- 2002-01-17 22:44 jbontje
- [r1511] Add helpfile for teleport. mids 2002-01-17
- 2002-01-16 10:51 jbontje
- [r1510] include/player.h include/sproto.h server/c_chat.c server/player.c:
New player command 'reply', replies to the last person who told you
something.
server/c_wiz.c: New DM command 'teleport', lets a DM teleport next
to target player, it is an inverse summon.
server/commands.c: Add hooks for 'reply' and 'teleport'.
mids 2002-01-16
- 2002-01-14 07:56 mwedel
- [r1507] Make a seperate 'Developers' subdirectory in doc, and put relevant
developer files in that directory. This should hopefully make it a bit
easier to find information for both players and developers.
MSW 2001-01-14
- 2002-01-14 06:03 mwedel
- [r1506] TODO: updated with bugs, remove things that have been done and are no
longer TODO's.
configure.in, configure: Remove lib/xpmtopix.pl file form those to be
built, as that file has been removed.
common/object.c: Fix bug in check_walk_on which would result in spell
objects not being properly processed - the intention is not to process
spell objects - we should stop going up (in previous loop) when we
get such an object, not on the way down. This fixes directors not
working really well.
MSW 2001-01-13
- 2002-01-04 15:45 garbled
- [r1505] When removing the old crossloop binary, remove it from the bindir, not from
/.
- 2002-01-04 07:36 garbled
- [r1504] Fix the makefile up to install the wizhelp, and remove an accidentally
committed file.
- 2002-01-04 07:24 garbled
- [r1503] Add new wizhelp commands. Written by Cryo, formatted by me.
- 2002-01-04 06:37 garbled
- [r1502] Modify the create command to accept an arbitrary number of patch arguments,
allowing a dm to create and patch a number of items in one fell swoop.
Requested by Cryo.
- 2002-01-03 22:02 garbled
- [r1501] Allow the loader to save objects marked for save on overlay.
- 2002-01-03 21:32 garbled
- [r1500] Fix a few bugs in the overlay saves and loads. Add a new DM command
overlay_save to force caving/creation of an overlay.
- 2002-01-03 05:40 garbled
- [r1499] Never load an overlay map on top of a temp map. In addition, never load
an overlay, when ready_map is called with the MAP_OVERLAY flag (meaning, load
only the overlay). This prevents ready_map from stacking multiple overlays
on top of one another.
- 2002-01-02 22:59 garbled
- [r1498] Essentially backout the overlay maps. They will no longer be created
unless the server is running with the new world maps.
- 2002-01-02 18:22 garbled
- [r1497] Fix problem loading unique player maps noted by mids. Sorry about the
chaos this caused.
- 2002-01-02 06:53 garbled
- [r1496] Backout of Anim25 patch by michtoen. It was causing server crashes, and
is generally not useful in a non-iso crossfire. Discussed w/ mwedel.
- 2002-01-02 00:26 garbled
- [r1495] Clean up some missing prototypes, protect tod.h against multiple inclusion,
and generally make -Wmissing-prototypes happier.
- 2002-01-01 23:37 garbled
- [r1494] Add the concept of overlay maps to the code. An overlay map is a map which
is loaded on top of another map, replacing values in the header, and placing
objects on top of other objects. This is the fundamental part of the new
weather code, but also can be used to allow dynamic editing of the worldmaps
by DM's eventually.
garbled 2002-01-01
Phase II of the new weather system is done. Please let me know immediately
if this causes any bizzare effects.
- 2002-01-01 22:11 tanner
- [r1493] Brief discussion on irc about style resulted in the addition of 3 new guides to
programming style.
14) As discussed on irc, the preferred style for expressions is like this:
if (expression) {
statement;
statement;
}
if <space> (expression), the space between the if and expression is required.
NOT like this:
if (expression)
{
statement;
statement;
}
15) The preferred style of formal parameters:
void myFooFunction(param1, param2, param3) {
statement;
statement;
}
No space after the left paren, no space before the right paren.
Comma right after the formal param, space right after the comma.
16) Local variable names. Just a rules of thumb.
This are ok:
int mylongvarname;
int my_long_var_name;
Please do NOT use caps expect for typedefs, enums and defines.
- 2002-01-01 03:56 mwedel
- [r1491] server/spell_effect.c: fix animate_bomb so that if the bomb is in a container,
it does not crash the server - the problem was that it was calling
drop, which would then drop it right back into the container. also, the
x and y coordinates were not being properly set.
MSW 2001-12-31
- 2001-12-31 08:36 mwedel
- [r1488] This change lets the server have multiple image sets. The client
can then request which image set to use, and the server will use
that image set, falling back to other sets as necessary. I have tested
this with CVS client, and works fine at least in terms of old functionality.
=
doc/Makefile.in: Add images file which describes image guideline.
doc/Protocol: Various updates - some things missing, added other notes
about facesets.
doc/images: New file, describes guidelines for image sets, as well
as some of the internals
include/newserver.h: Update for multiple image set - redid most of the
image definitions as they were out of date with only png being supported.
include/sockproto.h: rebuilt
lib/Makefile.in: remove crossfire.png, add crossfire.0, crossfire.0. Update
build directions to use crossfire.0 instead of crossfire.png
lib/adm/collect_images.pl: Modified to collect all the image sets, remove
support for collect xpm and xbm images.
lib/crossfire.0: new file, base images
lib/crossfire.1: new file, alternate images
lib/image_info: New file, describes image sets.
lib/crossfire.png, lib/xpmtopix.pl.in: Removed - no longer needed.
socket/Makefile.in: add image.c file.
socket/image.c: Moved all image related data in this file - this includes
loading the image files, as well as the protocol commands.
socket/init.c: move read_client_images to image.c file. set ns->faceset
and ns->facecache to 0. Move freeing of image data to image.c
socket/request.c: fixed some indentation inconsistencies.add setup commands
for faceset as facecache. Move SetFaceMode,SendFaceCmd,esrv_send_face
to image.c file.
MSW 2001-12-31
- 2001-12-23 08:17 mwedel
- [r1480] common/loader.l, common/loader.c, common/object.c, include/object.h,
socket/item.c:
Remove sub_type and sub_type2 information -
these were poorly named fields and not properly implemented.
common/treasure.c: Add missing return type to change_treasure function.
crossedit/Edit.c: Add SET_MAP_FLAGS macro to set P_NEED_UPDATE flag
before calling update_position.
include/config.h: Add NEW_WORLD_MAP selection which results in proper
emergency save paths if you are using the maps-bigworld distribution.
server/c_wiz.c: Fix the formatting (indentation) of the command_create
function. No actual changes in how it runs, but the old
formatting was really terrible and inconsistent.
server/main.c: remove call to send_mapstats_cmd
server/monster.c: Update the comment style to be proper, as well
as the comments themselves.
socket/request.c: Fix up improper indentation in esrv_update_stats.
remove send_mapstats_cmd function.
MSW 2001-12-23
- 2001-12-23 08:09 darth_bob
- [r1479] A hole pointed out by Mark.. This should mean Rabies is fully functioning
- 2001-12-19 21:06 garbled
- [r1478] Typo, noted my mids.
- 2001-12-19 21:03 garbled
- [r1477] Calculate the current month properly. Problem noted by mids. Thanks!
- 2001-12-19 17:07 jbontje
- [r1476] clockdata really should be in localdir, garbled tried to do that before
but he forgot to change it in a function. mids 2001-12-19
- 2001-12-19 10:07 garbled
- [r1475] More basics for the weather system:
document the new map header entries.
New settings for the big-worldmap/weather interactions, and code to load
them.
No functional changes at this time.
- 2001-12-19 08:53 garbled
- [r1474] Load the new values from map.h if they exist in a given map header. They
don't yet, but just in case. Again, no functional change here.
- 2001-12-19 08:31 garbled
- [r1473] No modifications to how the code works here yet, just adding a structure,
and new fields to the mapstruct. They are currently unused.
- 2001-12-19 06:54 darth_bob
- [r1472] Fixed up the bug which Mark pointed out
- 2001-12-19 06:48 mwedel
- [r1471] Updating mailing address where people should send patches.
MSW 2001-12-18
- 2001-12-19 03:46 darth_bob
- [r1470] Turn down the damage abit
- 2001-12-18 20:17 garbled
- [r1469] Mids makes a good point in his post, this should be in var, not in
datadir. Thanks.
- 2001-12-18 09:52 darth_bob
- [r1467] More life stealing stuff
- 2001-12-18 09:45 darth_bob
- [r1466] New attack type, life stealing. Mostly untested, I am commiting this to allow people to test it out, currently it is only availible on a devourers blessed weapon. It currently drain and life stealing both are used as resistances to this attack type, this is to allow fairly seemless merging.
- 2001-12-18 09:11 garbled
- [r1465] Oops.. somehow I accidentally backed out mark's changes here. Odd that
it didn't give me a merge bogon.
- 2001-12-18 08:58 garbled
- [r1464] Lots of changes here. Basically implement a night and day system, as
well as tracking of game time. A clockdata file is now created and
updated by the server to increment time. Time increases by 1 hour,
approximately every 2 minutes of real time. Right now this code has
virtually no effect, but as maps are updated with outdoor settings,
nightfall will occur automatically. The time command has been modified
to show the current game time, and the clock objects have been changed to
show the game time as well.
garbled 2001-12-18
- 2001-12-17 04:15 mwedel
- [r1458] Fix bug by DB which moved a } to a different place in the hit_player_attacktype
function, resulting in greatly changed results. MSW 2001-12-16
- 2001-12-17 04:15 mwedel
- [r1457] common/map.c: Fix some bugs relating to map tiling. MSW 2001-12-16
- 2001-12-16 09:06 darth_bob
- [r1456] Fixed some stylistic problems.
- 2001-12-16 07:15 darth_bob
- [r1455] poison fog is now low grace required (50 grace points)
- 2001-12-16 07:13 darth_bob
- [r1454] Fixes a few bugs and removes non-ansi comments.
- 2001-12-16 03:31 mwedel
- [r1453] common/object.c random_maps/Makefile.in
server/c_wiz.c server/player.c server/plugins.c server/timers.c
socket/request.c: Most of the changes are to just fix compiling warnings
or errors so that it compiles on sparc solaris with the workshop
compiler (things like }; should just be }). Declaration for alphasort
was missing in plugins.c. random_maps/Makefile.in had the wrong order in
linking - the system library needs to be linked in after the crossfire
libraries.
crossedit/App.c: Fix for running on 8 bit color - colormap was not being
initialized to usuable default value.
crossedit/xutil.c: Broken code when duplicating faces for undefined
images. That code should never really be used, as pixmaps currently
are always contiguous.
MSW 2001-12-15
- 2001-12-14 10:31 darth_bob
- [r1452] ! Big changes made by njh !!
Basic code clean, using switch instead of repeated else if's
Hashed some code which was nop (didn't seem to do anything)
changed over to using ATNR_SLOW etc, instead of AT_SLOW.
Has been tested, all those interested in attack.c please read through this code again and make sure everything is in order. Mail problems to njh@hawthorn.csse.monash.edu.au!
- 2001-12-04 03:49 michtoen
- [r1447] mapstats cmd for extended clients.
Add a cmd which sends mapstats for clients.
This use not the script events. Script events should
used for special scripted events.
- 2001-12-03 07:51 mwedel
- [r1445] This checkin for the most part removes support for xpm and xbm graphics -
now the only image supported is the png.
common/arch.c: comment out printing on warning of object having no type -
getting 300 meaningless messages at startup is annoying.
common/image.c: Remove X11 color information from colorname array. Remove
processing of color_fg and color_bg information from face file - only
use color_fg if no magicmap information is available - foreground
and background infoformation was only needed for bitmap graphics.
common/loader.c, loader.l: Add elevation element, comment out some logging
messages that are excessive and only really relevant for people
who want to fix them (really should be in the collect script
anyways). Remove some unused code.
common/map.c: add outdoor field to map structure - add support for loading
and saving it.
crossedit/App.c,crossedit/CrUtil.c, crossedit/Defines.h, crossedit/crossedit.c
crossedit/xutil.c: Remove support for non png graphics.
crossedit/Attr.c: Add support for elevation variable, remove code for non
png graphics.
doc/map-technical: Add note about outdoor field.
include/face.h: remove fg, bg fields from face struecture.
include/global.h: Update colorname array definition.
include/loader.h: Add V_ELEVATION field.
include/map.h: Add outdoor field to map structure.
include/newserver.h: Update types so it only loads/knows about png information.
include/object.h: Add elevation field to object structure.
lib/Makefile.in: Remove support for building crossfire.xpm and crossfire.xbm
files.
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.png,
lib/faces: Rebuilt. Main difference is a few sea types, and the fact
that it hadn't been collected for a while.
server/spell_effect.c: Modify dimension door so that it calls MapNewmapCmd
so that fog of war does not get confused. Also, removes call to
draw as functions further up will do that.
server/spell_util.c: Remove color information from attack information that
shuffle_attack uses.
socket/init.c, socket/request.c: Remove support for non png images.
MSW 2001-12-02
- 2001-11-28 05:11 michtoen
- [r1444] small bugfix
- 2001-11-28 04:44 michtoen
- [r1443] Anim25 Patch
This patch do this things mainly:
- include same animation sheme for players and monster again
- introduce guard/walk/fight animation in 8 direction
- direct action: monster change from guard/walk animation
when they get attacked and fall back to walk or guard when
the enemy is gone
- Monster do "intelligent" animation
-> facing enemy
-> turn and run when scared
- fixed some animation flaws which invokes late anim
update (monster moves first and hold one frame old facing)
- Include real time player animation!
-> player starts moving animation when player moves
-> fall back to guard anim when player do nothing
-> plays fight anim when hit some
Hope i got all. This patch is much not so hard as it sounds.
Most of these features was easy to include because the old
anim engine was able to do about 80% of this. I had just to
boost up the logic.
- 2001-11-27 06:08 michtoen
- [r1442] had deleted AVs patch.
Thx to mark he see it.
- 2001-11-27 04:33 michtoen
- [r1441] Arch type & subtype patch
Added type & subtype system with 2 subtypes.
Type & subtype will be send to client.
Adding new types:
FLOOR 71
WALL 77
LIGHT_SOURCE 78
MISC_OBJECT 79
MONSTER 80
SPAWN_GENERATOR 81
Added subtypes for armor & weapons.
new commands are:
sub_type <uint8>
sub_typ2 <uint16>
sub_type2 is for internal server use.
Added new command:
casting_speed <delay>
This will be included later.
I will use the sdl client as tester for this patch,
older clients will not be effected even when the
arches are updated.
- 2001-11-26 17:52 michtoen
- [r1440] Attack Patch 25.11.01
Detailed information in the dev list.
The changes are to many to explain here.
- 2001-11-21 18:12 avogl
- [r1438] This is a fix for the bug I mentioned on cf-devel
earlier: The order to process objects (with move_apply())
must be top to bottom (like it used to be)
and not the other way round.
This should fix the problems with the altars in the mak-maps
I have no idea why this had changed anyways.
- 2001-11-20 03:42 michtoen
- [r1436] forgot to save in unix format
- 2001-11-20 03:40 michtoen
- [r1435] some changes.
The guild scripts now works fine as alpha.
- 2001-11-19 23:30 michtoen
- [r1433] Full support now for gender, rank and alignment.
Full support for guilds & quests in code, most script
functions included.
- some fixes
- old clients will not be effected
- to avoid treasure file error msg, collect arches
- 2001-11-17 21:25 michtoen
- [r1428] commit the ext2 gender & guild system - first part. Sorry, my cvs sytem is still broken, i will write a better doc to the list. Notice some other small fixes too.
- 2001-11-17 06:54 michtoen
- [r1426] sorry for this stupid test, but my whole wincvs configuration was
blasted. May a lightning bolt hit the coders of wincvs.
- 2001-11-17 06:49 michtoen
- [r1425] no message
- 2001-11-17 05:11 michtoen
- [r1423] test
- 2001-11-17 02:43 michtoen
- [r1422] TEST ignore this!
- 2001-11-16 03:34 michtoen
- [r1421] Plugin_Python works now in Windows!
Alot of changes:
- New VisualC files to compile & install plugin_python.dll
and libcross.
- patch plugins.c and plugin_python.c to compiler under win32/VC
- remove some nasty bugs. The plugin now gives out correct version
messages and will be right noticed under dm command "pluglist"
- Fixed first plugin routines like "Say" and "initPlugin".
The whole package is running and ready for fix up!
- 2001-11-16 01:34 michtoen
- [r1420] Insert first step to give the treasure fil and his parsing
more power. Sadly, the treasure file is not connected
with the arch parsing.
I add a small interface. You can with it insert change commands
in the teasurelist.
- 2001-11-15 02:04 darth_bob
- [r1419] Added Sorig mail to treasure
- 2001-11-13 08:14 mwedel
- [r1414] Various minor bugfixes -
common/loader.c: rebuilt
include/map.h: Change width,height,enter_x,enter_y to be 16 bit instead
of 8 bits.
lib/treasures: change skull treasure to tooth instead of skull_tooth since
the later is not currently in the distributed archetypes file
server/monster.c: Optimize some code, remove some other that is not used.
server/plugins.c: Fix un initialized value in initPlugins that would
cause crash at startup if plugin directory does not exist.
MSW 2001-11-13
- 2001-11-12 01:10 michtoen
- [r1413] Update VisualC make files.
- 2001-11-12 01:09 michtoen
- [r1412] fix some bugs in plugin.c .
- I give all functions with a return definition a return
cmd-
- Refix an old bug - someone recommit it from local copy
- don't forget to update sproto.h when you insert new
functions in the modules
- 2001-11-11 13:10 tchize
- [r1411] Fixed a bug that caused editor to crash when closing maps or cut/pasting:
Map strings had to be created with strdup_local() and not add_string()
- 2001-11-11 12:55 tchize
- [r1410] Plugin to create animations in crossfire based on a timeline,
a better way to handle animations than the player movers.
This package include:
The animator as a crossfire plugin
an example file: Kronosbad
a description file: animfiles.txt
a README: something you should read
tchize
- 2001-11-11 12:37 tchize
- [r1409] server/plugins.c: adding new hooks
to handle the animation of an object
to clone an object
a wrapper to apply_below command
a wrapper to teleport object
a wrapper to communicate
Their purpose is to prepare the arrival of plugin_animator
- 2001-11-11 10:33 gros
- [r1408] Adding support for custom timers - Gros 11/11/01
- 2001-11-11 09:39 gros
- [r1407] Some bugfixes, new timer system, support for custom plugins commands, new plugin hooks - Gros 11/11/01
- 2001-11-07 06:22 darth_bob
- [r1397] Fixed up type which somehow didn't get updated properly.. ?
dnh 7/11/02
- 2001-11-06 16:46 darth_bob
- [r1396] Added skull_tooth to skull items..
dnh 7/11/01
- 2001-11-06 07:54 mwedel
- [r1393] Modify to support new map structure. MSW 2001-11-05
- 2001-11-06 03:39 mwedel
- [r1392] common/object.c: Modify copy_owner so that if a player is passed in
as the object to copy, we properly set that player as the owner of the
object instead of returning. This fixes the lack of exp when poison
inflicted from a weapon kills something. MSW 2001-11-05
- 2001-11-06 01:37 darth_bob
- [r1391] Added cause rabies to gnarg, I think.
dnh 6/11/01
- 2001-11-06 01:33 darth_bob
- [r1388] CV: new disease, rabies
dnh 6/11/01
----------------------------------------------------------------------
- 2001-11-06 01:33 darth_bob
- [r1387] dded a new disease, rabies
dnh 6/11/01
- 2001-11-06 01:31 michtoen
- [r1386] small patch for map2cmd.
- 2001-11-06 01:30 darth_bob
- [r1385] Added a new disease, rabies
dnh 6/11/01
- 2001-11-05 08:21 mwedel
- [r1383] common/map.c: Fix bug in get_rangevector which was causing reverse
of documented procedure. This also resulted in monsters not attacking
adjacent creatures with physical attacks. MSW 2001-11-03
- 2001-11-05 00:00 michtoen
- [r1381] - emoved GUILE scripts from items.
- fixed missed # comment sign
- fixed 2 typos in resist_xxx strings
MT
- 2001-11-04 20:33 michtoen
- [r1380] restore. I overwrite it accidently
- 2001-11-04 20:22 michtoen
- [r1379] One Arch/one pic patch.
I use a modified map1cmd, called map2cmd
for it.
This is a first tryout implementation.
The code can more then only submit offset data
of multi arch, its also possible to include animation
tags for the faces - we have now more free flags.
The code is NOT optimized. Iam still unsure , what
the best way is to send all this data. Sort & parsing
cost time. At this stage, ill quick parse is by server,
use slightly more bandwitch and let do the client more
work. But thats perhaps not the best way.
But this code will allow to install the arches for this
one arch/one pic.
MT
- 2001-11-04 08:29 gros
- [r1378] Corrected references to libdl - now detected by configure. - Gros 11/04/01
- 2001-11-03 03:46 michtoen
- [r1369] If you destroy or open a door, you can
set in the arch OTHER_ARCH to an
object that will then generated.
This can be used for open/close doors.
- 2001-11-02 18:39 michtoen
- [r1367] Extended Animation Facings 18
This is the first step of complexer
animation system (usable for flat & iso).
This is not a fully clean implementation,
because it depends on "one arch / one picture"
which hopefully comes soon.
MT02102001
- 2001-11-02 16:22 michtoen
- [r1366] add FLAG_PARALYZE
Now, all player & monster have this flag set, when
they are effected by paralyzes spell.
I have not checked pets & summoned stuff yet,
it will follow.
- 2001-11-02 07:05 darth_bob
- [r1362] Some new artifacts, including the shield of holy light. Please check that this is okay, note the chance for that shield.. very rare indeed
dnh 2/11/01
- 2001-11-02 03:22 michtoen
- [r1360] remove and reinsert as binary -
it avoids \n problems
- 2001-11-02 03:21 michtoen
- [r1359] remove and reinsert as binary -
it avoids \n problems
- 2001-11-02 03:18 michtoen
- [r1358] remove and reinsert as binary -
it avoids \n problems
- 2001-11-02 01:16 darth_bob
- [r1355] Added the image to the artifacts file
dnh 2/11/01
- 2001-11-01 19:53 garbled
- [r1353] Generate messages when player poisons something, and touch up the attack
message code for poison/disease a bit.
garbled 2001-11-01
- 2001-11-01 19:38 pcurrlin
- [r1352] Added new spell: "missile swarm"
Basically, several magic missiles fired like a bullet swarm.
Philc - Nov 01, 2001
- 2001-11-01 06:57 garbled
- [r1351] regen
garbled 2001-10-31
- 2001-11-01 06:34 garbled
- [r1350] Hey, I know. Let's commit code that actualy compiles!
garbled 2001-10-31
- 2001-11-01 06:29 garbled
- [r1349] Implement suffering and poison messages from Darth Bob. Fix a few typos
and turn the gore up a notch.
garbled 2001-10-31
- 2001-11-01 05:48 darth_bob
- [r1347] This hurts me just reading it, garbled (Tim) is a sick monkey
dnh 1/11/01
- 2001-11-01 04:37 garbled
- [r1346] Add messages for pierce stab and cleave. Not for the faint of heart.
garbled 2001-10-31
- 2001-10-31 10:40 darth_bob
- [r1345] Fixed once again, alot of fixing going on here =)
dnh 31/10/01
- 2001-10-31 10:21 garbled
- [r1344] Add a new message type for doors. This makes door bashing a bit more
realistic. Idea by Darth Bob.
garbled 2001-10-31
- 2001-10-31 10:06 garbled
- [r1343] Attack message define for doors
garbled 2001-10-31
- 2001-10-31 10:05 garbled
- [r1342] fixup slightly
garbled 2001-10-31
- 2001-10-31 09:56 darth_bob
- [r1341] Some test messages for hurting poor innocent doors,
dnh 31/10/01
- 2001-10-31 08:30 garbled
- [r1339] new attack messages for slash slice and whip.
garbled 2001-10-31
- 2001-10-31 08:27 darth_bob
- [r1338] Added to ruggilli's treasure chest, high grace requirement, verra low chance
dnh 31/10/01
- 2001-10-31 07:07 garbled
- [r1336] update the changes file
2001-10-31 garbled
- 2001-10-31 07:00 garbled
- [r1335] Big commit time. This does the following:
Add weapontypes to the game. These are currently used for nothing other
than messages, which are not fully written yet. Players should not see them
appear yet.
Fix the bug where you opened a door with a key and saw "You ."
Fix a bug in the PLUGIN code where current_weapon wasn't set when the
player loaded from savefile.
Take the setting of current_weapon out of #ifdef PLUGIN
garbled 2001-10-31
- 2001-10-30 02:30 michtoen
- [r1334] Remove a bug, reset some modules
- 2001-10-30 00:49 michtoen
- [r1333] really SOME fixes - most casting
- 2001-10-29 23:24 michtoen
- [r1332] no message
- 2001-10-29 22:59 michtoen
- [r1331] changed switched line bug
- 2001-10-29 22:43 michtoen
- [r1330] change to binary
- 2001-10-29 22:40 michtoen
- [r1329] change to binary
- 2001-10-29 21:33 michtoen
- [r1328] remove old win32 install stuff
- 2001-10-29 21:33 michtoen
- [r1327] add new make files for win32 - python style
- 2001-10-29 21:30 michtoen
- [r1326] test again - still a bug in cvsroot scripting
and i want convert files from unix <-> windows format
and the cvs should merge then - only the real changed one-
- 2001-10-29 21:23 michtoen
- [r1325] test
- 2001-10-21 11:40 gros
- [r1324] Added ANVIL object type for Smithery plugins - Chachkoff Y. 10/21/01
- 2001-10-21 09:13 gros
- [r1323] New files for the logger plugin - Chachkoff Y. 10/21/01
- 2001-10-21 09:07 gros
- [r1322] Some plugins improvements and bugfixes - Chachkoff Y. 10/21/01
- 2001-10-21 08:19 gros
- [r1321] dded support for custom plugin commands - Chachkoff Y. 10/21/01
- 2001-10-21 08:15 gros
- [r1320] Removed unneeded plugins.h header - Chachkoff Y. 10/21/01.
- 2001-10-20 07:07 garbled
- [r1319] Fix a crash bug noted by Mids when a map file contains:
@match
foo|foo|foo
From the comment in the code:
* your eyes aren't decieving you, this is code repetition. However,
* the above code doesn't catch the case where line<cp going into the
* for loop, skipping the above code completely, and leaving undefined
* data in the keywords array. This patches it up and solves a crash
* bug.
garbled 2001-10-20
- 2001-10-19 06:57 garbled
- [r1318] Add code that makes it exponentially less likely to spit out a message when
spells are stacked on top of one another. This mostly cures the case where
a player casts 10 fireballs into a group of trolls and gets blasted by
messages, without removing messages from area spells completely.
BTW AV, umm.. I guess it helps if I check hitter->type instead of
op->type. ;) nevermind.
garbled 2001-10-18
- 2001-10-15 21:12 garbled
- [r1317] Remove all instances of RANDOM()% and replace with rndm() from utils.c
garbled 2001-10-15
- 2001-10-15 07:38 garbled
- [r1316] This should fix the over-zealous messages from attacking that I bungled in
my last commit. Basically, this code throttles the different messages
with random numbers to keep them from flooding the client. The client
load should be much better now. If not, we simply tune the numbers.
garbled 2001-10-15
- 2001-10-14 15:04 gros
- [r1315] A quick documentation about plugin events - Gros 10/14/01
- 2001-10-14 14:14 gros
- [r1314] Some preliminary docs for the Python plugin - Gros 10/14/01
- 2001-10-14 10:29 gros
- [r1313] Added some definitions for future dynamic spells system, needed by python plugin. - Gros 10/14/01
- 2001-10-14 09:29 gros
- [r1312] Major upgrade: Plugin support and Guile Removal - Gros 10/14/01
- 2001-10-14 08:26 gros
- [r1311] Header files for Python and Logger plugins - Gros 10/14/01
- 2001-10-14 08:23 gros
- [r1310] Crossfire plugins : Python support and advanced logging facilities - Gros 10/14/01
- 2001-10-14 08:12 gros
- [r1309] Major changes: Added dynamic plugin support - Gros 10/14/01
- 2001-10-14 07:57 gros
- [r1308] Major changes: Added dynamic plugin support, removed old Guile support.
- Gros 10/14/01
- 2001-10-07 07:40 mwedel
- [r1307] server/spell_util.c: Add out_of_map check to can_see_monsterP. Fixes
crash when casting ball lightning/divine shock (and likely other events)
on maps not surrounded by walls. MSW 2001-10-07
- 2001-10-07 07:21 garbled
- [r1306] Modify the changes file to reflect the attackmessage stuff, and add the
lib/attackmess file for loading the damage messages. Now DM's can edit
the attackmessages that the player sees.
garbled 2001-10-06
- 2001-10-07 07:17 garbled
- [r1305] New attacktype messages for damage. Now it gives you the message for the
damage type you actually did. So if you are attacking with stormbringer,
you get electrical or drain-based messages. Also added special messages for
the attack-based skills like punching, karate, etc.
garbled 2001-10-06
- 2001-10-07 07:14 garbled
- [r1304] Initialize the attackmessages
garbled 2001-10-06
- 2001-10-07 07:12 garbled
- [r1303] Header modifications needed for the new attacktype-based damage messages
code. In addition, fix where I put the prototypes for the utils.c functions
in sproto.h instead of libproto.h
garbled 2001-10-06
- 2001-10-07 06:48 garbled
- [r1302] Fix a warning in here that I unintentionally pasto'd 30 times.
'control reaches end of non void function'
garbled 2001-10-06
- 2001-10-07 06:45 mwedel
- [r1301] common/map.c: Add INS_ON_TOP flag to insert_ob_in_map calls to preserve
stacking order. Modify update_position to generate map spaces with
more proper order.
common/object.c: Modify insert_ob_in_map so that it preserves stacking
if INS_ON_TOP is set.
crossedit/CrEdit.c: Add missing code that would draw third face on a space.
include/object.h: Add INS_ON_TOP flag/define.
random_maps/exit.c: Modify code so that if the random maps leading to
a special map are reset, they will properly link in with an already loaded
final map (and update exit from final map back up) as needed. Also fix
bug in that if the final map has been reset, a new one will now be properly
loaded.
random_maps/random_map.c:Update minimum size to be 7 (up from 6) - fixes
bug which caused crashes when square_spiral maps of 6x6 would fail to
generate.
random_maps/random_map.h,random_maps/room_gen_onion.c: move OPT_values from
room_gen_onion to random_map.h since the square_spiral code uses them.
random_maps/square_spiral.c: Update call to map_gen_onion to use
OPT_.. values instead of constant integer.
random_maps/treasure.c: Add some casts to sprintf statements to eliminate
some compiler warnings.
server/main.c: Modify enter_exit code such that a random map has
reset, we generate a new random map. This can happen when the random_map
resets before the map that leads to them resets.
MSW 2001-10-06
- 2001-10-01 19:29 garbled
- [r1299] Argh.. fix my stupidity here. typo.
garbled 2001-10-01
- 2001-10-01 19:10 garbled
- [r1298] Fix a potential SIGFPE and an off-by-one error in rndm(). Thanks to mids
for spotting it.
garbled 2001-10-01
- 2001-09-27 19:37 garbled
- [r1297] Add a new command category called communications commands. Place tell,
shout and say in here. Also create emotion functions. These functions
have no real effect on the game, but make communications between players
more colorful and fun. They are mostly fluff. Included with this patch
are two new convenience functions, new_info_map_except, and
new_info_map_except2, which allow the programmer to write to an entire
map, except for certain individuals.
Tested by myself, mids, and gros, with thanks to them for fixing
something I didn't catch.
garbled 2001-09-27
- 2001-09-27 00:07 garbled
- [r1296] Fix two problems in this code where WIDTH was used rather than height. The
fountain one was possibly harmless, but the special_exit function was
causing an infinate loop when trying to generate some maps.
garbled 2001-09-26
- 2001-09-26 21:40 garbled
- [r1295] Add prototypes for the luck code, and a few defines to the define.h
file. In addition, fix a problem on NetBSD where MIN and MAX were
multiply defined.
Discussed at length with dhb, av and gros. Has been tested on both the
mids crossfire server, and on my private server.
This code removes all current use of the luck stat for players, and replaces
it with a general luck modifier for all random rolls. The intent of this
code is to give a general positive (or negative) effect on a player due
to luck. This effect should be generally intangible to the player, yet
help him out over the course of a game.
garbled 2001-09-26
- 2001-09-26 21:34 garbled
- [r1294] Apply the big luck patch to all these files. This removes the special
cases for alchemy and prayer as well.
Discussed at length with dhb, av and gros. Has been tested on both the
mids crossfire server, and on my private server.
This code removes all current use of the luck stat for players, and replaces
it with a general luck modifier for all random rolls. The intent of this
code is to give a general positive (or negative) effect on a player due
to luck. This effect should be generally intangible to the player, yet
help him out over the course of a game.
garbled 2001-09-26
- 2001-09-26 21:12 garbled
- [r1293] Initial commit of new luck code.
utils.c is the file that contains the actual luck routines, living.c was
modified to use the luck code.
Discussed at length with dhb, av and gros. Has been tested on both the
mids crossfire server, and on my private server.
This code removes all current use of the luck stat for players, and replaces
it with a general luck modifier for all random rolls. The intent of this
code is to give a general positive (or negative) effect on a player due
to luck. This effect should be generally intangible to the player, yet
help him out over the course of a game.
- 2001-09-24 10:47 jbontje
- [r1292] These are some misc. patches by Tim Rightnour to make Crossfire compile
cleanly on NetBSD.
1) The Cnv makefile wasn't recieving EXTRA_CFLAGS, making it difficult to
compile, because it wants to locate the guile includes.
2) The metaserver code didn't cast the fifth argument to sendto properly.
Amusingly, it did so on WIN32. I verified this is the proper cast with SUSV2,
Solaris, NetBSD and linux.
mids 2001-09-24
- 2001-09-20 16:44 avogl
- [r1291] Included the new patch that removes godgiven
items when changing cults.
The treasurelist of the former god is read and
any matching items in the players inventory get
deleted.
This is very important to keep playbalance up
(Especially considering Gaea's powerful gifts).
--Andreas V.
- 2001-09-18 22:15 avogl
- [r1289] arch collect for new images
--AV
- 2001-09-18 21:24 avogl
- [r1287] Patch for check_inv by Maurice Massar.
Due to a bug in map.c, inventory checkers with
"no_pass 1" set were *always* unpassable.
That is corrected now.
- 2001-09-11 01:14 avogl
- [r1286] arch collect for new skull image
--AV
- 2001-09-10 22:29 avogl
- [r1284] arch collect to get the new images
--AV
- 2001-09-04 05:54 mwedel
- [r1280] Previous checkin was missing the GreaterDemon and BigDemon.
collect and check in to fix that. MSW 2001-09-03
- 2001-09-03 06:44 mwedel
- [r1279] This checkin mainly fixes multipart teleporters - they should now
work properly. Also a minor fix to make the new pickup code work.
server/apply.c: apply_shop_mat rewritten to be more 'presentable'.
Minor changes were needed in any case to pass the player/creature
a a second object to teleport.
server/c_object.c: change the sscanf to be unsigned when getting value
for new pickup mode. At least on my system, if the value in the
string was larger than the max signed value, sscanf set it to the
max value.
server/move.c: teleport function largely re-written. Instead of the
third arg being the 'originator', it is now the object to teleport.
This allows the head of the teleporter to get passed to this function
even if the object to teleport is not on the head.
server/time.c: move_teleporter modified to also check for objects on the
other parts of multipart teleporters. Also, pass the head object
to the teleport function so that proper destination is used.
MSW 2001-09-02
- 2001-09-02 17:14 avogl
- [r1278] arch collect for new images
--AV
- 2001-08-30 23:55 avogl
- [r1276] Set the spell "flaming aura" to PATH_FIRE
which seems way more appropriate than what
it was set to before (PATH_DETONATE).
--AV
- 2001-08-30 15:50 avogl
- [r1275] arch collect for new images
--AV
- 2001-08-30 05:17 mwedel
- [r1273] Fix to prevent divide by zero crashes in dist_att.
MSW 2001-08-29
- 2001-08-29 16:31 reeve
- [r1272] Scott Barnes: One last fix for server/main.c, the login crashes I found are gone.
- 2001-08-29 15:55 reeve
- [r1271] Scott Barnes: Another fix, this time in server/main.c
- 2001-08-29 15:50 reeve
- [r1270] Scott Barnes: Fixed some bugs in request.c that crashed the server.
- 2001-08-29 15:45 reeve
- [r1269] Scott Barnes: Fixed a bug in the loop code that made the server crash.
- 2001-08-29 13:25 avogl
- [r1268] arch collect and...
lib/treasures:
Skeletal mages now have frostbolt (instead of
icespells which they couldn't cast due to lack of sp).
I think frostbolt makes for a nice diversity
from other spellcasters. It also fits for the
low level they are.
--AV
- 2001-08-29 07:14 mwedel
- [r1264] include/define.h: Pickup type defines added.
include/player.h: Change mode (pickup mode) to 32 bits.
server/c_object.c: command_pickup function modified to support all
the new pickup options.
server/player.c: Fix for path_to_player to prevent crashes. Add check
in move_player_attack just in case. check_pick function modified to
support new pickup options. do_some_living modified to eat flesh
items if player is starving and they don't have any food.
server/spell_effect.c: cast_detection modified so that detect magic/curse
will not show objects beneath the floor. Change so that detect_monster
and detect_evil spells copy the face of what they detected - gives better
appearance on client.
socket/item.c: fix bug LookAt that ws checking blocked_los on wrong
offset.
MSW 2001-08-28
- 2001-08-27 16:49 gros
- [r1263] Corrected two possible endless loops - Chachkoff Y. 08/27/01
- 2001-08-27 16:47 gros
- [r1262] Corrected a bug related to the new map code (NULL map pointer not checked) - Chachkoff Y. 08/27/01
- 2001-08-27 01:08 avogl
- [r1261] Collected arches for new pngs.
--AV
- 2001-08-21 05:39 mwedel
- [r1259] Enhancements to make monsters 'do the right thing' with relation
to tiled maps (ie, will detect players and attack them if on an adjoining
tiled maps). This involved a rewrite of path_to_player - I've tested this
out, and if anything, it seems that monsters may be more aggressive on
spellcasting.
++
common/map.c: blocked modify to make sure it is checking valid coordinate
value. blocked_link,blocked_two modified to translate for tiled maps.
Add load_and_link_tiled_map which loads a tiled map and links in all
pointers relative to adjoining maps. out_of_map modified to use
this function instead of doing the work itself. Add get_rangevector
function that returns offset, direction, and distance between two
objects, taking into account tiled maps. get_rangevector_from_mapcoord
added which is similar to get_rangevector, but takes a map and coordinates
instead of a second object. on_same_map function added which returns
true if the two objects are on the same logical (ie tiled) maps.
doc/crossfire.doc: Add note about what Int does for monsters.
include/map.h: Add some comments, and add structure for rangevector
function return values.
server/attack.c: add calls to on_same_map instead of doing op->map
comparisons.
server/monster.c: Many functions modified to properly handle tiled
maps properly.
server/pets.c: get_pet_enemy modified to know about tiled maps.
server/player.c: get_nearest_player modified to know about tiled maps.
path_to_player rewritten to know about tiled maps - I think some other
bugs were also fixed in return values. Split player_attack_door
from move_player attack to keep functions a more reasonable size.
move_player_attack, player_can_view modified to know about tiled
maps.
server/skills.c: can detect_enemy modified to take another parameter -
call in steal updated to pass this parameter.
server/spell_util.c: ok_to_put_more, can_see_monsterP modified to
handle tiled maps properly.
socket/item.c: look_at modified to return proper results when player
looks at something on an adjoining tiled map.
++ End of checkin
- 2001-08-08 14:40 avogl
- [r1257] Fixed a server crash bug:
When the spell magic map was casted on
a map that contained an empty spot (no floor,
nothing), the server crashed due to a null-
pointer violation.
--AV
- 2001-08-07 16:58 avogl
- [r1256] Fixed a bug with teleporters. Teleporters
under floors didn't work - now they do.
--AV
- 2001-08-07 14:35 avogl
- [r1255] Re-enabled the ability of teleporters to move
objects with "no_pass" flag set. It is needed
for a few maps in pupland and mak-tower.
--AV
- 2001-08-05 22:34 mwedel
- [r1254] common/object.c:decrease_ob_nr modified to correctly update client when
player uses item from container that is on the ground (bookshelf for
example)
server/time.c: move_teleporter modified to skip over wall/floors and
teleport whatever is above them.
MSW 2001-08-05
- 2001-08-05 05:07 mwedel
- [r1252] common/map.c: modify link_multipart_objects to preserve name and title of
head when making the more parts. modify update_position so that it should
never show an invisible face to the player.
common/object.c: fix check_walk_on so that spells will now properly get
affected by spinners and directories.
include/sockproto.h: Rebuilt to include MapNewmapCmd
server/hiscore.c: Fix crash if player savebeds map on map which does not
have a name. Use the path instead.
server/move.c: modify teleporter function to send MapNewmapCmd to client
if player got teleported. Needed for fog of war code.
server/time.c: modify move_teleporter so that it will not teleport walls.
socket/Makefile.in: Modified to use cproto to generate proto files.
MSW 2001-08-04
- 2001-08-04 07:33 gros
- [r1251] Added (get-skill-experience) and (set-skill-experience) instructions to allow fine-tuning of experience points distribution. (Gros 08-04-01)
- 2001-08-03 09:50 gros
- [r1250] Added the (match-string) command for easier string handling. (Gros 08/03/01)
- 2001-08-03 06:19 mwedel
- [r1249] Fix bug of using uninitialized value that would then crash the server.
MSW 2001-08-02
- 2001-08-02 14:08 michtoen
- [r1248] new VC win32 project files
- 2001-08-02 06:35 mwedel
- [r1247] Fix up so that distclean now clears out all appropriate files - MSW 2001-08-01
- 2001-07-31 06:55 mwedel
- [r1245] Update version string to be date so easier to know what version
of the server is running on a host. MSW 2001-07-30
- 2001-07-31 06:54 mwedel
- [r1244] Fix compilation bug if using recycle temp maps. MSW 2001-07-30
- 2001-07-31 06:33 mwedel
- [r1243] common/map.c free_map Set in_memory status to MAP_SWAPPED - fixed bugs of maps
not getting reset properly
common/object.c: insert_ob_in_map - was passing wrong value to check_walk_on,
resulting in some things not working as expected.
doc/Protocol: Clarify how the sending of the version command works.
server/move.c: move_ob redone. It should hopefully be more efficient (only'
remove objects after verifying they can in fact move). IMO, code is
also simpler, and hopefully has fewer bugs.
socket/init.c: InitConnection - modified to set faces_sent[0] to one
so that we will never send any information about face 0 to the client.
facecode 0 is sent in the map1 command to clear spaces/layers.
MSW 2001-07-30
- 2001-07-22 18:48 smacfiggen
- [r1239] Server side of the fog of war feature to the gtk client. Adds the
protocol command newmap and adds a call to MapNewmapCmd in enter_map()
in main.c. More additionals will need to be made, for example when
someone casts a teleport spell but teleports within the same map.
SMACFIGGEN
- 2001-07-20 06:14 mwedel
- [r1237] common/object.c: remove_ob - set P_NEED_UPDATE before calling update_position
to prevent warnings from update_position being called with P_NEED_UPDATE
being set. MSW 2001-07-19
- 2001-07-20 06:04 mwedel
- [r1236] socket/request.c: Fix bug in map1 command which resulted in it sending
too much data with even maps. For example, if the client requested
a 16x16 map, the server would effectively send a 17x17 map to the client.
MSW 2001-07-19
- 2001-07-16 04:38 mwedel
- [r1235] Fix error in darkness handling for small mapsize - was doing
incorrect comparison. MSW 2001-07-15
- 2001-07-14 04:13 mwedel
- [r1234] Map tiling checkin. MSW 2001-07-13
- 2001-07-14 04:12 mwedel
- [r1233] Map tiling checkin.
socket/info.c: Modified to use new map structure/macros
socket/request.c: Modify draw_map_routines to use get_map_from_coord so
that it properly deals with tiled maps. Modified to deal
with potentially NULL face values. Modified update routine to
call update_position for spaces within player view which need an
update
MSW 2001-07-13
- 2001-07-14 04:11 mwedel
- [r1232] Map tiling checkin
server/Makefile.in: Remove encounter.c file. Use cproto instead of
cextract to create proto file.
server/alchemy.c,server/attack.c,server/c_object.c,server/c_wiz.c,
server/disease.c, server/login.c, server/main.c, server/monster.c,
server/move.c, server/pets.c, server/player.c, server/resurrection.c,
server/rune.c, server/shop.c,server/skill_util.c, server/skills.c,
server/spell_effect.c, server/spell_util.c, server/swap.c, server/time.c
modified to use modified insert_ob_in_map function,
use new macros to access map structure related data.
change calls to update_all_los, remove lighting related code.
server/apply.c: modified to use new insert_ob_in_map function. Update
calls to update_object. remove RANDOM_ENCOUNTER code.
for exits, modified to use the head for valid coordinates since the
other parts may not have valid values since they are not saved out to
disk anymore.
server/c_misc.c,server/hiscore.c: modified to use new map
structure/information.
server/commands.c: remove dumplights command.
server/encounter.c: removed - code no longer used
server/init.c: remove RANDOM_ENCOUNTERS code.
server/script.c: change Script_getMapObject to return NULL since there
is no longer a map object. Modify to use new insert_ob_in_map and
update_object functions.
MSW 2001-07-13
- 2001-07-14 04:08 mwedel
- [r1231] Map tiling checkin.
random_maps/decor.c,random_maps/door.c, random_maps/exit.c,
random_maps/floor.c,random_maps/monster.c,random_maps/special.c,
random_maps/standalone.c, random_maps/style.c,random_maps/treasure.c,
random_maps/wall.c:
modified to use modified insert_ob_in_map function,
use new macros to access map structure related data
MSW 2001-07-13
- 2001-07-14 04:06 mwedel
- [r1230] Map tiling checkin.
include/config.h: remove RANDOM_ENCOUNTERS (no longer available) and
USE_LIGHTING (now standard part and always on).
include/define.h: move P_... values to map.h
include/global.h: add definition for compression externals, as they
are used in a few files. remove map macro functions - moved to map.h
as appropriate. Add FREE_AND_CLEAR macro that frees data and then
sets the pointer to NULL.
include/map.h: Largely redone - many new macros, new map structure.
include/object.h: remove lights object link pointer from objects.
At some #defines that are the flags for update_object and
insert_ob_in_map
include/player.h: Add a few comments.
MSW 2001-07-13
- 2001-07-14 04:06 mwedel
- [r1229] doc/Makefile.in: add map-technical to list of files.
doc/crossfire.doc: remove map information that was in this file.
doc/map-technical: new file. Describes inner workings of how the maps work.
MSW 2001-07-13
- 2001-07-14 04:05 mwedel
- [r1228] crossedit/Attr.c: Rename Layout to AppLayout so other files can use it.
crossedit/CrEdit.c: Modified to use new map header. Modified drawing
routines, as face values could be null
crossedit/Edit.c: Move many functions from common/map.c that are only
used here and thus don't need to be in common/map.c. Modify to use
new map structure.
crossedit/Makefile.in: Change to use cproto to make proto.h file.
crossedit/png.c: change user_read_data to be static so proto doesn't pick
it up.
MSW 2001-07-13
- 2001-07-14 04:04 mwedel
- [r1227] common/Makefile.in: Remove ltostr.c and sqrt.c from list of files
common/ltostr.c, common/sqrt.c: Moved into porting.c
common/anim.c, common/button.c, common/item.c: Update calls to update_object
common/living.c: have fix_player calculate light value for player/monster.
common/logger.c: Remove code that has server exit if too many LOG messages
happen too quickly. This was not a reliable mechanism, and it should
really be up to the functions doing the logging to know if they can
continue or not.
common/los.c: Changes on how it deals with lighting on maps - get light
value from map space array instead of using the linked list. Functions
that managed the light list have been removed. Change logic of
line of sight function to be more efficient (before, we may examine
the same space multiple times). rename update_all_los to
update_all_map_los, and change update_all_los to take coordinates
so that we only have clients within view of the change recalculate
los. Also, have update_all_los check for tiled maps that may have
clients that need to get updated.
common/map.c: remove refresh_map - this used to be used to try to recover
from map errors if many_cores was not set - IMO better to core and
just restart and really fix the error than try to deal with possible
corruption that may otherwise result.
Move open_and_uncompress and close_and_delete functions to porting.c -
they are 'common' functions that are not related to the map code.
Remove some lighting related code, as that is no longer done with
a list. Many modifications because of new map structure. And
logic to load and save the new map structure format. Modify
many of the functions to take map tiling into account. Change
way multipart objects are saved, and add logic to relink objects
when maps are loaded up. Remove some functions that are only
used by the editor into the editor. Move update_position from
object.c to map.c as it is better placed in map.c. Modify
function to figure out light for a space. Make out_of_map a
function that knows about map tiling. New function - get_map_from_coord
which knows about map tiling and does coordinate and map translation.
common/object.c: Have update_object take another parameter which tells
update object what has changed about the object. This lets the function
know if it should call update_position right away or if it can just
mark the space as needing an update at a later time. move update_position
to map.c.
insert_ob_in_map: now takes another parameter that describes actions not
to do. modified to know about map tiling and do appropriate translation.
Does some object sorting so it should handle spell objects more
efficiently.
insert_ob_in_map_simple is now replaced by
using appropriate flag to this changed version of insert_ob_in_map.
Clean up remove_ob - seemed to have done things in a more complicated
fashion that is no longer necessary. Modify check_walk_on to look
at all objects on space, not those below the object - with changes to
insert_ob_in_map, new object won't always be on top.
common/porting.c: functions from ltostr.c, sqrt.c, as open_and_uncompress
close_and_delete, make_path_to_file from map.c
common/treasure.c: Modified to use updated insert_ob_in_map
MSW 2001-07-13
- 2001-06-30 19:36 gros
- [r1226] Corrected map-corruption problem with the Town Portal - Gros 2001-06-30
- 2001-06-29 05:59 mwedel
- [r1225] common/object.c, common/player.c, include/object.h, server/skill_util.c:
Remove the unused LINKED_SKILL code.
common/Makefile.in: Use cproto to make prototypes - cextract fails for
some reason and now seems unsupported. Cproto generates a bunch
of warnings, but does do the job.
common/arch.c,server/apply.c, server/main.c, server/monster.c: cleanup some
compile warnings (unusued variables, returns without value
doc/playbook/Makefile.in: Create proper dependencies for files.
doc/playbook/treas2-extract: Add player_force to value to ignore.
doc/spoiler-html/spoiler.html: rebuilt
server/skill_util.c: Remove the unused LINKED_SKILL code. Prevent
characters that have meditation skill from learning melee weapon skill.
MSW 2001-06-28
- 2001-06-23 13:02 gros
- [r1219] Corrected the script associated with the Ring of Occidental Mages - Gros 2001-06-23
- 2001-06-23 12:59 gros
- [r1218] Added support for script_str_... structures in artifact file - Gros 2001-06-23
- 2001-06-23 10:57 gros
- [r1217] Added bounds checking for some script instructions. Also added Copyright/GPL header comment - Gros 2001-06-23
- 2001-06-20 05:01 mwedel
- [r1215] commit updated version - MSW 2001-06-19
- 2001-06-20 04:50 mwedel
- [r1214] Add note about possible changes that need to be made to tetex to
generate the spoiler. MSW 2001-06-19
- 2001-06-18 05:53 mwedel
- [r1210] Add missing file - MSW 2001-06-16
- 2001-06-16 07:48 mwedel
- [r1200] doc/Protocol: Add 'darkness' setup option documentation.
include/newserver.h: add darkness element to socket structure.
include/script.h,server/script.c: remove static declaration from script.h,
move it to script.c
socket/init.c: init darkness element in socket structure.
socket/request.c: Add support in setup command for client to set if it
wants darkness information or not. Modify map update functions such
that if the client does want darkness information, server does not
send it. Improve darkness handling so that if using the map1
protocol command, send darkness for first blocked space due to
darkness - this makes it possible for client to interpolate results
better.
MSW 2001-06-16
- 2001-06-14 11:12 gros
- [r1199] Added two small items demonstrating script capabilities - Gros 14-06-2001
- 2001-06-14 10:54 gros
- [r1198] Added (set-cursed [item] [#t/#f]) script instruction
- 2001-06-14 09:04 gros
- [r1197] Added 'out of script stack space' error handling
- 2001-06-14 08:52 gros
- [r1196] Removed 'unofficial version' warning message
- 2001-06-14 08:44 gros
- [r1195] Replaced non-ANSI C // comments by /* */ ANSI comments
- 2001-06-13 22:04 jbontje
- [r1194] bugfix - uninitialized script_... and script_str_... fields
of new objects are now set to NULL by default, patch made by gros
2001-06-14 mids
- 2001-06-13 13:51 michtoen
- [r1193] run_win32.bat sets a SET system var for starting GUILE. MT 13-06-2001
- 2001-06-13 13:16 michtoen
- [r1192] Modified Files:
player.c loader.l loader.c init.c request.c newserver.h
Log Message:
Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c
and script.c.
added a new setup cmd: "newanim"
a client giving the newanim cmd, will enable the new animation system.
The interface is open and not server controlled at this moment.
First using is to enable the player moving in 8 direction. Giving this option to a
server without changed arch will invoke broken player animations.
This will be changed in the future.
MT 2001-06-13
- 2001-06-13 12:52 michtoen
- [r1191] Modified Files:
player.c loader.l loader.c init.c request.c newserver.h
Log Message:
Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c
and script.c.
added a new setup cmd: "newanim"
a client giving the newanim cmd, will enable the new animation system.
The interface is open and not server controlled at this moment.
First using is to enable the player moving in 8 direction. Giving this option to a
server without changed arch will invoke broken player animations.
This will be changed in the future.
MT 2001-06-13
- 2001-06-13 11:02 michtoen
- [r1190] Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.
MT 2001-06-13
- 2001-06-13 10:52 michtoen
- [r1189] Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.
MT 2001-06-13
- 2001-06-13 10:38 michtoen
- [r1188] Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.
MT 2001-06-13
- 2001-06-13 06:16 mwedel
- [r1186] Fix bug in darkness code when client is using non rectangular maps.
Player was not being properly illuminated. MSW 2001-06-12
- 2001-06-12 04:29 mwedel
- [r1185] common/item.c: Add boots and gloves to items which are not magical just
because they have resist physical. This bug resulted in most all boots
and gloves being shown as magical, even though they had no special
properties.
socket/request.c: remove some dead code. Memset entire map cell
to zero when scrolling and the map is cells is one that was not in
view. This fixes redraw problems when using large viewable maps.
MSW 2001-06-11
- 2001-06-11 18:54 michtoen
- [r1184] change HANDLE to CF_HANDLE
- 2001-06-11 18:47 michtoen
- [r1183] change HANDLE to CF_HANDLE
- 2001-06-11 04:13 michtoen
- [r1182] enable player 8 way direction
- 2001-06-11 03:48 michtoen
- [r1181] update for win32
- 2001-06-11 03:47 michtoen
- [r1180] add option ENABLE_PLAYER_ANIMATION_8
- 2001-06-11 03:47 michtoen
- [r1179] fix it for win32 usage (exclude autoconfig.h)
- 2001-06-11 03:47 michtoen
- [r1178] update VC++ make file
- 2001-06-08 06:21 mwedel
- [r1177] doc/Protocol: update information for the mapcmd, add map1cmd to
section of setup commands.
include/newserver.h,socket/init.c: add map1cmd element to socket structure that
determines which protocol (map,map1) will be used for sending the
map.
socket/request.c:add 'map1cmd' to list of setup options. when sending
the map, use the map1cmd element to determine what protocol command
to use to send it.
MSW 2001-06-07
- 2001-06-07 06:08 mwedel
- [r1172] server/shop.c: Fix bug that resulted in items in shop being paid,
as well as not generating proper listing. MSW 2001-06-06.
- 2001-06-04 06:41 mwedel
- [r1162] Checkin of code that supports larger map sizes (configurable in
config.h).
common/los.c: update los code since it only handled 11x11 maps. Now
uses formulatic approach so any map size should be supported. This
does result in a few more spaces getting blocked around corners,
but it doesn't seem that bad - certainly not compared to the ability
to have larger viewable maps.
common/map.c, crossedit/CrEdit.c, crossedit/Edit.c, include/global.h,
include/map.h,random_maps/monster.c,random_maps/special.c,
random_maps/standalone.c, server/apply.c,server/c_misc.c,
server/spell_effect.c,socket/info.c:
change mapx,mapy to what they really point to,
as it prevented using those as variable/structure element names.
common/object.c: update_position - if faces for different layers are
duplicate, set the duplicates to be blank to increase client
update efficiency.
doc/Protocol: Add map1 command description, update setup command to
describe setting of mapsize.
include/config.h: add MAP_CLIENT_X/Y to set maximum map size we can
send to the client.
include/newserver.h: add mapx, mapy values to socket structure
include/player.h: Use MAP_CLIENT_X/Y for sizing arrays that hold
map related information in player structure.
server/player.c: As per player.h above, use appropriate sizing when
initializing player stucture.
server/shop.c: Update mapx,mapy like above, but re-do shop listings code as
it was doing a lot more work than necessarily (I think some changes
got put in for sorting, and the old object manipulation was never
removed when that got done)
socket/init.c: set default client map size to 11x11 in the socket.
socket/item.c: LookAt - change checks for position checking (such that
you can only look at things in bounds) use max viewable map size.
socket/request.c: Make setup commands a little more forgiving if there are
extra spaces. Add 'mapsize' command to setup command. Update
old map sending code to use socket map sizes (to support even
smaller than normal maps, or 13x13 or 15x15 maps). add draw_client_map1
command which implements the map1 protocol command.
MSW 2001-06-03
- 2001-06-04 05:35 mwedel
- [r1161] re-collect archetyps. MSW 2001-6-03
- 2001-05-31 22:53 mardahl
- [r1159] Comment on Fix in random maps: no more destroyed exits by hidden walls
surrounding treasures. --PeterM 5/31/2001
- 2001-05-31 22:46 mardahl
- [r1158] Fix a problem in which hidden doors around treasures could destroy exits.
PeterM 5/31/2001
- 2001-05-29 04:41 mwedel
- [r1157] Make ALLOW_SKILLS standard part of game (remove #ifdef's for it)
Files affected: common/living.c common/object.c common/treasure.c
include/config.h include/player.h server/apply.c server/attack.c
server/c_move.c server/c_range.c server/c_wiz.c server/commands.c
server/init.c server/login.c server/monster.c server/player.c
server/rune.c server/skill_util.c server/spell_util.c
Make MULTIPLE_GODS standards part of game (remove #ifdefs for it)
Files affected: common/readable.c include/spellist.h include/config.h
server/attack.c server/gods.c server/skills.c server/spell_effect.c
server/spell_util.c
doc/Makefile.in, doc/Protocol: Add protocol description file here instead
of in the client distribution.
include/global.h: Move declaration of MAX_EXP_CAT near top of file
so it is set before player.h is included.
include/newclient.h: Add CS_STAT_SKILL* values for sending skill
experience information to client.
include/newserver.h: Add skillexp value to socket struct which determines
if client wants skill experience informatiion.
include/player.h: Add skill information tracking to player structure
so we can easily know when to send updates to client.
random_maps/expand2x.c: remove unused variable to prevent compiler warnings.
random_maps/square_spiral.c: Include prototype information on all systems,
not just win32 to prevent compiler warnings.
server/skill_util.c: Initialize skill pointers to make it easier to
find skill information when we want to update client.
socket/init.c: Init socket->skillexp to 0.
socket/loop.c: Fix indentation of table - whitespace change only
socket/metaserver.c: Minor fix to prevent compile warnings (on the sprintf
that composes the data to send to the metaserver)
socket/request.c: Redo SetUp function to be more compact and IMO simpler as
wll as easier to read (functionality remains the same).
VersionCmd modified to warn users of on dxclients (code on MT)
StatsCmd added to send skill information if client wants it.
The sending of skill experience is by MT, rest of the changes by me.
MSW 2001-05-28
- 2001-05-26 07:29 mwedel
- [r1154] common/readable.c: When making recipe books, give the recipe that they
are for in the title. Makes it more worthwhile to buy them.
lib/treasures.c: Increase the chance of readables in chests some (in fact,
add a chance.)
MSW 2001-05-25
- 2001-05-25 07:23 mardahl
- [r1153] Bugfix:
the unnecessarily complicated formula for calculating
speed of a weapon broke for a player on CSUA, producing
a zero-speed weapon.
After looking at the incomprehensible expression for calculating
the speed of a weapon, I decided to put in a simpler expression.
--PeterM 05/25/2001
- 2001-05-25 04:29 mwedel
- [r1152] lib/artifacts: Reduce potency of Poison artifact foods.
server/apply.c: When eating poison artifact foods, hit player with poison
attacktype instead of just subtracting hp. This way people with
poison resistance get proper benefit. MSW 2001-05-24
- 2001-05-25 03:59 mwedel
- [r1151] doc/metaserver, doc/Makefile.in: Add metaserver file which describes
working of metaserver and format of data fields.
socket/metaserver.c: Add reporting of inbytes, output bytes, and uptime in
seconds to notification of metaserver
MSW 2001-05-24
- 2001-05-25 02:42 mardahl
- [r1150] Implemented reduced death penalty: 20% or 3 levels, whichever is lower.
--PeterM 5/24/2001
- 2001-05-24 20:42 mwedel
- [r1149] server/spell_util.c: Fix typo in polymorph code (when enabled in config.h)
MSW 2001-05-24
- 2001-05-24 17:11 mardahl
- [r1148] Changed the material type to adamant for a lot of the higher-end
things.
--PeterM 5/24/2001
- 2001-05-24 07:15 mwedel
- [r1147] server/disease.c: replace disease->owner check with get_owner.
MSW 2001-05-24
- 2001-05-23 06:14 mwedel
- [r1144] server/pets.c: pet_move - fix formatting to be 4 space indentation.
if we remove the monster, free it here instead of having move_monster
do it. Add check for was_destroyed after first call to move_ob -
crashes have been observed in that function, and I believe that is the
cause.
server/monster.c: move_monster: let pet_move free the pet if necessary.
server/spell_effect.c: Clear sleeping flag of monsters when casting
summon pet monster (or other creatures). Some archs have this
value on by default, so the monsters don't follow the player until
an enemy is found.
MSW 2001-05-22
- 2001-05-23 04:22 mwedel
- [r1143] socket/item.c: Don't raise player to top of stack when they look at
something. I think this may be causing server crashes in some
circumstances - plus its not really needed anyways.
socket/loop.c: block_until_new_connections: Add call to flush_old_maps
so maps are reset while waiting for a new player.
MSW 2001-05-22
- 2001-05-23 03:01 mardahl
- [r1142] Added Devin Watson to CREDITS file.
PeterM 5/22/2001
- 2001-05-21 07:01 mwedel
- [r1141] remove some spurious : after the hostnames in the ftp section - this
makes those lines proper URLs. MSW 2001-05-20
- 2001-05-21 04:01 mwedel
- [r1140] configure.in, configure: Fix png and Xpm library detection. Suggested
patch by Yann Chackhoff, applied by MSW 2001-05-20
- 2001-05-16 03:50 quickfur
- [r1137] expand2x.c: Added #include <stdlib.h> (to suppress compiler warning...)
- hsteoh
- 2001-05-15 17:56 mardahl
- [r1136] Fix to make snake.c not crash the server when the requested
random map is less than 8 in size.
--PeterM 5/15/2001
- 2001-05-15 09:38 mardahl
- [r1135] Fix: make sure "surrounded" treasure chests are
actually surrounded. An exit could break this surrounding.
Now an exit can be underneath a locked door at times.
We'll see how this works out.
--PeterM 5/15/2001
- 2001-05-15 09:10 mardahl
- [r1134] Improvements to the "roomify" function, so that
doors dont end up in places like this:
####D####
#
#
--PeterM 5/15/2001
- 2001-05-15 08:23 mardahl
- [r1133] Cosmetic fix: There should be fewer cases of
doors being oriented in the wrong way now.
--PeterM 5/15/2001
- 2001-05-15 06:50 mardahl
- [r1132] Make it so that descendents of an expand2x map are
also expand2x.
--PeterM 5/14/2001
- 2001-05-15 04:56 mardahl
- [r1131] Gloves of Havoc not what was intended.
TOo much cut and paste.
Removed attacktype electrical and resist_electricity.
--PeterM 5/14/2001
- 2001-05-15 04:44 mardahl
- [r1130] Added description of new expand2x random map option.
--PeterM 5/14/2001
- 2001-05-15 04:41 quickfur
- [r1129] Fixed memory leak in expand2x.c (delete original layout after we're done)
- hsteoh
- 2001-05-15 04:35 mardahl
- [r1128] material.h: Changed the name of the material from "iron" to "metal",
which is a better description of what platinum coins
are made of.
--PeterM 5/14/2001
- 2001-05-15 04:30 mardahl
- [r1127] Activated BehTong's expand2x code for random maps.
Option "expand2x 1" in the parameter file turns it on.
random_map.c random_map.h reader.c reader.l
--PeterM 5/14/2001
- 2001-05-14 11:42 darth_bob
- [r1126] Obvious mistake where by things for sale print out 'The It would cost you 168 platinum coins.' I welcome someone with alittle time to actually check all these, unfortunetly my time is short =(, dnh 14/05/01
- 2001-05-14 06:20 mwedel
- [r1122] Remove ip address for real-time. MSW 2001-05-13
- 2001-05-14 03:52 mwedel
- [r1121] Fix up the README - it has some very out of date information, as well
as other that was not very useful. This really should have been done
before 1.0, but oh well. MSW 2001-05-13
- 2001-05-13 21:51 mwedel
- [r1119] Fix up file for 1.0 release. MSW 2001-05-12
- 2001-05-13 21:36 mwedel
- [r1118] Update for 1.0 release. MSW 2001-05-13
- 2001-05-13 19:22 mwedel
- [r1117] Fix link error with crossedit. MSW 2001-05-13
- 2001-05-13 08:21 mwedel
- [r1116] Move free_style_maps to style.c so that crossedit will compile properly.
MSW 2001-05-13
- 2001-05-13 00:13 mwedel
- [r1114] add expand2x.h to list of files in Makefile.in MSW 2001-05-12
- 2001-05-12 23:55 mwedel
- [r1113] anim.c, map.c, object.c: various enhancements for memory debugging/leak
detection.
doc/programming_guide: some updates on comments and indentation style.
MSW 2001-05-12
- 2001-05-12 19:47 mwedel
- [r1112] remove DONE file. Changes are getting put into CHANGES file,
so DONE was hopeless out of date. MSW 2001-05-12
- 2001-05-12 19:17 mwedel
- [r1111] common/living.c: Fix AC wrapping problem - now limit ac to +/- 120.
MSW 2001-05-12
- 2001-05-12 07:57 mwedel
- [r1110] Collect arch and other related files. MSW 2001-05-11
- 2001-05-12 04:04 mwedel
- [r1108] include/config.h: Add NO_POLYMORPH feature selection
include/spellist.h: If NO_POLYMORPH is set, make it so that polymorph will
not show up in wands/rods
server/spell_util.c: Handling for NO_POLYMORPH selection
MSW 2001-05-11
- 2001-05-12 00:10 mardahl
- [r1107] Disabled polymorph, for now.
We'll revisit it and fix it after 1.0.
PeterM
- 2001-05-11 06:11 mwedel
- [r1106] server/rune.c: Make sure rune message is newline terminated. Fix map
corruption problem. MSW 2001-05-10
- 2001-05-10 19:22 mardahl
- [r1102] Changed path_denied to repelled for talismans of fire and frost.
- 2001-05-10 06:58 mwedel
- [r1101] write_rune: Modify to know longer use a relatively small dynamic buffer that may
not be large enough. MSW 2001-05-09
- 2001-05-09 22:35 mardahl
- [r1099] Fix typo.
- 2001-05-09 09:39 darth_bob
- [r1098] Okay commit this time please =), dnh
- 2001-05-09 06:58 mwedel
- [r1097] Various improvements to make finding memory leaks easier.
common/anim.c: Add free_all_anim function
common/arch.c: Modify free_all_arch to free more data
common/init.c: If running under MEMORY_DEBUG, don't pre-allocate objects.
common/map.c: Add free_all_maps functiion.
common/object.c: Modify object allocations if using MEMORY_DEBUG to only
malloc one object at a time, and not pre-allocate objects.
common/readable.c: Fix memory leak.
common/shstr.c: Include autoconf.h so it can pull in dmalloc.h file.
include/config.h: Remove notes of what was removed a long time ago.
Add MEMORY_DEBUG option.
include/libproto.h, include/sockproto.h, include/sproto.h: automatic rebuild
server/c_misc.c: Fix 'malloc info command so it reports right memory total
for maps. Add command_style_map_info which sums up memory used by
style maps.
server/commands.c: Add style_info wiz command which dumps memory usage
for style maps.
server/init.c: Have sighup handler call cleanup function.
server/main.c: Fix clean_tmp_files which could result in crash if one
of the maps in memory has 0 reset time. Modify cleanup function
to free more data.
server/player.c: op_on_battleground: Fix compile warning about unuused variable.
socket/init.c: Change name of free_all_ericserver to free_all_newserver,
have it free all face data.
MSW 2001-05-08
- 2001-05-09 05:16 mwedel
- [r1096] Modify inventory function to call new_draw_info_format directly
instead of using temp buf. May fix buffer overrun issue.
MSW 2001-05-08
- 2001-05-08 23:10 mwedel
- [r1095] Fix memory leak. MSW 2001-05-08
- 2001-05-08 07:11 mwedel
- [r1094] Various memory leaks fixed:
find_style: Release memory from scandir call.
pick_random_map: Modified to be more efficient, and not really on
fixed size temporary buffer.
MSW 2001-05-07
- 2001-05-07 08:30 mardahl
- [r1092] Some memory leaks removed.
--PeterM
- 2001-05-07 07:29 mwedel
- [r1091] Fix a few memory leaks. MSW 2001-05-06
- 2001-05-06 22:31 quickfur
- [r1090] Moved some people to CVS-access list
- 2001-05-05 17:37 mardahl
- [r1087] Make doors longer than 1 look nice.
- 2001-05-05 07:55 darth_bob
- [r1078] Revoked drain potion change at Mark's request, dnh
- 2001-05-05 07:41 darth_bob
- [r1077] Change drain potions to 100%, 50% is just completely useless right now.. dnh
- 2001-05-05 03:30 mwedel
- [r1075] Further refinement to not send unnecessary object updates to client, but
still send necessary ones. MSW 2001-05-04
- 2001-05-05 01:56 mardahl
- [r1074] Add a second revision of expand2x.c
- 2001-05-04 23:56 mardahl
- [r1073] Fix: room_gen_spiral.c: remove dangling doors here also.
Inactive changes: random_map.c rproto.h test.c
added test code only. it is commented out.
- 2001-05-04 22:52 mardahl
- [r1072] More fixes for dangling doors.
- 2001-05-04 22:14 mardahl
- [r1071] Added a new contributor.
- 2001-05-04 22:10 mardahl
- [r1070] PeterM:
FIX: dangling doors in rogue_layout
CLEANUP: don't need RP for maze_gen (touches maze_gen.c, maze_gen.h
random_map.c, rproto.h
ADDED BUT NOT ACTIVATED: code from H. S. Teoh to 2x size corridors
in generic layouts.
- 2001-05-03 18:29 mardahl
- [r1069] Memory leak pointed out by BehTong fixed.
Something like 1100 random maps per 1M of wasted core.
With newly improved server stability perhaps this is
now an issue.
PeterM
- 2001-05-03 09:09 mardahl
- [r1068] Fix a bug spotted by Jan. code for moving players could fail
for some directions.
- 2001-05-02 23:39 mwedel
- [r1066] lib/treasures: Fix error for bracers_of_gnarg - treasurelist was improperly
formed, causing crashes at server startup.
common/treasure.c: Fix load_treasure so that it won't crash dump trying
to de-referance a null pointer, and instead give proper error message.
MSW 2001-05-02
- 2001-05-02 07:26 mwedel
- [r1065] socket/item.c: Modify look_at to not stop when it finds the first invisible
object. Not the changes look bigger than they actually were, as I
did a lot of formatting changes to make it easier to read.
server/monster.c: Modify monster_check_pickup to check to see if the
next object got destroyed. I'm not sure the exact way this happens,
but I've seen one crash where this did happen - I'm guess some
function further down in the monster_check_apply look may call
this or destroy the item.
MSW 2001-05-01
- 2001-05-01 11:52 mardahl
- [r1063] Remove the controversial changes. For now. :)
PeterM
- 2001-05-01 11:50 mardahl
- [r1062] Withdraw the change to lifesaving. Lifesaving hasn't worked
in so long that more thought is needed before making it work again!
PeterM
- 2001-04-30 13:41 darth_bob
- [r1058] New bracers for gnarg, dnh
- 2001-04-30 08:27 mardahl
- [r1055] New priest-oriented rings.
- 2001-04-30 08:15 mardahl
- [r1054] Bring the player back to his savebed when he consumes an
item of lifesaving.
- 2001-04-30 06:34 mwedel
- [r1053] common/object.c: Add clear_owner function.
include/libproto.h: rebuild.
server/player.c: Modify op_on_battleground to look for battleground
anyplace on space. Temp for for wall of thorns on space - as long
as maps don't try to abuse the use of battlegrounds, should be OK.
server/time.c: Add clear_owner call to stop_arrow. Fixes problem of
thrown objects not getting saved.
MSW 2001-04-28
- 2001-04-30 03:36 mwedel
- [r1052] Instead of re-sending entire space when object face changes and it is
not a normally animated object (ie, button), just send an update face command.
MSW 2001-04-29
- 2001-04-28 06:19 mardahl
- [r1051] Toss someone off of an altar if he's praying at the wrong altar.
Changing religion is still possible by getting back on.
PeterM
- 2001-04-28 05:54 mwedel
- [r1050] common/object.c: Have update_object map the look window for redraw if
the object is not something the client normally animates (like a lever).
MSW 2001-04-27
- 2001-04-28 00:47 mwedel
- [r1049] Added collect_images.pl to files to be part of distributions.
MSW 2001-04-27
- 2001-04-27 10:39 mardahl
- [r1048] Found out why speed was set to 0... made artifacts join.
(I think.)
PeterM
- 2001-04-27 07:14 mardahl
- [r1047] Fixed a spelling error. "resist_confuse" should be
"resist_confusion"
Pm
- 2001-04-27 06:16 mwedel
- [r1046] server/apply.c: Modify apply_id_altar check for player - had a && instead of
a ||.
MSW 2001-04-26
- 2001-04-27 05:44 mardahl
- [r1045] New arch/images added.
- 2001-04-27 05:04 mwedel
- [r1044] socket/item.c: Modify ApplyCmd so a removed player can not apply objects.
Fix crashes caused by players applying savebeds after they have
used the bed. MSW 2001-04-26
- 2001-04-26 06:10 mwedel
- [r1043] server/spell_util.c: have put_a_monster generate random monster
abilities.
TODO, doc/mapguide: Various minor updates.
MSW 2001-04-25
- 2001-04-26 05:47 mardahl
- [r1042] Fix syntax error which caused the ban on non-player weapon-golems to fail.
- 2001-04-26 05:37 mardahl
- [r1041] Some types of random maps with multiple possible exits down might
have blocked exits.
- 2001-04-26 02:15 mardahl
- [r1040] Treasures for fiend.
- 2001-04-25 07:46 mardahl
- [r1037] Small change to treasure.c: artifacts were getting their speed
set to zero for some reason. This had the effect of freezing
artifact-generated monsters.
Commenting this out didn't seem to break the images for
other artifacts.
PeterM
- 2001-04-25 04:58 mardahl
- [r1036] Protect people from golems.
- 2001-04-25 02:32 mardahl
- [r1035] Remove block of exit back on final maps!
Bad bug.
Bad.
- 2001-04-24 08:13 mardahl
- [r1033] Switch the spell of peace to work on the head instead of
on the parts. Experience works better this way....
- 2001-04-24 04:51 mardahl
- [r1032] Fix of bug for empty message in rune.
Needed a \n terminator which wasn't there.
Mark identified the bug, I fixed it.
PeterM
- 2001-04-23 20:03 mardahl
- [r1031] Maybe a more sensible way to stop non-players from casting rune of
marking.
- 2001-04-23 19:59 mardahl
- [r1030] Backed out a change which seemed harmless but which may have
been causing some bizarre side effect: conditional setting of
ownserhip of runes with no attack or spell.
- 2001-04-23 09:03 mardahl
- [r1029] Improved keyplacement routine: fixes the known failure case.
PeterM
- 2001-04-23 08:01 mardahl
- [r1028] Several changes:
1) Chests will no longer need keys to open under any circumstances.
a) A side effect of this is that people won't be able to avoid traps
in containers anymore.
2) Chests won't be placed under walls.
3) Nothing will be placed on exits anymore.
- 2001-04-23 07:50 mardahl
- [r1027] Fix a spelling error.
- 2001-04-23 06:23 mwedel
- [r1026] server/c_object.c: Pass right object to query_cost_string so that
if you pick up an unpaid object into a container, it generates
the correct price. MSW 2001-04-22
- 2001-04-23 06:11 mwedel
- [r1025] server/c_wiz.c: fix shutdown and reset_map wizard commands/function
so they no longer crash the server. MSW 2001-04-22
- 2001-04-23 03:41 mwedel
- [r1024] Remove the substitution of _ to - in the image names. This breaks
image links, and I'm not really sure why it is ever needed.
MSW 2001-04-22.
- 2001-04-22 11:44 darth_bob
- [r1023] -1 str on gaea cloak, dnh
- 2001-04-22 02:11 avogl
- [r1020] collected arches
- 2001-04-22 00:53 darth_bob
- [r1018] More small changes, added beholder leader, fixed leaders hp, fiddled with cloaks abit more, dnh
- 2001-04-22 00:14 darth_bob
- [r1016] Cloak of gaea, dnh
- 2001-04-21 23:18 darth_bob
- [r1015] New cloaks and randomized the face of cloak of woe and doom, dnh
- 2001-04-21 13:41 darth_bob
- [r1012] Fixed the skull so it doesn't drop beholder eyes, instead it drops teeth (tooths ;)
- 2001-04-21 07:20 darth_bob
- [r1011] Artifacts, fixed stupid stupid mistake (no more .pngs ;),dnh
- 2001-04-21 06:55 darth_bob
- [r1010] Support for pretty colours plus new cloak (cloak of the magi), dnh
- 2001-04-21 04:26 mwedel
- [r1008] server/monster.c: add check to was_destroyed when monster fires an
arrow. Call was certainly missing, and appears to be responsible for
crash. MSW 2001-04-20
- 2001-04-21 01:22 mardahl
- [r1007] Make the faces of potions look better. Required commenting out
some code is all.
- 2001-04-21 01:16 mardahl
- [r1006] Performance optimization: do not place spare burnouts in maps.
- 2001-04-21 00:31 mwedel
- [r1005] Fix // comment that causes compile to fail on ANSI compliant compilers.
MSW 2001-04-20
- 2001-04-20 15:06 avogl
- [r1004] Collected arches.
- 2001-04-20 12:50 mardahl
- [r1002] Some more face fixes.
- 2001-04-20 11:50 mardahl
- [r1001] More face updates for potions.
Not working, but hey...
- 2001-04-20 11:01 mardahl
- [r1000] Tryinig to have nice faces for artifact potions.
- 2001-04-20 05:39 mwedel
- [r996] server/player.c: Clear op->chosen_skill when we get to the play_again
prompt. Otherwise, the server may try to use this later on, and it
no longer points to a valid object, so it results in a crash.
MSW 2001-04-19
- 2001-04-19 15:40 avogl
- [r995] Fixed a TERRIBLE bug in the god code:
When a player (created under 0.96.0 code) changed gods,
he lost all his experience objects.
That means the character gets screwed completely and
irreversible (except by editing player files).
Puh, thank heavens I found that bug.
--AV
- 2001-04-19 04:37 mwedel
- [r994] server/skill_util.c: Add missing call to out_of_map in skill_attack which
could result in crashes if player is at edge of maps and decides to attack
in direction off map. MSW 2001-04-18
- 2001-04-18 23:25 avogl
- [r993] Removed a 'printf' that served no
good purpose.
--AV
- 2001-04-18 21:24 mardahl
- [r992] At the suggestion of AV, divine shock's level dependence weaked 40-50% or so.
- 2001-04-18 21:04 mardahl
- [r991] Prevent monsters from casting marking rune.
- 2001-04-18 20:17 mardahl
- [r990] Prevent monsters from using Dancing Sword or Animate Weapon:
they're too powerful at the moment.
- 2001-04-18 16:59 avogl
- [r989] Added some docu on how to compile Crossfire
on Windows.
--AV
- 2001-04-18 14:48 avogl
- [r988] The delay-function 'select()' doesn't work on windows.
Hence, winservers are now put to rest with 'Sleep()'.
--AV
- 2001-04-17 05:26 mwedel
- [r984] server/attack.c: Remove error message about golem without owners,
also add better checking before clering the op->contr->golem field.
MSW 2001-04-16
- 2001-04-17 05:13 mwedel
- [r983] common/map.c: set status flag on maps to MAP_SAVING so remove_ob does
not do extra work when we are deleting a map (ie, immediate reset)
from emory.
server/skills.c: If someone is stolen from a player, send an esrv_delete_item
to the client so the clients inventory remains correct.
MSW 2001-04-16
- 2001-04-16 20:29 avogl
- [r981] Collected arches, to get the new
goblin/orc/gnoll faces.
Please always keep arch/ and crossfire/
cvs in sync.
--AV
- 2001-04-16 13:38 darth_bob
- [r980] Added new face image support for the artifact monsters, dnh
- 2001-04-16 07:12 mardahl
- [r977] Rune without magic or attack doesn't need to be owned
- 2001-04-15 06:32 mardahl
- [r974] Misc. tunings, etc., one more artifact.
- 2001-04-13 16:27 avogl
- [r972] collected arches
- 2001-04-13 05:19 mwedel
- [r969] common/re-cmp.c: Modify re_cmp functiion so that it properly matches
strings not at the start 'ie, dude chain will now match against
the chain value'.
MSW 2001-04-12
- 2001-04-13 04:13 mwedel
- [r968] server/monster.c: Properly alter direction monster moves if they are
feared or confused. It was properly altering direction when monsters
were using range attacks, but not if they were just wanting to move.
MSW 2001-04-12
- 2001-04-12 06:03 mwedel
- [r966] common/living.c: Don't use the last_heal object in experience objects as
sp regen penalty. This should fix the problem of inconsistent sp regen
rates - last_heal is used in experience objects if the permanent experience
option is turned on. MSW 2001-04-11
- 2001-04-11 08:39 mardahl
- [r964] Fix the spell of peace (spell_effect)
Change the error level from ERROR to DEBUG (button).
--PeterM
- 2001-04-10 18:23 mardahl
- [r961] Couple of small fixes which *may* prevent crashing.
Things should not have crashed, but here we go anyway.
- 2001-04-10 17:12 elsbernd
- [r960] sync with configure.in
- 2001-04-10 15:11 elsbernd
- [r957] new configure flags --with-ldflags, -with-includes to support extraordinary
header and library files.
Rearange of tests for libm (needed to test before png on some machines)
Propagate CPPFLAGS and LDFLAGS from commandline to configure
- 2001-04-10 15:04 elsbernd
- [r956] Propagate CPPFLAGS and LDFLAGS down to Makefile
- 2001-04-09 06:59 mwedel
- [r955] Main thing this commit does:
Undo MT's last commit, which should not have been checked it at this time.
As that did not fix any bugs, it should wait until after 1.0 (at least
one file also fails to compile)
Fix minor bug in server/player.c which prevent keyring weight from
getting updated when keys are automatically used out of the rings.
move the GETTIMEOFDAY macro to include/global.h so it doesn't have to
be done in both arch.c and time.c
remove some ^M characters from porting.c
MSW 2001-04-08
- 2001-04-09 00:57 michtoen
- [r954] add skill exp
- 2001-04-09 00:57 michtoen
- [r953] fix a small debug log bug with gettime...
- 2001-04-09 00:57 michtoen
- [r952] Add skill exp
- 2001-04-09 00:57 michtoen
- [r951] Add skill exp / fix version warning msg
- 2001-04-08 23:32 mardahl
- [r950] Fixed a wrong loop limit: caused a crash.
- 2001-04-08 05:53 mwedel
- [r949] Update for 0.98.0 - MSW 2001-04-07
- 2001-04-08 05:48 mwedel
- [r948] Update to make sure its up to date for 0.98.0 release.
MSW 2001-04-07
- 2001-04-08 05:18 mwedel
- [r946] server/skills.c: Modify inscription so that when inscribing cleric spells,
it reduces grace. Before, reduced mana no matter the type of spell.
MSW 2001/04/07
- 2001-04-08 02:59 mwedel
- [r945] server/c_object.c: Fix bug in pick_up where it was not using the right
count for picking up objects if the player did not specify one. This
allowed players to put objects into containers that should not really
fit.
MSW 2001-04-07
- 2001-04-08 02:48 darth_bob
- [r944] Fixed my shameful bug that gave away full hp, while only eating 1/100 of a food, dnh
- 2001-04-08 02:37 mwedel
- [r943] server/player.c: Don't let players shoot arrows at themself. Also,
minor changes to use new_draw_info_format.
server/swap.c: If recycle temp maps, don't save out random maps to
get recycled. MSW 2001/04/07
- 2001-04-08 02:27 mwedel
- [r942] Remove ' at end of file left by previous checkins - MSW 2001-04-07
- 2001-04-07 19:44 michtoen
- [r941] insert GETTIMEOFDAY macro
- 2001-04-07 06:26 mardahl
- [r940] PeterM 2001/04/06:
include/libproto.h common/object.c server/apply.c server/spell_util.c
Added a new function: instead of stacking many burnout or firetrail
objects, only 1 per square is added. Real reduction in server overhead.
No reduction in cosmetic effect.
- 2001-04-07 06:04 mardahl
- [r939] This hack prevents burnouts and firetrails from stacking themselves
many deep. I've noted a huge reduction in the number of objects
to be processed from this mod alone, in situatons where a lot
of comets are flying.
PeterM
- 2001-04-07 03:57 michtoen
- [r937] setup cmd: include proto for SetUp() direct
- 2001-04-07 03:57 michtoen
- [r936] setup cmd: change VERSION_CS to 1023
- 2001-04-07 03:57 michtoen
- [r935] include setup cmd
- 2001-04-07 02:43 darth_bob
- [r934] You can now eat food at any time, although if you eat more than you need you waste it, dnh
- 2001-04-07 02:09 mardahl
- [r933] Small mod to make created food grow lighter with level.
- 2001-04-06 23:48 avogl
- [r931] Collected images.
- 2001-04-06 19:08 michtoen
- [r929] win32: change // to /* */
- 2001-04-06 19:07 michtoen
- [r928] win32: change // to /* */ and put autoconfig.h outside win32 area
- 2001-04-06 18:53 michtoen
- [r927] make it binary
- 2001-04-06 06:25 mwedel
- [r926] common/porting.c: Fix compile warnings/bugs introduced by Win32 changes.
server/time.c: Modify move_player_mover so that it determines direction
of the mover and then process accordingly, as well as formatting
changes.
server/c_object.c: modify examine so that it properly shows info about
magic bullet spell books. MSW 2001-04-05
- 2001-04-06 05:25 mwedel
- [r925] server/c_object.c: modify examine so that it properly shows info about
magic bullet spell books. MSW 2001-04-05
- 2001-04-06 00:45 michtoen
- [r924] *** empty log message ***
- 2001-04-05 23:11 michtoen
- [r923] *** empty log message ***
- 2001-04-04 06:52 mwedel
- [r922] common/item.c: Modify identify function to clear the NO_SKILL_IDENT
flag so objects will now merge. Also, once the object has been
identified, the no_skill_ident doesn't have meaning anymore.
MSW 2001-04-03
- 2001-04-02 05:55 mwedel
- [r921] server/c_object: Modify examine command to only be able to examine
valid objects, and not whatever is on top of the space, which may be
insivisible. MSW 2001-04-01
- 2001-04-01 06:20 mardahl
- [r920] Changed fireborn to fire elemental race.
- 2001-03-31 16:56 avogl
- [r915] Collected arches.
- 2001-03-30 07:52 mwedel
- [r910] include/sproto.h, server/c_wiz.c server/main.c server/player.c socket/loop.c:
Modify leave function to take a second parameter that determines if it
should print a message about the player leaving the game or not. Proper
use of this prevents duplicate XXX left the game messages. MSW 2001-03-29
- 2001-03-30 07:27 mwedel
- [r909] common/image.c, include/define.h, include/global.h: Add empty_face structure
and appropriate code to initialize it. This is used for the server side
look selection.
include/newserver.h: Add NUM_LOOK_OBJECTS to control number of look objects
to send at any one time. add look_position field to the newsocket
structure.
server/move.c: clear look position as player moves.
server/player.c: initalize look_position element in structure.
socket/item.c: modify esrv_draw_look to sne NUM_LOOK_OBJECTS at any one
time, and to also send pseudo objects that lets the player scroll up and down.
modify ApplyCmd so that if it detects the application of one pseudo objects
to adjust the look_position.
MSW 2001-03-29
- 2001-03-30 06:14 mwedel
- [r908] common/readable.c: Name spellbooks based on level of spell, and not
just randomly. Patch by Preston Crow, applied by Mark Wedel 2001-03-29
- 2001-03-29 21:32 avogl
- [r907] Collected arches.
- 2001-03-29 07:52 mwedel
- [r905] Add check already done by configure.h so that we do not include
both sys/time.h and time.h if they are not compatible. MSW 2001-03-28
- 2001-03-29 07:46 mwedel
- [r904] configure, configure.in, include/autoconf.h, includes.h: add check for
time.h and include it if we find it.
socket/item.c: esrv_move_object - have it check to see if the object is
already on the ground before we try to re-drop it. Likewise, check
to see if it is already in players inventory before we try to pick
it up.
common/object.c: Don't send face updates to the client or make
the space as needing to be redrawn. Client now deals with animation
of the look window on its own.
MSW 2001/03/28
- 2001-03-29 07:45 mwedel
- [r903] lib/(Makefie.in, checkarch.pl collect.pl xpmtopix.pl) - - deleted
from CVS - '.in' versions of these files now exist and the real
versions are created as part of the configure process. Update
Makefile.in to reflect this change.
MSW 2001/03/28
- 2001-03-29 07:36 mwedel
- [r902] utils/(metaserver.pl crossloop add_throw.perl crossloop.pl) - deleted
from CVS - '.in' versions of these files now exist and the real
versions are created as part of the configure process. Update
utils/Makefile.in to reflect this change.
MSW 2001/03/28
- 2001-03-28 06:37 mardahl
- [r900] removed an int overflow
- 2001-03-23 20:23 mwedel
- [r895] common/object.c: have update_position just update the flag that the
server needs to send the look window to the client and don't send the
item at this point, as sending the look will do that.
server/main.c: process_players1: Remove call to draw (which updates
the client map) - the handle newclient in socket/loop.c already
does this and there is no reason to send multiple instances of the
same map.
MSW 2001/03/23
- 2001-03-23 12:49 avogl
- [r894] recollect images
- 2001-03-23 07:42 mwedel
- [r891] server/c_object.c: drop_object function: send delete item to client as
item is dropped. This fixes a problem of phantom objects in the
inventory. Unrelated change to not call esrv_send_item for objects
that are dropped - esrv_draw_look will get called later on and will
update this at that time. MSW 2001/03/16
- 2001-03-22 06:45 mwedel
- [r890] server/c_object.c: Update the return value for some matches - they
function was returning immediately when it got a match, but did not give
them a high match value, so searching for 'key ring' used to return a
match value of 6 or so on the key ring, but a 14 on a key.
- 2001-03-21 07:51 mwedel
- [r889] Update version date. MSW
- 2001-03-21 07:48 mwedel
- [r888] common/object.c: Modify find_free_spot to call arch_out_of_map so that
it properly deals with multipart objects.
server/main.c: Fix enter_map so that we first use the golem (and not player)
when calling find_free_spot. Also, modify code so that it properly
updates coordinates of the multipart golem.
MSW 2001/03/20
- 2001-03-21 06:14 mwedel
- [r887] server/skills.c: Fix orate so that we check for a positive chance (and just
not nonzero chance) for successful oration. Due to adjustments, at low levels,
the oratory chance can be negative. MSW 2001/03/20
- 2001-03-21 06:03 mwedel
- [r886] server/spell_effect.c: Change cast_change_attr to find an enemy (and not
friend) when casting the curse spell. MSW 2001/03/20
- 2001-03-21 05:36 mwedel
- [r885] server/apply.c: Increase size of buf to be a HUGE_BUF to very
long item names don't cause a stack overflow. MSW 2001/03/20
- 2001-03-21 05:28 mwedel
- [r884] common/object.c: Modify update_position so that we don't show invisible
players to other players. MSW 2001/03/20
- 2001-03-21 05:11 mwedel
- [r883] Remove embedded newling from string constant - causes compile errors on
some systems. MSW 2001-03-20
- 2001-03-20 07:07 mwedel
- [r882] Updates for 0.97.0 release:
archetypes rebuilt (affecting most of the lib files)
Makefile.in modified to include some missing files to release works properly.
Most of the scripts changed because of substitution via configure.
MSW 2001-03-19
- 2001-03-20 05:46 mwedel
- [r880] Fix for crashes caused by golems. Basically, mood floors would
make the golems unfriendly/clear the owner value but not free the
golem pointer in the player structure. MSW 2001-03-19
- 2001-03-19 07:58 mwedel
- [r876] Update date - MSW
- 2001-03-19 07:58 mwedel
- [r875] MSW 2001/03/18:
common/init.c: add RESET_LOCATION_TIME initializer to settings structure.
include/config.h: Add RESET_LOCATION_TIME value. If nonzero and the save was longer than
the specified time in seconds, player will be returned home upon login from
save.
include/global.h: Add reset_loc_time field to settings structure.
server/login.c: Remove some unused variables, add support to return player
home as described above.
server/spell_effect.c: Fix for crashes when casting control undead and your
god does not have an enemy. Now properly check to make sure we are not
dereferencing null pointers.
- 2001-03-17 08:07 mwedel
- [r872] Modified so BACKUP_SAVE_AT_HOME saves at the EMERGENCY_MAP_PATH
and not the first_map_path (which is /Hallofselection). MSW 2001-03-17
- 2001-03-17 05:03 mwedel
- [r871] MSW 2001/03/16:
Change code so that if player dies and loading the players savebed map does
not work, return player to EMERGENCY_MAPPATH instead. New function added
to server/main.c called enter_player_savebed which does the work,
Files changed: include/sproto.h server/main.c server/player.c
server/spell_effect.c (comment added)
Unrelated change: Remove messages about multiple resist types set.
Files changed: common/loader.l common/loader.c
- 2001-03-16 05:45 mwedel
- [r870] MSW 2001/03/15:
server/spell_effect.c: Add physical attacktype when casting holy possession.
Otherwise, characters who use karate end up not being able to damaage
anything.
- 2001-03-15 13:23 avogl
- [r869] collect images
- 2001-03-15 07:10 mwedel
- [r867] Remove extra draw_info command that resulted in 'switched to spell ...'
being printed twice - printing is done at the end of the function.
MSW 2001/03/14
- 2001-03-14 20:16 mardahl
- [r866] Added acknowledgment of the creators of the dg_tiles, of which
we've used some.
Here they are:
David Gervais [david_eg@mail.com]
Mitsuhiro Itakura [ita@gold.koma.jaeri.go.jp]
Hansjoerg Malthaner [hansjoerg.malthaner@danet.de]
M�rten Woxberg [maxmc@telia.com]
(The above four are responsible for much of the cooler single-tile
artwork.)
- 2001-03-14 20:01 mardahl
- [r865] Added credits for the four who contributed the dg_tileset, which
is used by both the standard png set and the alternate set.
- 2001-03-13 19:03 avogl
- [r860] collected images and spelling mistake
--AV
- 2001-03-12 23:10 avogl
- [r853] server/attack.c:
The calculation of magic resistance is seperated
from other attacktypes, thus missed the "floating
point simulation" on low damage values.
Fixed this now so it is accurate for magic as well.
This is very helpful for wizard characters:
so many monsters appeared "immune" to magic because
of the sloppy calculation before.
It will not help monster vs. player since most
monsters use abilities (= spell without magic).
lib/treasures:
Set an appropriate treasure list for chaos wyverns.
--AV
- 2001-03-12 04:55 mwedel
- [r851] archetypes, faces: rebuilt for changes I made to the arch directory.
races: Fix Arch Angel name - it got changed in the arch directory, but not
this file.
MSW 2001-03-11
- 2001-03-11 20:27 mardahl
- [r848] Added a facility to use alternate images.
- 2001-03-11 03:15 avogl
- [r845] Fixed a very old bug about stat potions:
When a player with maxed stats applied a stack
of potions, they got screwed.
The result was stat potions that didn't work
and didn't stack with "normal" potions.
--AV
- 2001-03-10 16:05 avogl
- [r843] collected images
- 2001-03-10 08:27 mwedel
- [r841] MSW 2001/03/09:
crossedit/App.c: Move the loading of images to later in the editor
startup state. In this way, the client can allocate the colors it
needs for its windows before the the png images use up all the colors.
crossedit/png.c: New png loader implementation. New version is much
faster (50 times faster). As part of this, only 8 bit displays,
a private colormap will be allocated, and after that gets filled
up, a color mapping routine will be used - this makes the png
images loadable on an 8 bit system in addition to the speedup.
crossedit/xutil.c: Adding timing information for loading of images.
call init_pngx_loader before starting to load png images. Pass
colormap to png_to_xpixmap by pointer and not value so that
the loader can change the colormap.
- 2001-03-09 00:42 avogl
- [r840] common/button.c:
I enabled a new attribute for altar_triggers: "last_sp 1".
If set, the alter_trigger won't push the connected value
by altar reset. If unset ("last_sp 0"), the altar_trigger will
push both by sacrifice and by reset (like it used to be).
--AV
- 2001-03-07 07:24 mwedel
- [r839] MSW 2001/03/06:
server/spell_effect.c: Fix message when consecration fails - use the ob->name
field and not the ob->title field. Also fix broken logic that checked
for the floor.
server/init.c: Related to 3-4 change which changed the default name of
the logfile to "" so we know to use stderr. This doesn't work for
daemon mode, so if the name is "", we use the default logfile instead.
- 2001-03-05 02:05 mwedel
- [r836] MSW 2001/03/04:
TODO: add re-connecting player to new client if client logs in with
right name/password.
common/init.c: Open up the logfile with the provide filename when given
the -log option.
server/init.c: Make set_logfile a first pass option so the init_library
has the right logfile name to work with.
server/main.c: Fix crash if map has an exit path yet that file does not
exist. Give proper error message.
- 2001-03-03 15:35 avogl
- [r835] Changed the motd to list the correct CF IRC
server: irc.openprojects.net
--AV
- 2001-03-02 07:36 mwedel
- [r834] server/main.c: Modified random_map code so the server will not
crash if the exit object has no message (and thus variables to set
for the random map).
Update version.h just so its easier to see what OS people are running at.
- 2001-03-02 06:02 mwedel
- [r833] MSW 2001/03/01:server/main.c
Modified so that golems move away from player when player
changes map. Values were reversed before, causing the golem to move
towards the player.
- 2001-02-27 03:41 mwedel
- [r829] MSW 2001/02/25: General player login cleanup. This should fix the crash
when players re-roll stats too often. So far, it also seems to
have the additional effect that calculated players on map now appears
to be correct.
common/player.c: No longer allocate the player object structure in
get_player_ob (function is really misnamed). Callers to this function
were not using the allocated function.
server/login.c: Add leave_map call when player is loaded.
server/main.c: Add leave_map function.
server/player.c: Move get_player function to start of file - can declare
it static that way. Move some initialize from add_player to get_player.
Add set_first_map function. Add appropriate calls to leave_map
and set_first_map when players join and leaves the game.
- 2001-02-26 22:56 mardahl
- [r828] Correct a small spelling mistake.
- 2001-02-26 00:06 avogl
- [r827] When a magic_mouth has "food <value>" set, it will
be used up after being triggered <value> times.
But when it is "used up" and is triggered again, the
text is displayed: "there is no message". This is very
annoying and makes the whole thing useless.
Now I patched it so that a "used up" magic_mouth
prints no message when triggered again. It's just
like the magic_mouth would no longer exist.
--AV
- 2001-02-24 09:23 tanner
- [r826] Added code to print out arch types.
- 2001-02-24 09:08 tanner
- [r825] The crossfire server was not being linked with -ggdb3, add LDFLAG to fix that
problem.
- 2001-02-24 09:07 tanner
- [r824] Mark's tool for converting your cvs source trees.
- 2001-02-24 09:06 tanner
- [r823] Change most of the perl scripts to get edited to the magic cookie for perl is
inthe right location.
- 2001-02-24 09:04 tanner
- [r822] Added Mark's HOWTO on converting your CVS tree to sourceforge.
- 2001-02-23 21:05 avogl
- [r821] My first commit to sourceforge.. :-))
Fixing a real nasty bug: When a player dies on
battleground (combat arena), he used to loose 1 luck.
Fixed, but: This luck-penalty still applies for
killing another player with melee outside of an arena.
That is not a bug, it is intended.. However, it is not
really a good way to deal with potential "PKers" IMHO.
- 2001-02-23 19:54 rower
- [r820] Incorrect 'make clean/distclean' behaviour fixed
- 2001-02-23 07:20 mwedel
- [r819] MSW 2001-02-22
Changes so that character is inserted into the map properly at the roll
stat stage. May also fix the crashes.
- 2001-02-23 06:37 mwedel
- [r818] Test to see if mail notification is working now - MSW
- 2001-02-23 06:06 mwedel
- [r817] MSW 2001/02/22:
TODO: Add some items, remove some others, remove outline of future versions,
since it was out of date.
common/loader.l,loader.c: Declare msgbuf a static outside the lex_load function.
lex_load was otherwise clearing it each time it was called, which resulted
in empty messages for the random artifacts (since the call lex_load one
line at a time). Instead, we just zero this at start of load_object.
Original reason of this change was due to purify errors - as I look at the
code, it appears even before these changes that it was clearing the buffer
properly.
common/map.c: removing pending field from map objects.
common/re-cmp.c: Comment out some code which was resulting in too many
false compares.
include/config.h: increase default for MAX_OBJECTS. 6000 is a bit small
on current systems.
include/map.h: Remove pending field from map structure.
random_maps/treasure.c: Increase size of doorlist. Fixes crash, in that
if a random map could place 8 doors around the treasure, the list
was not terminated, so the problem would eventually try to read/dereference
random memory after the array.
server/c_misc.c: Remove pending field from maps, so remove functions
and other places that referred to it (like the maps command)
server/c_wiz.c: fix up wiz map reset command. Not really tested, but
old code had some definate problems just from visual inspection.
server/main.c: Further fix for unique exits - relative paths to unique maps
from non unique maps should now work.
server/monster.c: Various fixes - one is that should get more reliable distance
values for multipart monsters. Second, modify dist_att to calculate from
closest part of monster, and not the head of the monster.
server/pets.c: Remove code dealing with pending objects.
server/player.c: Don't remove invisible objects in players inventory when
playing with permadeath mode.
server/spell_util.c: If you try to cast denied spell, it no longer costs any
spellpoints.
socket/item.c: Fix bug where it was using 'item' protocol command instead of
'item1'
End of MSW 2001/02/22 checkin.
- 2001-02-15 22:36 tanner
- [r815] Smarter get_release code. Can specify version and what you want to get from the
repository.
- 2001-02-15 22:05 tanner
- [r814] Create BININSTALL for several of the perl files to they get installed into
${prefix}/bin instead of ${prefix}/share.
Part of making the building of a server rpm easier.
- 2001-02-15 14:14 avogl
- [r813] Rebuilt arches. New pngs, but only a few from new
artists, no serious change in the general outlook.
I've added a new archetype: "ten_kilo.arc".
This is an arch that only has one purpose: To weight ten
kilos. It is important to have for creator-button mechanisms.
- 2001-02-15 09:47 tanner
- [r811] Changed crossloop to log to a more standard location the /tmp, this is necessary
so that the logrotate script for the server rpm knows where to look for the log
files.
- 2001-02-15 09:46 tanner
- [r810] VERY alpha server spec file for server rpm. Couple of the associate files
necessary to make a nice Linux rpm as well.
get_release is a simple to that will get a cvs snapshot, tar and gzip it up so
it can be used in an rpm build.
- 2001-02-15 09:07 tanner
- [r809] Building crossfire server rpm and I had to hack the perl scripts to get the
"right" location of perl and gzip, so just let autoconf figure it out and make
the changes for me.
- 2001-02-15 09:05 tanner
- [r808] Building crossfire server rpm and I had to hack the perl scripts to get the
"right" location of perl and gzip, so just let autoconf figure it out and make
the changes for me.
- 2001-02-13 07:03 cvs
- [r804] Add attack.h to list of files. MSW 2001-02-12
- 2001-02-13 06:58 cvs
- [r803] Update for 0.96.0 - MSW 2001-02-12
- 2001-02-13 06:54 cvs
- [r801] Update for 0.96.0. MSW 2001-02-12
- 2001-02-13 06:53 cvs
- [r800] add directions for setting up the settings file for metaserver support.
MSW 2001-02-12
- 2001-02-13 06:52 cvs
- [r799] Turn the update of the metaserver off by default. Too many users
fail to configure this properly. MSW 2001-02-12
- 2001-02-13 06:43 cvs
- [r798] Update for 0.96.0. release. MSW 2001-02-12
- 2001-02-13 06:38 cvs
- [r797] Rebuilt images. MSW 2001-02-12
- 2001-02-12 10:23 peterm
- [r794] Rebuilt the images/archetypes.
- 2001-02-12 07:11 cvs
- [r792] MSW 2001/01/11:
include/rproto.h: Rebuilt for new random map code.
server/player.c: remove player insert in key_roll_stat - player is already
inserted.
server/swap.c: When swapping out map, see if it has already reached reset time,
and if so, just delete it and not save it. In flush_old_maps, now have
it check for maps that have no timeout set - this sometimes happens when
players save/die on maps.
- 2001-02-12 00:49 peterm
- [r791] Eased the requirements for gaea priests to get
ironwood skin, insect plague, and wall of thorns
- 2001-02-11 23:20 peterm
- [r789] fixed a problem where doors were not being created in onions.
- 2001-02-11 09:12 cvs
- [r788] MSW 2001/01/11:
Other than various general cleanups, the main change this code does is
that style maps (for random maps) get loaded special now - they objects
they contain are not put on the active list, and they use a private map
list so they do not appear in the output of the 'maps command.
common/arch.c, common/treasure.c,server/login.c: Update calls to load_object
common/loaderl.l,loader.c: Update lex_load to take an optional flags option.
This is currently only used so that the loader can decide if it should
call update_ob_speedto put objects on the active list or not.
Calls to lex_load updated. load_object modified to take another option
common.map.c: remove PROCESS_WHILE_LOADING and CHECK_ACTIVE_MAPS ifdefs.
update calls to load_object. Remove some dead code.
include/config.h: Remove CHECK_ACTIVE_MAPS and PROCESS_WHILE_LOADING flags.
Those options did not work, and in all likelihood, this would be done
via threading now days and not what code was there.
include/libproto.h, sproto.h: updated or various function changes.
include/map.h: Add MAP_STYLE flag.
random_maps/exit.c: Call set_map_timeout after we load the final map
so it will get swapped out.
random_maps/standalone.c: Add dummy set_map_timeout function so it compiles.
random_maps/style.c: Add load_style_map function which does the job of
actually checking to see if a style map is in memory, and if not,
loads it up. Updates the pointers so it appears on a map style map list
and not the general map list.
server/main.c: create set_map_timeout function that deals with setting the
map timeouts. Fix bug so server doesn't crash if two players kill each
other on hall of selection.
server/monster.c remove dead code.
socket/loop.c: If realloc fails, catch it and exit with meaningful
error message.
End of MSW 2001/02/11 checkin.
- 2001-02-11 08:26 peterm
- [r787] Square spiral layouts added to documentation.
- 2001-02-11 08:19 peterm
- [r786] Updated the notes for the current status of random map generator.
- 2001-02-11 08:17 peterm
- [r785] Added a square spiral type of layout.
- 2001-02-10 02:50 peterm
- [r784] Lowered unrealistic expectations on grace limits for handing out
special prayers. I mean, come ON, NO ONE should need 600 grace points
to learn a level 5 prayer!!!!!!
- 2001-02-09 07:30 cvs
- [r783] Fix that would prevent maps from getting swapped out properly - we would
try to swap out a map the player is in the process of leaving - move
swap out code until after we have moved the player to the new map.
MSW 2001-02-08
- 2001-02-09 05:17 peterm
- [r782] Documented the snake layout style.
- 2001-02-09 05:00 peterm
- [r781] Added a snake-like layout. With no symmetry, it's just a progression
back-and-forth.
- 2001-02-07 07:54 cvs
- [r780] MSW 2001/02/06:
common/porting.c: relocate clean_path from this file to server/main.c
server/main.c: relocate clean_path from porting.c. Add unclean_path.
Modify enter_unique_exit so it supports relative maps on unique maps.
Modify enter_exit so word of recall (or other forcelike fields), work
when the return point is a swapped out unique map.
- 2001-02-06 05:56 cvs
- [r779] MSW 2001/02/05:
server/attack.c: Fix blind and paralyze - logic for reducing duration was
broken, resulting in zero duration for most characters. It should now
work properly, reducing according to the amount of protection.
- 2001-02-03 05:30 cvs
- [r778] MSW 2001/02/02:
common/item.c: Don't have armour item types get returned as magical if they
have an armour value - that is to be expected. This eliminates the false
positives that you otherwise get on armor when you cast detect magic.
include/newserver/h: and checksum field to FaceInfo struct. Update
version_sc to 1026.
socket/init.c: calculate image checksums as we load the images.
socket/request.c: If client is at least version_Sc 1026, use face1 protocol
command that includes the checksum.
- 2001-02-02 05:06 peterm
- [r776] Added a bunch of angels to the game.
- 2001-02-02 02:16 peterm
- [r774] fixed a typo
- 2001-02-02 02:12 peterm
- [r773] archangel randomitems added.
- 2001-02-02 01:04 peterm
- [r771] Turned down occurrence of other rings of fighting too
- 2001-02-02 01:03 peterm
- [r770] Turned down the occurrence of Ring of War
- 2001-02-01 06:20 cvs
- [r765] update for various fixex/changes. MSW 2001-01-31
- 2001-02-01 06:18 cvs
- [r764] common/player.c: Use skill tools first (lockpicks, talismans, etc) before
using native skills. In this way, an object with bonus automatically
gets used.
- 2001-02-01 06:18 cvs
- [r763] common/object.c: Fix that that spells cast on spaces with no floors get
set properly after the spell expires.
MSW 2001-01-31
- 2001-02-01 05:35 cvs
- [r762] Fix bug - was using wrong object when the the exit coordinates were out
of the new map. IT ws using the default coordinates from the map the exit
was on, and not the new map.
MSW 2001-01-31
- 2001-02-01 05:02 cvs
- [r761] Fix bug that resulted in higher hp if you had a negative con penalty that
was odd than you should have. Basically, if your con penalty was -3,
you would have more hp than if your con penalty was -2. Now it works
properly.
MSW 2001-01-31
- 2001-02-01 04:09 cvs
- [r760] Fix to make word of recall and other force objects work.
MSW 2001/01/31
- 2001-02-01 02:16 peterm
- [r759] Some minor tweaks on the new rings for fighters.
- 2001-02-01 02:06 peterm
- [r758] New artifact rings:
Thieves: (chance 20)
speed +2
Dex +2
stealth
infravision
Fighting: (chance 32)
Str +1
Con +1
wc +2
dam +2
regen +1
Combat: (chance 16)
Str +1
Con +1
Dex +1
wc +1
magic -1
resist_physical +10
dam +2
regen +1
Strife: (chance 8)
Str +2
Con +2
Dex +2
Wis -1
Int -1
wc +2
dam +3
magic -1
regen +2
ac +1
resist_physical +20
War: (chance 2)
Str +3
Con +3
Dex +3
Wis -1
Int -1
Pow -2
magic -5
speed +4
regen +2
wc +3
resist_physical +30
resist_magic -50
- 2001-01-31 07:54 cvs
- [r756] MSW 2001/01/30:
Complete rewrite of the exit handling code. Hopefully as an effect, this will
fix the player appearing in the middle of the oceans. I think the code
should also work better in many other areas. Main enhancements is a 3x3
area for pets to follow player to new map, as well as golems now following
players to the new maps.
include/sproto.h, random_maps/rproto.h - rebuilt.
random_maps/random_map.c: Change generate_random_map to take a structure
with the random map paremeters.
random_maps/reader.l, reader.c: Add set_random_map_variable function that
reads the map parameters from a char buffer. Also, remove some leftover
comments that were from the common/loader.l file.
random_maps/rogue_layout.c: Change some functions to be static so make proto
doesn't collect them.
random_maps/standalone.c: Add opening of parms file into main function since
it ws removed from the random_map.c file.
server/apply.c: Don't display the message of random maps to the players
as they enter them, as this message is random map parameters, and not
a real message.
server/login.c: #if 0 out using of the player loading element in the structure.
this isn't used right now.
server/main.c: Bulk of the changes. main changes are to break apart the
old enter_exit function into smaller functions that more logically do
the needed function (random maps, unique maps, and transferring the player
to the new map). random map code now passes the parameters via
structure instead of file in /tmp. Code is much more understandable now
and hopefully bugfree.
server/pets.c: minor changes/bugfixes. Search full SIZEOFFREE array, use
real owner variable when print out messages.
server/player.c: Remove usage of the loading variable in the player structure.
End of MSW 2001/01/30 checking.
- 2001-01-31 06:18 peterm
- [r755] Test input for the standalone random map generator.
- 2001-01-31 06:14 avogl
- [r754] Rebuild of archetypes/images. --PeterM
- 2001-01-31 06:03 peterm
- [r753] small mod to gloves of sun
- 2001-01-30 05:06 peterm
- [r751] Counterspell won't wipe out your own spells.
- 2001-01-28 02:29 avogl
- [r750] rebuilt archetypes
- 2001-01-26 07:23 cvs
- [r747] Undo some previous changes - remove players from friendly list, and instead
change get_nearest_player to also look at the player list.
check_wakeup (in monster.c) had to be changed also since it used the
friendly list.
MSW 2001-01-25
- 2001-01-26 01:53 avogl
- [r746] treasures:
Added glovesofsun as relict of gaea.
rest:
revuilt arches
- 2001-01-26 00:59 avogl
- [r744] spell_effect.c:
Modified polymorph spell:
It will no longer bring up items that are
either value=0 or startequip 1.
This shall prevent polymorph handing out the
gods' relicts.
spell_util.c
Modified ball lightning/divine shock:
When this spell is casted by a player,
it will hunt monsters/generators only
(just like it used to).
But when the spell is casted by non-player
(monster/firewall/rune), it will track
players only. This will re-enable
ball lightnings as anti-player weapon in
certain maps.
- 2001-01-25 19:45 mids
- [r743] Fixed the PNG images of paladin and flint_and_steel
- 2001-01-24 23:28 avogl
- [r741] Fixed a whitespace problem in the treasurelists.
Hey, it really caused an errormessage in crossedit.
- 2001-01-24 07:19 peterm
- [r738] Removed ironwood skin from wands and scrolls.
- 2001-01-24 05:01 cvs
- [r737] MSW 2001/01/23:
Various cleanups/fixes as detected by purify:
common/anim.c: animation[0] was given a null pointer as the name, but
bsearch/or comparison function will try to de-reference it.
Give it a unique name.
common/loader.l: msgbuf was being used initialized in the main loading
function. loader.c also regenerated.
common/object.c: find_free functions were not checking to see if the
spaces they were examining were out of the map. Added checks
to do so.
server/apply.c: buf was being used initialized in the function.
socket/init.c: input buffer needs to be initialized as we do a
strncasecmp against the buffer which may not have any data in it.
- 2001-01-23 22:35 peterm
- [r736] Made divine shock take more time to gain duration.
- 2001-01-23 22:28 peterm
- [r735] Remove divine shock from spell books
- 2001-01-23 06:16 peterm
- [r734] Improved the porting to HP-UX.
- 2001-01-21 16:31 avogl
- [r733] recollected for new pngs.
- 2001-01-20 00:57 avogl
- [r731] recollected pngs
- 2001-01-19 07:43 cvs
- [r728] MSW 2001/01/18:
server/skill_util.c: add change_skill_to_skill function to be used when
we already know the skill object we want to use. This is more efficient
than change_skill which takes a skill number and then searches the
inventory for the object.
remove extra esrv_send_item from do_skill_attack - don't need to send
skills to player.
do_skill_attack: remove call to hth_damage - that function does not take
into account objects in the player inventory that increase damage,
and since that is called each attack, it is not feasible to have it
search the players inventory. Instead, we just rely on damage generated
by fix_player - only think hth_damage did was adjust damage based on
level difference.
- 2001-01-19 05:43 cvs
- [r727] Fix to prevent crashes when players die. Don't assume all friendly objects
are golems - check for player type. MSW 2001-01-18
- 2001-01-19 03:52 avogl
- [r726] recollected pngs
- 2001-01-18 04:30 avogl
- [r724] peterm using avogl's account:
updated arches for skree
- 2001-01-17 06:15 cvs
- [r723] Changes to fix monsters not attacking players. Player was not getting
marked as friendly, and thus getting removed from the list.
server/login.c: set FLAG_FRIENDLY when we load the player and call
add_friendly_object.
server/player.c: add_player: set FLAG_FRIENDLY. get_nearest_player
modified to discard non friendly objects on friendly list - makes
bug reprocible much more easily.
MSW 2001-1-16
- 2001-01-17 04:14 peterm
- [r722] skree added.
- 2001-01-16 22:19 pjka
- [r720] passwd length atmost 16 chars
- 2001-01-16 08:32 peterm
- [r719] A little documentation about the new roguelike layout.
- 2001-01-16 08:24 peterm
- [r718] random map roguelike layout added
- 2001-01-16 08:20 peterm
- [r717] Installed nethack-style maps
- 2001-01-16 07:46 peterm
- [r716] New layout style "nethack" or "rogue" like.
- 2001-01-16 00:23 avogl
- [r714] new pngs
- 2001-01-15 23:49 cvs
- [r712] MSW 2000/01/15:
Change blindness and paralyze so that duration is reduced based on protection
the player has. file server/attack.c
- 2001-01-15 22:33 cvs
- [r711] MSW 2000/01/15:
Various fixes for friendly object code:
common/button.c: Add missing call to remove_friendly_object
common/friend.c: Pretty much completely re-written. add_friendly_object now
checks to make sure the object being added isn't already on the list,
remove_friendly_object will remove objects whose tags don't match,
and added clean_friendly_list.
common/object.c: No reason to use the function pointer to
remove_friendly_object since that function is in the lib.
common/time.c: Make DEBUG_TIME always on (no longer compile time option).
other areas use the global var pticks, so if it was turned off, compile
would break anyways.
common/treasuer.c: No longer print debug messages on artifacts created.
Cluttered log file making it hard to see more important errors.
include/config.h: Remove DEBUG_TIME define.
include/libproto.h: Rebuilt for clean_friendly_list function.
server/main.c: rewrote do_specials to do things based on pticks variable.
This allows various specials to be spread out across multiple ticks
easier. Also, added clean_friendly_function to part of what this does.
server/skills.c: add missing call to remove_friendly_object. Also, removed
from #if 0 .. #else .. #endif code.
End of MSW 2000/01/15 checkin.
- 2001-01-15 16:25 avogl
- [r710] pngs rebuilt
- 2001-01-15 12:05 avogl
- [r707] Collected the new pngs.
- 2001-01-15 07:11 cvs
- [r705] check friendly list for freed objects and remove them when we find
them. This should hopefully fix the cause of the
"BUG: get_attack_mode(): freed object" error messages. This is an
infrequent and not easily reprocible error message, so I can not be sure
this will fix all those error messages, but the code at least looks correct.
MSW 2000-1-14
- 2001-01-12 12:32 pjka
- [r701] You could crash server with an overly long name. Name can now be at max 31 chars long.
- 2001-01-12 08:25 peterm
- [r700] Fixed a lack of "break" in a switch statement.
- 2001-01-12 07:49 peterm
- [r699] A more cautious insertion of the lights.
- 2001-01-12 07:22 cvs
- [r698] Change query we send to player after each race description so popup is
accurate. Plus, with long descriptions, putting in directions is probably
useful in any case. MSW 2000-1-11
- 2001-01-12 07:00 peterm
- [r697] Fixed lighting bug.
- 2001-01-12 05:38 peterm
- [r696] forked lightning for sorig
- 2001-01-12 02:28 avogl
- [r693] New pics and animation for earth shield.
- 2001-01-12 01:08 avogl
- [r691] rebuild archetypes
- 2001-01-11 23:50 avogl
- [r688] New pngs by MichToen and AndreasV.
- 2001-01-11 21:08 avogl
- [r686] Testing a new png.
- 2001-01-11 09:37 pjka
- [r685] Magic ear wouldn't hear what You say, if a NPC heard You first. Fixed.
- 2001-01-11 08:38 peterm
- [r684] Some comments on the hacks I did.
- 2001-01-11 08:36 peterm
- [r683] Added the light of valriel to the gods randomitems.
- 2001-01-11 06:37 peterm
- [r681] Some changes allowing Ruggilli's immolation ability to be
inserted on conversion and withdrawn on reconversion.
- 2001-01-11 04:53 peterm
- [r676] Implemented Wrathful Eye and gave it to Valriel.
- 2001-01-10 16:27 avogl
- [r675] New pic for elemental ring by dnh.
- 2001-01-10 16:19 avogl
- [r673] When players placed on a non-existent map (like a
randommap) connected to the game, they used to
be placed on the starting map (hallofselection).
Terrible bug! I changed it so that players get
placed on their home-savebed instead, where they
belong in such a case.
Still, some better modus for re-connecting to
randommaps would be nice.
- 2001-01-09 23:50 avogl
- [r672] Fixed a terrible bug about special prayers:
Players always lost ALL spells on god-intervention!
That happened due to several bugs in the new
god functions.
Well, after this patch it should work as intended.
- 2001-01-09 07:58 peterm
- [r668] Synced the current state of the gods spells handing out better
with dnh's plan.
- 2001-01-09 07:49 peterm
- [r667] Some changes having to do with the new God code.
- 2001-01-08 21:33 avogl
- [r662] Figured out that the "wraparound bug" for players
attacking damage was client sided (silly me, grumble).
The true living.dam - variable is of type "sint16",
so I threw out my previous patch on living.c again.
Soo... please someone fix this client-bug for the
unix-clients.
- 2001-01-08 20:39 avogl
- [r661] Resistance to confusion used to have NO effect
unless one had 100%. To improve this, I made
the duration of the confusion-effect dependant
on resistance.
For confusion resist. 0% the old duration is
in effect. Vulnerbility lenghtens duration.
- 2001-01-08 20:33 avogl
- [r660] archetypes:
Some minor balancing stuff to demilich, baslic
and drake.
treasures:
Added a treasurelist for drake, containing
bodyparts.
- 2001-01-08 20:31 avogl
- [r659] Fixed the wraparound-bug for players' damage.
The attacking damage will now max out at 127 and
NOT go into negative values.
- 2001-01-07 18:46 avogl
- [r654] Modified the gods treasurelists:
- Weapon enchantment does not require any grace-limits
anymore. The max. amount of wc bonus is dependant on
the player's wisdom-lvl anyways.
Hence, getting attacktype and slaying on weapons is now
accessible for non-priest players as well.
- Put a remove_curse ability to sorig, gorokh and ruggilli.
Devourers remains the only god without any ability to
remove curses/damnation. Lack of any remove_curse doesn't
make too much sense, since players can use a second character.
- 2001-01-06 23:33 avogl
- [r652] Re-synchronized server with arch dir.
Someone (author 'cvs') has messed them up a little
by committing files collected from a non-up-to-date
arch dir.
Please always run cvs update before adding and
committing changes from your local cvs-tree.
- 2001-01-01 23:09 avogl
- [r645] Minor adjustments to the chance of a god-intervention
to happen. It was a tick too low for low/medium-level
priests.
- 2001-01-01 23:06 avogl
- [r644] This is the centerpiece of the new scheme of gods.
Please read the gods' treasurelists to understand
it entirely. Alternatively you can read my comments
on cf-devel.
I based my work on dnh's god-pantheon. I tried to
provide a new god-system that works in the first place.
It is not meant to be the "final" version.
Discussion, modifications and enhancements are welcomed!
--AndreasV
- 2001-01-01 23:00 avogl
- [r643] Fixed a bug that prevented god-properties like
hp/spell/grace-regeneration and sustenance
to be inherited by players joining a cult.
- 2000-12-30 14:15 avogl
- [r641] Rebuild archetypes, seems to be neccessary for new god-intervention.
Anyways, arch and server should be synchronized.
- 2000-12-27 07:53 cvs
- [r640] MSW 2000/12/26:
Checkin of Jan's new god intervention code. I haven't played around with
it much, but I haven't seen any really obvious problems.
common/living.c: remove learn_prayer_chance
common/treasure.c: Various changes to treasure generation - mostly to
deal with starting equipment and putting it in the inventory.
doc/crossfire.doc: Update docs on god intervention.
include/define.h: GT_... flags removed.
include/treasure.h: GT_... flags added. Addition flags added from
what was in define.h before.
lib/archetypes, lib/crossfire.png, lib/treasures: Updated with new
archetypes and treasures.
random_maps/standalone.c,server/rune.c,server/time.c: Calls to
create_treasure updated
server/apply.c: New functions for god intervention added, update calls
to create_treasure, other god related changes.
server/c_wiz.c: Calls to create_treasure updated, various functions to
allow DM's to learn/unlearn spells added.
server/commands.c: Various commands added to the wiz set of commands.
See commen for c_wiz.c
server/disease.c: Changes to reduce_symptoms
server/gods.c: Numerous updates for god intervention code.
server/player.c: Modifications for starting player equipment.
server/skill_util.c: Display the god the character worships when they
issue the skills command.
server/skills.c: Minor cosmetic change made to message when praying on altar.
server/spell_effect.c: Changes related to gods, cure spells, and
generation of treasures & items.
End of MSW 2000/12/26 checkin.
- 2000-12-24 21:16 cvs
- [r636] MSW 2000-12-24:
Same fix as was done for client - was not using return value
after realloc of pixels, and continued to use small buffer. For the
editor, this may not have been an issue, as the load order of images
for the editor is predictable, and the first image may have allocated
the largest buffer needed.
- 2000-12-24 01:48 cvs
- [r634] MSW 2000/12/23:
include/define.h: Add SIZEOFFREE1 and SIZEOFFREE2 values to use instead of
arbitrary constants in the code.
server/monster.c: change communicate function to use above values. Before
it was stopping one short of the full 2 space array, so one particular
space (-1, -2 relative to player) would not hear players speech.
- 2000-12-24 01:12 cvs
- [r633] MSW 2000/12/23:
server/attack.c: Don't exit hit_player function if damage is reduced to 0
in magical attacks. This was preventing face of death and probably a lot
of effect only spells from working.
server/spell_util.c: modify check_cone_push to use move_object to blow
the objects. Before, multisquare monsters were getting sliced
into their individual components - move_object deals with multisquare objects
properly.
- 2000-12-24 00:05 cvs
- [r631] Update to use crossfire.real-time.com as the metaserver.
MSW 2000-12-23
- 2000-12-21 16:43 avogl
- [r630] Wrong flag in save_player(), caused the saving-attempt
to fail.
- 2000-12-20 20:29 avogl
- [r628] I intended to clean up the character-creation process
and thus changed the initial starting place from
"/city/city" to "/HallOfSelection", like it should be.
I hope this will not cause unwanted side-effects.
I really did my best to test it and prevent any bugs
caused by this change. If you still discover some
weirdness that might be related to this change, please
lemme know. -AV
- 2000-12-20 18:32 peterm
- [r626] *** empty log message ***
- 2000-12-19 06:54 peterm
- [r624] Re-inserted the Spell of Conflict
fixed a bug in attack.c
- 2000-12-18 17:43 avogl
- [r622] player.c:
Hopefully fixed a bug related to dying on
battleground.
spell_effect.c:
The spell "word of recall" will now point to
the players's last-applied savebed.
This will make players more independant from
Scorn.
- 2000-12-18 08:00 cvs
- [r621] File will now compile if XPM is not installed. MSW 2000/12/17
- 2000-12-18 07:41 cvs
- [r620] Add new file. MSW
- 2000-12-18 07:38 cvs
- [r619] MSW 2000/12/17: Various changes. Note that the scope of files in this checkin
make it appear that a lot was changed, but in fact it was mostly just
re-orginization - very little code has actually changed.
include/autoconf.h.in: Add HAVE_LIBDES to file.
include/config.h: Remove comments after defines for MAP_MIN/MAX timeouts.
This just removes some warnings during compile. comments are now
on lines by themselves.
include/player.h: remove shootstrength for player structure. It was unused.
server/Makefile.in: remove input.c file, add c_range.c file.
server/c_chat.c: remove command_last, add command_shout and command_tell
from input.c to this file. Also fix bug in command tell which
would let players crash server at will.
server/c_misc.c,server/c_object.c: Relocate many functions
from input.c into these files.
server/c_move.c, server/c_new.c: Add standard crossfire banner comment.
server/c_range.c: New file - contains range related commands,
including spell casting (relocated from input.c)
server/c_wiz.c: move command_invisible from input.c into this file.
server/commands.c: Remove unused commands (bell, last, strength)
server/input.c: removed file.
server/main.c: Change HAVE_DES_H to HAVE_LIBDES
server/player.c: When choosing a race, draw it facing south for best
presentation of image.
server/spell_util.c: Remove dead code (#if 0 shootstrength related
code)
socket/loop.c: remove unused variables.
NOTE: Due to the addition/removal of files, you will need to do
'config.status; make depend; make' from the top level directory for
everything to be compiled properly.
End of MSW 2000/12/17 checkin.
- 2000-12-18 06:58 peterm
- [r618] *** empty log message ***
- 2000-12-18 06:15 peterm
- [r617] Fixes for random maps:
1) Spirals won't dump you into walls anymore
2) endless loop bug fixed
PeterM
- 2000-12-18 02:45 peterm
- [r616] Fix for the class stat-max-bug, where certain classes would
exceed their racial maxima. Now an extra stat beyond the
racial max is reassigned to some other non-CHA stat randomly.
PM
- 2000-12-18 01:46 peterm
- [r615] Multiple skills of the same sort will now eventually join.
- 2000-12-17 15:24 avogl
- [r613] animations:
archetypes:
New race-description msg
treasures:
class alchemist has spell "alchemy" per
default now. I consider this a must.
- 2000-12-17 07:26 cvs
- [r610] More fixes. I think this should fix the error on accept calls.
Old code also had a problem with freeing freed data, which my test
programs died on. There was also some code which had no real
effect that I removed.
MSW 2000/12/16
- 2000-12-17 00:39 cvs
- [r609] MSW 2000/12/16:
server/player.c: If the player race archetype has a message, print that out.
This allows a descriptive message about what the different races will
get. The message is removed from the player once they decide on the
race.
common/living.c: Add some parens around some PR resistant checks - eliminates
warnings from gcc.
server/disease.c: have cure_disease remove all diseases a player is infected
with. The code suggested it was attempting to do so, and the
messages it printed out certainly suggested that the character
was disease free.
- 2000-12-16 23:32 avogl
- [r608] gods.c:
Fixed a problem concerning PR: The god's
immunities must not always be transferred to
the players joining the cult. For example:
Sorig has elec +100%, but the player shall only
get +30%.
player.c:
Small mod, to make the new mini-playguides not
startequip 1. So players can keep them and
even pass them around.
- 2000-12-16 23:28 avogl
- [r607] Inserted the new mini-playguides into the
player classes' treasurelist.
- 2000-12-16 23:08 avogl
- [r606] rebuild arches
- 2000-12-16 04:34 cvs
- [r601] MSW 2000/12/15:
Remove some file vestiges from crossedit/png.c - it does everything in memory,
but a few file referances were not removed.
- 2000-12-16 02:44 peterm
- [r600] Improved tracking for poison fog.
- 2000-12-16 02:34 peterm
- [r599] Initial implementation of poison cloud.
- 2000-12-15 21:29 peterm
- [r597] Fixed an abuse of containers with too much value
- 2000-12-15 20:23 peterm
- [r596] Fixed some code which caused an unnecessary server exit.
move_apply CAN recurse many times when the code is operating properly.
For example, in a room full of rune_summon_water.
a rune is triggerd. 5 water elementals appear and land on neighboring
runes. they go off. each summons 5 more elementals, etcetera.
The recursion ends naturally and correctly when all the runes are consumed.
PeterM
- 2000-12-15 15:42 avogl
- [r594] server/attack.c:
Acid will only corrode equipment while the player has
less than 50% acid resist.
Note that acid corrosion makes players feel *very* unappy
since there is no way to reverse the process yet.
Outcommented the deathstrike-debug message. It used to
spam the log like crazy.
server/spell_util.c:
server/time.c:
Patch for spell/missile reflecting:
The "reflect spell/missile" flag does no longer provide
living creatures with perfect immunity to projectiles.
There is a missing chance of: 10% + level of projectile / 10
This does apply for all kinds of magic bullets/missiles,
arrows, bolts and thrown objects.
Smite spells and bolt spells are not affected, they will
always bounce off.
server/spell_effect.c:
Done some more cleaning and adjusting for the protection
spells. E.g. it is no longer possible to have both a god's
blessing and a holy possession in effect.
Also removed is the ability to add holy bless/poss. effects
of more than one god to a char.
- 2000-12-15 15:38 avogl
- [r593] Numerous adjustments to the random-artifacts
concerning PR.
- 2000-12-15 15:37 avogl
- [r592] Patch for spell/missile reflecting:
function reflwall() changed
- 2000-12-15 15:36 avogl
- [r591] Player chars that cannot wear armour (like quetzal and
fireborn) gain in addition to ac a small amount of
armour (= resist_physical) per level. A maxed out char
(level 110) will get 80% armour.
This is not too much, but at least a little help.
- 2000-12-15 10:26 peterm
- [r589] spirals for random maps
- 2000-12-15 10:25 peterm
- [r588] A few little refinements.
- 2000-12-15 10:06 peterm
- [r587] Implemented a new sort of random map: the spiral.
- 2000-12-15 10:05 peterm
- [r586] Documented a new type of layout for random maps: "spiral".
- 2000-12-15 03:09 peterm
- [r585] PeterM: Fixed up random map code. Used a lot of global variables
for stuff. Always meant to fix it and just got 'round to it.
- 2000-12-14 03:52 avogl
- [r582] PR-patch by AndreasV:
Main features of this patch:
o Negative resistances are calculated in a "logical" way.
For example: +30 and -30 makes a total of zero.
o Vulnerabilities work as "caps" for protection. E.g.:
While wearing one item with fire -20, you cannot get more
than fire +80 overall from equipment.
If one is forced to live with high vulnerability
(like wraith: fire -30), you can still use a potion to go
beyond the cap.
o Potions work completely different than before. The so-called
"immunity-potions" grant an absolute value of 90% protection
(independant from the players's equipment and properties),
there are also very rare ones with 95% and cheap ones with 50%.
If the player has already got more protection than the potion
provides, drinking it won't have any effect.
o Cursed potions are working now (have been broken before).
They give a temporare vulnerability, but can be overriden
by uncursed potions of the same res.-type.
o Protection spells work different than potions. Their effect
does add to the player's equipment. The amount of protection
granted depends on the caster's skill level and path
attunes (if a related spellpath exists). The maximum a player
can get is currently 60% (at wisdom lvl 107 & path_attuned).
o When the player's state of resistance changes, a new kind
of message shows up: The percentage of the new resistance
is displayed: e.g. "You resistance to fire rises to 67%".
o When a player got hit by dam<1 it used to be zero. To make
the calculations more accurate, for 0<dam<1 I "simulate"
a floating point value-effect now. Example: If the correct
damage value would be 0.4, there is 40% chance for dam=1, else
dam=0. For 0.7, ther'd be 70% chance for dam=1... etc.
Without that feature, there would most of the times be no
difference between resistance 95 and 100.
- 2000-12-13 07:08 cvs
- [r581] Possible fix for errors if client connect/disconnect to quickly.
- 2000-12-11 08:34 peterm
- [r578] Modifed these two files to use "has_been_loaded" on map loading instead
of using load_original_map. Cuts down on map clutter.
- 2000-12-11 06:41 cvs
- [r576] utils/metaserver.pl: Various improvements. Main one is that tcp
connections to port 13326 of the metaserver will dump the information
in a easily parsable format for the client or other applications.
include/config.h: Set ARCHTABLE size to correct value.
- 2000-12-11 03:59 cvs
- [r575] MSW 2000/12/10:
include/config.h: Set ARCHTABLE size to correct value.
server/player.c: Have server send update item to client for players face
while select class. Added esrv_new_player in Roll_Again, because
without it, the client had yet to receive information on what tag
the player was so could not make sense of the updated face.
server/spell_effect.c: Balance issues for polymorph. Reduce maximum
value for high valued objects, remove ability to polymorph generators,
put maximum level on polymorphed monsters and give them saving
throws against the effects.
- 2000-12-10 01:31 avogl
- [r574] Rebuilt arches to include the new Giant Worm.
- 2000-12-10 01:24 avogl
- [r573] Added treasurelist "giant worm"
- 2000-12-09 23:56 peterm
- [r570] Most forces will just refresh and not reinforce when cast multiple
times, excpt armour.
- 2000-12-09 22:39 peterm
- [r569] Activated the vitriol splash spell, which was previously
inactivated.
- 2000-12-09 21:31 avogl
- [r567] Set #define ARCHTABLE 5003
This should fix troubles that arose from
the growing number of arches. Note that 5003 is prime
as it should be.
- 2000-12-06 07:40 cvs
- [r566] MSW 2000/12/5:
server/player.c: Move location of where it sets the player has_hit variable
until after we have confirmed that the player has actually attacked a monster
and not that the space is blocked. Fixes various problems and make
behaviour more predictable.
- 2000-12-06 06:06 cvs
- [r565] MSW 2000/12/5:
common/button.c: Do not set path_attuned when loading connected objects from w!
the editor. This is normally done for random map code/glue logic.
common/player.c: When trying to find a skill to use, use a native skill
first before going off and returning a skill object like a talisman.
- 2000-12-06 06:02 cvs
- [r564] MSW 2000/12/5
Do not set path_attuned when loading connected objects from within
the editor. This is normally done for random map code/glue logic.
- 2000-12-05 04:56 cvs
- [r563] MSW 2000/12/4:
common/treasure.c: Make it so resistances from artifact files are absolute
adjustments.
Makefile.in configure configure.in: Fix check for libdes to see if des_crypt
exists in libdes before setting HAVE_LIBDES
crossedit/Makefile.in: Add Cnv/libCnv.a before LIBS - should fix
linking error on irix systems.
utils/metaserver.pl: modified so it ignores entries from hosts that
report their name as put.your.hostname.here
- 2000-12-05 04:14 peterm
- [r562] *** empty log message ***
- 2000-12-05 02:43 cvs
- [r561] Adding file that doesn't seem to have gotten committed. MSW 2000/12/4
- 2000-12-04 07:36 cvs
- [r558] MSW 2000/12/3:
crossedit/Attr.c: Add the new resist names to set of variables one can set (PR change)
- 2000-12-04 07:19 cvs
- [r555] MSW 2000/12/3:
Misc changes. Main one is adding PNG support to the editor.
TODO: Remove outdated things to do (like partial resistance code)
configure, configure.in, include/autoconf.h.in: Add check for libpng.
include/global.h: Remove displaymodes - moved to crossedit/Defines.h
crossedit/App.c, crossedit/App.h crossedit/CrEdit.c crossedit/CrFace.c
crossedit/CrList.c crossedit/CrUtil.c crossedit/Edit.c crossedit/crossedit.c
crossedit/xutil.c, crossedit/png.c (new file): Add support for png display
in crossedit.
crossedit/Makefile.in: Add png.c file.
server/c_misc.c: Change who command to only display real players, and not
players in process of connecting/unconnecting. Also, remove code to display
old sockets, since those are not supported anymore.
- 2000-12-04 00:40 cvs
- [r553] Checking for partial resistance code. Various minor errors also fixed
(compiler warnings, unused variables, Makefile.in changes, etc).
PR code also includes support to send protections to the client.
- 2000-11-29 07:02 cvs
- [r550] Updated for version 0.95.8.
- 2000-11-29 06:31 cvs
- [r549] Remove the maps from being included in the archive release.
MSW 2000-11-28
- 2000-11-26 22:40 cvs
- [r547] MSW 2000/11/26:
utils/metaserver.pl (added), utils/Makefile.in: Add metaserver.pl script.
- 2000-11-26 08:30 peterm
- [r546] increased the spellpoint cost of several spells
- 2000-11-26 07:46 peterm
- [r544] Added dnh, who is doing the gods rebalancing stuff and other stuff.
- 2000-11-26 07:20 peterm
- [r543] "hunger -1" message changed to "sustenance -1"
- 2000-11-26 04:56 cvs
- [r542] MSW 2000/11/25:
include/patchlevel.h (removed), doc/spell-docs/Makefile (removed),
include/Makefile.in, include/version.h, server/init.c, server/main.c,
socket/metaserver.c: remove patchlevel.h - include the patchlevel in the
version.h file, update other files to use version as a single string.
- 2000-11-26 03:48 cvs
- [r541] MSW 2000/11/25:
socket/metaserver.c: If on FreeBSD systems, do not attempt to connect to
the metaserve. FreeBSD seems to have a problem using sendto on a connected
soccket.
- 2000-11-26 02:03 cvs
- [r540] MSW 2000/11/25:
configure.in, configure, include/autoconf.h.in, server/main.c: Update
to check for libdes.a and des.h and use those for password decryption - fixes
a problem on freebsd if it is using md5 crypt. Hopefully it doesn't break
anything. main.c was also checking for HAVE_CRYPT_H too early.
include/sproto.h: Needed updating. Unrelated to above changes.
- 2000-11-26 01:54 cvs
- [r539] MSW 2000/11/25:
configure.in, configure, include/autoconf.h.in, server/main.c: Update
to check for libdes.a and des.h and use those for password decryption - fixes
a problem on freebsd if it is using md5 crypt. Hopefully it doesn't break
anything.
include/sproto.h: Needed updating. Unrelated to above changes.
- 2000-11-25 22:09 mids
- [r538] Added the option "make distclean" in all the Makefile.in
- 2000-11-24 21:18 mids
- [r537] Added defined(__FreeBSD__) || defined(__OpenBSD__) so setsockopt can use
REUSEADDR on these operating systems
- 2000-11-24 20:57 avogl
- [r536] rebuilt arches for new graphics to take effect
- 2000-11-24 16:55 pjka
- [r533] lib/settings was not included into the tar in 'make archive'
- 2000-11-24 01:16 peterm
- [r531] Commented out all the FLAG_BERSERK stuff.
Attempt to add FLAG_BERSERK properly failed, so do this for now.
- 2000-11-24 00:48 peterm
- [r530] Found a bug where splints would hit something and then be
freed, and then another free/remove attempt would crash the
server.
I'm uncertain of the original cause of this bug.
- 2000-11-23 13:35 avogl
- [r529] rebuilt archetypes for new pngs to take effect
- 2000-11-23 07:32 cvs
- [r526] MSW 2000/11/22
server/main.c: Modify enter_exit so that it properly uses per player
unique maps that are only in memory and not on disk. Remove unused
variable from process events (unrelated change).
- 2000-11-21 21:52 peterm
- [r524] Fix so that poisoning kills go into the right place.
PM
- 2000-11-21 18:58 peterm
- [r522] Repaired the poison cloud spell.
- 2000-11-20 04:24 peterm
- [r520] Turn off bookchance for ironwood skin.
- 2000-11-20 02:43 avogl
- [r519] PeterM�s personal motd won`t reach the official release.
I replaced it with sth reasonable.
- 2000-11-20 01:38 peterm
- [r518] Rebuilt the archetypes after updating arch.
- 2000-11-20 01:07 peterm
- [r517] Notes on new prayers added.
- 2000-11-20 00:59 peterm
- [r516] New spells added:
conflict
vitriol
ironwood skin.
- 2000-11-19 15:03 avogl
- [r514] Updating the arches, for the new pngs and
the new spell-types.
--AndreasV
- 2000-11-19 07:34 peterm
- [r513] peterm: Implementation of:
1) sanctuary
2) holy rage
3) peace
4) forked lightning
5) flaming aura
6) spiderweb
- 2000-11-19 07:33 peterm
- [r512] PeterM: Implementation of:
1) sanctuary
2) holy rage
3) peace
4) forked lightning
5) flaming aura
6) spiderweb
- 2000-11-18 23:19 peterm
- [r506] PeterM: some repairs to sanctuary and flaming aura.
- 2000-11-18 04:27 cvs
- [r505] MSW 2000/11/17:
socket/metaserver.c: More changes - use fcntl to set O_NONBLOCK. Don't
close socket if connect fails, since with sendto it is not required
that the connect works.
- 2000-11-18 03:32 peterm
- [r504] 10 new spells skeleton added to spellist.h and spells.h:
SP_SANCTUARY, SP_PEACE, SP_SPIDERWEB SP_CONFLICT, SP_RAGE,
SP_FORKED_LIGHTING SP_POISON_FOG, SP_FLAME_AURA,
SP_VITRIOL
Of these, SP_SANCTUARY and SP_FLAME_AURA are partially
implemented. These two require archetypes yet.
- 2000-11-17 18:54 peterm
- [r503] Comment on windstorm spell.
- 2000-11-17 11:16 peterm
- [r500] New spell added, Windstorm.
It pushes objects, mostly, and does a little damage.
define.h: NROFREALSPELLS++
spellist.h spells.h: "windstorm"
archetypes: new arch added for windstorm
disease.c: comment on new title parameter.
spell_effect.c, sproto.h spell*.c: implmenetation of windstorm.
- 2000-11-17 05:07 cvs
- [r498] MSW: 2000/11/16:
socket/metaserver.c: Add #ifdef MSG_DONTWAIT into metaserver.c for systems
that lack that definition.
random_maps/style.c: alphasort was not properly de-referencing pointers
when doing name comparisons, and thus returned garbage results,
resulting in a crash when entering random maps. This only happens
for systems which lack scandir in normal libraries (like Solaris).
BSDs and linux have scandir built in, and did not have a problem.
server/disease.c: fix infect_object - server would crash if player did
not have praying skill and was infecting someone else.
end of changes, MSW 2000/11/16
- 2000-11-15 02:57 peterm
- [r497] PeterM: Forked lightnig code committed.
not activated yet though: requires parameters set in the archetype.
- 2000-11-15 00:11 peterm
- [r496] Rebuilt arches to reflect new immolation objects.
- 2000-11-14 22:50 avogl
- [r494] New savebed-respawn feature:
After death players wake up on the last-applied bed of
reality (instead of scorn center).
Default for starting players (and old player-files) is
scorn center, until they apply their first savebed.
--AndreasV
- 2000-11-14 22:47 avogl
- [r493] New savebed-respawn feature:
After death players wake up on the last-applied bed of
reality (instead of scorn center).
player.h: Added three variables to the player struct to
hold the position of last savebed.
--AndreasV
- 2000-11-14 08:52 peterm
- [r490] Message on new stuff.
- 2000-11-14 08:37 peterm
- [r488] PeterM: Made some changes so that non-disease effects may be done without
being labelled as a disease. Also, fixed a bug in which we'd kill something
and then try to insert something in the killed thing's map.
- 2000-11-14 07:35 cvs
- [r487] metaserver update:
common/init.c: Add meta_ fields to settings structure initialization.
include/global.h: Add meta_ fields to settings structure.
include/sockproto.h: Updated for new meta_ functions.
lib/Makefile.in: Have it install settings file.
lib/settings: Default settings file with some metaserver default value.s
server/init.c: Add load_settings file. Add call to metaserver_init.
server/main.c: Add call to metaserver_update in do_specials.
socket/Makefile.in: Add metaserver.c to list of files.
socket/metaserver.c: File that deals with metaserver related data.
socket/item.c: Remove some unused variables. Unrelated to metaserver changes.
socket/loop.c: Add calls to metaserver_update in block_until_new)connection. Change
function so that if there are no active players, it still timeouts and
does metaserver update. Basically changed to do it the way the
WATCHDOG code did it.
End of metaserver update. MSW 2000-11-13
- 2000-11-12 01:11 avogl
- [r485] Completed the set of chess-figures, so that people can play chess
on crossfire. Read my logs to the arch-changes.
--AndreasV
- 2000-11-09 07:25 cvs
- [r481] server/player.c: removed unused tmp2 variable from move_player_attack.
modify depletion in kill_player so the maximum depletion for a stat is -50. This
should preven stat wrapping from -126 to 127. MSW 2000-11-08
- 2000-11-08 21:47 cater
- [r480] *** empty log message ***
- 2000-11-08 21:07 peterm
- [r479] A test, more than anything else.
- 2000-11-08 20:17 avogl
- [r478] The new battleground-feature:
I have created a place where friendly players can battle
each other without having to fear death. The defeated player
will be teleported to a special location (the first-aide station).
No exp nor stats loss. Moreover, exp-draining doesn't work inside
the arena, acid won't harm the equipment.
To make things easier, peaceful mode is ignored in the arena.
--AndreasV
- 2000-11-08 20:15 avogl
- [r477] The new battleground-feature:
I have created a place where friendly players can battle
each other without having to fear death. The defeated player
will be teleported to a special location (the first-aide station).
No exp nor stats loss. Moreover, exp-draining doesn't work inside
the arena, acid won't harm the equipment.
To make things easier, peaceful mode is ignored in the arena.
--AndreasV
- 2000-11-08 07:19 cvs
- [r475] MSW 2000-11-07
common/item.c: query_base_name was not return plural version of items
with 'of' in name. Also, much of the function was not using safe_strcat,
which could result in buffer overlow problems.
common/object.c: Change update_position so that we always generate
3 images per space. This fixes players standing on top of dragon transports,
but generally works for things like monsters standing on objects.
insert_ob_in_map: change 'return' statement to 'return NULL'. Also
remove unused map pointer.
decrease_ob_nr: Fix bug for client updates when player drops item that
is then consume. It was using op->above after object was removed to
find the player. Store above pointer before we remove the object.
socket/item.c: Don't terminate pointer as returned by query_base_name -
instead, terminator buffer after we copy it. For simple object,
query_base_name may directly return a pointer to the objects name
which is only long enough to hold the name itself.
socket/lowlevel.c: Abort if we are trying to send the client a packet
longer than supported by the protocol. Since that buffer is static,
overflowing it will just create memory corruption - easier to stop
then than try and debug it later.
End of MSW checkin 2000-11-7
- 2000-11-07 00:43 peterm
- [r474] Fix of crash and improvement to move_ball_lightning. --PeterM
- 2000-11-06 23:06 jec
- [r473] * stop_item() / attack fix patch 2000-11-06
- 2000-11-04 06:40 cvs
- [r472] server/time.c: Add call to esrv_update_item to update the face for
the client after the player chooses a class. MSW 11/3/2000
- 2000-11-03 05:56 cvs
- [r470] urp - forgot to include this file in the checkin:
server/c_object.c, socket/item.c: Fixed for long item support. pick_up_object
in c_object was overwriting a fixed length string, causing server crashes.
item.c was not properly terminating plural version of object name, resulting
in corrupt packets being sent to the client. MSW 11/2/2000
- 2000-11-03 05:42 cvs
- [r469] server/c_object.c, socket/item.c: Fixed for long item support. pick_up_object
in c_object was overwriting a fixed length string, causing server crashes.
item.c was not properly terminating plural version of object name, resulting
in corrupt packets being sent to the client. MSW 11/2/2000
- 2000-11-02 12:47 pjka
- [r468] Crossedit now does a graceful exit(0); if no libXpm and FONTNAME==""
- 2000-11-02 00:28 avogl
- [r466] Inserted my new sorcerer pics. --AndreasV
- 2000-10-31 22:11 peterm
- [r462] Make sure ball lightning is IN the map before we hit
things with it. Bugfix on advice from jec.
- 2000-10-31 12:04 peterm
- [r461] Limit the number of log messages about "object x not having a name when
it attacks" to one per object which tries to attack.
Makes logs..... smaller!
- 2000-10-31 11:43 peterm
- [r458] Another fine-tuning of the ball lightning tracking. Ball lightning
can randomly solve "my direct path is blocked" problems.
- 2000-10-31 10:01 peterm
- [r457] Spiked shield added.
- 2000-10-31 08:40 peterm
- [r456] Weakened divine shock until it is about as strong as small fireball
at low level. It climbs in power pretty quick though.
- 2000-10-31 04:57 peterm
- [r455] Comments on new spell divine shock and
on ball lightning changes.
- 2000-10-31 04:53 peterm
- [r454] PeterM:
Divine shock spell added.
- 2000-10-31 04:53 peterm
- [r453] PeterM:
some mods to ball lightning:
1) MUCH better target tracking
2) Hits neighboring squares at 1/2 damage
Divine shock spell added. Like ball lightning except
has AT_GODPOWER.
- 2000-10-30 22:09 jec
- [r451] include/sproto.h: Removed prototype of obsolete make_gravestone()
function.
server/apply.c: Put back gravestone_text() function that was removed
accidently a while ago, needed by NOT_PERMADEATH.
server/player.c: Don't use the dead player as the originator of object
movements. Fixed string handling for NOT_PERMADEATH.
- 2000-10-29 22:52 peterm
- [r450] Updated archetypes/images.
- 2000-10-29 06:20 peterm
- [r446] Made mithril chainmail 5x more rare.
- 2000-10-25 06:46 peterm
- [r442] new images and archetypes for bows.
- 2000-10-25 06:44 peterm
- [r441] Added the new bow types.
- 2000-10-24 23:01 mids
- [r437] dnh's god aligned weapon patch. Weapons can only get the specials of one god.
- 2000-10-23 18:13 peterm
- [r436] Fix for dumb crashing bug I made. --PeterM
- 2000-10-22 14:27 avogl
- [r435] Startequip items could be put into containers and transferred to
other players that way. This is now fixed.
--AndreasV
- 2000-10-22 13:38 avogl
- [r434] Humbly added my name to the developers.
--AndreasV
- 2000-10-21 20:12 peterm
- [r431] Symptoms will no longer add their attacktype to the player
or victim.
- 2000-10-20 20:46 peterm
- [r429] Fix from AV for crashing bug on map creation New.
Also, put in player changers.
- 2000-10-20 19:39 peterm
- [r428] Moderated summoned creatures power for monsters. Players and monsters
are unbalanced in HP: a player cannot cope with a fast, high-wc, high
dam monster nearly so well as a monster with 32000hp.
- 2000-10-20 19:19 peterm
- [r427] Moderated instant-death for players who cast too negative a prayer.
- 2000-10-20 08:11 peterm
- [r426] Added CAUSE_COLD to spell_util.
- 2000-10-20 07:57 peterm
- [r425] Fix archname for cold_disease..
- 2000-10-20 06:39 peterm
- [r422] New spell and modified spell paramters.
- 2000-10-20 06:34 peterm
- [r420] Fixed some bugs with summoned creatures speed.
- 2000-10-19 08:34 peterm
- [r419] New images added.
- 2000-10-19 08:20 peterm
- [r417] Very broken code having to do with luck and attacking/being hit.
Disabled it for now by setting luck to 0 in this code.
--PeterM
- 2000-10-19 08:06 peterm
- [r416] Added a scroll of melee weapons.
- 2000-10-18 20:00 peterm
- [r413] Map.c was NOT changed.
item.c was changed to use op->slaying for spellbooks.
- 2000-10-18 01:02 peterm
- [r411] Patches from A. Vogl:
keycode for fire resistance potion.
Recipe for making cloak of minor protection.
Re-Enable serpent balm.
- 2000-10-18 00:57 peterm
- [r410] Stat potions shall no longer show up in shops.
- 2000-10-16 19:45 peterm
- [r408] Comments an all the race/class changes.
- 2000-10-16 19:41 peterm
- [r407] New stuff for classes installed.
- 2000-10-16 19:26 peterm
- [r405] define.h: defines added for playerchangers and class types
base 10 numbers added for the spell paths.
spellist.h: fixed up summoning spells a little
sproto.h: new prototypes
config.h: hate RECYCLE_TMP_MAPS, turned it off
--PeterM
- 2000-10-16 19:22 peterm
- [r404] living.c: cleric fail chance array modified.
map.c: bugfix for random map/recycle tmp map problem.
- 2000-10-16 19:19 peterm
- [r403] Major race/class change by PeterM:
BEGIN:
*****************
apply.c: new function, apply changes to player. If the change is a CLASS,
player receives certain attributes from the class.
login.c: make sure people using the old race/class archetypes in their
player files can still use them.
player.c:
1) give_initial_items modified for greater flexibility: you
can pass in a treasurelist.
2) Also, initial forces are applied to the player.
3) Comment added on the stat roll function.
4) Word of recall into the new class-choice map (unfortunately hard-wired.) for newly-rolled players.
5) gen_sp and gen_hp and gen_grace now allowed to go negative to slow down player
regen.
skill_util.c
1) Don't give out basic skills anymore. This interferes with the class code.
spell_util.c
1) Praying failures moderated in frequency.
2) Summoned creatures enhanced in wc, speed, depending on casting level.
3) Word of recall allowed to work in no-magic areas if a flag is set.
time.c
1) Move player changer function added.
2) Marker object expiration added.
END race/class stuff 10/16/2000
***************************
- 2000-10-12 18:10 peterm
- [r398] Patch from AV which makes poison attack savethrows depend
on the level difference between the attacker and victim.
--PeterM
- 2000-10-12 17:59 peterm
- [r397] described the random map bugfix.
- 2000-10-12 17:17 peterm
- [r396] Fixes for RECYCLE_TMP_MAPS + random maps crashing interaction.
--PeterM
- 2000-10-05 23:35 peterm
- [r393] PeterM: 1) Diseases moderated in power by ~1/2 and randomized.
Now monsters can have a mild/moderate/serious/fatal case
of a particular disease.
2) cause disease spells modified to NOT go through objects
spells ordinarily couldn't go through.
- 2000-10-05 23:25 peterm
- [r392] PeterM:
1) Diseases moderated in power by ~1/2 and randomized.
Now monsters can have a mild/moderate/serious/fatal case
of a particular disease.
2) cause disease spells modified to NOT go through objects
spells ordinarily couldn't go through.
- 2000-10-05 18:42 peterm
- [r391] Fix for crashing bug discovered by avogl.
Put in a check preventing a division by zero.
- 2000-09-27 00:50 peterm
- [r388] Implemented levitation skill.
- 2000-09-27 00:50 peterm
- [r387] Created a levitation skill for fireborn. They were always supposed
to be flying creatures. And flying creatures should be able to
control whether they levitate or not.
- 2000-09-27 00:48 peterm
- [r386] Rebuilt collected stuff.
- 2000-09-26 23:55 peterm
- [r385] No need to cp -r maps.
- 2000-09-21 06:36 cvs
- [r382] README: Add crossfire.csua.berkeley.edu server.
TODO: Remove entry about setable behaviour for keyrings, since that has now
been done.
include/patchlevel.h, Makefile.in: Update for 0.95.7 MSW 9/20/2000
- 2000-08-25 06:23 cvs
- [r376] common/living.c, server/skill_util.c: Patches by Garth Denley:
Fixes divide by zero crash, sets up perm exp when a new player is loaded,
seperates permanent exp code/calculations into another function.
checked in by MSW, 8/24/2000
- 2000-08-24 06:37 cvs
- [r374] lib/crossfire.png: ground/sea*png - remove transperancies from png images
since they should not be transparent. MSW 8/23/2000
- 2000-08-09 05:36 cvs
- [r370] doc/spoiler.html/(Makefile.in,empty.pbm, makeps.pl, spoiler.html): Modify
to make gif images from png source instead of xpm images. A valid question
to ask is why convert to gif at all and not just keep in PNG format. The
answer right now is that png support in netscape at least still is not very
good, and it displays gifs better. MSW 8/8/2000
- 2000-08-08 06:57 cvs
- [r369] Add/Remove some LOG calls:
common/living.c: Remove log messages about gen_sp values on armor
server/login.c, server/main.c: Add messages about player logins/logouts with
IP address. Useful for tracking potentially troublesome players and where
they are player from. MSW 8/7/2000
- 2000-08-07 05:28 cvs
- [r368] Replace wrong date for last checking just done. MSW
- 2000-08-07 05:16 cvs
- [r366] The following change basically does the following: When the server sends an
item name to the client, this item name is now two pieces - the first piece
of the name is its singular form, the second piece is the plural name. This
now makes items in the inventory appear more proper in terms of pluralization
and just normal English. I did notice that the server does not know how
to properly make 'torch' plural - it turns it into torchs. A matching
check in for the client has also been done.
include/newserver.h: Update VERSION_SC to 1024
common/item.c: Change query_base_name to take a second option on whether
we should generate a plural version of the name or not.
socket/item.c: Modify functions to use second argument on the query_base_name
function. Update item commands to send two part names (singular & plural).
Modify esrv_send_look to use item1 protocol command instead of item command.
server/c_object.c: Update item_matched_string to use second option to
query_base_name. Modify function to check against both singular and
plural versions of name.
server/shop.c: Modify shop_listing command usage in query_basename to use
second option. It will also generate the singular name, but that is only
used on sorting, so I don't think it will generally cause any problems.
include/libproto.h: rebuilt because query_base_name has an addition opt.
Mark Wedel 8/13/2000
- 2000-08-02 06:04 cvs
- [r365] include/config.h, include/global.h, common/init.c, common/living.c,
server/init.c, server/player.c, server/skill_util.c: Add permanent
experience and balanced stat loss features (code by Garth Denley).
Permanent experience make some experience in the skills permanent. Balance
stat loss makes stat loss less likely/costly at low level and more costly
at higher levels. These features are by default off, but can be turned
on either in the config.h file or via command line options. Code checked
in by MSW 8/1/2000
- 2000-07-28 07:10 cvs
- [r364] server/time.c: Update the change_object function such that if the object
is in a players inventory, send a delete & send_item for the object that
has changed (the delete + send_item is necessary due to the ways objects
change, so we just can't sent a update_item). This fixes the 'torches
go dim & then out but client inventory not updated' bug, and likely fixes
some other problems - I am not sure how many other objects out there
change. MSW 7/28/2000
- 2000-07-26 18:27 peterm
- [r363] Crashing bug fixed. This crash should actually not have come up;
it was a result of an illegal wall style.
Long ago I had fixed the archetypes to prevent this problem, but
it got, uh, "unfixed." --PeterM
- 2000-07-26 06:25 cvs
- [r362] lib/adm/map_info, lib/adm/map_check: Update to use new layout of installed
files (share/crossfire), know about random exits (it doesn't do any checking
to make sure the values are sane, which it probably should, but at least it
won't complain about them), update to use /usr/bin/perl. MSW 7/25/2000
- 2000-07-20 06:45 peterm
- [r360] Resureection spells changed.
- 2000-07-20 03:56 peterm
- [r359] Some minor corrections of unintended stuff in resurrection code.
- 2000-06-28 06:19 cvs
- [r358] lib/archetypes: Update to keep in sync with arch tree. Changes to
about a dozen arch's to remove the 'a' in their name. MSW 6/27/2000
- 2000-06-28 04:53 cvs
- [r356] server/c_object.c: Fix command_drop which was doing incorrect check for
invisible object - it was supposed to skip over them and only do visible
objects, instead it was doing the reverse. Fixes the 'drop command.
MSW 6/27/2000
server/input.c: Make the inventory command more robust for very long
object names - specify a maximum number of characters we will take from
the name. Without this, you could get buffer overruns that cause crashes.
No normally generated items would ever likely have names long enough to
exploit this bug however. MSW 6/27/2000
- 2000-06-28 04:23 cvs
- [r355] INSTALL, README: Update mailing address to real-time address. MSW 6/27/2000
server/login.c: Load and save usekeys value in player save file. MSW 6/27/2000
- 2000-06-27 03:34 cvs
- [r354] Patch by Jeffry Hantin which fixes glow objects in map.
insert_ob_in_map_simple now will call the appropriate light updating code.
Applied by MSW 6/26/2000
- 2000-06-27 03:29 cvs
- [r353] Updated for futt.org CVS mirror site - MSW 6/26/2000
- 2000-06-23 09:55 jec
- [r352] server/player.c: check_pick(): Rewrite of this function to consistently
skip items that can't be picked up, and to only use a single loop over all
items on the map square.
- 2000-06-22 06:58 cvs
- [r351] Update with new mailing list information. MSW 6/21/2000
- 2000-06-22 05:56 cvs
- [r350] server/monster.c: Patch by Neil Muller so that corrupt/bad @match entries
will not cause the server to crash. Applied by MSW 6/21/2000
- 2000-06-22 04:58 cvs
- [r349] lib/archetypes: rebuilt for 0.95.6
lib/collect.pl: Modify to search the archetypes directories in alphabetical
order - before I believe they were collected in basically inode order.
This should make it easier to multiple people to run the collect script
not have basically an entirely new archetyeps file. MSW 6/21/2000
- 2000-06-21 09:34 jec
- [r348] server/commands.c; server/c_object.c: dump_object_from_tag(): Removed
broken command. Fixes server crashes very easily triggered by players.
server/attack.c: deathstrike_player(): Check for def_lev == 0 very early
(and print error message if we find such an invalid level). Should fix
server crash in case archetypes or maps get broken again in that an
alive object has level < 1.
- 2000-06-21 05:03 cvs
- [r347] Makefile.in: Update version to 0.95.6
include/patchlevel.h: Update to .6 for 0.95.6 release
common/porting.c, include/config.h, include/loader.h, include/skills.h,
include/spells.h, include/treasure.h, include/version.h, random_maps/style.c:
Update my mail address and copyright date. Mostly committed to sync
up my data with the CVS repository - MSW 6/20/2000
- 2000-06-21 04:54 peterm
- [r346] Fixed a problem in treasure.c which would cause an infinite loop.
Added two new special-exit types to special.c --PeterM
- 2000-06-20 07:33 peterm
- [r339] random_maps/treasure.c server/apply.c: made containers able to
have more than one treasure in them, made a fix to treasure.c, which would
change the options given to it in an unintended way. --PeterM 6/20/2000
- 2000-06-19 12:23 jec
- [r338] common/living.c: fix_player(): Bugfix: Don't reset FLAG_FLYING,
FLAG_REFL_SPELL, FLAG_REFL_MISSILE and FLAG_SEE_IN_DARK if the archetype
has these flags.
- 2000-06-19 01:56 cvs
- [r337] Modifed the map editor so converters would be easier to edit. --PeterM
- 2000-06-19 01:51 cvs
- [r336] Log messages.
- 2000-06-19 01:34 cvs
- [r335] Lots of work done on random maps.
decor.c: tiling option added. (Fill the whole map).
monster.c: copy inventory
exit.c: preserved connectedness
random_map.c: new function for wrting map params
floor.c: fix a crashing bug if there's no floor
rproto.h: prototypes
treasure.c: fix a crashing bug with treasurestyle map
special.c: added a new type of special, an exit to a goldroom. --PeterM
- 2000-06-19 00:42 cvs
- [r334] common/button.c: I needed to use a field to store 'connected' values
so I could copy sections of one map into another and have connectedness
preserved. --PeterM
lib/treasures: new treasure type "random_coin" for a style map. --PeterM
- 2000-06-19 00:34 cvs
- [r333] fixed a conflict.
- 2000-06-18 22:35 jec
- [r332] server/input.c: command_cast_spell(): Bugfix: Call check_skill_to_fire()
even for wizards because this function has the important side effect
of setting the current skill and experience objects.
- 2000-06-18 20:09 jec
- [r331] server/apply.c: apply_treasure(): Bugfix: We need to trigger runes as
they are found in the treasure chest, because move_rune() will no longer
trigger them for us.
- 2000-06-18 02:24 cvs
- [r330] Applied a fix from Neil Muller which makes it impossible to
identify fountains using the Alch skill. --PeterM
- 2000-06-17 21:56 cvs
- [r329] Changed the naming scheme for random maps so they won't
grow indefinitely.
- 2000-06-17 04:58 cvs
- [r327] Updated the INSTALL directions - change --libdir to --datadir. MSW 6/16/2000
- 2000-06-17 00:11 cvs
- [r326] *** empty log message ***
- 2000-06-17 00:10 cvs
- [r325] A few improvements: extra fields for certain
objects such as creators for easier editing.
- 2000-06-16 06:50 cvs
- [r324] Updated doc on magical walls.
- 2000-06-16 06:48 cvs
- [r323] Comment on wall change I did.
- 2000-06-16 06:08 cvs
- [r322] Modified how firewalls worked. Now they can be triggered with handles.
- 2000-06-16 06:06 cvs
- [r321] Modified how firewalls worked. Can now trigger them with handles.
- 2000-06-16 05:57 tanner
- [r320] MANSUFFIX = 6, but the Makefile wants to install into $(mandir)/man1, this
causes man not to find the manpage. Change MAN1 = $(mandir)/man6 tp MAN =
$(mandir)/man6.
- 2000-06-14 07:07 cvs
- [r319] exit.c: won't crash if named final_map doesn't exist
room_gen_onion.c: reordered the options more sanely
special.c: fixed a crash-bug: nuke_map would nuke parts of monsters, but
not the whole monster.
- 2000-06-14 04:04 cvs
- [r318] server/skill_util.c: Fix type in change_skill - was doing an == operation
when it should just have been an =. MSW 6/13/2000
- 2000-06-14 03:57 cvs
- [r317] common/anim.c: animation_object() - return if object does not have a valid
animation after logging error. Before, we logged the error and would
promptly crash. MSW 6/13/2000
- 2000-06-13 20:55 jec
- [r316] server/apply.c: apply_treasure(): Bugfix: Set FLAG_NO_APPLY before
moving object to the top.
- 2000-06-13 16:58 jec
- [r315] server/time.c: move_marker(): Bugfix: Call update_ob_speed() after
changing force->speed.
- 2000-06-13 13:30 jec
- [r314] server/spell_util.c: move_swarm_spell(): Improved distribution of
fired objects. Fixed starting position of fired objects to be able to
hit targets immediately in front the caster. - Patch by Jeffrey Hantin.
- 2000-06-09 17:42 cvs
- [r312] Stuff I done. --PeterM
- 2000-06-09 12:01 jec
- [r311] common/loader.l: Fix handling of objects with no animation. Fixes server
crash if object's archetype has an animation, but object doesn't.
common/loader.l: get_ob_diff(): Bugfix: Issue a "is_animated 0" line
if the object has an animation, but doesn't have FLAG_ANIMATE.
server/apply.c: manual_apply() and monster_apply_special(): Don't check
for FLAG_UNPAID if object is applied. This should make the code more
robust if an unpaid item get's applied accidently.
server/apply.c: apply_special(): New optional flags AP_NO_MERGE and
AP_IGNORE_CURSE.
server/monster.c: find_mon_throw_ob(); server/skills.c: find_throw_ob():
Bugfix: Use AP_NO_MERGE flag to prevent unapplied object be merged with
other objects.
server/spell_effect.c: animate_weapon: Bugfixes: Correctly unapply
weapon. Don't set FLAG_APPLIED directly on weapon in golem, but use
apply_special(). Don't call esrv_send_item() when caster is not a player
(fixes server crash if monster casts this spell).
- 2000-06-09 09:28 cvs
- [r310] Fix which gives monsters their treasures/abilities in "final maps"
PeterM
- 2000-06-09 00:21 cvs
- [r309] Contributed code for disease fixes.
- 2000-06-09 00:17 cvs
- [r308] Various improvements from jhantin@derringer.net:
* fixed reversed strstr() calls
* added a 'force' argument to infect_object(): if set, skip disease wc
roll
* pulled disease susceptibility checking out into its own function
* diseases in an immune carrier last forever
* diseased needles use infect_object() with the force flag set
* cast_cause_disease() sets the force flag so it always catches on the
first try
* NDI_UNIQUE on "You infect %s with %s!" only if you infect a player
- 2000-06-08 16:08 jec
- [r306] common/button.c: do_mood_floor(): Bugfixes: Only players can have pets.
Call add_friendly_object() for friendly monsters.
server/spell_effect.c and server/spell_util.c: Several functions: Only
add a pet if there really is a pet's owner, and it's a player.
server/spell_effect.c: cast_charm() and cast_charm_undead(): Bugfixes:
Only players can cast these spells. This fixes server crash if
a monster casted a charm spell, and the charmed pet was killed.
Call add_friendly_object for friendly monsters.
common/friend.c: remove_friendly_object(): Use llevError for error
messages.
common/living.c: fix_player(); server/gods.c: tailor_god_spell();
server/spell_effect.c: summon_avatar() and animate_weapon(): Bugfix: Set
a string to NULL after calling free_string(). This fixes a nasty bug
that caused the string's reference count drop below 0, which resulted
in corruption of malloc()'s internal data structures (and possibly
server crashes).
server/time.c: move_creator(): Bugfix: Call free_string() to free old
values of op->name and op->title before overwriting them with new values.
common/object.c: insert_ob_in_map_simple() and insert_ob_in_map():
Check that we don't insert freed objects.
server/attack.c: hit_player_attacktype() and hit_player(): Bugfix: Check
that find_god() really found a god, and that 'god->slaying' is not NULL.
Fixes crash if a monster casted turn undead and actually hit something.
server/attack.c: hit_player(): Check that a pet's owner is a player.
Prevents server crashes if a monster has a pet monster due to a bug
somewhere. Use llevError for error message.
server/time.c: move_arrow(): Use llevDebug level for "Arrow had no
map" message.
server/c_object.c, server/spell_effect.c, server/spell_util.c: Bugfixes:
Added some missing checks for destroyed objects. Use was_destroyed()
or return value of insert_ob_in_map() to check for destroyed objects,
not FLAG_FREED or FLAG_REMOVED. Don't use op->count of destroyed objects.
server/shop.c: get_payment2(): Type of tag is 'tag_t', not 'long'.
server/spell_effect.c: animate_bomb(): Fix environment checks.
server/spell_util.c: fire_bolt(): Bugfix: Set level of bolt.
server/spell_util.c: explosion(): Bugfix: Set FLAG_NO_APPLY before
moving the exploding object to the top.
server/spell_util.c: put_a_monster(): First create the monster
completely, then just insert its head.
server/time.c: generate_monster(): Bugfix: Don't free generators that
are used up in this function. process_object() already does this.
This fixes steambolt (which is a generator but must not used up here -
generate_monster() wasn't looking at FLAG_IS_USED_UP) and all generators
which should really be used up (because process_object() didn't expect
generate_monster() to destroy the object).
- 2000-06-08 00:34 cvs
- [r305] Fixed a problem in monster.c which would lead to crashes due to multipart
objects not being done right.
- 2000-06-07 23:46 jec
- [r304] server/rune.c: trap_disarm(): Bugfix: Use SK_level() to determine
disarmer's level. Fixes server crash if multisquare monster casts
"disarm".
server/attack.c: hit_map(): Use was_destroyed() to properly check for
destroyed next object. Use llevError for error messages. Skip all
objects that are (no longer) at the specified map position.
- 2000-06-07 17:48 cvs
- [r303] Added an option to do wall-only onions.
- 2000-06-06 07:09 cvs
- [r302] Minor mods to random map generator code: increases in buffer size,
style == none allowed for wall.c.
- 2000-06-06 07:08 cvs
- [r301] Increased size of map path.
- 2000-06-06 07:05 cvs
- [r300] Increased buffer size for map paths.
- 2000-06-06 07:04 cvs
- [r299] Minor mod restricting race.
- 2000-06-06 07:03 cvs
- [r298] Patch to marker so that we can replace old marks.
- 2000-06-05 19:02 peterm
- [r297] New archetypes included.
- 2000-06-05 00:26 cvs
- [r296] Comments on stuff I've done.
- 2000-06-04 23:23 cvs
- [r293] Re-enabled the spells. I modified the code and the arcs
to make things more reasonable.
- 2000-06-04 22:27 cvs
- [r292] Nother mod.
- 2000-06-04 22:26 cvs
- [r291] Updated disease doc.
- 2000-06-04 22:26 cvs
- [r290] Modified disease to allow self-limiting in generations.
If armour > 0, wc (contageousness) is reduced by armour every
time someone new is infected.
- 2000-06-04 21:18 cvs
- [r289] Fix for experience to go into the appropriate category.
- 2000-06-03 07:01 cvs
- [r287] lib/crossfire.png: Some floors modified to no longer have transperencies.
include/newserver.h: Add Send_Face_Png made, also update versions of
the protocol
include/newclient.h: Add CF_FACE_PNG constant.
socket/request.c: Add support for receiving PNG facemode request,
ad final logic to send png images to the client.
Changes by Mark Wedel, 6/2/2000
- 2000-06-02 08:42 cvs
- [r285] I modified spellist.h to disable the contageous deadly disease spells.
Idunno what happened to reader.c?
- 2000-05-29 16:31 jec
- [r282] lib/checkarch.pl: Check for archetypes with type FIRECHEST but no level.
- Jan Echternach 5/29/2000
server/apply.c: move_apply(): Added handling of THROWN_OBJ, CANCELLATION
and BALL_LIGHTNING.
server/spell_effect.c: cancellation(): Traverse inventory of objects
with type THROWN_OBJ.
- Jan Echternach 5/29/2000
server/player.c: fire_bow() and server_skills.c: do_throw(): Bugfix: Don't
use op->count of freed objects. Use was_destroyed() to check for freed
objects instead of QUERY_FLAG (FLAG_FREED). - Jan Echternach 5/29/2000
server/spell_util.c: fire_a_ball(): Bugfixes: Use op->other_arch as
the archetype to fire, not FBULLET. (-> Firechests now cast fire balls
again, not snowballs.) Set level of fired archetype. Check if object
was destroyed after insert_ob_in_map(). - Jan Echternach 5/29/2000
server/time.c: move_firewall() and move_firechest(): Do nothing if
object has no map. Fixes server crashes if a dm creates such a thing
in the inventory. - Jan Echternach 5/29/2000
- 2000-05-29 05:19 cvs
- [r281] lib/collect.pl: Modify so that it does not complain about png files in the
arch directory MSW 5/28/2000
- 2000-05-27 07:09 cvs
- [r280] Add missing name to last description.
- 2000-05-27 07:08 cvs
- [r279] common/item.c: Fix query_short_name - wasn't generating all item names
properly because of changes made a few days ago - some areas manipulate
the string being worked on and was not updating the length properly.
- 2000-05-27 06:24 cvs
- [r278] doc/mapguide: Fix some typos. MSW 5/26/2000
- 2000-05-27 06:02 cvs
- [r277] include/define.h: Add MIN_ACTIVE_SPEED value to determine what threshold
something will be put on the active list or not instead of using
varying values throughout the source code.
common/item.c, common/object.c, server/monster.c, server/pets.c,
server/spell_effect.c: Updated to use the MIN_ACTIVE_SPEED instead of
hardcoded values. MSW 5/26/2000
- 2000-05-27 05:42 cvs
- [r276] include/define.h,include/global.h, common/image.c: Remove following old
face information: INV_*_FACES, BLOCKED_FACE, STIPPLE[12]_FACE. This
is just a general cleanup - the server has not used these since the
X11 code was pulled from the server. MSW 5/26/2000
- 2000-05-27 05:23 cvs
- [r275] common/living.c: Add entries for the attack type AT_INTERNAL in description.
include/material.h: Update to include saves against INTERNAL attacktype.
include/living.h: Remove defunct objects_saves external referance.
The additions of internal to the tables should not really be needed, as
internal attacktypes should not be used publically, but these also act as
placeholders for future attacktypes. MSW 5/26/2000
- 2000-05-26 12:36 jec
- [r274] * server/attack.c: hit_map(), hit_player(); server/spell_effect.c:
move_cone(); server/rune.c: spring_trap(); server/spell_util.c:
move_missile(): Bugfix: Added missing was_destroyed() calls.
* server/rune.c: spring_trap(): Bugfix: Call trap_show() before the rune
has a chance to be destroyed.
* server/attack.c: hit_map(), hit_player(): Check for freed objects
right at the beginning of the function. Removed check that hitter has
a name from hit_player().
* server/spell_util.c: move_cone(): Bugfix: Remove cone objects in
inventories from active list, this fixes the cone without map problem when
a flower was hit with ice and put into an icecube.
* server/spell_util.c: move_missile(): Bugfix: Don't call hit_map() while
missile is removed from the map.
* server/apply.c: manual_apply(): Handle MMISSILE.
- 2000-05-26 11:05 jec
- [r273] * server/spell_effect.c: animate_weapon() and server/spell_util.c:
summon_monster(): Bugfix: Set FLAG_FRIENDLY for friendly objects.
- 2000-05-26 10:14 jec
- [r272] * server/attack.c: hit_player(): Bugfix: remove_friendly_object()
was called always after an object with type GOLEM had been killed,
but friendly objects are objects with FLAG_FRIENDLY, not objects with
type GOLEM. This fixes some "Remove_friendly_object(): Can't find
object" errors.
- 2000-05-26 09:50 jec
- [r271] * apply() cleanup patch 26/5/2000
- 2000-05-26 09:40 jec
- [r269] * apply() cleanup patch 26/5/2000
- 2000-05-24 10:37 ftj
- [r267] Fixed my email.
- 2000-05-24 06:48 cvs
- [r265] server/input.c: modify examine_monster to use the maxhp field instead of
the arch hp field to determine healthiness of the monster. Also, give
this information for all creatures, not just monsters or players.
MSW 5/23/200
- 2000-05-24 05:48 cvs
- [r264] socket/item.c: Add MAXITEMLEN define at top of file and use that to determine
at what point item commands should be broken up. Prior hard coded value
was not always large enough. MSW 5/23/2000
- 2000-05-23 07:06 cvs
- [r263] include/define.h: add safe_strcat inline/static function. Add
DESCRIBE_ABILITY_SAFE and DESCRIBE_PATH_SAFE which use the safe_strcat
to prevent buffer overuns.
common/item.c: Have query_name use HUGE_BUF for its buffer - query_short_name
uses that buffer size, and we call the same thing. have quer_name and
query_short_name use the safe_strcat function. Increase buffer size
in ring_desc to be a VERY_BIG_BUF and also use safe_strcat along with the
DESCRIBE_*_SAFE macros.
server/input.c: Modify examine.c to not get buffer overruns for very long/
complicated items. Modify long_desc to also handle long names/descriptions
without buffer overruns.
socket/item.c: Modify the functions that prepend the length to the name
of the object to handle very long (>255) object names properly - now we
just truncate it and only send the first 255 bytes. add function
add_stringlen_to_sockbuf to make this task easier.
With the above changes, very long named items/items with very long
descriptions works properly in both the server (no crashes) and the
client (no crashes/protocol errors) MSW 5/22/2000
- 2000-05-23 03:52 cvs
- [r262] common/item.c: Modify query_short_name to avoid buffer overflow on long
ring descriptions. Also, increased size of buffer in this function so
that longer ring descriptions will not get truncated. MSW 5/22/2000
server/c_chat.c: Add standard banner to top of file. Fix say command so
that it does not crash the server if something beyond 256 characters is
spoken - extra data is just truncated. MSW 5/22/2000
- 2000-05-22 13:16 jec
- [r261] Fixed typo.
- 2000-05-22 13:06 jec
- [r260] common/object.c: Splitted set_owner() into set_owner_simple() and
set_owner. copy_owner(): New function.
server/spell_util.c: explode_object(): Use copy_owner() instead of setting
skill and experience objects manually. Bugfix: Don't use op->owner
directly (fixed by using the caster in call to SP_level_dam_adjust(),
not the owner, which was wrong anyway).
server/spell_util.c: fire_arch_from_position(): Use copy_owner() instead
of set_owner() if 'op' isn't the real owner but only a spell object
owned by somebody else.
server/spell_util.c: move_swarm_spell(): Use the swarm spell object as
the owner in call to fire_arch_from_position(), which now handles this
case correctly.
server/spell_util.c: fire_swarm(): Call tailor_god_spell().
server/gods.c: determine_god(): op->type==SWARM_SPELL is a spell.
server/gods.c: tailor_god_spell(): op->type==SWARM_SPELL is a spell.
Always abort function if we couldn't find a god. Always add god's
attacktype if the spellop's attacktype has AT_GODPOWER.
- 2000-05-21 21:41 jec
- [r258] common/init.c, common/loger.c, include/logger.h, server/init.c: New
log level llevInfo which is the new default log level.
Many other files: Use llevInfo instead of llevError where appropriate.
Use 'settings.debug >= llevDebug' instead of 'settings.debug'.
server/main.c: Use a marker object to track current position in the list
of active objects. Using a pointer didn't work because all objects on
that list can be removed from it by process_object(). One of the things
this fixes is bogus "Free object on list" errors.
- 2000-05-19 06:12 cater
- [r257] *** empty log message ***
- 2000-05-19 06:08 cater
- [r256] 19/05/2000 John Cater
Added srcdir to help/save - Fixed an installation problem
- 2000-05-19 06:05 cater
- [r255] *** empty log message ***
- 2000-05-19 03:55 cvs
- [r254] Update for incorrectly formatted file. MSW 5/18/2000
- 2000-05-18 03:17 cvs
- [r253] rossedite/Makefile.in: Modify to use $(MAKE) instead of make when
descending into subdirectories - fixes compilation on FreeBSD - MSW 5/17/2000
- 2000-05-18 03:03 cvs
- [r252] socket/init.c: Fix incorrect check on return value from fread when
loading xpm images. MSW 5/17/2000
- 2000-05-18 02:58 cvs
- [r251] Add missing images from prior checkin. MSW 5/17/2000
- 2000-05-17 04:34 cvs
- [r250] Fix server/spell_effect.c - was assigning altar->other_arch to an object
and not archetype MSW 5/16/2000
- 2000-05-17 03:51 cvs
- [r249] Fix server/spell_effect.c - was assigning altar->other_arch to an object
and not archetype MSW 5/16/2000
- 2000-05-17 03:27 cvs
- [r248] crossedit/App.c: Call ReadImages to load images.
- 2000-05-16 17:44 jec
- [r247] See CHANGES file.
- 2000-05-15 20:57 jec
- [r245] See CHANGES file.
- 2000-05-13 23:44 cvs
- [r244] crossedit/xutil.c: Merge bitmap & pixmap load routine into one called
ReadImages, function modified to use above format.
crossedit/App.c: Call ReadImages to load images.
include/newserver.h: Change FaceInfo structure to have arrays of data
and datalength instead of explicity entries for pixmap vs bitmap data.
lib/adm/make_xpm_file.pl, lib/crossfire.cfb, lib/xbmtobdf.c: Removed -
either note needed or replaced by new naming scheme.
lib/adm/collect_images.pl: Replacement/improvement of make_xpm_file.pl
above - this handles all image formats (xbm, xpm, png). This is
also more intelligent in that it will not try to rebuild the image files
if there is not a valid arch directory.
lib/crossfire.png, lib/crossfire.xbm (new files): .png file is for png
images. xbm is to keep with the new standardized naming convention used
and is for the bitmaps.
lib/crossfire.xpm: New format used in file.
lib/Makefile.in: Modified to collect via new script as well as new
directives to collect (png files).
socket/init.c: Modified to load with the new format and data structures.
socket/request.c: Modified to send data with the new data structures
provided.
- 2000-05-13 23:17 cvs
- [r243] configure.in, configure: Add check for perl so that we can call scripts
properly - MSW 5/13/2000
- 2000-05-09 04:55 cvs
- [r242] common/re-cmp.c: Add some tolower calls in the comparisons so most
regular expressions should not be case insenstive (makes matches & says
work better). Note that I did not change the behaviour on range matches
(Z-f for example), as I thought there may be side effects in that case.
MSW 5/8/2000
- 2000-05-09 04:08 cvs
- [r241] socket/request.c: Add length checking to NewPlayerCmd so that if the client
sends us a really long command, we just truncate the end of it and not
overwrite our internal buffers causing crashes. MSW 5/8/2000
- 2000-05-08 03:22 cvs
- [r240] server/player.c: add out_of_map check to stand_near_hostile function. This
fixes a server crash if the player uses a hiding skill near the edge of a map.
MSW 5/8/2000
- 2000-04-27 07:35 cvs
- [r236] common/arch.c, common/loader.l (loader.c): Modify the load routines
to strip off trailing whitespace in object names and other_arch fields -
I believe this is why altars to Sorig did not generally work, and while
generally that white space should not exist, doing a little extra checking
for it is not a bad idea - MSW 4/26/2000
Add HOLY_ALTAR type, and use that for praying over for gods and the
like.
doc/crossfire.doc: Add description of HOLY_ALTAR type and meaning
of fields.
common/map.c: Disable consecration code for altars.
include/define.h: Add type for HOLY_ALTAR
include/sproto.h: Update for change of some functions below.
server/c_wiz.c: Modify setgod command to call become_follower with
proper second arg.
server/gods.c: Change become_follower to take object pointer to god instead
of name, since the holy_altar has the pointer in its other_arch.
Modify pray_at_altar to use the new fields, as well as fixed
what seemed to be numerous bugs in that function.
sever/skills.c: Change check from ALTAR to HOLY_ALTAR, also change
check to see if HOLY_ALTAR is consecrated by looking at the
other_arch field.
server/spell_effect.c: Update consecrate so that caster must be
higher effective level than the altar, also update for
differing fields.
maps/thomas/sisters/shrine0, map/thomas/sisters/tower0: Remove
title from altars on these maps - these were the only two maps
using old style altars consecrated to a god. Since it appears the
real purpose of the altars on these maps was to trigger something
else, they were kept as old style altars.
arch/gods/altars (relocated from arch/indoors, as I think the new
location makes more logical sense): Update for new fields/format.
This also affects lib/archetypes, lib/bmaps.paths, lib/crossfire.xpm,
lib/crossfire.cfb
lib/adm/archsearch.pl: Modified to hunt out old archetypes - some of the
changes could be useful in general cases.
MSW 4/26/2000
- 2000-04-27 07:04 cvs
- [r232] common/arch.c, common/loader.l (loader.c): Modify the load routines
to strip off trailing whitespace in object names and other_arch fields -
I believe this is why altars to Sorig did not generally work, and while
generally that white space should not exist, doing a little extra checking
for it is not a bad idea - MSW 4/26/2000
- 2000-04-25 04:53 cvs
- [r231] server/spell_util.c: Fix move_golem so that multi square avatars (golems)
don't hit themselves. Remove will_hit_self function (only used in
move_golem), since it did not work. Change structure & indenting of
move_golem function so it isn't quite so nested - functionality
remains the same. When we do find something to kill in move_golem,
call attack_ob against it instead of hit_map - hit_map is not save
for multi object hitters. MSW 4/24/2000
- 2000-04-22 07:16 cvs
- [r230] Key usage change: Add new command 'usekeys' that specify how keys
are searched for. The three options are inventory, keyrings, and containers.
These options apply to both standard keys and special keys. If the player
has a key for the door but it is in a container that will not be used,
print a friendly message of the key name and container name. Files
affected:
help/usekeys: Added describing options
lib/Makefile.in: Addition of help/usekeys above.
include/player.h: Add new enumeration and entry into player structure
include/sproto.h: New function prototype
server/apply.c: change of Find_Key to new function with slightly
different options
server/c_misc.c: add function to support 'usekeys command.
server/commands.c: addition of usekeys command
server/player.c: rewrite & rename of find_key command, as well as changes
to move_player_attack
Mark Wedel 4/21/2000
- 2000-04-22 07:13 cvs
- [r229] Update formatting to look better on standard width display - MSW 4/21/2000
- 2000-04-22 06:06 cvs
- [r226] Add help/usekeys to distribution and Makefile.in to get used.
Mark Wedel 4/21/2000
- 2000-04-19 11:46 jec
- [r216] See CHANGES file.
- 2000-04-17 14:18 jec
- [r213] See CHANGES file.
- 2000-04-14 04:51 cvs
- [r212] commit for various updates I have made to the file in the last few
days. Mark Wedel 4/13/2000
- 2000-04-14 04:48 cvs
- [r211] Cosmetic fixes - updates to rcsid string to include right file name
as well as updates to mail address and/or additions to top banner.
Mark Wedel 4/13/2000
- 2000-04-14 04:41 cvs
- [r210] Change to use /usr/bin/perl instead of /usr/local/bin/perl - real change is to
find perl in configure.in and call the scripts with that. Mark Wedel
4/13/2000
- 2000-04-14 04:39 cvs
- [r209] Fix rcsid string so it gets properly updated. Mark Wedel 4/13/2000
- 2000-04-14 04:39 cvs
- [r208] Updated my mailing address to be accurate - Mark Wedel 4/12/2000
- 2000-04-14 04:35 cvs
- [r207] doc/playbook/handbook.idx: Automatically generated file removed. This
is not something normally included in packed up distributions, so no reason
to have it in CVS - Mark Wedel 4/13/2000
- 2000-04-14 04:32 cvs
- [r206] Update my mailing address - Mark Wedel 4/13/2000
- 2000-04-14 04:31 cvs
- [r205] Change to use /usr/bin/perl instead of /usr/local/bin/perl - real change is
to find perl in configure.in and call the scripts with that. Mark Wedel 4/13/2000
- 2000-04-14 04:29 cvs
- [r204] Recommit - apparantly I forgot to check this in.
Makefile.in, doc/Makefile.in: Modified so that making the docarchive
now works. The make must be done from the top level for it to work, since
some values are passed, but the doc/Makefile.in was missing some declarations
and had some other fixes that needed to be done. msw 3/22/2000
- 2000-04-14 04:25 cvs
- [r203] Recommit - I thought I did this before, but it was not showing up in the
repository.
Makefile.in, doc/Makefile.in: Modified so that making the docarchive
now works. The make must be done from the top level for it to work, since
some values are passed, but the doc/Makefile.in was missing some declarations
and had some other fixes that needed to be done. msw 3/22/2000
- 2000-04-13 06:30 cvs
- [r197] server/skill_util.c: Fixed some log messages that were lacking a newline at
the end. SK_level(): Rewrite of this function to simplify its structure.
Print error message if we find an invalid level. Add top copyright/contact
banner (msw) Patch by Jan Echternach, applied & checked in by Mark Wedel,
4/12/2000
- 2000-04-13 06:28 cvs
- [r196] server/apply.c, server/monster.c: Fix in apply.c for encounter maps
so that proper message is generated, and differentiate behaviour if it
is a floor vs not a floor. Also, change to both files in that apply_below
stops at the floor object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/12/2000
- 2000-04-12 06:38 cvs
- [r195] server/apply.c, server/monster.c: Fix in apply.c for encounter maps
so that proper message is generated, and differentiate behaviour if it
is a floor vs not a floor. Also, change to both files in that apply_below
stops at the floor object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/11/2000
- 2000-04-12 06:28 cvs
- [r194] server/apply.c, doc/crossfire.doc: Fix to prevent server crashes when monster
applies poison object. doc file is updated to include accurate information on
values in poison object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/11/2000
- 2000-04-07 03:47 cvs
- [r193] Updated for people who have CVS Access. Should also be more
accurate of who current developers are compares to past developers.
MSW 4/6/2000
- 2000-04-07 03:26 cvs
- [r192] CREDITS, server/main.c: Add Peter Gardner to list of credits.
Mark Wedel 4/4/2000
- 2000-04-05 04:44 cvs
- [r191] Updated for changes to fire_swarm() arguments. Mark wedel 4/4/2000
- 2000-04-05 04:43 cvs
- [r190] server/spell_util.c:
New argument of fire_swarm() to specify whether it's a magic attack.
All swarm spells except meteor swarm are now magic (just as the
underlying basic spell).
New function fire_arch_from_position() which doesn't use the owner's
position as the starting position of the fired arch.
move_swarm_spell(): Correctly set owner and magic in call to
fire_arch_from_position().
(-> "cause many wounds" is working now)
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
- 2000-04-05 04:41 cvs
- [r189] server/spell_effect.c, magic_wall():
Fix calculation of duration of darkness spell. Before, you could get
huge negative speed values with high experience levels, which meant very
short duration.
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
- 2000-04-05 04:40 cvs
- [r188] server/attack.c, attack_message():
More messages. "grind to dust" is more damage than "shred to pieces".
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
- 2000-04-05 04:38 cvs
- [r187] server/apply.c, improve_armour():
Maximum armour value reduced to 90. Items can now always be improved up
to this value. For armour x you need level x, not level x + 1 as before.
esrv_send_item() and fix_player() also called if only magic value was
improved. Patch by Jan Echternach, applied & checked in by Mark Wedel,
4/4/2000
- 2000-03-29 07:46 cvs
- [r186] common/map.c: Change calls in file to use insert_ob_in_map simple.
This fixes bugs with buttons not being applied correctly when the map
is loaded - the cause is that push_button is getting called for the
button before all the objects the button is linked to have been loaded.
Then when the map finishes loading, the call to update_button is called
and they are not in sync. This change should make loading slightly faster,
mostly because it does not call check_walk_on during the loading, so that
buttons don't get pushed/changed around. Mark Wedel 3/28/2000
- 2000-03-27 06:25 cvs
- [r185] server/player.c: If player is using pickup mode 6, only have them pick up
the item if they know it is magical. Prior to change, items would be
picked up if they are magical, but not if the player knew that, so the code
was giving extra knowledge to players. Bug reported by Kurt Fitzner,
checked in by Mark Wedel, 3/26/2000
- 2000-03-27 06:23 cvs
- [r184] Fix typo in previous checkin - code is the same, but now it actually
compiles - msw 3/26/2000
- 2000-03-27 06:19 cvs
- [r183] common/map.c: Code fix by Kurt Fitzner so that unique maps will get
compressed if so needed. Fixes problem of unique maps not being
able to get reloaded as they are saved with the compress suffix but
not in compressed form. Code checked in by Mark Wedel, 3/26/2000
- 2000-03-27 06:13 cvs
- [r182] server/skills.c, server/spell_effect.c: Improve behaviour when identifying
items - the identify routine already updates the client if it is
in the players inventory, so only send update to client if the item is
on the map. Also, do full item update, as many fields may change, and
that is what the identify function does. Standard top of
file banner also added to skills.c file.
Bug and initial fix of item updates by Kurt Fitzner,
implemented in a bit different way by Mark Wedel. 3/26/2000
- 2000-03-23 07:21 cvs
- [r181] Makefile.in, doc/Makefile.in: Modified so that making the docarchive
now works. The make must be done from the top level for it to work, since
some values are passed, but the doc/Makefile.in was missing some declarations
and had some other fixes that needed to be done. msw 3/22/2000
- 2000-03-22 07:54 cvs
- [r180] Makefile.in: comment out the EXTRA_FLAGS (which contains the -Wall
entry) - the presumption that everyone is going to use gcc to compile
crossfire is a poor one, and -Wall is only supported on gcc. I would
rather have it compile on the maximum number of systems without it
needing changes than to require the end user to make the customizations.
A better long term solution is to have configure.in check for gcc or
if -Wall is supported it and have it add it in. msw 3/21/2000
- 2000-03-22 07:32 cvs
- [r179] server/c_object.c: Fix pick_up_object function to deal with non players
picking up objects - prior to fix, program would crash when monsters
pick up objects. Also, add standard banner at top of file about
copyright, contact, version information. msw 3/21/2000
- 2000-03-21 03:25 cvs
- [r178] CREDITS, README: Updated to contain my new mailing address. In reality,
almost all the files have an out of date address for me, but these
are probably the ones people will look at most. msw 3/20/2000
- 2000-03-21 02:31 cvs
- [r177] Updated for upcoming 0.95.5 release. msw 3/20/2000
- 2000-03-21 02:28 cvs
- [r176] include/Makefile.in: Update files to include material.h - need when
packing up new releases - msw 3/20/2000
- 2000-03-21 02:27 cvs
- [r175] Rebuild for upcoming 0.95.5. Some changes have been made to the
archetyps since the last build, and these are reflected in this file.
msw 3/20/2000
- 2000-03-21 02:25 cvs
- [r174] doc/hanbook.ps, doc/spoiler.ps: Rebuilt with latest version of crossfire - not
sure if there are any content changes, as the tools to build the file have
been updated on my system, causing many changes to the prologue and outputted
data. - msw 3/20/2000
- 2000-03-21 02:23 cvs
- [r173] Rebuilt with latest version of crossfire - not sure if there are any
content changes, as the tools to build the file have been updated on
my system, causing many changes to the prologue and outputted data.
msw 3/20/2000
- 2000-03-21 02:19 cvs
- [r172] Updated for upcoming 0.95.5 release - msw.
- 2000-03-20 04:05 cvs
- [r171] Change doc/spoiler-html/Makefile.in and doc/playbook-html/Makefile.in to use
$(datadir) instead of $(C_LIBDIR). Other add AWK and INCDIR lines so that it
properly builds with autoconf setup. msw 3/19/2000
- 2000-03-18 20:45 cvs
- [r170] Change spoiler.tex, handbook.tex to build properly with later versions
of tetex - added language specifier when using the babel package.
msw 3/19/2000
- 2000-03-16 07:06 cvs
- [r169] Added comment about find_free_space only checking head of object.
- msw 3/15/2000
- 2000-03-14 05:37 cvs
- [r168] Change summon_cult_monster code so that it will no longer summon big monsters
on top of walls or the player. Also, if there is not space for a big
monster, try to find another pet monster that will fit in the space.
File affected: server/spell_effect.c - msw
- 2000-03-12 23:07 cvs
- [r167] Change gorokh.arc to use anim devil instead of anim Lucifer - fixes crash
when using avatars of gorokh - msw
- 2000-03-11 07:17 cvs
- [r165] Split off kill_player function from do some living, and check for player
death upon player login. This splits up an otherwise very large function,
but more importantly, the second point allows NOT_PERMADEATH to work as
expected when the player is dead when logged out. Previous, the if the
player was dead when they logged out, it would just kill off the character
permanently (without grave marker or anything), even in NOT_PERMADEATH
mode. Also, cleaned up player load code to remove code that supported
very old style save files.
Files changed: server/login.c server/player.c include/sproto.h - msw
- 2000-03-11 07:06 cvs
- [r164] Split off kill_player function from do some living, and check for player
death upon player login. This splits up an otherwise very large function,
but more importantly, the second point allows NOT_PERMADEATH to work as
expected when the player is dead when logged out. Previous, the if the
player was dead when they logged out, it would just kill off the character
permanently (without grave marker or anything), even in NOT_PERMADEATH
mode. Also, cleaned up player load code to remove code that supported
very old style save files.
Files changed: server/login.c server/player.c include/sproto.h - msw
- 2000-03-11 06:53 cvs
- [r163] Split off kill_player function from do some living, and check for player
death upon player login. This splits up an otherwise very large function,
but more importantly, the second point allows NOT_PERMADEATH to work as
expected when the player is dead when logged out. Previous, the if the
player was dead when they logged out, it would just kill off the character
permanently (without grave marker or anything), even in NOT_PERMADEATH
mode. Also, cleaned up player load code to remove code that supported
very old style save files.
Files changed: server/login.c server/player.c include/sproto.h - msw
- 2000-02-11 05:00 cvs
- [r161] Change NO_STAT define in living.h,skillist.h,skill_util.c to NO_STAT_VAL
to remove conflict on AIX systems. - msw
- 2000-02-08 07:55 cvs
- [r160] Fix error in configure.in - was referancing BZIP2, when it should have
used BZIP - msw 2/7/2000
- 2000-02-08 07:52 cvs
- [r159] Updates by MSW, 2/7/2000
- 2000-02-08 07:51 cvs
- [r158] server/skill_util.c: Fixed spelling of unwield
configure.in: Update -z checks to not use eval, double quote the variable.
This seems to be needed on solaris and probably other systems.
Both changes commited by Mark Wedel, 2/7/2000
- 1999-11-05 03:25 cater
- [r156] ----------------------------------------------------------------------
05/11/99 John Cater
Holy Word attack logic fixed
Modified Files:
server/attack.c CHANGES
----------------------------------------------------------------------
- 1999-11-01 08:05 cvs
- [r155] crossfire.cfb is automatically created - an old version was checked in that
failed to work with other updates.
spell_params and artifacts had minor typos that have been corrected.
MSW 11/1/1999
- 1999-09-18 07:41 damn
- [r154] Moved everything back where it was, except materials. -- DAMN
- 1999-09-18 07:34 damn
- [r153] Moved things back, so spells.h doesn't need to be loaded twice any more.-- DAMN
- 1999-09-18 07:29 damn
- [r152] Moved everything back where it was, except materials. -- DAMN
- 1999-09-18 07:08 damn
- [r151] Adjusted notification text for expired snake/staff. -- DAMN
- 1999-09-17 23:54 damn
- [r150] Minor bugfix / cleanup -- DAMN
- 1999-09-17 23:53 damn
- [r149] see batch update for arch tree -- DAMN
- 1999-09-17 23:42 damn
- [r148] Removed leftover prototype for staff_to_snake -- DAMN
- 1999-09-17 23:40 damn
- [r147] Monster movement numbers moved here from defines.h -- DAMN
- 1999-09-17 23:36 damn
- [r146] Oops... typo: VERY_BIG__BUF
- 1999-09-17 23:33 damn
- [r145] DESCRIBE_ABILITY macro moved to defines.h -- DAMN
- 1999-09-17 23:30 damn
- [r144] Moved spell #defines, have to #include spells.h -- DAMN
- 1999-09-17 23:27 damn
- [r143] *** empty log message ***
- 1999-09-17 21:09 damn
- [r141] - moved NROFSKILLS here
- 1999-09-17 21:04 damn
- [r140] - now has the #defines for object type numbers
- 1999-09-17 20:56 damn
- [r139] - #defines from spells.h and material.h loaded early -- DAMN
- 1999-09-17 20:54 damn
- [r138] - moved object type numbers to object.h
- moved flag numbers to object.h
- moved NROFREALSPELLS to spells.h
- moved path numbers to spells.h
- moved DESCRIBE_PATH macro to spells.h
- moved ARMOUR_ and WEAPON_ macros to player.h
- moved player state numbers to player.h
- moved monster movement numbers to living.h
- moved NROFSKILLS to skills.h -- DAMN
- 1999-09-17 19:52 damn
- [r137] - changed some artifacts and added others to match some weapons,
armour, and bows with each god
- changed some chance settings so that most items will be found
more often than once per decade
- minor spelling fixes -- DAMN
- 1999-09-17 19:46 damn
- [r136] - minor spelling fixes to match minor spelling fixes in artifacts -- DAMN
- 1999-09-17 19:44 damn
- [r135] - added entries for mana spells along with their fire equivalents -- DAMN
- 1999-09-17 19:41 damn
- [r134] - new file for definitions and initialization of materials -- DAMN
- 1999-09-17 19:33 damn
- [r133] - added animate_weapon and pay_from_container prototypes --DAMN
- 1999-09-17 19:31 damn
- [r132] - moved NROFREALSPELLS here and updated it
- now has the #defines for spell path nummbers
- added mana spells, Dancing Sword, and Animate Weapon --DAMN
- 1999-09-17 19:29 damn
- [r131] - added mana spells, Dancing Sword, and Animate Weapon --DAMN
- 1999-09-17 19:27 damn
- [r130] - now has the #defines for player state numbers
- added gen_sp_armour variable --DAMN
- 1999-09-17 19:25 damn
- [r129] - minor edits -- DAMN
- 1999-09-17 19:22 damn
- [r128] - spelling fix: grimore -> grimoire --DAMN
- 1999-09-17 19:20 damn
- [r127] - minor bugfix
- fix_player now calculates sp regen penalty from armour --DAMN
- 1999-09-17 19:18 damn
- [r126] - Staff to Snake, Dancing Sword, and Animate Weapon spells now all use
animate_weapon function
- holy golems avoid damaging their owners
- raw mana spells --DAMN
- 1999-09-17 19:16 damn
- [r125] - generalized staff_to_snake to animate_weapon --DAMN
- 1999-09-17 19:13 damn
- [r124] - minor bugfix in throwing
- writing in one of a stack of books seperates one book out first --DAMN
- 1999-09-17 19:11 damn
- [r123] - payment will come from open pouches if you don't have enough in your
top-level inventory
- money for sold items will go into open pouches until they're full,
then overflow into top-level inventory --DAMN
- 1999-09-17 19:01 damn
- [r122] - sp regen penalty from armour calculated in fix_player instead of being
recalculated for each spell point gained. --DAMN
- 1999-09-17 18:49 damn
- [r121] - trivial bulletproofing, probably no effect -- DAMN
- 1999-09-17 18:46 damn
- [r120] - fixed typo
- 1999-09-17 18:44 damn
- [r119] - minor bugfix/cleanup
- luck slightly improves chance of divine intervention
- 1999-09-17 18:43 damn
- [r118] - vulnerability gives -4 to saving throw against non-damage attack effects
- immunity to acid reduces the probability of corrosion
- immunity and protection and not vulnerability to acid prevents corrosion
- magic bonus improves item's saving throw against acid
- vulnerability to drain doubles rate of exp loss, protection halves rate
- holy word slaying is checked in hit_player, no need to double-check
in hit_player_attacktype
- prot:magic and vuln:magic affect all magical damage, not just raw magic
- Holy Word and Turn Undead affect undead at half strength if they're not
listed as an enemy race
- Holy Word and Turn Undead have no effect on undead if they're listed as
a friendly race
- minor bugfix/cleanup
- 1999-09-17 18:39 damn
- [r117] - split multiple lighters
- 1999-09-17 18:37 damn
- [r116] - minor cleanup
- 1999-08-28 06:06 cvs
- [r102] Add develop.nmdg.com public saerver - msw
- 1999-08-23 00:30 cvs
- [r101] Update README with crossfire.oc.humbug.org.au.
Update CHANGEs for compression information.
- 1999-08-23 00:26 cvs
- [r100] Change compress method definitions from being determined by checks
on system type to having autoconf find the utilities for us. Also, add
bzip2 support. Files affected: Makefile.in configure.in common/map.c
server/init.c server/login.c include/config.h include/define.h
include/autoconf.h.in - msw
- 1999-08-22 23:39 cvs
- [r99] Fix in server/rune.c - if the victim of a trap/rune is not on a map
and the object has a disease, it would crash the server. Temporary
fix put in to make sure there is a map, and if not, use a predefined
difficult of 1. I think the real issue is how can an object not on a map
be setting a trap (in this particular bug, reported by Klaus Elsbernd,
the victim was a thrown object) - msw
- 1999-08-18 21:14 damn
- [r98] Bugfix in server/apply.c - apply_container()
- 1999-08-18 20:55 damn
- [r97] Cut "static" from FindKey when adding its prototype to sproto.h.
FindKey is now called from apply.c to open locked containers.
- 1999-08-18 20:52 damn
- [r96] Need prototype for FindKey here so that it can be used in apply.c as well as player.c
- 1999-08-18 20:43 damn
- [r95] Use player.c's FindKey to find keys for containers --DAMN
- 1999-08-18 03:57 cvs
- [r94] update by msw
- 1999-08-18 03:56 cvs
- [r93] Change by dragonm@absolut.tegris.org - improve crossedit so that if you
try to load a map you alreay have in memory, it will raise the window -
it will also give you the option to forget, save changes, or just raise
the window if the in memory version of that map has been modified. Checked
in by msw. (crossedit, App.c, Edit.c, Edit.h)
- 1999-08-14 13:54 damn
- [r92] *** empty log message ***
- 1999-08-14 13:35 damn
- [r91] Added a test to enter-exit() to deal with path problem when moving from
one unique per-character map to another unique per-character map.
When leaving a unique map, current path is derived from the map's
filename, which was previously constructed from the original's path.
- 1999-08-14 03:52 cvs
- [r90] Update for xbmtobdf.man removal - msw
- 1999-08-14 03:44 cvs
- [r89] oops - this is needed after all to make the .cfb file - msw
- 1999-08-14 03:24 cvs
- [r88] Re-add after accidental deletion - msw
- 1999-08-14 03:23 cvs
- [r87] Removed xbmtobdf.c since it is no longer needed - msw
- 1999-08-14 03:19 cvs
- [r86] Remove xbmtobdf.man referances - msw
- 1999-08-14 03:18 cvs
- [r85] File removed - no longer of any use in the client/server model as the
actual program souce is also removed - msw
- 1999-08-13 05:04 cvs
- [r84] Remove xbmtobdf man page & source, as it is no longer needed for any
use. - msw
- 1999-08-13 05:03 cvs
- [r83] Various updates - msw
- 1999-08-13 05:02 cvs
- [r82] Change install location of man pages to section 6 instead of section 1 - msw
- 1999-08-13 04:02 cvs
- [r81] Sync between private copy and that in repository - looks to just be
a whitespace change - msw
- 1999-08-13 03:51 cvs
- [r80] New man page submitted by Egbert Hinzen that is actually correct and
accurate as the options now relate to crossfire. - msw
- 1999-08-12 19:47 cvs
- [r79] comments on an alchemy change
- 1999-08-06 21:50 cvs
- [r78] incorporated changes from DAMN:
This one is a suggested fix for the alchemy bug that grants obscene amounts
of experience for certain formulas. Those formulas are the ones that create
items with a high fixed level, because those items are pretty worthless
otherwise. Dust of Repelling Undead, for example, is level 30.
The fix I implemented here is to base the chance of success largely on the
level of the product, so it's very difficult to produce something like Dust
of Repelling Undead, and therefore worth the extra experience. The chance of
success is now based on the following factors:
1) level of product
2) number of ingredients in formula
3) rarity of formula as listed in "formulae" data file
4) number of batches being made
5) Alchemy skill (if present)
6) enchantment of cauldron
7) luck
- 1999-08-06 21:29 cvs
- [r77] patches from DAMN for various things:
This one makes a couple things level dependent that used to be fixed:
1) time it takes Word of Recall to take effect
2) amount of energy transferred by Transferrence spell
3) percentage of energy drained by Magic Drain spell
Also, the following effects have been modified:
1) Followers of a cult that considers undead enemies have a penalty to
Command Undead.
2) Magic Drain gives back to the caster a small portion of the energy
drained from the victim.
And a bug was fixed:
1) SP_level_dam_adjust used and SP_level_strength_adjust used the
player's level, where they should have used the caster's level.
- 1999-08-06 21:08 cvs
- [r75] patches from DAMN, renaming potion of strength to potion of
might, adding nrof to various archetypes so they'll stack,
adding weight 3 to power crystal archetype so it'll
be the same as the one in the GemTunnel.
- 1999-08-06 21:04 cvs
- [r74] Patch from DAMN for a typo.
- 1999-08-03 00:37 cvs
- [r73] comment on keycode added.
- 1999-08-03 00:33 cvs
- [r72] Changes allowing for a keycode in the alchemical recipes.
Now, if the formula has a field called 'keycode xxxx',
the person must possess a MARK with 'slaying xxxx'
in order to execute the formula successfully.
- 1999-08-03 00:32 cvs
- [r71] Updated documentation to reflect changes in the
detector object, and descripton of the new marker object.
- 1999-07-30 07:21 cvs
- [r69] comment on hack to make players lose special prayers
on changing diety of allegiance.
- 1999-07-30 07:20 cvs
- [r68] Hacked in a mod so that players who change religions
lose any special spells they learned from their
former religion. --PeterM
- 1999-07-30 05:12 cvs
- [r67] I modified server/alchemy.c and server/shop.c: the first
to stop generation of cursed items at low levels, the
second to stop the sale of unidentified items at significant
prices.
- 1999-07-30 05:05 cvs
- [r66] Modified a comment so that it is accurate.
- 1999-07-30 05:02 cvs
- [r65] little modification so that cursed items cannot
be made at low level: instead you get slag or nothing.
- 1999-07-30 05:01 cvs
- [r64] Small mod to cause unidentified stuff, which is to be sold,
to sell for no more than 3x the cost of identification.
- 1999-07-30 03:48 cvs
- [r63] fix type in the scandir function which cause compilation problems for
those systems that actually need it. - msw
- 1999-07-17 04:08 cvs
- [r61] Change command_cast_spell so that it preserves a return value from
find_spell. This re-enables partial spell matching (ie, cast prot
will show all spells that start with that.) - msw
- 1999-07-13 06:03 cvs
- [r60] Global commit for 0.95.4 - most files have no changes but just have
differing headers between my local RCS and the CVS versions and need to
get synced up.
- 1999-07-13 05:35 cvs
- [r59] Updated to properly generated handbook.ps when needed - msw
- 1999-07-13 05:34 cvs
- [r58] Updated to properly generate handbook - msw
- 1999-07-13 05:24 cvs
- [r57] updated with various previously undocumented changes - msw
- 1999-07-13 05:22 cvs
- [r56] Update version to 0.95.4
- 1999-07-13 05:19 cvs
- [r55] Remove disappearing arch bug report (problem fixed). - msw
- 1999-07-13 05:15 cvs
- [r54] add header versioning information (cosmetic only) - msw
- 1999-07-13 05:01 cvs
- [r53] Enhance lib/collect.pl to ignore CVS directories - msw.
- 1999-07-13 04:52 cvs
- [r52] Add better comment in config.h about the DM_MAIL option - msw.
- 1999-07-13 04:30 cvs
- [r51] Fixed doc/spoiler/Makefile.in so it works with autoconf setup. - msw
- 1999-07-12 06:58 cvs
- [r50] Add note about cvs repistory to file.
- 1999-07-12 06:58 cvs
- [r49] Merge conflict between my copy and CVS repository - msw
- 1999-07-10 23:37 cvs
- [r44] In apply_lighter, do more accurate check when seeing if the attempted
object was actually destroyed. Also, cache the item name so that if
it is destroyed, we have a proper name to print out. - msw
- 1999-07-10 23:36 cvs
- [r43] Change to save_throw_object: If object is in players inventory and
is destroyed, send update to client. This can happen when trying to
ignite something in the inventory with flint and steel - msw.
- 1999-06-26 23:35 cvs
- [r40] Comments on new stuff I'd done. --Peterm
- 1999-06-26 22:48 cvs
- [r38] PeterM:
reader.c: just rebuilt it, reader.l, its source file, wasn't touched.
special.c: I put a loop around the fountain placement code so
that it won't try to stick something outside of the map.
style.c: won't try to read things with CVS in them as map
styles anymore.
- 1999-06-19 20:51 cvs
- [r37] Update lib/Makefile.in to create empty bookarch and temp.maps files as
part of install process. - msw
- 1999-06-19 20:45 cvs
- [r36] Change configure.in script so that by default, files will be put in
installdir/var/crossfire and installdir/share/crossfire instead of
just installdir/var and installdir/share. This allows crossfire to be
installed more cleaning without it having its own top level directory.
Old installation behaviour can be gained by using --enable-old-layout when
running the configure script.
- 1999-06-15 04:06 cvs
- [r35] Add note about DM_MAIL that it does not need to be defined.
- 1999-06-13 22:08 cvs
- [r31] Fix bug introduced by last checking (fix unique map problem) - one of the
checks in enter_object was calling check_path with the wrong options - this
would the program not to find the correct map - msw
- 1999-06-13 06:06 cvs
- [r30] Patch by Carsten Pluntke that fixes a problem with unique maps not being
properly reloaded after being swapped out (main.c) - msw
- 1999-06-13 05:25 cvs
- [r29] Fix so that when picking up objects from a container, the client gets
an update to remove the object display from the container (ie, if
you pick up all the gold coins from a container, the total in the players
inventory always got corrected, but the client still displayed some in the
container even if there should not be.) The change is in c_object.c - msw
- 1999-06-13 05:02 cvs
- [r28] Check that hitter has a valid name before it attacks - fixes some
crashes (attack.c) - msw
- 1999-06-09 19:29 azzie
- [r27] Fix in edit.c to ensure map objects (mainly is_floor objects) are actually
removed visually as well as from a pure object standpoint.
- 1999-06-05 06:28 cvs
- [r26] Improve auto_apply functions so that it will create treasures (random_*
items) inside other objects. There is still a limit in that it will only
look for these objects inside other top level objects - a random potion
inside a chest inside a monster will not be processed. But that
should be a rare case, and nesting containers very deep has never been
well supported in the code. The code affects is in the apply.c file.
- 1999-06-05 05:34 cvs
- [r25] Add Xaw to start of libraries when linking crossedit - fixes focus problem.
File affected is configure.in
- 1999-05-31 01:04 cvs
- [r23] Updated my crossfire resume. :) --PeterM
- 1999-05-08 22:52 cvs
- [r21] stat depletion on death fixed. Previously, it didn't actually
remove a stat. --PeterM
- 1999-05-05 06:34 uid200
- [r15] *** empty log message ***
- 1999-05-05 06:30 uid200
- [r14] Remove berzerk code/variable from player structure. The code had
no effect - whatever functionality it once had has been removed in the
past.
- 1999-05-01 20:17 cvs
- [r13] Add note about nt client and where to get it from.
- 1999-05-01 20:11 cvs
- [r12] *** empty log message ***
- 1999-05-01 20:08 cvs
- [r11] Add flag save information for FLAG_CLIENT_SENT that was otherwise
missing. This fixes the disappearing archetype bug.
- 1999-04-26 21:05 azzie
- [r9] Added buffer entry...
-David
- 1999-04-26 21:00 azzie
- [r8] Fixed bug that would drop the unsent parts of a packet before buffering would
start. This would cause the client to get out of sync with commands.
-David
- 1999-04-15 13:32 quinet
- [r7] Replaced my old e-mail address (1993) by the new one: quinet@gamers.org.
- 1999-04-15 00:19 cvs
- [r6] Makefile doesnt really belong in CVS i think
config.h: I got rid of <recycle tmp maps> I hate that
door.c: "none" as a door choice now causes no doors to be placed
style.c: fix for compilation on Solaris contributed by a japanese guy.
- 1999-04-02 19:10 uid200
- [r5] Initial revision