--- crossfire ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: ChangeLog
Revision 1.744qal21 2006/09/17 00:34:39 +4 -0
Change cfapi_object_say() to use either command_say() or npc_say() depending on if the object is a player. Fixes bug #1534889.
Show difference between Revision 1.743 and 1.744
Revision 1.743qal21 2006/09/16 15:12:40 +2 -1
Commit changes forgotten in previous commit of alchemy changes.
Show difference between Revision 1.742 and 1.743
Revision 1.742qal21 2006/09/16 15:01:12 +6 -0
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.
Show difference between Revision 1.741 and 1.742
Revision 1.741qal21 2006/09/16 01:18:50 +4 -0
Make shadow alchemy and random alchemy failures ignore the 'cauldron' type being used. Fixes bug #1551385.
Show difference between Revision 1.740 and 1.741
Revision 1.740qal21 2006/09/12 21:20:09 +3 -0
Large update to the ancient readme file describing the files in lib.
Show difference between Revision 1.739 and 1.740
Revision 1.739qal21 2006/09/11 00:10:50 +2 -0
Add MAX_SPELLITEM_LEVEL set to 110 and set MAXLEVEL to 115.
Show difference between Revision 1.738 and 1.739
Revision 1.738qal21 2006/09/10 17:51:43 +1 -0
Document create_home_portals setting in doc/settings.
Show difference between Revision 1.737 and 1.738
Revision 1.737qal21 2006/09/10 09:55:05 +1 -0
Comment cleanup. No code changes.
Show difference between Revision 1.736 and 1.737
Revision 1.736qal21 2006/09/10 09:21:55 +2 -0
Forgot ChangeLog for: Add check to auto-dropping of applied transports to not drop in shops.
Show difference between Revision 1.735 and 1.736
Revision 1.735qal21 2006/09/10 01:44:27 +4 -0
Make fix_flesh_item only run when the donor is a monster. Fixes bug #1555569.
Show difference between Revision 1.734 and 1.735
Revision 1.734qal21 2006/09/09 19:04:36 +2 -0
Use is_in_shop() to check if it's in a a shop.
Show difference between Revision 1.733 and 1.734
Revision 1.733qal21 2006/09/09 18:46:00 +1 -1
Change yyyy/mm/dd to yyyy-mm-dd in ChangeLog to match the typically used convention.
Show difference between Revision 1.732 and 1.733
Revision 1.732qal21 2006/09/09 18:43:12 +3 -1
Add is_in_shop() and coords_in_shop() based on addition of is_in_shop() in cf+ by elmex.
Show difference between Revision 1.731 and 1.732
Revision 1.731qal21 2006/09/09 15:32:12 +2 -0
When applying a transport which is in an inventory, drop the transport.
Show difference between Revision 1.730 and 1.731
Revision 1.730qal21 2006/09/09 15:31:32 +4 -0
Make drop_object return a pointer to the dropped object, NULL otherwise.
Show difference between Revision 1.729 and 1.730
Revision 1.729lalo 2006/09/09 12:41:10 +4 -0
d'oh, forgot the ChangeLog *again*, sorry
Show difference between Revision 1.728 and 1.729
Revision 1.728mwedel 2006/09/07 01:25:28 +6 -0
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
Show difference between Revision 1.727 and 1.728
Revision 1.727lalo 2006/09/06 19:48:46 +4 -0
make collect.pl ignore backup files just in case
Show difference between Revision 1.726 and 1.727
Revision 1.726lalo 2006/09/06 19:10:57 +3 -0
I suck, forgot the ChangeLog on my last commit
Show difference between Revision 1.725 and 1.726
Revision 1.725qal21 2006/09/06 18:38:50 +3 -0
Make get_god_for_race() safe for gods without races.
Show difference between Revision 1.724 and 1.725
Revision 1.724ryo_saeba 2006/09/04 16:23:32 +5 -0
patch #551467 (type mismatch in surround_flag3() can cause SIGSEGV) courtesy Mark Kidder
Show difference between Revision 1.723 and 1.724
Revision 1.723mwedel 2006/09/04 02:21:04 +32 -0
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
Show difference between Revision 1.722 and 1.723
Revision 1.722qal21 2006/09/03 12:37:15 +3 -0
make Win32 define of uintptr_t more correct.
Show difference between Revision 1.721 and 1.722
Revision 1.721ryo_saeba 2006/09/03 09:45:03 +1 -0
Fix Win32 compilation
Show difference between Revision 1.720 and 1.721
Revision 1.720ryo_saeba 2006/09/03 09:38:07 +4 -0
Potential fix for bug #1551307 (crash in python plugin).
Show difference between Revision 1.719 and 1.720
Revision 1.719ryo_saeba 2006/09/03 09:00:56 +2 -0
Missing return value.
Show difference between Revision 1.718 and 1.719
Revision 1.718ryo_saeba 2006/09/03 08:29:36 +3 -0
Fix bug #1551371 (No-magic prevents monsters from casting spells)
Show difference between Revision 1.717 and 1.718
Revision 1.717ryo_saeba 2006/09/03 08:01:01 +6 -0
#1551386 (Alchemy with unpaid items)
Show difference between Revision 1.716 and 1.717
Revision 1.716mwedel 2006/09/02 22:17:59 +5 -0
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
Show difference between Revision 1.715 and 1.716
Revision 1.715ryo_saeba 2006/09/02 10:23:57 +2 -0
Feature request #1539125 (woodsman makes swamps uesless) by Andreas Kirschbaum
Show difference between Revision 1.714 and 1.715
Revision 1.714ryo_saeba 2006/09/02 09:25:19 +3 -0
Apply patch #1550716 (Frequent crashes after client disconnects) courtesy Mark Kidder
Show difference between Revision 1.713 and 1.714
Revision 1.713mwedel 2006/08/31 02:41:26 +6 -0
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
Show difference between Revision 1.712 and 1.713
Revision 1.712qal21 2006/08/31 00:34:24 +3 -0
Fix missing space in a 'type 17' attack message.
Show difference between Revision 1.711 and 1.712
Revision 1.711qal21 2006/08/28 02:03:29 +4 -0
Fix logic error in fire_bow and avoid unnecessary messages. Fixes bug #1547699.
Show difference between Revision 1.710 and 1.711
Revision 1.710ryo_saeba 2006/08/27 09:11:33 +15 -0
Add constants for many things.
Show difference between Revision 1.709 and 1.710
Revision 1.709ryo_saeba 2006/08/26 12:56:19 +11 -0
Remove obsolete event system.
Show difference between Revision 1.708 and 1.709
Revision 1.708ryo_saeba 2006/08/26 11:09:12 +3 -0
Fix spurious logic in weather_avoid
Show difference between Revision 1.707 and 1.708
Revision 1.707ryo_saeba 2006/08/26 03:08:00 +5 -0
Fix insert_ob_in_map strange behaviour with some flags combo.
Show difference between Revision 1.706 and 1.707
Revision 1.706qal21 2006/08/25 22:30:15 +4 -0
Make generators work properly with multi-tile objects.
Show difference between Revision 1.705 and 1.706
Revision 1.705quinet 2006/08/25 17:57:19 +4 -0
check-fragment.am: Add some quotes to avoid problems with spaces appearing in macro expansions.
Show difference between Revision 1.704 and 1.705
Revision 1.704quinet 2006/08/25 16:27:55 +5 -0
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.
Show difference between Revision 1.703 and 1.704
Revision 1.703quinet 2006/08/25 16:23:18 +4 -0
configure.ac: add option to disable unit tests, fix incorrect usage of
AC_ARG_ENABLE for dmalloc, fix some typos.
Show difference between Revision 1.702 and 1.703
Revision 1.702ryo_saeba 2006/08/25 13:45:03 +4 -0
Static buffers cause strange issues.
Show difference between Revision 1.701 and 1.702
Revision 1.701ryo_saeba 2006/08/23 16:24:58 +4 -0
Buffer overwriting leads to strange issues.
Show difference between Revision 1.700 and 1.701
Revision 1.700ryo_saeba 2006/08/22 16:45:25 +4 -0
Fix for bug #1528636 (Invisible player disappears from map view)
Show difference between Revision 1.699 and 1.700
Revision 1.699mwedel 2006/08/22 02:16:01 +12 -0
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
Show difference between Revision 1.698 and 1.699
Revision 1.698qal21 2006/08/21 15:47:23 +3 -0
Call kill_player() from the kill_object() code. Fixes bug #1539192.
Show difference between Revision 1.697 and 1.698
Revision 1.697qal21 2006/08/21 00:18:01 +2 -0
Make counterspell not effect permenant spell effects. Fixes bug #1539220.
Show difference between Revision 1.696 and 1.697
Revision 1.696qal21 2006/08/20 22:18:43 +4 -0
Add 'getfaces' script I put on the tracker a long time ago and forgot about.
Show difference between Revision 1.695 and 1.696
Revision 1.695ryo_saeba 2006/08/20 04:59:28 +17 -0
Plugin wrappers for timers.
Show difference between Revision 1.694 and 1.695
Revision 1.694qal21 2006/08/19 20:23:08 +2 -0
Scatter objects dropped from a multi-tile object being freed. Fixes bug #1542884
Show difference between Revision 1.693 and 1.694
Revision 1.693qal21 2006/08/19 19:07:12 +3 -0
Make DM 'free' command safe on multi-tile objects.
Show difference between Revision 1.692 and 1.693
Revision 1.692ryo_saeba 2006/08/19 16:23:15 +7 -2
DMs can cast denied spells, that's why they are DMs.
Show difference between Revision 1.691 and 1.692
Revision 1.691ryo_saeba 2006/08/19 15:22:21 +9 -0
Fix for bug #1460251 (Big monsters generated by generators broken). Tweaks to object dumping.
Show difference between Revision 1.690 and 1.691
Revision 1.690ryo_saeba 2006/08/19 12:03:30 +4 -0
Fix for bug #1540158 (Broken spells - Face of Death). Death attack is now always killing
Show difference between Revision 1.689 and 1.690
Revision 1.689quinet 2006/08/18 14:37:22 +7 -2
Recollected archetypes and stripped accent from my name in ChangeLog.
Show difference between Revision 1.688 and 1.689
Revision 1.688ryo_saeba 2006/08/15 08:43:46 +9 -1
Add plugin function to get time of day. Add matching Python function.
Show difference between Revision 1.687 and 1.688
Revision 1.687qal21 2006/08/12 14:38:23 +13 -3
Impliment cfpython map invalidation. Change behavoir of EVENT_MAP*
Show difference between Revision 1.686 and 1.687
Revision 1.686qal21 2006/08/12 14:21:00 +5 -0
Add some artifact descriptions, courtesy of Raphael Quinet
Show difference between Revision 1.685 and 1.686
Revision 1.685gros 2006/08/12 13:59:57 +3 -0

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
Show difference between Revision 1.684 and 1.685
Revision 1.684gros 2006/08/12 09:52:15 +5 -0

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
Show difference between Revision 1.683 and 1.684
Revision 1.683gros 2006/08/12 08:00:33 +3 -0

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
Show difference between Revision 1.682 and 1.683
Revision 1.682gros 2006/08/12 07:23:30 +3 -4

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
Show difference between Revision 1.681 and 1.682
Revision 1.681gros 2006/08/12 07:00:30 +5 -0

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
Show difference between Revision 1.680 and 1.681
Revision 1.680gros 2006/08/12 06:31:54 +4 -0

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
Show difference between Revision 1.679 and 1.680
Revision 1.679gros 2006/08/12 03:52:15 +5 -0

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
Show difference between Revision 1.678 and 1.679
Revision 1.678lalo 2006/08/11 23:09:42 +3 -0
keep converters from accepting unpaid items
Show difference between Revision 1.677 and 1.678
Revision 1.677ryo_saeba 2006/08/11 07:13:01 +4 -0
Help text update
Show difference between Revision 1.676 and 1.677
Revision 1.676ryo_saeba 2006/08/10 11:47:00 +4 -0
Fix minor create bug. Update inventory when using remove.
Show difference between Revision 1.675 and 1.676
Revision 1.675qal21 2006/08/10 01:13:18 +3 -0
Tell the client the map has scrolled when applying transports. Fixes bug #1528565.
Show difference between Revision 1.674 and 1.675
Revision 1.674qal21 2006/08/09 21:35:24 +1 -0
Regions file moved to map tree.
Show difference between Revision 1.673 and 1.674
Revision 1.673qal21 2006/08/09 15:54:44 +3 -0
Setting default listen level to 10.
Show difference between Revision 1.672 and 1.673
Revision 1.672qal21 2006/08/08 13:17:54 +8 -0
Add no_save, and python object invalidation.
Show difference between Revision 1.671 and 1.672
Revision 1.671ryo_saeba 2006/08/08 05:22:12 +5 -0
Feature request #1465397 (improved feedback in character creation for existing names)
Show difference between Revision 1.670 and 1.671
Revision 1.670ryo_saeba 2006/08/08 05:05:34 +10 -0
Feature request #821645 (change password command)
Show difference between Revision 1.669 and 1.670
Revision 1.669ryo_saeba 2006/08/07 08:39:21 +6 -0
Implement feature request #1528641 (consecrate should change face of altar)
Show difference between Revision 1.668 and 1.669
Revision 1.668ryo_saeba 2006/08/07 02:57:54 +4 -0
Tell player whether she's the transport's captain or not
Show difference between Revision 1.667 and 1.668
Revision 1.667ryo_saeba 2006/08/07 02:22:19 +4 -0
Patch #1389033 (Large-value coins) courtesy Lalo Martins
Show difference between Revision 1.666 and 1.667
Revision 1.666ryo_saeba 2006/08/05 04:57:00 +4 -0
Fix bug #1534727 (create_home_portals TRUE doesn't work)
Show difference between Revision 1.665 and 1.666
Revision 1.665ryo_saeba 2006/08/05 03:56:21 +8 -0
Patch #1389432 (Per-race HallOfSelection) courtesy Lalo Martins
Show difference between Revision 1.664 and 1.665
Revision 1.664qal21 2006/07/29 15:44:51 +6 -0
Modify Crossfire_Object_wrap() to use the hash tables provided by hashtable.c to avoid creating more python wrapper objects than is needed.
Show difference between Revision 1.663 and 1.664
Revision 1.663ryo_saeba 2006/07/29 04:29:15 +2 -0
Fix bug #1526364 (stacking Royal Guards)
Show difference between Revision 1.662 and 1.663
Revision 1.662ryo_saeba 2006/07/29 03:39:29 +3 -0
Fix bug #1529969 (shop floor not working in random maps)
Show difference between Revision 1.661 and 1.662
Revision 1.661qal21 2006/07/29 02:12:05 +4 -0
Add hashtable.c for planned use in cfpython.
Show difference between Revision 1.660 and 1.661
Revision 1.660ryo_saeba 2006/07/28 16:13:13 +1 -0
Fix duplicator-related crash
Show difference between Revision 1.659 and 1.660
Revision 1.659ryo_saeba 2006/07/28 15:19:48 +3 -0
Fix addexp not working on skills
Show difference between Revision 1.658 and 1.659
Revision 1.658qal21 2006/07/28 13:25:54 +2 -0
Fix cfpython compiliation on python 2.3
Show difference between Revision 1.657 and 1.658
Revision 1.657qal21 2006/07/28 01:45:29 +7 -0
Add EVENT_DESTROY. Allow execute_event to be called from common.
Show difference between Revision 1.656 and 1.657
Revision 1.656akirschbaum 2006/07/27 17:37:17 +4 -0
common/item.c: In describe_item() correct capacity description of large
(>1000 maxsp) Glowing Crystals.
Show difference between Revision 1.655 and 1.656
Revision 1.655qal21 2006/07/27 01:16:38 +5 -0
Add caching of the bytecode of python scripts, based upon code used in Daimonin's old python plugin before they moved to lua.
Show difference between Revision 1.654 and 1.655
Revision 1.654gros 2006/07/26 10:20:23 +4 -0
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
Show difference between Revision 1.653 and 1.654
Revision 1.653ryo_saeba 2006/07/25 17:37:22 +5 -1
Fix bug #1528194. Fix an annoying message.
Show difference between Revision 1.652 and 1.653
Revision 1.652ryo_saeba 2006/07/25 16:49:28 +3 -0
Fix a crash when DM removes an animated object
Show difference between Revision 1.651 and 1.652
Revision 1.651gros 2006/07/25 13:04:10 +3 -0
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.
Show difference between Revision 1.650 and 1.651
Revision 1.650gros 2006/07/25 11:23:29 +3 -0
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
Show difference between Revision 1.649 and 1.650
Revision 1.649gros 2006/07/25 10:43:27 +6 -0
Forbids the use of reset on oneself's map while in a transport. This is a
workaround for bug #1528172
gros 2006/07/25
Show difference between Revision 1.648 and 1.649
Revision 1.648gros 2006/07/21 05:17:28 +4 -0
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
Show difference between Revision 1.647 and 1.648
Revision 1.647qal21 2006/07/18 17:53:23 +2 -1
Add check to block_linked() to make sure things never block themself.
Show difference between Revision 1.646 and 1.647
Revision 1.646qal21 2006/07/16 22:03:45 +3 -0
Attempt to fix bug #1523571 "Diseases work only on 'head' part".
Show difference between Revision 1.645 and 1.646
Revision 1.645akirschbaum 2006/07/16 03:46:07 +7 -0
Fix player count reporting to the metaserver. It now excludes connections with
not-yet-logged-in players and AFK/WIZ/BOT players.
Show difference between Revision 1.644 and 1.645
Revision 1.644qal21 2006/07/14 12:58:10 +7 -0
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.
Show difference between Revision 1.643 and 1.644
Revision 1.643akirschbaum 2006/07/06 17:08:35 +4 -0
lib/regions: Fix typo in region "portjoseph". Bug #1518392 (Port Joseph
region spelling inconsistent with map directory) by Kevin R. Bulgrien.
Show difference between Revision 1.642 and 1.643
Revision 1.642mwedel 2006/07/05 23:27:46 +4 -0
acinclude.m4, configure: Fix last fix which discarded any passed in
CFLAGS or if that is set in the environment.
MSW 2006-07-05
Show difference between Revision 1.641 and 1.642
Revision 1.641mwedel 2006/07/05 23:22:18 +8 -0
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
Show difference between Revision 1.640 and 1.641
Revision 1.640mwedel 2006/07/05 02:22:03 +7 -0
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
Show difference between Revision 1.639 and 1.640
Revision 1.639ryo_saeba 2006/07/04 16:21:07 +6 -0
Fix memset call.
Show difference between Revision 1.638 and 1.639
Revision 1.638mwedel 2006/06/30 01:49:55 +3 -0
Add banner for 1.9.1 demarcation.
MSW 2006-06-29
Show difference between Revision 1.637 and 1.638
Revision 1.637mwedel 2006/06/30 00:46:51 +6 -0
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
Show difference between Revision 1.636 and 1.637
Revision 1.636mwedel 2006/06/29 01:09:23 +7 -0
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
Show difference between Revision 1.635 and 1.636
Revision 1.635mwedel 2006/06/26 02:31:00 +6 -0
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
Show difference between Revision 1.634 and 1.635
Revision 1.634ryo_saeba 2006/06/24 05:41:42 +3 -0
Fix merging bug.
Show difference between Revision 1.633 and 1.634
Revision 1.633mwedel 2006/06/07 02:10:45 +5 -0
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
Show difference between Revision 1.632 and 1.633
Revision 1.632akirschbaum 2006/06/06 16:38:41 +10 -0
Add commands rules and news to display the rules/news files.
Show difference between Revision 1.631 and 1.632
Revision 1.631mwedel 2006/06/05 02:23:50 +8 -0
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
Show difference between Revision 1.630 and 1.631
Revision 1.630mwedel 2006/06/05 01:28:55 +42 -0
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
Show difference between Revision 1.629 and 1.630
Revision 1.629ryo_saeba 2006/06/03 16:56:24 +8 -0
Implement feature request #815622
Show difference between Revision 1.628 and 1.629
Revision 1.628akirschbaum 2006/06/02 03:19:35 +6 -0
Do not merge renamed items with differing custom names.
Show difference between Revision 1.627 and 1.628
Revision 1.627akirschbaum 2006/06/01 15:55:53 +6 -0
Do not merge locked and unlocked items.
Show difference between Revision 1.626 and 1.627
Revision 1.626akirschbaum 2006/06/01 13:04:46 +1 -0
lib/artifacts: Fix typo to not anymore generate "boots of of steel".
Show difference between Revision 1.625 and 1.626
Revision 1.625akirschbaum 2006/06/01 12:59:30 +1 -0
Fix typo to make bows of Sorig work.
Show difference between Revision 1.624 and 1.625
Revision 1.624akirschbaum 2006/06/01 12:47:22 +3 -0
lib/archetypes, lib/treasures.bld: Rebuilt.
Show difference between Revision 1.623 and 1.624
Revision 1.623mwedel 2006/05/30 02:16:23 +19 -0
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
Show difference between Revision 1.622 and 1.623
Revision 1.622akirschbaum 2006/05/26 18:13:42 +9 -0
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.
Show difference between Revision 1.621 and 1.622
Revision 1.621akirschbaum 2006/05/26 17:29:07 +7 -0
Make attacking with melee in 'fire command work again. Now attacking with
<shift>+<direction> works again.
Show difference between Revision 1.620 and 1.621
Revision 1.620akirschbaum 2006/05/25 12:49:36 +9 -0
Make swarm spells work again. These spells did not work anymore on tiles which
had a move_block type set (for example cobblestones).
Show difference between Revision 1.619 and 1.620
Revision 1.619ryo_saeba 2006/05/25 10:31:47 +4 -0
Fix monster facing bug.
Show difference between Revision 1.618 and 1.619
Revision 1.618akirschbaum 2006/05/21 07:27:46 +1 -0
Skip some processing if NEW_MATERIAL_CODE is undefined.
Show difference between Revision 1.617 and 1.618
Revision 1.617akirschbaum 2006/05/21 07:22:28 +3 -0
Declare some functions as "static".
Show difference between Revision 1.616 and 1.617
Revision 1.616akirschbaum 2006/05/21 05:35:10 +15 -0
Make socket handling more robust.
Show difference between Revision 1.615 and 1.616
Revision 1.615ryo_saeba 2006/05/20 10:47:47 +13 -0
Log hook for plugins. Use it for Python & cfanim.
Show difference between Revision 1.614 and 1.615
Revision 1.614ryo_saeba 2006/05/20 07:37:03 +11 -0
Add a bot flag, to not count in metaserver information
Show difference between Revision 1.613 and 1.614
Revision 1.613mwedel 2006/05/18 00:27:42 +59 -0
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
Show difference between Revision 1.612 and 1.613
Revision 1.612akirschbaum 2006/05/13 16:21:11 +8 -0
Fix server crash when sending addspell command(s).
Show difference between Revision 1.611 and 1.612
Revision 1.611qal21 2006/05/13 00:02:09 +4 -0
Disallow town portal while in transports (caused map corruption, crashes and other nasty things)
Show difference between Revision 1.610 and 1.611
Revision 1.610ryo_saeba 2006/05/05 05:14:03 +4 -0
Fix for bug #1473941 (Damnation bug)
Show difference between Revision 1.609 and 1.610
Revision 1.609ryo_saeba 2006/05/05 04:47:39 +22 -0
Third and last part of patch #1453869 courtesy Stefan Huehner (shuehner)
Show difference between Revision 1.608 and 1.609
Revision 1.608ryo_saeba 2006/05/05 03:52:45 +13 -0
Add Map.Insert(object,x,y) and Player.CanPay( ) to Python plugin
Show difference between Revision 1.607 and 1.608
Revision 1.607cavesomething 2006/04/06 11:58:05 +6 -0
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
Show difference between Revision 1.606 and 1.607
Revision 1.606qal21 2006/04/04 18:34:42 +4 -0
Use object name for swamp messages.
Show difference between Revision 1.605 and 1.606
Revision 1.605akirschbaum 2006/03/22 03:29:05 +6 -0
Fix exploit with alchemy spell. This effectively removes the improvement
implemented at 2006-03-07.
Show difference between Revision 1.604 and 1.605
Revision 1.604akirschbaum 2006/03/18 19:51:46 +5 -0
Apply patch by Stefan Huehner: add const where appropriate.
Show difference between Revision 1.603 and 1.604
Revision 1.603ryo_saeba 2006/03/18 13:30:54 +1 -1
Forgot one file.
Show difference between Revision 1.602 and 1.603
Revision 1.602ryo_saeba 2006/03/18 11:15:23 +9 -0
Use const when possible. Patch courtesy Stefan Huehner.
Show difference between Revision 1.601 and 1.602
Revision 1.601ryo_saeba 2006/03/18 10:43:52 +4 -0
Removed unused file
Show difference between Revision 1.600 and 1.601
Revision 1.600ryo_saeba 2006/03/18 10:24:42 +7 -0
Add add_key to set_key (object) for plugins.
Show difference between Revision 1.599 and 1.600
Revision 1.599ryo_saeba 2006/03/18 09:05:30 +14 -0
Massive cleaning of code. Shouldn't be any functional change.
Show difference between Revision 1.598 and 1.599
Revision 1.598akirschbaum 2006/03/16 15:54:35 +9 -0
Apply patch #1450408 (Improved hash table) by cf.schmorp.de development team.
Show difference between Revision 1.597 and 1.598
Revision 1.597akirschbaum 2006/03/16 14:59:50 +9 -0
Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove
unused code, add static/const where appropriate.
Show difference between Revision 1.596 and 1.597
Revision 1.596ryo_saeba 2006/03/14 11:12:27 +3 -0
Fix memory leak and uninitialized variable
Show difference between Revision 1.595 and 1.596
Revision 1.595ryo_saeba 2006/03/14 09:53:13 +1 -0
Disabled some unused big arrays.
Show difference between Revision 1.594 and 1.595
Revision 1.594ryo_saeba 2006/03/14 09:33:28 +2 -0
Fix monster/scroll crash, based on patch by the cf.schmorp.de development team
Show difference between Revision 1.593 and 1.594
Revision 1.593ryo_saeba 2006/03/14 09:25:24 +2 -0
Merge 2 functions which are the same
Show difference between Revision 1.592 and 1.593
Revision 1.592ryo_saeba 2006/03/14 08:41:00 +3 -1
Apply patch #1445892 (transmute_materialname crash) courtesy the cf.schmorp.de development team
Show difference between Revision 1.591 and 1.592
Revision 1.591ryo_saeba 2006/03/14 08:34:16 +3 -0
Fix merging bug with inscription
Show difference between Revision 1.590 and 1.591
Revision 1.590mwedel 2006/03/14 01:41:49 +9 -0
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
Show difference between Revision 1.589 and 1.590
Revision 1.589akirschbaum 2006/03/07 15:28:26 +7 -0
Fix possible exploit with shadow alchemy. Also improve the alchemy spell to
yield more nuggets.
Show difference between Revision 1.588 and 1.589
Revision 1.588cavesomething 2006/03/07 12:45:59 +11 -0
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
Show difference between Revision 1.587 and 1.588
Revision 1.587akirschbaum 2006/03/04 11:37:09 +9 -0
Apply modified parts of patch #1439490 (Fix in random map generation) by CF
Development Team Schmorp.de <crossfire@schmorp.de>.
Show difference between Revision 1.586 and 1.587
Revision 1.586akirschbaum 2006/03/04 10:34:25 +6 -0
Apply patch #1436833 (Patch for forked lightning crash at map borders) by CF
Development Team Schmorp.de <crossfire@schmorp.de>.
Show difference between Revision 1.585 and 1.586
Revision 1.585akirschbaum 2006/02/27 14:12:43 +1 -0
common/loader.c: Rebuilt.
Show difference between Revision 1.584 and 1.585
Revision 1.584akirschbaum 2006/02/27 14:08:35 +3 -0
common/loader.l: Prevent excess whitespace while saving objects.
Show difference between Revision 1.583 and 1.584
Revision 1.583akirschbaum 2006/02/27 14:06:50 +8 -0
Apply patch by Marc Alexander Lehmann to improve server performance.
Show difference between Revision 1.582 and 1.583
Revision 1.582akirschbaum 2006/02/26 09:57:16 +1 -0
lib/archetypes: Rebuilt.
Show difference between Revision 1.581 and 1.582
Revision 1.581akirschbaum 2006/02/26 09:54:07 +4 -0
lib/collect.pl.in: Again fix generation of 'editor_folder' field to make
sub-folder selection work again.
Show difference between Revision 1.580 and 1.581
Revision 1.580akirschbaum 2006/02/26 09:47:46 +1 -1
Fix credits for patch.
Show difference between Revision 1.579 and 1.580
Revision 1.579mwedel 2006/02/25 03:08:51 +3 -0
Update some of the documentation - way out of date.
Update configure.ac for 1.9.0 release.
MSW 2006-02-18
Show difference between Revision 1.578 and 1.579
Revision 1.578mwedel 2006/02/25 02:41:47 +6 -0
*/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
Show difference between Revision 1.577 and 1.578
Revision 1.577ryo_saeba 2006/02/23 16:24:55 +11 -0
Patch #1428057 courtesy Pippijn van Steenhoven: fix to a crashing bug in plugins
Show difference between Revision 1.576 and 1.577
Revision 1.576akirschbaum 2006/02/22 03:47:34 +6 -0
Remove object type CONFUSION since it was not used anymore.
Show difference between Revision 1.575 and 1.576
Revision 1.575akirschbaum 2006/02/21 00:47:37 +1 -0
lib/{archetypes,bmaps.paths,crossfire.0}: Rebuilt.
Show difference between Revision 1.574 and 1.575
Revision 1.574akirschbaum 2006/02/20 23:37:21 +4 -0
lib/collect.pl.in: Fix generation of 'editor_folder' field. It did not work
too well for .arc files in deep subdirs.
Show difference between Revision 1.573 and 1.574
Revision 1.573qal21 2006/02/20 17:33:32 +5 -0
Cause the random map generator to skip certain elements if the style is set to "none".
Show difference between Revision 1.572 and 1.573
Revision 1.572cavesomething 2006/02/20 12:43:23 +4 -0
fix crash when sending spell info if there no associated skill
Show difference between Revision 1.571 and 1.572
Revision 1.571akirschbaum 2006/02/19 12:06:22 +6 -0
Do not allow to dimension door into monsters or earthwalls.
Show difference between Revision 1.570 and 1.571
Revision 1.570akirschbaum 2006/02/19 11:27:32 +3 -0
random_maps/style.c: In find_style() fix access to uninitialized variable.
Show difference between Revision 1.569 and 1.570
Revision 1.569akirschbaum 2006/02/19 08:29:14 +6 -0
Prevent crossedit from stripping out 'maplore' map header field.
Show difference between Revision 1.568 and 1.569
Revision 1.568akirschbaum 2006/02/17 15:37:39 +1 -0
common/loader.c: Rebuilt.
Show difference between Revision 1.567 and 1.568
Revision 1.567akirschbaum 2006/02/17 15:29:47 +6 -0
Apply patch #1433271 (code-cleanup) by Stefan Huehner: Add const and static.
Show difference between Revision 1.566 and 1.567
Revision 1.566mwedel 2006/02/17 02:04:42 +5 -0
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
Show difference between Revision 1.565 and 1.566
Revision 1.565ryo_saeba 2006/02/15 14:37:44 +5 -0
Commit forgotten file
Show difference between Revision 1.564 and 1.565
Revision 1.564mwedel 2006/02/15 01:51:08 +10 -0
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
Show difference between Revision 1.563 and 1.564
Revision 1.563ryo_saeba 2006/02/14 16:31:33 +11 -0
Misc plugin fixes
Show difference between Revision 1.562 and 1.563
Revision 1.562ryo_saeba 2006/02/14 14:46:26 +1 -1
Swamp fixes.
Show difference between Revision 1.561 and 1.562
Revision 1.561ryo_saeba 2006/02/14 14:45:48 +5 -0
Swamp fixes.
Show difference between Revision 1.560 and 1.561
Revision 1.560akirschbaum 2006/02/11 08:05:32 +5 -0
Apply modified patch #1428048 (make the log line buffered) by Marc Lehmann.
Show difference between Revision 1.559 and 1.560
Revision 1.559akirschbaum 2006/02/10 18:21:09 +5 -1
server/apply.c: In apply_scroll() do not identify the scroll if the player
lacks the literacy skill.
Show difference between Revision 1.558 and 1.559
Revision 1.558akirschbaum 2006/02/10 17:59:24 +13 -1
Apply slightly modified patch #1428309 (code-cleanup: const, static) by
Stefan Huehner: add const/static to functions/variables. Remove some type
casts.
Show difference between Revision 1.557 and 1.558
Revision 1.557cavesomething 2006/02/09 20:17:01 +6 -0
make the dm stats command print Int and damage, display in sequential order, and add a help file for the command
Show difference between Revision 1.556 and 1.557
Revision 1.556ryo_saeba 2006/02/09 15:58:36 +8 -1
Missing file, changelog
Show difference between Revision 1.555 and 1.556
Revision 1.555akirschbaum 2006/02/09 15:25:44 +8 -0
Apply modified patch by Pippijn van Steenhoven to fix get_rangevector
functions on tiled maps.
Show difference between Revision 1.554 and 1.555
Revision 1.554cavesomething 2006/02/08 19:51:55 +4 -0
lock players' starting items to make it less likely they will accidentally drop them
Show difference between Revision 1.553 and 1.554
Revision 1.553akirschbaum 2006/02/08 18:48:36 +8 -0
Apply patch #1427979 (code-cleanup: add const, fix warnings) by Stefan
Huehner.
Show difference between Revision 1.552 and 1.553
Revision 1.552akirschbaum 2006/02/08 17:53:17 +10 -0
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.
Show difference between Revision 1.551 and 1.552
Revision 1.551mwedel 2006/02/08 00:53:23 +5 -0
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
Show difference between Revision 1.550 and 1.551
Revision 1.550cavesomething 2006/02/07 19:52:57 +10 -0
add arrest command, and regional jails
Show difference between Revision 1.549 and 1.550
Revision 1.549mwedel 2006/02/07 01:54:44 +42 -0
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
Show difference between Revision 1.548 and 1.549
Revision 1.548mwedel 2006/02/04 23:27:06 +25 -0
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
Show difference between Revision 1.547 and 1.548
Revision 1.547akirschbaum 2006/02/03 19:32:36 +5 -0
Fix attack messages containing random characters.
Show difference between Revision 1.546 and 1.547
Revision 1.546cavesomething 2006/02/02 20:34:20 +4 -0
fix bug #1413239 related to the who command
Show difference between Revision 1.545 and 1.546
Revision 1.545cavesomething 2006/01/30 11:00:31 +7 -0
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
Show difference between Revision 1.544 and 1.545
Revision 1.544ryo_saeba 2006/01/15 10:50:29 +10 -0
Custom commands fixes. Global logout event change.
Show difference between Revision 1.543 and 1.544
Revision 1.543akirschbaum 2006/01/13 15:26:25 +4 -0
socket/request.c: In ReplyCmd() make sure the reply does not cause a buffer
overflow.
Show difference between Revision 1.542 and 1.543
Revision 1.542cavesomething 2006/01/13 14:42:02 +4 -0
fix a crash bug in addspell packet formation
Show difference between Revision 1.541 and 1.542
Revision 1.541cavesomething 2006/01/11 10:27:59 +3 -0
stop rename crashing if there is no name to rename to when object is passed by number.
Show difference between Revision 1.540 and 1.541
Revision 1.540cavesomething 2006/01/10 20:03:27 +4 -0
allow rename command to use item tag instead of name
Show difference between Revision 1.539 and 1.540
Revision 1.539cavesomething 2006/01/10 10:32:43 +21 -0
allow spells cast by number to take options, also the changelog entry which I forgot from the last commit
Show difference between Revision 1.538 and 1.539
Revision 1.538cavesomething 2006/01/08 20:02:42 +4 -0
Allow cast and invoke commands to select spells by count as well as name
Show difference between Revision 1.537 and 1.538
Revision 1.537akirschbaum 2006/01/08 15:02:04 +2 -0
include/newserver.h, socket/{init.c,request.c}: Remove unused fields ext2 and
ext_title_flag from NewSocket structure.
Show difference between Revision 1.536 and 1.537
Revision 1.536akirschbaum 2006/01/08 10:54:37 +1 -0
server/skills.c: Fix/improve feedback messages for stealing skill.
Show difference between Revision 1.535 and 1.536
Revision 1.535akirschbaum 2006/01/08 10:31:11 +13 -0
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.
Show difference between Revision 1.534 and 1.535
Revision 1.534akirschbaum 2006/01/08 08:34:48 +2 -2
server/plugins.c: Just whitespace changes to make it conform to
programming_guide.
Show difference between Revision 1.533 and 1.534
Revision 1.533akirschbaum 2006/01/08 07:45:30 +2 -0
plugins/cfpython/cfpython.c: Just whitespace changes to make it conform to
programming_guide.
Show difference between Revision 1.532 and 1.533
Revision 1.532akirschbaum 2006/01/08 07:23:24 +1 -0
plugins/cfpython/cfpython.c: Make sure context->options always is initialized.
Show difference between Revision 1.531 and 1.532
Revision 1.531akirschbaum 2006/01/08 07:06:56 +1 -0
server/main.c: Make code more readable; use snprintf where appropriate.
Show difference between Revision 1.530 and 1.531
Revision 1.530akirschbaum 2006/01/08 05:05:39 +3 -0
crossedit/Cnv/CnvPrompt.c: Make file compilable with Ansi C89 compiler.
Show difference between Revision 1.529 and 1.530
Revision 1.529qal21 2006/01/08 00:48:18 +5 -5
Remove win32 cr characters
Show difference between Revision 1.528 and 1.529
Revision 1.528ryo_saeba 2006/01/07 17:37:46 +5 -0
Dispatch Python event handler scripts in subdirectories.
Show difference between Revision 1.527 and 1.528
Revision 1.527akirschbaum 2006/01/07 12:56:51 +2 -0
Use named constants instead of numbers.
Show difference between Revision 1.526 and 1.527
Revision 1.526akirschbaum 2006/01/07 12:30:05 +3 -0
server/monster.c: Use correct field name in move_monster().
Show difference between Revision 1.525 and 1.526
Revision 1.525akirschbaum 2006/01/07 12:13:50 +6 -0
Summon pets less often to the owner on tiled maps.
Show difference between Revision 1.524 and 1.525
Revision 1.524akirschbaum 2006/01/07 12:05:03 +8 -0
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.
Show difference between Revision 1.523 and 1.524
Revision 1.523ryo_saeba 2006/01/07 11:41:31 +18 -0
Regions support for plugins
Show difference between Revision 1.522 and 1.523
Revision 1.522akirschbaum 2006/01/07 08:30:06 +6 -0
Make teleporters hidden below the floor work again.
Show difference between Revision 1.521 and 1.522
Revision 1.521akirschbaum 2006/01/07 06:49:21 +8 -0
Fix issues with map tiling.
Show difference between Revision 1.520 and 1.521
Revision 1.520qal21 2006/01/07 00:33:08 +1 -2
Actually, reletive paths should work from unique maps too; my thoughts on why they woudln't be for are flawed.
Show difference between Revision 1.519 and 1.520
Revision 1.519qal21 2006/01/06 12:55:37 +2 -0
Allow map tiling paths to be reletive unless tiling from a unique map.
Show difference between Revision 1.518 and 1.519
Revision 1.518qal21 2006/01/06 12:38:17 +2 -1
Template maps: Improve reletive path support
Show difference between Revision 1.517 and 1.518
Revision 1.517qal21 2006/01/05 12:22:30 +3 -0
Template maps: Update changelog (forgot to before)
Show difference between Revision 1.516 and 1.517
Revision 1.516akirschbaum 2006/01/04 15:50:05 +6 -0
Make SIGNs (including Magic Mouths) trigger for DMs again. Does not reduce the
counter if in 'wizpass mode.
Show difference between Revision 1.515 and 1.516
Revision 1.515mwedel 2006/01/02 00:45:52 +4 -1
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
Show difference between Revision 1.514 and 1.515
Revision 1.514mwedel 2006/01/01 23:50:22 +4 -0
server/c_chat.c: Apply patch 1389113 - orcknuckle messages appear in
same window.
MSW 2006-01-02
Show difference between Revision 1.513 and 1.514
Revision 1.513akirschbaum 2006/01/01 14:57:23 +5 -0
Prefer marked item when throwing objects.
Show difference between Revision 1.512 and 1.513
Revision 1.512akirschbaum 2006/01/01 14:36:00 +7 -0
Make EXITs affect DM players again.
Show difference between Revision 1.511 and 1.512
Revision 1.511akirschbaum 2006/01/01 07:38:53 +5 -0
Make forked lightning correctly traverse tiled maps.
Show difference between Revision 1.510 and 1.511
Revision 1.510akirschbaum 2006/01/01 07:03:00 +9 -0
Properly unready forgotten spells. Prevents crashing the server if casting a
forgotten spell.
Show difference between Revision 1.509 and 1.510
Revision 1.509akirschbaum 2006/01/01 05:58:21 +11 -0
Improve the commands learn_spell and forget_spell: now these commands accept
partial spell names and print sensible error messages if they fail.
Show difference between Revision 1.508 and 1.509
Revision 1.508ryo_saeba 2006/01/01 05:33:40 +4 -0
Reference-related crashes
Show difference between Revision 1.507 and 1.508
Revision 1.507akirschbaum 2005/12/31 13:56:27 +7 -0
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.
Show difference between Revision 1.506 and 1.507
Revision 1.506ryo_saeba 2005/12/31 12:20:21 +4 -0
Don't print file not found messages for global events.
Show difference between Revision 1.505 and 1.506
Revision 1.505ryo_saeba 2005/12/28 03:54:47 +5 -0
Scripts don't share variables anymore.
Show difference between Revision 1.504 and 1.505
Revision 1.504ryo_saeba 2005/12/27 08:38:15 +5 -0
Apply patch #1383359 (Fix death message) courtesy Anton Oussik
Show difference between Revision 1.503 and 1.504
Revision 1.503akirschbaum 2005/12/23 15:56:57 +4 -0
server/skills.c: In steal() do not give exp for stealing from pets since this
can be exploited to gain exp over and over.
Show difference between Revision 1.502 and 1.503
Revision 1.502ryo_saeba 2005/12/17 12:21:44 +21 -0
Plugins can get party information
Show difference between Revision 1.501 and 1.502
Revision 1.501akirschbaum 2005/12/15 15:50:44 +3 -0
server/attack.c: Make spells destroy objects again.
Show difference between Revision 1.500 and 1.501
Revision 1.500ryo_saeba 2005/12/13 16:17:18 +4 -0
Moved natural resistances display from statistics to resistances
Show difference between Revision 1.499 and 1.500
Revision 1.499ryo_saeba 2005/12/11 14:57:14 +4 -0
Fix Win32 compilation
Show difference between Revision 1.498 and 1.499
Revision 1.498akirschbaum 2005/12/11 13:11:31 +12 -0
Fix buffer overflows which can be triggered remotely.
Show difference between Revision 1.497 and 1.498
Revision 1.497akirschbaum 2005/12/11 06:32:43 +3 -0
lib/collect.pl.in: General cleanup - just whitespace changes.
Show difference between Revision 1.496 and 1.497
Revision 1.496akirschbaum 2005/12/11 05:56:17 +6 -0
Prevent the map loader from crashing when loading maps with incorrect headers.
Changes are based on patch #1275563 by Kevin Rudat.
Show difference between Revision 1.495 and 1.496
Revision 1.495akirschbaum 2005/12/10 17:34:07 +1 -1
Fix credits for patch.
Show difference between Revision 1.494 and 1.495
Revision 1.494akirschbaum 2005/12/10 17:32:53 +9 -0
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.
Show difference between Revision 1.493 and 1.494
Revision 1.493akirschbaum 2005/12/10 08:47:19 +2 -0
server/move.c: In move_ob() print error message instead of crashing: check
passed arguments before accessing them.
Show difference between Revision 1.492 and 1.493
Revision 1.492akirschbaum 2005/12/10 08:27:08 +5 -0
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().
Show difference between Revision 1.491 and 1.492
Revision 1.491ryo_saeba 2005/12/09 16:17:11 +4 -0
Fix Windows compilation
Show difference between Revision 1.490 and 1.491
Revision 1.490akirschbaum 2005/12/09 15:34:17 +1 -0
crossedit/Makefile.in: Rebuilt.
Show difference between Revision 1.489 and 1.490
Revision 1.489akirschbaum 2005/12/09 15:24:06 +14 -0
Apply slightly modified first part of patch #1275563 (Crossedit: fix map
attributes window): make the map attributes dialogs work again.
Show difference between Revision 1.488 and 1.489
Revision 1.488akirschbaum 2005/12/08 15:57:17 +1 -0
common/Makefile.in, include/Makefile.in: Rebuilt.
Show difference between Revision 1.487 and 1.488
Revision 1.487akirschbaum 2005/12/08 15:50:15 +11 -0
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.
Show difference between Revision 1.486 and 1.487
Revision 1.486akirschbaum 2005/12/07 15:02:23 +2 -0
server/ban.c: General cleanup - whitespace changes, rename variable names.
Should not affect function.
Show difference between Revision 1.485 and 1.486
Revision 1.485akirschbaum 2005/12/07 14:29:17 +5 -0
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).
Show difference between Revision 1.484 and 1.485
Revision 1.484akirschbaum 2005/12/07 13:39:02 +7 -0
Apply slightly modified patch #1293744 (Inversed ban entries) by Thomas
Equeter.
Show difference between Revision 1.483 and 1.484
Revision 1.483akirschbaum 2005/12/07 12:25:52 +14 -0
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.
Show difference between Revision 1.482 and 1.483
Revision 1.482akirschbaum 2005/12/05 17:34:03 +8 -0
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.
Show difference between Revision 1.481 and 1.482
Revision 1.481akirschbaum 2005/12/05 17:01:30 +1 -0
common/loader.c: Rebuilt.
Show difference between Revision 1.480 and 1.481
Revision 1.480akirschbaum 2005/12/05 16:58:33 +15 -0
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.
Show difference between Revision 1.479 and 1.480
Revision 1.479ryo_saeba 2005/12/04 07:26:37 +9 -0
New plugin property 'marked item'
Show difference between Revision 1.478 and 1.479
Revision 1.478ryo_saeba 2005/12/04 05:01:20 +3 -0
References fix
Show difference between Revision 1.477 and 1.478
Revision 1.477akirschbaum 2005/12/04 00:35:34 +6 -0
Fix bug #1372194 (stairways now block movement).
Show difference between Revision 1.476 and 1.477
Revision 1.476akirschbaum 2005/12/02 15:09:12 +3 -0
server/apply.c: In move_apply() properly decrement recursion counter.
Show difference between Revision 1.475 and 1.476
Revision 1.475mwedel 2005/12/01 02:25:45 +7 -0
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
Show difference between Revision 1.474 and 1.475
Revision 1.474akirschbaum 2005/11/30 14:59:08 +6 -0
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.
Show difference between Revision 1.473 and 1.474
Revision 1.473mwedel 2005/11/30 02:10:12 +3 -0
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
Show difference between Revision 1.472 and 1.473
Revision 1.472mwedel 2005/11/30 01:58:46 +7 -0
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
Show difference between Revision 1.471 and 1.472
Revision 1.471akirschbaum 2005/11/28 13:50:33 +4 -0
common/object.c: Fix wrong comparision operator in free_object2() to make
monsters drop loot again.
Show difference between Revision 1.470 and 1.471
Revision 1.470ryo_saeba 2005/11/27 08:16:44 +8 -0
Add a filter to skills command
Show difference between Revision 1.469 and 1.470
Revision 1.469ryo_saeba 2005/11/26 08:04:03 +19 -14
Wrappers for map properties get
Show difference between Revision 1.468 and 1.469
Revision 1.468akirschbaum 2005/11/23 17:04:39 +3 -0
plugins/cfpython/Makefile.in: rebuilt.
Show difference between Revision 1.467 and 1.468
Revision 1.467ryo_saeba 2005/11/20 09:08:38 +14 -0
Plugins can access archetypes. Added wrappers in Python.
Show difference between Revision 1.466 and 1.467
Revision 1.466cavesomething 2005/11/19 15:05:30 +4 -0
increase the minimum value that shop_specialisation_ratio returns to 0.1 to stop very high shop prices
Show difference between Revision 1.465 and 1.466
Revision 1.465mwedel 2005/11/16 02:15:59 +22 -0
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
Show difference between Revision 1.464 and 1.465
Revision 1.464ryo_saeba 2005/11/12 07:49:07 +6 -0
Patch 1352485 (newpickup rings/amulets) courtesy anonymous
Show difference between Revision 1.463 and 1.464
Revision 1.463akirschbaum 2005/11/10 02:22:11 +3 -0
server/plugins.c: Properly update client view after removing objects.
Show difference between Revision 1.462 and 1.463
Revision 1.462akirschbaum 2005/11/09 16:27:19 +1 -0
server/plugins.c: Properly update client view after changing object names.
Show difference between Revision 1.461 and 1.462
Revision 1.461akirschbaum 2005/11/09 15:52:11 +2 -1
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.
Show difference between Revision 1.460 and 1.461
Revision 1.460akirschbaum 2005/11/09 15:46:59 +3 -0
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.
Show difference between Revision 1.459 and 1.460
Revision 1.459akirschbaum 2005/11/09 13:34:17 +4 -0
include/sproto.h, server/monster.c: Declare parameter of communicate() as
"const".
Show difference between Revision 1.458 and 1.459
Revision 1.458akirschbaum 2005/11/09 13:08:26 +12 -0
Implement new functions for the Python plugin: Object.WeightLimit,
Object.InsertInto(Object).
Show difference between Revision 1.457 and 1.458
Revision 1.457cavesomething 2005/11/09 09:37:29 +5 -0
check all unpaid items on leaving shops, not stopping when we reach the bottom of a container
Show difference between Revision 1.456 and 1.457
Revision 1.456ryo_saeba 2005/11/07 17:25:44 +4 -0
Fix crash with Python plugin.
Show difference between Revision 1.455 and 1.456
Revision 1.455ryo_saeba 2005/11/06 06:24:31 +3 -0
Fix WoR not working on cursed ground with WIZCAST set for DM
Show difference between Revision 1.454 and 1.455
Revision 1.454akirschbaum 2005/11/06 06:14:02 +4 -0
server/skills.c: In do_throw() abort processing if the thrown object was
destroyed before it gets its first move.
Show difference between Revision 1.453 and 1.454
Revision 1.453ryo_saeba 2005/11/05 15:32:16 +3 -0
Fix build issue with floors that are not type FLOOR.
Show difference between Revision 1.452 and 1.453
Revision 1.452akirschbaum 2005/11/05 14:38:23 +4 -0
server/shop.c: In value_limit() return the unmodified item price if not in a
shop or not for a player.
Show difference between Revision 1.451 and 1.452
Revision 1.451ryo_saeba 2005/11/05 14:33:16 +4 -0
Added data retention functions to Python
Show difference between Revision 1.450 and 1.451
Revision 1.450akirschbaum 2005/11/05 09:45:31 +2 -0
plugins/Makefile,plugins/cfanim/Makefile: Remove files to be generated by
configure.
Show difference between Revision 1.449 and 1.450
Revision 1.449akirschbaum 2005/11/05 08:02:31 +3 -0
server/main.c: Fix possible out-of-bounds array access.
Show difference between Revision 1.448 and 1.449
Revision 1.448ryo_saeba 2005/11/05 05:17:08 +10 -0
Fix case. Add compare for map and object.
Show difference between Revision 1.447 and 1.448
Revision 1.447akirschbaum 2005/11/05 04:17:16 +2 -0
aclocal.m4, configure, utils/config.guess, utils/config.sub, utils/ltmain.sh,
*Makefile.in, plugins/cfanim/Makefile, plugins/Makefile: Rebuilt.
Show difference between Revision 1.446 and 1.447
Revision 1.446akirschbaum 2005/11/05 02:28:05 +4 -0
lib/Makefile.am: Add template-maps to list of directories to create while
install.
Show difference between Revision 1.445 and 1.446
Revision 1.445cavesomething 2005/11/04 23:16:02 +3 -0
document use of '.' as an argument to reset
Show difference between Revision 1.444 and 1.445
Revision 1.444akirschbaum 2005/11/01 14:52:04 +4 -0
random_maps/treasure.c: Fix out-of-bounds array access if place_chest() cannot
find a free spot to place a new chest.
Show difference between Revision 1.443 and 1.444
Revision 1.443akirschbaum 2005/11/01 12:56:36 +10 -0
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.
Show difference between Revision 1.442 and 1.443
Revision 1.442akirschbaum 2005/11/01 09:36:18 +7 -0
Fix bug #815620 (CFPython.SetQuantity() doesn't update client): now notifies
the client after changing nrof and/or weight.
Show difference between Revision 1.441 and 1.442
Revision 1.441akirschbaum 2005/11/01 07:42:15 +7 -0
Improve newpickup command: add new flag PU_NOT_CURSED to ignore cursed items.
Show difference between Revision 1.440 and 1.441
Revision 1.440ryo_saeba 2005/11/01 05:48:43 +6 -2
Fix CFAnim for Win32. Misc fixes.
Show difference between Revision 1.439 and 1.440
Revision 1.439ryo_saeba 2005/11/01 05:08:49 +4 -0
Add gettimeofday for WIN32.
Show difference between Revision 1.438 and 1.439
Revision 1.438akirschbaum 2005/11/01 05:05:32 +5 -0
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.
Show difference between Revision 1.437 and 1.438
Revision 1.437akirschbaum 2005/11/01 04:08:17 +7 -0
Add new function object_get_env_recursive() to find the outermost environment
object for a given object.
Show difference between Revision 1.436 and 1.437
Revision 1.436akirschbaum 2005/11/01 02:58:43 +8 -0
General cleanup of weather code.
Show difference between Revision 1.435 and 1.436
Revision 1.435akirschbaum 2005/10/31 15:22:59 +20 -0
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.
Show difference between Revision 1.434 and 1.435
Revision 1.434ryo_saeba 2005/10/31 12:44:01 +4 -0
Fix a crash with create command. Forbid removing a PLAYER object.
Show difference between Revision 1.433 and 1.434
Revision 1.433akirschbaum 2005/10/29 19:16:53 +5 -3
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.
Show difference between Revision 1.432 and 1.433
Revision 1.432akirschbaum 2005/10/29 17:03:43 +4 -0
random_maps/style.c: Pass correct sorting function to qsort(): the sorted
array contains pointers to strings, not strings.
Show difference between Revision 1.431 and 1.432
Revision 1.431akirschbaum 2005/10/29 16:59:41 +6 -0
Fix part of bug #1236244 (Exp from scrolls): reading a scroll of charm
monsters now gives exp for use magic item, not summoning.
Show difference between Revision 1.430 and 1.431
Revision 1.430ryo_saeba 2005/10/29 04:34:01 +9 -0
Win32 compilation fix. Plugin fix.
Show difference between Revision 1.429 and 1.430
Revision 1.429akirschbaum 2005/10/28 18:43:30 +18 -0
Prevent problems (crashes) for large item piles. Now limit nrof to less than 2^31.
Show difference between Revision 1.428 and 1.429
Revision 1.428akirschbaum 2005/10/28 14:08:52 +17 -0
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).
Show difference between Revision 1.427 and 1.428
Revision 1.427akirschbaum 2005/10/28 13:19:51 +10 -0
Fixes my previous commit. Should now properly allocate/deallocate the
faces_sent array.
Show difference between Revision 1.426 and 1.427
Revision 1.426akirschbaum 2005/10/24 17:51:03 +10 -0
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.
Show difference between Revision 1.425 and 1.426
Revision 1.425akirschbaum 2005/10/24 15:48:14 +11 -0
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.
Show difference between Revision 1.424 and 1.425
Revision 1.424akirschbaum 2005/10/24 14:49:10 +2 -0
common/readable.c: Fix out of bounds access to max_titles[] in
init_book_archive().
Show difference between Revision 1.423 and 1.424
Revision 1.423akirschbaum 2005/10/24 13:27:37 +2 -0
common/image.c, include/define.h, include/global.h: Remove unused variables
potion_face and POTION_FACE_NAME.
Show difference between Revision 1.422 and 1.423
Revision 1.422akirschbaum 2005/10/24 13:11:35 +3 -0
common/image.c, include/global.h: Remove unused variable blank_look.
Show difference between Revision 1.421 and 1.422
Revision 1.421akirschbaum 2005/10/23 10:44:41 +4 -0
Make shout command work in old socket emulation mode.
Show difference between Revision 1.420 and 1.421
Revision 1.420cavesomething 2005/10/21 14:03:24 +8 -0
make shops check if a player can afford all items, before buying any of them
Show difference between Revision 1.419 and 1.420
Revision 1.419gros 2005/10/20 04:34:15 +19 -0
Updated the changelog to include the recent plugin modifications.
Gros - 20/10/2005
Show difference between Revision 1.418 and 1.419
Revision 1.418ryo_saeba 2005/10/18 17:08:10 +5 -0
Fix Windows compilation
Show difference between Revision 1.417 and 1.418
Revision 1.417qal21 2005/10/18 07:21:48 +1 -0
Silly me forgot to date the changelog again.
Show difference between Revision 1.416 and 1.417
Revision 1.416qal21 2005/10/18 02:19:40 +3 -0
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.
Show difference between Revision 1.415 and 1.416
Revision 1.415qal21 2005/10/16 17:52:46 +5 -0
Template maps: Forgot the ChangeLog
Show difference between Revision 1.414 and 1.415
Revision 1.414ryo_saeba 2005/10/16 12:51:03 +1 -0
Fix -m1 and -m2
Show difference between Revision 1.413 and 1.414
Revision 1.413ryo_saeba 2005/10/16 03:48:28 +7 -0
Don't stack WoR effects. Don't display 'can't recast xx' message for divine intervention
Show difference between Revision 1.412 and 1.413
Revision 1.412qal21 2005/10/15 02:19:38 +1 -0
Forgot to date ChangeLog entry
Show difference between Revision 1.411 and 1.412
Revision 1.411qal21 2005/10/15 02:08:09 +4 -0
Add directory in preparation for template (where the template can be from the random map generator) maps. (Forgot ChangeLog)
Show difference between Revision 1.410 and 1.411
Revision 1.410cavesomething 2005/10/13 20:01:22 +4 -0
make reset command print names of players that are stopping it from working
Show difference between Revision 1.409 and 1.410
Revision 1.409cavesomething 2005/10/11 18:26:32 +3 -0
yet another party obsoletion bug fixed
Show difference between Revision 1.408 and 1.409
Revision 1.408cavesomething 2005/10/11 15:44:50 +3 -0
fix a party obsoletion bug
Show difference between Revision 1.407 and 1.408
Revision 1.407ryo_saeba 2005/10/09 03:49:58 +5 -0
Fix bug in key/value. Can now drop item when applying food/potion/poison.
Show difference between Revision 1.406 and 1.407
Revision 1.406ryo_saeba 2005/10/08 04:56:43 +10 -0
Removed gps code. Added GetMarkedItem to Python
Show difference between Revision 1.405 and 1.406
Revision 1.405akirschbaum 2005/10/07 18:35:33 +8 -0
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.
Show difference between Revision 1.404 and 1.405
Revision 1.404qal21 2005/10/07 14:41:48 +4 -0
Use object_create_clone in get_split_ob; Fixes things inside of objects disappearing when throwing.
Show difference between Revision 1.403 and 1.404
Revision 1.403akirschbaum 2005/10/07 14:38:49 +9 -0
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.
Show difference between Revision 1.402 and 1.403
Revision 1.402akirschbaum 2005/10/07 12:54:47 +6 -0
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.
Show difference between Revision 1.401 and 1.402
Revision 1.401akirschbaum 2005/10/06 18:36:19 +3 -0
server/apply.c: In prepare_weapon() do not lose a reference to the item name.
Show difference between Revision 1.400 and 1.401
Revision 1.400cavesomething 2005/10/06 08:18:54 +4 -0
fix value calculations for alchemy and pickup code
Show difference between Revision 1.399 and 1.400
Revision 1.399akirschbaum 2005/10/05 17:07:38 +4 -0
server/monster.c: In move_monster() prevent hp/sp overflows for monsters with
very high maxhp/maxsp and very high regeneration rates.
Show difference between Revision 1.398 and 1.399
Revision 1.398cavesomething 2005/10/04 20:01:05 +3 -0
prevent crashyness on some broken treasure lists
Show difference between Revision 1.397 and 1.398
Revision 1.397ryo_saeba 2005/10/04 12:16:04 +4 -0
Fix Windows compilation
Show difference between Revision 1.396 and 1.397
Revision 1.396cavesomething 2005/10/04 00:06:18 +2 -0
fix output names in new_save_map.
Show difference between Revision 1.395 and 1.396
Revision 1.395cavesomething 2005/10/03 23:39:19 +4 -1
fix segfault in shops code when passed broken objects.
Show difference between Revision 1.394 and 1.395
Revision 1.394cavesomething 2005/10/03 20:39:36 +2 -0
fix segfault in shops code, for real this time.
Show difference between Revision 1.393 and 1.394
Revision 1.393cavesomething 2005/10/03 20:00:04 +3 -0
fix segfault in shops code
Show difference between Revision 1.392 and 1.393
Revision 1.392cavesomething 2005/10/03 10:47:31 +3 -0
using < instead of > could prove helpful
Show difference between Revision 1.391 and 1.392
Revision 1.391cavesomething 2005/10/02 22:29:40 +17 -0
add support for specialised shops
Show difference between Revision 1.390 and 1.391
Revision 1.390ryo_saeba 2005/10/01 13:08:35 +3 -0
Fix diseases with negative value
Show difference between Revision 1.389 and 1.390
Revision 1.389ryo_saeba 2005/10/01 12:46:04 +8 -0
Patches #1307880 and #1306987 courtesy quisar
Show difference between Revision 1.388 and 1.389
Revision 1.388ryo_saeba 2005/10/01 11:36:35 +15 -0
Clean some compilation warnings.
Show difference between Revision 1.387 and 1.388
Revision 1.387ryo_saeba 2005/09/30 14:14:31 +5 -0
Some plugin fixes, added [GS]etWeightLimit.
Show difference between Revision 1.386 and 1.387
Revision 1.386ryo_saeba 2005/09/28 13:48:24 +4 -0
Improved collect.pl.in
Show difference between Revision 1.385 and 1.386
Revision 1.385akirschbaum 2005/09/27 12:48:37 +4 -0
server/spell_effect.c: In recharge() verify that the object to charge is in
fact a wand or staff.
Show difference between Revision 1.384 and 1.385
Revision 1.384ryo_saeba 2005/09/25 13:36:01 +12 -0
Changed quest system, needs tweaks and fixes.
Show difference between Revision 1.383 and 1.384
Revision 1.383cavesomething 2005/09/25 09:24:00 +4 -0
more party bugfixes
Show difference between Revision 1.382 and 1.383
Revision 1.382ryo_saeba 2005/09/25 04:47:19 +15 -2
Fix some compilation warnings.
Show difference between Revision 1.381 and 1.382
Revision 1.381cavesomething 2005/09/24 21:17:46 +10 -0
oops, forgot the Changelog....
Show difference between Revision 1.380 and 1.381
Revision 1.380ryo_saeba 2005/09/24 04:55:24 +4 -1
Remove unused variable
Show difference between Revision 1.379 and 1.380
Revision 1.379ryo_saeba 2005/09/24 04:28:04 +8 -0
Patch 1194964 (party obsoletion) by cavesomething
Show difference between Revision 1.378 and 1.379
Revision 1.378akirschbaum 2005/09/23 18:36:16 +7 -0
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.
Show difference between Revision 1.377 and 1.378
Revision 1.377akirschbaum 2005/09/17 08:24:48 +7 -0
Update client inventory view for players dieing in a shop with unpaid items in
inventory.
Show difference between Revision 1.376 and 1.377
Revision 1.376qal21 2005/09/15 20:02:06 +8 -0
Allow directors/movers to specify a specific arch/name/race.
Show difference between Revision 1.375 and 1.376
Revision 1.375akirschbaum 2005/09/13 14:41:06 +4 -0
Make untriggered TIMED_GATEs work again.
Show difference between Revision 1.374 and 1.375
Revision 1.374mwedel 2005/09/13 01:46:35 +20 -0
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
Show difference between Revision 1.373 and 1.374
Revision 1.373akirschbaum 2005/09/09 16:09:39 +17 -0
Allow a DM to cast spells and prayers in no-magic/no-prayer areas. Add new
command "wizcast" to toggle this setting.
Show difference between Revision 1.372 and 1.373
Revision 1.372akirschbaum 2005/09/08 16:19:54 +3 -0
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.
Show difference between Revision 1.371 and 1.372
Revision 1.371akirschbaum 2005/09/08 16:10:46 +4 -0
server/monster.c: Add missing "break" statement in monster_can_pick(). It did
prevent some monsters from picking up scrolls.
Show difference between Revision 1.370 and 1.371
Revision 1.370akirschbaum 2005/09/04 11:58:11 +9 -0
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().
Show difference between Revision 1.369 and 1.370
Revision 1.369akirschbaum 2005/09/02 19:27:46 +5 -0
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.
Show difference between Revision 1.368 and 1.369
Revision 1.368akirschbaum 2005/09/02 19:20:01 +1 -0
socket/item.c: Make selecting objects from ground view work again.
Show difference between Revision 1.367 and 1.368
Revision 1.367akirschbaum 2005/09/02 19:12:03 +5 -0
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.
Show difference between Revision 1.366 and 1.367
Revision 1.366akirschbaum 2005/08/31 16:53:08 +18 -0
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.
Show difference between Revision 1.365 and 1.366
Revision 1.365akirschbaum 2005/08/30 17:15:24 +10 -0
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.
Show difference between Revision 1.364 and 1.365
Revision 1.364akirschbaum 2005/08/30 13:50:48 +5 -0
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.
Show difference between Revision 1.363 and 1.364
Revision 1.363akirschbaum 2005/08/29 15:18:06 +7 -0
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.
Show difference between Revision 1.362 and 1.363
Revision 1.362mwedel 2005/08/28 22:56:31 +16 -0
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
Show difference between Revision 1.361 and 1.362
Revision 1.361akirschbaum 2005/08/28 03:18:42 +5 -0
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().
Show difference between Revision 1.360 and 1.361
Revision 1.360akirschbaum 2005/08/28 01:58:18 +7 -0
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.
Show difference between Revision 1.359 and 1.360
Revision 1.359akirschbaum 2005/08/27 17:10:14 +4 -0
socket/init.c: Make setsockopt(REUSEADDR) work if using gcc in Ansi C mode on
Linux.
Show difference between Revision 1.358 and 1.359
Revision 1.358akirschbaum 2005/08/27 16:42:06 +7 -0
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.
Show difference between Revision 1.357 and 1.358
Revision 1.357akirschbaum 2005/08/25 15:44:15 +4 -0
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.
Show difference between Revision 1.356 and 1.357
Revision 1.356mwedel 2005/08/23 00:42:57 +17 -0
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
Show difference between Revision 1.355 and 1.356
Revision 1.355akirschbaum 2005/08/17 03:17:30 +3 -0
socket/request.c: Fix range checking of toggleextendedtext parameters.
Show difference between Revision 1.354 and 1.355
Revision 1.354akirschbaum 2005/08/17 02:44:44 +7 -0
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.
Show difference between Revision 1.353 and 1.354
Revision 1.353mwedel 2005/08/17 01:58:11 +9 -0
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
Show difference between Revision 1.352 and 1.353
Revision 1.352cavesomething 2005/08/16 15:31:46 +6 -0
Add flag to lamps to make them able to be lit without needing negative light radii
Show difference between Revision 1.351 and 1.352
Revision 1.351qal21 2005/08/16 00:23:12 +3 -0
Add support for buildable signs and magic mouths/ears
Show difference between Revision 1.350 and 1.351
Revision 1.350akirschbaum 2005/08/15 18:08:33 +1 -0
lib/Makefile.am, lib/Makefile.in: Actually install help file for showpets.
Show difference between Revision 1.349 and 1.350
Revision 1.349akirschbaum 2005/08/15 17:40:07 +3 -0
common/living.c, include/living.h: Make global arrays really const.
Show difference between Revision 1.348 and 1.349
Revision 1.348akirschbaum 2005/08/14 14:06:18 +1 -0
server/gods.c: Fix crash for monsters without appropriate god.
Show difference between Revision 1.347 and 1.348
Revision 1.347akirschbaum 2005/08/14 13:21:01 +3 -0
server/gods.c: Add missing braces around body of if statement.
Show difference between Revision 1.346 and 1.347
Revision 1.346cavesomething 2005/08/12 18:16:32 +6 -0
Change the way NPCs are allocated gods
Show difference between Revision 1.345 and 1.346
Revision 1.345ryo_saeba 2005/08/12 08:46:33 +22 -0
Fields changed from char* to const char*, cleanup.
Show difference between Revision 1.344 and 1.345
Revision 1.344ryo_saeba 2005/08/12 03:18:58 +10 -0
Use const char* instead of char* when possible
Show difference between Revision 1.343 and 1.344
Revision 1.343cavesomething 2005/08/11 17:23:34 +2 -0
Add help for showpets, and update help for killpets
Show difference between Revision 1.342 and 1.343
Revision 1.342cavesomething 2005/08/11 11:44:30 +6 -0
Add showpets command, let killpets selectively kill pets
Show difference between Revision 1.341 and 1.342
Revision 1.341cavesomething 2005/08/11 10:42:35 +5 -0
Make random maps take the region of the map creates them.
Show difference between Revision 1.340 and 1.341
Revision 1.340mwedel 2005/08/11 01:22:52 +8 -0
Update for release 1.8.0.
include/Makefile.am: missing quest.h file
Rest automatic rebuild
MSW 2005-08-10
Show difference between Revision 1.339 and 1.340
Revision 1.339ryo_saeba 2005/08/10 08:38:31 +6 -0
Use ARCH_DEPLETION instead of depletion.
Show difference between Revision 1.338 and 1.339
Revision 1.338mwedel 2005/08/09 23:57:47 +5 -0
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
Show difference between Revision 1.337 and 1.338
Revision 1.337mwedel 2005/08/08 01:27:19 +8 -0
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
Show difference between Revision 1.336 and 1.337
Revision 1.336ryo_saeba 2005/07/30 13:59:27 +3 -0
Logger plugin compilation for Win32.
Show difference between Revision 1.335 and 1.336
Revision 1.335ryo_saeba 2005/07/30 10:02:58 +3 -0
Crash when news/rules >4096 bytes.
Show difference between Revision 1.334 and 1.335
Revision 1.334qal21 2005/07/28 02:23:20 +5 -0
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.
Show difference between Revision 1.333 and 1.334
Revision 1.333ryo_saeba 2005/07/27 12:54:44 +3 -0
Inscription uses correct sp/grace points.
Show difference between Revision 1.332 and 1.333
Revision 1.332akirschbaum 2005/07/25 19:22:58 +11 -0
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.
Show difference between Revision 1.331 and 1.332
Revision 1.331ryo_saeba 2005/07/23 05:06:35 +3 -0
Fix message with 'null'
Show difference between Revision 1.330 and 1.331
Revision 1.330ryo_saeba 2005/07/22 15:41:24 +3 -0
Initialising values works better :)
Show difference between Revision 1.329 and 1.330
Revision 1.329akirschbaum 2005/07/20 03:38:08 +2 -0
random_maps/random_map.h: Add prototype for set_random_map_variable().
server/main.c: Remove prototype for set_random_map_variable().
Show difference between Revision 1.328 and 1.329
Revision 1.328akirschbaum 2005/07/20 03:17:48 +2 -0
lib/Makefile.am, lib/Makefile.in, lib/help/whereabouts: Add help for
whereabouts command.
Show difference between Revision 1.327 and 1.328
Revision 1.327akirschbaum 2005/07/19 17:52:37 +4 -0
server/apply.c: Properly terminate destination string with '\0' in
apply_item_transformer(). Avoid clearing the string buffer multiple times.
Show difference between Revision 1.326 and 1.327
Revision 1.326ryo_saeba 2005/07/19 15:59:32 +9 -0
Don't hardcode values. Fix item transformer code.
Show difference between Revision 1.325 and 1.326
Revision 1.325ryo_saeba 2005/07/18 14:40:35 +4 -0
Add missing Win32 define.
Show difference between Revision 1.324 and 1.325
Revision 1.324akirschbaum 2005/07/18 14:06:55 +9 -0
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.
Show difference between Revision 1.323 and 1.324
Revision 1.323akirschbaum 2005/07/17 06:48:32 +1 -0
server/pets: Fix off-by-one error in follow_owner().
Show difference between Revision 1.322 and 1.323
Revision 1.322akirschbaum 2005/07/17 06:22:50 +4 -0
server/c_wiz: Allow the summon and teleport commands to place the summoned
player/DM north-west of DM/player.
Show difference between Revision 1.321 and 1.322
Revision 1.321ryo_saeba 2005/07/17 06:00:06 +8 -0
Use const char* instead of char* when possible. Removed unused variables from weather code.
Show difference between Revision 1.320 and 1.321
Revision 1.320akirschbaum 2005/07/17 04:44:29 +3 -0
server/apply.c: Make converters that increase value non-functional.
Show difference between Revision 1.319 and 1.320
Revision 1.319qal21 2005/07/16 23:19:48 +4 -0
Fixed bug in previous commit of arena petmode that cause pets that should be friendly to eachother to fight.
Show difference between Revision 1.318 and 1.319
Revision 1.318akirschbaum 2005/07/16 16:10:36 +8 -0
Fix spelling errors in string constants.
Show difference between Revision 1.317 and 1.318
Revision 1.317akirschbaum 2005/07/16 14:52:42 +3 -0
server/c_misc.c: Remove superfluous trailing '\0' from strings.
Show difference between Revision 1.316 and 1.317
Revision 1.316qal21 2005/07/16 14:02:58 +5 -0
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
Show difference between Revision 1.315 and 1.316
Revision 1.315akirschbaum 2005/07/16 13:13:46 +1 -0
*Makefile.in, aclocal.m4, configure: Rebuilt generated files.
Show difference between Revision 1.314 and 1.315
Revision 1.314akirschbaum 2005/07/16 13:02:50 +1 -0
lib/Makefile.am: Update list of help files to install.
Show difference between Revision 1.313 and 1.314
Revision 1.313akirschbaum 2005/07/16 09:20:39 +1 -0
server/skills.c: Do not reveal a hidden DM in attempt_jump().
Show difference between Revision 1.312 and 1.313
Revision 1.312akirschbaum 2005/07/16 09:02:02 +1 -0
server/skills.c: Do not reveal a hidden DM in steal().
Show difference between Revision 1.311 and 1.312
Revision 1.311akirschbaum 2005/07/16 08:25:17 +4 -0
server/player.c: Ignore hidden DM in stand_near_hostile(). Formerly it always
returned false if a hidden DM was present.
Show difference between Revision 1.310 and 1.311
Revision 1.310ryo_saeba 2005/07/16 05:53:09 +4 -0
Improve pickup command.
Show difference between Revision 1.309 and 1.310
Revision 1.309akirschbaum 2005/07/15 18:23:06 +3 -1
server/c_party.c: Make party passwords with a length of 8 characters work
again.
Show difference between Revision 1.308 and 1.309
Revision 1.308akirschbaum 2005/07/15 16:52:41 +3 -0
lib/artifacts: Fix type of lockpicks of quality/high quality.
Show difference between Revision 1.307 and 1.308
Revision 1.307ryo_saeba 2005/07/15 16:11:31 +13 -2
Massive plugin changes, fixes bugs for Win32
Show difference between Revision 1.306 and 1.307
Revision 1.306ryo_saeba 2005/07/15 10:42:30 +3 -1
A few more fixes
Show difference between Revision 1.305 and 1.306
Revision 1.305ryo_saeba 2005/07/15 10:36:30 +2 -1
Missing stubs for random maps standalone
Show difference between Revision 1.304 and 1.305
Revision 1.304ryo_saeba 2005/07/15 08:51:45 +14 -0
Glue cleaning. New plugin function.
Show difference between Revision 1.303 and 1.304
Revision 1.303ryo_saeba 2005/07/15 04:28:01 +5 -0
Fix plugin crashes
Show difference between Revision 1.302 and 1.303
Revision 1.302ryo_saeba 2005/07/15 03:01:50 +3 -0
Use on_same_map instead of comparing pointers
Show difference between Revision 1.301 and 1.302
Revision 1.301ryo_saeba 2005/07/14 11:21:17 +16 -0
Quest handling
Show difference between Revision 1.300 and 1.301
Revision 1.300akirschbaum 2005/07/14 04:18:50 +5 -0
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
Show difference between Revision 1.299 and 1.300
Revision 1.299ryo_saeba 2005/07/10 16:12:13 +6 -0
Tentative party spell - needs to be really tested
Show difference between Revision 1.298 and 1.299
Revision 1.298akirschbaum 2005/07/10 08:53:54 +5 -0
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'.
Show difference between Revision 1.297 and 1.298
Revision 1.297akirschbaum 2005/07/10 07:55:30 +3 -0
server/init.c: Fix error message.
Show difference between Revision 1.296 and 1.297
Revision 1.296mwedel 2005/07/08 20:03:17 +2 -2
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
Show difference between Revision 1.295 and 1.296
Revision 1.295mwedel 2005/07/08 19:56:56 +5 -0
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
Show difference between Revision 1.294 and 1.295
Revision 1.294mwedel 2005/07/08 19:07:18 +20 -0
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
Show difference between Revision 1.293 and 1.294
Revision 1.293mwedel 2005/06/23 00:18:38 +5 -0
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
Show difference between Revision 1.292 and 1.293
Revision 1.292ryo_saeba 2005/06/22 13:22:10 +8 -0
Add service-related capability for Windows
Show difference between Revision 1.291 and 1.292
Revision 1.291akirschbaum 2005/06/14 13:51:22 +4 -0
common/living.c: Print correct message when (un-)wearing items with negative
luck.
Show difference between Revision 1.290 and 1.291
Revision 1.290akirschbaum 2005/06/01 00:58:02 +4 -0
include/living.h: Patch from Kari Pahula to remove obsolete variable
declarations.
Show difference between Revision 1.289 and 1.290
Revision 1.289akirschbaum 2005/05/22 02:41:40 +4 -0
server/skill_util.c: Print correct permanent experience ratio for experience
values >2 billion.
Show difference between Revision 1.288 and 1.289
Revision 1.288akirschbaum 2005/05/21 14:33:09 +1 -0
server/apply.c: Do not unlock LAMP items when turning them on or off.
Show difference between Revision 1.287 and 1.288
Revision 1.287akirschbaum 2005/05/21 12:18:22 +2 -0
server/apply.c: Fix CONVERTER items with slaying "money" to trigger for MONEY
items only.
Show difference between Revision 1.286 and 1.287
Revision 1.286akirschbaum 2005/05/21 10:02:16 +3 -0
server/player.c: Generate proper plural name for player's gravestones.
Show difference between Revision 1.285 and 1.286
Revision 1.285akirschbaum 2005/05/20 14:28:01 +9 -0
Ensure that object->msg always has a trailing \n character. This is necessary
to prevent corrupted map files.
Show difference between Revision 1.284 and 1.285
Revision 1.284akirschbaum 2005/05/20 03:17:13 +6 -0
Apply qal21's patch [ #1205421 ]: Implement new Python functions:
GetArchType, GetFacing, GetLevel.
Show difference between Revision 1.283 and 1.284
Revision 1.283akirschbaum 2005/05/15 15:03:31 +3 -0
server/monster.c: Fix monsters to cast spells from spellbooks.
Show difference between Revision 1.282 and 1.283
Revision 1.282ryo_saeba 2005/05/07 11:07:20 +5 -0
Fix compilation issue, remove unused variable
Show difference between Revision 1.281 and 1.282
Revision 1.281tchize 2005/05/07 06:51:12 +9 -0

