Jump to content

NiklPar

Members
  • Content Count

    0
  • Joined


Reputation Activity

  1. Like
    NiklPar reacted to Jedzkie in Making Pull Requests on Hercules   
    it say's "git did not exit cleanly, error code (128)"
  2. Upvote
    NiklPar reacted to Mystery in IPB Forum registration to Ragnarok   
    Wow... really!? It's that simple to do? Omg D:
  3. Upvote
    NiklPar reacted to Angelmelody in Obtaining Hercules   
    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
  4. Upvote
    NiklPar reacted to Kian in [AJUDA]FluxCP   
    Olá!Alguém sabe aonde desabilita a opção de escolha do gênero na hora de criar a conta?

  5. Upvote
    NiklPar reacted to JulioCF in IPB Forum registration to Ragnarok   
    Thanks
     
    IPB 3.4.6 ?
  6. Upvote
    NiklPar reacted to Christian [epicRO] in Russian Roulette - NPC Managed Event, SQL Table required   
    Your welcome.

    Instead of #die you could also use a cleaner way:
    unitskilluseid .accountid,"NV_TRICKDEAD",1; But caution, if you decide to use TRICKDEAD instead, you've to save all players on start into an array and do something like this on event finish.
    for (.@i = 0; .i < getarraysize(.@savedcharid); ++.@i) { unitskilluseid .@savedaccountid,"NV_TRICKDEAD",1; }  
    My players does love this mini event. I am acting as a gamemaster with the players as well. So they like to see me dying o.O
  7. Upvote
    NiklPar reacted to Nash in Obtaining Hercules   
    Well m new at hercules So dunno 
  8. Upvote
    NiklPar reacted to Ind in Obtaining Hercules   
    Obtaining Hercules through Git on Windows
    Downloads
    Download and Install MSysGit Download the latest TortoiseGit

      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


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


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


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


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


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


    Now Hercules is being downloaded


    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


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


  9. Upvote
    NiklPar reacted to Valiente in IPB Forum registration to Ragnarok   
    Isn't this risky? Exposing your userid to other players is sort of.. weird.
  10. Upvote
    NiklPar reacted to meko in Deprecated Features   
    As of June 3rd, the specialeffect() command has been upgraded and it now allows to use effects on any kind of unit (player, npc, mob, homunculus, ...) and to show it to any player. This allowed us to deprecate specialeffect2() and misceffect() so now there is a single command for effects instead of 3 different ones, making things simpler for everyone. You can still use specialeffect2() and misceffect() but they will trigger a warning every time, since they will be removed in the future.
     
    Here's how the updated specialeffect() command works:
     
    specialeffect(effect number{, send target{, unit id{, account id ]}})
     
    effect number is the effect to use.
    see effect_list.txt for a list of all effects
     
    send target is to whom the effect should be sent. The most common values are:
    AREA will show the effect to every player in the area
    SELF will show the effect to one player only
    see constants.md for a list of possible send targets
     
    unit id is the unit on which the effect should be centered
    it can be a mob id, an account id, a npc id or the id of any other kind of unit
     
    account id is the player to which the effect should be sent if SELF was specified as send target
     
    To migrate from specialeffect2 to specialeffect:
     
    specialeffect2(effect) ➜ specialeffect(effect, AREA, playerattached())

    specialeffect2(effect, target, "player name") ➜ specialeffect(effect, target, getcharid(CHAR_ID_ACCOUNT, "player name"))
     
    To migrate from misceffect to specialeffect:
    Because the behaviour of this command varies depending on if the npc has a sprite or not, what you want is either one of the two:

    misceffect(effect) ➜ specialeffect(effect)

    misceffect(effect) ➜ specialeffect(effect, AREA, playerattached())
  11. Upvote
    NiklPar reacted to jaBote in Making Pull Requests on Hercules   
    Frequently Asked Questions (FAQs):



    I thought splitting this section from the main post would be beneficial because it's easier to write it and to look in it in case you need an answer and I have it down there.



    I hope there are almost no questions because I think my guide is clear enough, though it's normal there will be some questions out here since my explanations aren't perfect. That's why this dedicated section exists.



    Questions will be marked with a big Q and answers will be marked with a A. Both will be big enough to easily tell them apart.



    Question list:
    Questions & Answers:



    Q: I get a warning message while trying to make a Pull Request on GitHub. What happens?

    A: You can't make a pull request if you get a warning message from GitHub. Those messages usually provide enough information to tell you what to do. Here are all warnings I've received from GitHub to date and its possible solutions – just remember to change HerculesUser to your GitHub username–:
    Oops! HerculesWS:master is already up-to-date with HerculesUser:master Try a different branch?You haven't pushed any changes to your remote repository or the changes you've pushed make it identical to the original Hercules repository. You can only make a pull request if your repository is not exactly the same as the original Hercules'. Oops! There's already a pull request for HerculesUser:master Try a different branch or view the pull request?You already have an active pull request on Hercules and you have to wait until it's approved or rejected. If you want to add changes to your pull request, you can push more changes to your repository if you want: they'll automatically be added to your active pull request. Q: How do I update my fork to Hercules' last version?

    A: This is quite simple but not as easy as updating an official Hercules repository as you can't just pull as you did when updating the original Hercules repository – if you try to pull on your fork you're pulling from your fork's repository, not Hercules' –. Doing this task also depends on your OS:
    On Windows: (I don't deem necessary to add a how-to picture for this)Right-click your Hercules fork folder and select Fetch... option from the TortoiseGit submenu. A new window will pop up. Select Arbitrary URL option and place original Hercules repository URL there (I mean this one: https://github.com/HerculesWS/Hercules.git). Then click OK (unless you want to change any of the available options, which is unfrequent) for making the fetch update to start. Another window will be opened and your fork will be updated to Hercules last revision. Close it once you're done. On Unix: You just have to run this command (it's actually two commands joint on a single shell statement): git fetch upstream && git merge upstream/master Just remember that if you want these changes to also be on your GitHub repository, you'll have to push them. Otherwise they'll just be available on your local repository, as always.



    Q: I always get an error message whenever I try to push my changes even though I make sure I put correct access credentials. What happens?

    A: I've just experienced this error when I tried to push to the wrong repository (i.e. the original Hercules repository, to which I don't have access and you surely don't). Make sure you're trying to push to a repository on which you have permission for this. Ah! Also make sure you have an active Internet connection since you'll be using it!



    Q: I can't commit anything to my local repository. What happens?

    A: Chances are you're trying to make a commit without changing any file, and that's not possible for Git. Maybe you actually changed some files but forgot to save them?
  12. Upvote
    NiklPar reacted to evilpuncker in Obtaining Hercules   
    I mean removing the svn. part of the link
  13. Upvote
    NiklPar reacted to Brynner in Making Pull Requests on Hercules   
    can you update this guide?
  14. Upvote
    NiklPar reacted to Valiente in IPB Forum registration to Ragnarok   
    Sorry. I didn't quite get what you said.
  15. Upvote
    NiklPar reacted to Shatowolf in Hercules IRC   
    thanks mate.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.