summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2011-12-08Performance Improvement on the guild xy timer, removed a unnecessary idb lookupshennetsind1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08- Forgot to include the ! symbol, whoopsepoque111-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08- Changed guild member x/y timer to not process the guild if no members are ↵epoque111-0/+5
online git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08Optimized/Improved r15030, credits to Epoque!shennetsind1-21/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08@reloaditemdb Fix for bugreport:5104shennetsind1-23/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08Fixed @reloadskilldb, bugreport:4412 and in the flow of that mercenary db is ↵shennetsind2-0/+8
now reloaded in @reloadmobdb (like homunculus db already does) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15027 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-06Fixed "Highness Heal" Heal -- would not apply it's boost over AL_HEAL ↵shennetsind1-4/+5
properly. bugreport:5100 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed Monster SkilL Crash bugreport:5101shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06- Fixed undefined reference when compiling under Linux (patch for r15017)epoque111-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06- Added support for additional item information when OnSellItem is calledepoque111-1/+28
- Added information is refine, attribute, identify flag and the item cards git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed @mute death immunity, bugreport:4960shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed Performance Issue on Mob DB loading bugreport:4980shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed @reloaditemdb @whodrops bug - (bugreport:5084)shennetsind1-0/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06getmapflag() fix by Kenpachi (bugreport:5097)shennetsind1-109/+114
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05- Added SQL_INNODB switch for databases running under InnoDB (where INSERT ↵epoque111-10/+20
DELAYED would break log table support) - Uncommenting this line will result in all log tables dropping use of delayed mySQL insertions git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll ↵shennetsind33-580/+6888
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, ↵ai4rei2-5/+21
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-28* Fixed removing item scripts through script command *setitemscript not ↵ai4rei1-2/+2
working the way it is stated in script_commands.txt (related r9831). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14999 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-11-16* Fixed natural expiration of GM mute printing the unmute message twice ↵ai4rei1-1/+1
(since r12169). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-12* Fixed npc class HIDDEN_WARP_NPC (139) being sent to the client, causing ↵ai4rei2-6/+10
client crashes in poring war. It's a server-side "sprite" only. - Updated Aegis NPC ID constants from current npcidentity.lub (569~603). - Reintroduced HIDDEN_WARP_NPC script constant, which was removed by accident (since r14679). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-08Corrected documentation on monster respawn delay1/delay2 fields to reflect ↵ultramage1-1/+1
actual server behavior (followup to r11964). Long ago they meant "delay since last spawn/death"; the current meaning is "fixed base delay + random variance". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28* Fixed db/packet_db.txt reading not checking for max. amount of positions.ai4rei3-8/+20
* 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-17* Remove 'hack code' in party_member_added causing crashes since r14968. ↵flaviojs20051-8/+0
(bugreport:5069) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14980 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 ↵ai4rei6-41/+98
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 ↵ai4rei2-47/+49
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.flaviojs3-17/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-09* Rework some party code.flaviojs4-93/+127
- add leader argument to party_fill_member - add party_getmemberid - add requester char_id to packets 0x3021 and 0x3821 (party info) - diff members when replacing party info - remove fixup all-player-iteration when receiving a party for the first time - send 'party info' before 'party created' - send 'party info' before 'party member added' - update empty party_id when checking the player of a party git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20* Applied map flag update patch provided by Daegaladh. Will mess with custom ↵L0ne_W0lf6-14/+40
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-18* Fixed CR_SLIMPITCHER passing item requirement index to itemdb_search when ↵ai4rei1-1/+1
used by a monster (bugreport:5021, since r6791). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-17* Rental items no longer expire in cart and storage. The packet does not ↵ai4rei3-47/+8
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.flaviojs9-29/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-06* Restrict intif_quest_save to sql only. txt char-server doesn't support the ↵flaviojs1-0/+2
packet and disconnects the map-server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-02- Fixed @reloadmobdb wiping out monster spawn informationSkotlex1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-01Fixed 'getitem' documentation typo (stating the optional 3rd argument is ↵ultramage1-2/+2
char id instead of account id). Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-23- Rewrote/updated the SC_COMBO logic. Got rid of state.combo and added usage ↵Skotlex6-107/+104
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).ai4rei3-9/+52
- 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- Oh, forgot to make unitwarp support the mapname "this"Skotlex1-1/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11- Fixed the add_drop code breakage which ocurred after adding support for ↵Skotlex2-6/+8
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-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-10- added sending a dummy 0x08b9 packet in the char-server, required to ↵Skotlex1-0/+2
support clients from this year. - added a fix to status_heal to take into account that -int_max == int_max in some architectures, which leads to an infinite loop (bugreport:3410) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- Commiting a bunch of cleanups piled up from the past few weeks/months/years.Skotlex9-109/+101
- 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-08-07Minor item-related updates, and a couple quest database updates.L0ne_W0lf1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-06* Added missing fields to guild belong info packet 0x16c (ZC_UPDATE_GDID).ai4rei2-9/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-22* CMake: Added options BUILD_TXT_SERVERS, BUILD_SQL_SERVERS, BUILD_MAPCACHE.flaviojs2-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14921 54d463be-8e91-2dee-dedb-b68131a5f0ec