4800 Commits

Author SHA1 Message Date
brianluau
2dbc188909 - Fixed the Juice Maker's "As many as I can" option. (bugreport:4155)
- Removed a duplicate 'next' in Kiel Hyre Quest. (bugreport:4222)
- Fixed 'checkequipedcard' not counter-checking for signed items. (bugreport:4231)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-10 00:53:22 +00:00
brianluau
f5c3f4fe86 - Fixed a typo in guildrelay.txt (bugreport:4213)
- Forced acc.lastlogin to use MySQL DATETIME format. (bugreport:4193)
- Fixed the range of getiteminfo and setiteminfo. (bugreport:4190)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-30 00:22:22 +00:00
Inkfish
a07d7e43f9 Fixed OnTouch doesn't trigger on hiding characters. (bugreport:4208)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-28 09:10:04 +00:00
skotlex
3fe55a09f8 - Cleaned up party_option_changed to work better with newer clients.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-26 12:55:21 +00:00
skotlex
2b3c602ea7 Merged a few updates for supporting renewal clients (thanks to Diablo): [Skotlex]
- Updated packet_db entries
- Added slot info on packet 0x6b (PACKETVER > 20100413)
- Trade add-item use packet 0x80f (PACKETVER > 20100223)
- Guild storage add-item use packet 0x1c4 (PACKETVER > 20090603)
- Vending list use packet 0x800 (PACKETVER > 20100105)
- Allow client to change item-share party settings (PACKETVER > 20090603)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-23 13:19:25 +00:00
Inkfish
0ac0fa1705 Fixed FailedRemoveCards still removing Armor Enchant (followed up to r14282)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-16 10:59:28 +00:00
Inkfish
b3a056acf2 Fixed SuccessRemoveCards removing Armor Enchant. (bugreport:4014)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-12 10:24:32 +00:00
brianluau
6f7ff85a03 - Fixed a comparison check in OBB quest. (bugreport:4167)
- Fixed the equipment position numbers displayed by @refine. (bugreport:4173)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-10 00:16:06 +00:00
brianluau
fce629ec1f - Fixed 'OnPCLogoutEvent' being queued and never executed if
the player was already talking to an npc. (bugreport:1209)
- Fixed 'OnPCLogoutEvent' not triggering when changing map-servers (pc_setpos).
- Combined some isequipped() in item scripts. (bugreport:4158)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-01 18:58:39 +00:00
brianluau
ede4a79e1e - Updated 'getinventorylist' to also return expire_time in the array @inventorylist_expire[]. (topic:243292)
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-31 00:12:31 +00:00
Inkfish
78f511f920 Fixed the first item in the inventory is unbreakable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-30 13:32:05 +00:00
brianluau
4213c1bc95 - Changed mail_setattachment() to fail if you are OVER 100% overweight.
This prevents item loss if the send mail fails. (bugreport:4144)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-24 23:58:51 +00:00
L0ne_W0lf
7a0e11a502 * Implemented NPC_TALK (Credit to SnakeDrak and Daegaladh)
- Also added in the ability to use '@npctalkc' as a GM command.
- Added supporting information to the databases.
- Sneaking in a fix to the Refined Ballista.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-24 03:49:39 +00:00
ultramage
fba253dc73 Added missing checks to stop an infinite free cash point exploit. (bugreport:4139)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-21 10:08:40 +00:00
Yommy
f9c60fd3fa added --enable-rdtsc configure option to enhance timer performance, especially in virtualized environments; default disabled - credits to sirius_black
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-16 21:42:14 +00:00
Inkfish
5cda184eb8 Fixed an exploit where the buyer can end the auction himself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-02 09:50:32 +00:00
ultramage
339022cd20 Some generic code cleanups (unused struct, user counting, code comment).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-27 18:01:09 +00:00
ultramage
117782c900 Re-added the SI_EARTHSCROLL icon for taekwon's Happy Break status.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-27 17:57:43 +00:00
Inkfish
3654619bed Fixed Poison Status killing monsters with low max hp(like plants).
Mental Strenth costs 200 sp instead of 50% max sp.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-27 03:20:17 +00:00
ultramage
1ac0e13994 Changes to how right-click gm kick checks gm privileges:
* moved @kick gm level check to the part that kicks players
 * added @killmonster gm level check to the part that kills monsters
 * added missing reply to client in the part that unloads npcs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-21 00:51:22 +00:00
