Fixed Ranking Lists for 2013 clients
Merge pull request #137 from Schwierig/RankingListFix

Ranking list fix
Fixed a startup crash due to minicore/regular core mismatches

- Follow-up to / discovered in babdf60

Signed-off-by: Haru <haru@dotalux.com>
Cleaned up and de-duplicated ranklist-related code

Follow-up to 6cf032d. Special thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Fixed a potentially negative array subscript causing a mapserver crash

- Fixes bugreport:7717, special thanks to quesoph
  http://hercules.ws/board/tracker/issue-7717-map-crash-when-warping-on-a-floating-npc/
- Also changed various map[foo].index to the map_id2index(foo) macro.

Signed-off-by: Haru <haru@dotalux.com>
Corrected invalid values assigned to enum homun_type variables

- Fixes a warning in clang-5.0.0 (and a potentially incorrect/undefined
  behavior of the related code)

Signed-off-by: Haru <haru@dotalux.com>
Added Makefile.in change detection (and auto-rebuild) capabilities

- If a Makefile.in is changed, ./config.status (or ./configure in case
  it's not available) will be automatically run to update the Makefiles.
- Special thanks to Yommy for the idea.

Signed-off-by: Haru <haru@dotalux.com>
Corrected various hardcoded database table names

- Added an elemental_db setting to inter-server.conf (elemental table)
- Switched an instance of hardcoded `ipbanlist` to use the ipban_table
  setting; thanks to Takkun, related to issue #135
- Switched two instances of hardcoded `char` to use the char_db setting
- Added a TODO notice about the usage of the login table (on a side
  note, hardcoded) from the login server (related to issue #142)

Signed-off-by: Haru <haru@dotalux.com>
Changed Makefiles to avoid rebuilding targets if nothing was modified

To force a rebuild, it's still possible to use the -B flag of make, or
just run make clean beforehand.

Signed-off-by: Haru <haru@dotalux.com>
Renamed some variables forgotten when adding the battleground interface

- Follow-up to 35c131c
- Fixes bugreport:7721, thanks to purityz, Dastgir Pojee
  http://hercules.ws/board/tracker/issue-7721-lastest-update-make-map-crashing-on-battleground/

Signed-off-by: Haru <haru@dotalux.com>
Renamed more forgotten variables during interface conversions

(related: b9c8f57)
Most renames are trivial (just to avoid shadowing global variables, even
if they currently did no harm), but there were some cases of partly
renamed variables that caused some NULL checks to always pass and who
knows what could have been happened when they were too subtle to make
the application crash.

Also corrected some potentially unsafe macro definitions

Signed-off-by: Haru <haru@dotalux.com>
Renamed iDuel interface to duel

- Note to plugin developers:
  change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel").

Signed-off-by: Haru <haru@dotalux.com>
Renamed local variables that would conflict with a rename of iTimer to timer

Signed-off-by: Haru <haru@dotalux.com>
Renamed iTimer interface to timer.
Also removed duplicate mentions of timer within calls to shorten.
Merge branch 'master' of https://github.com/HerculesWS/Hercules

Conflicts:
	src/map/chrif.c
	src/map/clif.c
	src/map/homunculus.c
	src/map/pet.c
	src/map/script.c
	src/map/skill.c
	src/map/status.c
All clear.
Renamed local variables that would conflict with a rename of iStatus to status

Signed-off-by: Haru <haru@dotalux.com>
Renamed variables that would conflict with a rename of iMap to map

Note to plugin developers: if you were importing the "map", you'll need
to change it to "maplist"

Signed-off-by: Haru <haru@dotalux.com>
Renamed iStatus interface to status

Signed-off-by: Haru <haru@dotalux.com>
Added full support for the Rebellion.
Credits to 3ceam2 for the base,Thanks to Rytech.
-The skill still needs to be completed, as well as support for higher base stats.
-Bonus stats are set to temporarily values until the official ones are known.
-Updated the item_db.txt file with information on the Rebellion's job equip mask.
-Added packets and packet keys for 2013-08-07Ragexe with the info provided by Shakto,Thanks to Shakto.
-A 2013-08-07Ragexe client or higher is required for this job to be properly playable.
Renamed iMap interface to map

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