Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Third Party Program Support

Third Party Program Support Misc support forum and advertisment forum for all RunUO related third party Utilities.

Reply
 
Thread Tools Display Modes
Old 07-14-2006, 12:17 AM   #26 (permalink)
 
Join Date: Jul 2006
Posts: 10
Default

Ok, so i have the three files and placed them in \Scripts\Custom\Quest1. Now when im logged into the server, whats the command to spawn the npc?

Once i get the npc spawned, how do i set it so the mob drops the quest item?

Thanks for you help
drktemplar is offline   Reply With Quote
Old 07-14-2006, 12:36 AM   #27 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Originally Posted by drktemplar
Ok, so i have the three files and placed them in \Scripts\Custom\Quest1. Now when im logged into the server, whats the command to spawn the npc?

Once i get the npc spawned, how do i set it so the mob drops the quest item?

Thanks for you help
AHh, now i see how you meen.
First of all, you add the quest NPC. [add Joe (or whatever you named him)

Then you add your questitem to a monsters lootpack (lets say you made Poison Dust). Here's how to do that:

Go to: \Scripts\Mobiles\Monsters\Arachnid\Melee and open GiantBlackWidow.cs.
Then find line 47, copy it and start a new row under 47, then paste the old line, so it looks like this:

Code:
			PackItem( new LesserPoisonPotion() );
			PackItem( new LesserPoisonPotion() );
Then just change the bottom line to:
Code:
			PackItem( new LesserPoisonPotion() );
			PackItem( new PoisonDust() );
Then you log in, add the NPC (Joe, or whatever ) and add a spawner and spawn some Black widow spider here and there.

Done.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 12:51 AM   #28 (permalink)
 
Join Date: Jul 2006
Posts: 10
Default

Ok was going to see about adding the npc and now im getting a complie error

+ Custom/Quest1/DashaQuest.cs:
CS1031: Line 37: Type expected.


I attached the file if that helps at all. Not sure what i did wrong when i made the file.
Attached Files
File Type: cs DashaQuest.cs (2.7 KB, 12 views)
drktemplar is offline   Reply With Quote
Old 07-14-2006, 01:05 AM   #29 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Ahh, there should be the name of a reward on line 37.
You did everything correct but you forgot to put something as the reward the player get when they finish the quest.

Line 37 in Dasha should look like this:

Code:
mobile.AddToBackpack( new ShortSword( ) );
The text in blue is where you put the reward. It can be HoodedShroudOfShadows or Sandals or Robe or anything you lik that the server recognize.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 01:10 AM   #30 (permalink)
 
Join Date: Jul 2006
Posts: 10
Default

Thank you so much, i got everything working, one last question though. If i set up a orc to drop a quest item (100% of the time) will all orcs now drop this?

Is there a way to make only the named orc drop the quest item?
drktemplar is offline   Reply With Quote
Old 07-14-2006, 01:52 AM   #31 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Great!

Yes, that item will spawn in 100% of the Orcs of that type.
If you copy the Orc.cs and rename the file to OrcQuestMonster and every place where it said Orc in the file and THEN add the questitem to his lotpack then it will only spawn in that type of orc. In other words, you make a replica of an orc.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 02:15 AM   #32 (permalink)
 
Join Date: Jul 2006
Posts: 10
Default

That worked perfectly thank you.

Now I wanted to make the orcs head as the quest item. I did that, but I have to pick a Hue and nothing looks as good as the orginal art work, with no hue. What can i put for the Hue for like a transparant Hue or no Hue, so that it will look like the orginal art work and not be colored version of the picture?
drktemplar is offline   Reply With Quote
Old 07-14-2006, 02:53 AM   #33 (permalink)
Forum Expert
 
Draegen's Avatar
 
Join Date: Jun 2006
Posts: 280
Default

some ideas for program since i been using it i like it but its missinga great quest feature

how about makeing it where you have to fetch a npc or multi npcs

cause im working ona npc save quest where the player talks to a npc he needs you to get multi npcs back to him to complete the quest

just a great feature needs added
Draegen is offline   Reply With Quote
Old 07-14-2006, 03:27 AM   #34 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Originally Posted by drktemplar
That worked perfectly thank you.

Now I wanted to make the orcs head as the quest item. I did that, but I have to pick a Hue and nothing looks as good as the orginal art work, with no hue. What can i put for the Hue for like a transparant Hue or no Hue, so that it will look like the orginal art work and not be colored version of the picture?
No hue at all: 0

Quote:
how about makeing it where you have to fetch a npc or multi npcs
Yeah, that's a good idea, i'll think about that feature in comming releases! Tnx. =)
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 04:42 AM   #35 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Posts: 45
Default