Corrected silinesses in code. Now compiles when CFLAGS=-ansi -pedantic
Show difference between Revision 1.280 and 1.281
Revision 1.280ryo_saeba 2005/05/03 14:31:23 +2 -0
Patch #1193516 courtesy Casper1 for Hurd support
Show difference between Revision 1.279 and 1.280
Revision 1.279ryo_saeba 2005/05/03 13:30:58 +6 -0
Use const char* instead of char* when possible
Show difference between Revision 1.278 and 1.279
Revision 1.278ryo_saeba 2005/04/30 10:39:30 +6 -0
Use const char* instead of char* when possible
Show difference between Revision 1.277 and 1.278
Revision 1.277ryo_saeba 2005/04/27 16:43:25 +7 -0
Change some char* to const char*
Show difference between Revision 1.276 and 1.277
Revision 1.276mwedel 2005/04/27 02:13:18 +4 -0
server/skills.c: Change it so that jeweler skill is used to identify
amulets, not alchemy skill.
MSW 2005-04-27
Show difference between Revision 1.275 and 1.276
Revision 1.275mwedel 2005/04/27 01:39:47 +5 -0
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
Show difference between Revision 1.274 and 1.275
Revision 1.274mwedel 2005/04/27 01:25:11 +9 -0
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
Show difference between Revision 1.273 and 1.274
Revision 1.273mwedel 2005/04/16 23:25:52 +20 -5
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
Show difference between Revision 1.272 and 1.273
Revision 1.272ryo_saeba 2005/04/16 17:05:04 +10 -0
Use const char* instead of char* in function parameters
Show difference between Revision 1.271 and 1.272
Revision 1.271ryo_saeba 2005/04/15 15:56:34 +10 -1
New item type: 163 item transformer, see doc
Show difference between Revision 1.270 and 1.271
Revision 1.270ryo_saeba 2005/04/14 14:15:17 +9 -0
Fix a few things, use const char* instead of char* when possible
Show difference between Revision 1.269 and 1.270
Revision 1.269mwedel 2005/04/14 01:56:58 +25 -0
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
Show difference between Revision 1.268 and 1.269
Revision 1.268mwedel 2005/04/14 01:12:57 +6 -0
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
Show difference between Revision 1.267 and 1.268
Revision 1.267mwedel 2005/03/28 01:20:07 +6 -0
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
Show difference between Revision 1.266 and 1.267
Revision 1.266ryo_saeba 2005/03/22 17:22:37 +5 -0
Fix broken win32 compilation. Remove sleep(1) in hide commandas that causes the whole server to sleep
Show difference between Revision 1.265 and 1.266
Revision 1.265akirschbaum 2005/03/22 15:44:36 +4 -0
common/living.c: Allow luck to drop back to zero. Limit bad luck object to
+/-100 to prevent overflows.
Show difference between Revision 1.264 and 1.265
Revision 1.264akirschbaum 2005/03/20 10:32:55 +2 -0
common/living.c: When randomly adjusting luck, change both op->stats.luck and
the applied bad_luck object.
Show difference between Revision 1.263 and 1.264
Revision 1.263akirschbaum 2005/03/20 10:20:05 +4 -0
server/attack.c: Do not decrease luck if a player kills himself with a spell
or pet.
Show difference between Revision 1.262 and 1.263
Revision 1.262mwedel 2005/03/20 00:22:58 +5 -0
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
Show difference between Revision 1.261 and 1.262
Revision 1.261mwedel 2005/03/19 03:14:55 +24 -0
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
Show difference between Revision 1.260 and 1.261
Revision 1.260mwedel 2005/03/19 02:35:09 +8 -0
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
Show difference between Revision 1.259 and 1.260
Revision 1.259ryo_saeba 2005/03/15 15:05:58 +17 -0
Apply patch #1145089 by cavesomething for region support
Show difference between Revision 1.258 and 1.259
Revision 1.258ryo_saeba 2005/03/13 09:48:14 +6 -1
Apply patch #1119762 (salathar): afk command
Show difference between Revision 1.257 and 1.258
Revision 1.257ryo_saeba 2005/03/13 09:13:06 +8 -0
Apply patches #1119366 and #1161816
Show difference between Revision 1.256 and 1.257
Revision 1.256akirschbaum 2005/03/09 13:17:12 +2 -0
*Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub,
utils/ltmain.sh: Rebuild generated files.
Show difference between Revision 1.255 and 1.256
Revision 1.255akirschbaum 2005/03/09 12:59:19 +4 -0
acinclude.m4: Check whether Python supports the "L" format specifier. Do not
build python plugin if not.
Show difference between Revision 1.254 and 1.255
Revision 1.254akirschbaum 2005/03/06 14:38:49 +4 -0
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.
Show difference between Revision 1.253 and 1.254
Revision 1.253akirschbaum 2005/03/06 13:05:18 +2 -0
common/living.c, include/living.h: Change type of weight_limit to uint32.
socket/request.c: Remove non-portable assignment to rvalue.
Show difference between Revision 1.252 and 1.253
Revision 1.252akirschbaum 2005/03/06 12:13:39 +2 -0
doc/{README_PLUGINS.doc, README_PYTHON.txt, plugins}, doc/Developers/{README,
plugins, python}: Update plugin documentation.
Show difference between Revision 1.251 and 1.252
Revision 1.251akirschbaum 2005/03/06 10:46:32 +2 -0
plugin/plugin_python.c, plugin/include/plugin_python.h: Whitespace changes,
remove obsolete comments.
Show difference between Revision 1.250 and 1.251
Revision 1.250akirschbaum 2005/03/06 10:26:42 +2 -0
plugin/plugin_python.c: Only set WhoAmI when running the command registered by
CFPython.RegisterCommand. Set default result value to "success".
Show difference between Revision 1.249 and 1.250
Revision 1.249akirschbaum 2005/03/06 09:56:17 +2 -0
plugin/plugin_python.c: Fix memory leaks by freeing old strings before
assigning a new value.
Show difference between Revision 1.248 and 1.249
Revision 1.248akirschbaum 2005/03/06 09:24:41 +2 -0
plugin/plugin_python.c: Use correct format specifiers for item values and
experience values.
Show difference between Revision 1.247 and 1.248
Revision 1.247akirschbaum 2005/03/06 09:11:07 +2 -0
plugin/plugin_python.c: Make CFPython.IsCanBePicked return whether the object
can be picked up. (Did return whether the object cannot be picked up.)
Show difference between Revision 1.246 and 1.247
Revision 1.246akirschbaum 2005/03/06 07:58:55 +1 -0
plugin/plugin_python.c: Do not return a pointer to a variable on the stack.
Show difference between Revision 1.245 and 1.246
Revision 1.245akirschbaum 2005/03/06 07:55:44 +2 -0
server/plugins.c: Fix pointer type mismatch while processing
CFPython.RegisterCommand.
Show difference between Revision 1.244 and 1.245
Revision 1.244akirschbaum 2005/03/06 07:49:01 +2 -0
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.
Show difference between Revision 1.243 and 1.244
Revision 1.243akirschbaum 2005/03/06 05:46:19 +3 -0
acinclude.m4: Add check for python 2.4 to match this file with aclocal.m4.
Show difference between Revision 1.242 and 1.243
Revision 1.242akirschbaum 2005/02/28 15:36:18 +4 -0
plugin/plugin_python.c: Increase limits of values the Python script may set
to the ranges given by objects in the archetypes file.
Show difference between Revision 1.241 and 1.242
Revision 1.241akirschbaum 2005/02/20 14:42:56 +9 -0
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.
Show difference between Revision 1.240 and 1.241
Revision 1.240akirschbaum 2005/02/20 12:06:03 +2 -0
plugin/plugin_python.c, plugin/include/plugin_python.h: Remove spell wrapper
functions.
Show difference between Revision 1.239 and 1.240
Revision 1.239akirschbaum 2005/02/20 11:20:39 +3 -0
plugin/plugin_python.c, plugin/include/plugin_python.h: Replace skill-IDs by
skill names. Remove skill-ID wrapper functions.
Show difference between Revision 1.238 and 1.239
Revision 1.238mwedel 2005/01/24 02:37:54 +4 -0
Add break for 1.7.0 changes.
MSW 2005-01-24
Show difference between Revision 1.237 and 1.238
Revision 1.237mwedel 2005/01/24 01:55:40 +5 -0
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
Show difference between Revision 1.236 and 1.237
Revision 1.236mwedel 2005/01/24 01:29:21 +22 -0
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
Show difference between Revision 1.235 and 1.236
Revision 1.235mwedel 2005/01/12 02:03:51 +21 -0
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
Show difference between Revision 1.234 and 1.235
Revision 1.234akirschbaum 2005/01/10 04:55:37 +4 -0
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.
Show difference between Revision 1.233 and 1.234
Revision 1.233akirschbaum 2005/01/10 03:12:22 +4 -0
plugin/plugin_python.c, plugin_animator/plugin_animator.c: Handle all defined
events.
Show difference between Revision 1.232 and 1.233
Revision 1.232ryo_saeba 2005/01/07 15:23:56 +5 -0
Apply patch #1096921 courtesy Salathar (mice outbreak fix)
Show difference between Revision 1.231 and 1.232
Revision 1.231akirschbaum 2005/01/07 14:02:36 +4 -0
plugin/plugin_pyhton.c, plugin/include/plugin_python.h: Remove obsolete
functions: SetGender, SetRank, SetAlignment, SetGuildForce, GetGuildForce,
CreatePlayerForce, CreatePlayerInfo, GetPlayerInfo, GetNextPlayerInfo,
SetPreviousObject, SetNextObject.
Show difference between Revision 1.230 and 1.231
Revision 1.230akirschbaum 2005/01/07 13:18:56 +2 -1
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.
Show difference between Revision 1.229 and 1.230
Revision 1.229akirschbaum 2005/01/07 12:44:08 +2 -0
plugin/plugin_python.c, plugin/include/plugin_python.h: Add missing attack type
wrapper functions.
Show difference between Revision 1.228 and 1.229
Revision 1.228akirschbaum 2005/01/07 12:19:57 +2 -0
plugin/plugin_python.c: Add an optional parameter to CFPython.SetName() to
specify name_pl as well. Always set name_pl.
Show difference between Revision 1.227 and 1.228
Revision 1.227akirschbaum 2005/01/07 11:54:59 +2 -0
plugin/plugin_python.c: Fix a buffer overflow in CFPython.RegisterCommand():
allocated memory was not sufficient to hold the trailing '\0'.
Show difference between Revision 1.226 and 1.227
Revision 1.226akirschbaum 2005/01/07 11:24:38 +1 -0
plugin/plugin_python.c: Use #define constants.
Show difference between Revision 1.225 and 1.226
Revision 1.225akirschbaum 2005/01/07 09:23:59 +5 -0
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.
Show difference between Revision 1.224 and 1.225
Revision 1.224akirschbaum 2005/01/07 05:59:58 +5 -0
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.
Show difference between Revision 1.223 and 1.224
Revision 1.223akirschbaum 2005/01/06 10:20:39 +2 -0
plugin/plugin_python.c: Check values passed in from the Python code; generate
proper Python exceptions for invalid values.
Show difference between Revision 1.222 and 1.223
Revision 1.222akirschbaum 2005/01/06 06:08:14 +5 -0
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.
Show difference between Revision 1.221 and 1.222
Revision 1.221mwedel 2004/12/29 02:45:05 +38 -0
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
Show difference between Revision 1.220 and 1.221
Revision 1.220mwedel 2004/12/28 19:08:45 +17 -0
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
Show difference between Revision 1.219 and 1.220
Revision 1.219ryo_saeba 2004/12/25 12:09:27 +10 -0
Patches #1086095 and 1088385, party password length tweak
Show difference between Revision 1.218 and 1.219
Revision 1.218ryo_saeba 2004/12/21 17:29:43 +3 -0
Fix crash when dm using free
Show difference between Revision 1.217 and 1.218
Revision 1.217akirschbaum 2004/12/10 03:16:00 +5 -0
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
Show difference between Revision 1.216 and 1.217
Revision 1.216ryo_saeba 2004/11/29 05:30:25 +3 -0
Change long long to sint64
Show difference between Revision 1.215 and 1.216
Revision 1.215ryo_saeba 2004/11/25 12:47:55 +6 -0
Apply a few patches from tracker
Show difference between Revision 1.214 and 1.215
Revision 1.214ryo_saeba 2004/11/25 12:26:46 +4 -0
Apply patch #1066665
Show difference between Revision 1.213 and 1.214
Revision 1.213akirschbaum 2004/11/15 11:55:23 +4 -0
common/loader.l: Fix passed size in FAST_SAVE_LONG() - was one too long,
causing truncated diffs after "dam_modifier" entry.
Show difference between Revision 1.212 and 1.213
Revision 1.212mwedel 2004/11/09 01:44:23 +9 -0
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
Show difference between Revision 1.211 and 1.212
Revision 1.211akirschbaum 2004/10/21 14:10:17 +4 -0
plugin/plugin_python.c: Run the script python_init.py right after
initializing the interpreter.
Show difference between Revision 1.210 and 1.211
Revision 1.210ryo_saeba 2004/10/21 11:52:46 +4 -0
Notify of party join/pwd change
Show difference between Revision 1.209 and 1.210
Revision 1.209akirschbaum 2004/10/19 15:31:18 +4 -0
plugin/plugin_python.c, plugin/include/plugin_python.h, server/plugins.c:
Fix comments, change whitespace.
Show difference between Revision 1.208 and 1.209
Revision 1.208mwedel 2004/10/18 01:54:33 +16 -0
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
Show difference between Revision 1.207 and 1.208
Revision 1.207akirschbaum 2004/10/18 01:35:36 +7 -0
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.
Show difference between Revision 1.206 and 1.207
Revision 1.206akirschbaum 2004/10/18 01:21:26 +2 -0
plugin/plugin_python.c: Fix CFPython.GetNextPlayerInfo() to work with long
force names. Remove duplicate variable initialization.
Show difference between Revision 1.205 and 1.206
Revision 1.205akirschbaum 2004/10/18 01:09:52 +3 -0
server/plugins.c: Remove the use of malloc() in initOnePlugin().
Show difference between Revision 1.204 and 1.205
Revision 1.204akirschbaum 2004/10/16 17:38:21 +4 -0
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.
Show difference between Revision 1.203 and 1.204
Revision 1.203akirschbaum 2004/10/16 16:43:46 +6 -0
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.
Show difference between Revision 1.202 and 1.203
Revision 1.202akirschbaum 2004/10/15 16:01:09 +2 -0
plugin/plugin_python.c, server/plugin.c: Fix type mismatches between plugin
interface and implementation.
Show difference between Revision 1.201 and 1.202
Revision 1.201akirschbaum 2004/10/15 13:34:31 +2 -0
plugin/plugin_python.c, server/plugin.c: Add/remove "static" to/from some
variables. Fixes a memory leak in CFPython.SaveObject().
Show difference between Revision 1.200 and 1.201
Revision 1.200akirschbaum 2004/10/15 12:34:58 +3 -0
plugin/plugin_python.c: Fix reference counting for Python objects.
Show difference between Revision 1.199 and 1.200
Revision 1.199mwedel 2004/10/15 02:09:30 +25 -0
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
Show difference between Revision 1.198 and 1.199
Revision 1.198ryo_saeba 2004/10/10 10:01:23 +4 -0
Natural resistances display by statistics for dragon players
Show difference between Revision 1.197 and 1.198
Revision 1.197akirschbaum 2004/10/09 14:36:28 +1 -0
common/readable.c: Apply patch by Kevin Rudat to add some alchemy book names.
Show difference between Revision 1.196 and 1.197
Revision 1.196akirschbaum 2004/10/09 14:26:43 +4 -0
common/readable.c: Apply patch by Kevin Rudat to fix buffer overrun while
generating book titles.
Show difference between Revision 1.195 and 1.196
Revision 1.195ryo_saeba 2004/09/26 04:42:18 +5 -0
Add 'stack_clear' command.
Show difference between Revision 1.194 and 1.195
Revision 1.194akirschbaum 2004/09/19 12:13:53 +2 -0
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.
Show difference between Revision 1.193 and 1.194
Revision 1.193akirschbaum 2004/09/19 11:17:48 +2 -0
common/utils.c: Fix random_roll() and die_roll() to not return out of range
values.
Show difference between Revision 1.192 and 1.193
Revision 1.192akirschbaum 2004/09/19 11:12:16 +3 -0
include/define.h: Add parentheses around arguments of FABS macro.
Show difference between Revision 1.191 and 1.192
Revision 1.191akirschbaum 2004/09/14 14:59:06 +4 -0
server/rune.c: Prevent creation of level 0 runes. Re-enable runes to cast
multiple spells.
Show difference between Revision 1.190 and 1.191
Revision 1.190ryo_saeba 2004/09/12 07:55:45 +14 -12
Removed windows newlines *sigh*
Show difference between Revision 1.189 and 1.190
Revision 1.189ryo_saeba 2004/09/12 07:52:08 +13 -1
Various fixes for Win32, apply some tracker patches
Show difference between Revision 1.188 and 1.189
Revision 1.188mwedel 2004/09/10 02:03:39 +6 -0
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
Show difference between Revision 1.187 and 1.188
Revision 1.187ryo_saeba 2004/09/05 17:11:18 +4 -0
Forgot to skip blanks when item number for dm stuff
Show difference between Revision 1.186 and 1.187
Revision 1.186mwedel 2004/09/03 01:43:43 +5 -0
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
Show difference between Revision 1.185 and 1.186
Revision 1.185akirschbaum 2004/08/30 12:21:34 +4 -0
server/player.c: allow to 'talk' to players with ambiguous names: use a
perfect match even if other partial matches exist.
Show difference between Revision 1.184 and 1.185
Revision 1.184akirschbaum 2004/08/24 14:43:55 +9 -0
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.
Show difference between Revision 1.183 and 1.184
Revision 1.183mwedel 2004/08/24 01:37:41 +6 -0
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
Show difference between Revision 1.182 and 1.183
Revision 1.182akirschbaum 2004/08/20 15:02:09 +5 -0
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
Show difference between Revision 1.181 and 1.182
Revision 1.181mwedel 2004/08/18 01:29:19 +9 -0
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
Show difference between Revision 1.180 and 1.181
Revision 1.180mwedel 2004/08/17 01:41:00 +9 -0
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
Show difference between Revision 1.179 and 1.180
Revision 1.179ryo_saeba 2004/08/16 03:47:00 +6 -0
Fix bug #989110, mutating spellbooks
Show difference between Revision 1.178 and 1.179
Revision 1.178ryo_saeba 2004/08/15 12:03:06 +18 -0
Add item stack for DMs, to ease item manipulation
Show difference between Revision 1.177 and 1.178
Revision 1.177ryo_saeba 2004/08/14 04:48:39 +6 -1
Fix charm monster exploit
Show difference between Revision 1.176 and 1.177
Revision 1.176temitchell 2004/08/07 18:24:11 +21 -0
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
Show difference between Revision 1.175 and 1.176
Revision 1.175ryo_saeba 2004/07/16 17:23:53 +9666 -9662
Writing xp gets mutiplied by level, to make it possible to level up
Show difference between Revision 1.174 and 1.175
Revision 1.174ryo_saeba 2004/07/03 04:16:56 +9662 -9658
Win32 fixes
Show difference between Revision 1.173 and 1.174
Revision 1.173mwedel 2004/06/23 00:48:56 +6 -0
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
Show difference between Revision 1.172 and 1.173
Revision 1.172mwedel 2004/06/22 01:28:07 +5 -0
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
Show difference between Revision 1.171 and 1.172
Revision 1.171mwedel 2004/06/18 02:45:26 +14 -0
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
Show difference between Revision 1.170 and 1.171
Revision 1.170mwedel 2004/06/16 02:09:42 +7 -0
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
Show difference between Revision 1.169 and 1.170
Revision 1.169akirschbaum 2004/06/13 12:30:14 +15 -0
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.
Show difference between Revision 1.168 and 1.169
Revision 1.168mwedel 2004/06/11 02:23:34 +6 -0
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
Show difference between Revision 1.167 and 1.168
Revision 1.167mwedel 2004/06/11 01:12:56 +12 -0
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
Show difference between Revision 1.166 and 1.167
Revision 1.166ryo_saeba 2004/06/09 11:47:33 +3 -0
gsay tweaks, courtesy Katia
Show difference between Revision 1.165 and 1.166
Revision 1.165ryo_saeba 2004/06/06 12:15:11 +1 -0
Disable possess command
Show difference between Revision 1.164 and 1.165
Revision 1.164ryo_saeba 2004/06/06 11:30:21 +5 -5
Remove Windows newlines
Show difference between Revision 1.163 and 1.164
Revision 1.163ryo_saeba 2004/06/06 11:25:40 +5 -0
Fix for monsters not using hands, and now ignore DM
Show difference between Revision 1.162 and 1.163
Revision 1.162mwedel 2004/06/01 02:20:54 +11 -0
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
Show difference between Revision 1.161 and 1.162
Revision 1.161ryo_saeba 2004/05/24 16:00:13 +6 -0
new dmhide command, dm + hide
Show difference between Revision 1.160 and 1.161
Revision 1.160mwedel 2004/05/20 00:49:51 +11 -0
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
Show difference between Revision 1.159 and 1.160
Revision 1.159akirschbaum 2004/05/18 11:11:51 +3 -0
common/object.c: Correct get_search_arr() to return a proper permutation.
Andreas Kirschbaum 2004-05-18
Show difference between Revision 1.158 and 1.159
Revision 1.158mwedel 2004/05/16 22:19:00 +20 -0
server/main.c: Have process_events display information from dumped object.
also, more refinement on checking of object status.
MSW 2004-05-16
Show difference between Revision 1.157 and 1.158
Revision 1.157ryo_saeba 2004/05/16 05:38:05 +6 -0
Changes for now
Show difference between Revision 1.156 and 1.157
Revision 1.156ryo_saeba 2004/05/15 13:15:31 +9 -0
Added a positioning system
Show difference between Revision 1.155 and 1.156
Revision 1.155mwedel 2004/05/14 02:38:02 +11 -0
commit the changelog for the night. MSW 2004-05-13
Show difference between Revision 1.154 and 1.155
Revision 1.154mwedel 2004/05/12 02:15:18 +10 -0
get todays updates in
MSW 2004-05-11
Show difference between Revision 1.153 and 1.154
Revision 1.153mwedel 2004/05/11 01:57:35 +5 -0
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
Show difference between Revision 1.152 and 1.153
Revision 1.152mwedel 2004/05/09 03:03:54 +7 -0
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
Show difference between Revision 1.151 and 1.152
Revision 1.151ryo_saeba 2004/05/08 08:38:03 +9 -0
Add settings to control armor enchantment
Show difference between Revision 1.150 and 1.151
Revision 1.150ryo_saeba 2004/05/08 06:10:51 +2 -0
Use LOGFILE for logfile, not hardcoded value
Show difference between Revision 1.149 and 1.150
Revision 1.149ryo_saeba 2004/05/08 02:50:43 +4 -0
Nodm tweak
Show difference between Revision 1.148 and 1.149
Revision 1.148mwedel 2004/05/05 02:25:54 +5 -0
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
Show difference between Revision 1.147 and 1.148
Revision 1.147mwedel 2004/05/04 02:14:51 +14 -0
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
Show difference between Revision 1.146 and 1.147
Revision 1.146ryo_saeba 2004/05/03 16:38:47 +4 -0
Win32 fixes
Show difference between Revision 1.145 and 1.146
Revision 1.145ryo_saeba 2004/04/28 17:04:10 +5 -0
Change char* to const char*, value shouldn't be changed
Show difference between Revision 1.144 and 1.145
Revision 1.144mwedel 2004/04/27 02:07:55 +14 -0
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
Show difference between Revision 1.143 and 1.144
Revision 1.143mwedel 2004/04/26 00:27:36 +2 -0
server/apply.c: apply_savebed() - make call to terminate_all pets before
call to remove_ob() so that pets are properly removed.
Show difference between Revision 1.142 and 1.143
Revision 1.142mwedel 2004/04/26 00:07:51 +5 -0
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
Show difference between Revision 1.141 and 1.142
Revision 1.141mwedel 2004/04/25 02:17:35 +19 -0
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
Show difference between Revision 1.140 and 1.141
Revision 1.140mwedel 2004/04/21 01:44:39 +5 -0
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
Show difference between Revision 1.139 and 1.140
Revision 1.139mwedel 2004/04/18 02:59:35 +10 -0
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
Show difference between Revision 1.138 and 1.139
Revision 1.138akirschbaum 2004/04/16 11:28:21 +5 -0
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
Show difference between Revision 1.137 and 1.138
Revision 1.137mwedel 2004/04/16 01:23:37 +23 -0
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
Show difference between Revision 1.136 and 1.137
Revision 1.136mwedel 2004/04/10 02:27:55 +3 -0
common/living.c: Patch by Bernd Edler to remove cap on exp for players.
MSW 2004-04-09
Show difference between Revision 1.135 and 1.136
Revision 1.135mwedel 2004/04/08 01:48:50 +9 -0
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
Show difference between Revision 1.134 and 1.135
Revision 1.134mwedel 2004/04/07 01:46:41 +4 -0
server/player.c: In flee_player(), make sure the enemy to the player is
on an actual map - fixes crashes.
MSW 2004-04-06
Show difference between Revision 1.133 and 1.134
Revision 1.133mwedel 2004/04/06 02:04:53 +5 -0
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
Show difference between Revision 1.132 and 1.133
Revision 1.132mwedel 2004/04/03 02:05:23 +7 -0
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
Show difference between Revision 1.131 and 1.132
Revision 1.131ryo_saeba 2004/03/28 09:34:15 +3 -0
Fix wiz's hide against monsters.
Show difference between Revision 1.130 and 1.131
Revision 1.130ryo_saeba 2004/03/26 16:41:43 +5 -0
Const specifiers
Show difference between Revision 1.129 and 1.130
Revision 1.129ryo_saeba 2004/03/26 15:59:17 +10 -0
Win32 fixes
Show difference between Revision 1.128 and 1.129
Revision 1.128mwedel 2004/03/24 02:15:16 +10 -0
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
Show difference between Revision 1.127 and 1.128
Revision 1.127mwedel 2004/03/23 01:52:31 +15 -0
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
Show difference between Revision 1.126 and 1.127
Revision 1.126ryo_saeba 2004/03/12 13:21:22 +4 -0
Patch to enable multiple 'allowed' lines in artifacts
Show difference between Revision 1.125 and 1.126
Revision 1.125ryo_saeba 2004/03/12 13:03:59 +11 -0
Change join/leave messages color, make DMs more 'stealthy'
Show difference between Revision 1.124 and 1.125
Revision 1.124akirschbaum 2004/03/07 04:04:12 +4 -0
common/item.c: Fixed calc_item_power() to return valid item power for
items with high enchantments.
Andreas Kirschbaum 2004-03-07
Show difference between Revision 1.123 and 1.124
Revision 1.123ryo_saeba 2004/03/06 02:32:39 +5 -0
Save player's name when using marking rune
Show difference between Revision 1.122 and 1.123
Revision 1.122temitchell 2004/02/28 19:53:47 +6 -0
- 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.
Show difference between Revision 1.121 and 1.122
Revision 1.121ryo_saeba 2004/02/28 04:40:55 +7 -0
Warning cleaning
Show difference between Revision 1.120 and 1.121
Revision 1.120ryo_saeba 2004/02/27 17:00:25 +16 -0
Some warnings cleaning.
Show difference between Revision 1.119 and 1.120
Revision 1.119mwedel 2004/02/24 00:00:23 +2 -0
common/living.c: Have give_skill_by_name() update the skill pointers in the
player object.
MSW 2004-02-23
Show difference between Revision 1.118 and 1.119
Revision 1.118mwedel 2004/02/23 23:43:57 +5 -0
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
Show difference between Revision 1.117 and 1.118
Revision 1.117mwedel 2004/02/23 00:06:27 +3 -0
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
Show difference between Revision 1.116 and 1.117
Revision 1.116mwedel 2004/02/22 19:21:26 +12 -0
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
Show difference between Revision 1.115 and 1.116
Revision 1.115mwedel 2004/02/16 21:38:58 +5 -0
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
Show difference between Revision 1.114 and 1.115
Revision 1.114mwedel 2004/02/16 18:22:20 +19 -0
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
Show difference between Revision 1.113 and 1.114
Revision 1.113ryo_saeba 2004/02/16 12:05:31 +7 -0
Cleaned some unused fields. Type coherence.
Show difference between Revision 1.112 and 1.113
Revision 1.112mwedel 2004/02/13 01:42:08 +10 -0
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
Show difference between Revision 1.111 and 1.112
Revision 1.111mwedel 2004/02/11 02:09:19 +13 -0
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
Show difference between Revision 1.110 and 1.111
Revision 1.110mwedel 2004/02/09 02:04:26 +3 -0
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
Show difference between Revision 1.109 and 1.110
Revision 1.109mwedel 2004/02/08 23:36:12 +9 -0
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
Show difference between Revision 1.108 and 1.109
Revision 1.108ryo_saeba 2004/02/08 11:07:07 +6 -0
Object weight limit, become fellower bug
Show difference between Revision 1.107 and 1.108
Revision 1.107ryo_saeba 2004/01/19 15:12:29 +5 -0
Let players build on non-unique maps too
Show difference between Revision 1.106 and 1.107
Revision 1.106ryo_saeba 2004/01/18 04:36:10 +19 -0
Added map-building code.
Show difference between Revision 1.105 and 1.106
Revision 1.105ryo_saeba 2004/01/16 17:15:24 +7 -0
Hook strings-related certain crash
Show difference between Revision 1.104 and 1.105
Revision 1.104ryo_saeba 2004/01/16 15:17:03 +9 -1
Writing inscription fix. Win32-specific stuff
Show difference between Revision 1.103 and 1.104
Revision 1.103mwedel 2004/01/16 01:52:51 +17 -0
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
Show difference between Revision 1.102 and 1.103
Revision 1.102onefang 2004/01/12 00:27:28 +6 -0
*** empty log message ***
Show difference between Revision 1.101 and 1.102
Revision 1.101mwedel 2003/12/28 00:06:00 +8 -0
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
Show difference between Revision 1.100 and 1.101
Revision 1.100mwedel 2003/12/20 20:13:46 +12 -0
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
Show difference between Revision 1.99 and 1.100
Revision 1.99ryo_saeba 2003/12/20 10:13:40 +5 -0
Fix meditation message type
Show difference between Revision 1.98 and 1.99
Revision 1.98ryo_saeba 2003/12/18 14:39:44 +12 -0
GCC 3.3 infinite loop fixes
Show difference between Revision 1.97 and 1.98
Revision 1.97ryo_saeba 2003/12/14 10:28:47 +17 -0
Compilation warning cleaning
Show difference between Revision 1.96 and 1.97
Revision 1.96mwedel 2003/11/30 23:45:18 +13 -0
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
Show difference between Revision 1.95 and 1.96
Revision 1.95ryo_saeba 2003/11/29 03:00:31 +4 -0
Fixed collect_images.pl for Windows
Show difference between Revision 1.94 and 1.95
Revision 1.94ryo_saeba 2003/11/25 12:49:31 +6 -0
Skill name when learning. Sense curse and sense magic on items on ground
Show difference between Revision 1.93 and 1.94
Revision 1.93mwedel 2003/11/11 01:58:30 +2 -0
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
Show difference between Revision 1.92 and 1.93
Revision 1.92mwedel 2003/11/11 01:37:05 +5 -0
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
Show difference between Revision 1.91 and 1.92
Revision 1.91mwedel 2003/11/09 23:39:50 +19 -0
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
Show difference between Revision 1.90 and 1.91
Revision 1.90ryo_saeba 2003/11/07 13:54:49 +19 -19
Fixed newline issue with previous commit.
Show difference between Revision 1.89 and 1.90
Revision 1.89ryo_saeba 2003/11/07 13:01:28 +19 -0
Improved 'tell' command. Fix Win32-Python issues. Fix Win32 compilation issue.
Show difference between Revision 1.88 and 1.89
Revision 1.88mwedel 2003/11/01 23:18:02 +5 -0
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
Show difference between Revision 1.87 and 1.88
Revision 1.87mwedel 2003/11/01 22:17:00 +3 -0
server/player.c: Fix crash in stand_near_hostile when it is called on
tiled maps with player near edge.
MSW 2003-11-01
Show difference between Revision 1.86 and 1.87
Revision 1.86mwedel 2003/10/27 01:24:13 +25 -0
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
Show difference between Revision 1.85 and 1.86
Revision 1.85temitchell 2003/10/26 21:44:32 +6 -0
- Add TRIGGER_MARKER object (type 52)
a MARKER that can activated by a connected trigger.
Show difference between Revision 1.84 and 1.85
Revision 1.84mwedel 2003/10/26 01:56:56 +23 -11
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
Show difference between Revision 1.83 and 1.84
Revision 1.83ryo_saeba 2003/10/24 15:03:00 +5 -0
Fix apply_spellbook to return when spell is null before doing spell->level :)
Show difference between Revision 1.82 and 1.83
Revision 1.82ryo_saeba 2003/10/21 12:16:17 +6 -0
Patch by Karla Stenger to check given direction for command_run / command_fire
Show difference between Revision 1.81 and 1.82
Revision 1.81mwedel 2003/10/09 02:21:02 +7 -0
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
Show difference between Revision 1.80 and 1.81
Revision 1.80mwedel 2003/10/08 02:20:31 +11 -0
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
Show difference between Revision 1.79 and 1.80
Revision 1.79mwedel 2003/10/07 02:01:58 +14 -0
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
Show difference between Revision 1.78 and 1.79
Revision 1.78mwedel 2003/10/01 01:55:15 +6 -0
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
Show difference between Revision 1.77 and 1.78
Revision 1.77mwedel 2003/09/28 23:02:42 +5 -0
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
Show difference between Revision 1.76 and 1.77
Revision 1.76mwedel 2003/09/26 00:46:47 +7 -0
update changelog.
Show difference between Revision 1.75 and 1.76
Revision 1.75mwedel 2003/09/24 01:08:35 +4 -0
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
Show difference between Revision 1.74 and 1.75
Revision 1.74mwedel 2003/09/13 00:06:03 +57 -13
Check in this file.
MSW 2003-09-12
Show difference between Revision 1.73 and 1.74
Revision 1.73temitchell 2003/09/04 01:25:31 +13 -0
- add new type TRAP, make initial seperations from RUNE in code
add in traps triggering stuff if they are detonated
Show difference between Revision 1.72 and 1.73
Revision 1.72temitchell 2003/08/26 19:00:44 +8 -1
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.
Show difference between Revision 1.71 and 1.72
Revision 1.71tchize 2003/07/08 07:45:04 +9 -0

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.
Show difference between Revision 1.70 and 1.71
Revision 1.70tchize 2003/07/03 15:03:04 +12 -0

