Issue information

Issue ID
#7790
Status
Fixed
Severity
None
Started
Lelouch
Oct 28, 2013 18:05
Last Post
kyeme
Oct 31, 2013 1:08
Confirmation
Yes (1)
No (0)

Lelouch - Oct 28, 2013 18:05

Well this is the problem, one of our players noticed that rangers cant attack normal or range attacks but they can use skill attack only but normal/range attacks aint working and they say an massage appears below and says "Please equip arrows first" but they have already using arrows so i tryed it in my test server and here is the pictures...

[url=http://s237.photobucket.com/user/sai4455/media/screenHercules014.jpg.html][img]http://i237.photobucket.com/albums/ff212/sai4455/screenHercules014.jpg[/img][/URL]
[url=http://s237.photobucket.com/user/sai4455/media/screenHercules015.jpg.html][img]http://i237.photobucket.com/albums/ff212/sai4455/screenHercules015.jpg[/img][/URL]
[url=http://s237.photobucket.com/user/sai4455/media/screenHercules016.jpg.html][img]http://i237.photobucket.com/albums/ff212/sai4455/screenHercules016.jpg[/img][/URL]

I think Archer and Snipers have this problem too i dont know if the Gunslingers have this also.

PS: Sorry if i post this one i a wrong section :D *maybe i posted it correctly :P*.

This post has been edited by Lelouch on Oct 28, 2013 18:07

joelolopez - Oct 28, 2013 22:52

i would like to confirm this too i have the same issue l0l :rolleyes:

sevenzz23 - Oct 29, 2013 1:19

Working Perfectly in mine.. I think some of your modifications affect it.

This post has been edited by sevenzz23 on Oct 29, 2013 1:19

Beret - Oct 29, 2013 2:27

I confirm it works on last review.

joelolopez - Oct 29, 2013 3:16

i have fresh hercules and i have this problem too i dont have any modifications to the settings or to the source except the define packet im using 20130807 please fix this bug

Lelouch - Oct 29, 2013 6:07

Well i dont have any modifications either and its also a freshly updated trunk. But the only modification there was the mmo.h or let me say the client date which is 2013-05-22.

This post has been edited by Lelouch on Oct 29, 2013 6:08

Lelouch - Oct 30, 2013 6:43

So i was backtracking all the previous changes of the svn then i noticed this clif.c change under the "Shadow System Base" update...

[code=auto:0]- if( arrow >= 0 ) - clif->arrowequip(sd,arrow); + + if( sd->equip_index[EQI_AMMO] >= 0 ) + clif->arrowequip(sd,sd->equip_index[EQI_AMMO]); + + if( equip ) { + itemlist_equip.PacketType = inventorylistequipType; + itemlist_equip.PacketLength = 4 + (sizeof(struct EQUIPITEM_INFO) * equip);[/code]

Is this the main reason of this? i cant tell if this is relevant to my problem -_-
Also additional info about this if you reconnect and try to use the arrow again it said "you cannot use this need a proper ammunition" but if you dropped it in ground and pick it up and thats the only way that you can use it.

This post has been edited by Lelouch on Oct 30, 2013 16:41

Frost - Oct 30, 2013 15:54

i can confirm this also, range attack is not working.

renniw - Oct 30, 2013 16:34

[color=rgb(40,40,40)][font=helvetica, arial, sans-serif][size=3]i confirm this on client 2013-07-17 the range attack is not working[/size][/font][/color]

renniw - Oct 30, 2013 17:57

in pc.h try this it work for me[code=:0] enum equip_index { EQI_ACC_L = 0, EQI_ACC_R, EQI_SHOES, EQI_GARMENT, EQI_HEAD_LOW, EQI_HEAD_MID, EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_COSTUME_TOP, EQI_COSTUME_MID, EQI_COSTUME_LOW, EQI_COSTUME_GARMENT, EQI_AMMO, EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON, EQI_SHADOW_SHIELD, EQI_SHADOW_SHOES, EQI_SHADOW_ACC_R, EQI_SHADOW_ACC_L, //EQI_AMMO, EQI_MAX [/code]

Lelouch - Oct 30, 2013 21:52

Thanks renniw :D and also the great Haruna.

This is already fixed...
[url="https://github.com/HerculesWS/Hercules/commit/1fd89646ff234ce74f35f9fb759c6b503a14bc6c"]https://github.com/HerculesWS/Hercules/commit/1fd89646ff234ce74f35f9fb759c6b503a14bc6c[/url]