-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation and warnings related to mapflags scripts commands #2387
Comments
really ? I just test one of my script that having setmapflag no, the constants you should be looking for, should be btw I do agree our emotions constants should be in UPPER_CASE Lines 147 to 238 in 82d634a
the source use upper case, but script constants use lower case https://github.com/HerculesWS/Hercules/blob/stable/doc/constants.md#emotes however changing that will throw errors on many scripts |
for case-sensitivity may refer @MishimaHaruna's #685 (comment) for reference. |
Mapflags has been refactored in #2654 . |
Describe the bug
Documentation of commands like
setmapflag
,gatmapflag
andremovemapflag
specify the use of mf_xxx constants in lower case, but if you use lower case they dont do anything. I looked at script.h for those constants and they are all UPPER CASE.Using those constants in upper case make those commands work, but a warning appears in the terminal/console saying you should use lower case.
The text was updated successfully, but these errors were encountered: