summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-13- Fixed #723 now it's possible to retrieve Battle Config Settings from ↵Your Name7-25/+104
plugins into scripts - Fixed Possible Crash when null parse function pointer passed to HPMi->addConf - Now it's possible to use same parse function for all config entries - Now Battle Config entries must have a return function
2015-12-13Add 'F_ShuffleNumbers' as Global FunctionAnnieRuru1-0/+30
2015-12-12Renamed plugin-sample.dll to sample.dllHaru4-8/+8
- Fixes #909. Thanks to AnnieRuru Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Updated filters and included files in the VS2015 projectHaru8-142/+303
Closes #795 Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Updated filters and included files in the VS2013 projectHaru8-139/+302
Related to issue #795 Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Updated filters and included files in the VS2012 projectHaru8-141/+304
Related to issue #795 Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Updated filters and included files in the VS2010 projectHaru8-144/+308
Related to issue #795 Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Added server type checks to the sample plugin, to avoid hooking errors on ↵Haru1-16/+25
login/char servers Related to issue #909 Signed-off-by: Haru <haru@dotalux.com>
2015-12-12HPM Hooks UpdateHercules.ws5-0/+562
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-12Added support for pcre-related interfaces to plugins (HPMHookGen/HPMSymbols ↵Haru1-1/+2
generation) Fixes #931 Signed-off-by: Haru <haru@dotalux.com>
2015-12-11Fix guild member position check.Andrei Karas1-1/+1
2015-12-10Fix SPTable going low for MAX_LEVELDastgir1-2/+2
2015-12-10Fix guild position check.Andrei Karas1-1/+1
2015-12-10Change the sequence of Status ID's according to its number. Minor clean-up.Jedzkie1-152/+160
2015-12-10Merge pull request #924 from Jedzkie/Pull_03Dastgir2-2/+2
Rename 'ITEMIDBATTLE_MANUAL100' to 'ITEMID_BATTLE_MANUAL100'.
2015-12-10Rename 'ITEMIDBATTLE_MANUAL100' to 'ITEMID_BATTLE_MANUAL100'.Jedzkie2-2/+2
2015-12-09Fixed a nullpo check failure in log_chatHaru1-6/+51
- Thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-12-08Removed a dozen duplicate entries from the Renewal Mob DBHaru1-565/+0
Signed-off-by: Haru <haru@dotalux.com>
2015-12-08Fixed various incorrect AegisNames in the Renewal Mob DBHaru1-7/+7
Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Minor follow-up to e9eeb59068934ee8e71b7b9f37f131ef41459e76Haru1-3/+3
Always use the prefix form of increment/decrement operators where posible. Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Fixed a validation issue in the NPC Sell ListHaru1-5/+13
Signed-off-by: Haru <haru@dotalux.com>
2015-12-06ItemDB SQL SyncHercules.ws2-148/+148
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-06HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-06Merge pull request #905 from HerculesWS/races-fixAndrei Karas11-915/+619
Races fix
2015-12-06Added backtrace in case an invalid race is passed to map_race_id2maskHaru2-0/+15
Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Replaced RC_Boss/RC_NonBoss combinations with RC_AllHaru5-468/+218
- Item Databases
2015-12-06Fixed issues with compound races in bonuses where they're handled as arraysHaru1-323/+203
- Corrected handling of RC_ALL in: * bAddRace * bSubRace * bMagicAddRace * bWeaponComaRace * bCriticalAddRace * bExpAddRace * bSPGainRace * bHPDrainValueRace * bSPDrainValueRace * bSPGainRaceAttack * bHPGainRaceAttack * bRaceTolerance * bHPDrainRateRace * bSPDrainRateRace * bSetDefRace * bSetMDefRace - Corrected out of bound array accesses (memory corruption) in: * bIgnoreMdefRate * bIgnoreDefRate Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Replaced RC_BOSS/RC_NONBOSS bitmask combinations with RC_ALL bitmasksHaru1-25/+32
- Sources only Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Refactored/fixed race handling for bonuses that store it as a bitmaskHaru5-101/+153
- The following bonuses now work correctly with RC_DemiPlayer, RC_NonDemiPlayer, RC_NonDemiHuman, RC_Nonplayer: * bIgnoreDefRace * bIgnoreMdefRace * bDefRatioAtkRace * bAddMonsterDropChainItem (bonus3) * bAddMonsterDropItem (bonus3) - A new function (map->race_id2mask) is provided, to easily and efficiently generate a bitmask from a race ID. - The RC_ALL race ID is mapped to RC_BOSS and RC_NONBOSS, for backwards compatibility. Signed-off-by: Haru <haru@dotalux.com>
2015-12-06Fix some documentations on doc/script_commands.txtAnnieRuru1-5/+10
- fix bg_monster_set_team example broken - fix bg_monster show twice - getpetinfo/gethominfo can return 0 or null if the player doesn't own them - summon command cannot summon dead branch style, since its using mob->spawn, not mob->once_spawn like *monster script command did
2015-12-05Removed some unnecessary assertionsHaru3-9/+16
- Follow-up to 81e0257 Signed-off-by: Haru <haru@dotalux.com>
2015-12-05Fixed a client crash when a MVP Tombstone is createdHaru1-7/+1
- Follow-up to 57f09704 - Fixes #901, thanks to zackdreaver Signed-off-by: Haru <haru@dotalux.com>
2015-12-04Merge pull request #774 from 4144/mapchecksHaruna9-23/+239
Add missing checks to some files in map server
2015-12-04Add missing check to mail.cAndrei Karas1-0/+6
2015-12-04Add missing check to log.cAndrei Karas1-0/+32
2015-12-04Add missing checks into itemdb.cAndrei Karas1-2/+30
2015-12-04Add missing checks to irc-bot.cAndrei Karas1-6/+24
2015-12-04Add missing checks to intif.cAndrei Karas1-2/+55
2015-12-04Add missing checks to instance.cAndrei Karas1-0/+7
2015-12-04Add missing checks to homunculus.cAndrei Karas1-9/+46
2015-12-04Add missing checks to guild.cAndrei Karas1-1/+26
2015-12-04Add missing checks to elemental.cAndrei Karas1-3/+13
2015-12-04HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-04Merge pull request #910 from dastgir/idleAndrei Karas5-36/+28
Added a function to update idle time
2015-12-04Added a function to update idle timeDastgir5-36/+28
2015-12-02Fixed an issue with the HPMDataCheck when PCRE is enabledHaru32-67/+62
- Follow-up to 300668d, thanks to AnnieRuru Signed-off-by: Haru <haru@dotalux.com>
2015-12-02HPM Hooks UpdateHercules.ws1-0/+5
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-02Fixed compile errors on very old PACKETVERsHaru7-34/+60
- Fixes #903 and other similar problems Signed-off-by: Haru <haru@dotalux.com>
2015-12-02Fixed an issue with the socket send/receive timeouts in WindowsHaru1-12/+27
- According to https://msdn.microsoft.com/en-us/library/windows/desktop/ms740476(v=vs.85).aspx setsockopt() for SO_RCVTIMEO/SO_SNDTIMEO require a DWORD argument, unlike their POSIX equivalent, requiring a struct timeval. - Always keep in mind: When you see a Microsoft API function that looks like a duck, swims like a duck, quacks like a duck, it most certainly is not a duck. - Thanks to ultramage. Signed-off-by: Haru <haru@dotalux.com>
2015-11-28Fixed a compilation error when the memory manager is disabledHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>