Full Version : Latest RunUO 2.0 server - rev 286
xmlspawner >>Misc >>Latest RunUO 2.0 server - rev 286
<< Prev | Next >>
ArteGordon- 12-21-2006

QUOTE (gladik @ December 21, 2006 04:33 am)
I put standard scripts and server and it gives out this error.

what version of the server were you running before you replaced it with rev121?
gladik- 12-21-2006
I put a new server with scripts and server.exe from 121 revision
ArteGordon- 12-21-2006

QUOTE (gladik @ December 21, 2006 05:20 am)
I put a new server with scripts and server.exe from 121 revision

Are you saying that this is a new server installation with fresh server/scripts and no mods?
Are you using the Scripts from the latest SVN?
gladik- 12-21-2006

QUOTE (ArteGordon @ December 21, 2006 09:25 am)

QUOTE (gladik @ December 21, 2006 05:20 am)
I put a new server with scripts and server.exe from 121 revision

Are you saying that this is a new server installation with fresh server/scripts and no mods?
Are you using the Scripts from the latest SVN?
yes
ArteGordon- 12-21-2006
but resourceinfo.cs is not a standard script, so you still have some custom stuff there. That is likely to be your problem.
The file is duplicating the contents of oreinfo.cs. It is probably from some custom ore package.
kastion- 12-30-2006
I had the exact same problem, so I backed up my scripts, then deleted the Scripts folder from my servers folder. I put the SVN 124 Scripts in and compiled and got this error:

QUOTE
Items/Container/FillableContainer.cs Line 1173: The type or namespace 'Miner' could not be found (are you missing a using directive or assembly reference?)

Coming from this:

CODE
public static FillableContent Mine = new FillableContent( 1, new Type[] { typeof( Miner )
},
new FillableEntry[]
{
new FillableEntry( 2, typeof( Pickaxe ) ),
new FillableEntry( 2, typeof( Shovel ) ),
new FillableEntry( 2, typeof( IronIngot ) ),
//new FillableEntry( 2, typeof( IronOre ) ), TODO: Smaller Ore
new FillableEntry( 1, typeof( ForgedMetal ) )
} );

I'm using the RunUO.exe posted in this thread, and fresh Data and Scripts folder from revision 124, can you help me out?
ArteGordon- 12-30-2006
make sure that you have the Miner.cs script in Scripts/Mobiles/Vendors/NPC.
I'm guessing that you didnt quite get all of the Scripts files from the Scripts SVN
kastion- 12-31-2006

QUOTE (ArteGordon @ December 30, 2006 08:00 pm)
make sure that you have the Miner.cs script in Scripts/Mobiles/Vendors/NPC. I'm guessing that you didnt quite get all of the Scripts files from the Scripts SVN

Yep that was it, for some reason it was the only file I was missing. Thanks.
DarkGypsy- 01-01-2007
looks like the SVN is up to 126 now
question though, are all the scripts listed on the http://svn.runuo.com/repos/runuo/devel/ site the ones that were edited or do we need to pick out the ones that were changed from within there?
if we have to pick them out, how do we know which ones were changed?
ArteGordon- 01-02-2007
The files that were changed are automatically updated by the SVN software like TortoiseSVN. You can see which files were changed by looking at the log that is available when you do an update.
DarkGypsy- 01-02-2007
Ok, I figured out how to get TortiseSVN to show me which files were update, thanks for pointing me in the right direction on that one
Basically though, if we are running an SVN instead of the distro version of RunUO 2.0, every script that is in there that has been updated since the initial release of it needs to be updated, not just the most recent SVN scripts, unless we've already updated all the others before this? Just want to make sure I'm thinking right about this, started using the SVN's not too long ago and if I need to update all those scripts I should really get on it.
ArteGordon- 01-02-2007
yes, that is basically correct. You can actually get away with just updating scripts that are incompatible with the most recent server, and that is just a small handful of all of the scripts that were actually modified. (Just run the server and fix/replace the files that generate errors)
But, I would recommend updating them all since they fix a lot of bugs that were present in RC1.
Note that when you update to the latest SVN, all of the scripts that were out of date will be updated, so the SVN will always have the latest version of all of the Scripts.
DrussRob- 01-07-2007
It just dawned on me that I had this and I thought it would be helpful to post it here for people who aren't quite sure how to compile their own server exe. This is a short guide I got from a member on the runuo forum quite awhile ago and I feel bad but I don't remember the person's name. I wasn't sure if I should have started a new thread or just stick it in here, so I'll just put it here and leave it up to you guys to move it if you think it should be moved. And if you wrote this please feel free to lay credit upon yourself lol.

QUOTE
Here are, I hope, easy to follow step by step instructions for compiling the Server .svn. For these instructions I use Visual C# 2005 Express. It can be downloaded for free at http://msdn.microsoft.com/downloads/ After downloading and installing Visual C#, copy the .svn Server folder to a separate location. (It may not be necessary to do this step, but it would not give me permission to work with the files until I did)
Now open Visual C# and click on File then New Project. In the box that opens click on "Console Application" and at the bottom of the screen you can name the project if you wish. Then click "OK".
It will then open a file called "Program.cs" in the center of the screen and a window on the right called "Solution Explorer".
In the solution explorer delete the "Program.cs" and click the + sign next to "Properties" and delete the "AssemblyInfo.cs" under it.
Now open the new folder you made with the Server .svn folder inside it. Drag the Server folder onto the Icon underneath the "Solution" icon. (If you named the project in the 3rd step, drag the folder onto the icon that has your project name.) You should now see the folder "Server" at the bottom of the list in the Solution Explorer window.
Now click "Project" at the top of the screen. Click Properties at the bottom of the list.
It should open to a window that has "Application", "Build", "Build Events", "Debug", "Resources", "Settings", and "Reference Paths" down the left side.
Under Assembly Name You can name the finished project name.Below that is Output type. Make sure that says Console Application. Set the Startup object field to "Server.Core". In the Icon Field, you can point it to the server folder at the Icon there.
In the Build screen put a check next to "Allow unsafe code". Below that you set where you want the compiled server should save to.
Now go to the top and click on Build, Build Solution.
Thats it. You have now compiled the new Server.exe.
In most cases you should now be able to drop the new Server.exe into your Runuo 2 folder. Remember to delete the scripts\output\scripts.cs.dll (This is the file that allows Cacheing of the scripts) It will write a new copy when the scripts recompile on server start.

DarkGypsy- 01-07-2007
SVN 136 has been released
DarkGypsy- 01-12-2007
SVN 137 has been released