Issue information

Issue ID
#5650
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Apr 26, 2012 23:20
Last Post
Mysterious
Mar 27, 2014 21:20
Confirmation
N/A

Hercules Elf Bot - Apr 26, 2012 23:20

Originally posted by [b]zandotc[/b]
[size=4]GN_REMODELING is not giving the 2500 + capacity in cart.[/size]

[size=4]Revision 15979[/size]

Hercules Elf Bot - Apr 27, 2012 0:45

Originally posted by [b]Ind[/b]
I think the whole cart max weight thing should be rewritten for efficiency in order to add this bonus. instead of using a battle config perhaps this should be placed in user session data for variable values

Hercules Elf Bot - Apr 28, 2012 4:49

Originally posted by [b]Igniz[/b]
Temporal fix untill rathena devs work on this:

pc.c find:
[CODE]
if( (w = data->weight*amount) + sd->cart_weight > battle_config.max_cart_weight )
[/CODE]
Reemplaze
[CODE]
if( (w = data->weight*amount) + sd->cart_weight > battle_config.max_cart_weight + pc_checkskill(sd, GN_REMODELING_CART)*5000 )
[/CODE]
Find:
[CODE]
clif_skillup(sd,skill_num);
clif_updatestatus(sd,SP_SKILLPOINT);
[/CODE]
Add below:
[CODE]
if( skill_num == GN_REMODELING_CART )
clif_updatestatus(sd,SP_CARTINFO);
[/CODE]

clif.c
Find:
[CODE]
WFIFOL(fd,10)=battle_config.max_cart_weight;
[/CODE]
Reemplaze:
[CODE]
WFIFOL(fd,10)=battle_config.max_cart_weight + (pc_checkskill(sd,GN_REMODELING_CART)*5000);
[/CODE]

Hercules Elf Bot - Apr 28, 2012 5:40

Originally posted by [b]zandotc[/b]
Solved...
PERFECT!!!!! Thank You....

Hercules Elf Bot - Apr 28, 2012 12:53

Originally posted by [b]Igniz[/b]
/no1

Hercules Elf Bot - May 2, 2012 5:03

Originally posted by [b]Ind[/b]
Thank you all for the feedback, Igniz thanks for providing a temporary fix. Fixed in [rev=16042]