7107 Commits

Author SHA1 Message Date
ultramage
ec5c6ffe4d Also removed the move_enable requirement from KN_CHARGEATK (Charge Attack) (according to bugreport:67).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:45:41 +00:00
ultramage
c44f57ca63 Removed the move_enable requirement from MO_BODYRELOCATION (Snap), making it possible to use it when trapped (followup to r12500 and r12501).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:36:06 +00:00
ultramage
dca2adcfd4 Fixed a mistake in r11344 that caused the 'my shop' window to display info about cards slotted in items incorrectly (bugreport:1502).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:15:35 +00:00
ultramage
836deebfb9 Fixed a script engine problem where warping away while having a menu window open and talking to an another npc with a menu would produce menu option count mismatch errors (bugreport:1208)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-12 09:18:24 +00:00
L0ne_W0lf
ad166c8f5f * Beelzebub now summons 6 chonchons in addition to hell flies.
* Tristan 3RD is no longer considered a boss protocol monster.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-11 15:30:21 +00:00
L0ne_W0lf
966618bee0 * Fixed guild manager charging twice for invest
- Corrected some treasure room switch sent-to spawns.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-11 14:30:17 +00:00
ultramage
47cb29c556 Fixed @showmobs not working due to a mistake in r12436 (bugreport:1487)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-10 06:27:20 +00:00
ultramage
14017b0f8a Added correct extended info packets for items that are being moved into storage or cart.
This caused items to visually lose their properties once they have been moved from inventory (bugreport:250).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-09 15:50:35 +00:00
ultramage
29b214017b Fixing a missed change in r12561 causing incorrect query errors (bugreport:1483).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-09 01:06:15 +00:00
zephyrus
9bfb1ac1be - More scripts fixes.
- Some cleanups to the code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-09 03:12:26 +00:00
zephyrus
8898af1c45 - Little fix in schg_cas01 script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 18:24:30 +00:00
zephyrus
31320fcc9d - Added some new items and headgears.
- Changed the way DEF Potion and MDEF potion works to official.
- Cleanups to Barricade Engine. It now can be used in WoE 2.0, i will release optional scripts soon.
- Fixes to @noks. Now if the mob is targeting someone else the protection get lost.
- Added new status effects icons to cash items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 16:58:57 +00:00
L0ne_W0lf
c31d96e589 * Fixed some of the newer reported bugs.
- Corrected typo in guild steward (missing space.) (bugreport:1423)
- Corrected duplicate messages in WoE 2.0 scripts. (bugreport:1449)
- Corrected missing close in turtle island quest (bugreport:1455)
- Corrected missing next in hunter job quest. (bugreport:1477)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 16:25:07 +00:00
L0ne_W0lf
d1a15516f5 * Fixed times-invested not resetting in WoE scripts.
- Fixed a warning when the standard chest spawn time triggered.
- Corrected several flag-in spawn points, (burgerpot:1475)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 16:05:45 +00:00
skotlex
ade0947216 - Corrected default guild positions not being saved during guild creation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-07 20:20:40 +00:00
skotlex
61093d095a - Moved the SD_PREAMBLE code to skill_area_sub
- Added SD_SPLASH to let skill_area_sub do the target counter.
- Updated splash skills to use these defines.
- The NPC_WIDE* skills now use SD_PREAMBLE to correctly display their animation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-07 20:10:13 +00:00
skotlex
247996b40e - Added function battle_attr_ratio to handle just getting the attribute table data. Fixes Sense messing up with elemental based statuses.
- Added Throw tomahawk to the list of items that do not trigger the equipment breaking code.
- Moved a bit around the SC_ start of dancing skills to fix Moonlight petals pushing back the casters.
- Modified status_damage to handle SC_KAZIEL. The return value of *_dead functions can pass 8 to specify that kaziel should not be triggered (ie: pvp/gvg)
- Infinite Endure won't be passed on to devoted characters.
- Infinite Endure is no longer saved on logout.
- Added check to avoid gms opening vending shops if they don't have the required level.
- Moved around the Steel Body S. Novice code, simplified it so it triggers before most of the penalties (death is cancelled).
- Fixed the flee penalty not applying when you walk into a gvg map.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-07 18:46:21 +00:00
ultramage
4da32e3732 NPC_GUIDEDATTACK is not supposed to bypass pneuma/safetywall.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-03 12:37:38 +00:00
FlavioJS
acde528ec5 * Fixed missing iterator destruction in the map_foreach* functions (followup to r12684).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02 21:22:20 +00:00
FlavioJS
7992f84a27 * Added backward compatible handling of PACKETVER 8 and 9. (followup to r12539)
(more missing changelog messages from ultramage)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02 20:21:25 +00:00
FlavioJS
1be6ba4a63 * Changes to map_foreach* functions:
- removed the unecessary use of va_copy in map_foreachpc
- applied the same function pattern to map_foreachmob and map_foreachiddb
- created map_foreachnpc
- extended the behaviour of map_foreach* functions to stop iterating when func returns -1
(also added missing changelog entries from ultramage >.>)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02 17:14:00 +00:00
ultramage
62cc01866b Replaced the very ineffective clif_foreachclient() with map_foreachpc() since they essentially do the same thing (bugreport:1174).
Rewrote map_foreachpc() so that its callback function signature now uses a more natural 'sd' instead of a DBKey/void* pair.
Rewrote atcommand_users() to use a single function, instead of depending on two helper functions and global objects.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02 15:08:14 +00:00
ultramage
0ce34d51a4 Added a custom implementation of the va_copy macro for systems that don't provide it.
Fixed varargs not being used correctly in foreach() calls in db.c (bugreport:551).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-02 09:27:03 +00:00
ultramage
6559c24882 Replaced the integers+checking approach in r12679 with usage of floating point arithmetic.
Applied search&replace to use the new name of the function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 13:56:24 +00:00
ultramage
d5775e7e11 Implemented get_percentage() for compact and safe calculation of percentual values.
Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 12:14:06 +00:00
toms
21c53a83f0 Updated mob_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 09:43:24 +00:00
L0ne_W0lf
41fee2d70d Corrected several effect descriptions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 00:31:35 +00:00
Kevin
9118792124 Quest packet typo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 00:13:12 +00:00
L0ne_W0lf
712ec37880 Updated castle DB to be compliant with new WoE scripts.
Updated gvg_eliminate_time comment to reflect use in new Woe scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 23:51:11 +00:00
L0ne_W0lf
070b507516 * Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt"
- System is set up to mimic Aegis, some parts are still lacking.
- Documentation on the new system is forth-coming.
- Updated Novice WoE scripts to keep them from breaking.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 23:34:14 +00:00
L0ne_W0lf
7124507e1c Another correction to "Evil Land", fixed damage-effect range.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 22:44:23 +00:00
L0ne_W0lf
65b101bd41 Randgris will summon a dropless/expless mob after initial mob.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 22:32:07 +00:00
Kevin
21802ff355 Cleaned up char server set online/offline/char select functions. (bugreport:1359)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 15:03:33 +00:00
ultramage
155416f712 fixing some timestamp type difference warnings...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 20:03:25 +00:00
ultramage
fc5918e335 Removed the calc_times() no-op (bugreport:1289)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 19:46:17 +00:00
Paradox924X
3daaf293cc Removed a messed up, unnecessary line.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 15:40:42 +00:00
ultramage
304565cc9b Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
Corrected some x64 compilation warnings in ers/malloc files.
cleaned up a case of bad variable reuse.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 11:09:57 +00:00
ultramage
7a9a3a12bb Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663)
* the player data inventory-itemdb index is now refreshed using pc_setinventorydata()
 * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload
 * the clif_buylist() function once again hides invalid npc shop items
 * it is no longer possible to purchase nonexistent items from a npc shop
 * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 11:06:55 +00:00
toms
e50dd25ec2 Fixed 'suggest parentheses around assignment ...' gcc warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 10:29:30 +00:00
Kevin
76c426d731 <3 Cake
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 09:19:56 +00:00
Kevin
1f6d5057bc Changed the last commit so it must be called with @reloaditemdb2. @reloaditemdb only removes the item_data from the itemdb subsystem. If you don't like my code you can uncomment the macro I_HATE_KEVIN in item_db.c so it isn't even compiled.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 09:15:05 +00:00
Kevin
26a70ed737 Some major changes to @reloaditemdb to allow unloading of any item while map server is running.
- Delete any item from inventory/cart/open storages that went missing during the reload.
- Delete item from any shop that has this item.
- Refresh item screen for anyone who has a shop open.
- Delete mob db drop table references.
- Delete item from storage during load if it isn't in the item db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 07:18:21 +00:00
Kevin
2eabb3d1f7 Added script function hasquest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 23:11:15 +00:00
Kevin
2070c16a1b Uncommented and cleaned up the OnGuildBreak code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 22:20:20 +00:00
Kevin
679e600fcc Cleaned up auth system after change back to map server request.
- Created function set_char_charselect to get rid of some of the "special case" variables.
- Removed code that involved the char server sending auth data at char select.
- Changed char select code to update the instance of the char data in the DB to fix map/sex info not being propagated to auth request.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 22:13:02 +00:00
L0ne_W0lf
7f18ba579a Added WoE SE castles to castles.txt in save-tmpl.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 21:13:13 +00:00
toms
fb262a3301 Fixed escape problem in jobs/novice/novice.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 17:35:23 +00:00
toms
d9b7e8540b Updated item_db.sql to latest (Changelog)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 19:01:18 +00:00
toms
bf1e5ff7c6 Updated item_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 19:00:22 +00:00
toms
c79a5092eb Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 07:47:29 +00:00