|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
I have used Tortoise to retrieve SVN 213. I then copied the contents of the DATA folder with 'replace' over my RunUO DATA Folder. I have done the same thing with the SCRIPTS Folder (copy with replace over my RunUO SCRIPTS Folder). I then used Joeku's command line complile. The core compiled without issue and I suppose rewrote my RUNUO.exe.
Then I launched RUNUO.exe and *kaboom*, the other scripts yield compile errors: # Errors: + Items/Armor/Leather/LeafTonlet.cs: CS0101: Line 7: The namespace 'Server.Items' already contains a definition for 'LeafTonlet' + Misc/ResourceInfo.cs: CS0101: Line 6: The namespace 'Server.Items' already contains a definition f or 'CraftResource' CS0101: Line 32: The namespace 'Server.Items' already contains a definition for 'CraftResourceType' CS0101: Line 40: The namespace 'Server.Items' already contains a definition for 'CraftAttributeInfo' CS0101: Line 277: The namespace 'Server.Items' already contains a definition for 'CraftResourceInfo' CS0101: Line 307: The namespace 'Server.Items' already contains a definition for 'CraftResources' CS0101: Line 547: The namespace 'Server.Items' already contains a definition for 'OreInfo' # I have no idea what has been done to the scripts by those with access but it appears there is some duplication somewhere, though I know NOTHING about C# at this early point (I'm studying but this is not an overnight thing and lack of familiarity with the code and with what has been done to the many scripts doesn't help). So my question is (since I see subsequent SVN numbers have errors reported) what is the most current clean SVN? Or perhaps point me ... I am willing to try to fix what I have. Thanks for any and all help!!! |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
oreinfo and resource info are the same. I think you delete oreinfo.cs and keep resource info...*i think*
__________________
"That He would leave His place on high and come for sinful man to die. You count it strange, so once did I, before I knew my Savior" ~ Aaron Shust
|
|
|
|
|
|
#3 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
|
Quote:
You also shouldn't just overwrite your data and scripts folder from RC1 to the SVN, you should make a new folder for the SVN and try to merge any edits you made to the distro files into the new files. You can use tools such as winmerge or araxis merge to help see what is different int he two files. Last edited by stormwolff; 08-28-2007 at 10:55 AM. |
|
|
|
|
|
|
#4 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
Thank you.
I seem to be confused on the correct way to use the .SVN folders. Before I start though, does distro mean "distribution" as in the original distribution of RunUO Version 2.0 RC1 that I downloaded? I use it that way in this post. Do I need to use a merge tool if I have never directly (and knowingly that is) modified any of the files I originally downloaded (the distro?); it is the same. After I specified "EXPORT" in Tortoise to create my folders (without the .SVN folder), I created a new directory to house all three that came with SVN 213. I then used MicroSoft Copy to copy the new files from their respective folders, i.e., the files that had been in the folders with the .SVN into the original (distro?) folders of the same name. I chose "YES TO ALL" when asked if I wished to replace files of the same name, such that any file I brought in through Tortoise replaced the file I had in the very beginning, the files that got me into this new hobby ... the original ones :-). Simply, new replaces old, has been my thinking. If I were at the line level I would of course need to merge a .SVN file with a Steph file before replace whatever came with RunUO. Is this correct? Thank you for the help. |
|
|
|
|
|
#5 (permalink) |
|
Forum Administrator
Join Date: Jan 2003
Location: Northern Virginia
Posts: 1,548
|
You don't need anything more than TortoiseSVN, .NET Framework, and a web browser to build and use RunUO.
Create a new folder and checkout Revision 220: /devel Open a command prompt, go into the Server folder and type C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc /o /unsafe /t:exe /out:RunUO.exe /win32icon:runuo.ico /recurse:*.cs Copy RunUO.exe from Server into your main repository folder. Download a copy of zlib32.dll (or zlib64.dll if you have a 64-bit system) from http://www.runuo.com/mark/zlib32.dll and copy it into your main repository folder. Double click RunUO.exe |
|
|
|
|
|
#6 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
Mark, thank you for the great walk-through.
I believe I followed the steps correctly. I created a new folder (I just happened to make it a sub-folder within my RunUO folder, but I gather where I put it is not necessarily important); for clarity I named it RunUO SVN 220. I then used Tortoise to checkout to this new folder by right-clicking that folder. On the Tortoise "Checkout" Panel, I checked the Radio button toward the bottom under Revision named "HEAD revision"; and, just to the right of that Radio button and to the left of the "Show Log" Button, I typed into the box without quotes "Revision 220:/devel". I made no other check mark entries on the Checkout Panel but left the URL and path untouched thereby retaining their default paths. I then clicked OK to start the checkout process which moved many files into three sub-folders of the RunUO SVN 220 folder I created. I then navigated a C:\ Prompt to this new folder and entered the line commands you provided to compile the core. It was clean. I downloaded the zlib32.dll and placed a copy in my new RunUO SN 220 folder. And then I double-clicked my RunUO.exe. After a few minutes and during the compile process, an error was reported: # RunUO - [www.runuo.com] Version 2.0, Build 2796.39108 Core: Running on .NET Framework Version 2.0.50727 Core: Optimizing for 2 processors Scripts: Compiling C# scripts...failed (1 errors, 0 warnings) Errors: + Misc/ServerList.cs: CS0127: Line 108: Since 'Server.Misc.ServerList.Resolve(string, out System.N et.IPAddress)' returns void, a return keyword must not be followed by an object expression Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. # I just don't know anything about C# at this point, in spite of the tutorials so right now I haven't a clue what to change. Is this compile error specific to my machine or is it widespread? For now, I am just trying to get a RunUO instance up and running; one with monsters, vendors and items; one that reminds me of UOGamers but perhaps with some of the newer game features. I need to get that emulator up and solid before I invite friends and family. Thank you again for so much help already. |
|
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Aug 2007
Location: Israel
Age: 31
Posts: 19
|
Hmm.. now that i checked it was 223.. anyone can explain about SVN updates please. The last one that i am using is 213. Is it so critical to update the latest SVN ? Or i can use the one that i have. Where or how i can know what changes the new SVN have ? I have the TortoiseSVN but i don't know how to use it
. Is there any guid for this program ?Well.. when i am trying to D/L the newest SVN.. I am clicking on "Export".. when its finish i have many files and folders. What should i do with all these files ? How can i make it to be like on the website.. i mean.. data/scripts/server folders ? Sorry for my newbish questions but i am trying to understand it allready 3 weeks And if its not to much to ask.. is it possible that some one will create a little guid for newb's like me..for tortuise program ![]() P.S My last SVN downloaded by my friend.. He used some program called "Ecalips" or something like this. He use it for other game svn updaets.. for java servers. Last edited by tamir333; 08-29-2007 at 07:29 AM. |
|
|
|
|
|
#10 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
Tamir, you can look through this thread and any of the others within "Server Support" where I have posted. Within those, the step by step information you are seeking was provided by a host of great people. I would restate it but it was written well and is no more than ten to twelve days old.
Tortoise has a great "Help" manual. It is really well written and describes concepts of Versioning (and Sub Versioning). The most recent SVN as of late night on 08-28-2007 was .SVN 222, at least that's what I brought down. That's an important SVN to my mind because IT WORKS (at least the little I have tried). It compiles clean, and allows me to use a client patched at 6.0.1.7. The backpack has items and my one little character can walk around without locking up so far. I have no vendors it seems and I have seen no animals -- good or mean. I have no NPC's at all it seems so there is a long way for me to go yet. So just like you ... read for another three weeks (that's what it took me to get here). And I continue to read my C# Tutorials. Maybe I'll get a monster to whack. I know nothing so it's gettin' better all the time!. |
|
|
|
|
|
#11 (permalink) |
|
Newbie
Join Date: Aug 2007
Location: Israel
Age: 31
Posts: 19
|
Steph.. i"ll check the FAQ .. ty for pointing me. I was looking only here.
Use [Admin command to generate decoration,npc etc on your server. Or just use one of spawners that guys posted here. XMLspawner or Nerun's Distro(without ML folder) . For me as a beginner i am using Nerun's. Its easy to install but still i am looking for some spawn info (locations) of ML areas. I still can't find Heartwood. All i know that i should have some Teleporter in Yew that i dont have... that will take me to the place. Same thing with Twisted Weald. I can teleport to this location only by coords . Hmm and Spellweaving disabled.. if i only knew how to enable it ![]() Anyway.. i am just playing around with my home server. Still can't find a normal server to play there. Cheers. Last edited by tamir333; 08-29-2007 at 09:40 PM. |
|
|
|
|
|
#12 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
Wow, thanks for the info. I go to my C:\ Prompt window however, where my server messages appear and try to enter commands, such as [Admin but cannot enter anything. Am I in the wrong place? Or is there something else I should do?
Thanks so much! |
|
|
|
|
|
#13 (permalink) |
|
Newbie
Join Date: Aug 2007
Location: Israel
Age: 31
Posts: 19
|
Steph..
The [Admin command . use it ingame. Anyway it will spawn only Vendors,Teleporters,Moongates,decorations,Signs and some other things. All this without MOB's. For more commands type [HelpInfo. Just to have some fun i think you should try Nerun's Distro [RunUO 2.0 RC1] Nerun's Distro but again you won't get ML spawns here. Last edited by tamir333; 08-30-2007 at 02:38 AM. |
|
|
|
|
|
#15 (permalink) | |
|
Forum Administrator
Join Date: Jan 2003
Location: Northern Virginia
Posts: 1,548
|
Quote:
Mob is most likely short for mobile, which is a generic term for any non-playable character. |
|
|
|
|
|
|
#16 (permalink) |
|
Newbie
Join Date: Jul 2007
Posts: 22
|
Thank you, Mark. As I worked through "[Helpinfo" it occurred to me that "MOB" might mean mobiles, but truthfully I wasn't sure what all mobiles encompassed. You have added to my knowledge. Thank you. And I owe thank you's to so many. Indeed I appreciate the help. Once I get oriented a little better to what my server can do and cannot I will be getting back to my C# studies. Perhaps I will be able to help someday. I write several mainframe languages but the PC world is one that I only have rudimentary knowledge of.
Again thanks! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|