ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.76
Committed: Tue Jul 10 05:51:37 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.75: +7 -0 lines
Log Message:
- improve dynbuf implementation further
- save now saves shstrs longer than HUGE_BUF, lets fix any brokenness remaining
  in the server...
- converted most describe_*-functions to dynbuf_text, making them likely
  faster (or maybe slower), while removing any hardcoded length limit.
- memory allocated for static dynbuf's is not being returned ever (at least
  not the initial chunk, maybe fix this?)
- implement framework for predeclared const shstrs for comparison purposes
  (shstrinc.h).
- enabled and enforced new material code.
- implement hack to clean up book titles.
- increases HUGE_BUF to 10240, to be similar to mac network packet size.

File Contents

# Content
1 Here are listed some todos which should be looked into sometimes.
2
3 * gcfclient wings books at <4kb of text. thansk a lot mr. stupid fucking idiot
4 crossfire developer who thinks that 4k is enough for everybody.
5 implement a workaround, either just telling people that their book
6 is winged or not sending it as book but as separate paragraphs or multiple
7 books. must be multiple paragraphs:
8 /* 4096 is probably way overkill, but 1024 could very well be too small.
9
10 * level 100 inscription with 4 kills: a single random_Scorll treasure
11 item in the ancient mages of forgotten town palace create
12 many *hundreds* of actual scrolls when instantiated?
13
14 07:20:32 -cfbot:#cf- [Incen] that's odd. a pile of dust called "potion"
15 07:21:05 -cfbot:#cf- [Incen] it was dust of piercing vision
16 07:21:20 -cfbot:#cf- [Lina] seems to happen when picked up and unidentified
17 07:21:37 <schmorp> unidentified they are called potions?
18 07:21:48 -cfbot:#cf- [Incen] ayup
19 07:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms
20
21 * totla invisibility is too hard to get. monsters should attack the
22 player when hit by him or his spell anyways.
23
24 * IMPORTANT: current server breaks all old cfplus clients due to partial transfers
25
26 * IMPORTANT: cnanot enter G<xxx|yyy> in chat/irc, as it gets expanded
27
28 * grammar: 2007-07-05 08:46:07 msg: You open up deep wounds sandy with a brutal swipe.
29
30 * is_animated is sometimes written twice when saving, because it must be off when
31 no animation is set. this does not work, of course, because later the flag is written again.
32 should probably be fixed on load, not on save.
33
34 * 20:09:34 -cfbot:#cf- Teufelhunden was killed by ball_lightning
35 obviously this should be the real name, not the arch name.
36
37 * new players sometimes seem to lack statistics
38
39 * 21:37:28 -cfbot:#cf- [Drakna] yeah see meditation heals but it eats up food. but if yoiu have no food you can still
40
41 * IMPORTANT: client structures (ns) seem to never get released ever.
42
43 * IMPORTANT: never-defined archetypes should be flagged as such and a suitable
44 check fucntion should be designed - the same for empty treasurelists
45 and similar stuff.
46
47 * IMPORTANT: reloading archetypes should create copies of used archetypes, letting
48 existing objects refer to the old archteypoes (for purposes of saving).
49 UPDATE: this is done, but an upgrade of in-memory objects is highly
50 advisable, as well as testing wether reloading actually works :)
51
52 * there is no "fire 0" to start firing on yourself as opposed to fire 5 etc. which starts
53 firing into a specific direction. fire 0 only fires once (this is a bug, but most clients
54 move firing on yourself on non-shift-kp_5 because servers do not support the shifted
55 semantics).
56
57 * /morok_dun/mines1 n world_120_109 does not exist, but the other mine promises a quest
58 there. be inventive.
59
60 * 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()
61 sanctuary etc. hits lava-"ice" and kills it in the process. other stuff seems to not work as expected with sanctuary
62 hitting items it shouldn't.
63
64 * can users in theory steal the gems out of their snitchangel pet monsters?
65 => the nodrop mechanism used for that should also disallow stealing.
66
67 * bowmode should offer different capabilities given on level of user
68 (Leonov).
69
70 * player_sold 1 still gets added to maps at some point, but server cnanot read it.
71 resolve the situation by either implementing it fully or removing it fully.
72
73 * climbing, meditating, levitating skills etc. should give you experience per use
74
75 * rewrite banish in perl (low priority)
76
77 * nekosan snatches the fish, which stays in the playr inventory.
78 remove should automaticlaly send esrv_del_item, and nobody else should,
79 for inv items. same for ipo.
80
81 * output-count and output-sync defaults *might* cause delay by one message
82 for new users.
83
84 * arrest => jail, but the jailed player can suicide and will wake up
85 in his normal savebed, not the jailbed.
86
87 * 2007-02-03 03:49:06.010 loading /opt/crossfire/share/crossfire/maps//navar_city/city1houses (43970)
88 2007-02-03 03:49:06.011 Discarding object without arch: texas
89 2007-02-03 03:54:36.926 loading /opt/crossfire/share/crossfire/maps//navar_city/misc/city1mermaid (15753)
90 2007-02-03 03:54:36.926 Discarding object without arch: event_say
91
92 * IMPORTANT:
93 entering instantiated random maps whose meta file is missing freezes the player.
94
95 * random speed should result in randomised initial animation face.
96
97 * example of why a player was kept alive long after having logged out.
98 those are probably in a player inventory.
99 2007-01-23 14:32:17.413 player-scheduler refcnt nulla 2,1 9,9
100 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)
101 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)
102 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)
103 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)
104 2007-01-23 14:31:40.825 owner: {cnt:1294661,uuid:<1,bd23c145>,name:"axe",flags:[17,111],type:15}(on (null)@1+1)
105 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)
106 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)
107 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)
108
109 * 2007-01-15 03:17:33.547 victim (arch door_look_1, name ice) already dead in hit_player()
110 => use debug_desc
111 => find out whats causing it
112
113 * training center (kobold etc.) does not stop working after 30-40min
114 but goes on for 2 hours _at least_.
115
116 * /mlab/cwdccastleofmarquis3, goto and then charm => very very high cpu usage.
117 original crossfire: 100% cpu usage => freeze
118 after mapspace::update fix: 40%
119 after map protocol optimisation: 15%
120
121 * 2007-01-14 21:15:58.605 Fiery, Wist's fervent pupil was hit by counterspell with counterspell attack.
122 this is simply counterwall hitting monsters. but why does it happen?
123
124 * 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
125 fix once and for all please. a) type 0 is valid b) maybe the boulder should have another type.
126
127 * animated weapons should come back to the player when he dies/disconnects?
128 2007-01-14 18:50:07 info: winvirus chats: Could you make it so if you have an
129 animated weapon out and you disconnect, that it'd simply a) fall to the
130 ground or b) return to your inv? Rather than disappearing into the void of
131 nothingness.
132
133 * mapinfo command should be handled asynchronously (cause it blocks the server)
134
135 * 16:09 <@schmorp> eigetlich soltle world-overlay nahc world moven
136 16:09 <@schmorp> ende des themas
137 16:09 <@schmorp> und eigentlich soltlen dort alle leeren maps gelöscht werden
138 16:09 <@schmorp> so daß nur maps existieren, die overwirtes enthalten
139 16:09 <@schmorp> erinnert mich dran
140
141 * map converter
142 elmex: because of the faces and all the other nice things - i guess
143 [HUH?? please specify or remove]
144
145 * implement no-drop-on-destroy flag (done)
146 for example to remove the specialcases for books that are destroyed
147 and contain spells (should be done)
148
149 * look at these logs:
150 2006-09-16 01:38:16 Got unknown value in map header: race human
151 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;
152 2006-09-16 01:37:17 Map darkness for poison on /quests/peterm/FireTemple/Fire2 is too high (6)
153 2007-01-15 02:46:23.746 winvirus has two money entries of (silvercoin)
154 2007-01-15 02:46:23.746 winvirus has two money entries of (goldcoin)
155 2007-01-15 02:46:23.746 winvirus has two money entries of (platinacoin)
156 2007-01-15 02:46:23.745 winvirus has two money entries of (royalty)
157
158 * make sure custom keys get saved in same order as they are being loaded.
159
160 * wishlist: implement buildable "safe floors" for apartments. or make all apartments safe and
161 implement buildable non-safe floors.