Commit Graph

  • 219f26b6a0 * [Optimized]: - Setting of variables with defined scope in some frequently executed script events. * [Added]: - Missing script_require_trigger flags for some power hungry events. Lance 2006-06-24 02:41:32 +00:00
  • 022268134e - Updated mob_db.sql and item_db.sql to latest. skotlex 2006-06-24 00:36:32 +00:00
  • 95aa55a3e6 - Modified pc_setoption so that it will correctly update sprite AND clothes color when mounting/unmounting changing into/from xmas/wedding sprites. - Allowed itemdb_exists to return the dummy item. Enables "invalid" items to be sold, traded, dropped, etc. skotlex 2006-06-23 23:31:55 +00:00
  • 4855ad8d5e - Corrected ASC_BREAKER. Int-based damage is applied after attribute fixes and before card reductions. The skill now completely disregards left weapon. skotlex 2006-06-23 21:33:24 +00:00
  • b4964cc657 Fixed SP Drain rates of items Playtester 2006-06-23 19:29:04 +00:00
  • ee1f6f4283 - Standarized PF_MEMORIZE to be 50% cast time on all skills (instead of -50% for targetted skills and -66% for ground skills >.>) - Cleared up the comment on what item_check does and how it works. - Changed the pointer dummy_item to a normal struct variable. skotlex 2006-06-23 16:11:51 +00:00
  • eea63beee9 - Updated BD_INTOABYSS's unit flag to not affect mobs. - Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map" setting, it's now a clone-forbidden skill. That is, skills with the flag 16 will never be copied by clones. If you use a PK-mode server, use flag 2 now to forbid skills from common maps. - Default skills from not being cloned are Magnus Exorcism and Turn Undead. - The map search free cell will now use the size of the map # of tries before giving up when the spawn area is the whole map. Added a check to inmediately give up when the number of spawn retries has reached the max specified (no_spawn_onplayer = 100). - Cleaned up a bit the clone code to account for the unit flags UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self skill that causes a ground-tile to be placed, like Dances). skotlex 2006-06-23 15:41:17 +00:00
  • ea53bd5d41 Rogue Card Combo now removes Intimidate autospell Playtester 2006-06-23 14:36:10 +00:00
  • 44b40f087c - Added pc_bonus_autospell_del, gives support for removing autospell effects. When a negative rate is specified, it will decrease the chance of casting (eg: You have two different cards with autospell Heal +20% each, then do autospell -30. The second card will be cancelled, and the first one will become Heal +10%) - npc_timers now will not restore the previous timer data when there's no players attached (when it's strictly an npc timer). This should reenable the old behaviour of getnpctimer returning the total ellapsed time since "startnpctimer" even after the last label has been reached. However, this behaviour won't apply to player-attached timers. skotlex 2006-06-23 14:14:55 +00:00
  • 5ca017e91a git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7311 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-06-23 12:22:43 +00:00
  • ec2fc0e437 * [Fixed]: - MAPREGSQL overloading SQL table with temperory map registries. - Incorrect perfomance calculation for MAPREGSQL loading and saving. Lance 2006-06-23 11:47:27 +00:00
  • 144fd1808a done merging jFunc 8) fixed some typos, etc Lupus 2006-06-23 09:35:34 +00:00
  • 5e21a6f311 updated Valhalla (typos, fixes, optimizations) Lupus 2006-06-23 08:59:06 +00:00
  • a6b45186e7 Sorted in the new cards and fixed some equips Playtester 2006-06-23 08:23:30 +00:00
  • 91f6da3017 merged jFunc 2-1 Lupus 2006-06-23 06:32:30 +00:00
  • b64f653148 - Guessed and added support for the packets 0x22a (idle) and 0x22b (spawn). This should complete the required packets for PACKETVER 7. - Added support for the PACKETVER 7 packets in the "dummy" current intravision implementation. skotlex 2006-06-23 02:53:32 +00:00
  • 3296652856 - Fixed @autoloot being off by 0.01% when entering a manual value. skotlex 2006-06-23 00:04:10 +00:00
  • 8033eb7d18 - Restored the "Secret" behaviour of Blast Mine and Claymore Trap where each target is hit N times (where N is the number of mobs in the splash area at the moment of triggering). skotlex 2006-06-22 23:56:57 +00:00
  • db1e1c26fe Fixed the remaining 2006 Cards Playtester 2006-06-22 20:25:53 +00:00
  • e8cc439a94 - Converted the line terminators of tools/stackdump to native. Fixes the script being unusable on *nix due to ^M terminator x.x skotlex 2006-06-22 20:24:03 +00:00
  • 1ab8c581a3 typo fix Playtester 2006-06-22 16:34:03 +00:00
  • 3956b24786 - Did some testing and fixed a bit the updated tools/stackdump script. skotlex 2006-06-22 16:19:20 +00:00
  • 370d3890b9 - Updated the tools/stackdump script to also handle sig-plugin generated backtraces. Now it will also auto-determine whether the exe needs a .exe at the end or not. - Usage is "stackdump <login/char/map> <txt/sql> [number]". When a number is given, sig-plugin stackdumps are assumed, otherwise it parses the normal stackdump as before. skotlex 2006-06-22 16:04:49 +00:00
  • 50134b5191 - Corrected autoloot so that you can specify rate with decimal precision ("@autoloot 0.01" should work) skotlex 2006-06-22 14:14:41 +00:00
  • aa47683c94 - Fixed the compile error in mob.c skotlex 2006-06-22 13:38:17 +00:00
  • 67ff295ba4 * [Removed]: - Redundant mob name copying. (it's already copied in mob_parse_dataset) Lance 2006-06-22 13:16:45 +00:00
  • a90363726b Typos resolving login-DNS instead of char-DNS -.- Lance 2006-06-22 09:13:58 +00:00
  • 50ebb5e959 * [Fixed]: - Compilation warnings and errors. [Improved]: - Changed and moved IP sync status messages to elaborate more. Lance 2006-06-22 08:50:36 +00:00
  • 2da6a7e29d Fixed treasure number 'round exploit' Lupus 2006-06-22 06:01:36 +00:00
  • f9584887a2 Fixed some equipment fields that caused warnings -however the server still reports the warnings... >-< Playtester 2006-06-22 04:50:16 +00:00
  • 4d27716bf1 - Tested and fixed resolve_hostbyname. - Applied said function around most of the code where needed. Removed includes for the OS/network system pretty much from every file (our socket.c file should handle this) - Added clif_getip_long, which returns the ip as a long. Prevents having to include the files to define the int_addr structure in all files that include clif.h - Made the GM mute request bypass the manner_system setting. skotlex 2006-06-22 01:12:52 +00:00
  • 2a0217155d Fixed the equipment fields of the new cards Playtester 2006-06-21 20:26:30 +00:00
  • bf5515759b Fixed a small typo... Playtester 2006-06-21 18:50:53 +00:00
  • 84cdde2a88 - Whoops, somehow socket.h wasn't udpated correctly -.- skotlex 2006-06-21 18:35:31 +00:00
  • 847d853332 - Added function parse_hostbyname() which takes a hostname and a char[4]. The hostname is resolved to an ip, whose individual components are stored in char[], the return value of the function is the inet_addr result of the lookup (or returns 0 when failed). Meant to be used in the rest of the code without the need to do socket/network related includes. - Applied use of parse_hostbyname() in chrif.c to fix compilation errors. - status_percent_change will now account for when the target's max hp/sp is above INT_MAX. skotlex 2006-06-21 18:30:39 +00:00
  • 2d3e99c59c git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7280 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-06-21 15:46:09 +00:00
  • fbaefcb412 Yuno/Lhz/Thanatos spawn updates Playtester 2006-06-21 14:49:59 +00:00
  • 007cebae3b - and the documentation Lance 2006-06-21 10:57:42 +00:00
  • 59d0fde84a * [Added]: - DNS (WAN) sync for those pesky disconnections (dynamic ip renewal). Lance 2006-06-21 10:55:26 +00:00
  • 0f5b497967 Fixed some spawns in Odin Temple Playtester 2006-06-21 08:43:01 +00:00
  • ec2812fadd Updated Hugel to official X.4 spawns Playtester 2006-06-21 08:30:29 +00:00
  • 260b64b30d Updated Einbroch to official X.4 spawns thanks to Tharis Playtester 2006-06-21 08:12:00 +00:00
  • 8e42a240df - Some cleaning up of OPTION related code. OPTION_XMAS and OPTION_FLYING really ARE the same value clientside! (totally stupid), therefore I've opted from removing the flying animation since it really just displays as Xmas for others (and the correct fix involves adding a bunch of class-change packets...) skotlex 2006-06-21 03:56:29 +00:00
  • 330dc56cab - Corrected the line terminator setting on the unit.* files as pointed out by Irmin skotlex 2006-06-20 22:50:33 +00:00
  • 3405960987 Kiel now drops the Dex Survivor's Rod Playtester 2006-06-20 19:36:40 +00:00
  • e19c275876 Reduced Stone Buckler's natural Def to 3 Playtester 2006-06-20 15:49:53 +00:00
  • 4c1934a263 Started fixing some of the cards Playtester 2006-06-20 14:42:52 +00:00
  • 0263fcc40c - Updated skill_require_db to place the Zeny requirements of ZenyNage and Fling. - Fixed crash when non-players use ZenyNage. Added the correct Zeny check in skill_check_condition, fixed the skill so that it's damage is based on whatever zeny is specified in skill_require_db. - Can-act delay will not be reset when warping now. - Fixed Quagmire not altering walking-speed. - Silence now blocks skills both on begin/end casting. - Updated status_calc_bl so that when walking speed changes, the character is made to rewalk so that the new speed takes effect inmediately. skotlex 2006-06-20 14:33:54 +00:00
  • 196f8334f6 * Some more item updates - Valkyrie Shield and Survivor's Manteau have their complete bonus script now, please test it - Slotted Ice Pick and Iron Shackle Combo are weaker now Playtester 2006-06-20 08:28:27 +00:00
  • 0e52feee96 updated item names in doctor quest (cities/louyang.txt) evera 2006-06-20 04:39:06 +00:00
  • 1e64eb78de added ayothaya to nopvp and nopenalty mapflags evera 2006-06-20 01:37:01 +00:00
  • fb0d6c2d3d - Combo-used Skills with State "move_enable" will now override the "can't move delay". Fixes Break-Fall -> Jump-Kick. skotlex 2006-06-19 23:57:09 +00:00
  • 2d5518fb08 Some updates to the item_db Playtester 2006-06-19 21:41:37 +00:00
  • bf5a24f7b6 - Switched drop_rate0item to NO according to iRO. musashiden 2006-06-19 20:46:07 +00:00
  • f28f036a88 Fixed Quest requirements in cities/louyang.txt Playtester 2006-06-19 20:30:01 +00:00
  • 85233aa578 - Some more cleanups of battle_calc_damage to account for absorbed damage reductions. skotlex 2006-06-19 18:54:30 +00:00
  • 04d6132e76 - Moved back Soul Drain code from mob_dead to skill_counter_additional_effect. Now we are back to where the skill animation does not shows, but you DO get SP T.T' (fixing this is turning out so difficult...) skotlex 2006-06-19 16:10:19 +00:00
  • 715c9e9a69 Reverting my change.. lalala Lance 2006-06-19 15:25:28 +00:00
  • 44a9bcba8f - Some cleanups and corrections in battle.c to account for negative (absorbed) damage. - Fixed umbala.txt's Elemental Stones Quest bug. Thanks to Vhan Morthis. skotlex 2006-06-19 15:19:25 +00:00
  • 3833a911c5 - Fixed the compilation errors of my last commit... >.> <.< skotlex 2006-06-19 14:50:43 +00:00
  • ba4de26c1e - Removed the mysterious array of two of char_dat (char/sql server), replaced it with a static structure. - Added function char_loadName to extract the character name of a given ID. - Fixed fame-list updating crashing char-sql server when the given char-id just got into ranking. - Sorry I didn't check if it compiles cleanly because I don't have sql here <.< (am gonna test it in a second, though) skotlex 2006-06-19 14:45:26 +00:00
  • 691e601ac2 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7245 54d463be-8e91-2dee-dedb-b68131a5f0ec MasterOfMuppets 2006-06-19 13:22:20 +00:00
  • c7c1c74fbd Added missing Arunafeltz mapflags evera 2006-06-19 08:36:31 +00:00
  • 6e67ac7a7e Idiot RO client have inconsistent signed/unsigned shorts Lance 2006-06-19 08:32:43 +00:00
  • 2d257532f8 updated job quests. Lupus 2006-06-19 08:07:50 +00:00
  • 6d57c556d9 * [Fixed]: - Typo in status.c add_sc() using 'skill' instead of 'sk' as index, resulting in filling the SkillStatusChangeTableArray with junk data. - > NEEDS CONFIRMATION < Ends casting if player is knocked with freezing/stun/whatever Lance 2006-06-19 07:37:23 +00:00
  • 67e445d784 * [Fixed]: - Typo in parse_frommap. Lance 2006-06-19 06:13:21 +00:00
  • 7dd00be871 Added Exp to some Thief Bug versions Playtester 2006-06-18 18:51:42 +00:00
  • b72d2b9a66 * [Fixed]: - clif_initialstatus using SHRT_MAX instead of USHRT_MAX for status_point Lance 2006-06-18 15:02:27 +00:00
  • 0985a26455 * [Temperory Fixed]: - Crashing of SQL char-server in parse_frommap case 0x2b01. Lance 2006-06-18 11:38:19 +00:00
  • 93aac53572 - Fix for #102547 Lance 2006-06-18 09:11:43 +00:00
  • a800be65ec git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7234 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-06-18 02:54:17 +00:00
  • 61cf41923c * [Removed]: - Large part of scripted mob control commands are removed. - Large part of scripted player control commands are removed. - Scripted mob slaves changing master ID. Lance 2006-06-18 02:42:41 +00:00
  • 5b2615976f Fixed a Rachel warp thanks to Dr.Evil Playtester 2006-06-17 19:57:04 +00:00
  • 331141b1ac Fixed the scripts for the Lotto Boxes Playtester 2006-06-17 19:35:02 +00:00
  • aafae91952 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7229 54d463be-8e91-2dee-dedb-b68131a5f0ec MasterOfMuppets 2006-06-17 18:35:52 +00:00
  • ef3e22db87 - Implemented correct script for "12038,Lotto_Box_04" skotlex 2006-06-17 17:20:24 +00:00
  • 7e10a0586c - Added IG_LottoBox for that tricky Lotto Box item. skotlex 2006-06-17 17:13:57 +00:00
  • 370e1df5bd - Devotion absorbed damage will now appear to come from oneself (instead of the original attacker changing directions towards the Crusader) - Updated clif_refres to send inventory, cart, and weight info. - Fixed intif_guild_memberinfoshort to not leave a dangling pointer when someone logs out <.< - Cleaned up a bit guild_check_member skotlex 2006-06-17 16:23:57 +00:00
  • fe223f0e6d Some mapflag and item restriction changes/additions according to the eye of hellion quest. Also made Hellion revenant heal for 9999. MasterOfMuppets 2006-06-17 12:44:04 +00:00
  • 4b93da1389 Fixed some typos in quests_lighthalzen.txt Playtester 2006-06-17 10:30:19 +00:00
  • 58b728cc4a * [Added]: - buildin_checkcell, buildin_mobwarp, buildin_pcattack. * [Improved]: - buildin_skilluseid and buildin_skillusepos to accept a few more arguments. - mob_script_callback to return sucess value. Lance 2006-06-17 07:48:10 +00:00
  • bf907b14ae - Fixed the party HP packets to send max HP 10000 and scale HP accordingly when the player's HP doesn't fits in the packet's field. Fixes HP bars not correctly displaying the % of life when max HP is above 32k. skotlex 2006-06-17 06:52:06 +00:00
  • 3f63aa775e - Fixed option value being reset'ed on login (fixes cart/peco/falcon being lost) skotlex 2006-06-16 22:31:16 +00:00
  • a0ff9919cc Implemented the Lover's quest. MasterOfMuppets 2006-06-16 20:29:27 +00:00
  • 24159ab464 - Corrected @speed to alter your base speed instead of battle one. Means the change remains for much longer (until status_calc_pc is invoked, which could be due to equipping/unequipping stuff) skotlex 2006-06-16 19:59:22 +00:00
  • ece6f8f781 - Removed unused variable aspd_rate in map_session_data. - Modified aspd_rate in status_data to hold aspd change on a base of 1000 = 100% rather than 100 = 100%. All status changes that affect aspd have been updated. Study and Single Action should now correctly give +0.5% aspd per level. skotlex 2006-06-16 19:49:28 +00:00
  • 974277a787 - Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100 setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic damage be reduced by half. This bonus stack, so two cards with bNoMagicDamage,50 will give magic immunity. - Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which specifies the threshold before the bNoMagicDamage starts blocking support statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal or support status, while "bonus bNoMagicDamage,80;" does. - Updated GTB's card script to be "bonus bNoMagicDamage,100;" skotlex 2006-06-16 19:35:27 +00:00
  • fe917bde69 - Yet another missing Juno warp. musashiden 2006-06-16 17:00:11 +00:00
  • b45cf7f99c - Whoops, fixed compilation issue on mob_dead. skotlex 2006-06-16 16:44:27 +00:00
  • b662431204 - Corrected a duplicate juno warp + a juno guide sprite. musashiden 2006-06-16 16:23:39 +00:00
  • 5ebc258ce8 - Removed db_tables.sql as it's no longer used. - the mvp_sd is removed when the mob is the emperium and there's no killer/exp-awarded (assumed killed by script), this prevents the on-kill event from triggering and giving the castle to whoever damaged the most the emperium without destroying it. skotlex 2006-06-16 15:39:16 +00:00
  • fc5aa3228e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7207 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-06-16 15:25:28 +00:00
  • cd2524149a * Updated sample script mob_controller.cpp to the latest standards. Lance 2006-06-16 15:17:04 +00:00
  • d79df825cd - Removed return from CALLBACK_ASSIST Lance 2006-06-16 15:11:39 +00:00
  • 68a5b7bea5 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7204 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-06-16 14:52:44 +00:00
  • 971900f126 * [Added]: - Added option #25 to buildin_setmobdata to set the callback_flag. Lance 2006-06-16 14:46:15 +00:00
  • 397f255a23 * [Improved]: - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. Lance 2006-06-16 14:42:16 +00:00
  • db2a9e7c96 * Commited Silent's Fix to the duplicate NPCs - needs testing - can't be fully fixed because of length limitation of names Playtester 2006-06-16 10:02:18 +00:00
  • cb523907f0 * [Fixed]: - intif_parse_RenamePetOk for not compatible with ANSI-C initialzation specification. Lance 2006-06-16 07:07:02 +00:00