Jump to content

Mumbles

Retired Staff
  • Content Count

    618
  • Joined

  • Last visited

  • Days Won

    15

Reputation Activity

  1. Upvote
    Mumbles reacted to jaBote in checkidle2()   
    If possible, I'd add a suggestion to this suggestion, and it's making an extra conf for the idle timers.
     
    It'd be a nice idea to choose whether self skills reset that timer or not. I've seen a lot of AFKchemists skip anti-idle systems with this.
  2. Upvote
    Mumbles reacted to jTynne in how to add modify @go commands in hercules.   
    Alternatively, if you do not wish to modify your source code, you can use my custom @go command which runs via NPC script. Easy to modify and can simply be loaded/unloaded at any time without having to stop/re-compile/start your server.
  3. Upvote
    Mumbles reacted to jaBote in R> A free up var script command   
    If you set a variable to 0 if it's a number or "" (empty string) it's supposed to be gone for good, so this script command request is already made:
     
    Check this piece of text from doc/script_commands.txt
  4. Upvote
    Mumbles reacted to Mystery in Creating an item that can be used only in Battlegrounds   
    Have you tried these?
     
     
     
  5. Upvote
    Mumbles reacted to Capuche in Skill Error Messages   
    I can't read the text in the picture you post.
  6. Upvote
    Mumbles got a reaction from MikZ in Instant Third-Class Jobs   
    Utility: Instant Third-Class Jobs
    As per spectator's request: http://herc.ws/board/topic/882-rinstant-job-changer/
     
    Description:
    Allows player to choose a third-class job upon initial login; if the player fails to choose a class for any reason, (s)he will be prompted again upon next login.
     
    Download:
    https://github.com/datmumbles/Scripts/raw/master/util/thirds.txt
  7. Upvote
    Mumbles reacted to jaBote in Embed variable values into npc creation?   
    As of today that's not possible without changing almost entirely the scripting engine. You can't use any variables when defining any of the following:
    A mapflag A monster spawn A warp point Any NPC object

    When you are defining any of these you're using what in the documentation (/doc/script_commands.txt) is called a top-level command, and as it's said there (pay special attention to the bolded text):
     
     
    So, sadly, I think that won't work.
     
    Edit: That other way you just proposed will work for sure.
  8. Upvote
    Mumbles reacted to jaBote in Custom NPC Help ( SQL )   
    Regular Hercules installation has none of the following:
    `last_mac` column in table `login`; `virtue_promo` table, and neither of its columns.

    Considering you have these fields on your server:
     
    Line 3, 4 & 7: `day` column isn't enclosed on ``. Shouldn't be a big problem, but just in case. Same for `account_id` for line 4 and `last_mac` for line 7;
    Line 3: You just select `day`, but provide 2 arrays to write the information to. Don't know if this is a problem, but you shouldn't specify more arrays than columns of data to get. If `day` is always set from gettime(4) (which always returns an integer), it's not safe to treat it as text.
    Line 7 & 11: No need to enclose an integer between ' ', this way you treat it as string and you're interested on using it as a number.
     
    If any of the above doesn't do any effect, try to debug your script by filling it with debugmes or dispbottom if you don't mind spamming your users, telling the number of results returned from the queries and/or the queries executed. Try those queries yourself and see if anything is wrong. Anyways, that NPC seems correct at first glance since these little mistakes shouldn't be any important, but I suggest fixing them.
  9. Upvote
    Mumbles reacted to Jguy in rAthena devs/staff/members on Hercules   
    Hello,
     
    While we do not mind that rAthena developers, staff members and regular members register an account, post or send PM's on our forums, we do not take kindly to 'rAthena is better because x y and z' posts, or anything promoting rAthena as a superior emulator because of such and such. There is no such post on rAthena made by a Hercules staff member about Hercules and we intend to keep it that way, we would appreciate the same respect.
     
    Those who do not follow this simple clause listed above will have their post(s) deleted and/or hidden from view. Repeat offenders will be suspended from our forum with no further warnings or post manipulation.
     
    We do not appreciate, nor welcome drama here. While criticism is welcome in the form of 'why doesn't Hercules have such and such a feature', drama and belittling a project (hercules or not) will not be tolerated. This is a collaboration, not a drama infested 12 year old's contest.
     
    Thank you.
  10. Upvote
    Mumbles got a reaction from JulioCF in Forum Banner   
    Idk, the current one looks pretty bland to me. I made a sort of banner/logo to replace it with; feel free to use it if you like it.
     
     
    Logo:
     
     
     
    Logo w/o slogan:





  11. Upvote
    Mumbles got a reaction from Ind in Forum Banner   
    Idk, the current one looks pretty bland to me. I made a sort of banner/logo to replace it with; feel free to use it if you like it.
     
     
    Logo:
     
     
     
    Logo w/o slogan:





  12. Upvote
    Mumbles got a reaction from jTynne in Forum Banner   
    Idk, the current one looks pretty bland to me. I made a sort of banner/logo to replace it with; feel free to use it if you like it.
     
     
    Logo:
     
     
     
    Logo w/o slogan:





  13. Upvote
    Mumbles reacted to Judas in Compiling Error   
    I'm not too sure how to do it on linux, but I would transfer the skill.c file to my windows through winscp. And then open with notepad++. 
     
    Then encoding>>encode in ANSI
     
    then save the file, and transfer back.
     
    until then probably wait until the devs fix the problem
  14. Upvote
    Mumbles reacted to Jguy in Merging with existing eAthena login   
    There can be extra columns in a database without conflicting with each other. The Hercules/rAthena source code is looking for a group_id field. If there is none, it will error. If there is a 'level' field in addition Hercules simply won't read it (it won't even know its there nor will it care).
  15. Upvote
    Mumbles reacted to JoWei in Merging with existing eAthena login   
    After a bit of research in the source, you can modify the field it reads inside of Hercules's /src/login/account_sql.c at line 525:
    "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate` FROM `%s` WHERE `account_id` = %d"   
    just change `group_id` to `level`.
     
    It should be around the same place in eAthena (and other) source if you want to change the other emulator query instead.
  16. Upvote
    Mumbles reacted to Xantara in Questions regarding Hercules and rAthena   
    I feel like my questions are being ignored.... If you don't know the answer to any (such as the first question), just say so? Or split the topic if you are afraid of it "going out of topic" - although my questions are in response to Trojal's post on the topic.
     
    As for SVN copy, I understand GIT has a good number of advantages of using; and I agree with the use of it. However, there are also advantages of having an SVN copy for just the master branch as well.
    SVN has a linear advancement, unlike GIT, allowing for players to easily say which revision they have when reporting. Or even when someone releases a free download, they can say it works for "r15000+". It also allows bug reports to have a sort of "start" point. Maintaining should be easy with scheduling jobs to pull and git svn it to an SVN copy Seeing how GIT handles its branching business without recopying the files, unlike SVN, is one of its advantages. However, seeing as I am only asking for the master branch to be copied into SVN (no other branches) there is no extra overhead to worry about for creating branches and such in the main repos.


    For the plugin feature, I know that code would be a problem, that's why I said it was wishful thinking lol
  17. Upvote
    Mumbles reacted to Ind in regarding Github   
    Your flavour of yum/apt-get/aptitude, e.g. with apt-get
    apt-get install gitthengit clone https://github.com/HerculesWS/Hercules.git ~/Hercules(the above clones Hercules in a folder called Hercules at your home directory)
  18. Upvote
    Mumbles reacted to Ind in Hercules Mechanics   
    Hercules supports both (You can switch between them with a single edit on /src/config/renewal.h)
  19. Upvote
    Mumbles reacted to Trojal in Questions regarding Hercules and rAthena   
    Is Hercules complementary, contradictory, or unrelated to other *athena projects? Hercules has a different viewpoint on core development, supporting custom features and community contributions from outside the core development team. In this way, Hercules and other projects can co-exist and pursue their own independent paths to excellence. The hope is that each project can maintain and progress towards their own goals, while merging the work from each other. In terms of development, Hercules will strive to be more open to community contributions, involving pull requests and public code contributions and acceptance.
  20. Upvote
    Mumbles reacted to Ind in Questions regarding Hercules and rAthena   
    If anything, its a compliment.I'll leave your remaining question to be answered by our development manager, trojal.
    Thank you for your interest in Hercules.
×
×
  • Create New...

Important Information

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