Issue information

Issue ID
#7881
Status
Done
Severity
None
Started
N e s s
Dec 3, 2013 15:13
Last Post
Haru
Dec 5, 2013 8:38
Confirmation
N/A

N e s s - Dec 3, 2013 15:13

how to revert the old @item command? because in my latest rev whenever i use @item, you must type the exact aegisname example when i type @item taogunkas the server is not accepting it but when i type @item TaogunkaS the one in the exact aegis name the server accepting the command. is this a bug or a new patch? :)

Haru - Dec 3, 2013 16:17

It's working as intended (like in Aegis.) Aegis names (and monster sprite names) are case sensitive.

[url="https://github.com/HerculesWS/Hercules/commit/6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526"]https://github.com/HerculesWS/Hercules/commit/6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526[/url]

The following names will work:

TaogunkaS (case sensitive AegisName)
"Tao Gunka Scroll" (case sensitive display name)
"tao gunka scroll", "Tao gunkA SCROLL", "tAo gUnKa scrolL", etc (case insensitive display name)

N e s s - Dec 3, 2013 16:42

even the one you posted is not working in my latest rev sir :( i dont know why :(

malufett - Dec 4, 2013 0:26

Haru item names with spaces won't work...:D

:meow:

Haru - Dec 4, 2013 11:30

Errr, they do... as long as you put them in quotes, exactly like I posted them...

@item "tao gunka scroll"

[img]http://f.cl.ly/items/2O2e2g1K1J0n3I2l2M43/Screen%20Shot%202013-12-04%20at%2012.29.40.png[/img]

malufett - Dec 4, 2013 14:02

omg..stupid of mine..I forgot that...haha

:meow:

Haru - Dec 5, 2013 8:38

For all those who are having this problem, after some discussion we decided it'd be better to offer a way for server admins to revert to the old, case insensitive, lookups in case they prefer.

This has been implemented in [url="https://github.com/HerculesWS/Hercules/commit/43462caf9441a041755806a889cb6d5104dcf438"]https://github.com/HerculesWS/Hercules/commit/43462caf9441a041755806a889cb6d5104dcf438[/url] (see commit for more info, there's a config setting to change if you want it to be case insensitive)