ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.97
Committed: Thu Aug 30 08:44:12 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.96: +7 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 Here 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
10 2007-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.
11 2007-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
13 http://stonewashed.net/sfx.html
14
15 http://www.anthro.wayne.edu/museum/MuseumCollectionSummary/Pictures/Ren%20Cen/stoneware%20bottle.jpg
16
17 2007-08-21 18:38:41.9104 [ABT] [server_tick()] /localvol/root/src/cf.schmorp.de/server/server/main.C:500
18 2007-08-21 18:38:41.9103 [ABT] [process_events()] /localvol/root/src/cf.schmorp.de/server/server/main.C:275
19 2007-08-21 18:38:41.9103 [ABT] [process_players1] /localvol/root/src/cf.schmorp.de/server/server/main.C:245
20 2007-08-21 18:38:41.9103 [ABT] [handle_newcs_player(object*)] /localvol/root/src/cf.schmorp.de/server/server/player.C:2271
21 2007-08-21 18:38:41.9102 [ABT] [??] /localvol/root/src/cf.schmorp.de/server/socket/loop.C:106
22 2007-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
23 2007-08-21 18:38:41.9102 [ABT] [player_apply(object*, object*, int, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:2612
24 2007-08-21 18:38:41.9102 [ABT] [manual_apply(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:2509
25 2007-08-21 18:38:41.9102 [ABT] [apply_special(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:3145
26 2007-08-21 18:38:41.9102 [ABT] [object::change_weapon(object*)] /localvol/root/src/cf.schmorp.de/server/common/object.C:506
27 2007-08-21 18:38:41.9101 [ABT] [LOG(int, char const*, ...)] /localvol/root/src/cf.schmorp.de/server/common/logger.C:60
28 2007-08-21 18:38:41.9101 [ABT] [log_backtrace(char const*)] /localvol/root/src/cf.schmorp.de/server/server/./cfperl.xs:1126
29 2007-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
30 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)
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?
57
58 07:20:32 -cfbot:#cf- [Incen] that's odd. a pile of dust called "potion"
59 07:21:05 -cfbot:#cf- [Incen] it was dust of piercing vision
60 07:21:20 -cfbot:#cf- [Lina] seems to happen when picked up and unidentified
61 07:21:37 <schmorp> unidentified they are called potions?
62 07:21:48 -cfbot:#cf- [Incen] ayup
63 07:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms
64
65 * totla invisibility is too hard to get. monsters should attack the
66 player when hit by him or his spell anyways.
67
68 * IMPORTANT: current server breaks all old cfplus clients due to partial transfers
69
70 * IMPORTANT: cnanot enter G<xxx|yyy> in chat/irc, as it gets expanded
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
81 * new players sometimes seem to lack statistics
82
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
84
85 * IMPORTANT: client structures (ns) seem to never get released ever.
86
87 * IMPORTANT: never-defined archetypes should be flagged as such and a suitable
88 check fucntion should be designed - the same for empty treasurelists
89 and similar stuff.
90
91 * IMPORTANT: reloading archetypes should create copies of used archetypes, letting
92 existing objects refer to the old archteypoes (for purposes of saving).
93 UPDATE: this is done, but an upgrade of in-memory objects is highly
94 advisable, as well as testing wether reloading actually works :)
95
96 * there is no "fire 0" to start firing on yourself as opposed to fire 5 etc. which starts
97 firing into a specific direction. fire 0 only fires once (this is a bug, but most clients
98 move firing on yourself on non-shift-kp_5 because servers do not support the shifted
99 semantics).
100
101 * /morok_dun/mines1 n world_120_109 does not exist, but the other mine promises a quest
102 there. be inventive.
103
104 * victim {cnt:55798339,uuid:<1.149eb6a43>,name:"ice",flags:[0,8,103],type:23}(on /whalingoutpost/misc/frostcavern1@49+16) already dead in hit_player()
105 sanctuary etc. hits lava-"ice" and kills it in the process. other stuff seems to not work as expected with sanctuary
106 hitting items it shouldn't.
107
108 * can users in theory steal the gems out of their snitchangel pet monsters?
109 => the nodrop mechanism used for that should also disallow stealing.
110
111 * bowmode should offer different capabilities given on level of user
112 (Leonov).
113
114 * player_sold 1 still gets added to maps at some point, but server cnanot read it.
115 resolve the situation by either implementing it fully or removing it fully.
116
117 * climbing, meditating, levitating skills etc. should give you experience per use
118
119 * rewrite banish in perl (low priority)
120
121 * nekosan snatches the fish, which stays in the playr inventory.
122 remove should automaticlaly send esrv_del_item, and nobody else should,
123 for inv items. same for ipo.
124
125 * output-count and output-sync defaults *might* cause delay by one message
126 for new users.
127
128 * 2007-02-03 03:49:06.010 loading /opt/crossfire/share/crossfire/maps//navar_city/city1houses (43970)
129 2007-02-03 03:49:06.011 Discarding object without arch: texas
130 2007-02-03 03:54:36.926 loading /opt/crossfire/share/crossfire/maps//navar_city/misc/city1mermaid (15753)
131 2007-02-03 03:54:36.926 Discarding object without arch: event_say
132
133 * IMPORTANT:
134 entering instantiated random maps whose meta file is missing freezes the player.
135
136 * random speed should result in randomised initial animation face.
137
138 * example of why a player was kept alive long after having logged out.
139 those are probably in a player inventory.
140 2007-01-23 14:32:17.413 player-scheduler refcnt nulla 2,1 9,9
141 2007-01-23 14:31:40.821 owner: {cnt:1291946,uuid:<1,bd23b6aa>,name:"trident",flags:[17,24,111],type:15}(on (null)@1+1)
142 2007-01-23 14:31:40.822 owner: {cnt:741779,uuid:<1,bd1b5193>,name:"throwing dagger",flags:[17,24,98],type:15}(on (null)@1+1)
143 2007-01-23 14:31:40.824 owner: {cnt:1403336,uuid:<1,bd2569c8>,name:"throwing hammer",flags:[17,24,111],type:15}(on (null)@1+1)
144 2007-01-23 14:31:40.824 owner: {cnt:1291941,uuid:<1,bd23b6a5>,name:"throwing star",flags:[17,111],type:15}(on (null)@1+1)
145 2007-01-23 14:31:40.825 owner: {cnt:1294661,uuid:<1,bd23c145>,name:"axe",flags:[17,111],type:15}(on (null)@1+1)
146 2007-01-23 14:31:40.828 owner: {cnt:1323712,uuid:<1,bd2432c0>,name:"spear",flags:[17,24,111],type:15}(on (null)@1+1)
147 2007-01-23 14:31:40.828 owner: {cnt:742413,uuid:<1,bd1b540d>,name:"spear",flags:[17,24,74],type:15}(on (null)@1+1)
148 2007-01-23 14:31:40.828 owner: {cnt:1420216,uuid:<1,bd25abb8>,name:"throwing dagger",flags:[17,24,111],type:15}(on (null)@1+1)
149
150 * 2007-01-15 03:17:33.547 victim (arch door_look_1, name ice) already dead in hit_player()
151 => use debug_desc
152 => find out whats causing it
153
154 * training center (kobold etc.) does not stop working after 30-40min
155 but goes on for 2 hours _at least_.
156
157 * /mlab/cwdccastleofmarquis3, goto and then charm => very very high cpu usage.
158 original crossfire: 100% cpu usage => freeze
159 after mapspace::update fix: 40%
160 after map protocol optimisation: 15%
161
162 * 2007-01-14 21:15:58.605 Fiery, Wist's fervent pupil was hit by counterspell with counterspell attack.
163 this is simply counterwall hitting monsters. but why does it happen?
164
165 * 2007-01-15 01:02:00.183 Query_cost: item {cnt:1636781,uuid:<1,a1f0f9ad>,name:"boulder",flags:[17],type:0}(on ?random/d8250dbd970319bd5f35fb4f2b9b46a9@44+34) hasn't got a valid type
166 fix once and for all please. a) type 0 is valid b) maybe the boulder should have another type.
167
168 * animated weapons should come back to the player when he dies/disconnects?
169 2007-01-14 18:50:07 info: winvirus chats: Could you make it so if you have an
170 animated weapon out and you disconnect, that it'd simply a) fall to the
171 ground or b) return to your inv? Rather than disappearing into the void of
172 nothingness.
173
174 * mapinfo command should be handled asynchronously (cause it blocks the server)
175
176 * 16:09 <@schmorp> eigetlich soltle world-overlay nahc world moven
177 16:09 <@schmorp> ende des themas
178 16:09 <@schmorp> und eigentlich soltlen dort alle leeren maps gelöscht werden
179 16:09 <@schmorp> so daß nur maps existieren, die overwirtes enthalten
180 16:09 <@schmorp> erinnert mich dran
181
182 * map converter
183 elmex: because of the faces and all the other nice things - i guess
184 [HUH?? please specify or remove]
185
186 * implement no-drop-on-destroy flag (done)
187 for example to remove the specialcases for books that are destroyed
188 and contain spells (should be done)
189
190 * look at these logs:
191 2006-09-16 01:38:16 Got unknown value in map header: race human
192 2006-09-16 01:37:17 Map darkness for poison on /quests/peterm/FireTemple/Fire2 is too high (6)
193 2007-01-15 02:46:23.746 winvirus has two money entries of (silvercoin)
194 2007-01-15 02:46:23.746 winvirus has two money entries of (goldcoin)
195 2007-01-15 02:46:23.746 winvirus has two money entries of (platinacoin)
196 2007-01-15 02:46:23.745 winvirus has two money entries of (royalty)
197
198 * make sure custom keys get saved in same order as they are being loaded.
199
200 * wishlist: implement buildable "safe floors" for apartments. or make all apartments safe and
201 implement buildable non-safe floors.