Fixed Bug 8125

using skilleffect on a sitting character no longer causes it to be unable to move.
http://hercules.ws/board/tracker/issue-8125-sit-soul-link-npc-stuck/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 8121

Would reject buyingstores on @at, fixed (unlike vendings, buying stores are not able to survive restarts at this time, should be added soon)
http://hercules.ws/board/tracker/issue-8121-buyingstore-use-commend-autotrade-error/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Issue 8062

Upon death attached (if any) script's execution only terminates if there is a open dialog, allowing silent npcs to remain running.
Special Thanks to Haru, AnnieRuru!
http://hercules.ws/board/tracker/issue-8062-when-player-died-the-script-execution-stops/

Signed-off-by: shennetsind <ind@henn.et>
Fixed skill (visual) effects issue with packetver lower than 20110718

Special Thanks to Beret.

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 8091

@mi mvp drops now displays item slot, special thanks to Tepoo, Haru.
http://hercules.ws/board/tracker/issue-8091-mi-mvp-reward-equipment-slot-information-bugged/

Signed-off-by: shennetsind <ind@henn.et>
Fixed getmapxy crash

getmapxy was failing to validate whether the variables passed met the necessary criteria.
As reported in http://hercules.ws/board/topic/5113-map-crash-after-getmapxy/ by Javanese

Signed-off-by: shennetsind <ind@henn.et>
Minor script_add_str error/debug addition

intif_parse_Registers now flags/unflags parser_current_file so that any possible naming issues with the variables being loaded are referenced here (previously they'd be reported anyway but without mentioning where it came from

Signed-off-by: shennetsind <ind@henn.et>
Updated documentation for pc_statusup2 and pc_statusup
(fixed issue: 7916 http://hercules.ws/board/tracker/issue-7916-wrong-comment-in-pc-statusup2/)
Now pc_statusup2 returns stat increase amount as stated in previous documentation
Updated *statusup documentation it was wrong
Added last update in upgrade index

@console.c/.h
Documented partially
Now two different parsing categories can have functions with same name
e.g.
- server exit
- sql exit
Fixed issue 8128 - Updated and reorganized MySQL engine converters http://hercules.ws/board/tracker/issue-8128-missing-update-to-tables-in-tools/
Minor edits to pc_statusup documentation comments

- Follow-up to a3fecfc

Signed-off-by: Haru <haru@dotalux.com>
Added UTF-8 BOM detection

- This prevents things like the following from happening, by warning the
  user if an incompatible file is loaded:
  http://hercules.ws/board/topic/5126-mapname-selft-announcer/?p=33068
- We're erroring out instead of ignoring it, as explained in the source
  comment.
- Special thanks to jaBote.

Signed-off-by: Haru <haru@dotalux.com>
Fixed issue: 8131
http://hercules.ws/board/tracker/issue-8131-sc-chat/
-Documented SC_NOCHAT
-Corrected the way that pc_setparam was handling SP_MANNER
-Added documentation on *sc_status regarding SC_NOCHAT, to mute a user via script you should set Manner
Fixed issue: 8136
http://hercules.ws/board/tracker/issue-8136-sera-pain-killer/
Fixed issue: 7725
 http://hercules.ws/board/tracker/issue-7725-disguise-hide-skill-bug/
Fixed issue: 8027
 http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills/
Fixed issue where @at showed it failed when it succeeded
Fixed issue: 7936
http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/
Fixed issue: 8140
http://hercules.ws/board/tracker/issue-8140-toucan-npc-error-message/
That error usually happens when the player clicked on a NPC that has the view id
of a mob, to activate this kind of npc it's needed to be in a 2,2 range
from it. If the OnTouch area of a npc, coincides with the 2,2 range of
another it's expected that the OnTouch event be put first in stack, because
unit_walktoxy_timer is executed before any other function in this case.
So it's best practice to put an 'end;' before OnTouch events in npcs that
have view ids of mobs to avoid this kind of error.
Also updated script_commands.txt to add this recomendation.
Fixed issue: 7939
http://hercules.ws/board/tracker/issue-7939-change-sex/
Also cleaned a bit the change sex process
Fixed issue: 7694
http://hercules.ws/board/tracker/issue-7694-guild-notice/
Follow up to 7a5f7db
Follow up to 4147d9f
Fixed some compiler/analyzer warnings.

- Sanitized some macros (they weren't going to cause problems, but
  better being safe than sorry)
- Parenthesized an incorrect expression in 6f6a6b3.
- Inverted an if(foo); else bar; statement in 6f6a6b3 to get rid of the
  empty expression (for legibility).
- Commented out some unnecessary lines as suggested by clang's static
  analyzer.

Signed-off-by: Haru <haru@dotalux.com>
Follow up to 6f6a6b3
Fixing small typo in that commit