Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 01-21-2005, 06:01 PM   #1 (permalink)
RunUO Project Manager
 
Ryan's Avatar
 
Join Date: Jul 2004
Location: Harrison, OH
Age: 29
Posts: 3,620
Default Modification...

If you mod it, post it... help everyone
__________________
Ryan McAdams
RunUO Team - Project Manager

Ryan is offline   Reply With Quote
Old 01-21-2005, 06:04 PM   #2 (permalink)
Forum Expert
 
Join Date: Sep 2002
Age: 23
Posts: 1,472
Default

k!
Ravatar is offline   Reply With Quote
Old 01-21-2005, 11:40 PM   #3 (permalink)
Forum Expert
 
Join Date: Dec 2003
Location: Sitting in a chair fulfilling my life's goal
Age: 22
Posts: 2,576
Send a message via AIM to Killamus Send a message via MSN to Killamus
Default

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.
Killamus is offline   Reply With Quote
Old 01-21-2005, 11:45 PM   #4 (permalink)
Master of the Internet
 
bzk90's Avatar
 
Join Date: Jun 2003
Location: Nevada
Age: 18
Posts: 6,630
Send a message via AIM to bzk90 Send a message via MSN to bzk90 Send a message via Yahoo to bzk90
Default

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
bzk90 is offline   Reply With Quote
Old 01-22-2005, 02:26 AM   #5 (permalink)
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
Default

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
LordHogFred is offline   Reply With Quote
Old 01-22-2005, 07:58 AM   #6 (permalink)
 
Join Date: Jan 2005
Age: 29
Posts: 6
Exclamation Question

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
KiltronCa is offline   Reply With Quote
Old 01-22-2005, 08:17 AM   #7 (permalink)
 
Join Date: Feb 2003
Posts: 412
Default

you pretty much have to do that, its still 1.1
Ceph is offline   Reply With Quote
Old 01-22-2005, 01:07 PM   #8 (permalink)
Connection Reset by Peer
 
Join Date: Jan 2003
Posts: 676
Default

You can have both versions at once.
tejster24 is offline   Reply With Quote
Old 01-28-2005, 02:10 AM   #9 (permalink)
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

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.
Vindekator is offline   Reply With Quote
Old 01-28-2005, 07:14 AM   #10 (permalink)
Ronin
 
davidmohara's Avatar
 
Join Date: Nov 2003
Age: 33
Posts: 134
Send a message via ICQ to davidmohara Send a message via MSN to davidmohara
Default

Do you have the latest version of the .NET Framework installed??
davidmohara is offline   Reply With Quote
Old 01-28-2005, 07:46 AM   #11 (permalink)
psz
UO Gamers: Demise Administrator
 
psz's Avatar
 
Join Date: Oct 2002
Location: Swamp
Age: 28
Posts: 10,644
Default

.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)
psz is offline   Reply With Quote
Old 01-28-2005, 11:42 AM   #12 (permalink)
 
Join Date: Oct 2002
Age: 22
Posts: 4,689
Default

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.
XxSP1DERxX is offline   Reply With Quote
Old 01-28-2005, 07:59 PM   #13 (permalink)
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

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.
Vindekator is offline   Reply With Quote
Old 01-28-2005, 08:05 PM   #14 (permalink)
 
Join Date: Dec 2003
Posts: 1,069
Default

Did you make sure that it got all the scripts inside of the folders? I know that I had to add those all manually.
__________________
HI!
jjarmis is offline   Reply With Quote
Old 01-28-2005, 08:51 PM   #15 (permalink)
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

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)?
Vindekator is offline   Reply With Quote
Old 01-28-2005, 09:06 PM   #16 (permalink)
 
Join Date: Dec 2003
Posts: 1,069
Default

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!
jjarmis is offline   Reply With Quote
Old 01-28-2005, 11:21 PM   #17 (permalink)
Ronin
 
davidmohara's Avatar
 
Join Date: Nov 2003
Age: 33
Posts: 134
Send a message via ICQ to davidmohara Send a message via MSN to davidmohara
Default

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.
davidmohara is offline   Reply With Quote
Old 01-28-2005, 11:30 PM   #18 (permalink)
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

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!
Vindekator is offline   Reply With Quote
Old 01-28-2005, 11:35 PM   #19 (permalink)
 
Join Date: Dec 2003
Posts: 1,069
Default

I never had to change that.... heh
__________________
HI!
jjarmis is offline   Reply With Quote
Old 01-29-2005, 11:20 AM   #20 (permalink)
Newbie
 
Join Date: Nov 2004
Posts: 30
Default

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!
Vindekator 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