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 10-11-2006, 12:21 AM   #1 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: Laredo, Texas
Age: 18
Posts: 757
Send a message via ICQ to Marcus247 Send a message via AIM to Marcus247
Default Edited Core, Using it..

Ok i made some edits to the source of runuo2 now how do i make it work with the server i have, where to i put these files... please help.. i already know all the risks envolved ect. just tell me
__________________
-->Signature Here<--
Marcus247 is offline   Reply With Quote
Old 10-11-2006, 12:54 AM   #2 (permalink)
Forum Expert
 
Khaz's Avatar
 
Join Date: Mar 2003
Posts: 1,754
Default

You will have to recompile the core into an executable. The method of doing this varies on your compiler or IDE, so without that information, more help is hard to come by.
__________________
"Misfortune shows those who are not really friends." -Aristotle
"A multitude of words is no proof of a prudent mind." -Thales
Khaz is offline   Reply With Quote
Old 10-11-2006, 01:10 AM   #3 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: Laredo, Texas
Age: 18
Posts: 757
Send a message via ICQ to Marcus247 Send a message via AIM to Marcus247
Default

what do you recommend? i have visual C# express but not sure how to use
__________________
-->Signature Here<--
Marcus247 is offline   Reply With Quote
Old 10-11-2006, 01:23 AM   #4 (permalink)
Forum Expert
 
Khaz's Avatar
 
Join Date: Mar 2003
Posts: 1,754
Default

That's what I recommend.
Next, I also advise that you download Eggman's project tool.
If you do so, extract it to the same directory as your core source files and run the executable. Select the second option, "Visual Studio .NET 2003," and also hit the radio button for Core. After that, simply press the Create button at the bottom.

This will automatically create a VS project file with the core files. Open the newly created file in Visual Studio. You should be prompted to update the project to the new version of Visual Studio, so go ahead and do that.

When all that is done, press Ctrl+Alt+L to open the Solution Explorer pane. At the top will be the name of your solution. Right-click it and go to Properties. Ensure that both the "Assembly name" and "Default namespace" values are set to "Server." If you so choose, you can also select the icon here, which should have been included with the source file download.

After this, simply go to Build | Build Solution, or press F6, to compile the solution. Your new executable is located, by default, in the project directory /bin/Release.
__________________
"Misfortune shows those who are not really friends." -Aristotle
"A multitude of words is no proof of a prudent mind." -Thales
Khaz is offline   Reply With Quote
Old 10-11-2006, 03:36 AM   #5 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: Laredo, Texas
Age: 18
Posts: 757
Send a message via ICQ to Marcus247 Send a message via AIM to Marcus247
Default

** using my own compiler ** (Sharp Develop) The server crashes every time I try and logon, I even tested this without changing anything from the core. Just using my own compiler with the source of RunUO 2. I get this Crash:

Quote:
Server Crash Report
===================

RunUO Version 2.0, Build 2475.2694
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 10/11/2006 2:32:46 AM
Mobiles: 598
Items: 44412
Clients:
- Count: 1
+ **.***.***.***: (account = *****)

Exception:
System.OverflowException: Arithmetic operation resulted in an overflow.
at Server.Network.PacketWriter.Write(SByte value)
at Server.Network.AccountLoginAck..ctor(ServerInfo[] info)
at Server.Network.PacketHandlers.AccountLogin_ReplyAc k(NetState state)
at Server.Network.PacketHandlers.AccountLogin(NetStat e state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
What might I be doing wrong?
__________________
-->Signature Here<--
Marcus247 is offline   Reply With Quote
Old 10-11-2006, 06:39 AM   #6 (permalink)
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

there should be /ckecked- in the compiler options. most compilers set the option /checked+ by default.
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote
Old 10-11-2006, 11:27 AM   #7 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: Laredo, Texas
Age: 18
Posts: 757
Send a message via ICQ to Marcus247 Send a message via AIM to Marcus247
Default

thanks for all the help! i got everything working
__________________
-->Signature Here<--
Marcus247 is offline   Reply With Quote
Old 03-21-2007, 04:39 PM   #8 (permalink)
Forum Newbie
 
Join Date: Mar 2007
Age: 20
Posts: 1
Question

Quote:
Originally Posted by Khaz View Post
That's what I recommend.
Next, I also advise that you download Eggman's project tool.
If you do so, extract it to the same directory as your core source files and run the executable. Select the second option, "Visual Studio .NET 2003," and also hit the radio button for Core. After that, simply press the Create button at the bottom.

This will automatically create a VS project file with the core files. Open the newly created file in Visual Studio. You should be prompted to update the project to the new version of Visual Studio, so go ahead and do that.

When all that is done, press Ctrl+Alt+L to open the Solution Explorer pane. At the top will be the name of your solution. Right-click it and go to Properties. Ensure that both the "Assembly name" and "Default namespace" values are set to "Server." If you so choose, you can also select the icon here, which should have been included with the source file download.

After this, simply go to Build | Build Solution, or press F6, to compile the solution. Your new executable is located, by default, in the project directory /bin/Release.

i Tried like you said but every time i obtaine four files, wich one is server.svshost.exe , and other part of the project....never found an only executable file, that can be the exe of run uo ..

Where did i make mistakes? cause i had to modifiy the core (i'm running on vista...so) but if i can't recompilate it...that doesn't sound good ^^

ps: please excuse me for english mistake, but i have to say that i'm belgian
Keo95 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