Fixed minor issues in the sql files from 3ecf877b

Signed-off-by: Haru <haru@dotalux.com>
Update status.c
Update sc_config.txt
Corrected a dangling pointer in various DBMap/DBIterator functions

- If the DBMap has the DB_RELEASE_DATA option set and it contains a
  pointer, the optional returned out_data will now have its pointer
  value set to NULL.
- Credits to Ind for discovering the issue.

Signed-off-by: Haru <haru@dotalux.com>
Removed duplicate code from the Cool Event NPCs

- Moved common code to a function.
- Modified to use appropriate functions from function_kafras.txt.
- Modernized syntax/updated function documentation in both files.
- Fixed the Rachel NPC incorrectly stating it's warping you to Rachel,
  instead of Veins.
- Special thanks to jaBote, GubA.

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #1 from HerculesWS/master

Syncing from HerculesWS
Update rAthena-logs-upgrade.sql
Fixed some issues with CELL_NOSTACK
- Crashing issue when loading maps using map cache (issue: 8270) http://hercules.ws/board/tracker/issue-8270-enable-cell-nostack-crash/
- Counter was not being decrease correctly when leaving a cell
Merged map_addblcell and map_delblcell
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Update rAthena-main-upgrade.sql

Updating to adapt the database from current latest rAthena server. Couldn't test since I haven't got a test database right now, but looks good enough.

Any issue should happen with it, please address me at Hercules forums rather than here.
Fix argument error in Client Hash
Fix Heart Fragment quest.
- The Security NPC should print **your** code in the dialog, not the number you have to guess !
- Typo error ```.@ball``` instead of ```@ball```
Merge pull request #311 from vthibault/heart-fragment-quest-fix

Fix Heart Fragment quest.
Merge pull request #312 from vthibault/fix-argument-error

Fix argument error in Client Hash
Fixed Bug #8248
http://hercules.ws/board/tracker/issue-8248-job-master-bug/
- Job Master now properly resets Novice Basic Skill upon job change into Baby Novice.
- Sparkles and thanks to @Ridley8819 for pointing out the issue.
Merge pull request #313 from datmumbles/master

Fixed Bug #8248
Fixed several issues with SO_EL_SYMPATHY

- Corrected an issue that caused the elemental's HP and SP would
  _decrease to_ summon_level*5% instead of _increasing by_ said amount.
- Corrected an issue that decreased the SP cost of summon elemental
  skills by 5% even when the Spirit Sympathy skill wasn't present.
- Added/renamed some variables to prevent confusion. Please don't reuse
  'i' variables for things that aren't array indices. Or don't reuse
  variables altogether for different purposes than their original one.
- Special thanks to Kisuka.

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug #8286

- http://hercules.ws/board/tracker/issue-8286-char-serverconf/
- Fixed a misunderstanding in conf/char-server.conf (item_db.txt —>
item_db.conf)
- Thanks Clein
Merge pull request #308 from nadiyama/master

Fixed sa_dispel behaviour with hiding/cloaking/chasewalk characters
Fixed located of Mobile HP Recovery quest. Fixed wrong sprite on Mercenary Merchant NPC in Izlude.