Server Updates via CVS, 29-Dec-2004

http://www.metalforge.net - Branch/1.x Server

Moderators: Board moderators, Metalforge staff

Locked
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Server Updates via CVS, 29-Dec-2004

Post by Leaf »

With the last server reset (Thu Dec 30 00:52:57 UTC 2004), numerous code updates and changes went in to affect.


Applied patches #1086095 and 1088385 courtesy Salathar:

common/map.c:
hidden DM is non blocking

server/c_chat:
can't do emotions towards hidden DMs. Player's emotions always displayed in split window.

server/c_wiz.c:
add an extra player leave message when DM hides

server/main.c:
don't display leave messages for hidden DM when connection timeout

server/c_party.c:
party password max length is 7, due to buffer size.


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.

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.

All map files updated to the latst CVS as well.

Chat channel is now in place.
(Until further notice, all rules for the shout channel also apply to the chat channel. http://www.metalforge.net/rules/index.html)
Locked