summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-05Improved friend removal process to avoid inconsistent state if char-server ↵gepard19841-11/+18
was offline, fixed wrong packet size check (follow-up to r15119). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Fixed waitingroom npcs from being displayed properly against maya p exploit ↵shennetsind1-3/+3
protection git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04/resetstate also resets taekwon mission, bugreport:2200shennetsind1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03* Merged changes ONLY eAthena 15055.eathenabot1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01Fixed memory issue with fakename in parseGlobalMessage, bugreport:5192shennetsind1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01Added new @/# command aliases pattern, all aliases can now be ↵shennetsind1-20/+20
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-29minor code improvement, moved some "hidden" configs to config/Core.hshennetsind1-10/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-3/+3
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-29Added mail zeny loss prevention, bugreport:2919shennetsind1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed that you couldn't unequip items while frozen/stoned/etc, bugreport:2772shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-27Fixed an issue, players were able to see disabled NPCs with maya purple ↵xazax-hun1-2/+25
card. (bugreport:2221) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15267, changed to standardshennetsind1-2/+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/+2
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-24* Merged changes up to eAthena 15040.eathenabot1-32/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24Added official elemental converter creation window handling, bugreport:5144shennetsind1-0/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed GCC "--enable-debug", and 2 compiler warnings that were omitted due to ↵shennetsind1-1/+0
enable-debug being broken. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed soul drain visual effect not being displayed to mobs, bugreport:2980shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-19* Merged changes up to eAthena 15036.eathenabot1-6/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-16RE cashshop fix, bugreport:4764shennetsind1-14/+28
-- requires a msgstringtable.txt modification or client will crash (will be in the client svn asap) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Removing a friend will also remove you from your friends friendlist, ↵shennetsind1-0/+23
bugreport:2977 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Fixed friend adding exploit, bugreport:4629shennetsind1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15118 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Fixed unnecessary packet used, bugreport:4953shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14- Fixed floating shops being accessible from any location through 3rd party ↵epoque111-0/+3
programs - TODO: needs amending for the walking glitch (bugreport:5016) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13- Fixed hidden GMs being processed in the PVP ranking timerepoque111-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08Fixed Super Novice Prayer bugreport:5035shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll ↵shennetsind1-216/+480
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-11-28* Fixed novending cell check using misleading error message (bugreport:2592, ↵ai4rei1-1/+5
since r11572 and r14724, related r11580). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-19* Fixed wrong damage numbers being displayed when the damage source was ↵ai4rei1-2/+3
disguised (bugreport:5093, since r14979). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28* Fixed db/packet_db.txt reading not checking for max. amount of positions.ai4rei1-0/+7
* Introduced MAX_GUILD_SKILL_REQUIRE to fix inconsistency in amount of prereq. guild skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-23* Revised packets related to auction system.ai4rei1-13/+53
- Added packet documentation and corrected existing one. - Removed an impossible condition in clif_parse_Auction_setitem (since r12301). - Updated backet db definitions and removed a duplicate entry (entries from older packet versions carry over to newer). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16* Added support for new act/damage packet 0x2e1 (ZC_NOTIFY_ACT2) for clients ↵ai4rei1-9/+30
2007-11-13Sakexe and newer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16* Changed function-like macros into inline functions where it seemed ↵ai4rei1-28/+56
appropriate (topic:264007). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16* Fixed public/guild chat message packets sending strings without ↵ai4rei1-43/+45
zero-termination causing recent clients to display trailing junk on such messages (bugreport:5068). - Changed memcpy to safestrncpy in message packets where overlong messages are truncated (thus loose zero-termination). - Replaced dynamic allocation in clif_guild_message with buffer from stack. - Fixed clif_disp_message not checking whether the message fits into provided buffer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-10* Add correct reply when player invited to party isn't found.flaviojs1-14/+24
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-17* Rental items no longer expire in cart and storage. The packet does not ↵ai4rei1-2/+5
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-09-17* Fixed missing edits for cash shop support for clients 2007-07-10aSakexe ↵ai4rei1-1/+3
and older (follow up to r14932). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-08* Fix C++ compilation issues.flaviojs1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-23- Rewrote/updated the SC_COMBO logic. Got rid of state.combo and added usage ↵Skotlex1-29/+24
of packet 0x7e1 (PACKET_ZC_SKILLINFO_UPDATE2) to report skill inf changes. - Cleaned up a bit the function clif_setlevel (these functions should be as lightweight as possible...) - Fixed the server sending twice the skill tree during login. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-21* Fixed monsters above Lv99 displaying a Lv99 aura (bugreport:3986).ai4rei1-9/+50
- The server no longer caps the level sent to the client by default. - Servers that require the aura to be displayed at a level different from lv99, either have to alter the client or adjust the 'client_limit_unit_lv' setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-20* Added quick validation of guild emblems' bitmap format to prevent forged ↵ai4rei1-2/+30
emblems, that cause the client to crash, from being accepted (thx to sinya for a sample). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11* Added support for cash shop packets without kafra points for clients ↵ai4rei1-8/+32
2007-07-10aSakexe and older (bugreport:4701, related r10888 and r11548). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-06* Added missing fields to guild belong info packet 0x16c (ZC_UPDATE_GDID).ai4rei1-8/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19* Made NO_MEMMGR only be set as a default value, allowing for simultaneous ↵flaviojs1-1/+1
use with the memory libraries. * Moved memory library selection to malloc.c to avoid poisoning the namespace of the rest of the code. * Removed BCHECK code since it's unneeded. (bcheck is an external batch tool that runs on top of the dbx debugger) * Fixed GCOLLECT usage. (missing init and final memory leak check) * Fixed DMALLOC usage. (missing options on CYGWIN and verify memory) * Renamed malloc_verify to malloc_verify_ptr to avoid conflict with DMALLOC. * Changed itemtype from inline to static inline to avoid error with the SunOS compiler. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10* Changed limit definitions used in WBUF* and WFIFO* to the intended fixed ↵flaviojs1-35/+35
size alternatives. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-02* Random updates to instance system.ai4rei1-4/+6
- Introduced a constant for instance name length. - Corrected comments related to instance packets 0x2cb (ZC_MEMORIALDUNGEON_SUBSCRIPTION_INFO) and 0x2ce (ZC_MEMORIALDUNGEON_NOTIFY). - Moved instance finalization out of map.c into instance.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-30Replaced custom type 'intptr' with standard 'intptr_t'.ultramage1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-22Added enum e_skill_flag to represent the values of struct s_skill's ↵ultramage1-2/+2
complicated 'flag' field. Reordered the enum values so SKILL_FLAG_REPLACED_LV_0 goes last and arithmetic can be done on it safely (for storing skill level values). This also adds support for skill levels higher than 10. Fixed several places where SKILL_FLAG_TEMPORARY was not handled properly, and instead was considered as one of the saved skill level values (resulting in skill level -1). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-18* Fixed using @refresh while having vending or buyingstore open would stuck ↵ai4rei1-0/+5
the character (bugreport:156 , since r1307). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-16* Merges from charmerge:flaviojs1-5/+11
- Added DBMap::exists. (r14090) - Added sv_parse_next, a stepped version of sv_parse (delim-separated parser). (r14100 r14104) - Added missing fd check to do_close. (r14145) - Normalized, refactored and restructured some code (in preparation for shutdown/reconnect code). (r14145 r14150) - Changed the char select request code to allow the char-server to reject it. (player in map-server trying to go to char select) (r14150) - Added shutdown support to the servers. (incomplete) (r14152) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-13* Fixed pet's equip would visually disappear when it's walk speed was ↵ai4rei1-0/+6
changed while it was standing (related r14838). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14847 54d463be-8e91-2dee-dedb-b68131a5f0ec