summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-10* Users can't click floating npcs directly. (quick fix for bugreport:1814)FlavioJS1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07Fixed a typo :oakrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07* Players autotrading will not be able to recieve whispers (bugreport:1804)sketchyphoenix1-1/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29Random assortment of various small corrections and tweaks.ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-18Added a fix for refresh properly displaying dead and sitting players.sketchyphoenix1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07Devotion links will now be sent properly in all situations (followup to 12171).ultramage1-2/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-01Added Ai4rei's "gm can view all players' equips" feature (topic:186519).ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-31Removed the debug message from r12726 (bugreport:1587)ultramage1-7/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29- Added support for NPC with different sizes (setnpcdisplay).zephyrus1-4/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-28Fixed stat values displaying incorrectly when increasing them past 255 ↵ultramage1-1/+1
(wraparound, ack packet only has 1 byte). Reordered the packets so that a status update for the increased stat is sent immediately after the buggy ack packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26Moved the options to disable specific compiler warnings from the generic ↵ultramage1-0/+7
'AdditionalOptions' to the appropriate 'DisableSpecificWarnings' section. Corrected an ancient mistake in the grfio/zlib code (calling inflateEnd in case of an error during the Deflate process). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26Increased the allowed packet size for chat messages.ultramage1-5/+6
Changed the capacity of the message column in chatlog (see sql update). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26Added clif_announce_ex() for broadcasts with varying font sizeultramage1-1/+6
(patch by Euphidime) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13Fixed a mistake in r11344 that caused the 'my shop' window to display info ↵ultramage1-1/+1
about cards slotted in items incorrectly (bugreport:1502). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-12Fixed a script engine problem where warping away while having a menu window ↵ultramage1-0/+2
open and talking to an another npc with a menu would produce menu option count mismatch errors (bugreport:1208) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-09Added correct extended info packets for items that are being moved into ↵ultramage1-5/+40
storage or cart. This caused items to visually lose their properties once they have been moved from inventory (bugreport:250). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08- Added some new items and headgears.zephyrus1-1/+8
- Changed the way DEF Potion and MDEF potion works to official. - Cleanups to Barricade Engine. It now can be used in WoE 2.0, i will release optional scripts soon. - Fixes to @noks. Now if the mob is targeting someone else the protection get lost. - Added new status effects icons to cash items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-07- Added function battle_attr_ratio to handle just getting the attribute ↵skotlex1-2/+6
table data. Fixes Sense messing up with elemental based statuses. - Added Throw tomahawk to the list of items that do not trigger the equipment breaking code. - Moved a bit around the SC_ start of dancing skills to fix Moonlight petals pushing back the casters. - Modified status_damage to handle SC_KAZIEL. The return value of *_dead functions can pass 8 to specify that kaziel should not be triggered (ie: pvp/gvg) - Infinite Endure won't be passed on to devoted characters. - Infinite Endure is no longer saved on logout. - Added check to avoid gms opening vending shops if they don't have the required level. - Moved around the Steel Body S. Novice code, simplified it so it triggers before most of the penalties (death is cancelled). - Fixed the flee penalty not applying when you walk into a gvg map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02Replaced the very ineffective clif_foreachclient() with map_foreachpc() ↵ultramage1-25/+2
since they essentially do the same thing (bugreport:1174). Rewrote map_foreachpc() so that its callback function signature now uses a more natural 'sd' instead of a DBKey/void* pair. Rewrote atcommand_users() to use a single function, instead of depending on two helper functions and global objects. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Replaced the integers+checking approach in r12679 with usage of floating ↵ultramage1-2/+2
point arithmetic. Applied search&replace to use the new name of the function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Implemented get_percentage() for compact and safe calculation of percentual ↵ultramage1-3/+5
values. Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Quest packet typo.Kevin1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27fixing some timestamp type difference warnings...ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Removed the calc_times() no-op (bugreport:1289)ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, ↵ultramage1-8/+15
r12662, r12663) * the player data inventory-itemdb index is now refreshed using pc_setinventorydata() * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload * the clif_buylist() function once again hides invalid npc shop items * it is no longer possible to purchase nonexistent items from a npc shop * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Changed the last commit so it must be called with @reloaditemdb2. ↵Kevin1-19/+12
@reloaditemdb only removes the item_data from the itemdb subsystem. If you don't like my code you can uncomment the macro I_HATE_KEVIN in item_db.c so it isn't even compiled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Some major changes to @reloaditemdb to allow unloading of any item while map ↵Kevin1-12/+19
server is running. - Delete any item from inventory/cart/open storages that went missing during the reload. - Delete item from any shop that has this item. - Refresh item screen for anyone who has a shop open. - Delete mob db drop table references. - Delete item from storage during load if it isn't in the item db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Changed the data field of timers from int to intptr.FlavioJS1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16Fixed an issue in r12575 where 'not setting char offline when going from ↵ultramage1-1/+1
mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen. Merged some recent changes from SQL to TXT, as someone didn't bother to do it. Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11The max_account_id packetver detection mechanism will never cause any ↵ultramage1-16/+2
connection problems ever again. (bugreport:388) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11More questlog code.Kevin1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10Some preliminary code for the questlog system (clif packet functions and ↵Kevin1-0/+125
basic data structures). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08Fixed party invitation ack messages not displaying on recent clients ↵ultramage1-2/+13
(bugreport:1308) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08Modified PACKETVER for recent clients to use a YYYYMMDD date format instead ↵ultramage1-8/+8
of a simple sequence number (allows adding versions inbetween). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08Small party/guild creation cleanup. Added packet comments. Removed fake ↵ultramage1-10/+25
reply packet usage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07* Made script command 'flagemblem' and guild_emblem_change send an update of ↵FlavioJS1-0/+16
the emblem_id to the players in the area. - known bug: ui components that are displaying the emblem at the time (emblem in flag npc and emblem over head in gvg maps) are not updated, but putting the mouse over the target shows the new emblem * Modified script command 'guardian': - returns the id of the guardian - if guardian index isn't supplied, it generates a temporary guardian * Implemented support for temporary guardians (not saved with castle). * Added missing includes from r12520. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07Removed the 'wait close' timer that closed a session's socket after 5 seconds.ultramage1-45/+6
This was causing random disconnects when logging in. (bugreport:1330) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05Disconnect user on forged selectegg packet (may be temporary fix). ↵Kevin1-1/+5
(bugreport: 1257) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-29- Fixed a visual bug in mail when sending Zeny.zephyrus1-1/+1
- Fixed bug pet loosing loot on logout. Bug Report 1291. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-29- Fixed a bug in a previous Adoption fix from umage (partnerid is char_id ↵zephyrus1-1/+3
not account_id) - Added new headgears from EuRO and ThRO. - Fixed some viewids. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-26Adjusted eAthena code to compile cleanly in C++ mode.ultramage1-47/+57
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-25Partially fixed the mess in status.c.ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-25Added proper checks to adoption processing (followup to r12428).ultramage1-7/+12
Cleaned up some code / fixed some typos. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-24* Added temporary code to track and prevent the multiple remove_map's that ↵FlavioJS1-0/+1
appear to be happening. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-24- Fixed a potential crash in Adoption. Reported by Yomanda.zephyrus1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-19- The last bug in Adoption system.zephyrus1-2/+2
- Fixed a bug on trade, if you received a trade without accept it do logout... the other player cannot trade anymore 'til restart. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18inverted logic (followup to r12394)ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18Fixed invited party members not displaying correctly (bugreport:1199)ultramage1-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18- Sorry, fixing the last adoption step. It was too late ._.zephyrus1-6/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18Fixed OnPCLoginEvent not working correctly (bugreport:1182).ultramage1-10/+11
Cleaned up some code typos/engrish. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12391 54d463be-8e91-2dee-dedb-b68131a5f0ec