RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Ilutzio's Questmaker (.exe scriptwriter)

goldiron

Wanderer
thanks tons!

thanks for adding this, ive been waiting ^_^ i couldnt possable make one with out you lol, again thanks a ton!:D
 

goldiron

Wanderer
i got an error said something was wrong with this

Code:
///////////item to be dropped
[COLOR="Red"]if( dropped is ){if(dropped.Amount!=1)[/COLOR]{this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "There's not the right amount here!", mobile.NetState );return false;}
dropped.Delete();

the stuff in red said something was wrong... like
Goldironsapprentice.cs
Code:
 cs1031: Line 58: type expected

whats wrong?
 

Ilutzio

Sorceror
You haven't put any item in as the Quest item.


if( dropped is * )
*: The quest item should be here.


Are you using Questmaker 1.0?
Did you create the Quest item and then close that window, and THEN create the quest NPC?
 

nadious

Sorceror
Forgive me for digging up an old thread, but I just recently found this and I really like the idea! I've been messing around with it and I'm pretty sure that I have it down as far as what to do... but I did have a question:

From the looks of it, when you make your NPCs and Quest gumps, obviously you have to have some sort of 'quest item' that is given to them so they will give you your reward. My question is, in the 'Quest Item' option, is it possible to define an item that already exists?

For example, say I wanted to reward someone for bringing 100 diamonds (just theoretically) instead of some new item. The reason I want to do this, is so I won't have to edit any other scripts (I'm pretty C# stupid.. which is why problems like this help out a lot) to make the new item spawn or appear on any mobiles.
 
yes

what you do is to just name it the same way the existing item is

i.e. pinelog
name: pine logs amount: 1000 iten: pinelog (this is the name used in the origional pinelog script)

it then makes the file for it, but do not touch it yet
then complete making the quest gump and person
then when done - delete the pinelog file it made, it will then use the existing one all ready made in the system
 

nadious

Sorceror
Thanks so much Lord Greywolf... I'll be sure try that out.

So, let me understand if I have it correct here:

Use the QuestNPC maker to make the actual perons.
Use the QuestItem to make the item for the reward (but use the .cs name of whatever I want to make it that is already there...)
Use the QuestGump to make my NPC say what needs to be said.

Generate the script and then put all three (or two if I'm using an existing item) into my custom's folder and then and the NPC in game, correct?
 
sounds right to me

3 scripts if totaly new quest item
2 scripts if using existing quest item

remember "reward" is always an existing item

just make sure to get the name coort in there - the name of the cs file does not always match the name inside
class BronzeShield
the name after the class - including the CaPs - has to be correct

good luck
 

nadious

Sorceror
Thanks, Lord Graywolf. I've done a few NPCs so far and it's working just great!

I've gotten a few armor and item script generators so far... to help with the rewards. Is there any other utilities like this that I should be aware of, or maybe can be used to do mobiles? (I'm using 2.0 rc1.)
 
there is a couple of other scripts/exe programs here in the 3rd party threads and 1 or 2 in the script release section
including the addongen script (makes addon scripts from in game items)

but the best way for many of the scripts is to just start with something simular and tweak it to what you want
looking at other scripts people have shared on here for ideas and how to's

one thoing to remember with weapons though - the special attacks are basedon the graphic number and set by the client - do not bother to modify them - they will not work -- but can modify the rest of the weapon to your hearts delight
 

Ilutzio

Sorceror
holy assassian;709385 said:
is it possible to get this for 1.0 ???:D would make me super happy im not very scriptinclined:(

Sorry, no. I have abandoned it, it'll never come out as 1.0.
Buy try and make a script and see what errors 1.0 give you, should only be 1-2 lines of code. Perhaps you can get help with those lines in the Svript Support forums. =)
 

Macil

Sorceror
I have not read everyone's replies yet. But if it hasn't been mentioned yet, I think a good feature for a next update would be to save/load previous quests you've made so you don't have to type them all back up again if you want to edit one from the past.

If this has already been posted, disregard it. I'm only trying to help. =)
 

Slayer706

Sorceror
Macil;711762 said:
I have not read everyone's replies yet. But if it hasn't been mentioned yet, I think a good feature for a next update would be to save/load previous quests you've made so you don't have to type them all back up again if you want to edit one from the past.

If this has already been posted, disregard it. I'm only trying to help. =)
The maker has already said that he has abandoned the project...
 

greywolf79

Sorceror
I like this program, but there is a problem with it.

EVERY time I use it to make a script (I have tried it a couple times to make sure it was not me) and the scripts come out missing pieces like variables, methods, and gump names... Other than the fact I still have to edit every file after making it in order to get it to compile, your package is nice.

GreyWolf.
 

joaks

Wanderer
Error

Code:
Errors:
 + Custom/neira sister.cs:
    CS1514: Line 2: { expected
    CS1519: Line 2: Invalid token ':' in class, struct, or interface member decl
aration
    CS1519: Line 2: Invalid token '{' in class, struct, or interface member decl
aration
    CS1002: Line 6: ; expected
    CS1002: Line 9: ; expected
    CS1520: Line 12: Class, struct, or interface method must have a return type
    CS1031: Line 12: Type expected
    CS1520: Line 12: Class, struct, or interface method must have a return type
    CS1031: Line 12: Type expected
    CS1520: Line 12: Class, struct, or interface method must have a return type
    CS1031: Line 12: Type expected
    CS1520: Line 12: Class, struct, or interface method must have a return type
    CS1031: Line 12: Type expected
    CS1520: Line 14: Class, struct, or interface method must have a return type
    CS1031: Line 14: Type expected
    CS1520: Line 14: Class, struct, or interface method must have a return type
    CS1031: Line 14: Type expected
    CS1520: Line 14: Class, struct, or interface method must have a return type
    CS1031: Line 14: Type expected
    CS1520: Line 15: Class, struct, or interface method must have a return type
    CS1031: Line 15: Type expected
    CS1520: Line 17: Class, struct, or interface method must have a return type
    CS1031: Line 17: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1520: Line 34: Class, struct, or interface method must have a return type
    CS1031: Line 34: Type expected
    CS1519: Line 34: Invalid token ',' in class, struct, or interface member dec
laration
    CS1518: Line 36: Expected class, delegate, enum, interface, or struct
    CS1022: Line 36: Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
Top