2900 Commits

Author SHA1 Message Date
Gepard
100bb34a4f Fixed codepage indicators being included in NPCs' whispervars. (bugreport:4325)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-20 20:11:13 +00:00
Gepard
68f73aad02 Added support for NPC/PC names in 'emotion' script command. (topic:249193)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-18 01:32:01 +00:00
L0ne_W0lf
4d87e0aefe * Blocked being able to use the skill CR_DEVOTION on players under the status SC_HELLPOWER.
- Additionally, users afflicted by the status can also no longer use Token of Siegfried to self-res.
* Added Manuk, Splendide and SC_HELLPOWER statuses to the status effects that can't be dispelled.
* Changed SC_SPEEDUP0 to use the correct status icon SI_MOVHASTE_HORSE.
* Changed SI_SPEEDUP1 to use the correct status icon SI_SPEEDPOTION1.
* Added updated 13.2 drops to existing monsters. (Most rates are unknown, and set to 0.1%)
* And time to squish database bug reports!
- Fixed guild event quest log entry time limit. (Bugreport:4204)
- Fixed Musika healing while attacking and not when attacked. (Bugreport:4211)
- Corrected the Int and HP/SP reduction on the Dead Tree Cane. (Bugreport:4217)
- Fixed the non-set bonus for Glorious Ring's heal increase. (Bugreport:4223)
- Fixed Death Guidance not casting NPC_HELLPOWER on the user. (Bugreport:4250)
- Changed the usable job for Bone Plate from all to thief class. (Bugreport:4286)
- Changed the bonus on alternate large bapho horns to subrace. (Bugreport:4291)
- Added slots to blu and pink night caps, and a couple others. (Bugreport:4301)
- Removed an extra comma from the Mini_Propeller_M headgear. (Bugreport:4307)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-14 19:37:59 +00:00
Inkfish
da59a9f4a0 'clif_hpmeter' shouldn't send the packet to the player himself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-14 02:53:07 +00:00
L0ne_W0lf
42f675d341 * Updated SC_ITEMBOOST to work similar to how it used to in r11351.
- Will not boost drop rates past 90%, but ignores those already greater than.
- Now uses val2 in the sc_start as the drop rate modifier, see item_db for example.
* Corrected number of slots on several newer items.
* Added HE Bubble Gum and adjusted existing gum bonuses.
* Removed monster chat for porings npc_emotion skill use.
* Updated several modes for monsters episode 13.1+


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-10 15:49:18 +00:00
Yommy
fccc67c6be * Added support for packet 0x7fe which changes the bgm temporarily for a single player.
* Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-09 19:57:53 +00:00
L0ne_W0lf
52ebde00b8 * Corrected warnings (and errors on some compilers) from r14327.
* Actually added Manul/Splendide shop files from r14327.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02 01:47:39 +00:00
L0ne_W0lf
387bcdf5ae * Implemented the Manuk and Splendide item status effects, thanks to Epoque.
* Implemented Manuk and Splendide consumable items.
* Added Splendide and Manuk merchants.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 23:01:54 +00:00
Paradox924X
00a2a3283e Added support for using 'town', 'autotrade', 'allowks', 'monster_noteleport', 'pvp_nocalcrank' and 'battleground' mapflags in scripts (bugreport:4226).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 03:08:13 +00:00
Paradox924X
e2bd29e7c2 Replaced all occurrences of 'leaved' with 'withdraw'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 00:52:39 +00:00
Paradox924X
024b015009 Rewrote and optimized clif_hpmeter to employ map_foreachinarea() rather than an iteration over every session (bugreport:3956).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 00:10:31 +00:00
Paradox924X
b2f667910d Rewrote and reorganized checks in @autotrade to check and display most useful information first (bugreport:4253).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-31 23:54:48 +00:00
Paradox924X
28ef13ac35 Damaged reflected from skills will now be shown as multiple hits if the skill used was multi-hit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-30 10:29:34 +00:00
L0ne_W0lf
7af6738f52 Added a pc_isdead check to warpparty. Only warp and mapwarp (moveto, warpallpcinthemap, and warpwaitingpc aegis script equivilents) should revive players when placing them on new maps.
Updated F_CashPartyCall to use warpparty. Renamed original function to F_CashPartyCall2 and commented out.
Fixed an error in the monster race npcs calling a nonexistant OnEnable.
Renamed 'Tabb' in the 13.1 Draco egg daily quest to 'Taab'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-29 17:37:57 +00:00
Paradox924X
336865596c Rewrote/optimized script command warpparty.
Added support for an optional extra parameter "from_mapname" to restrict effect of warpparty to only those on a specific map.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-29 07:53:42 +00:00
L0ne_W0lf
6d3fc13aea Fixed it so you can't add opositions during woe se.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-28 21:57:55 +00:00
L0ne_W0lf
7084879e8e * Increased gobal_reg_value to 256 from 96.
* Upped the max quest db entries allowed to 1500.
* Added remaining status icons to status.h (mostly 3rd job icons.)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-21 02:58:58 +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
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
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
L0ne_W0lf
d0ace730f4 Moved /npc/sample/ to /doc/sample. These are examples, not actual npcs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-31 18:57:22 +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
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
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
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
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
f27431c872 - Forgot the changelog. I must be getting rusty ._.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-30 10:25:22 +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
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
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
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
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
Inkfish
5485daa6df * NPC event code cleanups.
- removed the 'OnMyMobDead' dead code. It's never supported though documented.
- removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified. 
  It's never documented and breaks official scripts.
- some cleanups and bug fixes to OnTouch_.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 12:01:19 +00:00
Paradox924X
0c828bfc57 Moved log_sql_init() call up in map-server-init to after after map_sql_init() call to prevent unnecessary processing before a potential quit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 10:13:56 +00:00
Paradox924X
10c788b2da Fixed strnpcinfo(1) returning blank strings when NPC names did not have a hidden portion of the display name. (bugreport:3758)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 00:22:28 +00:00
Inkfish
cc02657862 * Fixed player keeps bleeding when dead.
- if battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1.
* Fixed a script typo i made when i was fixing a typo...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-23 10:38:01 +00:00
Paradox924X
d2313b836b Added 'ipban_cleanup_interval' option which determines how often expired IP bans are cleaned from the database. (bugreport:3734)
Modified ipban_check() to only include ipbans that haven't already expired. (bugreport:3734)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-22 10:19:44 +00:00