Modified change logs and protocol documentation.
Promised smoothing doc will follow as fast as possible
Show difference between Revision 1.69 and 1.70
Revision 1.69mwedel 2003/06/19 01:52:49 +5 -0
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
Show difference between Revision 1.68 and 1.69
Revision 1.68mwedel 2003/05/26 23:37:00 +13 -0
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
Show difference between Revision 1.67 and 1.68
Revision 1.67mwedel 2003/05/26 18:58:47 +6 -0
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
Show difference between Revision 1.66 and 1.67
Revision 1.66mwedel 2003/05/26 00:28:55 +3 -0
common/anim.c: Patch by AV to make sure multipart monsters animations
stay in sync. MSW 2003-05-25
Show difference between Revision 1.65 and 1.66
Revision 1.65mwedel 2003/05/23 23:51:12 +5 -0
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
Show difference between Revision 1.64 and 1.65
Revision 1.64mwedel 2003/05/21 02:31:12 +13 -0
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
Show difference between Revision 1.63 and 1.64
Revision 1.63mwedel 2003/04/15 00:57:58 +3 -0
server/player.c: Have players start at max hp/grace/sp.
MSW 2003-04-14
Show difference between Revision 1.62 and 1.63
Revision 1.62mwedel 2003/04/14 01:41:21 +5 -0
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
Show difference between Revision 1.61 and 1.62
Revision 1.61mwedel 2003/04/04 23:39:45 +24 -1
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
Show difference between Revision 1.60 and 1.61
Revision 1.60mwedel 2003/04/02 02:12:52 +28 -6
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
Show difference between Revision 1.59 and 1.60
Revision 1.59mwedel 2003/03/24 00:58:07 +15 -0
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
Show difference between Revision 1.58 and 1.59
Revision 1.58mwedel 2003/03/21 02:01:03 +8 -0
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
Show difference between Revision 1.57 and 1.58
Revision 1.57mwedel 2003/03/20 01:57:57 +5 -0
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
Show difference between Revision 1.56 and 1.57
Revision 1.56mwedel 2003/03/20 01:21:04 +6 -0
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
Show difference between Revision 1.55 and 1.56
Revision 1.55mwedel 2003/03/19 02:04:50 +17 -0
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
Show difference between Revision 1.54 and 1.55
Revision 1.54mwedel 2003/03/07 23:35:31 +62 -0
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
Show difference between Revision 1.53 and 1.54
Revision 1.53mwedel 2003/03/07 01:33:12 +16 -0
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
Show difference between Revision 1.52 and 1.53
Revision 1.52mwedel 2003/03/02 23:13:06 +23 -0
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
Show difference between Revision 1.51 and 1.52
Revision 1.51mwedel 2003/02/25 01:18:02 +9 -0
*/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
Show difference between Revision 1.50 and 1.51
Revision 1.50mwedel 2003/02/24 01:38:37 +10 -0
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
Show difference between Revision 1.49 and 1.50
Revision 1.49mwedel 2003/02/21 01:55:37 +5 -0
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
Show difference between Revision 1.48 and 1.49
Revision 1.48mwedel 2003/02/20 00:46:58 +5 -0
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
Show difference between Revision 1.47 and 1.48
Revision 1.47mwedel 2003/02/16 20:37:36 +16 -1
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
Show difference between Revision 1.46 and 1.47
Revision 1.46mwedel 2003/02/16 03:03:30 +3 -0
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
Show difference between Revision 1.45 and 1.46
Revision 1.45mwedel 2003/02/16 01:30:06 +5 -0
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
Show difference between Revision 1.44 and 1.45
Revision 1.44mwedel 2003/02/14 02:18:40 +5 -0
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
Show difference between Revision 1.43 and 1.44
Revision 1.43garbled 2003/02/13 23:54:13 +27 -0
Regen loader.c, add changes to changelog.
Show difference between Revision 1.42 and 1.43
Revision 1.42mwedel 2003/02/12 02:04:29 +1 -0
random_maps/special.c: Fix possible bug with placement of special maps.
MSW 2003-02-11
Show difference between Revision 1.41 and 1.42
Revision 1.41mwedel 2003/02/12 00:30:24 +6 -0
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
Show difference between Revision 1.40 and 1.41
Revision 1.40mwedel 2003/02/11 23:40:23 +4 -0
server/apply.c: Fix bug in that cursed weapons were not equipped/
unequipped.
MSW 2003-02-11
Show difference between Revision 1.39 and 1.40
Revision 1.39mwedel 2003/02/10 00:52:10 +12 -0
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
Show difference between Revision 1.38 and 1.39
Revision 1.38mwedel 2003/02/03 02:27:09 +3 -0
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.
Show difference between Revision 1.37 and 1.38
Revision 1.37mwedel 2003/02/03 01:23:47 +17 -0
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
Show difference between Revision 1.36 and 1.37
Revision 1.36garbled 2003/01/29 18:21:45 +25 -0
Update the changelog
Show difference between Revision 1.35 and 1.36
Revision 1.35mwedel 2003/01/27 01:34:33 +14 -0
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
Show difference between Revision 1.34 and 1.35
Revision 1.34mwedel 2003/01/17 01:07:14 +14 -0
Fix random map name generation so that it strips off the numbers if
appropriate from the new map name.
MSW 2003-01-16
Show difference between Revision 1.33 and 1.34
Revision 1.33mwedel 2003/01/13 01:42:49 +4 -0
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
Show difference between Revision 1.32 and 1.33
Revision 1.32mwedel 2003/01/08 02:39:16 +37 -0
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
Show difference between Revision 1.31 and 1.32
Revision 1.31mwedel 2003/01/05 17:50:10 +20 -0
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
Show difference between Revision 1.30 and 1.31
Revision 1.30mwedel 2003/01/03 18:28:49 +15 -0
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
Show difference between Revision 1.29 and 1.30
Revision 1.29mwedel 2003/01/02 00:31:10 +5 -0
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
Show difference between Revision 1.28 and 1.29
Revision 1.28mwedel 2002/12/31 01:19:07 +4 -0
server/time.c: Fix bad code in stop_arrow that caused crashes/improper
freeing of data.
MSW 2002-12-30
Show difference between Revision 1.27 and 1.28
Revision 1.27mwedel 2002/12/27 02:37:40 +6 -0
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
Show difference between Revision 1.26 and 1.27
Revision 1.26garbled 2002/12/25 00:45:46 +14 -0
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.
Show difference between Revision 1.25 and 1.26
Revision 1.25mwedel 2002/12/21 02:02:32 +19 -0
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
Show difference between Revision 1.24 and 1.25
Revision 1.24garbled 2002/12/08 22:59:38 +22 -0
More stuff for the changelog
Show difference between Revision 1.23 and 1.24
Revision 1.23mwedel 2002/12/05 23:36:27 +3 -0
common/exp.c: Fix bug were drain attacks added exp.
MSW 2002-12-05
Show difference between Revision 1.22 and 1.23
Revision 1.22mwedel 2002/12/04 02:12:39 +6 -0
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
Show difference between Revision 1.21 and 1.22
Revision 1.21mwedel 2002/12/03 01:40:09 +54 -0
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
Show difference between Revision 1.20 and 1.21
Revision 1.20mwedel 2002/11/30 21:46:24 +13 -0
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
Show difference between Revision 1.19 and 1.20
Revision 1.19mwedel 2002/11/29 22:17:40 +12 -0
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
Show difference between Revision 1.18 and 1.19
Revision 1.18mwedel 2002/11/20 02:19:20 +6 -0
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
Show difference between Revision 1.17 and 1.18
Revision 1.17garbled 2002/11/12 23:56:21 +17 -0
Update the changelog. Add soemthing else to developers while I was in there.
Show difference between Revision 1.16 and 1.17
Revision 1.16garbled 2002/11/11 03:05:35 +13 -0
Add myself to the Developers list. Put the alchemy changes in the changelog.
Show difference between Revision 1.15 and 1.16
Revision 1.15garbled 2002/10/27 22:54:53 +25 -0
Changelog entry for the last N commits.
Show difference between Revision 1.14 and 1.15
Revision 1.14mwedel 2002/10/17 02:15:38 +6 -0
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
Show difference between Revision 1.13 and 1.14
Revision 1.13mwedel 2002/10/14 02:03:14 +9 -0
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
Show difference between Revision 1.12 and 1.13
Revision 1.12mwedel 2002/10/12 00:34:29 +15 -0
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
Show difference between Revision 1.11 and 1.12
Revision 1.11mwedel 2002/10/08 01:38:24 +9 -0
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
Show difference between Revision 1.10 and 1.11
Revision 1.10mwedel 2002/10/04 00:59:28 +4 -1
common/item.c: Fix bug with identified potions not getting set to proper name.
MSW 2002-10-03
Show difference between Revision 1.9 and 1.10
Revision 1.9mwedel 2002/10/03 02:07:42 +12 -0
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
Show difference between Revision 1.8 and 1.9
Revision 1.8mwedel 2002/09/28 02:19:39 +30 -0
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
Show difference between Revision 1.7 and 1.8
Revision 1.7mwedel 2002/09/24 00:43:15 +4 -0
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
Show difference between Revision 1.6 and 1.7
Revision 1.6mwedel 2002/09/18 01:17:18 +15 -0
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
Show difference between Revision 1.5 and 1.6
Revision 1.5mwedel 2002/09/15 23:07:41 +6 -0
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
Show difference between Revision 1.4 and 1.5
Revision 1.4mwedel 2002/09/15 00:39:43 +3 -0
Add 1.4.0 banner change.
MSW 2002-09-14
Show difference between Revision 1.3 and 1.4
Revision 1.3mwedel 2002/09/14 22:15:16 +10 -0
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
Show difference between Revision 1.2 and 1.3
Revision 1.2mwedel 2002/09/11 01:21:45 +25 -0
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
Show difference between Revision 1.1 and 1.2
Revision 1.1mwedel 2002/09/07 17:08:05 None
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.
First version


File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:51