millu Posted April 8, 2024 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 12/18/20 Last Seen: February 1 Share 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 Link to comment Share on other sites More sharing options...
0 Racaae Posted April 8, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 214 Reputation: 94 Joined: 06/02/12 Last Seen: 55 minutes ago Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.