Ind

Obtaining Hercules

68 posts in this topic

Obtaining Hercules

Hercules is available through GitHub, a web-based hosting service for software development projects that use the Git revision control system.

Support
Looking for assistance on getting Git to work? Post here

Alternatively...
GitHub also provides a SVN Mirror. We won't officially work to support many branches or repository-features in SVN, but it should remain in-sync with the latest stable release, based on master branch in git.

    [*]Windows
http://github.com/HerculesWS/Hercules

[*]Linux

    [*]Typing the following creates a working copy of hercules at your home directory
svn checkout http://github.com/HerculesWS/Hercules ~/Hercules


Edited by Nameless2you
svn link changed

Share this post


Link to post
Share on other sites

Obtaining Hercules through Git on Windows

Downloads

Installation
Alright, first go through MSysGit installer and just set it up (its used as a base for TortoiseGit). then once you install MSysGit, launch the installer you just downloaded for TortoiseGit, you'll be prompted by a window similar to the following


tgit-1.jpg

The next window is "Choose SSH Client", select "TortoisePLink", hit Next.


tgit-2.jpg

The next window is "Custom Setup", do not change anything unless you know what you're doing, hit Next.


tgit-3.jpg

We're done with the installation, that was easy, wasn't it?


tgit-4.jpg

Obtaining Hercules
Go to the folder where you want Hercules to be placed, right click and select "Git Clone..."


tgit-5.jpg

in the URL field, type the following:
https://github.com/HerculesWS/Hercules.git
ensure the 'Directory' field is as desired, and hit 'OK'


tgit-6.jpg

Now Hercules is being downloaded


tgit-7.jpg

Just wait for it to complete the download of your working copy and you'll be good to go.

Updating Hercules
Right-Click the folder where you downloaded your working copy and within the TortoiseGit menu, select "Pull..." as shown below


tgit-8.jpg

On the following window just hit 'OK', and your working copy will update.


tgit-9.jpg

Share this post


Link to post
Share on other sites

Obtaining Hercules through Git on Linux

    [*]CentOS
      [*]Step 1:
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
[*]Step 2:
yum install --enablerepo=webtatic git-all
[*]Step 3:
yum install --enablerepo=webtatic --disableexcludes=main git-all

[*]Debian/Others

    [*]Step 1:
apt-get install git


Obtaining a Working-Copy
Type the following to create a Hercules working copy in your home (~) directory

git clone https://github.com/HerculesWS/Hercules.git ~/Hercules

Updating a Working-Copy
Type the following when inside your working copy

git pull

Share this post


Link to post
Share on other sites

Git Troubleshooting

Please, commit your changes or stash them before you can merge.Aborting.
Git doesn't update modified files even if they don't conflict unless they're properly "committed" in your local working copy, to do so is simple and advantageous (it will keep a log of your changes for yourself; so you can always go back and check what was changed and when)
- On Unix
git commit -am "your log message, anything at all"
- On Windows
1. Right click your folder -> Git Commit -> "master"
2. (optional) type the log message
3. Hit 'OK'

Share this post


Link to post
Share on other sites

Bro Git aint working in my pc isnt there any SVN?

you can also use tortoisesvn just like before if you prefer the usual way..

 

:meow:

Share this post


Link to post
Share on other sites

why there are rathena and zones folder here ?

with 1 should i use ?

Edited by mrlongshen

Share this post


Link to post
Share on other sites

For most purposes, if not all, you should use the master branch the other branches are meant for development purposes except the rAthena branch, that is what we use for merging commits by its staff (if ever needed)

Share this post


Link to post
Share on other sites

Hello.

It's my first time here at Hercules and I have a problem, Git isn't working. I always get this error. 30vzm02.png

Anyway, I've downloaded it using TortoiseSVN. But, I can't open Hercules-9, Hercules-10 or Hercules-12.

I have MS Visual Studio C++ 2010 and 2008 installed in my computer.

Share this post


Link to post
Share on other sites

Hello.

It's my first time here at Hercules and I have a problem, Git isn't working. I always get this error. 30vzm02.png

