|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,873
|
Okay, okay... one thing at a time.
First off, yeah it sucks that every emulator has their own best world, but the fact is every emu is different, in the perfect world your desk and my desk would look exactly the same, everything neatly stacked so you could find stuff on my desk if you needed. But this is the real world, there's empty soda cans and beer caps everywhere, paper with handwriting the chicken himself can't read, cds with no cases, cds with no labels, and under all of this is a mouse, a keyboard, and maybe a few pizza boxes.
Your desk might not be this bad, but, you get my point. So, there are one or two scripts INCLUDED in the runuo distro that allow you to build your world inside runuo, and then export it to a wsc format that the map programs can understand. Try those, you shouldn't need uoxc at all.
Secondsly on the script compiler, we have limited flexability with the script compiler because we didn't write it, its the same compiler #dev and MSVS.net use, the ms compiler. The script compiler in runuo just calls out to CSharpCodeProvider and gets back a compile assembly. Thats why we don't have a better recompile command--there's not language level support for it. I can think of at least one way to allow for custom scripts overriding distro scripts, but its not a great solution. A better solution is for the person who wrote a scrip that conflicts with another script to post info on how to fix it, or for you to fix it yourself. it's usually not too hard, if you dl a script for a new katana, and runuo says "multiple deffinentions for katana" then delete the old katana, its not hard to figure out :-)
Lastly, when I started RunUO last august, I had never even SEEN C# or Java, let alone code in them. I had done several years of C/C++, 1 college level course, 2 highschool courses, and a whole lot of self teaching. I picked it up in no time, if you have programmed in all those languages it shouldn't be hard, the style to runuo's scripts is VERY oo, and very easy to pick up... If you're not sure--make it a class :-)
For either me or Krrios to take the time to design a "lesser" script compiler to compile scripts is a pretty crazy solution if you think about it, we have a 100% functional language and compiler at our disposal, but because it's overly complex (read: customizable, powerful, limitless), we should create an easier, more limited language thats specific to runuo, so you can learn that, then decide you want more power, and end up learning C# anyway? Doesn't sound like a good idea to me. Plus, if you had me design you a language, don't expect it to be easier to learn than C#... maybe I would go nuts and make it functional, just for laughs.
Don't get me started on functional programming at 6:15 am when I haven't slept for 21 hours....
You don't need to learn all of C# to make scripts for runuo, you need to learn how to 'se;f teach' youself some C#, find something simple you want to do, set out to do it, there's an example of something similar SOMEWHERE in your RunUO/Scripts directory. Ask questions when you get stuck..... If you can't find an example of what you want to do, then you are getting too complex.. start out trying to make an advancement gate or something.
I refuse to believe RunUO is any harder than any other emulator. UOX uses .scp or .dfn files, which look easier than runuo, but if you open up katana.cs it really isn't much more complex, just change the values you want, its not hard. Anyway. I should probably go to sleep.
What a post.
*laughs to self* functional programming.. hahaha
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team
"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon
|