|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Master
|
i have downloaded tortorse svn, gotten the svn files using it also
got C# express installed and running now all i see in the svn is the same file i could have copied, plus some notes on them from the tortose (guess for the updating and such) in the server folder all i see is CS files, no main program to load VC# with (i am used to VB where you have a program name/module that you load up with - of if from scratch is created with the 1st save) I looked all over the place last night for a walk through or basic directions / etc i know i have seen them before on here - just can't find them so if someone knows where they are at - can point me to them - i would appreceate it thanks
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#3 (permalink) |
|
Forum Master
|
thanks for the link
but that one is for after you have compile the core up I need to compile the new core so i am still looking
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#6 (permalink) |
|
Forum Master
|
malaperth - that was the thread i needed - thanks alot
tried to give you karma for it - but must have gave it to you last - says i can't unti i spread it around more (sounds like BS to me being spread around )
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
|
The way I compile the core is using a batch file in the SVN directory to call csc, then i just copy the exe to my RunUO folder.
Heres the batch file i made (just save it as 'compile.bat' and drop into RUNUO SVN folder): Code:
@echo off PATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 IF EXIST Server.exe DEL Server.exe csc.exe /optimize /unsafe /nologo /out:Server.exe /recurse:Server\*.cs **EDIT: I have my Environment variables set so i could run csc.exe from the cmdline, so i've added the PATH= into the batch file so it should work without this ![]()
__________________
Use the middle mouse button on Here for forum rules, if nothing happens get firefox and try again!!! Last edited by Kenny164; 11-09-2006 at 04:34 PM. |
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
|
heh, since I've looked at it again (the batch file)... Thought i'd add in some more automation, here it is:
Code:
@echo off PATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Subversion\bin echo Updating from SVN tree... svn update echo. echo Compiling Server... IF EXIST Server.exe DEL Server.exe csc.exe /optimize /unsafe /nologo /out:Server.exe /recurse:Server\*.cs echo Server.exe has been created.
__________________
Use the middle mouse button on Here for forum rules, if nothing happens get firefox and try again!!! |
|
|
|
|
|
#11 (permalink) |
|
Forum Master
|
thanks to you both very much
next time i go to run it i will try the batch file - does sound a lot easier but i got it compiled from the other directions (glad those were there )and did not take to much change over for all of the custom scripts i have to get the new one to work (i was surprised on how few had to be changed)
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
|
No problem, I'd like to wish you unneeded luck with the SVN
![]() It's nice to know if the devs fix a problem in their code, we can have it workin within minutes instead of waiting for a release or patch as such.
__________________
Use the middle mouse button on Here for forum rules, if nothing happens get firefox and try again!!! |
|
|
|
|
|
#14 (permalink) |
|
Forum Master
|
i followed the directions laid out in the one link that i said was it - and i got no errors from it at all - compiled very nicely then
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#15 (permalink) |
|
Forum Expert
|
Well apparently your supposed to make changes to assemblyinfo or you will get errors upon trying to make the server. I then took it out just to see and it made one fine. I popped in game and everytime i used props server crashed. Wierd.
__________________
Broadside ~AkA~ Bad Karma |
|
|
|
|
|
#16 (permalink) |
|
Forum Master
|
i just folowed the directions in this link to the letter and i had no problems
Easy how to compile new server......
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#17 (permalink) |
|
Forum Novice
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
|
Code:
How_to_compile_a_new_server_Build 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 "Assemblylnfo.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. |
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
|
Lol boulder that is the same thing i got the server up and running fine. What i was wondering is how important the assemblyinfo.cs file was cause if i remove it that is only way i can make the server exe and then i go in game add ann item props it and insta crash. It may just be a unfixed download or something i will hold off. Thank you for your help.
![]()
__________________
Broadside ~AkA~ Bad Karma |
|
|
|
|
|
#19 (permalink) |
|
Forum Newbie
Join Date: Nov 2006
Location: Denver
Age: 47
Posts: 3
|
If you are using Visual Studio 2005 (I am using the Pro edition, but they should work fine on other editions) you can use these solution and project files on the file structure created when the SVN files are copied locally using TortoiseSVN.
Here are the basic steps:
Good luck and I hope this helps! |
|
|
|
|
|
#20 (permalink) |
|
Forum Novice
|
Tyvm!
Im installing c# express now, I already had tortise. I know my way around the linux programmin world much better than windows, as im coming from a decent background working at a few ISPs (php, mysql, ruby, c++, html). While I can slowly work thru a c# script and figure out what its doing, im a loooong way from creating anything very useful, and help like this on compiling is great! Once again the community here impresses me! |
|
|
|
|
|
#21 (permalink) |
|
Forum Newbie
Join Date: Nov 2006
Location: Denver
Age: 47
Posts: 3
|
One change you may want to make to the project files I uploaded earlier is in the RUNUO.RCJ file in the Data project. I suggest you comment out the line that has /Purge on it. The /Purge parameter to Robocopy will delete files in the destination directory that no longer exist in the source. This is fine in the Scripts project, since that is where you are likely to be putting new scripts for RunUO. However, in the Data project, this behavior my delete changes made to data files used by RunUO during it's operation...
|
|
|
|
|
|
#24 (permalink) |
|
Forum Expert
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
|
Just outta curiosity, does anyone know if there are some extra options that need to be added to the command line to compile the core as a 64-bit EXE? Or is the designation about whether the server operates as 32-bit or 64-bit just dependent on which version of the zlib DLL is used? (I've been away from RunUO too long... I used to know the answer to this question a while ago.)
__________________
I R GEEK! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|