Anyway, I've downloaded it using TortoiseSVN. But, I can't open Hercules-9, Hercules-10 or Hercules-12.

I have MS Visual Studio C++ 2010 and 2008 installed in my computer.

Just download msysGit. click Open msysGit WebSite.

 

and to open Hercules-10

Right Click and Open With > MSC++2010

Edited by quesoph

Share this post


Link to post
Share on other sites

when updating this one appears

 

 

 

 

git.exe pull -v --progress	   "origin"From https://github.com/HerculesWS/Hercules= [up to date]	  master	 -> origin/master= [up to date]	  rathena    -> origin/rathena= [up to date]	  zones	  -> origin/zonesUpdating 88da261..8a127e1error: Your local changes to the following files would be overwritten by merge:src/map/battle.cPlease, commit your changes or stash them before you can merge.Abortinggit did not exit cleanly (exit code 1) (8594 ms @ 7/6/2013 12:32:43 PM)  

Share this post


Link to post
Share on other sites

@xienne15, please see post #4 on this topic. Your issue is solved in the Git Troubleshooting section of this guide by Ind.

Share this post


Link to post
Share on other sites

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svn checkout

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties
Edited by Angelmelody

Share this post


Link to post
Share on other sites

 

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svtcheckout

 

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties

 

Dont use TortoiseSVN just use the Git follow #2

 

But if your using Linux its better to use svn checkout instead of using git, because its easier to merge your svn with the current changes even you have custom modifications in it rather using git.

Edited by Lelouch

Share this post


Link to post
Share on other sites

 

 

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svtcheckout

 

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties

 

Dont use TortoiseSVN just use the Git follow #2

 

But if your using Linux its better to use svn checkout instead of using git, because its easier to merge your svn with the current changes even you have custom modifications in it rather using git.

 

I found the issues caused by updating TortoiseSVN to rev 1.8  ,When I use older  rev TortoiseSVN client  ,everything work fine

Share this post


Link to post
Share on other sites

 

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svtcheckout

 

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties

 

 

I used to have the same problem but just changed the url to https://github.com/HerculesWS/Hercules.git and it worked fine with tortoise svn

Share this post


Link to post
Share on other sites

 

 

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svtcheckout

 

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties

 

 

I used to have the same problem but just changed the url to https://github.com/HerculesWS/Hercules.git and it worked fine with tortoise svn

Yes https will correct the issue.

Share this post


Link to post
Share on other sites

 

 

 

I dun know why the svn address not working with windows TortoiseSVN client,but it was working fine with linux svtcheckout

 

erro msg:

Checkout from http://svn.github.com/HerculesWS/Hercules.git, revision HEAD, Fully recursive, Externals includedThe PROPFIND response did not include the requested properties

 

 

I used to have the same problem but just changed the url to https://github.com/HerculesWS/Hercules.git and it worked fine with tortoise svn

Yes https will correct the issue.

 

I mean removing the svn. part of the link :P

Share this post


Link to post
Share on other sites

Subversion numbers are a bit arbitrary on Git repositories, I don't exactly know why.

 

I myself don't know if they're the last revision numbers, but you could do a comparison with some comparation programs such as WinMerge (supposing you're using Windows) or the diff command (supposing you're on Linux) and see if both folders contain the same files with the same content (maybe except the .svn folder).

 

Should be the same, though, but this intrigates me.

Share this post


Link to post
Share on other sites

 

Hello.

It's my first time here at Hercules and I have a problem, Git isn't working. I always get this error. 30vzm02.png

Anyway, I've downloaded it using TortoiseSVN. But, I can't open Hercules-9, Hercules-10 or Hercules-12.

I have MS Visual Studio C++ 2010 and 2008 installed in my computer.

Just download msysGit. click Open msysGit WebSite.

 

and to open Hercules-10

Right Click and Open With > MSC++2010

 

Hey man, I followed your instructions and downloaded MSysGit, but I am still getting this error. I downloaded and installed: msysGit-fullinstall-1.8.3-preview20130601.exe, I then downloaded and install Tortoisegit from the link that you provided. Hopefully you can help me out with this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now