Jump to content


Photo

Obtaining Hercules


  • Please log in to reply
67 replies to this topic

#1 Ind

Ind

    Development Administrator

  • Former Administrator
  • 1686 posts
  • Emulator:Hercules

Posted 06 February 2013 - 07:28 PM

Obtaining Hercules

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


    [*]Obtaining Hercules through Git on Windows
    [*]Obtaining Hercules through Git on Linux
    [*]Git Troubleshooting
    [/list]

    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

        [*]You need to download TortoiseSVN
        [*]The address is
        http://github.com/HerculesWS/Hercules
        [/list][*]Linux

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

          Edited by Nameless2you, 05 August 2013 - 06:42 AM.
          svn link changed

I welcome all suggestions and criticism, come at me!

#2 Ind

Ind

    Development Administrator

  • Former Administrator
  • 1686 posts
  • Emulator:Hercules

Posted 07 February 2013 - 04:40 PM

Obtaining Hercules through Git on Windows

Downloads

    [*]Download and Install MSysGit
    [*]Download the latest TortoiseGit
    [/list]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


    Posted Image

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


    Posted Image

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


    Posted Image

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


    Posted Image

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


    Posted Image

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


    Posted Image

    Now Hercules is being downloaded


    Posted Image

    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


    Posted Image

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


    Posted Image


I welcome all suggestions and criticism, come at me!

#3 Ind

Ind

    Development Administrator

  • Former Administrator
  • 1686 posts
  • Emulator:Hercules

Posted 07 February 2013 - 04:40 PM

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
      [/list][*]Debian/Others

        [*]Step 1:
        apt-get install git
        [/list][/list]

        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

I welcome all suggestions and criticism, come at me!

#4 Ind

Ind

    Development Administrator

  • Former Administrator
  • 1686 posts
  • Emulator:Hercules

Posted 24 February 2013 - 04:23 AM

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'
I welcome all suggestions and criticism, come at me!

#5 Nash

Nash

    Advanced Member

  • Members
  • PipPipPip
  • 86 posts

Posted 15 June 2013 - 10:51 AM

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



#6 malufett

malufett

    Advanced Member

  • Former Core Developer
  • 643 posts
  • LocationPhilippines
  • Emulator:Hercules
  • Github:malufett

Posted 15 June 2013 - 11:23 AM

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:


Posted Image
Posted Image
Posted Image
Malufett @ Your Service
[Accepting paid services]

#7 Nash

Nash

    Advanced Member

  • Members
  • PipPipPip
  • 86 posts

Posted 15 June 2013 - 11:26 AM

Well m new at hercules :P So dunno 



#8 mrlongshen

mrlongshen

    Noobies

  • Members
  • PipPipPip
  • 1127 posts
  • Locationlocalhost 127.0.0.1
  • Emulator:Hercules

Posted 26 June 2013 - 04:39 AM

why there are rathena and zones folder here ?

with 1 should i use ?


Edited by mrlongshen, 26 June 2013 - 06:53 AM.

Long live Hercules emulator


#9 jaBote

jaBote

    Advanced Member

  • Global Moderators
  • 2067 posts
  • Github:jaBote

Posted 26 June 2013 - 07:27 AM

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)

#10 Legato

Legato

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 03 July 2013 - 02:50 PM

Hello.

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

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.



#11 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 03 July 2013 - 03:29 PM

Hello.

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

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, 03 July 2013 - 03:30 PM.


#12 jaBote

jaBote

    Advanced Member

  • Global Moderators
  • 2067 posts
  • Github:jaBote

Posted 03 July 2013 - 05:31 PM

As it's said in the guide above, you also need to install msysGit before installing TortoiseGit. Here's a link to the binary you're missing to install for TortoiseGIT to work properly: http://code.google.c...01.exe&can=2&q=



#13 Legato

Legato

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 04 July 2013 - 09:09 AM

Hi. Thank you. It's working now.



#14 xienne15

xienne15

    Advanced Member

  • Members
  • PipPipPip
  • 130 posts

Posted 06 July 2013 - 04:33 AM

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)  


#15 jaBote

jaBote

    Advanced Member

  • Global Moderators
  • 2067 posts
  • Github:jaBote

Posted 06 July 2013 - 11:32 AM

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



#16 Angelmelody

Angelmelody

    (\ /) ( . .)

  • Members
  • PipPipPip
  • 772 posts
  • Locationnew_1-1,53,111
  • Emulator:Hercules
  • Github:Angelmelody

Posted 11 July 2013 - 03:12 AM

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, 13 July 2013 - 02:44 AM.

Spoiler


#17 Lelouch

Lelouch

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts
  • LocationArea 11
  • Emulator:Hercules
  • Github:lelouch22

Posted 11 July 2013 - 02:55 PM

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, 11 July 2013 - 03:00 PM.


#18 Angelmelody

Angelmelody

    (\ /) ( . .)

  • Members
  • PipPipPip
  • 772 posts
  • Locationnew_1-1,53,111
  • Emulator:Hercules
  • Github:Angelmelody

Posted 11 July 2013 - 03:45 PM

 

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


Spoiler


#19 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2121 posts
  • Locationbr br hue hue

Posted 11 July 2013 - 05:58 PM

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/H...WS/Hercules.git and it worked fine with tortoise svn


before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#20 OnNplay

OnNplay

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts

Posted 14 July 2013 - 12:10 PM

 

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/H...WS/Hercules.git and it worked fine with tortoise svn

Yes https will correct the issue.






1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users



This topic has been visited by 2266 user(s)