Issue information

Issue ID
#7993
Status
Fixed
Severity
None
Started
bgamez23
Jan 25, 2014 15:05
Last Post
Ind
Feb 12, 2014 18:10
Confirmation
Yes (1)
No (0)

bgamez23 - Jan 25, 2014 15:05

how to produce?

edit brooch from your item_db.conf

2605 and use Loc: 1048576.

edit clip from your item_db.conf

2607 and use Loc: 2097152.

try to equip those two accessories. then your client crashed.

in a normal way. accessories should be able to put on left or right slot of your accessories.

but on our current version. there is no option just like this.
[code=:0] if(pos == EQP_SHADOW_ACC) { //Accessories should only go in one of the two, pos = req_pos&EQP_SHADOW_ACC; if (pos == EQP_SHADOW_ACC) //User specified both slots.. pos = sd->equip_index[EQI_SHADOW_ACC_R] >= 0 ? EQP_SHADOW_ACC_L : EQP_SHADOW_ACC_R; } [/code]


that why it makes the client crashed upon equipping two shadow accessories.

[img]http://s29.postimg.org/wfojhjd1z/screen_Hercules004.jpg[/img]

but after i implement that. it works fine now.
[img]http://s23.postimg.org/kydca5t9n/screen_Hercules000.jpg[/img]

This post has been edited by bgamez23 on Jan 25, 2014 15:07

bgamez23 - Jan 26, 2014 2:45

and also same thing happens for jur. that will be equipped for left and right weapon.

bgamez23 - Jan 26, 2014 23:10

for Assassin Class.
if you have left and right mastery.
you can't equip two shadow weapon main gauche.
or 1 shadow weapon main gauche and 1 shadow weapon shield.
or 1 shadow weapon jur.

same thing happen for who use two handed weapon shadow. like Knight Class.
Shadow Weapon Katana.

bgamez23 - Feb 1, 2014 10:15

bump

bgamez23 - Feb 3, 2014 18:08

bump

malufett - Feb 10, 2014 10:37

I can't produce with 2013-07-31

:meow:

bgamez23 - Feb 10, 2014 13:01

[quote name="malufett" timestamp="1392028621"]
I can't produce with 2013-07-31

:meow:[/quote]
what can't you produce?the accessory or the weapons?

bgamez23 - Feb 10, 2014 13:38

ok here is the very simple way to produce the bug. let start with

2 daggers.

first you must be Assassin with Right and Left Mastery.
first equip those 2 daggers.
[img]http://s28.postimg.org/5yfu2bvm5/screen_Hercules000.jpg[/img]
[img]http://s28.postimg.org/4xfld7eml/screen_Hercules001.jpg[/img]

you can equip it without any problem.
then remove those 2 daggers.
change the item location of those 2 daggers.

from Loc: 2 to Loc: 131072 which is 131072 = Shadow Weapon.
then @reloaditemdb

then character select. because you can't equip it because you use @reloaditemdb while it is on your inventory.
then login again.

try to equip those 2 daggers.
[img]http://s1.postimg.org/ix40aqor3/screen_Hercules009.jpg[/img]
[img]http://s1.postimg.org/7m1cmdhvz/screen_Hercules010.jpg[/img][img]http://s1.postimg.org/qfn5jdg3z/screen_Hercules011.jpg[/img]


then you successfully produce the bug. because you can't equip the 2 daggers.

bgamez23 - Feb 10, 2014 13:52

here is the 2nd bug. regarding on the accessories.
in a normal way. you can equip two accessories.
example.
clip and rosary.
this two item can be equip on your left or right accessory it depends on availability of slots.
in a normal way. the item location is Loc: 136 combination of 008 = Accessory 1 + 128 = Accessory 2 = 136 Accessory1&2

[img]http://s8.postimg.org/lgvf53j6t/screen_Hercules014.jpg[/img][img]http://s8.postimg.org/tnnewo99h/screen_Hercules015.jpg[/img]

then try to change it for accessory for shadow system.
same thing should happen. it can be equip on the right or left depends on the availability of the slot.
change the item location of the clip and rossary.
1048576 = Shadow Accessory 2 + 2097152 = Shadow Accessory 1 = 3145728 Shadow Accessory 2&1
so it should be equipped on both left and right just like the normal one.
[img]http://s14.postimg.org/pnvvv95wx/screen_Hercules001.jpg[/img]

first equip any one for those accessory.
[img]http://s14.postimg.org/xhwhgndpt/screen_Hercules002.jpg[/img]

you will noticed that it will not display the accessory that i equipped which is roasary.
then equip the clip. then boom client crashed. congrats you finally made the 2nd bug.

bgamez23 - Feb 10, 2014 14:03

last. job knight

two handed weapon. just like katana.
item location. Loc: 34 combination of 002 = Weapon + 032 = Shield = 34 Weapon&Shield
[img]http://s17.postimg.org/3rchbkyy7/screen_Hercules000.jpg[/img]
[img]http://s17.postimg.org/nkol4acbz/screen_Hercules001.jpg[/img]

as you can see. it was equip on both left and right because it required two hand.

then try to make it shadow weapon.
combination of 131072 = Shadow Weapon + 262144 = Shadow Shield = 393216 Shadow Weapon&Shadow Shield

just edit the item location of the katana. from Loc: 34 to 393216 Shadow Weapon&Shadow Shield

@reloaditemdb then character select. it should be two handed Shadow Weapon now.
just simply equip it.
[img]http://s14.postimg.org/as71m22pd/screen_Hercules004.jpg[/img][img]http://s14.postimg.org/ghna6d8vl/screen_Hercules005.jpg[/img]

as you can see. there is no katana on my costume tab.

now you can perform the bug more easily.

note im using the latest version of hercules.
[img]http://s16.postimg.org/zfr2g7olx/screen_Hercules006.jpg[/img]

Ind - Feb 10, 2014 21:35

I fixed the accesssories and dual-daggers, wasn't able to fix katana ( I guess the client is not made to expect two-hand weapons on the shadow slots, are there any official ones? )
[url="https://github.com/HerculesWS/Hercules/commit/90a2c005e8ec14e4af480dcf2e0dbb5112debfde"]https://github.com/HerculesWS/Hercules/commit/90a2c005e8ec14e4af480dcf2e0dbb5112debfde[/url]

bgamez23 - Feb 11, 2014 3:08

thanks i think yes.

This post has been edited by bgamez23 on Feb 11, 2014 3:09

bgamez23 - Feb 11, 2014 3:13

the Dagger still not fix sir. but the accessory works fine now.

Ind - Feb 11, 2014 15:23

[quote name="bgamez23" timestamp="1392088439"]
the Dagger still not fix sir. but the accessory works fine now.[/quote]how to reproduce? when I tested with 2x dagger on a assassin it worked (dagger was set to loc 131072)

bgamez23 - Feb 11, 2014 15:59

oh sorry. i been confuse. it works fine. i forgot to character select after i reloaditemdb.
the bug should be on jur now. if you use two handed shadow weapon.

This post has been edited by bgamez23 on Feb 11, 2014 16:02

Ind - Feb 12, 2014 18:10

is there any official shadow weapon that is two handed? (i ask so that i can try to see how it works on officials), I have been unable to get two handed to work