ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/TODO
Revision: 1.63
Committed: Sat May 26 15:43:59 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.62: +6 -1 lines
Log Message:
- restore after combined mainboard+harddisk crash
- cleanup/fixes for 2.1 release
- fix invoke to actually do work
- refactor invoke shortcuts, gcc cannot inline
  varargs functions.
- optimised invoke to 4-5 insns in the common case.
- optimised (For no good reason) the int-to-ascii
  conversions of dynbuf_text into division-less and
  branchless code (of which I am pretty proud).
- actually move players to their savebed when they did
  not use one and the map has been reste in the meantime.
  does not kill (yet) when too long.
- enter_map is now handled completely in perl.
- goto is now using generation counting to ensure that only the
  most-recently-issues goto will succeed.
- make some heavy use of __builtin_expect to streamline
  rare callbacks even more.
- optimised thawer.

File Contents

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