Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Posts posted by Dastgir


  1. if(getiteminfo(getequipid(EQI_HAND_R),11)==10)

     

    Check getiteminfo() desc.

    This function will look up the item with the specified ID number in the database and return the info set by TYPE argument.It will return -1 if there is no such item.Valid types are:	0 - Buy Price; 1 - Sell Price; 2 - Item Type;	3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc..		if = 0, then monsters don't drop it at all (rare or a quest item)		if = 10000, then this item is sold in NPC shops only	4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;	10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id		If RENEWAL is defined, 15 - matkCheck sample in doc/sample/getiteminfo.txt

    11 = Look, getequipid(EQI_HAND_R) = Item_ID of the equip equipped on right hand.

     

     

    ((getiteminfo(getequipid(EQI_HAND_R),9) >3) = If range of equip on right hand is >3


  2. You just need to change "name" entry of the group and make sure all the inheritted groups use the new group name (Which is what your first error was about). After that simply @reloadatcommand or restart the server. 

    Yes just change name entry, and if you dont want to disturb existing groups, just create a new group, its easy instead of renaming groups and inherit


  3. The Project is 100% Done[The Quest is 100% usable(Tested it Myself)].
    Project Link: https://github.com/M45T3Ryu/KO-Proyect/tree/beta (updating the bugs here first)


    ToDo:
    Revising All NPC'S[Phase 5/5].(Done at 19th November 18:00 GMT+5:30)

    People Working on the Project:
    1)Me(Dastgir Pojee)
    2)M45T3R(Seems that leaved this project from July)

    Phase Changelogs:

     



    Phase 5 Completed:(Revised KO_main)

    KO_main up to official.Updated Constants,Added Some Checks,Added cutins,Corrected warps of Battle Test.

    [Phase 5/5 Completed]

     
    P.S: iRO Quest and kRO Quest are almost 100% Same(Some dialog translation may differ and nothing else.)

    Any Suggestions and Help are welcome.


  4. What i did on my previous project, i used the partyname part to show titles for players.

    Since some people like to see partyname instead of the title, i added @showtitle so they can decide if they want to show party or title for their chars.

     

    Never had problems with it and you also don't need a client hex for it.

    and how'd you done this?

  5.  

    First of all, you shouldn't be really making changes to default conf files. That's what conf/import folder is for - it's not under CVS so you should put all your custom configurations settings there.

     

    However, it is not always possible to put your changes to separate files, for example when you make source code edits. In such case, you need to merge your modifications with updates coming from remote repository.

     

    Try doing what the message says. First commit changes to your copy of repository (your working copy is also a fully-featured repository) with git commit, and only then git pull to update. 

     

    >That's just what Gepard said. For some more help about committing you can check this post:

     

    http://herc.ws/board/topic/152-obtaining-hercules/?p=1241

     

     

    Thanks, i din't know i wasn't suppose to change the default configurations.  However what do i place inside the folder? Do i make a copy of the current file then place inside the temporary folder for it to read the configurations?

     

    Sorry if i'm blur on this part, I've never used the import folder before in rAthena nor any other places.

     

     

    First do

    Git commit -am"Your Log Message"

    Then

    Git pull

    And you are done with updating.

     

     

    git pullM	   .gitignoreM	   conf/battle/client.confM	   conf/battle/party.confM	   conf/battle/status.confM	   conf/inter-server.confM	   conf/plugins.confM	   db/const.txtM	   db/item_db2.txtM	   db/item_delay.txtM	   db/job_db2.txtM	   db/pre-re/item_db.txtM	   db/pre-re/skill_cast_db.txtM	   db/pre-re/skill_db.txtM	   db/pre-re/skill_require_db.txtM	   db/pre-re/skill_tree.txtM	   db/pre-re/skill_unit_db.txtM	   db/re/item_combo_db.txtM	   db/re/item_db.txtM	   db/re/refine_db.txtM	   db/re/skill_cast_db.txtM	   db/re/skill_db.txtM	   db/re/skill_require_db.txtM	   db/re/skill_tree.txtM	   db/re/skill_unit_db.txtA	   db/sc_config.txtM	   doc/script_commands.txtM	   npc/cities/rachel.txtU	   npc/custom/healer.txtM	   npc/events/halloween_2009.txtM	   npc/events/nguild/nguild_warper.txtM	   npc/instances/NydhoggsNest.txtM	   npc/mobs/citycleaners.txtM	   npc/quests/quests_13_1.txtM	   npc/quests/skills/assassin_skills.txtM	   npc/re/cities/dewata.txtM	   npc/re/jobs/3-1/rune_knight.txtM	   npc/re/quests/quests_brasilis.txtM	   sql-files/item_db.sqlM	   sql-files/item_db2.sqlM	   sql-files/item_db2_re.sqlM	   sql-files/item_db_re.sqlM	   src/char/char.cM	   src/char/char.hM	   src/char/int_auction.cM	   src/char/int_guild.cM	   src/char/int_homun.cM	   src/char/int_mail.cM	   src/char/int_quest.cM	   src/char/inter.cM	   src/char/inter.hM	   src/common/HPM.cM	   src/common/console.cM	   src/common/core.cM	   src/common/db.cM	   src/common/ers.cM	   src/common/ers.hM	   src/common/malloc.cM	   src/common/malloc.hM	   src/common/mmo.hM	   src/common/mutex.cM	   src/common/random.cM	   src/common/socket.cM	   src/common/sql.cM	   src/common/sql.hM	   src/common/timer.cM	   src/common/timer.hM	   src/config/const.hM	   src/login/account_sql.cM	   src/login/ipban_sql.cM	   src/login/login.cM	   src/map/atcommand.cM	   src/map/battle.cM	   src/map/battle.hM	   src/map/battleground.cM	   src/map/buyingstore.cM	   src/map/chat.cM	   src/map/chrif.cM	   src/map/clif.cM	   src/map/clif.hM	   src/map/duel.cM	   src/map/elemental.cM	   src/map/guild.cM	   src/map/homunculus.cM	   src/map/instance.cM	   src/map/intif.cM	   src/map/irc-bot.cM	   src/map/itemdb.cM	   src/map/itemdb.hM	   src/map/log.cM	   src/map/mail.cM	   src/map/map.cM	   src/map/map.hM	   src/map/mapreg_sql.cM	   src/map/mercenary.cM	   src/map/mob.cM	   src/map/npc.cM	   src/map/npc_chat.cM	   src/map/packets.hM	   src/map/party.cM	   src/map/party.hM	   src/map/path.cM	   src/map/pc.cM	   src/map/pc.hM	   src/map/pc_groups.cM	   src/map/pc_groups.hM	   src/map/pet.cM	   src/map/quest.cM	   src/map/script.cM	   src/map/script.hM	   src/map/searchstore.cM	   src/map/skill.cM	   src/map/skill.hM	   src/map/status.cM	   src/map/status.hM	   src/map/storage.cM	   src/map/trade.cM	   src/map/unit.cM	   src/map/vending.cM	   src/plugins/Makefile.inA	   src/plugins/db2sql.cPull is not possible because you have unmerged files.Please, fix them up in the work tree, and then use 'git add/rm <file>'as appropriate to mark resolution, or use 'git commit -a'.

     

    Using your solution gave me this error though. What's wrong currently?

     

     

    Pull is not possible because you have unmerged files.Please, fix them up in the work tree, and then use 'git add/rm <file>'as appropriate to mark resolution, or use 'git commit -a'. 

    As the Error says the solution.

     

    If you do any changes to the original files, you have to do

     

    Git commit -am"Your Log Message"

     

    to save the changes, as git doesn't check the changes(as of svn)

    then you can update your hercules via

     

    git pull

  6. For those who want to make All Equips 4 Slots but cannot find a new item_db file ,

    Here's a RegEx trick to do it.

    Open Notepad++ , open item_db.txt(whichever file in which you want to make all equips 4 slots)

    Open "Find Dialog Box"(CTRL+H), Select Search mode as Regular Expression.

    and in find put

    5,([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*)

    In Replace Put

     5,1,2,3,4,5,6,4

    Change that 4 to the number of slots you want(for all equips 4 slot, put 4)

     

    And Press "Replace All", and its done.

     

    If you want shields to be 2 slotted,

    Follow same method above but in find put

    5,([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*),([0-9]*),(0[xX][0-9a-fA-F]+),([0-9]*),2,32

    And In replace put

     

    5,1,2,3,4,5,6,2,8,9,2,32

    Change 2 to number of slots you want in shield.

     

    That's All

     

    Here's an item_Db with 4 slotted weapons and 2 slotted shield(14th June):item_db.txt

     

×
×
  • Create New...

Important Information

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