ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.111
Committed: Wed Oct 17 19:08:12 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
Changes since 1.110: +28 -0 lines
Log Message:
quickfix

File Contents

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