ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
(Generate patch)

Comparing deliantra/server/TODO (file contents):
Revision 1.69 by root, Wed Jul 4 04:15:29 2007 UTC vs.
Revision 1.97 by root, Thu Aug 30 08:44:12 2007 UTC

1Here are listed some todos which should be looked into sometimes. 1Here are listed some todos which should be looked into sometimes.
2
3* IMPORTANT:
4 there is a possible deadlock condition when one palyer has something that refers to another
5 ansd that one has something that refers to the former, or more complicated cycles, as
6 loading one will try to load the other which will block on waiting for the first one.
7 solution: none, really, except maintaining a "currently being loaded" hash for maps
8 and players and use that...
9
102007-08-26 18:04:38.1909 Can't locate object method "ns" via package "cf::client::wrap" at /opt/crossfire/share/crossfire/cf.pm line 2582.
112007-08-26 18:04:38.1910 ... while processing EXTCMD(cf::player::wrap=HASH(0x3a56920) {"msgid":"a1","version":1,"msgtype":"cfplus_support"}) event, skipping processing altogether.
12
13http://stonewashed.net/sfx.html
14
15http://www.anthro.wayne.edu/museum/MuseumCollectionSummary/Pictures/Ren%20Cen/stoneware%20bottle.jpg
16
172007-08-21 18:38:41.9104 [ABT] [server_tick()] /localvol/root/src/cf.schmorp.de/server/server/main.C:500
182007-08-21 18:38:41.9103 [ABT] [process_events()] /localvol/root/src/cf.schmorp.de/server/server/main.C:275
192007-08-21 18:38:41.9103 [ABT] [process_players1] /localvol/root/src/cf.schmorp.de/server/server/main.C:245
202007-08-21 18:38:41.9103 [ABT] [handle_newcs_player(object*)] /localvol/root/src/cf.schmorp.de/server/server/player.C:2271
212007-08-21 18:38:41.9102 [ABT] [??] /localvol/root/src/cf.schmorp.de/server/socket/loop.C:106
222007-08-21 18:38:41.9102 [ABT] [std::deque<command, slice_allocator<command> >::pop_front()] /usr/include/c++/4.1.3/bits/stl_deque.h:1059
232007-08-21 18:38:41.9102 [ABT] [player_apply(object*, object*, int, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:2612
242007-08-21 18:38:41.9102 [ABT] [manual_apply(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:2509
252007-08-21 18:38:41.9102 [ABT] [apply_special(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:3145
262007-08-21 18:38:41.9102 [ABT] [object::change_weapon(object*)] /localvol/root/src/cf.schmorp.de/server/common/object.C:506
272007-08-21 18:38:41.9101 [ABT] [LOG(int, char const*, ...)] /localvol/root/src/cf.schmorp.de/server/common/logger.C:60
282007-08-21 18:38:41.9101 [ABT] [log_backtrace(char const*)] /localvol/root/src/cf.schmorp.de/server/server/./cfperl.xs:1126
292007-08-21 18:38:41.9100 [ABT] 2007-08-21 18:38:41.5967 Hanke changed to unapplied weapon {cnt:3617314,uuid:<1.22acc8d86>,name:"generic builder",flags:[29,80,98],type:160}(on ~Hanke/brest/apartments/brest_town_house@11+21)rpse
302007-08-21 18:38:41.5967 Hanke changed to unapplied weapon {cnt:3617314,uuid:<1.22acc8d86>,name:"generic builder",flags:[29,80,98],type:160}(on ~Hanke/brest/apartments/brest_town_house@11+21)
31
32
33* "You get the distinct feeling that <other> is nuts" actually appeared once.
34
35* prisondemadness in pod/books.pod ends in =head1 Order of the gravestone, rather mysteriously.
36
37* IMPORTANT: the ex command does not properly filter cfpod.
38
39* diseases refer to their owner, keeping diseasd players alive needlessly.
40
41* for the future: adjust sp regenration in that way that it doesn't
42 regenrate when food is below < 200 (a magic constant)
43
44* IMPORTANT: create a no_drop flag and set it on the nexus (or somehow avoid
45 stuff beig dropped on the teleporter there).
46
47* gcfclient wings books at <4kb of text. thansk a lot mr. stupid fucking idiot
48 crossfire developer who thinks that 4k is enough for everybody.
49 implement a workaround, either just telling people that their book
50 is winged or not sending it as book but as separate paragraphs or multiple
51 books. must be multiple paragraphs:
52 /* 4096 is probably way overkill, but 1024 could very well be too small.
53
54* level 100 inscription with 4 kills: a single random_Scorll treasure
55 item in the ancient mages of forgotten town palace create
56 many *hundreds* of actual scrolls when instantiated?
2 57
307:20:32 -cfbot:#cf- [Incen] that's odd. a pile of dust called "potion" 5807:20:32 -cfbot:#cf- [Incen] that's odd. a pile of dust called "potion"
407:21:05 -cfbot:#cf- [Incen] it was dust of piercing vision 5907:21:05 -cfbot:#cf- [Incen] it was dust of piercing vision
507:21:20 -cfbot:#cf- [Lina] seems to happen when picked up and unidentified 6007:21:20 -cfbot:#cf- [Lina] seems to happen when picked up and unidentified
607:21:37 <schmorp> unidentified they are called potions? 6107:21:37 <schmorp> unidentified they are called potions?
707:21:48 -cfbot:#cf- [Incen] ayup 6207:21:48 -cfbot:#cf- [Incen] ayup
807:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms 6307:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms
9 64
10* IMPORTANT: item_power should be a body slot like other such qualities, 65* totla invisibility is too hard to get. monsters should attack the
11 so they can be sensibly tested against exclusion. Right now, one can 66 player when hit by him or his spell anyways.
12 equip more than item power allows because it is not checked everywhere
13 (and should not have to be checked, either).
14 67
15* the following semantics was removed form enter_exit, bring it back sensibly and safely 68* IMPORTANT: current server breaks all old cfplus clients due to partial transfers
16 (don't want the savebed set on a random map).
17 /* mids 02/13/2002 if exit is damned, update players death & WoR home-position and delete town portal */
18 if (QUERY_FLAG(exit_ob, FLAG_DAMNED)) {
19 /* remove an old force with a slaying field == PORTAL_DESTINATION_NAME */
20 for(tmp=op->inv; tmp != NULL; tmp = tmp->below) {
21 if(tmp->type == FORCE && tmp->slaying && !strcmp(tmp->slaying, PORTAL_DESTINATION_NAME)) break;
22 }
23 if(tmp) {
24 remove_ob(tmp);
25 free_object(tmp);
26 }
27 69
28 path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob), op->contr->savebed_map, sizeof(op->contr->savebed_map)); 70* IMPORTANT: cnanot enter G<xxx|yyy> in chat/irc, as it gets expanded
29 op->contr->bed_x = EXIT_X(exit_ob), op->contr->bed_y = EXIT_Y(exit_ob);
30 save_player(op, 1);
31 /* LOG(llevDebug,"enter_exit: Taking damned exit %s to (%d,%d) on map %s\n",
32 * exit_ob->name?exit_ob->name:"(none)", exit_ob->x, exit_ob->y,
33 * path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob))); */
34 }
35 71
72* grammar: 2007-07-05 08:46:07 msg: You open up deep wounds sandy with a brutal swipe.
73
74* is_animated is sometimes written twice when saving, because it must be off when
75 no animation is set. this does not work, of course, because later the flag is written again.
76 should probably be fixed on load, not on save.
77
78* 20:09:34 -cfbot:#cf- Teufelhunden was killed by ball_lightning
79 obviously this should be the real name, not the arch name.
80
36* new players lack statistics 81* new players sometimes seem to lack statistics
37 82
38* 21:37:28 -cfbot:#cf- [Drakna] yeah see meditation heals but it eats up food. but if yoiu have no food you can still 83* 21:37:28 -cfbot:#cf- [Drakna] yeah see meditation heals but it eats up food. but if yoiu have no food you can still
39 84
40* IMPORTANT: client structures (ns) seem to never get released ever. 85* IMPORTANT: client structures (ns) seem to never get released ever.
41 86
77 remove should automaticlaly send esrv_del_item, and nobody else should, 122 remove should automaticlaly send esrv_del_item, and nobody else should,
78 for inv items. same for ipo. 123 for inv items. same for ipo.
79 124
80* output-count and output-sync defaults *might* cause delay by one message 125* output-count and output-sync defaults *might* cause delay by one message
81 for new users. 126 for new users.
82
83* arrest => jail, but the jailed player can suicide and will wake up
84 in his normal savebed, not the jailbed.
85 127
86* 2007-02-03 03:49:06.010 loading /opt/crossfire/share/crossfire/maps//navar_city/city1houses (43970) 128* 2007-02-03 03:49:06.010 loading /opt/crossfire/share/crossfire/maps//navar_city/city1houses (43970)
87 2007-02-03 03:49:06.011 Discarding object without arch: texas 129 2007-02-03 03:49:06.011 Discarding object without arch: texas
88 2007-02-03 03:54:36.926 loading /opt/crossfire/share/crossfire/maps//navar_city/misc/city1mermaid (15753) 130 2007-02-03 03:54:36.926 loading /opt/crossfire/share/crossfire/maps//navar_city/misc/city1mermaid (15753)
89 2007-02-03 03:54:36.926 Discarding object without arch: event_say 131 2007-02-03 03:54:36.926 Discarding object without arch: event_say
145 for example to remove the specialcases for books that are destroyed 187 for example to remove the specialcases for books that are destroyed
146 and contain spells (should be done) 188 and contain spells (should be done)
147 189
148* look at these logs: 190* look at these logs:
149 2006-09-16 01:38:16 Got unknown value in map header: race human 191 2006-09-16 01:38:16 Got unknown value in map header: race human
150 2006-09-16 01:37:33 invalid type defined in shopitems in string cloak:5;spellbook:35;ring:15;book:28;scroll:25;wand:28;armour improver:2;weapon improver:2;rod:32;potion:10;horn:35;amulet:17;power_crystal:25;gem:0;lamp:-10;*:-90;
151 2006-09-16 01:37:17 Map darkness for poison on /quests/peterm/FireTemple/Fire2 is too high (6) 192 2006-09-16 01:37:17 Map darkness for poison on /quests/peterm/FireTemple/Fire2 is too high (6)
152 2007-01-15 02:46:23.746 winvirus has two money entries of (silvercoin) 193 2007-01-15 02:46:23.746 winvirus has two money entries of (silvercoin)
153 2007-01-15 02:46:23.746 winvirus has two money entries of (goldcoin) 194 2007-01-15 02:46:23.746 winvirus has two money entries of (goldcoin)
154 2007-01-15 02:46:23.746 winvirus has two money entries of (platinacoin) 195 2007-01-15 02:46:23.746 winvirus has two money entries of (platinacoin)
155 2007-01-15 02:46:23.745 winvirus has two money entries of (royalty) 196 2007-01-15 02:46:23.745 winvirus has two money entries of (royalty)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines