summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)AuthorFilesLines
2013-11-15HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-15Official Item BindOnEquip Supportshennetsind1-2/+3
Implements the 'BindOnEquip' item db field which determines whether the piece of equipment should bind to the character upon being equipped. When a character tries to equip such a item for the first time a dialog shows up asking the character to confirm whether to equip the item or not, and notifying the character that by equipping the item it will become bound to the character, and therefore unable to be used by another character. Special Thanks to Beret for all the information, Haruna for testing. Signed-off-by: shennetsind <ind@henn.et>
2013-11-15Fixed db2sql plugin forcing minimal modeshennetsind1-4/+2
Would turn map server into minimal mode regardless of the --db2sql option being used. Signed-off-by: shennetsind <ind@henn.et>
2013-11-15Modified db2sql plugin to maintain item_db2.sqlshennetsind1-0/+13
makes it easier to keep the table structure up to date Signed-off-by: shennetsind <ind@henn.et>
2013-11-15Re-generated SQL item databases with the updated db2sql pluginHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2013-11-15HPM Hooks UpdateHercules.ws3-56/+118
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-14Updated db2sql plugin for the needs of the new itemdbshennetsind1-96/+150
May be used as ./map-server --db2sql or by typing "server tools db2sql" within map-server console parse. Special Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-11-13HPM Custom Data Struct Makeover!shennetsind1-7/+7
- Modified how the core handles it, making it easier to add new points. - Modified how plugins call it, calls were made shorter, e.g. 'HPMi->getFromSession(session[fd],HPMi->pid,0)' => 'getFromSession(session[fd],0)' -- check src/common/HPMi.h #defines for all the options - Added support for npc_data (getFromNPCD and so on) as requested in http://hercules.ws/board/topic/2923-hpm-custom-struct-npcs/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-11HPM Hooks UpdateHercules.ws3-0/+61
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-09HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-09HPM Hooks UpdateHercules.ws3-26/+26
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-08HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-07HPM Hooks UpdateHercules.ws3-0/+182
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-07HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-07HPM Hooks UpdateHercules.ws1-179/+180
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-06HPM Hooks UpdateHercules.ws1-54/+54
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-05HPM Hooks UpdateHercules.ws5-3/+377
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-11-02HPM Hooks UpdateHercules.ws3-0/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-27HPM Hooks UpdateHercules.ws3-0/+60
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-27HPM Hooks UpdateHercules.ws1-12/+12
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-26HPM Hooks UpdateHercules.ws1-349/+349
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-26HPM Hooks UpdateHercules.ws3-0/+61
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-24HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-21HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-19HPM Hooks UpdateHercules.ws3-0/+135
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-18HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-18HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-17HPM Hooks UpdateHercules.ws1-2437/+2437
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-1996/+2026
2013-10-16Modified HPM Hook Cachingshennetsind1-3/+5
Dropped hard-coded indexes, will make updates of the file in the future be smaller and much more clear in content. Made Possible Thanks to Haruna <3 Signed-off-by: shennetsind <ind@henn.et>
2013-10-17HPM Hooks UpdateHercules.ws3-1996/+2026
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2013-10-14Re-generated HPMHooking definitionsHaru3-1797/+2067
Follow-up to c5c3381b0b8b0b59c669d474acf749db82d7edb1 Signed-off-by: Haru <haru@dotalux.com>
2013-10-09Added HPMHookGen tool, to re-generate hooks include filesHaru5-12172/+12205
- Slightly reformatted the include files (as produced by the new tool) - You normally won't need to use the generation tool, but in case you do, the software requirements are: * A Unix-compatible system (cygwin may work, or may not), capable to use the Hercules configure/make build system * perl (the perl executable must be in your $PATH) * doxygen (the command-line doxygen executable must be in your $PATH) - The generation tool was developed in collaboration with Ind (originally in php, the file here included is a tweaked version ported to perl) Signed-off-by: Haru <haru@dotalux.com>
2013-10-08Small tweaks to the HPM Hook handlers (improved retVal initializations)Haru1-2450/+1225
Signed-off-by: Haru <haru@dotalux.com>
2013-10-07Follow up c56e3eb701658079f1de09db759f3b09327ec046shennetsind3-1839/+2139
Adjusted PARTY_RECRUIT accordingly, special thanks to ossi0110 for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
2013-10-07Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-3/+9
2013-10-07Fixed Bug #7744shennetsind3-2172/+2542
Adjusted missing #ifdef behavior to be friendly to the hooking. http://hercules.ws/board/tracker/issue-7744-compiler-error-on-hpm-hooking-after-undefined-packetver-re/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-05Added 'buildclean' target to all makefilesHaru1-3/+9
- By invoking 'make buildclean', you can clean up all the build intermediate (object) files, without deleting any of the built executables and plugins. - To delete everything, use 'make clean', as you've always done. Signed-off-by: Haru <haru@dotalux.com>
2013-10-04HPM: Hooking!shennetsind8-13/+76060
http://hercules.ws/board/topic/2399-hpm-hooking-now-available/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-27Renamed iMap interface to mapHaru1-17/+17
Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Added Makefile.in change detection (and auto-rebuild) capabilitiesHaru1-1/+4
- 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>
2013-09-18Makefiles improvements and cleanupHaru1-1/+1
This should resolve #138 (please reopen or comment on it if it's not the case). Special thanks to Takkun for helping to reproduce the issue. Signed-off-by: Haru <haru@dotalux.com>
2013-09-16Corrected line endings and BOM issues with several filesHaru3-3/+3
- Ensured final end-of-line character in every file. - Corrected cases of mixed line endings (mostly CR and CRLF within the same file.) - Removed extra BOM from some scripts, since it causes a parsing error. Signed-off-by: Haru <haru@dotalux.com>
2013-08-08HPM Updateshennetsind1-4/+78
- Custom Packet Support - Custom Data Struct Support (currently append-able to map_session_data and socket_data) - Char Server Support - Login Server Support http://hercules.ws/board/topic/1934-hercules-plugin-manager-update/ Documentation will soon be updated in http://hercules.ws/wiki/HPM Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Changed CC to a Makefile variableHaru1-1/+4
- This allows the user to override the compiler at each make invocation (i.e. to run scripts to generate .clang_complete for https://github.com/Rip-Rip/clang_complete ) - Updated .gitignore with a few platform-dependent entries Signed-off-by: Haru <haru@dotalux.com>
2013-07-10- Updated dbghelp.dllMatias1-0/+1816
- Added dbghelpplug.c souce code made HPM compatible. Signed-off-by: Xgear <matiassw@gmail.com>
2013-07-04Split use_sql_db into the three available: item_db, mob_db, mob_skill_db.Matheus Macabu1-4/+4
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-24Fixed db2sqlshennetsind1-3/+3
Wasn't taking in account the delay_consume flag which actually means the item type is 11 not 2. Also added a extra warning in the item packages parser. Special Thanks to ossi0110 for bringing this up. Signed-off-by: shennetsind <ind@henn.et>
2013-06-24Follow up fcba8a2161a392369db99ab9a516a24470c54796shennetsind1-1/+6
Fixed "random" item package rates, special thanks to Beret. Also, added the missing (+130) item package calls (special thanks to Streusel!) Signed-off-by: shennetsind <ind@henn.et>
2013-06-23Official Item Group/Package/Chainshennetsind1-2/+5
http://hercules.ws/board/topic/1244-official-item-grouppackagechain/ Also Further implemented itemdb.c/storage.c interfaces, and a minor update to db2sql plugin. Signed-off-by: shennetsind <ind@henn.et>