Shattered Kingdoms https://shatteredkingdoms.org/forums/ |
|
Quests --> Multi-item hand in https://shatteredkingdoms.org/forums/viewtopic.php?f=22&t=20082 |
Page 1 of 2 |
Author: | Rennus_Dragonsbane [ Wed Mar 31, 2010 9:33 am ] |
Post subject: | Quests --> Multi-item hand in |
There are several quests that require you to collect more than one of the same item, sometimes more than 100, such as badges, eyeballs, three-toed sloth corpses. Right now you are either
b) create some sort of script that automatically hands them in (WARNING - THIS IS ILLEGAL AND WILL GET YOU CURSED/DELETED) c) Don't do the quest |
Author: | Sklz711 [ Wed Mar 31, 2010 9:51 am ] |
Post subject: | Re: Quests --> Multi-item hand in |
Rennus_Dragonsbane wrote: There are several quests that require you to collect more than one of the same item, sometimes more than 100, such as badges, eyeballs, three-toed sloth corpses.
Right now you are either
b) create some sort of script that automatically hands them in (WARNING - THIS IS ILLEGAL AND WILL GET YOU CURSED/DELETED) c) Don't do the quest I may be wrong, but this should be something that is possible just by recoding the quest. My guess is that it's currently works like give xxx noob. Then the quest NPC verifies the item is in its inventory, then deletes the item, then sets your quest bit, and then says gimme moar now. It should theoretically be possible to have it built on a timer so that when you give something to the quest NPC it starts a timer, whenever you give an item to the NPC it resets the timer, then once you stop giving it items the timer finally will run through and begin an if loop for the item in its inventory self incrementing within the script, and then once finished with all the items in its inventory setting your quest flag with the appropriate number of items you turned in. This should allow you to just use the current system of spamming without recoding the give command, but hey whichever is easier ![]() |
Author: | 3 of Pentacles [ Wed Mar 31, 2010 9:56 am ] |
Post subject: | |
Or the imms could just make an exception to the trigger rule for these types of quests.. It takes a lot less work and will make a lot of people happy! Pretty please? |
Author: | grep [ Wed Mar 31, 2010 10:05 am ] |
Post subject: | |
I use an alias for these kind of quests that looks like this: >turnin scout 20 tentacles for i=1, i=[parameter 2], i++ delay 5*i Send(give [parameter 3] [parameter 1]) end This way I just sit in the room and my client immediately sets to work handing them over at regular intervals. |
Author: | 3 of Pentacles [ Wed Mar 31, 2010 10:11 am ] |
Post subject: | |
Oh man.. Here's where I show my big, hairy newbie mole to the world and ask, how the heck would you set that up for zmud? |
Author: | grep [ Wed Mar 31, 2010 10:13 am ] |
Post subject: | |
Don't be ashamed. Every client is different. I don't know how I'd do that in zmud, to be honest. You'd want to... 1. make an alias 2. figure out how to implement a for function in zmud (help files!) 3. figure out how to implement a delay (then do this) function in zmud. They might call it a Timer. You might not need a for loop if you can configure a timer's number of iterations. (help files!) Go exploring, see what you can find. Exploring help files and configurations is just as fruitful as exploring Pyrathia, I believe. |
Author: | Viltrax [ Wed Mar 31, 2010 12:48 pm ] |
Post subject: | |
Easiest zmud method: Code: #10 give marble fred Just like creation: Code: #15 one
![]() |
Author: | Viltrax [ Wed Mar 31, 2010 12:51 pm ] |
Post subject: | |
3 of Pentacles wrote: Or the imms could just make an exception to the trigger rule for these types of quests.. It takes a lot less work and will make a lot of people happy!
Pretty please? Allowing exceptions for triggers will never happen. Essentially, what this thread is reporting is a rather awkward script. Personally I would prefer a script to combine multiple items into a bigger item, such that: 1. You still need to collect 100 or whatever of the original, let's say iron ore 2. Some script combines 10 ores into an iron bar 3. 10 bars then combine into an iron anvil ...and the coyote will only accept the anvil for his cunning plan, since the iron ore and iron bars will not stop the road runner. ![]() |
Author: | grep [ Wed Mar 31, 2010 12:56 pm ] |
Post subject: | |
The item itself should have a script to turn 30 of itself, in an inventory, into a returnable item. You know, like in WoW with lesser essences. |
Author: | Viltrax [ Wed Mar 31, 2010 1:38 pm ] |
Post subject: | |
grep wrote: The item itself should have a script to turn 30 of itself, in an inventory, into a returnable item.
Scripts can't fire from inventory, last I checked. |
Page 1 of 2 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |