ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.106
Committed: Thu Oct 11 00:34:30 2007 UTC (16 years, 7 months ago) by root
Branch: MAIN
Changes since 1.105: +16 -0 lines
Log Message:
- rewrite follow to use a coroutine and make it generally safer.
- the map scheduler, under duress, tried to swap out maps fast, but when
  a sync job was entered it also entered and andless loop causing a freeze.
  hack around this temporairly by always sleeping 50ms.

File Contents

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