4640 Commits

Author SHA1 Message Date
L0ne_W0lf
c7531e095a * Follow up to r14383, changed use of clif_font_area to clif_font, seems Skotlex forgot them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19 17:24:27 +00:00
Skotlex
e19451d423 - Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used for proper deletion of items as well as movement/spawn packets for Renewal clients.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19 15:46:55 +00:00
L0ne_W0lf
6d8d0d3b43 * Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as well! Dun dun dun!
- The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work.
- Updated Asprika to use new bonus3 bSubEle.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18 19:24:27 +00:00
Inkfish
6f58038c69 Fixed an exploit where unauthorized GMs can give zeny through auction.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17 02:09:47 +00:00
L0ne_W0lf
f912cd0151 * Attempting to tackle, and fix some simple errors in skills.
- Stormgust hit counter no longer resets under new casts of stormgust.
- RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547)
- SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603)
- WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980)
- SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918)
- CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17 00:48:37 +00:00
Skotlex
1a2fd04b19 - Merged Shinryo's patch to speed up map-cache loading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-16 19:16:14 +00:00
L0ne_W0lf
dc0977ed37 * Quest log kill count now updated properly. (Added from topic 253813)
* More battleground editing, and some bug fixes.
- * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING *
- Rewrote the Badge Exchange NPC in bg_common.txt, is official now.
- Other changes to the bg_common folder, including disabled GM NPC.
- Completely rewrote Flavius for the most part, from ground up.
- Moved old Flavius battlegrounds to /custom/battleground folder.
- Restored original bg_common, and KVM to /custom/battleground
- Fixed wall bugs in Tierra Gorge, and added an oninit to the timers.
- Other minor tweaks to both Tierra Gorge and KVM scripts.
- Fixed the pseudo-cooldown on KVM not working properly, I hope.
- Added global time2str function which will be used later in Endless tower.
* Applied Epoque's mapflag clean up, which removes flags from scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14 16:06:23 +00:00
Paradox924X
4a01d8b2c5 Updated several buffers to use an appropriate size of CHAT_SIZE_MAX rather than 200 or 256. This will help prevent buffer overflows with long atcommands.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10 11:28:31 +00:00
Paradox924X
081b3107e8 Made the rates command much more verbose.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10 11:25:10 +00:00
Paradox924X
f8270ee5f1 Ensure exp rate changes from a reloadbattleconf cause a call to mob_reload().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10 07:02:29 +00:00
Skotlex
9c244595de - Merged a few minor bugfixes
- Merged in a bunch of the eA renewal support patch.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-03 14:36:00 +00:00
L0ne_W0lf
d5dbf77b28 * Implemented three new mercenary skills.
* Added two new monster mercenaries.
- Added information for the three new mercenary skills.
- Added mercenary skills with cast times to castnodex.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-31 01:50:57 +00:00
L0ne_W0lf
651dc32ac0 * Rev. 14365 Updated npc_randomattack, it now does 100*skillevel percent damage.
* Added patch from Paradox to allow a skill to use a random element for damage. See skill DB for info.
* Updated entry for npc_randomattack in the skill database, now uses the newly added -3 element.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-28 01:12:28 +00:00
L0ne_W0lf
906c37ad64 * Added two new item groups, and implemented the remaining in the item database.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14364 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-16 22:49:27 +00:00
L0ne_W0lf
6085d04bc5 * Follow up to r14357. Moved where sd is checked for existance in specialeffect2.
* Fixed Bubble Gum again. (200 = +100%, 300 = +200%, etc.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-29 02:12:26 +00:00
L0ne_W0lf
829ff8eca9 * Updated specialeffect2 to accept player names. (follow up to r14353)
* Bascilica now allows boss-flagged monsters to knock you back as per official.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28 16:54:21 +00:00
L0ne_W0lf
94ebad5ce0 * Follow up to r13895, added a battle.conf setting to control if ranges should be checked with autocasts.
'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit.
* Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this
on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the
only skill that behaves this way.
* Modified the default value for homunculus_auto_vapor in source to 1.
* pvp_points are no longer calculated in the gvg_dungeon flagged maps.
* Corrected a view ID and an equip location in the item database. (bugreport:4330)
* Corrected a typo in the DTS_Warper script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28 01:10:58 +00:00
L0ne_W0lf
e7e55d4e06 * Added support for NPC names in the 'specialeffect' script command, go go copy/paste!
* Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-22 22:09:11 +00:00
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
brianluau
1552a1841c - Fixed item script of Chicken_Hat (5431). (bugreport:4174)
- Fixed a typo in script_commands.txt (bugreport:4270)
- Fixed some links in the README html files.
- Fixed the range of 'max_guild_alliance' in battle.c (0 to 3).
- Set svn:eol-style=native for some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02 01:00:52 +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
5db61a0b0a Rewrote the autotrade mapflag check and display from r14322.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 03:24:04 +00:00
Paradox924X
6a72859405 Fixed a few typos from r14322.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01 03:20:25 +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
brianluau
6881ab87f5 partial revert of r14295
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-19 16:45:43 +00:00
brianluau
a47eaa02d9 - Fixed a small typo in a shop name. (bugreport:4235)
- Removed a duplicate 'next' in Kiel Hyre Quest. (bugreport:4222)
- Fixed pc_checkitem() running before sending the client the inventory list, resulting in "Unknown Item is taken off" messages. (topic:245385)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14295 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-16 15:22:16 +00:00
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