8428 Commits

Author SHA1 Message Date
Paradox924X
c37cd6b2f0 Applied Ai4rei's patch to eliminate unnecessary and redundant castle data saving. (bugreport:4471)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:46:06 +00:00
Paradox924X
863160b004 Added a missing const qualifier to a variable. (bugreport:4472)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:10:11 +00:00
L0ne_W0lf
83ff1eed2b Follow up from r14413, should take care of the errors from bugreport:4472.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 02:21:49 +00:00
Paradox924X
c6826a2525 Pull name from character table instead of using master from guild table when loading guild data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 01:57:27 +00:00
Paradox924X
d87cbd508c Use char_id rather than master when checking if a guild needs to be deleted during character deletion.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 01:35:02 +00:00
Paradox924X
41440d886c Created branch folder for eA-RE with a copy of trunk r14414. Renewal changes will be made to this branch until the branch is deemed reasonably stable and has made considerable progress.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-10 17:03:40 +00:00
Paradox924X
2f9e3dbf81 Replaced all nullpo_retr() calls which returned 0 with nullpo_ret() calls.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-09 01:57:04 +00:00
L0ne_W0lf
b0ba85081c * Touched up the party booking patch, seems I forgot some lines in clif.c...and managed to duplicate a line in map.c.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-06 15:36:41 +00:00
L0ne_W0lf
ba7f770b45 * Added Spira's Party Booking System implementation
- Added two additional mercenaries and updated data.
- Added place holder values to the item database.
- Added packets for the party booking system.
- Updated the 13.2 monster skills to official.
- Updated stats and drop rates on several monsters.
- Fixed Lullaby working on allies/party members.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-05 17:17:58 +00:00
brianluau
8f05766ab1 - Added instance, GVG, and BG maps to nopvp.txt (bugreport:4396)
and changed /conf/mapflag/nopvp.txt to be loaded first.
- Removed a duplicate line in item_misc.txt (bugreport:4453)
- Updated script paths to custom BG scripts, follow up to r14374. (bugreport:4443)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-02 18:33:10 +00:00
Inkfish
c57a1afa9d Fixed when devoter is killed by the redirected damage, devotee takes the whole damage. (follow up to r14406)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-20 13:37:12 +00:00
L0ne_W0lf
6e837a5214 * Added bard/dancer songs and duets to the nodispell list. (bugreport:4411)
* Applied Ai4rei's patch for the skill WE_CALLPARTNER (bugreport:4437)
* Lots of updates to monster stats/drops, all fairly minor.
* Updated the price and weight of a handful of etc items.
* Removed drops for quest-spawned Satan Morroc. (bugreport:4425)
* Changed weight on novice consumable items to 0 (bugreport:4442)
* Updated Sage quest skill quest with the file curtosy of 5511.
* Fixed the Pink Crystal being named Blue Crystal in Flavius.
* Touched up the archer tutorial, and phantasmic arrow quests.
* Fixed Turbo Track records for 8 and 16 normal saving as expert. (bugreport:4433)
* Corrected the positions for the arug castle 04 exterior flags. (bugreport:4436)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-18 17:15:37 +00:00
L0ne_W0lf
11bdd57998 Added updated stats for Brasilis monsters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-16 17:57:43 +00:00
L0ne_W0lf
4ebd58b32d * Some more Endless tower bugfixes.
- Fixed some copy/paste errors (1@orc -> 1@tower)
- No longer resets entrance time when re-entering.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-13 14:31:36 +00:00
Inkfish
40608976b6 All direct damages such as reflected damage or Tarot Card damage should not be redirected. (follow up to r14400)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-12 12:24:55 +00:00
Paradox924X
c29c148adc All mobs whose display sprites are those of a job id will now appropriately be identified to the client as players, not mobs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-09 03:52:21 +00:00
Paradox924X
b03c315610 Updated License from GNU GPLv2 to GNU GPLv3.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-09 02:35:14 +00:00
Paradox924X
00418810ed Added MD_TARGETWEAK to list of modes not to give a player when calculating player data.
This makes evilclones aggressive towards players. (bugreport:3280)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-07 23:39:56 +00:00
Paradox924X
e2ada0e1ea Ensure a pointer is valid within map_readfromcache() before attempting to access its members.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-07 22:43:18 +00:00
L0ne_W0lf
a41b86bfdc * Implemented Icescope's fix for devotion, reflect damage is no longer absorbed by the devoter. (bugreport:3189)
* As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss.
* Touched up the endless tower script slightly.
- Added ends to several NPCs which would allow you to restart timers.
- Added some missing stopnpctimers to npcs. (bugreport:4418)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-06 19:15:17 +00:00
Paradox924X
133d65a2d7 Force a map_quit() call on the session data after a block/ban/changesex/acc deletion to remove leftovers of a player's session caused by when the fd has already been set to eof (player is not connected) but session data is kept (e.g. autotrading).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-29 03:17:54 +00:00
L0ne_W0lf
7fb5455c0a Removed a disablenpc from #102FShadowDust1. (bugreport:4415)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-28 17:06:14 +00:00
Paradox924X
53f1cbbf6c Replaced a map_moveblock() call with a call to unit_movepos() to prevent an exploit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-28 16:59:58 +00:00
L0ne_W0lf
aa9990ec16 * instance_npcname will now error if the NPC being looked up is not found, care of ramsey.
* delitem/2 will now send the close button when failing to find all neccecary items to delete.
- Still do to, items should not be deleted as-found, and should be deleted once counted
and in the event of delitem failure, nothing should be consumed. This is a design flaw
in eathena, and should be fixed as soon as possible.
* Implemented the Endless Tower instance.
* Updated announces and dialogs in KVM.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-26 22:47:28 +00:00
brianluau
239a74fc2c - Fixed duration of Box_Of_Sunlight. (bugreport:4408)
- Fixed some small typos in KVM scripts. (bugreport:4403)
- Fixed @refresh leaving you stuck if you had a chat window open.
- Changed @refresh to also send your facing direction.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-26 14:27:19 +00:00
L0ne_W0lf
a5170e7694 Follow up to r14392, forgot to remove the old snprintf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-22 03:02:51 +00:00
L0ne_W0lf
56def26c05 Mob chat now strips "#unique" names off monsters, curtosy of Daegaladh.
Touched up the Airship scripts. Fixed up some content based on official files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-22 02:31:17 +00:00
L0ne_W0lf
7869596502 Fixed silly copy paste errors in Tierra Gorge entrance npcs. (bugreport:4401)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-21 16:01:12 +00:00
L0ne_W0lf
0b1cd84732 * Commented out code from r14388, as this breaks NPCs that rely on running global events in duplicates. (IE: WoE scripts)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 20:54:10 +00:00
Paradox924X
e93febd7f3 Removed processing for undocumented and unused event 'OnCharIfInit' which is essentially an alias for event 'OnInterIfInit'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 18:56:23 +00:00
Paradox924X
c076c81731 Made it so global events don't get executed in duplicates to prevent unnecessary reprocessing of events that only need to be run once. This potentially reduces the total number of global events by hundreds, even thousands.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 18:52:41 +00:00
Skotlex
1ffca62da2 - Added a few missing updates to the last packet update to properly support player clones and disguising.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 18:14:40 +00:00
Inkfish
3a10ff3524 Fixed a typo in clif_storagelist
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 16:15:01 +00:00
L0ne_W0lf
271c2201f2 * Fixed wrong events being called for flavius02 BG waiting rooms. (bugreport:4395)
* Fixed the setwalls in Tierra gorge, again. Removed extra mapflags.
* Moved overlapping guild flags outside arug_cas05 to proper points.
* Fixed kRO Name for Women's Bundle. (bugreport:4398)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14385 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20 15:53:35 +00:00
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
brianluau
6b106aeb56 - Fixed some small typos.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18 23:32:03 +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
L0ne_W0lf
e18b3a2254 Fixed level 4 weapon quest deleting wrong items. (bugreport:4390)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18 14:17:02 +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
f9f50d8c09 * Fixed Flavius only needing 1 person on either side to start.
* Updated the level 4 weapon quest to aegis conversion.
* Corrected a variable typo in the dts_warper script.
* Fixed a script hang in Hugel Temple Excavation quest.
* Fixed Cat Hand Agent checks, and mysterious rock#31.
* Corrected the two hour time limit for Sealed Shrine.
* Corrected a few other minor issues in Sealed Shrine.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-16 17:09:33 +00:00
L0ne_W0lf
1c1353e59e * Fixed error in bg_common, and duplicate warp names.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14 16:11:50 +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
L0ne_W0lf
a9a0d68dca * Documented Battleground commands with as much information as I've got.
* Another rather large overhaul of the battlegrounds.
- in bg_common.txt, stripped out several more NPCs, split them off.
- Most of the NPCs in bg_common.txt are now official Aegis versions.
- Completely rewrote Tierra Gorge for the most part, from ground up.
- Moved old Tierra Valley battlegrounds to /custom/battleground.
- Added Tierra scripts, Flavius, and bg_common to scripts_athena.
- Tierra, KvM, and bg_common scripts are now enabled by default.
- To use custom Flavius, you must enable /flavius/flavius_enter.txt
- * TIERRA GORGE AND KVM BOTH REQUIRE TESTING *


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-11 18:17:26 +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
L0ne_W0lf
9bb87169be * A rather large overhaul of the battlegrounds.
- in bg_common.txt, stripped out KvM npcs, fixed coordinates.
- Needs to be tested, none of the BG files are on by default.
- Created subfolder battleground/KvM/ which now holds KVM files.
- Added kvm_enter.txt, which warps players to the waiting rooms.
- Added kvm_item_pay.txt, which holds the point redemption NPC.
- Made the KvM battlegrounds work closer to official, needs work.
* Corrected variable typos in the acolyte arena. (bugreport:4374)
* Corrected donpcevent typo in the party arena. (bugreport:4374)
* Added two global functions which will return equip data as strings.
- F_GetWeaponType: returns the type of weapon by 'look', (ie "Dagger")
- F_GetArmorType: returns the kind of armor via 'equip loc'. (ie "Armor")
* Fixed duplicate documentation for getitemslot. (bugreport:4362)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-03 18:27:00 +00:00