summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-02Hello! few things.shennetsind1-21/+21
1) fixed bugreport:6603 - delayed clearunit now makes use of the ERS which is quite convenient for it speeds up due to the previous amount of mallocs that function would spend. 2) added extra debug information to the ERS system (before on any of its warnings we'd go OH MY GOD WHICH ONE OF THEM DID IT!!!), now upon allocation you give it a const, human-readable, name. 3) added support for options in the ERS system to save multiple/redudant processing in battle_delayed_damage and clif_clearunit_delayed and perhaps also in the future. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31- Fixed @item so it only displays message "Item created" on success.brianluau1-0/+5
- Changed @raisemap to also function as "@healmap". - Changed txt_time() to omit days/hours/seconds if there are none. - Also applied the 'min_chat_delay' to @main, @pettalk and @homtalk. - Fixed a warning in skill.c (bugreport:6593) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-27Fixed bugreport:6516 where duplicate entry in produce_db.txt is been ignored ↵rud0lp201-2/+7
when both required skills are present in a character (ex. AM_PHARMACY w/ GN_CHANGEMATERIAL) Updated all Genetic's item creation skills to its official behavior and added all missing items used for GN_CHANGEMATERIAL.(bugreport:6539) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-25Follow up r16669 updated the new monster hp to its official behavior.rud0lp201-0/+8
Follow up r16661 added missing configuration for variable cast time reduction through stats. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Major cleanup all over the place, made possible by mkbu95's scan-build ↵shennetsind1-8/+8
report he provided us with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-20Added support for the new monster purple hp bar packet (packetver >= ↵shennetsind1-1/+20
20120404), make sure to toggle /monsterhp in the client to show the bar. Special Thanks to EvilPuncker and scriptor for the packet structure git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Follow up r16632, added check on level up so that the equip is automatically ↵shennetsind1-2/+2
unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11Fixed bugreport:6456 repair scroll (#14587) is now fully functional, bug was ↵shennetsind1-1/+2
due to the range being checked on pc_checkskill and it'd return 0 when the caster isn't a blacksmith class (or doesn't have repair weapon mastered), the skill level cast is now stored in (struct map_session_data)->menuskill_val2. special thanks to kyeme for his persistence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Follow up r16543, you nasty thing how did you get commented out?! shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Fixed favorite item tab, now items are only moved if you place them in the ↵shennetsind1-7/+11
proper tab (before this you could try to move a consumable to the etc tab and it'd go to favorite tab.) thanks to malufett for his info&report! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special ↵shennetsind1-4/+17
thanks to emong. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6357 where buf is attempt to be used outside it bounds..rud0lp201-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, ↵rud0lp201-2/+42
WZ_GRAVITATION, NJ_RAIGEKISAI).(bugreport:6342, bugreport:6336, bugreport:6339, bugreport:6331) Added some Kagerou/Oboro skills. Special mega thanks to Judas :) (KO_HUUMARANKA,KO_MEIKYOUSISUI,KO_ZANZOU,KO_KYOUGAKU,KO_JYUSATSU,KO_KAHU_ENTEN,KO_HYOUHU_HUBUKI,KO_KAZEHU_SEIRAN,KO_DOHU_KOUKAI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Added support for the "favorite item tab" feature. super-mega-thanks to ↵shennetsind1-2/+52
Judas, credits to Fatal Error. Be aware this update requires a new column in the inventory db, run upgrade_svn16517.sql in your database. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-27Fixed bugreport:309 combos may now stack properly. moved all combo ↵shennetsind1-5/+3
processing out of item bonuses and made it's own processing scheme, which is by far more efficient cpu-wise although it requires a little more memory, instead of checking for combo items whenever a status effect is turned on/off it only checks when equipping/un-equipping a item (and on login). Special Thanks to GreenBox, Kenpachi, Skotlex and Trojal git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26Added the merges proposed in evilpuncker's list of suggestions: ↵shennetsind1-8/+6
http://rathena.org/board/topic/63001-my-rathena-suggestions/page__st__20#entry124218 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Moved a few messages from source to msg_athena.conf.xazax-hun1-5/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Fixed bugreport:6302 where WUG Riding state is not save in char log out.rud0lp201-0/+3
Follow up r16483 where I forgot to include the list of skills that can be used when riding a WUG.XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21Fixed an old bug in waitingroom where NPCs weren't appearing into their ↵daegaladh1-8/+26
chatrooms. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-14- Added new script command hommutate which changes an Homunculus into an ↵masao871-2/+8
Homunculus S Class. Super special thanks to Xantara for doing the command! - Added 2 new configs to homunc.conf to set the Max. Level for Homunculus and homunculus. - Updated homun_exp.txt table with values from Lvl. 99 to 150 for Homnunculus S. - Updated script_commands.txt with description of the new script command. - Added Homunculus S Quest. bugreport:5641 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Hello World. Initial support for the new homunculus has been added, credits ↵shennetsind1-0/+26
to brAthena for the base. Not all skills are yet supported, when a non-supported skill is used rather than the usual warning in the console you'll get a red-coloured message in-game "this skill is not yet supported". please step by our bug tracker should you step by any bugs. thank you very much, you're a great crowd. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01Fixed bugreport:5788 WL_READING_SB should now work like official ↵rud0lp201-1/+3
behavior(save preserved spell on relog, proper skill fail message, maximum number of spell that a char can hold) Fixed bugreport:5657 WL_EARTHSTRAIN should now work like official behavior(total number of range [15x4+lv], layout when casted, interval) Updated WL_IMPRISON duration, rate and proper skill fail message. Special thanks to Yommy and his amazing tool... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01Fixed bugreport:6045 characters will no longer be left "broken" when with 0 ↵shennetsind1-0/+4
hp (usually caused by a crash), instead they'll login dead with the window to go back to respawn point or remain there :p. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-15Fixed bugreport:6035, chars will now start with all stats 1 and 48 status ↵shennetsind1-22/+25
points as for clients 2012 march and beyond. Did some cleanup at clif.c packet parsing and applied some curly brace love. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-15Modified unknown packet ver message to provide more data as on what it ↵shennetsind1-4/+5
believes is an invalid packet ver (e.g. useful to know whether its because of an obfuscated packet header etc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Added support for new carts (requires packetver 20120201 or newer). ↵shennetsind1-1/+26
Super-Ultra-Plus thanks to Fatal Error and Judas. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-06- Fixed a crash issue where sprintf was attempting to write outside of the ↵epoque111-1/+1
bounds of an array git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16227 & bugreport:5932 fixed issues with my new-IDE tabbing, & ↵shennetsind1-7/+7
default configuration setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03Adding new config min_npc_vending_distance which simulates the official 'no ↵shennetsind1-0/+9
vending near npcs' feature. super mega credits to masao git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Follow up r16209 moving on; yet another performance improvement. added 3 ↵shennetsind1-11/+4
other states for the system to speed up. modified the scs_flag to be accurate (with one conditional flag they could stack and give undesired results e.g. with cloacking) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Follow up r16187 adjusted packetver range for the rode bugfix, special ↵shennetsind1-1/+1
thanks to sizenine git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5812 november 2011 or earlier clients shall now display the ↵shennetsind1-0/+4
robes properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5835 vendings are no longer broken when character moves map ↵shennetsind1-0/+5
or is recalled by a gm. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31* Merged changes up to eAthena 15114.eathenabot1-12/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31* Merged changes up to eAthena 15112.eathenabot1-1/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31* Merged changes up to eAthena 15111.eathenabot1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Follow up r16143 minor minor performance improvementshennetsind1-5/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen ↵rud0lp201-0/+8
when sight is refreshed. Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants. Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-13Fixed bugreport:5722 now client "/" commands that use @command functionality ↵shennetsind1-23/+30
will respect the atcommand_symbol config. Special Thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-08Fixed an issue with MDEF & DEF where it does not updating after equipping. rud0lp201-2/+11
MDEF & DEF are now can be negative value and adds boost on damage like in the official servers. Fixed aspd calculations on some skill bonuses and reductions(SC_PARALYSE, SC_BODYPAINT, SC_INVISIBILITY, SC_GROOMY, SC_SWINGDANCE, SC_DANCEWITHWUG, SC_GLOOMYDAY, SC_EARTHDRIVE, SC_GT_CHANGE, SC_GT_REVITALIZE, SC_MELON_BOMB, SC_BOOST500, SC_EXTRACT_SALAMINE_JUICE, SC_INCASPDRATE) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03* Replaced some literals with enum values.xazax-hun1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working ↵shennetsind1-1/+1
properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5484 Cursed Circle caster can no longer move while in the ↵shennetsind1-1/+4
effect (but if he casts any skill it cancels his state and his targets' one). Cursed Circle caster is no longer to attack nearby units either, Also fixed a bug in manhole that allowed trapped character to attack nearby units. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5660 DEF and MDEF now display in its proper renewal fields ↵shennetsind1-14/+13
(under renewal mode) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Code consistency updates. No functional changes. Credits to Lighta.xazax-hun1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5537 SR_GENTLETOUCH_CURE now acts with official behavior.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed Spell Fist being unable to cast while casting a bolt skill ↵epoque111-3/+3
(bugreport:5597) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).brianluau1-3/+3
- Also enforce sd->emotionlasttime for pet emotions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind1-87/+218
to 3CeAM for the base. Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql) If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much. ARRIBA ARRIBA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11Rollbacked clif.c from the changes of r15828, r15830 and r15833 (they were ↵shennetsind1-35/+501
causing quite a few bugs and protimus wasn't available to fix). special thanks to keikun. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15849 54d463be-8e91-2dee-dedb-b68131a5f0ec