Do you have this script for runuo 1.0?
22Jay is offline   Reply With Quote
Old 07-14-2006, 04:50 AM   #36 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

No i'm sorry. =(
It would be far to much work for a version that is soon to be gone.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 11:11 AM   #37 (permalink)
Forum Expert
 
nixu_tps's Avatar
 
Join Date: Jan 2006
Location: Finland
Age: 19
Posts: 392
Send a message via ICQ to nixu_tps Send a message via MSN to nixu_tps Send a message via Skype™ to nixu_tps
Default

This is sooo great.. Thank you sooooo much


Tack tack tack tack tack tack tack tack tack tack tack tack tack tack tack tack tack tack tack!
nixu_tps is offline   Reply With Quote
Old 07-14-2006, 11:13 AM   #38 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

No probs!

Slit det med hälsan, slit det med hälsan, slit det med hälsan, slit det med hälsan, slit det med hälsan, slit det med hälsan.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 11:19 AM   #39 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,779
Send a message via Yahoo to Lord_Greywolf
Default

i love it have used it to make quite a few quests (some i have posted) and one very long one - start out in brit and go to 7 different other pewople to get an item - each wants something in exchange of course the last one you have to battle for the item

anyways a couple of things:

the hue for the "top" does not get placed into the scripts, the bottom, skin and hair does, but not the top
(by the way the following work great for the "hues"
hair: Utility.RandomHairHue()
bottop (or top once fixed): Utility.RandomBlueHue() (and a few others)
Skin: Utility.RandomSkinHue()

and as a suggestion:

have it be random for the "bottom"
if male - short pants or long pants
if female - skirt, lang pants or short pants

or just make a dropdown list of the posibilities and let us choose
(can do the same for the top also then )

Same for the hair - a drop down list would be nice go by name and have the name place in the number

any ways - just a couple of nice suggestions

also is there a way to have it so that non-satackable items could be dragged onto them and have them count?
reason being is that is the graphic does not support it, you can not stack the items even if marked stackable - something dealing with the way the new 2.0 works - can no longer force stacking

but great system as it is, my players have been loving the quests (most of the quests anyways - a couple are a little tough - but hey - they all can't be easy)
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-14-2006, 12:05 PM   #40 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Good points there Greywolf!

Regarding cstomization of the NPC i will add that in future releases, tnx for the randomhue tips also and for tipping me of on the corrupt tophue.

About that stackable issue; i'm not sure i understand exacly how you meen.
The 3-4 diff. items i have tested with is stackable if i choose them to be. Thou, you cannot take items from the stack, but the amount still raises if you drop a new item onto another.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 12:49 PM   #41 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,779
Send a message via Yahoo to Lord_Greywolf
Default

i have had a few also where they would not even drop onto each other, it is weird - depends on the graphic

also it would be nice if you wanted them to have to drop multiple things of different type i.e.
1 fire ingot
1 sulfuric ash
1 nitrate
and in return they get a bag of flash powder
that is a lousy example, but would be nice if it could work that way - would be easier for larger quests
(maybe if they gave them a "chest" that all the items had to be in and give back that chest - the chest changed names or something when all the parts are in there - until then he could not accept it - just an idea)

and you are very welcome on the hues and such - makes it easier for them to look different each spawn - i still go in and add in skirt, etc by hand (for some reseon though try to add in leatherskirt and i could not place the mobile at all - game me the error of needing [add name arg error - weird - so i learned not to use leather )

but i see a lot of posibilities for this script, and lots and lots and lots of quests

Note to all --- if you get an error that your reward item can not be found, make sure you have all the "using server.what ever you need" in there - i went to add a rare bonsi seed --- and had to add in the plants one

by the way can use arguments on the reward - just have to add them in by hand in the file of the quest person seed(24, 0 , true) will give them a rare bonsi seed of plain color and say its name, etc -- very nive for runic kits, skillballs, etc also
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-14-2006, 01:08 PM   #42 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Yeah, that's a good idea with multiple items that are needed for one reward. I have thought alittle about that achually and the easiest thing to do would haveto be an item that looks like a bag (but is in fact just an item that opens a gump when doubleclicked).
This "bag" would be given to player when they start quest.

You click the bag, a gump opens, you target an item and a vlue changes int eh gump, for example: Fosphor sulphate: 1.
When the sum of all the items is what the npc asked for (like 6 or sum'ting) you turn in the bag and get reward.

Would take some hours worth of scripting but i will surely consider it in the next realease!
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-14-2006, 01:58 PM   #43 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,779
Send a message via Yahoo to Lord_Greywolf
Default

also found something else that needs updating also (and why the leatherskirt would not work)

they (the quest givers) have no backpack, str, dex or int, so you can not add anything to them but basic clothing

so setting all 3 stats to 100 and adding a back pack to them should not be to hard


I do look forward to the next release (either major or minor ones)
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-14-2006, 05:34 PM   #44 (permalink)
Forum Newbie
 
Join Date: Jun 2006
Age: 22
Posts: 21
Default

Your program is great i think but i couldnt understand how to make "Collect from monster corpse" have u got any example or can u explain me how to write
darksat is offline   Reply With Quote
Old 07-14-2006, 06:52 PM   #45 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Posts: 45
Default

Quote:
No i'm sorry. =(
It would be far to much work for a version that is soon to be gone.
Im not gettin rid of it....runuo is? how much work is it to upgrade to 2.0 and if i have to rebuild shard again then screw upgrading but just wonderin what you mean thats all
22Jay is offline   Reply With Quote
Old 07-15-2006, 12:35 AM   #46 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Originally Posted by 22Jay
Im not gettin rid of it....runuo is? how much work is it to upgrade to 2.0 and if i have to rebuild shard again then screw upgrading but just wonderin what you mean thats all
Hehe, i just meant that Runuo 1.0 (the version that is) is "moving out" so to say, not in development more, and will soon be replaced by most admins with Ruoo 2.0.
That's why i don't feel like spending many hours making a 1.0 version.

Runuo 1.0 is still a great program and you should use it atleast untill they have released the final release of 2.0, and perhaps further if you like.
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.

Last edited by Ilutzio; 07-15-2006 at 12:42 AM.
Ilutzio is offline   Reply With Quote
Old 07-15-2006, 12:40 AM   #47 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Originally Posted by Lord_Greywolf
also found something else that needs updating also (and why the leatherskirt would not work)

they (the quest givers) have no backpack, str, dex or int, so you can not add anything to them but basic clothing

so setting all 3 stats to 100 and adding a back pack to them should not be to hard


I do look forward to the next release (either major or minor ones)
Ahh! That would explain why they start out with zero health also. =)
I'll fix that in the next release that is soon to come!
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-15-2006, 12:44 AM   #48 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Originally Posted by darksat
Your program is great i think but i couldnt understand how to make "Collect from monster corpse" have u got any example or can u explain me how to write
I have allready explained how to add a questitem to a monsters lootpack to another fellow. =)
Look like 7 posts up or something.

Good luck!
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline   Reply With Quote
Old 07-15-2006, 09:49 AM   #49 (permalink)
Forum Newbie
 
Join Date: Jun 2006
Age: 22
Posts: 21
Default

Quote:
Originally Posted by Ilutzio
I have allready explained how to add a questitem to a monsters lootpack to another fellow. =)
Look like 7 posts up or something.

Good luck!
Sorry because of my bad english i want to make a quest that player takes quest from NPC and quest is "you will kill 50 dragon" for example when the player kills monster he will double-click on quest paper(like bod reward) and he will target dragons corpse
darksat is offline   Reply With Quote
Old 07-15-2006, 09:58 AM   #50 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

Quote:
Origi