1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you would like to submit a tutorial please visit the main tutorial page here.
    You can not submit them from this forum.
    Dismiss Notice

Quick How-to-get-the-source-and-compile

Discussion in 'Tutorials' started by Horian, Aug 8, 2013.

  1. Horian
    Offline

    Horian Member

    Joined:
    Aug 8, 2013
    Messages:
    121
    Likes Received:
    24
    1. Download and install Git Tortoise (http://code.google.com/p/tortoisegit/wiki/SetupHowTo) & - if you use Windows - Git for Windows as described.
    2. Create new folder "ServUO"
    3. Right click folder "ServUO" -> "Git create repository here" -> Check box "Make it bare", Ok
    4. Right click folder again -> Toirtose Git -> "Pull" (if "Pull" isn't shown the first time it can help to click "Git Clone" first, then abort it after a while and pull again)
    5. Enter as url: https://github.com/ServUO/ServUO
    6. Wait until download is finished.

    Next time to update source: only right click, "Pull ..."

    Now go to "your-location-of-ServUO\Scripts\Misc\Datapath.cs" and edit the link to your server UO/mul files.

    To compile server exe: Open ServUO folder, double click "compilexxx.bat" (in Windows 7 or 8 right click instead and choose "run as administrator"). It will create ServUO.exe and upon pressing enter start the server immediately too.

    Edit: Updated April 10 2015
     
    #1 Horian, Aug 8, 2013
    Last edited: Apr 10, 2015
    • Funny Funny x 1
  2. FahQ
    Offline

    FahQ New Member

    Joined:
    Aug 29, 2013
    Messages:
    4
    Likes Received:
    0
    this seems out of date, I tried this and get no bat files what-so-ever
     
  3. Insanity
    Offline

    Insanity Active Member

    Joined:
    Mar 2, 2013
    Messages:
    276
    Likes Received:
    61
    You'll want to use the github address. The link is on the navigation bar. I will work on getting a detailed how to up as soon as I move and get us a wiki.
     
    • Like Like x 1
  4. Nissi
    Offline

    Nissi New Member

    Joined:
    Jan 8, 2015
    Messages:
    17
    Likes Received:
    3
  5. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    I would think it would be fine, but let's ask @dmurphy if he believes it is, you could also download the zip package on the right of that page, then do your updates with merges along the way.
     
  6. m309
    Offline

    Admin Moderator ServUO Developer

    Joined:
    Mar 3, 2013
    Messages:
    1,243
    Likes Received:
    130
    I see the .bat file (for windows and mono) right there in the file directory on the main page of the Git repo.

    You can also compile using Visual Studio rather than the .bat file.
     
  7. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    True I have used Visual Studio in the past and works great :)
     
  8. Nissi
    Offline

    Nissi New Member

    Joined:
    Jan 8, 2015
    Messages:
    17
    Likes Received:
    3
    Thanks, found a post of a video using source tree and visual studio. Worked well.
     
    • Like Like x 1
    • Two Thumbs Up Two Thumbs Up x 1
  9. Shion
    Offline

    Shion New Member

    Joined:
    Feb 8, 2015
    Messages:
    20
    Likes Received:
    0
    Hi, i downloaded using the SVN , but i have 2 folders ( trunk and branches/BardMasteries ). In each folder there´s a complete proyect.
    Wich is the difference? wich one should i compile?

    Thanks
     
  10. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    All updates go into the ServUO repo and it shows the BardMasteries was completed 10 months ago, so it should be done.
     
  11. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    919
    Likes Received:
    137
    As I understand it, the BardMasteries is a branch, whereas the Trunk is the official repository. If you download the Zip file, I think you will see that it matches the Trunk repo file by file.
     
  12. Shion
    Offline

    Shion New Member

    Joined:
    Feb 8, 2015
    Messages:
    20
    Likes Received:
    0
    I don´t understand what branch is, google translate is not helping me very much :p

    So i have to use the Trunk, if i want the official server.
    I saw that they have the same files.

    It´s like an alternative project or it has the last modifications?

    Sorry to ask again.
     
    • Two Thumbs Up Two Thumbs Up x 1
  13. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    Yes take the Trunk :)
     
    • Agree Agree x 1
  14. Shion
    Offline

    Shion New Member

    Joined:
    Feb 8, 2015
    Messages:
    20
    Likes Received:
    0
    thank´s Milva :)
     
  15. Shion
    Offline

    Shion New Member

    Joined:
    Feb 8, 2015
    Messages:
    20
    Likes Received:
    0
    I compiled ServUO, wokrs great!
    But in the screen when it´s compiling it shows me this 2 messages in color red:
    OpenUO Error: Client files not found.
    Scripts: Skipping VB.NET Scripts.. done (use -vb to enable)

    The vb.net scripts, what are they for?

    And why am i geting the OpenUo Error?

    Thanks in advance.
     
  16. Talow
    Offline

    Talow Active Member

    Joined:
    Aug 30, 2014
    Messages:
    325
    Likes Received:
    29
    openuo is looking for client files like maps, and tiledata ext. It looks in a few locations but seems that it is not able to find them automatically.

    VB is another programming language, it's another option for writing scripts, the community at large prefers C# however, if you do VB coding you could wring in that language and when you run the servuo (like in debug mode) you supply -vb so that it will look for and compile VB code.

    VB don't worry about.

    OpenUO I've not messed much with but for what I have done I haven't needed it.
     
    • Agree Agree x 1
  17. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    • Agree Agree x 1
  18. Shion
    Offline

    Shion New Member

    Joined:
    Feb 8, 2015
    Messages:
    20
    Likes Received:
    0
    Thank´s both of you for your help. :)
     
  19. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,637
    Likes Received:
    398
    Your welcome :)
     
  20. Talow
    Offline

    Talow Active Member

    Joined:
    Aug 30, 2014
    Messages:
    325
    Likes Received:
    29
    no worries :D
     
Similar Threads: Quick How-to-get-the-source-and-compile
Forum Title Date
Script Support Quick Question Regarding BaseCreature.cs Jun 15, 2017
Script Support Black Market Deeds -Quick Question- Jun 8, 2017
New Join Forum Hello! (Quick Question) Jan 9, 2017
Script Support quick tithing question Sep 18, 2016
Shard Discussion Quick captcha time question Mar 22, 2016
Script Support Quick question - Unlimited houses per account. Mar 18, 2016
Script Support Quick and safe way to UNSPAWN then RESPAWN world. Jan 24, 2016