ultramage
d167c3422b Adjusted the 'rare drop announce' code to only process if there's a valid mvp_sd.
This eliminates "??? won item" announces that occured when there were no damagelog entries and the killer src was NULL.
Examples include @killmonster use, and cases where a homunculus gets killed while attacking, and its delayed damage kills the target.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-21 00:20:27 +00:00
Paradox924X
d9cfd5002b Fixed racial bonuses for RC_NONDEMIHUMAN applying to right cardfix value (cardfix) instead of left cardfix value (cardfix_) in the case of melee attacks where left_cardfix_to_right is set to 'no'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-19 12:51:40 +00:00
Inkfish
3fd1d9ca2b * Fixed NPC_INVINCIBLE can be dispelled. (bugreport:4046)
* Fixed a compliation warning.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14247 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-19 03:17:00 +00:00
ultramage
8dfa315ce8 Added visual studio equivalent of libc's strtoull() - name redefine for newer VS versions, custom implementation for VS6 (I hope it works).
This should fix the compilation error from r14242 (bugreport:4059).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-15 11:54:21 +00:00
brianluau
6f10a38dd9 - Fixed a misleading description. (bugreport:4008)
- Changed the confusing Rare Drop Announce. (bugreport:4037)
- Fixed an extra space in item script. (bugreport:4032)
- Renamed the upgrade_svn file in last commit to match revision number.
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-10 20:46:34 +00:00
Paradox924X
dde953ee4a Expanded range for cached and stored-in-db guild member exp (devotion) from uint32 to uint64. (bugreport:3983)
Capped value when sending to client to INT_MAX to prevent confusion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-09 20:26:42 +00:00
Inkfish
be4fc45134 Bleeding doesn't kill non-player characters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-07 03:13:48 +00:00
Inkfish
27801bb67f 2010/02/06
* Added official packet to display received expirience. (info provided by papkil)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-06 05:08:37 +00:00
skotlex
cc6b9e2cff - Oops, realized the vsd cid check is before the null pointer check. I AM getting rusty <_<
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-30 10:39:02 +00:00
skotlex
e91f9882ec - Added support for PACKETVER 20100105, which updates the vending related packets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-30 10:24:10 +00:00
L0ne_W0lf
f74fc9a9b3 * SN_SHARPSHOOTING is no longer affected by AC_VULTURE. (Bugreport:3909)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28 15:43:30 +00:00
Inkfish
adc8193bbe Reverted r3619. Evidences show Margaretha Solin Card works when player is hit by Storm Gust.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28 13:06:54 +00:00
Paradox924X
7fb1bdf25c Prevented the changing of alliances to oppositions during WoE. (bugreport:3923)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-25 00:38:51 +00:00
Paradox924X
edc07c36d0 Prevented pc_skill with a value of 2 for 'flag' from granting a skill level that surpasses MAX_SKILL_LEVEL. (bugreport:4022)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-24 01:13:48 +00:00
Inkfish
f741065ee6 Fixed a wrong interpretion to "clif_addskill" packet. follow up to r14218
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-20 15:40:39 +00:00
Inkfish
dc62b5d338 Intimidate now checks the distance between source and target in case it kills the target and then warps the respawned one.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19 16:00:02 +00:00
Inkfish
66bd2d540a Intimidate should warp you anyway even if the target died.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19 15:42:32 +00:00
Inkfish
5d56b669e9 Fixed items don't grant skill if you had this skill before and then changed your job.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-16 03:44:07 +00:00
Inkfish
9622957e11 * Fixed change cart packet doesn't check for skill.
* Added new packets for Plagiarism.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-15 10:40:18 +00:00
brianluau
ed86db530d - Fixed a typo in Orc's Memory.
- Fixed a weight check in quests_13_1.
- Fixed some grouping variables in the sample PCRE npc.
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-08 19:18:27 +00:00
Inkfish
ab888d956f Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-27 05:22:39 +00:00
ultramage
e5a32cb5e7 Fixed a memleak that occurs when a player exits while waiting on a script select() or menu() (caused by r12481).
The change made the attached script not deallocate to avoid a crash when changing mapservers, however deallocation must occur here since scripts waiting for user input are unable to free themselves.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-24 12:19:34 +00:00
ultramage
622de6a2da Quick-added support for the new whisper packet (bugreport:3942).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-20 11:37:28 +00:00
ultramage
e441bae997 Corrected a variable defined in a header file.
Cleaned up a bad case of variable recycling.
Separated the ALL_WEWISH case from the unrelated sage skill cases (undo of r14183).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-08 00:41:29 +00:00
Paradox924X
92ed65fd9a Prevented online user count from going negative. (bugreport:3913)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-03 07:51:55 +00:00
L0ne_W0lf
27d0043c05 Semi-revert of 14182, moved ALL_WEWISH up under SA_GRAVITY instead, as I hadn't noticed it does exactly what the new case did.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 17:37:14 +00:00
L0ne_W0lf
ccfe13cd56 Added skill ALL_WEWISH. This skill in older clients plays a song, however in current clients it does not. The effect (AL_ANGELUS) still shows.
Added ALL_WEWISH to the skill databases, and enabled the Christmas Musicbox item.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 17:31:30 +00:00
Inkfish
69bd8dced5 * Autobonus code cleanups.
- removed the 'script_parsed' flag to fix the issues with combo items.
- introduced a global cache for autobonus scripts so that we don't have to parse scripts everytime invoking status_calc_bl.
- fixed such script commands as 'getrefine()' not working inside autobonus scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 10:30:10 +00:00
Kisuka
cb6fdc59cd - Official castle defense damage reduction/defense status changes. (bugreport:2901)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 07:18:35 +00:00
Inkfish
80591b2611 Fixed warping in OnPCDieEvent revives people with 0 hp.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-27 02:35:17 +00:00