ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.110
Committed: Tue Oct 16 00:30:24 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
Changes since 1.109: +0 -2 lines
Log Message:
- implement archetype->instance as replacement for arch_to_object
  (better name?)
- fix arrows merging with stuff on floor
- fix level_for_item to read more clearfly, do not use drand48
  and fix the random level generation when !level set.
- splay arrow container in find_arrow (but searching containers is still borked?)
- improve create_missile spell.

File Contents

# Content
1 Here are listed some todos which should be looked into sometimes.
2
3 * drop all and get all will result in trying to pick up yourself
4 (likely harmless)
5
6 * IMPORTANT: 05:13:11 -cfbot:#cf- [Lurker] Oh, and autopickup arrows.
7 05:13:21 -cfbot:#cf- [Lurker] picks up your own in-flight-arrows.
8
9 * IMPORTANT: shot arrows do not stack (e.g. from angels, they leave single arrows).
10
11 * IMPORTANT: create bomb, take it (owner gets cleared), bomb expldoes in inventory => harms players b/c no owner
12
13 2007-10-11 02:30:45.0068 sync job at /opt/crossfire/share/crossfire/cf.pm line 2573
14 cf::object::player::enter_exit('cf::object::player::wrap=HASH(0x4760a60)', 'cf::object::wrap=HASH(0xb8d2f0)') called at /opt/crossfire/share/crossfire/cf.pm line 3505
15 eval {...} called at /opt/crossfire/share/crossfire/cf.pm line 3505
16 cf::__ANON__('Event::Event=SCALAR(0x692ff20)') called at /opt/perl/lib/perl5/Event.pm line 164
17 eval {...} called at /opt/perl/lib/perl5/Event.pm line 164
18 eval {...} called at /opt/perl/lib/perl5/Event.pm line 164
19 Event::loop() called at /opt/crossfire/share/crossfire/cf.pm line 3213
20 cf::main() called at -e line 0
21
22 * sync_job in random map prepare still exists.
23
24 ***
25
26 2007-10-08 23:06:07.8314 error in event callback: Event::Event=SCALAR(0x1131a2f0) Can't call method "ob" without a package or object reference at /opt/crossfire/share/crossfire/ext/follow.ext line 38, <GEN28> line 27.
27 ^ cause for server freezes?
28
29 * IMPORTANT:
30 "cannot change rod when levitating"
31
32 * balance does not work in the bank anymore
33
34 * vanessa kept active because of:
35 owner of: {cnt:1122393,uuid:<1.26f992059>,name:"spear",flags:[17,24,111],type:15}(on <freed objects map>@1+1)
36 owner of: {cnt:961349,uuid:<1.26f96ab45>,name:"throwing dagger",flags:[17,24,111],type:15}(on <freed objects map>@1+1)
37 -> owner probably got set somehow after destruction, but how... (must be sth,. with thrown ob).
38
39 * dragon cannot apply ipo writing pen (lack the body), but use skill fine
40
41 * pupland worldmap region is "santo dominion" => fix.
42
43 * 2007-09-17 21:15:39.7368 BUG: process_events(): removed object is on active list: {cnt:2940058,uuid:<1.255dcdc9a>,name:"mover",flags:[2,8,11,64,103],type:40}(on /quests/peterm/Demonology/GroundLevel@10+17)
44
45 http://stonewashed.net/sfx.html
46
47 2007-09-23 02:41:37.7100 name sand, arch pstone_1, type 0 with fly/walk on/off not handled in move_apply()
48 2007-09-23 02:41:37.7101 name bench, arch bench_2_1_1, type 0 with fly/walk on/off not handled in move_apply()
49 2007-09-23 02:41:37.8285 name bench, arch bench_2_1_1, type 0 with fly/walk on/off not handled in move_apply()
50 2007-09-23 02:41:37.8297 name bench, arch bench_2_1_1, type 0 with fly/walk on/off not handled in move_apply()
51
52 http://www.anthro.wayne.edu/museum/MuseumCollectionSummary/Pictures/Ren%20Cen/stoneware%20bottle.jpg
53
54 2007-08-21 18:38:41.9104 [ABT] [server_tick()] /localvol/root/src/cf.schmorp.de/server/server/main.C:500
55 2007-08-21 18:38:41.9103 [ABT] [process_events()] /localvol/root/src/cf.schmorp.de/server/server/main.C:275
56 2007-08-21 18:38:41.9103 [ABT] [process_players1] /localvol/root/src/cf.schmorp.de/server/server/main.C:245
57 2007-08-21 18:38:41.9103 [ABT] [handle_newcs_player(object*)] /localvol/root/src/cf.schmorp.de/server/server/player.C:2271
58 2007-08-21 18:38:41.9102 [ABT] [??] /localvol/root/src/cf.schmorp.de/server/socket/loop.C:106
59 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
60 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
61 2007-08-21 18:38:41.9102 [ABT] [manual_apply(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:2509
62 2007-08-21 18:38:41.9102 [ABT] [apply_special(object*, object*, int)] /localvol/root/src/cf.schmorp.de/server/server/apply.C:3145
63 2007-08-21 18:38:41.9102 [ABT] [object::change_weapon(object*)] /localvol/root/src/cf.schmorp.de/server/common/object.C:506
64 2007-08-21 18:38:41.9101 [ABT] [LOG(int, char const*, ...)] /localvol/root/src/cf.schmorp.de/server/common/logger.C:60
65 2007-08-21 18:38:41.9101 [ABT] [log_backtrace(char const*)] /localvol/root/src/cf.schmorp.de/server/server/./cfperl.xs:1126
66 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
67 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)
68
69
70 * "You get the distinct feeling that <other> is nuts" actually appeared once.
71
72 * prisondemadness in pod/books.pod ends in =head1 Order of the gravestone, rather mysteriously.
73
74 * IMPORTANT: the ex command does not properly filter cfpod.
75
76 * diseases refer to their owner, keeping diseasd players alive needlessly.
77
78 * for the future: adjust sp regenration in that way that it doesn't
79 regenrate when food is below < 200 (a magic constant)
80
81 * IMPORTANT: create a no_drop flag and set it on the nexus (or somehow avoid
82 stuff beig dropped on the teleporter there).
83
84 * gcfclient wings books at <4kb of text. thansk a lot mr. stupid fucking idiot
85 crossfire developer who thinks that 4k is enough for everybody.
86 implement a workaround, either just telling people that their book
87 is winged or not sending it as book but as separate paragraphs or multiple
88 books. must be multiple paragraphs:
89 /* 4096 is probably way overkill, but 1024 could very well be too small.
90
91 * level 100 inscription with 4 kills: a single random_Scorll treasure
92 item in the ancient mages of forgotten town palace create
93 many *hundreds* of actual scrolls when instantiated?
94
95 07:20:32 -cfbot:#cf- [Incen] that's odd. a pile of dust called "potion"
96 07:21:05 -cfbot:#cf- [Incen] it was dust of piercing vision
97 07:21:20 -cfbot:#cf- [Lina] seems to happen when picked up and unidentified
98 07:21:37 <schmorp> unidentified they are called potions?
99 07:21:48 -cfbot:#cf- [Incen] ayup
100 07:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms
101
102 * totla invisibility is too hard to get. monsters should attack the
103 player when hit by him or his spell anyways.
104
105 * IMPORTANT: current server breaks all old cfplus clients due to partial transfers
106
107 * IMPORTANT: cnanot enter G<xxx|yyy> in chat/irc, as it gets expanded
108
109 * grammar: 2007-07-05 08:46:07 msg: You open up deep wounds sandy with a brutal swipe.
110
111 * is_animated is sometimes written twice when saving, because it must be off when
112 no animation is set. this does not work, of course, because later the flag is written again.
113 should probably be fixed on load, not on save.
114
115 * 20:09:34 -cfbot:#cf- Teufelhunden was killed by ball_lightning
116 obviously this should be the real name, not the arch name.
117
118 * new players sometimes seem to lack statistics
119
120 * 21:37:28 -cfbot:#cf- [Drakna] yeah see meditation heals but it eats up food. but if yoiu have no food you can still
121
122 * IMPORTANT: client structures (ns) seem to never get released ever.
123
124 * IMPORTANT: never-defined archetypes should be flagged as such and a suitable
125 check fucntion should be designed - the same for empty treasurelists
126 and similar stuff.
127
128 * IMPORTANT: reloading archetypes should create copies of used archetypes, letting
129 existing objects refer to the old archteypoes (for purposes of saving).
130 UPDATE: this is done, but an upgrade of in-memory objects is highly
131 advisable, as well as testing wether reloading actually works :)
132
133 * there is no "fire 0" to start firing on yourself as opposed to fire 5 etc. which starts
134 firing into a specific direction. fire 0 only fires once (this is a bug, but most clients
135 move firing on yourself on non-shift-kp_5 because servers do not support the shifted
136 semantics).
137
138 * /morok_dun/mines1 n world_120_109 does not exist, but the other mine promises a quest
139 there. be inventive.
140
141 * 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()
142 sanctuary etc. hits lava-"ice" and kills it in the process. other stuff seems to not work as expected with sanctuary
143 hitting items it shouldn't.
144
145 * can users in theory steal the gems out of their snitchangel pet monsters?
146 => the nodrop mechanism used for that should also disallow stealing.
147
148 * bowmode should offer different capabilities given on level of user
149 (Leonov).
150
151 * player_sold 1 still gets added to maps at some point, but server cnanot read it.
152 resolve the situation by either implementing it fully or removing it fully.
153
154 * climbing, meditating, levitating skills etc. should give you experience per use
155
156 * rewrite banish in perl (low priority)
157
158 * nekosan snatches the fish, which stays in the playr inventory.
159 remove should automaticlaly send esrv_del_item, and nobody else should,
160 for inv items. same for ipo.
161
162 * output-count and output-sync defaults *might* cause delay by one message
163 for new users.
164
165 * 2007-02-03 03:49:06.010 loading /opt/crossfire/share/crossfire/maps//navar_city/city1houses (43970)
166 2007-02-03 03:49:06.011 Discarding object without arch: texas
167 2007-02-03 03:54:36.926 loading /opt/crossfire/share/crossfire/maps//navar_city/misc/city1mermaid (15753)
168 2007-02-03 03:54:36.926 Discarding object without arch: event_say
169
170 * IMPORTANT:
171 entering instantiated random maps whose meta file is missing freezes the player.
172
173 * random speed should result in randomised initial animation face.
174
175 * example of why a player was kept alive long after having logged out.
176 those are probably in a player inventory.
177 2007-01-23 14:32:17.413 player-scheduler refcnt nulla 2,1 9,9
178 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)
179 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)
180 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)
181 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)
182 2007-01-23 14:31:40.825 owner: {cnt:1294661,uuid:<1,bd23c145>,name:"axe",flags:[17,111],type:15}(on (null)@1+1)
183 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)
184 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)
185 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)
186
187 * 2007-01-15 03:17:33.547 victim (arch door_look_1, name ice) already dead in hit_player()
188 => use debug_desc
189 => find out whats causing it
190
191 * training center (kobold etc.) does not stop working after 30-40min
192 but goes on for 2 hours _at least_.
193
194 * /mlab/cwdccastleofmarquis3, goto and then charm => very very high cpu usage.
195 original crossfire: 100% cpu usage => freeze
196 after mapspace::update fix: 40%
197 after map protocol optimisation: 15%
198
199 * 2007-01-14 21:15:58.605 Fiery, Wist's fervent pupil was hit by counterspell with counterspell attack.
200 this is simply counterwall hitting monsters. but why does it happen?
201
202 * 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
203 fix once and for all please. a) type 0 is valid b) maybe the boulder should have another type.
204
205 * animated weapons should come back to the player when he dies/disconnects?
206 2007-01-14 18:50:07 info: winvirus chats: Could you make it so if you have an
207 animated weapon out and you disconnect, that it'd simply a) fall to the
208 ground or b) return to your inv? Rather than disappearing into the void of
209 nothingness.
210
211 * mapinfo command should be handled asynchronously (cause it blocks the server)
212
213 * 16:09 <@schmorp> eigetlich soltle world-overlay nahc world moven
214 16:09 <@schmorp> ende des themas
215 16:09 <@schmorp> und eigentlich soltlen dort alle leeren maps gelöscht werden
216 16:09 <@schmorp> so daß nur maps existieren, die overwirtes enthalten
217 16:09 <@schmorp> erinnert mich dran
218
219 * map converter
220 elmex: because of the faces and all the other nice things - i guess
221 [HUH?? please specify or remove]
222
223 * implement no-drop-on-destroy flag (done)
224 for example to remove the specialcases for books that are destroyed
225 and contain spells (should be done)
226
227 * look at these logs:
228 2006-09-16 01:38:16 Got unknown value in map header: race human
229 2006-09-16 01:37:17 Map darkness for poison on /quests/peterm/FireTemple/Fire2 is too high (6)
230 2007-01-15 02:46:23.746 winvirus has two money entries of (silvercoin)
231 2007-01-15 02:46:23.746 winvirus has two money entries of (goldcoin)
232 2007-01-15 02:46:23.746 winvirus has two money entries of (platinacoin)
233 2007-01-15 02:46:23.745 winvirus has two money entries of (royalty)
234
235 * make sure custom keys get saved in same order as they are being loaded.
236
237 * wishlist: implement buildable "safe floors" for apartments. or make all apartments safe and
238 implement buildable non-safe floors.