Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 07-05-2006, 02:47 AM   #1 (permalink)
Newbie
 
Join Date: Mar 2005
Age: 19
Posts: 78
Default New to RunUO AND C#

I just went through a series of video tutorials for C# over at the msdn, and I'm looking to learn and get better. I figured a practical use that won't bore me would be working here, so, well, here I am! Ok, so how do I make myself useful now =P
Kelba is offline   Reply With Quote
Old 07-05-2006, 03:41 AM   #2 (permalink)
Forum Expert
 
milt's Avatar
 
Join Date: Nov 2003
Location: Lancaster, PA
Age: 20
Posts: 1,606
Send a message via AIM to milt Send a message via Yahoo to milt Send a message via Skype™ to milt
Default

I'd say that a good way to start learning is by examining current scripts, and use those to create your own. Eventually over time you will get used to a lot of the custom methods that are built in to RunUO.

If you are writing a script and you can't think of how to do something, think about something that is already scripted that is similar. Find that script, understand it, see how it is done, and use that to help you write yours.

If you run across errors that you just can't seem to fix, a good use of the Search button is a good way to start here on the forums, then if you can't find anything, post a thread in the Script Support section and post what you have tried, the errors that you are getting, and what you want the script to do. As long as you stay within the forum rules, people will be more than glad to help you out.
__________________
--Milt, AKA Pokey
milt is offline   Reply With Quote
Old 07-05-2006, 05:10 PM   #3 (permalink)
Newbie
 
Join Date: Mar 2005
Age: 19
Posts: 78
Default

I was looking at scripts for monsters, and had a quick question.

When listing an attribute such as strength, there are two values, ex: (100,125). If that just saying that the strength can be anywhere from 100-125, no more and no less? Thanks
Kelba is offline   Reply With Quote
Old 07-05-2006, 08:29 PM   #4 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Quote:
Originally Posted by Kelba
When listing an attribute such as strength, there are two values, ex: (100,125). If that just saying that the strength can be anywhere from 100-125, no more and no less?
That's sorta what it means... When creating an instance of the creature, it will choose a random value for the attribute between the two given values.
WeEzL is offline   Reply With Quote
Old 07-06-2006, 12:51 AM   #5 (permalink)
Forum Expert
 
Join Date: Jul 2003
Location: Arizona
Age: 18
Posts: 3,186
Send a message via AIM to Storm33229 Send a message via Yahoo to Storm33229
Default

SetStr(100, 125);

SetStr = Custom RunUO method. It is not a normal or preset method within the C# programming language. That method (most likely) contains two variables. Minimum and Maximum. Think of it like: SetStr(int min, int max).
Keep in mind I could be very wrong, I haven't looked at RunUO monster code in a while.

-Storm
__________________
Quote:
Originally Posted by Radwen
You should crush your pills and sniff them.
Storm33229 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5