ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Valeth on January 16, 2010, 11:34:59 AM

Title: Scripting Help..any suggestions?
Post by: Valeth on January 16, 2010, 11:34:59 AM
Okay, I've decided that I want to learn a little about scripting. The problem is I dont know where to begin this journey. I dont know which is best whether its C++ or C# or whatever else is out there and their differences. I'm not looking into doing this as a profession, I would just like to be able to read and understand the majority of the scripts I find here and perhaps write one of my own in the distant future. Can anyone explain how to go about this process?
Title: Re: Scripting Help..any suggestions?
Post by: onlyindreams on January 16, 2010, 11:42:06 AM
Check out the script tutorial section of the forum here: http://www.scriptuo.com/index.php?board=17.0

I'm trying to learn in my free time as well and I've found it's a great place to start. I recommend going through Cerveza's tutorials in order. Also watch what the scripts that you do, do. (I said doodoo) See what the code looks like when you mine, open a chest, etc.
Title: Re: Scripting Help..any suggestions?
Post by: Valeth on January 16, 2010, 02:49:46 PM
I appreciate the response and I've already copied all of his lessons onto my desktop but what kind of code is that? C++ or C#? I'm considering going and buying one of those "for dummies" books on scripting and I'd like to know which one will serve me best.
Title: Re: Scripting Help..any suggestions?
Post by: onlyindreams on January 16, 2010, 03:08:02 PM
I appreciate the response and I've already copied all of his lessons onto my desktop but what kind of code is that? C++ or C#? I'm considering going and buying one of those "for dummies" books on scripting and I'd like to know which one will serve me best.

I have zero clue as to what kind of code it is.
Title: Re: Scripting Help..any suggestions?
Post by: Masscre on January 16, 2010, 07:32:30 PM
Valeth just something to help out a little.  This we do here is scripting not really associated with programming.  Good programming skills will help you with scripting but they are 2 almost different animals.
Scripts run from an interpreter and programs run with there own self executing code.
Title: Re: Scripting Help..any suggestions?
Post by: rana70 on January 16, 2010, 10:00:08 PM
Okay, I've decided that I want to learn a little about scripting. The problem is I dont know where to begin this journey. I dont know which is best whether its C++ or C# or whatever else is out there and their differences. I'm not looking into doing this as a profession, I would just like to be able to read and understand the majority of the scripts I find here and perhaps write one of my own in the distant future. Can anyone explain how to go about this process?

Hi,

I would recommand to start out with a smaler script you like to use and take it virtually appart.
TM made a great script editor and it is posted here on the side so you can download it.
If you use his SUO Editor you wll have highlighted commands and you can easily use the build
in links to the command reference on te EUO WebSite. The only thing you can't do right now
is running the script in his editor.

I learned also a lot by watching what the script does by using the F7 key in EUO .. it is a kind of
step-by-step mode and I just followed the code while it did his work.

btw nice helmet that you have there :-)
cu
Title: Re: Scripting Help..any suggestions?
Post by: DeadIssue2 on January 17, 2010, 06:48:08 AM
I consider myself a beginner at best and what I have done is this:

1) I actually printed out the Documentation PDF from EZUO. This explains what everything is and does. However doesn't actually explain very well.
2) Find small scripts and pull it apart line by line and figure out what every line is telling the script to do. So that you can use them for what ever purpose you want later.
3) Read every Tutorial on SUO and EZUO, and when its up WINUO. ( I hope TM doesn't have a problem with me mentioning those sites)
4) ASK EVERYONE WHO WILL LISTEN TO EXPLAIN WHAT IT MEANS. And don't sit there and ask "hey script me this" that's not asking for help. I mean have a question and you will get an answer. Post the question and see how many different explanations you get. One of them WILL make sense to you.
5)Start small, if you go for the big leagues and fail you will stop. Start with very simple almost macro level scripts first then let it grow.
Title: Re: Scripting Help..any suggestions?
Post by: TrailMyx on January 17, 2010, 10:00:31 AM
I hope TM doesn't have a problem with me mentioning those sites)

You can talk about whatever site you want.  We're not here to compete; we're here to help the scripting community and the general UO fans themselves.  We even have links to most of the mentioned site in the LINKS (http://www.scriptuo.com/index.php?action=links) section.  If anyone knows of additional useful UO fan sites they'd like to see in there, please let me know.
Title: Re: Scripting Help..any suggestions?
Post by: Valeth on January 17, 2010, 10:25:27 AM
Thanks for the help guys. I guess I'm gonna try making a script for my ABC archer. Maybe something that honors the closest enemy and then keeps lightning strike going.
Title: Re: Scripting Help..any suggestions?
Post by: Scrripty on January 17, 2010, 03:28:31 PM
Thanks for the help guys. I guess I'm gonna try making a script for my ABC archer. Maybe something that honors the closest enemy and then keeps lightning strike going.

You mean like this? :)

http://www.scriptuo.com/index.php?topic=2166.msg29264#msg29264
Title: Re: Scripting Help..any suggestions?
Post by: Valeth on January 17, 2010, 05:14:18 PM
Thanks for the help guys. I guess I'm gonna try making a script for my ABC archer. Maybe something that honors the closest enemy and then keeps lightning strike going.

You mean like this? :)

http://www.scriptuo.com/index.php?topic=2166.msg29264#msg29264

Yes, just like that lol. It does look quite impressive. It'll most likely be some time before I can download it though so I figured I can make one for the meantime.
Title: Re: Scripting Help..any suggestions?
Post by: Scrripty on January 17, 2010, 05:38:32 PM
You mean, download it like THIS?

http://www.scriptuo.com/index.php?topic=2658.msg20131
Title: Re: Scripting Help..any suggestions?
Post by: Valeth on January 17, 2010, 05:50:45 PM
You mean, download it like THIS?

http://www.scriptuo.com/index.php?topic=2658.msg20131

Sweet, I had read about it but I didnt know there was a non elite version out there. Thanks alot Twinkle McNugget!
+karma!
Title: Re: Scripting Help..any suggestions?
Post by: Scrripty on January 17, 2010, 08:10:31 PM
You mean, download it like THIS?

http://www.scriptuo.com/index.php?topic=2658.msg20131

Sweet, I had read about it but I didnt know there was a non elite version out there. Thanks alot Twinkle McNugget!
+karma!

Just post feedback.  That's all any of us really ask.  Anything you notice that would be better.  But make SURE to browse the threads first so you aren't talking about things we've already gone over. :)
Title: Re: Scripting Help..any suggestions?
Post by: Mindoza on February 19, 2010, 04:13:24 AM
Im new to this site and this program entirely. Gonna be researching intensely over the coming weeks!  ;)
Title: Re: Scripting Help..any suggestions?
Post by: Toptwo on February 19, 2010, 04:18:12 AM
Im new to this site and this program entirely. Gonna be researching intensely over the coming weeks!  ;)

  Head on over to the Site Rules Give them a read, and post up a intro. Then you might have a little more access.
Title: Re: Scripting Help..any suggestions?
Post by: DeadIssue2 on February 19, 2010, 04:40:06 AM
I hope the first thing you research here at SUO will be the site rules and the appropriate introduction will be posted.
Title: Re: Scripting Help..any suggestions?
Post by: Mindoza on February 22, 2010, 04:40:44 AM
I was tired when i registered, i apologise! Safe to say my research included the site rules after i posted. Wrong way round!