summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-15Improved plugin compile flag detection by the configuration scriptHaru2-140/+10
- This fixes plugin compilation on FreeBSD and Debian failing due to a missing -fPIC, in combination with some upcoming changes. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Merge pull request #645 from 4144/ltoHaruna2-4/+4
Disable LTO by default. Because look like support for it broken in gc…
2015-08-15Disable LTO by default. Because look like support for it broken in gcc 4.9 ↵Andrei Karas2-4/+4
and higher. For enable LTO need run: ./configure --enable-lto
2015-08-13Added script_mapquit plugin (moved from the StaffPlugins repository)Haru3-17/+80
The plugin is used by the Travis CI build, and it makes more sense to be present here, so that it can be kept up to date when the HPM is updated, to avoid build failures. Signed-off-by: Haru <haru@dotalux.com>
2015-08-13Automatically run ./config.status --recheck when necessaryHaru1-1/+5
Signed-off-by: Haru <haru@dotalux.com>
2015-08-13Added check for execinfo.h/backtrace() to the configure scriptHaru3-7/+94
- This fixes compilation on systems such as FreeBSD, where -lexecinfo is necessary, or Cygwin, where execinfo.h is not available. Signed-off-by: Haru <haru@dotalux.com>
2015-08-13Corrected some include guardsHaru2-6/+6
- Fixes some future issues with the HPMDataCheck system. Signed-off-by: Haru <haru@dotalux.com>
2015-08-12Fix weapon field size in char_mmo_char_tobuf.Andrei Karas1-1/+1
2015-08-12HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-12Merge pull request #636 from 4144/equipposHaruna2-3/+16
Add n parameter to function pc_equipitem_pos.
2015-08-12Merge branch 'master' of https://github.com/HerculesWS/HerculesDastgir45-333/+3103
2015-08-12typo fix @ Eclage questDastgir1-1/+1
2015-08-12Fixed some issues reported by CoverityHaru2-2/+2
Follow-up to 5090bdf750017f0d631401edd563c452bd10ec24, 84e02ac28fbb15c58d0a0f8a916b49663198b05b Signed-off-by: Haru <haru@dotalux.com>
2015-08-11Add n parameter to function pc_equipitem_pos.Andrei Karas2-3/+16
2015-08-11HPM Hooks UpdateHercules.ws7-96/+33
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-11Merge pull request #633 from HerculesWS/subnetAndrei Karas8-184/+302
subnet.conf overhaul
2015-08-11subnet.conf overhaulHaru8-184/+302
The subnet.conf system has been rewritten to offer greater flexibility, and to fix some issues that appeared with 838321a36c79e71117320154c9b611c99e93af03. It is now possible to enter, separately, LAN subnets: - `lan_subnets`: This is essentially the same feature present in the old subnet.conf. Each entry in this list defines a (LAN, private) subnet the server is in. Clients connecting from the same subnet, will be redirected to the LAN IP rather than the default public IP. The format has been simplified, and it only requires one IP and one subnet mask (as opposed to a character and a map server IP). - `allowed`: Allowed IPs are IP ranges a server (char to login or map to char) can connect from. Any attempt to connect as a server from an IP not included here, will fail. For convenience, a wildcard range (matching all possible IP addresses) has been provided (`0.0.0.0:0.0.0.0`), but it is very advisable to edit it to a more restrictive set. - `trusted`: Trusted IPs are IP ranges excluded from the IPban checks. This may be useful, for example, to exclude the server's own IP from ipbans, in case of false positives. Any IP ranges added to this list are also implicitly included in the allowed IP ranges.
2015-08-11Merge pull request #635 from 4144/fixscriptsHaruna1-2/+5
Fix issue #634. Delay actual item deletion after running item script.
2015-08-11Fix issue #634. Delay actual item deletion after running item script.Andrei Karas1-2/+5
2015-08-11HPM Hooks UpdateHercules.ws3-0/+155
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-11Merge pull request #625 from 4144/scripthooksHaruna9-48/+103
Add scripts invoking hooks
2015-08-10Add script interface function run_pet. It do same thing as run.Andrei Karas3-1/+3
2015-08-10Add script interface function run_npc. It do same thing as run.Andrei Karas5-15/+17
2015-08-10Move unequip item script function call into function ↵Andrei Karas3-4/+22
script_run_item_unequip_script.
2015-08-10Move equip item script function call into function script_run_item_equip_script.Andrei Karas4-5/+25
2015-08-10Move use item script function call into function script_run_use_script.Andrei Karas5-23/+36
2015-08-10Added support for visual Studio 2015Haru16-2/+2504
Please report any issues Signed-off-by: Haru <haru@dotalux.com>
2015-08-10Fixes #630, RC_NonBoss was including all races even if they weren't meant to be.Dastgir1-16/+16
2015-08-10Corrected an issue with the last SQL updateHaru2-1/+2
- Follow-up to 8caa0e564b5331a88d8dc1712513368b37ba9694 - It's safe to re-apply the related sql update script (sql-files/upgrades/2015-07-08--13-08.sql) in order to get rid of the 'detected 1 new SQL updates' message. - Thanks to KirieZ Signed-off-by: Haru <haru@dotalux.com>
2015-08-10Minor script cleanup (part 2)Haru9-17/+17
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8) - Follow-up to 7b50fce0f62961b0228e6919562efcfe33e7fbca
2015-08-10Merge pull request #629 from MordekaiserGod/itemsearch-fixHaruna1-1/+1
Corrected search order in itemdb_searchname
2015-08-09Corrected search order in itemdb_searchnameMordekaiserGod1-1/+1
It’ll now return the first result, rather than the last due to item2 being overwritten as it searches through the array.
2015-08-10Fixed a compile error in CygwinHaru1-3/+3
- Follow-up to c5ff02958806ea5a672dcc9371602a6c090c6758 - Cygwin doesn't support backtrace() nor it provides execinfo.h Signed-off-by: Haru <haru@dotalux.com>
2015-08-10Fixed a compile error on WIN32/MSVCHaru2-3/+9
- Follow-up to 84e02ac28fbb15c58d0a0f8a916b49663198b05b - Thanks to KirieZ for pointing it out. Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Fixed an issue caused by duel-song interactionHaru1-1/+1
- Fixes #546 (follow-up to 127f9b52a4030a655564584b95b7c10dfdcb04e6) - Special thanks to kyeme, Mordekaiser Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Removed unused tables sstatus and interregHaru7-29/+8
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Deprecated SQL item, monster and monster skill databasesHaru2-6/+30
- The files are (and will) still be included for use in Control Panels or websites, but their use as the data source for the map server is no longer supported. Please upgrade to their text counterparts instead. Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Improved validation of monster/boss_monster top-level script objectsHaru1-3/+3
- xs, ys, delay1, delay2 and event are now required, as described in the documentation. Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Added validation of the 'facing' value in top-level script objectsHaru1-0/+18
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Deprecated use of numeric NPC view IDs. Use constants instead.Haru2-15/+18
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Minor script cleanup.Haru18-54/+54
- Replaced leftover sprite IDs with constants - Corrected some NPC facing directions (in modulo 8)
2015-08-09Removed deprecated script command checkreHaru2-25/+0
- Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02 Signed-off-by: Haru <haru@dotalux.com>
2015-08-09HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-09Merge pull request #464 from dastgir/AdditionalStatusAndrei Karas2-0/+9
Additional Status Calculation for Plugins.
2015-08-09Merge pull request #624 from Smokexyz/patch-2Dastgir1-4/+4
Fix item loading via sql
2015-08-09Additional Status Calculation for Plugins.dastgir2-0/+9
2015-08-07Update itemdb.cSmokexyz1-4/+4
This fixes the script loading issue mentioned here -> http://herc.ws/board/topic/10249-issue-with-item-db-after-update/
2015-08-07Merge pull request #599 from Milchdealer/accinfofixHaruna1-1/+1
Changed clif->message with clif->messagecolor_self as this will not c…
2015-08-05Merge pull request #582 from 4144/interserveripHaruna7-24/+29
Add checks for servers ip address in inter server connections.
2015-08-05Update subnet.conf for allow all ip addresses.Andrei Karas1-0/+1