summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-17HPM: Battleground.c Interfaceshennetsind1-7/+7
Fully Integrated. Closes #97 Signed-off-by: shennetsind <ind@henn.et>
2013-09-17HPM: Itemdb.c Interfaceshennetsind1-7/+7
Fully Integrated. Closes #110 Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Pet.c Interfaceshennetsind1-3/+3
Fully Integrated. Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Npc.c Interfaceshennetsind1-17/+17
Fully Interfaced. Special Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Unit.c Interfaceshennetsind1-7/+7
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
2013-09-16HPM: Mob.c Interfaceshennetsind1-1/+1
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
2013-09-11Fixed announce script command support for bc_blue and bc_woeHaru1-3/+3
- Fixes an issue where it wasn't possible to use bc_blue or bc_woe at the same time as bc_map, bc_area or bc_self. (this partly works around bugreport:7693 - http://hercules.ws/board/tracker/issue-7693-character-with-name ) - Replaced bc_* related values from various places through the sources with constants. Signed-off-by: Haru <haru@dotalux.com>
2013-09-09Fixed Bug #7335shennetsind1-12/+8
Modified several gvg checks to include checking whether it is a guild castle ( map_flag_gvg2 does so and no it doesn't mean woe:se ) Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7335-woe-castle-behavior/ Also follow up 24ced6fcef1a95a2abd0c60b4fe90cbbc3aea268 changed 512 with its constant, special thanks to EPuncker. Signed-off-by: shennetsind <ind@henn.et>
2013-09-09Fixed Bug #7343shennetsind1-2/+2
Fixed GvG/PvP warp-on-death thing to not have a 1-second delay and be instantaneous, and not display the respawn window whenever applicable. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7343-gvg-warp-back-delay-when-died/ Signed-off-by: shennetsind <ind@henn.et>
2013-09-06Fixed @reloadpcdb to refresh online player datashennetsind1-4/+9
Special Thanks to hemagx, closes #92 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-14Fix for Bug #7471shennetsind1-75/+22
HELLO WORLD. DADDY IS BACK. Fixed ancient pc_calc_skillpoint bug that'd count guild skills towards the player's total. Special Thanks to malufett and the countless who provided us with debug information on this issue. This commit implements a temporary command @skdebug, in case there are people still reproducing the issue please include the output of this command in your new report, it displays the information required for us to adjust any possible oddities. http://hercules.ws/board/tracker/issue-7471-skill-points-not-evenly-distributed-anymore/ Signed-off-by: shennetsind <ind@henn.et>
2013-08-07For Report #7333shennetsind1-0/+1
Added official 'this item cannot be used within this area' response http://hercules.ws/board/tracker/issue-7333-map-zone-db/ Special Thanks to kyeme Signed-off-by: shennetsind <ind@henn.et>
2013-08-07Fixed skill flagging (mostly related to SKILL_FLAG_REPLACED_LV_0 )shennetsind1-10/+12
Adjusted value as to not conflict with the perm_granted flag Special Thanks to Wildcard, malufett. Also made pc_skillup rely on the change_level_2nd/3rd vars instead of hardcoded values, and added a pc_gainexp packetver check that'd otherwise cause map server warnings when within the range. Signed-off-by: shennetsind <ind@henn.et>
2013-07-31Fixed Bug #7453shennetsind1-9/+4
Added the missing support for conf/battle/gm.conf::atcommand_mobinfo_type on @mobinfo (partially from rathena) Modified @ii to stop always displaying 'monsters dont drop this item' while the configuration is on. Special Thanks to Napster. http://hercules.ws/board/tracker/issue-7453-mobinfo-iteminfo-not-showing-the-correct-information-depending-the-level/ Follow up 2fbec282b9b3eb84f710d5537f70e6bc221187b3 Missing messages.conf entry Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Permission cache overhaulPiotr Hałaczkiewicz1-15/+73
* 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-29Merge branch 'master' of https://github.com/HerculesWS/HerculesSusu1-5/+19
2013-07-29Added mercenary interfaceSusu1-1/+1
2013-07-29Added intif interfaceSusu1-17/+17
2013-07-29Ultimate Item DB Updateshennetsind1-5/+19
http://hercules.ws/board/topic/1778-ultimate-item-db-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-29Added elemental interfaceSusu1-3/+3
2013-07-29Added iDuel interface (duel.c)Susu1-2/+2
2013-07-26Fixed Bug #7564 Part 2shennetsind1-4/+4
Fixed mapid check doing upper instead of base in several locations. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-25Expanding script.c interfaceshennetsind1-28/+28
Hercules Renewal Phase One. Signed-off-by: shennetsind <ind@henn.et>
2013-07-22Fixed Bug #7564shennetsind1-1/+1
Trickdead will now go away upon job changing to a non-novice class, pre-existing non-novice characters with the trickdead skill granted will automatically be fixed on login (unless the skill was granted via flag 3) Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Fixed Bug #7526shennetsind1-0/+1
Skill from items with instantaneous casting are no longer affected by magic power http://hercules.ws/board/tracker/issue-7526-item-skill-error/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-21For Bug #7542shennetsind1-0/+5
Attempting to open boxes or packages while 90% overweight will fail and result in a error message. http://hercules.ws/board/tracker/issue-7542-bug-when-weight-90/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-21Fixed Bug #7520shennetsind1-15/+69
Added code to ensure 1st/2nd tabs are meeting the conditions; Special Thanks to Haruna, ToiletMaster http://hercules.ws/board/tracker/issue-7520-skill-point-error/ Also - Follow up 9bcb1423969870a6b60819e6f3846fe0235e28a9 extending it to cached item packages. 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-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-2/+1
2013-07-11Fix to Bug #7434shennetsind1-7/+8
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 Bug#7498malufett1-2/+1
-Where RE equip atk doesn't properly update status window and negative equip atk should now affect atk. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-07-07Fixed Bug#6503malufett1-4/+4
-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/+2
http://hercules.ws/board/tracker/issue-7307-status-weapon-switch/ Special Thanks to kyeme, Beret. Signed-off-by: shennetsind <ind@henn.et>
2013-07-04item_check config now deletes items from storage and guild storage. ↵Matheus Macabu1-0/+24
Suggestion topic #417, thanks to bgames23. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-07-04Merge branch 'master' of github.com:Earisu/Hercules into Earisu-mastershennetsind1-46/+46
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-6/+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-46/+46
are already called 'status')
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-27Follow up e5b1d3bdff66c9475755651a94d20057fc4d02ddshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-06-27Merge pull request #52 from MatiasSW/chatdisguiseshennetsind1-0/+8
Chatroom deleting after @disguise
2013-06-27Merge pull request #50 from Earisu/mastershennetsind1-11/+11
Chrif interface
2013-06-26Fixed Bug#7402malufett1-0/+1
-Added some missing calc in re atk. Fixed Bug#7378 -PA_GOSPEL should now clear buffs upon casting. Fixed Bug#7399 -Neutral skills should work properly with ghost type monsters. RENEWAL UPDATES: Updated some ninja & gunslinger skills to there renewal formula. Added exploit fix(RE fixed) with hunter stacking trap trick. Added some misc skills more to follow.
2013-06-25- Fixing an isue with Disguise that'd make chatrooms disappear when ↵Matias1-0/+8
@disguise'ing after creating a chat
2013-06-25- Added chrif interfaceSusu1-11/+11
2013-06-24Fixed Bug #7419shennetsind1-2/+1
Special Thanks to Axiom http://hercules.ws/board/tracker/issue-7419-pcc-error/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-24Fixed Bug #7412shennetsind1-9/+15
Special Thanks to shenhuyong http://hercules.ws/board/tracker/issue-7412-create-instancereloadscript-causes-map-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-23Follow up fcba8a2161a392369db99ab9a516a24470c54796shennetsind1-3/+1
Amazing, all my huge commits end up having debug left overs no matter how hard I try to not leave any behind T___T so sad ;__; /embarrassed Signed-off-by: shennetsind <ind@henn.et>
2013-06-23Official Item Group/Package/Chainshennetsind1-673/+672
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>