summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2015-11-23ItemDB SQL SyncHercules.ws1-8/+9
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-23ItemDB Update:Jedzkie6-61/+80
- Added new official item status effect, 'SC_CUP_OF_BOZA'. - Follow up https://github.com/HerculesWS/Hercules/commit/f512a0b9cf93e2432f79b57fb05ccda4b6311b02. - Follow up https://github.com/HerculesWS/Hercules/commit/ce33936de2fcb9c565437cb80e6329ab76626500. - Follow up https://github.com/HerculesWS/Hercules/commit/d8909d9b2cf29f45c025fb93fc1df94ec1a40854. - Follow up https://github.com/HerculesWS/Hercules/commit/f65e0326ac7e6faf17451d4c6d275e4fd3133cc0. - Some white spaces adjustments.
2015-11-22ItemDB SQL SyncHercules.ws1-5/+12
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Updates:Jedzkie2-7/+174
- Added new official cash shop usable items and it's boxes: • STR Biscuit Stick - http://www.divine-pride.net/database/item/14616 • VIT Biscuit Stick - http://www.divine-pride.net/database/item/14617 • AGI Biscuit Stick - http://www.divine-pride.net/database/item/14618 • INT Biscuit Stick - http://www.divine-pride.net/database/item/14619 • DEX Biscuit Stick - http://www.divine-pride.net/database/item/14620 • LUK Biscuit Stick - http://www.divine-pride.net/database/item/14621 • STR Biscuit Stick Box - http://www.divine-pride.net/database/item/17270 • VIT Biscuit Stick Box - http://www.divine-pride.net/database/item/17271 • AGI Biscuit Stick Box - http://www.divine-pride.net/database/item/17272 • INT Biscuit Stick Box - http://www.divine-pride.net/database/item/17273 • DEX Biscuit Stick Box - http://www.divine-pride.net/database/item/17274 • LUK Biscuit Stick Box - http://www.divine-pride.net/database/item/17275
2015-11-22ItemDB SQL SyncHercules.ws2-19/+19
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie3-19/+34
- Fix some item behavior based on Official Servers. • Lucky Rice Cake • Charm Of Luck • Charm Of Happiness • Rune Kn Test Int • Takoyaki • Evasion Scroll • Concentration Scroll
2015-11-22ItemDB SQL SyncHercules.ws2-20/+20
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie6-25/+37
- Fix some item behaviors based on Official Servers. • Str_Dish10 (Healing percent) • Citron • Meat Skewer • Mre_B • Mre_C • Spray Of Flowers • Strawberry Cake • Pineapple Juice • Spicy Sandwich • Grilled Corn - Implemented the follow SC: • SC_FOOD_CRITICALSUCCESSVALUE (Based on Aegis VAR_CRITICALSUCCESSVALUE)
2015-11-22ItemDB SQL SyncHercules.ws2-20/+20
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie2-38/+76
- Fix some item behavior that should not stack w/ other stat foods. • Tyr's Blessing - http://www.divine-pride.net/database/item/14601 • Internet Cafe1 - • Internet Cafe2 - • Internet Cafe3 - • Internet Cafe4 - • Luxurious Western Food - http://www.divine-pride.net/database/item/14607 • Manchu-Han Imperial Feast - http://www.divine-pride.net/database/item/14608
2015-11-22ItemDB SQL SyncHercules.ws2-5/+5
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22Merge branch 'master' of http://github.com/HerculesWS/HerculesJedzkie2-4/+4
2015-11-22ItemDB Update:Jedzkie3-8/+15
- Fixed 'Black Thing' not decreasing Stats and Movement Speed. - Fixed 'Enriched White Potion Z' no HP regeneration.
2015-11-22ItemDB SQL SyncHercules.ws2-4/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie6-40/+44
- Added official item effect of 'Gold Pill 1' and 'Gold Pill 2'. - Update SC_ACARAJE flag in sc_config.txt. Ref: http://www.divine-pride.net/database/item/12274, http://www.divine-pride.net/database/item/12275
2015-11-22MobDB Update:Jedzkie1-19/+903
- Added 'Geffen Magic Tournament' monsters. • Ahri - http://www.divine-pride.net/database/monster/2549 • Dio Anemos - http://www.divine-pride.net/database/monster/2550 • Geffen Shoplifter - http://www.divine-pride.net/database/monster/2551 • Geffen Bully - http://www.divine-pride.net/database/monster/2552 • Geffen Gang Member - http://www.divine-pride.net/database/monster/2553 • Faymont - http://www.divine-pride.net/database/monster/2554 • Ordre - http://www.divine-pride.net/database/monster/2555 • Blut Hase - http://www.divine-pride.net/database/monster/2556 • Kuro Akuma - http://www.divine-pride.net/database/monster/2557 • Ifodes - http://www.divine-pride.net/database/monster/2558 • Licheniyes - http://www.divine-pride.net/database/monster/2559 • Orodic - http://www.divine-pride.net/database/monster/2560 • Ju - http://www.divine-pride.net/database/monster/2561 • Dwigh - http://www.divine-pride.net/database/monster/2562 • Fay Kanavian - http://www.divine-pride.net/database/monster/2563 • Fenrir - http://www.divine-pride.net/database/monster/2564 • Alphonse - http://www.divine-pride.net/database/monster/2565 • Alphonse Jr - http://www.divine-pride.net/database/monster/2566 • E_GEFFEN_MAGIC_3_2 - http://www.divine-pride.net/database/monster/2567 • E_GEFFEN_MAGIC_3_3 - http://www.divine-pride.net/database/monster/2568 More info: http://irowiki.org/wiki/Geffen_Magic_Tournament NOTE: This commit is not complete, we need more Information of their official behaviors as well as their drop, and etc.
2015-11-22Follow Up d8909d9bDastgir1-1/+1
2015-11-22SC Update:Jedzkie5-2/+97
- Added 'Eden Crystal Synthesis' statuses. - Added 'Geffen Magic Tournament' statuses. Note: their sc_config.txt are not yet implemented, needs more information on official servers.
2015-11-22ItemDB SQL SyncHercules.ws2-24/+24
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie7-79/+153
- Implemented the Geffen Scrolls and Mental Potion official effects. Thanks to Kyeme. (Ref: http://herc.ws/board/topic/1125-please-implement-the-magic-scroll-mental-potion-etc/)
2015-11-22ItemDB SQL SyncHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-22ItemDB Update:Jedzkie1-1/+1
- Fixes https://github.com/HerculesWS/Hercules/issues/626.
2015-11-21This reverts commit 3eb8f6cc123835fae6bbd847f02cdd45fcfccd60.AnnieRuru1-2/+2
2015-11-21Fix getitem/getitem2 give stacked items when ForceSerial on (#703)AnnieRuru1-2/+2
2015-11-20ItemDB SQL SyncHercules.ws2-18/+18
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>