Jump to content

Question

Posted
29349,_banryu,Banryu,5,100,,500,25,,1,4,0x000654E3,7,2,2,1,2,1,2,{ bonus2 bSkillAtk,KN_BOWLINGBASH,10; bonus bUnbreakableWeapon,0; if(getrefine()>8) { bonus bStr,5; bonus bAtkRate,7; } },{},{}

Hi is there something wrong with my weapon at item_db? I have this equipped but it attacks like a bow, long range. Help please!!

17 answers to this question

Recommended Posts

  • 0
Posted

Based from your item db entry the range is 1, and there's no bonus to increase the attack range(bonus bAtkRange,n;)
ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV[:maxLevel],Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }

So my guess it would be a bonus_script or a combo script?

  • 0
Posted
1 minute ago, Technoken said:

Based from your item db entry the range is 1, and there's no bonus to increase the attack range(bonus bAtkRange,n;)
ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV[:maxLevel],Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }

So my guess it would be a bonus_script or a combo script?

1850,asuraknucle,Asura Knuckle,5,8000,,400,30,,1,4,0x00008100,7,2,2,1,1,1,12,{},{},{}
1801,Waghnakh,Waghnak,5,8000,,400,30,,1,3,0x00008100,7,2,2,1,1,1,12,{},{},{}

Hmm. Take this for example. I just copied the existing "Waghnak" for my custom weapon "Asura Knuckle" and still it attacks at long range?

  • 0
Posted

It's weird. Does it only give the ranged attack after equipping the weapon? Maybe you have some script that modifies player attack ranged when weapon is equipped? Did you also try to equip a non custom weapon and see if it still gives an increase range?

  • 0
Posted
3 minutes ago, Technoken said:

It's weird. Does it only give the ranged attack after equipping the weapon? Maybe you have some script that modifies player attack ranged when weapon is equipped? Did you also try to equip a non custom weapon and see if it still gives an increase range?

Yes.. We are experiencing this too even for non custom weapons..

  • 0
Posted
3 minutes ago, Cyro said:

can you try testing with normal account? i mean without gm sprite maybe

Wow that's weird.. It's doing good with normal accounts. Why is that when we use gm account, it attacks at long range?

  • 0
Posted
5 minutes ago, Cyro said:

because its game master lmao xD, hope your problem solved 

anyways gm char can bypass this kinda stuff

But before we added the custom weapons, gm accounts uses weapons normally. Like a bow is used as long range, and swords are with short range and if there's no weapon equipped, it will attack with short range :mellow:

  • 0
Posted (edited)

@kyleanthonydizon rathena/wiki/Custom_weapons

Spoiler

The ID

Why the ID first? The ID controls what type of weapon sprite is displayed. Going outside the ID range will cause you to "punch" when attacking.

Open your and find the section with the weapon type you need. The allowable range is usually obvious.

Item ID Item Type
1100-1149 One-Handed Sword
1150-1199 Two-Handed Sword
1200-1249 Knife
1250-1299 Katar
1300-1349 One-Handed Axe
1350-1399 Two-Handed Axe
1400-1449 One-Handed Spear
1450-1499 Two-Handed Spear
1500-1549 Mace
1550-1599 Book
1600-1649 Rod
1700-1749 Bow
1750-1799 Arrow
1800-1849 Knuckle
1900-1949 Instrument
1950-1999 Whip
13000-13099 Knife
13100-13149 Handgun
13150-13199 Other Gunslinger Weapons
13300-13399 Shuriken
13400-13499 One-Handed Sword

Example

To make a custom bow, searching for "Bows" in item_db shows that bow IDs start at 1701 and end at 1749. Since there are no remaining IDs, commenting out an unused bow would work.

Otherwise, skip to the next set of bows, which start at 18101. Select an open ID in that range.

idk if its matter..

Edited by Valor
  • 0
Posted (edited)
7 minutes ago, Valor said:

@kyleanthonydizon rathena/wiki/Custom_weapons

  Hide contents

The ID

Why the ID first? The ID controls what type of weapon sprite is displayed. Going outside the ID range will cause you to "punch" when attacking.

Open your and find the section with the weapon type you need. The allowable range is usually obvious.

Item ID Item Type
1100-1149 One-Handed Sword
1150-1199 Two-Handed Sword
1200-1249 Knife
1250-1299 Katar
1300-1349 One-Handed Axe
1350-1399 Two-Handed Axe
1400-1449 One-Handed Spear
1450-1499 Two-Handed Spear
1500-1549 Mace
1550-1599 Book
1600-1649 Rod
1700-1749 Bow
1750-1799 Arrow
1800-1849 Knuckle
1900-1949 Instrument
1950-1999 Whip
13000-13099 Knife
13100-13149 Handgun
13150-13199 Other Gunslinger Weapons
13300-13399 Shuriken
13400-13499 One-Handed Sword

Example

To make a custom bow, searching for "Bows" in item_db shows that bow IDs start at 1701 and end at 1749. Since there are no remaining IDs, commenting out an unused bow would work.

Otherwise, skip to the next set of bows, which start at 18101. Select an open ID in that range.

 

Hmm, but we added the "Asura Knuckle" in the right ranges, still it attacks long range.

Edited by kyleanthonydizon
  • 0
Posted

maybe you had a script somewhere in your files, that increases attack range when a gm equipped a weapon. Since it also works on non custom weapons.

have you tried attacking without anything equipped and check if it is still attacking in long range?

  • 0
Posted
1 minute ago, Technoken said:

maybe you had a script somewhere in your files, that increases attack range when a gm equipped a weapon. Since it also works on non custom weapons.

have you tried attacking without anything equipped and check if it is still attacking in long range?

Yes we've tried attacking without anything equipped and still in long range :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...