millu Posted April 8, 2024 Posted April 8, 2024 pls, anyone can help, to do a npc than the player, can reset any quest (as rachel, or terra gloria, or any other). Or any command to execute in mysql. Thank for attention. Quote
0 Racaae Posted April 8, 2024 Posted April 8, 2024 Hi. Most quests use variables to track player progression. So changing said variables to 0 is the same as resetting it's questline. Just ANY quest, you would need to find each and every variable used in the scripts. Example: Terra Gloria NPCs are in \npc\re\quests\quests_16_2.txt, inside the file you can see the variable used in the main quest is terra_gloria_main. Make the NPC set terra_gloria_main to 0 to reset the whole questline. prontera,150,150,3 script Quest Resetter 99,{ mes "Which questline do you want to reset?"; next; switch(select("Rachel", "Terra Gloria")) { case 1: mes "Are you sure you want to reset Rachel quests?"; if(select("No", "Yes") == 1) close; rachel_quest = 0; mes "Done!"; close; case 2: mes "Are you sure you want to reset Terra Gloria quests?"; if(select("No", "Yes") == 1) close; terra_gloria_main = 0; mes "Done!"; close; } } Quote
Question
millu
pls, anyone can help, to do a npc than the player, can reset any quest (as rachel, or terra gloria, or any other).
Or any command to execute in mysql.
Thank for attention.
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.