summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-04-11Fixed bugreport:5535 while caster is in shadow formation he no longer can ↵shennetsind1-1/+1
attack or use items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-07Fixed some minor issue, follow up r15828.xazax-hun1-3/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-04More cleanups for old clients.protimus1-47/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-03Cleanup of conditions for old clients.protimus1-452/+31
- No one use versions as old, besides being advised to keep up to date. - Informations of packets will be maintained, the cleanup is just for conditions. Please do not remove old packet information, it is useful for future searches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-31* Merged changes up to eAthena 15084.eathenabot1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-29- Merged main-chat message handling (as requested/enforced by trojal <3)epoque111-6/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-24- Restored Lord Of Death spawn that was accidentally removed in r15060. ↵brianluau1-4/+3
(bugreport:5323) - Made players face in the same direction they were facing right before warping. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23* Merged changes up to eAthena 15082. (skipped 15081)eathenabot1-6/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22- Fixed a friend-list exploit allowing players to confirm the online status ↵epoque111-6/+8
of another player. (bugreport:4863) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5355 Shadow Chaser's Auto Shadow Spell is now fully functional.shennetsind1-1/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed bugreport:5486, now a more friendly message is displayed upon skill ↵shennetsind1-6/+28
fail when you do not have enough of the required ammo. Dev Note: I wasn't able to find a proper reply packet so I came up with this .-. if you know a official solution make yourself comfortable to replace. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19Refine DB updatelordttseven1-4/+4
* DB courtesy of Kenpachi * added support for different stats per refine level for renewal * cleaned up the corresponding code a little * REMODE now displays the atk values on the client correctly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19* Merged changes up to eAthena 15080.eathenabot1-2/+3
(skipped 15079 because we use http://build.rathena.org/waterfall ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official behavior to non-ensamble songs: they no longer go off if you ↵shennetsind1-1/+5
warp within the same map. bugreport:4547 Dev Note: I didn't put it under session data cause only bard/gypsy classes use it, I found it to a be a waste. I'm not very comfortable with the dbmap either, however, so if you got any idea on how to make it more efficient lets talk :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official Guild Aura Implementation bugreport:667shennetsind1-0/+14
Before: - Guild Aura would only trigger when guild master moved Now: - Guild Aura is triggered when master moves and/or when guild mate gets inside the area - Guild Aura range is no longer hardcoded, you may modify it from skill_unit_db Also: - Added new skill_unit_db target type 'guild' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed gcc warning on unused variable 'gc'shennetsind1-3/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5456 you can no exploit creation of crafting items by mixing ↵shennetsind1-4/+5
packets thru wpe/rpe/whatever. it now checks if the item you're attempting to create belongs to the trigger used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15Status change packet cleanuplordttseven1-45/+18
* fixed a couple typos * replaced duplicate function clif_status_load with a macro * normalized and documented status change table related getter abstraction * put some checks that were previously in multiple places into clif_status_change * packets are now used as they are on official servers: - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players - tick = 9999 for statuses of indeterminate duration - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them! * fixed hidden GM characters leaking certain status packets * fixed hidden GM characters not displaying timers for newly gained statuses * fixed status end packet never being sent for non-pc, non-mercenary units * fixed SC_CLOAKING displaying a time bar on the client * fixed tick being an unsigned int, yet used as a signed int * removed hard-coded status length exceptions in clif_status_change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07- Fixed a little leftover in socket_enchant2.txt .masao871-2/+1
- Added warp to iz_dun05 bugreport:5395 . - Fixed a little typo in clif.c . - Moved "int clif_status_load_single" from clif.c to clif.h . git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04- Guild Castle code cleanup:gepard19841-8/+2
- removed `MAX_GUILDCASTLE` limit - char-server now caches guild castles in `DBMap` - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS` - disallowed declaring guild castles on maps that are on other map-servers - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287) - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit'' - optimized castle data load packets (bugreport:287) - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data) - updated related docs - Added `db_size` macro. - Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22Fixed Royal Guard's Banding skill & icon activation (bugreport:5210)xantara1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19Fixed `/lb` and `/nlb` commands displaying additional nickname (bugreport:5351).gepard19841-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19- reverted part of r15609 since apparently the issue is purely limited to ↵lordttseven1-1/+1
ZC_SKILLINFO_LIST, and this change breaks big storages git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15613 54d463be-8e91-2dee-dedb-b68131a5f0ec