Toggle navigation
Hercules
Bugtracker archive
Hercules bug tracker archive
Hercules Bug Archives
Core
Warning message when using Vending
Warning message when using Vending
Warning!
This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on
GitHub Issues
.
Issue information
Issue ID
#6729
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 24, 2012 13:02
Last Post
Hercules Elf Bot
Sep 24, 2012 15:04
Confirmation
Yes (1)
No (0)
Hercules Elf Bot -
Sep 24, 2012 13:02
Originally posted by [b]Aldamir[/b]
Bug :
[img]http://uppix.net/d/3/6/26e5f20d5262799a9b3e9ed4dad71.jpg[/img]
Fix :
src/map/clif,c line 11864
[CODE]
if( vending_checknearnpc(&sd->bl) ) {
clif_displaymessage(sd->fd, msg_txt(662));
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
return;
}
[/CODE]
Should be replaced with :
[CODE]
if( vending_checknearnpc(&sd->bl) ) {
char output[128];
sprintf(output, msg_txt(662), battle_config.min_npc_vending_distance);
clif_displaymessage(sd->fd, output);
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
return;
}
[/CODE]
This post has been edited by
Aldamir
on Sep 24, 2012 13:07
Hercules Elf Bot -
Sep 24, 2012 15:04
Originally posted by [b]Brian[/b]
Updating status to: [b]Fixed[/b] in [rev=16793].