Unit remove from map animation.

Follow-up to my previous logout animation fix. Pets, homunculi and mercenaries were not vanishing correctly after CLR_TELEPORT was changed to CLR_RESPAWN.
Fixed animation for dead players respawning.

CLR_RESPAWN is actually the logout animation not the respawn animation. CLR_OUTSIGHT is the correct animation for respawning.
Instead of building only branch 'master', let's build all branches except 'rathena'.

Signed-off-by: Shido <the.keikun@gmail.com>
Merge pull request #259 from cannelle/master

Animation fixes.
Removed Option_ constants from const.txt, now input directly from the source

a benefit, for example, would be that the compounds are always up to date regardless if new members are added, also added a new compound OPTION_COSTUME
Special Thanks to Haruna, and AnnieRuru for pointing out constdb's outdatedness.

Signed-off-by: shennetsind <ind@henn.et>
Introducing #define npc constants

As proposed by AnnieRuru in http://hercules.ws/board/topic/4320-getserverdef/
They're input directly by the server, Haru's idea! (Thank you).
Also introducing the MAX_CHAT_USERS define as requested by AnnieRuru.

Signed-off-by: shennetsind <ind@henn.et>
Improved mapindex_name2id errors for scripts

NPC Error is now printed as well as the original message as proposed by Emistry in http://hercules.ws/board/topic/1864-mapindex-name2id-display-which-npc-caused-this/
Special Thanks to Haru!

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Merge pull request #260 from MrKeiKun/master

Build branches
Whisper fix, and support for 2013-12-18 Ragexe and 2013-12-30 Ragexe

From Pull Request 255 (Thanks to Kiu, ossi0110, Yommy)

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Follow-up to 37953d0 (fixes compile error)

- Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret
  http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/

Signed-off-by: Haru <haru@dotalux.com>
Cleaned up messages.conf

- Removed some unused messages.
- Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to
  AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/
- Fixed some issues with the message range loaded by the char server.
- Reworded some messages, fixed typos in others.

Note for translation users: some messages have been remapped to new IDs.
You'll need to remap them in your custom translations as well. The list
of changes is as follows:

- Removed messages (you can safely remove them from your translations):
  15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142,
  164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275,
  289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063,
  1079, 1291-1294
- New messages (you need to add them to your translations): 15
- Moved messages (you need to change their IDs in your translations file):
  * [Unknown Job] 656 -> 620,
  * [Job names] 681~693 -> 656~668
  * [Tombstone related] 656~661 -> 856~861
  * [Etc messages] 662~680 -> 862~880
  * [@version] 1436 -> 1294
  * [Hercules Chat] 1475 -> 1436

Signed-off-by: Haru <haru@dotalux.com>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fix Bug 8029
http://hercules.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/
Fix bug 8036
http://hercules.ws/board/tracker/issue-8036-gate-of-hell-over-powered/
Fix bug 7074
http://hercules.ws/board/tracker/issue-7074-suragoh-issues/
Fix bug 6866
http://hercules.ws/board/tracker/issue-6866-gate-of-hell/?gopid=15411#entry15411

Remove cast, after cast and cool down of All Odin Power as aegis info.
All Odin Power is now watk and it's show the matk in the status window.
http://hercules.ws/board/tracker/issue-7715-odins-power-lvl-2/

Fix Insignia consume the item correctly and can't be cast on Land Protector.
Ref redesign, part 1

- Moved string and numeric mapregs into the same DBMap (for consistency
  with the other reg types.)

Signed-off-by: Haru <haru@dotalux.com>
Ref redesign, part 2

- Reorganized regs var/array DBMaps into a specific reg_db structure

Signed-off-by: Haru <haru@dotalux.com>
Ref redesign, part 3

- Updated several functions to properly use the data structures defined
  in parts 1 and 2.
- Special thanks to Ind for his help on this, as well as the previous
  two parts.
- Fixes some crashes related to variable references passed back and
  forth between nested callfunc/callsub scopes (related: 2669e9a,
  3259f89, 4f2de07)

Signed-off-by: Haru <haru@dotalux.com>