Jump to content

Khazou

Members
  • Content Count

    41
  • Joined

  • Last visited

  • Days Won

    4

Reputation Activity

  1. Upvote
    Khazou reacted to Sephus in Refinery UI   
    kRO had released anew refinery interface for item refinement last year in their 2016-10-* clients.
     
    Source: 
     
    A preview of my implementation:

     
    I already have it working on my local Hercules branch. A big thanks to @Asheraf for providing information from kRO. This will be available for Hercules as and when it support the newer clients.
    Just thought I'd share the info here
    Hope for its release soon!
  2. Upvote
    Khazou reacted to Sephus in Introducing the Item Options System   
    Introducing the Item Options System!
     

     
    Commit
    https://github.com/HerculesWS/Hercules/commit/974222a8d3f189083205bf5d330de04a43226ad3
     
    Feature Information
    The Item Option System is a feature that was implemented in 2015-02-26 clients, allowing equipments to have up to 5 additional effects similar to cards or enchants. Each equipment is capable of having 5 information bars above the card slot/enchant bar that describes the effect of the option it is infused with.
     
    New Script Commands (The following snippet is available in doc/script_commands.txt.)
    *getequipisenableopt(<equipment slot>) This function checks if the equipped item allows the use of bonus options. Returns 1 if allowed, 0 if not. --------------------------------------- *getequippedoptioninfo(<info_type>); This function is to be used with the scripts of contents listed in db/item_options.conf only. Returns the value of the current equipment being parsed. If the equip was not found or the type is invalid, -1 is returned. --------------------------------------- *getequipoptioninfo(<equip_index>,<slot>,<type>); Gets the option information of an equipment. <equipment_index> For a list of equipment indexes see getequipid(). <option_slot> can range from 1 to MAX_ITEM_OPTIONS <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf) or IT_OPT_VALUE (the value of the bonus script of the equipment, @see "Script" in db_item_options.conf). returns the value of the slot if exists or -1 for invalid slot, type or slots. --------------------------------------- *setequipoption(<equip_index>,<slot>,<opt_index>,<value>); Set an equipment's option index or value for the specified option slot. <equipment_index> For a list of equipment indexes see getequipid(). <option_slot> can range from 1 to MAX_ITEM_OPTIONS <type> can be IT_OPT_INDEX (the ID of the option bonus, @see "Id" or "Name" in db/item_options.conf) <value> The value of the type to be set. returns 0 if value couldn't be set, 1 on success.  
     
    Release Notes
    This system allows the infusing of equipments with bonus item options. This feature is constrained to clients of packet versions greater than or equal to 20150226. Item Options and their effects are defined server-side in db/item_options.conf and client side in data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub The ID of the option must tally with the correct index of the description provided in the client side file. IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants. If you wish to disable item options for certain (equipment) items, an additional flag `disable_options` has been added to the item sql tables, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to the item_db.conf files. Documentation is provided for script commands. If upgrading, don't forget to run the sql upgrade files!
    Credits
    A big thanks to all the reviewers that helped make the code closer to perfection. -
    Emistry, dastgir, MishimaHaruna, Jedzkie, Ridley8819, Asheraf, 4144.
     
    Style and Script Fixes by Asheraf (https://github.com/Asheraf)
    Initial design Idea in rAthena commit.
  3. Upvote
    Khazou reacted to Mystery in Templates : Issues & Pull Request   
    Hey everyone,
     
    We recently implemented Issue & Pull Request templates. You can find them here:
    Pull Request : https://github.com/HerculesWS/Hercules/blob/master/.github/PULL_REQUEST_TEMPLATE.md Issues : https://github.com/HerculesWS/Hercules/blob/master/.github/ISSUE_TEMPLATE.md  
    Basically, when users are creating Issues or Pull Requests, they will see this form. This helps Hercules' Developers & Contributors by having the right details at the start of a thread. It ensures issues get resolved quickly and time isn't wasted. These templates are a step forward to help lessen issues or pull requests that do not meet requirements. Failure to follow these templates will result in an automatic closure of the issue or pull request. 
     
    It is important for users to follow these templates and fill them out when creating issues and / or pull requests. 
     
     

  4. Upvote
    Khazou reacted to Mystery in February 2017 Digest   
    February Digest 2017
    The following digest covers the month of February 1st - February 28th 2017
     
     
    Team Changes
    hemagx has been moved to Former Core Developer from Core Developer Ragno has been moved to Community Contributor Frost has been moved to Script Developer from Former Script Developer (welcome back!)  
     
    Development Highlights
    Update gitlab-ci configuration to match current debian packages Fixes named items having their names changed when near other players Adds GvG2 zone on WoE:SE maps, disabling use of Leap/High Jump Fixes disguise position de-synchronization add chr() and ord() buildins Added option to show classchange only to one player Fix a CI build failure (gcc-5)  
     
    Scripting Highlights
    Add quest log for moscovia quests remove useless check for questprogress Fixes getbattleflag on npc/other/auction.txt  
     
    February Statistics
    During the period there were 19 Commits. 10 Commits from Pull Requests with 3 Bugs* fixed from merged issues.  
    *Please note: Bug fixes are counted as references to issues; it does not include bugs that have been fixed without issue reference. The number of commits includes those that were merged.
  5. Upvote
    Khazou reacted to Ridley in Clan System   
    Just a side note. We all work here on a volunteer base, in our free time. For many of us this free time is limited. Most important, we do this without the intention of making money (and I claim for most people here, this is the exactly reason to host a server). 
     
    If people not comfortable of the amount of time we put into this, and you think you can do it faster and better, then go ahead and do it.
  6. Upvote
    Khazou reacted to Haziel in New Improved 3RD JOB Sprites.   
    Corrected Jobs updated.


  7. Upvote
    Khazou reacted to raPalooza~ in Random Item Option System?   
    Sup everyone!

    I am really curios to know when/if this feature will ever show up on Hercules , i do not have the knowledge myself to do the conversion from rAthena to Herc, but would love to have a chance of playing with it in the future.

    Here's what i'm talking about
    https://rathena.org/board/topic/107018-random-option-system/
     
    We have plugins and whatnot to work with, so i think is a good feature to have.
    As a enthusiastic of new stuff, would love to see more options to work with items without having to screw the whole card system up.

    Cya ;]
  8. Upvote
    Khazou reacted to Mystery in November Digest 2016   
    November Digest 2016
    The following digest covers the month of November 1st - November 30th 2016
     
     
    Team Changes
    None  
    Development Highlights
    Several Packet Fixes & Additions: Add packets CZ_GANGSI_RANK and CZ_JOIN_BATTLE_FIELD Fix version for packet 0x0a28 ZC_ACK_OPENSTORE2 Add packet size 0x097d ZC_ACK_RANKING into packets.h Fix version for packet 0x097e ZC_UPDATE_RANKING_POINT Fix version for packet 0x08e2 ZC_NAVIGATION_ACTIVE Add packet 0x08b1 ZC_MCSTORE_NOTMOVEITEM_LIST int packets.h Fix version for packet 0x08b3 ZC_SHOWSCRIPT Add packets 0x08b4, 0x08b5, 0x08b6 into packets.h Add packets 0x2f3-0x2f6 into packets.h Fix version for packet 0x08c0 ZC_ACK_SE_CASH_ITEM_LIST2 Add packets 0x08c1, 0x08c2 into packets.h Add packet 0x08c7 ZC_SKILL_ENTRY3 into packets.h Add packet 0x08c8 ZC_NOTIFY_ACT3 into packets.h Fix version for packet 0x08c9. Fix version for packet 0x08ca ZC_ACK_SCHEDULER_CASHITEM Add packet 0x08cb ZC_PERSONAL_INFOMATION into packets.h Add packet 0x09dc into packets.h Fix version for packet 0x08cf ZC_SPIRITS_ATTRIBUTE Add packets 0x08d0 ZC_REQ_WEAR_EQUIP_ACK2, 0x08d1 ZC_REQ_TAKEOFF_EQUIP Fix version for packet 0x08d2 ZC_FASTMOVE Add packet 0x08d3 ZC_SE_CASHSHOP_UPDATE into packets.h Fix version for packet 0x08d6 ZC_CLEAR_DIALOG Re-generate libconfig with Bison 3.0.4 (still using Flex 2.6.0) Re-generate libconfig with Flex 2.6.2-1 (still using Bison 3.0.4) Fix a compiler warning from libconfig on gcc-6 and -O3 Fix a compilation warning in test_spinlock Add fixed-size versions of the _int64 libconfig getters/setters HPM Hooks Update Fix a 'make test' failure caused by a wrong linker library order Extend the previous linker library order fix to other makefiles Fix various uninitialized objects in the test_libconfig suite Removed support for apostrophes in constants Removed support for apostrophes in libconfig key names  
    Database Highlights
    Corrected an issue causing WZ_HEAVENDRIVE to be ineffective Correct some wrong item types for certain items (#90068b1e) Fixed several broken or incorrect AegisName values Propageted the AegisName fix to scripts and pre-re database Fixed various minor issues in the item DB Synchronized the AegisName between re and pre-re item databases Synchronized the AegisNames to the in-source ITEMID_ constants Corrected item type for Gymnastics_Ribbon and Floral_Mic_Of_Igu Fixed various broken AegisNames Replaced some unsupported symbols in AegisNames (step 1) Replaced some unsupported symbols in AegisNames (step 2) Added validation for the AegisName while parsing the item db More item_db fixes (#e0bff9d)  
    Scripting Highlights
    Fix wrong command usage at sign quest  
    November Statistics
    During the period there were 32 Commits. 6 Commits from Pull Requests with 1 Bug(s)* fixed from merged issues.  
    *Please note: Bug fixes are counted as references to issues; it does not include bugs that have been fixed without issue reference.
  9. Upvote
    Khazou reacted to Aeromesi in cloud and smoke   
    Get all the dragon balls and you may have your wish....

    All puns aside;
     
    I would assume you can find the texture/effect for "@clouds" command and recolor them to yellow? Any thought on this?
  10. Upvote
    Khazou reacted to Easycore in Assumptio Cancel Kyrie if Kyrie level is < 11   
    In status.c, find:
     
    case SC_ASSUMPTIO: status_change_end(bl, SC_KYRIE, INVALID_TIMER); status_change_end(bl, SC_KAITE, INVALID_TIMER); break; And comment these lines:
     
    case SC_ASSUMPTIO: //status_change_end(bl, SC_KYRIE, INVALID_TIMER); //status_change_end(bl, SC_KAITE, INVALID_TIMER); break;  
    In skill.c, find:
     
    case PR_KYRIE: case MER_KYRIE: case SU_TUNAPARTY: And replace for:
    case PR_KYRIE: clif->skill_nodamage(bl, bl, skill_id, -1, sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv))); if (tsc && tsc->data[SC_ASSUMPTIO] && tsc->data[SC_ASSUMPTIO]->val1 < 11) status_change_end(bl, SC_ASSUMPTIO, INVALID_TIMER); break; case MER_KYRIE: case SU_TUNAPARTY: Later find:
     
    case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)));                                         break; And replace for:
    case HP_ASSUMPTIO: if( sd && dstmd ) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); else clif->skill_nodamage(src,bl,skill_id,skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); if (tsc && tsc->data[SC_KYRIE] && tsc->data[SC_KYRIE]->val1 < 11) status_change_end(bl, SC_KYRIE, INVALID_TIMER); break;  
    This will cancel these states if the target have kyrie/assumptio lower level than 11.
     
    The problems with this:
     
    - If player get Assumptio/Kyrie by a NPC/Script, buffs can be stacked.
    - Cancellation of buffs only can work by skills.
  11. Upvote
    Khazou reacted to Aeromesi in Char server stopped   
    -Cough- should totally bring the Clan System to Hercules x13th with a nice ole PR...

    We're so behind on actual content it's not even funny, and I love Hercules..
  12. Upvote
    Khazou reacted to Asheraf in Welcome Dialog for New players   
    emm by using #not_first_time as a variable in my example
    you may want to know more about variables so you can read this:
    https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L443
  13. Upvote
    Khazou got a reaction from Toruviel in Problem with script_rid2sd: fatal error ! player not attached!   
    Just change all the "close" at the end of all your label by "end".
     
    Close is use to close a conversation box, so it need a player attached.
     
    http://pastebin.com/fnG8UL7j
     
    Just keep the close from the OnMyMobDeath label since it has a "mes" command.
     
    Also, you shouldn't use a variable named such as $monster, that's too common, you may end having the same variable in an other script.
  14. Upvote
    Khazou reacted to Butete in Issue with the Tab Inventory Item   
    Hi,
     
    May I request for some assistance, coz I'm having trouble fixing the Inventory Window. Please see screenshot
     

     
    As you can see, the text is already shrunk to a single character yet the inventory window is still long.
     
    [ SOLUTION ]
    Nvm, I already found the solution
     
    If you go to line 2053 of msgstringtable.txt there's a word "Drop Lock" simply change the text on it like "DL" and it should fix the issue.
  15. Upvote
    Khazou reacted to Omnipotent in [Game] Pairs.   
    Pairs Game
     
     
     
    Hello! This is the very known "pairs" game.
     
    What does this script do?
    Basically this: https://en.wikipedia.org/wiki/Concentration_(game)
    You play the pairs game with another player, that's it. Not much to say.
     
     
    How to configure?
    You can change the coordinates of the script by modifying #1_memo. The script will calculate the other coordinates automatically. If you want to change the map as well, you can use the Replace function in Notepad with prontera,1,1,4 to yournewmap,1,1,4
     
    If you think the separation between NPCs isn't enough or is too much, you can change this part:
     
        .@x+= 3*((.@i - 1)%6);     .@y-= 3*((.@i - 1)/6);   If you don't want to have extra turns edit .@extra var to 0.
     
     
     
    Screenshots


     
     
    Mirror: http://pastebin.com/download/14MRyCZq
    Pairs.txt
  16. Upvote
    Khazou reacted to Rytech in 2015-10-29aRagexeRE Client (Re-Release)   
    File Name: 2015-10-29aRagexeRE Client (Re-Release)
    File Submitter: Rytech
    File Submitted: 26 Nov 2016
    File Category: Client Resources
     
    2015-10-29aRagexeRE game client.
     
    This is a re-release of the 2015-10-29aRagexeRE client which fixes issues from the previous release in 2015. Be sure to set the client to load rdata.grf before data.grf to minimize issues.
     
    Click here to download this file
  17. Upvote
    Khazou reacted to Dastgir in Gravity error without message   
    DMP file is not that useful...
    What I can suggest is, to isolate each thing and try, first disable all npc and try, if there's still error, try changing client and try..
    Otherwise, checkout fresh Hercules and try . The problem is not Soo clear, so you might need to do several try to get to know exact error.
    I still assume, some other script might be doing some activity like playing music/etc.
  18. Upvote
    Khazou got a reaction from Omnipotent in Automatic Bloody Branch Spawn   
    No problem
     
    By the way here is a little gift, give a try to this: http://pastebin.com/WLVXSjRe
     
    You'll need to change the constant to number if you didn't update your emulator yet
     
    NPC_NAME = 0
    NPC_NAME_HIDDEN = 2
    NPC_MAP = 4
    PC_NAME = 0
  19. Upvote
    Khazou got a reaction from simhr in Automatic Bloody Branch Spawn   
    You should update your emulator, if using constant like NPC_MAP throw a "no character is attached" it may be because they are not defined (because you don't have an updated version of the emulator ) and so it tries to get a player variable with the name NPC_MAP (and so it throw an error).
     
    You can't have a tomb with a monster spawn with the *monster command, because of they way its coded in the emulator. You need to make a permanent monster spawn using boss_monster, unless you specify this boss_monster, you won't have your tomb.
     
    I looked to see if you could spawn it with a permanent monster spawn, but here the problem would be to spawn a "Bloody Dead Branch" mob since you can't put a "-3"
     id for a permanent monster spawn.
  20. Upvote
    Khazou got a reaction from simhr in Automatic Bloody Branch Spawn   
    You should go back to NPC_MAP and NPC_NAME_UNIQUE, this is recommended way of scripting.
     
    Your error is just because of your main npc, the one which is duplicate. He also hit the OnInit label, so as you didn't set a map for this one you're getting your error
     
    Just put something like this:
    if(strnpcinfo(NPC_MAP) == "") end; Just after the OnInit label.
  21. Upvote
    Khazou got a reaction from simhr in Automatic Bloody Branch Spawn   
    You just forget to put some "
    --ja--, is suppose to be a string, here you're trying to access the --ja-- player variable. That's why it throw you a "no player is attached"
    Juste change --ja-- to "--ja--" and it will be ok
  22. Upvote
    Khazou reacted to Ehwaz in Healer npc problem   
    Try use NPC ID instead monster ID, if NPC name will be blue
  23. Upvote
    Khazou reacted to Mystery in October Digest 2016   
    October Digest 2016
    The following digest covers the month of October 1st - October 31st 2016
     
     
    Team Changes
    None  
    Development Highlights
     
    Update Intro (Renewal) (#1427) Updated MapCache Added Doxygen configuration (use 'make docs' to generate) Initial dimensional gap commit (#1431) CRI should only be calculated if flag have SCB_CRI Fix packet id for clif_heal for packet version >= 20150513 Change *getcharid to use constants [Fixed] Dont send packets for known unsupported client versions Added Packets for Several Clients (2015-10-01, 2015-10-29, 2015-11-04, 2015-12-16) Added new Character Creation Packet JOB_SUMMONER Placeholder Added Summoner Class & Added Summoner Skills(in DB) Implemented SU_BASIC_SKILL Skill of Summoner Implemented SU_BITE Skill, SU_HIDE, SU_SCRATCH, SU_STOOP, SU_LOPE Skill SU_SPRITEMABLE, SU_FRESHSHRIMP, SU_POWEROFLAND, SU_SV_STEMSPEAR SU_CN_POWDERING, SU_CN_METEOR, SU_POWEROFLIFE, SU_SV_ROOTTWIST, SU_SCAROFTAROU, SU_PICKYPECK, SU_ARCLOUSEDASH, SU_LUNATICCARROTBEAT, SU_POWEROFSEA, SU_TUNABELLY, SU_TUNAPARTY Skill SU_BUNCHOFSHRIMP, SC_BITESCAR, SC_SHRIMP, UNT_CATNIPPOWDER Increases SkillID Range on skill_get_index Summoner should be Small Size and Brute Race Added max_summoner_parameter Increases MAX_SKILL to occupy Summoner Skills Removed the too small max key length limit on the npc_removed_list DBMap  
    Database Highlights
    [Fixed] bSkillAtk not increasing damage for some skills use mediumint for equip_locations Added support to Para_Team_Mark_ item in Eden Group Fix wrong items bonus Added Summoner Items Fix wrong skill name used to increase damage  
    Scripting Highlights
    Add official quest condition for Guillotine Cross job change quest Fixes wrong warp of izlude Re-added the taekwon jobchange quest to the pre-renewal scripts  
    September Statistics
    During the period there were 100 Commits. 17 Commits from Pull Requests with  3 Bugs* fixed from merged issues.  
    *Please note: Bug fixes are counted as references to issues; it does not include bugs that have been fixed without issue reference.
  24. Upvote
    Khazou got a reaction from vykimo in [Showcase] Poring ball map 2015-version   
    Wow, gg
  25. Upvote
    Khazou reacted to Dastgir in Duplicate NPC Commands   
    File Name: Duplicate NPC Commands
    File Submitter: Dastgir
    File Submitted: 12 Jan 2015
    File Category: Plugins
     
    2 Self Explanatory Commands:
    duplicatenpc("NpcName", "DuplicateName", "DupHiddenName", "map", x, y, dir{, sprite{, xs, ys}});duplicateremove({"NPCname"});
     
    Example Script:
    prontera,150,150,5 script DupTest 999,{mes strnpcinfo(0);close;OnInit:duplicatenpc(strnpcinfo(0),"Duplicated","","prontera",150,148,5,998);end;OnWhisperGlobal:duplicateremove();}
    ^ Above script will self-duplicate itself with name "Duplicated" to prontera,150,148 with Sprite ID 998, and upon whispering to any of those npc, the duplicate will be removed.
     
     
    Requested by GMOcean @ http://herc.ws/board/topic/7718-duplicatenpc-duplicateremove/?view=getnewpost
     
    Click here to download this file
×
×
  • Create New...

Important Information

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