summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18- Fixed the function that returns the job name to include 3rd jobs - Fixes ↵xantara1-0/+50
@who2 - bugreport:5252 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Extended @alootid command to support multiple items (default: 10).gepard19841-0/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Reorganized picklog functions a bit to reuse some common code.gepard19841-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17Enabled Mersenne Twister MT19937 as random number generator instead of ↵gepard19841-10/+11
standard `rand()` function (follow-up to r14865, r14870). - It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15066.eathenabot1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15058.eathenabot1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15054. [ai4rei]eathenabot1-3/+3
* clif cleanup: Changed argument types of some clif functions. - Added enumeration for skill failure codes and made clif_skill_fail use it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15053. [ai4rei]eathenabot1-1/+1
- clif cleanup: Changed clif_changestatus so that it takes sd instead of bl, since it only accepts BL_PC bls anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15Fixed gm_all_skill, bugreport:5239shennetsind1-9/+35
Removed broken skills from skill tree, so @allskill doesn't give resource errors when gm_all_skill is enabled. Increased maximum client packet size drop limit (was limiting gm_all_skill unnecessarily since the client doesn't crash with it) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Added expire messages and night flag to the list of things ↵shennetsind1-19/+19
not-to-be-REdisplayed if you change map-servers (on multi-map-server setups) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14another cool multi-map-server ancient bugfix:shennetsind1-13/+16
- added a 'changing_mapservers' state, so the map server receiving the player knows he doesn't have to do certain things, in this case not display motd and use the aurafix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11added remode-specific exp files processing as per kenpachi request, special ↵shennetsind1-1/+5
thanks to brianl git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11Picklog improvements:gepard19841-27/+26
- now it is finally possible to log every item players gain or lose - added 3 log types: `I` for auctioned items, `B` for buying shop transactions and `X` for all other items transactions that don't fall into another category (for detailed explanation on all log types read `conf/log_athena.conf`) - it also fixes items being logged as picked up/gained by player when in fact they were dropped on the ground due to full inventory git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-07Initial support for Royal Guard and some adjustments here and there.shennetsind1-3/+117
- credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Re-designed /db/ folder structure as previously discussed.shennetsind1-8/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Removed unused and unofficial bonus `bRandomAttackIncrease` (in SVN since ↵gepard19841-6/+0
r2, bugreport:2139). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01Added new @/# command aliases pattern, all aliases can now be ↵shennetsind1-1/+1
modified/added/removed in the front-end within atcommand_conf (no longer hardcoded). The aliases pattern was defined in this topic: tid:56343 atcommand_conf file rewrite/update belongs to Jguy and BrianL git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-30Added support for RE attr table, due to bugreport:5182shennetsind1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-1/+1
Fixed SC_BURNING from making character unable to move/cast skills/use items/etc, bugreport:5174 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed Ranked Taekwon skill reset bug, bugreport:3230shennetsind1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Added "Set Zeny, Zeny +/- whatever;" script operation to be logged by ↵shennetsind1-0/+1
log_zeny (from log_athena.conf), bugreport:2666 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15269, fixed a few typos and a test entry that wasn't meant to be ↵shennetsind1-1/+5
submitted. - Added new item bonus 'bonus bMatk,<value>'; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Added new bonus for RE cards 'bonus bWeaponMatk,<value>;'shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15267, changed to standardshennetsind1-5/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Fixed Katar critical boost on status window (would work; but not change the ↵shennetsind1-0/+5
value in the window), bugreport:3053 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Rangers no longer are able to mount a new mount, bugreport:5158shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24* Merged changes up to eAthena 15040.eathenabot1-9/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23Wug riding state is no longer saved on logout, bugreport:5155shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23Fixed Strip Helm from not allowing you to put on a different middle/ lower ↵shennetsind1-1/+1
headgear. bugreport:364 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22Removed a redundant check. Rebranding a variable.xazax-hun1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22job_class would return '650' (baby shadow chaser) rather than 651, 'unknown ↵shennetsind1-2/+2
job' on non-handled, bugreport:5139 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21follow up r15194, fix to bugreport:5134shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Added Official Costume (Style Tab) Headgear Supportshennetsind1-7/+44
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17- Replaced log_config.enable_logs constants with LOG_ enums that existed ↵brianluau1-3/+3
since r9599. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15150 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-15whops, typo.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15127 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14follow up to to r15120shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Fixed login-without-aura issue, bugreport:4940shennetsind1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Renamed RRMODE to REMODEshennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14- Added new check conditions to prevent abuse from no-delay .act files ↵epoque111-0/+1
(bugreport:4249) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13added cool down saving, bugreport:3976shennetsind1-1/+5
thanks to Epoque for his concept on how to handle the cool down data git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13- Fixed hidden GMs being processed in the PVP ranking timerepoque111-2/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-10- Renamed 'RRConfig' folder to 'config'.brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15052 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll ↵shennetsind1-23/+205
get it sorted. Some of the stuff included in RREmu that is now part of rAthena: - RE Drop Rate Modifier - RE Experience Rate Modifier - RE Weapon MATK - RE Shield ASPD job-specific penalty - RE Cast Time - Renewal-specific item DEF - 3.1 classes. - All-New Mounts - Official Magical Reflection - And other perks, such as fully-functional @mapflag also merged eAthena 15006 into rAthena. For Bugs, Comments and Suggestions: http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20* Applied map flag update patch provided by Daegaladh. Will mess with custom ↵L0ne_W0lf1-10/+23
restricted items. - Adds a reset mapflag which is checked when using the Neuralizer. - Syncronizes the item_noequip_db bitmasks with with skill_nocast_db. - Updates mapflags, and both skills and items which are restricted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-17* Rental items no longer expire in cart and storage. The packet does not ↵ai4rei1-44/+2
support this and rentals cannot be put in on official either (since r14082, related r14083). - Corrected packet 0x299 (ZC_CASH_ITEM_DELETE) missing inventory index field (since r13370). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11- Fixed the add_drop code breakage which ocurred after adding support for ↵Skotlex1-2/+3
SP_ADD_CLASS_DROP_ITEM. There's probably a bugreport for this, but the website is also broken currently :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- Commiting a bunch of cleanups piled up from the past few weeks/months/years.Skotlex1-1/+1
- Updated unitwarp so that an id of "0" causes the script's rid to be warped. - Updated the Brasilis ontouchNPC warp command to use unitwarp instead. - Signum Crucis's duration is now specified in the skill_cast_db file - Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value) - The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective. - Cleaned up the code for script command warpparty - Fixed the define itemdb_canrefine() - Cleaned up some the status_damage() function - Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance. - Some aesthetic code cleanups. - Fixed some possible crashes for skills where the code assumes the caster is a player. - Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-13Tweaked the sealed shrine entrance NPCs. Hopefully the damn thing works now.L0ne_W0lf1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-11* Added bonus3 bAddClassDropItem, care of Epoque.L0ne_W0lf1-2/+6
- Added several missing items to the item database, updated others. - Raised level 10 Dec. AGI to be level 48, when used by mobs. - Added missing mercenaries to the mercenary DB, and skills. - Added missing monster_chat_db entries for Nydhoggr's Shadow. - Added Brasilis pets to the pet DB, these pets are unhatchable on purpose. - Added additional quests to the quest_db, mostly for RE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09* Removed duplicate entries for Gunslinger and Ninja in msg_athena.conf ↵ai4rei1-6/+2
(since r5506). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14892 54d463be-8e91-2dee-dedb-b68131a5f0ec