--- deliantra/server/Changes 2009/11/04 13:46:36 1.482 +++ deliantra/server/Changes 2010/04/21 03:34:25 1.660 @@ -1,23 +1,346 @@ Deliantra MORPG Server, Maps and Archetypes ChangeLog. + Version numbers sort like decimal numbers. -TODO: warrior_1 looks broken -TODO: apartment-descritpions for gotisch1/2 +2010-04-07 23:58:02.2729 [ABT] BUG: hitter ({cnt:4994384,uuid:<1.7f744a072>,name:"icestorm",flags:[8,11],type:102}(on /gotischerbereich/mlabspiraltower/std5@0+6)) with no relation to target ({cnt:4984688,uuid:<1.7f742acea>,name:"Dread",flags:[0,8,11,14,21,52,103,104],type:0}(on /gotischerbereich/mlabspiraltower/stc5@15+5)) at /opt/deliantra-server/share/deliantra-server/cf.pm line 3951 +2010-04-07 23:58:02.2729+ eval {...} called at /opt/deliantra-server/share/deliantra-server/cf.pm line 3951 +2010-04-07 23:58:02.2729+ cf::tick() called at /opt/deliantra-server/share/deliantra-server/cf.pm line 3519 +2010-04-07 23:58:02.2729+ cf::main_loop() called at /opt/deliantra-server/share/deliantra-server/cf.pm line 3579 +2010-04-07 23:58:02.2729+ cf::main() called at -e line 0 +2010-04-07 23:58:02.2729+ +2010-04-07 23:58:02.2729 [ABT] --- C backtrace follows --- +2010-04-07 23:58:02.2729 [ABT] [log_backtrace(char const*)] /root/src/cf.schmorp.de/server/server/./cfperl.xs:1259 +2010-04-07 23:58:02.2730 [ABT] [LOG(int, char const*, ...)] /root/src/cf.schmorp.de/server/common/logger.C:209 +2010-04-07 23:58:02.2730 [ABT] [get_attack_mode] /root/src/cf.schmorp.de/server/server/attack.C:678 +2010-04-07 23:58:02.2730 [ABT] [hit_player(object*, int, object*, unsigned int, int)] /root/src/cf.schmorp.de/server/server/attack.C:1447 +2010-04-07 23:58:02.2730 [ABT] [hit_map(object*, int, unsigned int, int)] /root/src/cf.schmorp.de/server/server/attack.C:348 +2010-04-07 23:58:02.2730 [ABT] [move_cone(object*)] /root/src/cf.schmorp.de/server/server/spell_attack.C:2066 +2010-04-07 23:58:02.2730 [ABT] [process_object(object*)] /root/src/cf.schmorp.de/server/server/time.C:1356 +2010-04-07 23:58:02.2731 [ABT] [process_events] /root/src/cf.schmorp.de/server/server/main.C:275 +2010-04-07 23:58:02.2731 [ABT] [server_tick()] /root/src/cf.schmorp.de/server/server/main.C:405 +2010-04-07 23:58:02.2731 [ABT] [XS_cf_server_tick] /root/src/cf.schmorp.de/server/server/./cfperl.xs:1641 +2010-04-07 23:58:02.2731 [ABT] [Perl_pp_entersub] /root/cvt/perl/perl-5.10.0/pp_hot.c:2851 +2010-04-07 23:58:02.2731 [ABT] [Perl_runops_standard] /root/cvt/perl/perl-5.10.0/run.c:38 +2010-04-07 23:58:02.2731 [ABT] [Perl_call_sv] /root/cvt/perl/perl-5.10.0/perl.c:2632 +2010-04-07 23:58:02.2731 [ABT] [cfperl_tick()] /root/src/cf.schmorp.de/server/server/./cfperl.xs:1052 +2010-04-07 23:58:02.2731 [ABT] [??] ??:0 +2010-04-07 23:58:02.2732 [ABT] [??] ??:0 +2010-04-07 23:58:02.2732 [ABT] [??] ??:0 +2010-04-07 23:58:02.2732 [ABT] [Perl_pp_entersub] /root/cvt/perl/perl-5.10.0/pp_hot.c:2851 +2010-04-07 23:58:02.2732 [ABT] [Perl_runops_standard] /root/cvt/perl/perl-5.10.0/run.c:38 +2010-04-07 23:58:02.2732 [ABT] [Perl_call_sv] /root/cvt/perl/perl-5.10.0/perl.c:2632 +2010-04-07 23:58:02.2732 [ABT] [main] /root/src/cf.schmorp.de/server/server/main.C:428 + TODO: it is possible to inventory-lock items on the floor, and *spomehow* possible to drop them. -TODO: think about naking the rhyzian amulet useful - makes little sense in deliantra? -TODO: cast invisible... -TODO: magic mapping -TODO: random stuff should not be in compat.C + +TODO: 2009-11-29 12:48:48.3974 /opt/crossfire/share/crossfire/treasures:5729, "arch stonebig_club": treasure references unknown archetype +TODO: 2009-11-09 02:36:57.7199 unable to resolve postponed arch reference to 'Hanuk' +TODO: summon cult does not properly create multipart monsters? +2010-01-16 20:39:27.1222 BUG: process_events(): Object {cnt:2127760,uuid:<1.7241a5bd1>,name:"throwing dagger",flags:[17,24],type:48}(on /brest/ludo2@8+2) has no speed (-0.033333), but is on active list + +TODO: removing a single map tag from one map kills the tag on other maps as well, apparently + +TODO: golem survives "longer" now - too long? +TODO: clean up skill handling in kill_object. +TODO: make the "feed all faces" flag persistent between logins. +TODO: mining experience +TODO: +2010-04-15 06:50:54.4317 victim {cnt:53513,uuid:<1.80d9c4f7d>,name:"Erich Emautti",title:"the Wizard",flags:[0,14,16,21,29,52,53,54,55,56,57,58,79,82,103,104],t +ype:0}(on /gotischerbereich/mlabspiraltower/sttop1@12+16) (-15411) already dead in hit_player() +TODO: 2010-04-16 00:11:12.8142 {cnt:414174,uuid:<1.80ffd5a6b>,name:"teleporter",flags:[8,11,103,105,106],type:41}(on /scorn/houses/house3.bas1@5+4): no alternative teleporters around (user {cnt:386700,uuid:<1.81001a4d6>,name:"mouse",flags:[0,8,11,14,16,104],type:0}(on /scorn/houses/house3.bas1@5+4)). +TODO: I can access all the apartments I have ever rented, even though I stopped renting them long ago. I have ever rented, even though I stopped renting them long ago. I can enter the scorn and SD apartments +TODO: mining class +TODO: freelist freeing +TODO: highest cpu users: stand_in_light (object *op), get_map_flags, blocked_link, path_to_player + - (maps, arch) complete revamping of the transport routes - all cities are + now easily reachable, at a price. + - (maps) the mana fountain now has a ratelimit of 30 potions per hour. + - (maps) added (navar) gravedigger, that buys players gravestones. + - (maps) added the rathouse quest for the shockwave spell in navar + (by Dustfinger). + - (maps) Fixed bad floor tile in navar apartment. + - made (wizard) look_at show also uuids. + - added cf::object::find_object_uuid (::find_object already exists!). + - (maps) added new apartment, made by LinuxLemoner. + - (maps) added quest for the mining skill scroll to valleynoy. + - (arch) added sounds: zombie death, book reading, inscription. + - (arch) made the hill giants loose more body parts. + - (arch, maps) added black unicorn horn, required to access mlab hell. + - (arch) increased the (possible) number of arrows/bolts found in shops + and made them a bit more expensive. + - (maps) add more glory hole treasure styles. + - (maps, arch) add "hollow" variants of cave\d tiles, and use them + in a select number of mlab maps. + - only talk to the items on the nearest mapspace, or, of there + are none, to the player, not ALL items in vicinity. + - do not update the floorbox while running, to avoid big item + updates that cost network bandwidth and processing power. + - diseases could reduce a monsters speed to MIN_ACTIVE_SPEED, which + caused overflows causing monsters to become living deads. + - unapply weapons and armour before trying to improve it. + - teach the random map generator the ability to read ".rmg" files + that specify which actual style map to generate, and use it for + the default decorstyle to avoid inappropriate maps to be used. + - support (with some limitations) multiple different skills with the + same subtype. + - entering a map will now respect move_on and other effects. + - fix "nekosan duplication" bug - map swap out was not atomic, + so nekosan could end up beign saved AND escaped to another map. + - show invisible no longer makes magic mouths visible. + - move_type changes (spells, skills etc.) now will correctly + take move_on/move_off into account (e.g. buttons). + - display (exit) or (random map) in client for those objects. + - removed (useless) spell damage columns from spell info and replace + it by effective casting level - clients > 2.10 required to display + properly. + - building of levers/doors works again for all kinds of floors. + - the player can now withdraw and deposit all the available money. + - (maps) fix the apartment shop (japan => 吾妻) and add descriptions for + steinwandstadt/celvear. + - (maps) added /goodies map (goto *idkfa) with stuff useful for testing. + - improve editor support protocol slightly, provide workarounds for 2.10 + clients. + - tcp.ext didn't unbind in reloads. + - map-tags.ext didn't properly close the database on reloads. + - cfutil skips .-directories when scanning. + - build.ext prevents players from building on other player's maps. + - rent.ext allows the dm to enter anytime. + - NPC_Dialogue adds a new predefined variable, $map. + - new "build" event hook. + - get rid of archetype min/max values except max_x (which should go, too). + - added fix_generated_item and cf::object::generate to XS interface. + - no longer use uppercase identifiers for saving anywhere, but support + them on loading, for old playerfiles and maps. + - removed is_legal_2ways_exit - this is apparently dead code, and + would be handled differently nowadays anyway. + - random map .meta were not being expired at all. + - replace move_ob/move_object functiony by the equivalent move method. + - update to automake 1.10. + - invitation to maps with unagressive and friendly monsters doesn't + require level 4 anymore. + - do not let update_stats muck with the chosen_skill anymore. + - monsters now rotate through all skills (in chosen_skill). + - fix lots of path-related buffer overflows in the random map generator. + - added detect mineral vein spell. + - support "wall overlays" in the random map generator - not very generic, + used by minable veins. + - (maps) relocated jeweler town to another directoy. + - (arch) implement mining pickaxes and mining skill. + - (arch) add missing stonebig_club archetype from cfextended. + - jeweler skill doesn't diminish input values anymore. + - generate most constants for perl automatically. + - properly check for weapon name prefix ("Ragnarok's sword"). + - when player dies, restore his food to at least 200. + - support multiple inheritance for arch sources (inherit a,b,c). + - switch to storable-n-format for facedata, for better interoperability. + - implement generic "ranged" item framework (pickaxe, fishing rod). + - the singing skill actually respects the direction now. + - oratory and singing now require a direction. + - use_skill now requires that you can actually apply the skill tool. + - do not invoke perl on every user command anymore by providing + a command and an unknown_command event. + - move mark, run, run_stop, fire and fire_stop commands back from + perl to C++, for speed reasons (basically undo patchset 1304). + - add a client_destroy event, so we don't have to hook the + attachable destroy event (which is called much more often). + - removed (unused) FLOOR object type. + - fix errornous change_abil messages for rods (and other types). + - remove include/commands.h and server/c_new.C, and refactor + all into server/commands.C. + - save and restore combat/ranged/current slot for players. + - the server now batches item's face/fx commands, as opposed + to sending one fx per item - helps mostly at connect and + with floorbox updates. + - implemented ext::player_env::play_music_once $who->contr, "km/...". + - the random map generator now supports selecting difficult for + more style categories than just monsters (all except fountains + apparently). + - object serialiser no longer creates empty "owner" references. + - make sure failed castings take some time, too, to avoid being + smitten by your god. + - many more failmsgs and help texts. + - support log suspension/resumption, e.g. for defragmenting. + - stop thrown objects when their speed goes too low. + - log the number of unique logins seen every minute in a compact + format (for statistics). + - do not send delitem for players. + - support static scalar data members properly in genacc now. + - implement "simple" freelist management for objects. + - recycle object counts now - to support longer uptimes. + - got rid of the dreaded write_parameters_to_string (666 chars omitted) + function (and yes, 666 is exact!). + - random map generator results should now be fully repeatable. + - fixed possible crash bug in build code. + - rename find_marked_object to ->mark and speed up. + - player movers properly destroy themselves when used up, instead + of leaking. + - do not show msg for unidentified objects that need identification. + - convert formulae/bookarch/settings file parser to thawer framework. + - finally get rid of fgets (..., thawer) and use a much cleaner + next_line method. + - use nicer file format for exp_table and attackmess + (more like other resource files). + - make parse errors during server startup fatal. + - properly initialise all maptile values in constructor. + - improved {link} map. + - optional unloadable extensions will not lead to an endless loop. + - server will cleanly autorestart when running out of protocol IDs. + - use faster and slightly more exact find_dir_2 replacement. + +2.93 Sat Feb 13 15:52:36 CET 2010 + - (maps) fix travel to valdor and back. + - do no longer by default eval map cod ein safe compartments + (this can be re-enabled using the safe_eval config option). + - (maps) fix an apparent crash bug caused by broken generstors + in lorak. + - fix data corruption issues caused by recursive calls to + unordered_mapwalk - now every caller must provide its own + buffer. + - (maps) improve tindervale maps slightly. + - (arch) considerably decrease slag ex price. + - (arch) fix filth archetype. + - extension dependency resolve was completely broken. + - multipart objects would cause save_throw_object to crash - it + now acts on the head only. + - do not try to connect to an irc server unless explicitly configured. + - do not expect decltype() to be available in gcc 4.4. + - extended the safe perl environment by loops. + - (arch) fix "armless cook" facings. + - the "experience table" resource item did not have a proper + hash associated with it, so updates could not be detected. + - fixed poison traps in doors. + - player->killer_name did not properly flag the name as unicode. + - aggressively mark many more methods as utf8 or octet-expecting, + and provide a non-destructive SvPVutf8 variant. + - do not allow dragon players to change their title via the settings. + - ratelimited jeweler skill nugget conversion. + - under high load, the server stopped swapping out to make + the server more responsive, but making it impossible to reduce + the load by... swapping out. slot queuing will now always make + some progress. + - improve the quality of the load-avg calculation. + - (maps) fixed quest npc in jeweler dungeon quest. + - don't fail to write the runtime file if the temporary already exists. + - ipo.ext no longer uses (synchronous) CFDB, stores mail directly at + player now. + - rewrote hiscore code from scratch to use async I/O, store uuid and + timestamp and use a tab in the client to increase awareness. + - npc dialog setflag/setsatte now check for defined'ness, so + setflag 0 is possible. + - make install now deletes old extensions, to ease upgrades in the + deliantra vm. + +2.92 Thu Dec 24 04:51:56 CET 2009 + - the destruction spell could/would corrupt server memory quite often. + - logging in only fixed the combat slot when the palyer was loaded from + disk, not when it already was in memory. + - cede in wait_for_tick* when the tivck is inhibited hopefully + avoiding livelock during high-load emergency saves. + - logging in did not properly unapply all skills. + - (maps) make the invite quest marking much more obvious. + - (arch) fix warrior archetype names. + - map prefetching never prefetch upwards. + - wizpass no longer makes you non-blocking. + - (maps) add light to some of the special maps, add troll + map. + +2.91 Mon Nov 30 10:18:09 CET 2009 + - (maps) add gorokh_final mapset from crossfire. + - (maps) block most vault-type mlab locations, open up + imperial converters for anybody to use. + - (maps, arch) replace all permanent stat potions by random + variants. + - (maps) spread gorokh demon styles more evenly over 1..100. + - TRIGGER events got passed a garbage pointer instead of a + real player object on player changes. + - diseases and maybe other things could sometimes reduce the speed + to below MIN_ACTIVE_SPEED, deactivating the monster and causing + much grief. + - speed_left randomisation was, apparently, totally broken. + - introduce FLAG_RANDOM_SPEED instead of using the sign bit + of the speed slot internally and in map save files. among other + things, this gets rid of all the abs (speed) calls. + - reduce map file save files by using abridged keywords aliases. + - shop specialisation calculation was totally broken. + - nrof/itemcount/volume limits when dropping to the floor are + now enforced. + - fix magic mapping, which only worked for inate spell casting. + - godgiven items will now be explicitly described as such. + - (arch) dded a quiver of bolts. + - materialnames would change "randomly" on every load, only + set the material when the materialname was not set before. + - balancing change, halve rod recharge speed (instead + of 4.8s, the standard rods now recharge in ~10s. not a solution, + but still. + - reduce cpu time used for map saving by >>50% by avoiding + the costly flag-checking loop in most cases and using a simple + repeat-cache for speed_left. + - always delay stats update for players on insert/remove till + next tick/command, which saves a lot of cpu cycles on drop/take. + - add hint about havign to run to attach unaggressive npcs. + - pet monster level was not displayed correctly in "showpets index". + - clean up floating point conversions and many similar nitpicks. + - fix hanuk altar. + - overhaul material system to be much faster, and having less bugs, but + still having a lot of cruft :/. + - add marble shop floor. + - move gcc specifics to new file include/compiler.h. + - unrecognised cfpod directives could cause undefined behaviour. + - added boes' marble shop to steinwandstadt. + - pad mapspace to power-of two size for speed/codesize/cache gains. + - optimise mapspace updates. + - cache volume/items per mapspace. + - use fabs, min and max consistently (surprisingly for a code size + decrease). + - fixed a small uncleanlieness in item converters, which might + have led to weird item multiplications. + - store hash value in shstr, not used by anything, but doesn't use much memory. + - fixed crash bug in learn_spell command. + - enhanced output of the mapinfo command. + - remove all traces of FLAG_NO_FIX_PLAYER. + - avoid sv_derived_from calls (lots of hash lookups) when converting + from perl to c++. + - implemented least_significand_bit and for_all_bits_sparse_32 utilities + and use it in some "inner" loops. + - rename flags to attachable_flags to avoid confusion :=). + - fixed jeweler experience output to not be floating point. + - added lock/unlock commands, thanks for the patch go to Shawn Robinson! + - (arch, maps) introduce inactive_shop_floor and fix some shops with it. + - try to prefetch memory inside process_objects, which can give + enourmous speed gains. + - make some small optimisation to the process_objects loop. + - move facedata chksum calculation into cfutil, make server more flexible + handling different chksum lengths. + - check for hash collisions in cfutil. + - reduce face checksum size from 6 to 4 bytes. + - don't crash when a map uses empty sound/sound_destroy/face. + - removed weather-specific attributes. + - fixed genkeywords dependency. + - do not clear "randomitems" slot for world underlays. + - use "sl" as short-hand for speed_left in save-files, just to make them + smaller. + - in general, don't crash on value-less resource file lines + anymore, due to get_str never returning a 0-pointer. + - code cleanup in move_symptom. + - removed arch_to_object (replaced it by ->instance ()). + +2.90 Sat Nov 7 15:06:06 CET 2009 - some Andrew Madloch wanted, despite being specifically told multiple times that the Deliantra parts additions are under AGPL, - close up the source code of the server within his company. + lock up the source code of the server within his company. some reorganisations have been done to the sourcecode to make it clearer that this violates the Affero GPL. Help to keep Deliantra free software even for the coming generations and be wary of the promises of Andrew Madloch, he has nothing - good in mind for your free software. + good in mind for free software. - clarify which files of the server are 100% AGPL. - minor reorganisation, move some GPL code into other files. + - implement viewpoint (which is like observe, but only for the map, + not stats etc.). + - replace magic mapping overlay by a flying bird exposing area + on the worldmap (ext/magic_mapping.ext). + - @find in npc dialog was useless as the vairbale wasn't accessible. + - @find results in npc dialogue is now stored in $find. - (maps) add lostwages and lorak (valdor/varsia) from cfextended. - (maps, server) add lostwages and celvear apartments to rent system. - (maps) closed guild houses, this is not scalable, ask your friendly @@ -34,6 +357,7 @@ and santo dominion. - (maps, arch) added gotischerbereich from cfextended, and some archetypes to go with them. also adjusted archetypes to be more korrekt "gotisch". + - doors/containers can now use "match ..." expressions for the slaying field. - properly close client-side dialogue when the player is teleported away. - map-tags did not properly close it's database tables or wait for a quiescent state, causing memory corruption on reload. @@ -52,6 +376,12 @@ used to reogianise the illogical arch tree a bit. - (maps) import most map names from crossfire. - nuke image_sums/image_info subcommands from the protocol. + - fly_high movement gives better los, ignoring blocksview. + - the addexp command should now honour skill names with spaces. + - (arch) add nuke from cfextended to avoid a crash. + - (arch) added many more buildable marble floors. + - major namespace cleanup: save 45kb by making functions static + that were unnecessarily global. 2.82 Sat Oct 24 03:50:17 CEST 2009 - fixed a classical and exploitable stack buffer overflow in the gsay command. @@ -530,7 +860,7 @@ archetype *archname* (chairs of different facings were merged). - bugfix: fix a potential crash issue in find_object_name (not used normally). - - bugfix: locked doors cnanot be bashed down by magical means + - bugfix: locked doors cannot be bashed down by magical means (destruction, magic missile etc.). - swarm spells without a direction now use various spiral patterns instead of being fully random. @@ -619,7 +949,7 @@ - refactored the object remove/insert functions and most related functions (decrease, split, merge_ob etc.). - make it compile better on freebsd (reported by pippijn). - - remove GT_UPDATE_INV (no longer applicable). + - removed GT_UPDATE_INV (no longer applicable). - fix the longstanding "container stays open" bug. - improved floorbox updating to be incremental and other protocol optimisations. @@ -911,3 +1241,4 @@ - removed most all of the weather code - unified logging to stderr and file - too many minor changes to document +