Jump to content
  • 0

Long Range Attacks for Sword


kyleanthonydizon

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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!!

Link to comment
Share on other sites

17 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

just curious to know you using this item with gm account? is this happening with normal account too?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

2 minutes ago, Cyro said:

just curious to know you using this item with gm account? is this happening with normal account too?

We are currently testing it with gm account.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

What about when there's no equipped weapon? Does it still give the range?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

because its game master lmao xD, hope your problem solved 

anyways gm char can bypass this kinda stuff

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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:

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

in groups.conf 

check 

item_unconditional: false

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

1 minute ago, Cyro said:

in groups.conf 

check 


item_unconditional: false

 

it should be item_unconditional: true??

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   28
  • Joined:  12/21/16
  • Last Seen:  

@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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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 :(

Link to comment
Share on other sites

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.

×
×
  • Create New...