Quote:
Originally Posted by julianinou
i was wondering if it was possible [..] to remove all quests?
[..] with ShStudio impossible to delete a simple quest 
|
indeed, the initial goal was to not allow individual quest deletion to not corrupt the whole quest process.
the NpcQuest.sdata file contains 3 parts, the first is very cake, ZS's tool or any QnD tool can manage it, it contains all the NPC (not the mobs).
the last part is the quests themselves, a lot of data, last shStudio manages +/- all of them.
the part in the middle is less obvious, actually noone so far was able to give it a sense and to decode it (at least in a public forum), we assume it should contain a kind of table between quests and the NPC that give/receive them or the map containing these NPC (to indirectly give info about where a quest is handled).
if that point is (event partially) correct, we cannot remove a quest w/o breaking the whole thing, since their indexes are very likely used.
one can argue that the Type-TypeID of the NPC that gives the quest (if any) and the one that receives it are parameters of the quest, and thus index of the quest is possibly not relevant to use / manage it.
there, we must remaind that "old" clients don't include the .svmap files, so a client does not know which NPC are present in a map (the server will send the info to the clients - it will spaw NPC and mobs with +/- the same logic); so each time a toon enters a new map the client should scan all quests to read the NPC idents and check which of these NPC are present in the list built with server info ... not efficient at all.
yes, other things are also not that efficient, but still we can have a doubt regarding the quest handling - and in short the fact that quest indexes matter or not.
if we decide - or can prove that - it doesn't, the quests can of course be deleted.
otherwise, the last quest can be deleted once selected by hitting the "del" key; a bit boring if required +3800 times.