Discussion in   Coding Corner   started     11 years ago   July 22, 2013, 11:09:51 PM   by   Keldon

By gosh I think I have done it

Keldon
Offline
223 Posts
Topic :   By gosh I think I have done it
11 years ago  July 22, 2013, 11:09:51 PM

In this zip are all of the weapons I created.  2 mobs I created.  A gump that I extensively pulled from the enchanted shovel quest (please really look this gump over Kyn).


Basic premise is the young man is in brit and when you talk to him he gives a gump talking of the weapon smugglers.  The gump just talks of one group of them but the general thinking is to have them between all the towns (so much unused space in Sosaria).


When killed they have a chance to drop one of 3 weapon boxes, one box has harvest tools, one box has levelable super slayers with a couple base stats, and the final box has custom weapons.


I also added a small chance for them to drop books that lead into a second phase (more risk for more reward).


The only errors I get when all of the scripts are open are from the islevelable = true; and GargoylesKnife and GargoylesAxe.  I was not certain of the pointers for those resource tools so I took a guess based on standard naming conventions.


Thank you for all your support in this Kyn!  I will probably expand to different types of items and possible collections if there is interest in phase 2 of this story line (assuming this makes it onto the server).

Kyn
Offline
336 Posts
#1 Re :   By gosh I think I have done it
11 years ago  July 23, 2013, 08:57:50 AM

Code is solid, lots of baby mistakes and syntax errors. However it does compile. I'm looking at your gump and I'm wondering if you made this by hand or did you use a gump creation tool of some kind?


Why is this commented out? Why is it even in the script? lol.
AYoungManGump.cs

Code: [Select]
// <BASEFONT COLOR=#7B6D20>

I like the work you've put into this, some modifications may need to be made to make it a little more up to Evolution standards I've put in place. That being said I think you have a real future in the world of C# you have taken all of my direction and executed it almost flawlessly.

Come talk to me sometime soon.

Keldon
Offline
223 Posts
#2 Re :   By gosh I think I have done it
11 years ago  July 23, 2013, 01:57:03 PM

it was copied and that is why I asked you to look at it very heavily.


I could not find any great examples to base off of and couldnt find much web help.  I expect that to get a fresh rewrite from the ground up.

Keldon
Offline
223 Posts
#3 Re :   By gosh I think I have done it
11 years ago  July 23, 2013, 04:05:35 PM

found a gump tutorial on the runuo forums.  If it were a snake it would have bit me.  right there at the top pinned.  I now have some stuff to read over.

Kyn
Offline
336 Posts
#4 Re :   By gosh I think I have done it
11 years ago  July 23, 2013, 04:19:12 PM

found a gump tutorial on the runuo forums.  If it were a snake it would have bit me.  right there at the top pinned.  I now have some stuff to read over.


:) Absorb it like a sponge my friend. The gump you copied and modified is fine, but you're going to want to b e able to call to different actions for more "serious" gumps you do in the future.

Keldon
Offline
223 Posts
#5 Re :   By gosh I think I have done it
11 years ago  July 23, 2013, 09:41:42 PM

Gump Studio is... well... simply put AWSOME!


I have revised the gump and no errors.  I am sure something is not in place but it is a heck of a lot cleaner then my last one.

Kyn
Offline
336 Posts
#6 Re :   By gosh I think I have done it
11 years ago  July 24, 2013, 08:19:06 AM

Gump Studio is... well... simply put AWSOME!


I have revised the gump and no errors.  I am sure something is not in place but it is a heck of a lot cleaner then my last one.


That looks a lot better than the original. I'm glad you were able to pick up gump studio from the RunUO tutorial thread. It really does help you make cleaner and more professional looking gumps for your quests/projects.


Good job :)




Also, make sure you keep working at it. My first gump ever SUCKED. I attached it so you can see. Rome was not built in a day.

Keldon
Offline
223 Posts
#7 Re :   By gosh I think I have done it
11 years ago  July 24, 2013, 01:47:09 PM

Next week when we both have time I will have to get into TS so we can talk over the small mistakes I made.  Want to get those corrected since I will be referring back to these scripts as I move forward.