Issue information

Issue ID
#5207
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Jan 7, 2012 7:00
Last Post
Hercules Elf Bot
Apr 19, 2012 15:35
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Jan 7, 2012 7:00

Originally posted by [b]Arcenciel[/b]
Imports of atcommand_athena seems to have broken due to the new alias system and format.

1.

Aliases are not covered imports.


conf\atcommand_athena.conf

[CODE]monsterinfo: 0,1 [mobinfo, mi][/CODE]

conf\imports\atcommand_athena.conf

[CODE]monsterinfo: 1,1 [mobinfo, mi][/CODE]

Map server throws out a duplicate alias warning instead of import just overriding the aliases in conf\atcommand_athena.conf

2.

Player is still able to use the command despite the setting in import. It is probably allowed due to the alias.


conf\atcommand_athena.conf

[CODE]monsterinfo: 0,1 [mobinfo, mi][/CODE]

conf\imports\atcommand_athena.conf

[CODE]monsterinfo: 1,1[/CODE]

3.


@mi is still usable despite the base @monsterinfo being disabled in the import...however @monsterinfo is not usable.


conf\atcommand_athena.conf

[CODE]monsterinfo: 0,1 [mi][/CODE]

conf\imports\atcommand_athena.conf

[CODE]monsterinfo: 1,1 [mobinfo][/CODE]


I'm sure there are other scenarios...but in short...imports are not working properly.

Hercules Elf Bot - Jan 10, 2012 21:14

Originally posted by [b]Ind[/b]
when you import a file are the settings loaded from the previous file meant to be dropped? or just some in the import file override them? .-.

Hercules Elf Bot - Jan 10, 2012 21:56

Originally posted by [b]Arcenciel[/b]
Isn't it suppose to override?

Hercules Elf Bot - Jan 11, 2012 10:37

Originally posted by [b]calciumkid[/b]
Plz fix dis sir.

It should be overriding.

Hercules Elf Bot - Jan 11, 2012 23:40

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