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!

Intelligence FAQ?

S

Silver Ghost

Guest
Intelligence FAQ?

I've always been into all of those FAQs and walk-through things. As a matter of fact I've created some of them for sphere (in Russian tho). I was thinking how bout we create a FAQ not as much as programming-related, but the one which'd explain the basic concepts of runUo server. For example I've just discovered this website yesterday, and right now I have no clue what's with what, how much is hardcoded, and that kind of stuff. I understance the syntax of scripting (hey I am C++ programmer), but still I dunno what calls what, and blah blah :)

How about you guys throw in some recommendations and make this topic sticky?
 
S

Silver Ghost

Guest
Here's a few topics to start out with:

1. Explain the compilation proccess. I have VC6.0++ is it what I need? Or do I need to use that framewok thing that you provided us with?

2. What aspects are hardcoded?

3. How much are we able to change? For example if I want my accounts to be stored in a file specified by me in a binary format, and encrypted, can I do that? Or is it hardcoded again?

4. Can you provide me with a simpliest example of an item that does nothing?

5. Can you explain the "calling" concept? For example in MFC we use messages, in sphere they use triggers, how is it done here?

...hope that's enough to start out with :)
 

Delta

Wanderer
OK I will answer all I can as I am kinda new at C# and RunUO myself

1 - C# is a compile/interpeted language all you need to make and compile code is the .net framework for example see http://csharphelp.com/columns/column1.html

2 - Right now whatever is implemented not in the script directory is hardcoded but things are being moved out of the hard code to scripts everyday so it is changing almost a new beta every week so this is hard to answer (except by a developer).

3 - almost everything C# is the scripting language and is one of the most powerful scripting languages as to your example it is already a binary file for accounts we will have a tool to work with that probebly when done with beta.

4 - not sure on that as there is alot of items that don't do anything yet.

5 - not 100% sure yet on this but this is based on C# and the .net framework think of MFC as the Grandfather of .Net.
 
S

Silver Ghost

Guest
It's all good.. Keep it comming. After all I'm not the only one who'll have these questions...
 
S

Silver Ghost

Guest
Somebody posted these:

http://www.c-sharpcorner.com/
http://www.csharp-station.com/
http://www.softsteel.co.uk/tutorials/cSharp/cIndex.html
http://www.devhood.com/training_modules/dist-a/LearningCSharp/?module_id=2
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html/CSharpSpecStart.asp
 

Phantom

Knight
Having a C++ compiler can't really help you. Actually you don't need anything more than a notepad. You need the .NET Framework of course and if you want C++ .NET which can be bought for under $99 in America. Like I said you don't need a compiler cause you don't compile the scripts RunUO does.

5 -

Really hard to explain since you don't understand C# Before you off on one of your bitches, you could have found this by looking at the scripts that came with Beta 4 and 5.

public override void OnDoubleClickDead( Mobile m )
{
m.Resurrect();
}

Perfect example of how the "trigger" system will work. As you can see it uses a class to fire an "action/event"

Time for bed.
 
Top