Deleting quests? oO

03/02/2016 11:09 julianinou#1
Hello Dear devs and players!

I'm getting bored of quest dots on my mini-map, i was wondering if it was possible to remove those dots or another way to remove all quests?

All NPC are deleted but i don't know how to remove their location on mini-map! Also tried with ShStudio impossible to delete a simple quest :o

Any idea guys? It'd be apprecied! Thanks ;)
03/02/2016 13:29 wallerus#2
Use ZeroSignals tool to convert your NpcQuest.SData into .csv format and you can delete them there.
03/02/2016 15:38 julianinou#3
Thank you very much for answer!

I tried it but it seems like to be corrupted (NpcQuest.SData) when it's converted from .csv to .SData :/

I took a look on NubNess topic and yeah there's a problem with the conversion, i don't know why! Same issue, not solved
03/02/2016 16:08 JuuF#4
Just change quest levels, make them higher than your server's max level.
03/02/2016 17:27 castor4878#5
Quote:
Originally Posted by julianinou View Post

i was wondering if it was possible [..] to remove all quests?
[..] with ShStudio impossible to delete a simple quest :o
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.
03/02/2016 18:15 wallerus#6
As Castor said, the parameters and relevence of (QuestChain.csv) are publicly unknown so it would be best to increase the MinLevel & MaxLevel values to higher than your servers max level e.g. 99 so that the file doesn't become corrupted or cause issues.

It is the best workaround and shouldn't cause errors, unless you want to invest time into discovering the relevence of that part of the NpcQuest.SData, personally I think it's wasted time and only useful for the sake of knowledge and I can't see any real need in that knowledge unless you wanted to rebuild the NpcQuest from scratch.

Also a side note, I do believe Ep4.5 clients can support .svmap in the client although they're not in the 'original' OS release if memory serves me right.
03/02/2016 19:24 julianinou#7
Thanks a lot Castor for your useful and complete answer!

1st part: I can't delete with the 'del' key or "edit: delete/erase" on the quest section of NpcSkill (only the 3 other parts like gatekeepers, normal NPC and merchants)

2nd part: i already tried to change the min level on every quest but ... it takes 10 secs / quest to edit it with ShStudio.

well i think i'll forget this idea, i don't have that much knowledge to make it properly!
Thanks again guys! :) Sorry for this "waste of time"
03/02/2016 19:48 wallerus#8
Read this [Only registered and activated users can see links. Click Here To Register...] by Nubness, if you are looking at learning Shaiya development you'll need to know how to edit files this way, don't quit it's quite simple really :).

Here's a [Only registered and activated users can see links. Click Here To Register...] on what you'll need to do after installing Python and importing ZeroSignals scripts.
03/02/2016 21:33 castor4878#9
Quote:
Originally Posted by julianinou View Post

1st part: I can't delete with the 'del' key or "edit: delete/erase" on the quest section of NpcSkill (only the 3 other parts like gatekeepers, normal NPC and merchants)

2nd part: i already tried to change the min level on every quest but ... it takes 10 secs / quest to edit it with ShStudio.
it does work with release 0.7.5.5 (!) but only to delete the last quest of the list - so you have to type "End" / "Del" in loop, poor solution.

the "Delete item" menu-item is enabled in the next version; the selection mode has also been changed to allow multi-selection (it should be posted in a few days).

the in-place edition is also activated for "Quests" list, it will be possible to edit the min & max figures w/o having ti open the quest dialog for all edited ones.

for more sophisticated changes, the bulk edition of quests or other sdata files (for instance to change the required min & max lvl - excellent suggestion of Wallerus) is not available in stable version; the development version has a kind of LINQ engine to allow scripted changes but this is far from stable and it won't include it; likely the deletion of quests will be enough to provide what u want.
03/07/2016 17:16 julianinou#10
Hey everyone sorry to answer latelybut i want to thank you Wallerus! I just noticed you especially made a vid tutorial for me :)

Thanks again! And it's working by your way!