Issue information

Issue ID
#5202
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Jan 4, 2012 15:00
Last Post
Hercules Elf Bot
Apr 19, 2012 15:30
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Jan 4, 2012 15:00

Originally posted by [b]Lemongrass[/b]
In this changeset [url="http://sourceforge.net/apps/trac/rathena/changeset/15381/"]http://sourceforge.net/apps/trac/rathena/changeset/15381/[/url] the features that arent featured due of the packetversion are getting automatically disabled, but there's a small copy paste issue in there.

for the check of the search inside of the storage, you check the wrong feature.
[CODE]#if PACKETVER < 20100803
if( battle_config.feature_buying_store ) {
ShowWarning("conf/battle/feature.conf search_stores is enabled but it requires PACKETVER 2010-08-03 or newer, disabling...\n");
battle_config.feature_search_stores = 0;
}
#endif[/CODE]

should be

[CODE]
#if PACKETVER < 20100803
if( battle_config.feature_search_stores ) {
ShowWarning("conf/battle/feature.conf search_stores is enabled but it requires PACKETVER 2010-08-03 or newer, disabling...\n");
battle_config.feature_search_stores = 0;
}
#endif
[/CODE]

[Edit:] color tags don't work inside code >.>

This post has been edited by Lemongrass on Jan 4, 2012 15:01

Hercules Elf Bot - Jan 4, 2012 18:44

Originally posted by [b]Ind[/b]
Fixed in [rev=15391]