summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22Fixed Bug #7652shennetsind1-5/+8
damage storage has been changed from int32 to int64 within areas where it could otherwise modified beyond the limit and get screwed up, this solves all related problems within any skills, not only asura. http://hercules.ws/board/tracker/issue-7652-asura-strike-overdamage/ Signed-off-by: shennetsind <ind@henn.et>
2013-08-20Fixed a mapserver crash when using instanced maps with custom namesHaru1-3/+3
- Fixes bugreport:7658 (thanks to purityz) http://hercules.ws/board/tracker/issue-7658-instance-mapserver-crashing/ - The crash was caused by a pointer becoming invalid when reallocating map[] (i.e. when adding maps), since 20bdc01f Signed-off-by: Haru <haru@dotalux.com>
2013-08-12Added support for Nick Server GHOST commandHaru1-1/+5
Credits to Yommy for the idea Signed-off-by: Haru <haru@dotalux.com>
2013-08-12Added support for target-less commands in the IRC bridgeHaru1-2/+2
Needed for future updates (such as receiving "QUIT" commands Signed-off-by: Haru <haru@dotalux.com>
2013-08-08HPM Updateshennetsind1-0/+9
- 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-08-05Improved reliability of the packet obfuscation key update functionHaru1-1/+1
Follow-up to 38b8bf0 Solves some edge cases where, depending on key and packet combination, the key may not be correctly updated and leads to a forced disconnection. Signed-off-by: Haru <haru@dotalux.com>
2013-08-04Fixed Bug #7605shennetsind1-5/+61
http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/ Signed-off-by: shennetsind <ind@henn.et>
2013-08-03Corrected character position de-synchronization when disguisedshennetsind1-2/+2
- Fixes bugreport:7502 http://hercules.ws/board/tracker/issue-7502-disguise-bug/ Special thanks to bgamez23 for the report Signed-off-by: shennetsind <ind@henn.et>
2013-08-02Fixed MSVC build, follow-up to 38b8bf0Haru1-1/+1
Thanks to Takkun for pointing it out. Signed-off-by: Haru <haru@dotalux.com>
2013-08-01Improved packet obfuscation reliabilityHaru1-21/+37
- Fixes bugreport:7607 http://hercules.ws/board/tracker/issue-7607-changing-emblem-with-packet-obfuscation-2-unknown-packet/ - Resolved unintended disconnections caused by invalid packets when obfuscation is enabled and a fragmented packet is received. - Improved packet parsing reliability when packet obfuscation is set to optional. Special thanks to serverkid for reporting the issue and Ind for figuring out the cause and suggesting a solution. Signed-off-by: Haru <haru@dotalux.com>
2013-07-31Fixed Bug #7605shennetsind1-162/+45
For packetver 2009 and below. http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Merge pull request #71 from HerculesWS/permission-cache-fixPiotr Hałaczkiewicz1-6/+6
Permission cache overhaul * Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc) * Removed duplicated information from session data in favor of direct pointer to group settings. * Added getters for all group data required to process permissions and related stuff. * Added new functions to PC interface and updated calls everywhere. * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group). * Moved command permission config parsing to atcommand module. * Improved dummy map session handling. * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function. * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`). * Various minor improvements and cleanups. * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function. * Moved definition of global array holding PC permission names from header file to source file. * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator. * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out). * Removed fixed length restriction on group names.
2013-07-29BG Queue Fixesshennetsind1-15/+16
Cleared 3 out of 5, #69 Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game. Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Permission cache overhaulPiotr Hałaczkiewicz1-6/+6
* Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc) * Removed duplicated information from session data in favor of direct pointer to group settings. * Added getters for all group data required to process permissions and related stuff. * Added new functions to PC interface and updated calls everywhere. * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group). * Moved command permission config parsing to atcommand module. * Improved dummy map session handling. * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function. * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`). * Various minor improvements and cleanups. * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function. * Moved definition of global array holding PC permission names from header file to source file. * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator. * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out). * Removed fixed length restriction on group names.
2013-07-29Fixed Bug #7597 / Follow up b7171479a47490ff80bf04849f763158d6d96facshennetsind1-1/+1
http://hercules.ws/board/tracker/issue-7597-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Added mercenary interfaceSusu1-8/+8
2013-07-29Added intif interfaceSusu1-15/+15
2013-07-29Added chat interfaceSusu1-7/+7
2013-07-26Follow up 144a9d0843dfe47e0b58c8857762f58ae70543c8shennetsind1-1/+1
It will no longer block the equipping of items, instead it will delay (if applicable) the item's effect until it is no longer capable of affecting the skills under the timer. Special Thanks to kyeme for the information. Signed-off-by: shennetsind <ind@henn.et>
2013-07-25Expanding script.c interfaceshennetsind1-1/+1
Hercules Renewal Phase One. Signed-off-by: shennetsind <ind@henn.et>
2013-07-18Fixed guild aura not going away on guild-break/expellshennetsind1-6/+6
Also modified sd->state.gmaster_flag from struct to a 'unsigned int : 1;' flag as sd->guild already stores the pointer and was thus a duplicate. Special Thanks to Haru, Xgear Signed-off-by: shennetsind <ind@henn.et>
2013-07-17Added missing initialization of some functions in the homunculus interfaceHaru1-23/+23
- Fixes issue #7536 (thanks to jTynne for the report) http://hercules.ws/board/tracker/issue-7536-map-crash-july-15th/ - Minor corrections to the other interfaces as well (reordered initialization to follow the definitions, removed duplicate entry in the skill interface initialization, commented out some unused entries) Signed-off-by: Haru <haru@dotalux.com>
2013-07-15Allow higher level GMs to bypass a player's /exall when whisperingHaru1-2/+2
- Follow-up to 3d0fba0 - Fixes the remaining part of bug #7463: http://hercules.ws/board/tracker/issue-7463-gm-cant-whsiper-wheb-player-do-exall Signed-off-by: Haru <haru@dotalux.com>
2013-07-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-11/+13
2013-07-11Fix to Bug #7434shennetsind1-4/+19
Fixing a ancient bug where placing a item from inventory to cart when cart is full would render such item un-clickable, same for when doing so from storage to cart. Special Thanks to Yommy for all the data, jTynne for bringing this up. http://hercules.ws/board/tracker/issue-7434-weightinability-to-click-item-issue/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-11Fixed a little type (follow up to 94d75f8), also defaulted to 0 mute system.Matheus Macabu1-1/+1
2013-07-11Updated some aegis(item, monster, resetstate & resetskill) command to work ↵malufett1-11/+13
properly in Hercules.
2013-07-08For Bug #7494shennetsind1-7/+6
Modified skill cool down storage (also interfaced the remaining 2 static ers) http://hercules.ws/board/tracker/issue-7494-crash-crash-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-08Fixed skill delunit problem on packetver > 20120418 && < 20130000shennetsind1-0/+7
Special Thanks to Judas Signed-off-by: shennetsind <ind@henn.et>
2013-07-07Fixed Bug#6503malufett1-8/+15
-where SR_GENTLETOUCH_REVITALIZE is not working properly. Fixed Bug#6547 & Bug#6141 -SC_BLOODYLUST should now work properly like as official behavior. Fixed Bug#7395 -SO_SPELLFIST should now work properly. Fixed Bug#7477 -removed hidden walkdaley that makes character stop when hit even if SC_ENDURE is active. Fixed Bug#7475 -fixed error message in SA_AUTOSPELL when cancel button is pressed. Fixed Bug#7337 -MG_CHANGECART should now work properly. Fixed Bug#7474 -SC_MAELSTROM should now work properly like as official behavior.
2013-07-05Fixed Bug #7307shennetsind1-1/+1
http://hercules.ws/board/tracker/issue-7307-status-weapon-switch/ Special Thanks to kyeme, Beret. Signed-off-by: shennetsind <ind@henn.et>
2013-07-05Fixed GM's unloadnpc via right clickshennetsind1-3/+8
Signed-off-by: shennetsind <ind@henn.et>
2013-07-05Follow up to da064c030d. Thanks Angelmelody!Matheus Macabu1-0/+1
Few changes in .gitignore Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-07-04Implemented official mute system. Thanks to:Matheus Macabu1-7/+35
Ai4rei/Mirei for the code; kyeme for suggesting it; Napster for updating the patch. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-07-04Merge branch 'master' of github.com:Earisu/Hercules into Earisu-mastershennetsind1-57/+57
Adjusting for merge. Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c src/map/status.c src/map/status.h
2013-07-04Fixed Bug#7459malufett1-0/+17
-where 'working in progress' state is not cancel in change map/teleport. Fixed Bug#7265 -where casting AL_INCAGI into chars force them to stand where it now suppose to be. Fixed Bug#7337 -fixed some skills that deals 'work in progress' state. Fixed Bug#7467 -fixed compiling warning message. Renewal Updates -Temporary fix for skills final damage reduction. -Updated NJ_KUNAI to its renewal formula. -Updated/Fixed some interface messages. -Implemented additional new 3rd job skills(GN_ILLUSIONDOPING,RK_LUXANIMA,SO_ELEMENTAL_SHIELD,SC_ESCAPE) Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-07-04- Added interface iStatus (needed to renamed it because A LOT of variables ↵Susu1-57/+57
are already called 'status')
2013-07-03Fixed Bug #7463shennetsind1-5/+7
http://hercules.ws/board/tracker/issue-7463-gm-cant-whsiper-wheb-player-do-exall/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-01Fixed Bug #7216shennetsind1-0/+2
Special Thanks to Shikazu, wouldn't have been able to identify this issue without his help! http://hercules.ws/board/index.php?app=tracker&showissue=7216 Signed-off-by: shennetsind <ind@henn.et>
2013-06-30Fixed Skill Cooldownsshennetsind1-0/+36
Special Thanks to Vylow for bringing this to our attention. Also added support for the client-side cooldown left/total feature (packetver 20120604 and newer) Made Possible Thanks to Yommy =3 Signed-off-by: shennetsind <ind@henn.et>
2013-06-28BG Queue Testingshennetsind1-7/+22
http://hercules.ws/board/topic/1302-bg-queue-debug/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-27Fixed Bug #7321shennetsind1-0/+3
Special Thanks to Xgear, he and I spent about 3h to figure this little thing. http://hercules.ws/board/tracker/issue-7321-map-server-connectivity-on-windows/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-26Merge branch 'master' of https://github.com/HerculesWS/HerculesSusu1-5/+7
2013-06-25Fixed item package announcershennetsind1-5/+7
Made Possible Thanks to Yommy (<3!) Special Thanks to kyeme and Beret for bringing this issue to our attention. Signed-off-by: shennetsind <ind@henn.et>
2013-06-25- Added chrif interfaceSusu1-8/+8
2013-06-23Official Item Group/Package/Chainshennetsind1-18/+33
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>
2013-06-20Hercules Renewal Phase One: storage.cshennetsind1-16/+13
2 new interfaces: - storage - gstorage http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-20Follow up 8568f179f5cefa638d564b75119235bac4b9a3b3shennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-06-19Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-7/+8
2013-06-17Fixed Bug#7247malufett1-2/+2
-while vending you can now change equipments. Updated sc_config.txt notes. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>