|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#3 (permalink) |
|
Forum Expert
|
erm HOW do you change it? and what is a sourcecode? what you guys used to make it? or just the basic of runuo?
__________________
Procrastinators unite!
Tomorrow. Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders. ![]() |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
|
if you dont know what it is, then dont wory about it, if you dont know what it is you wont be able to safely change or implement the code, basicly the source code is all the behind the scenes stuff that no one had access to except the devs until 1.0
|
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
|
How would I get started on altering/looking at the source code. I am a very keen upcoming college student and I wish to get even some basic knowledge of how to use a programs source.
Chz ,
__________________
It is not the hand that creates worlds, It is the mind controlling it ! The New Dawn Network |
|
|
|
|
|
#6 (permalink) |
|
Join Date: Jan 2005
Age: 29
Posts: 6
|
What .Net Framework is supported by the Runuo1.0.0?? Reason i am asking is cause i have .net Framework 2 from Visual Stuidio 2005 and well if the >net 2 is not supported that means i have to uninstall the .net and put old one back in and that will just suck... Anyways hope i don't need to do that
Thanx KiltronCa |
|
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Nov 2004
Posts: 30
|
I've tried compiling the source without modifications. I get the EXE put when I execute it I get the following output:
RunUO - [www.runuo.com] Version 1.0.0, Build 38132 Scripts: Compiling C# scripts...done (0 errors, 0 warnings) Scripts: Compiling VB.net scripts...no files found. Scripts: Verifying... and then the message from "Common Language Runtime Debgging Services" Application has generated an exception that could not be handled. Process id=0xa80 (2688), Thread id=0xbb8 (3000). Click OK to terminate the application. Click CANCEL to debug the application. I click "CANCEL" and get a message that no debugger was found and press "CANCEL" on that message. I then get the following output continuing on the last console line: Scripts: Verifying...Error: System.Reflection.ReflectionTypeLoadException: One or more of the types in the assembly unable to load. at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Server.Core.VerifySerialization(Assembly a) at Server.Core.VerifySerialization() at Server.ScriptCompiler.Compile(Boolean debug) at server.Core.Main(String[] args) This exception is fatal, press return to exit I used the latest version of SharpDevelop to compile the source. Although I don't really know much about C#, I am a programmer/dba with 25+ years experience. Hopefully some insights will overcome my natural limitations. |
|
|
|
|
|
#11 (permalink) |
|
UO Gamers: Demise Administrator
Join Date: Oct 2002
Location: Swamp
Age: 28
Posts: 10,644
|
.Net Framework 1.1 is needed. The latest (2.0) may not work.
__________________
psz Demise' Creator (Retired) The RunUO.com Forum Moderator Team Former Official RunUO Scripter (Retired) Websites: My 360 Blog My Gaming Site(Old Link) My Gaming Site(New Link) |
|
|
|
|
|
#12 (permalink) |
|
Join Date: Oct 2002
Age: 22
Posts: 4,689
|
It is fairly difficult to get RunUO to compile with Visual Studio or SharpDevelop unless you do a few modifications and know how to generate the project. Just dumping the files into a new project and hitting build will cause a verification error... why I have no clue.
|
|
|
|
|
|
#13 (permalink) |
|
Newbie
Join Date: Nov 2004
Posts: 30
|
I saw the previous mention of the .NET level and checked the machine I was working on. It only has 1.1 installed.
For setting the project up in SharpDevelop I started a new console project with then generated a main.cs and an assembly.cs as well as the SharpDevelop indexing and overhead stuff. I set the project options to automatically scan for and load new files and exited SharpDevelop. Since there were main and assembly files in the distribution, I deleted the ones which were generated. I then copied all of the distribution files into the project directory and restarted SharpDevelop. I ran the app through the IDE and since it seemed to work (it was looking for all the scripts that come with the full installation) I then used the compile option. This created the .exe which I copied to the machine on which I am running RunUO. I stopped the original server and started the new one with the aforementioned results. XxSP1DERxX, just what have I missed in setting this up? As LordHogFred mentioned, some of us could use a few pointers on how to get off and running. One of the things I want to do is to add some PHP to fit a template I have developed and which could be used within other templates to "augment" (replace) the HTML. |
|
|
|
|
|
#15 (permalink) |
|
Newbie
Join Date: Nov 2004
Posts: 30
|
Well.... I didn't do a checklist of ALL the scripts but the automatic search and load new generated a whole lot of files.
Do the regular distribution scripts need to be included in the project directory (but not in the compile)? |
|
|
|
|
|
#16 (permalink) |
|
Join Date: Dec 2003
Posts: 1,069
|
There are directories of scripts inside the core source. What I did to add the files was move the directories out of the project dir, then made the directories inside of Sharpdevelop, then moved the files back into the right directories and reloaded the project. This added them to the directories inside the project. If you dont add the directories manually, it wont add them for you.
__________________
HI! |
|
|
|
|
|
#17 (permalink) |
|
Ronin
|
I'm not familiar with SharpDevelop but with VS2003 what you can do is have it "Show All Files" and then "Include" the folder that you want added. This will recursively add all scripts in that folder and it's sub folders. (If the folder is included already but you're not sure that all the files are, you can first "Exclude" it and then "Include" it to be sure everything was added) Like I said, I don't know SharpDevelop but if they have similar functionality, you make have some success trying this.
|
|
|
|
|
|
#18 (permalink) |
|
Newbie
Join Date: Nov 2004
Posts: 30
|
I found the answer to my problem.
I'm using SharpDevelop v1.0.3 which I just downloaded a few days ago. In the Project Optiions, Configuration, Debug and Release sections, Runtime/Compiler item for both, there is a Compiler Version selector. It starts on standard. I set it to the highest version it had: v1.1.4322. The result? A working .exe! |
|
|
|
|
|
#20 (permalink) |
|
Newbie
Join Date: Nov 2004
Posts: 30
|
As a final follow up....
I noticed another post, "Question for build RunUO" where there was a problem with verification and the requirement that the build name be "Server.exe". I reset my options to the original defaults and the compile name to "Server.exe" (I had made it "RunUO Server.exe" to be able to know at a glance which one was mine) and recompiled it and lo and behold.... it worked! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|