Commit Graph

  • eea6f44d32 Small mob skill change... need someone to test the 11.1 MVPs since I can't really test it alone Playtester 2007-04-03 09:48:25 +00:00
  • f8d0eb5f7b * Had to revert some mob modes - figured out I can't read the mode fully from the inc value - now mob mode is based on Doddler's info - updated sql files Playtester 2007-04-03 09:24:32 +00:00
  • ea1ad901a2 * Tried to fixup some 11.1 mob modes - a converter would be nice, anyone? Playtester 2007-04-03 00:10:02 +00:00
  • 14cd8e113f Raised skill usage and mode of 11.1 MVPs Playtester 2007-04-02 23:46:02 +00:00
  • a26bbd70cf Spring cleaning in sql-files/ Officialized a very small bit of the wedding NPC DracoRPG 2007-04-02 23:31:51 +00:00
  • 6a233bec47 - Re-fixed the attack_attr_none setting x_X skotlex 2007-04-02 20:06:19 +00:00
  • bbcb43c7b7 Updated sql files Playtester 2007-04-02 19:23:25 +00:00
  • 18166d1f87 - Fixed char-server crash on @changegm use. skotlex 2007-04-02 19:10:41 +00:00
  • 111e75d232 - Cleaned up mmo_auth, as this function was quite filled with sql memory leaks! Also improved the code a little. - Made account_id and char_id ints in login.h (since they are that type in mmo_charstatus) - Corrected/simplified the re-walk code when an object's speed changes. skotlex 2007-04-02 17:43:30 +00:00
  • 81bf36de72 Small fix in Monk Quest Playtester 2007-04-02 17:39:50 +00:00
  • 1a8274c655 Officialized Kunai/Shuriken traders Playtester 2007-04-02 17:25:40 +00:00
  • d37da07522 Officialized Fuuma Shuriken quest and merged it to ninja_quests.txt Playtester 2007-04-02 15:40:10 +00:00
  • 028031a4da - Corrected the login TXT server not initializing the waiting_disconnect variable. - Corrected the attack_attr_none check being backwards. - All pets can now move regardless of their Mob counter part setting. - Added hom_setting&0x40, when set it clears the "can't reuse" skill delay when you vaporize a homunculus (set by default). skotlex 2007-04-02 14:19:55 +00:00
  • a167b6ae62 * Some source code cleaning - Fixed the badly worded messages during mapserver startup - Cleaned up socket config reading - Split resolve_hostbyname() into 2 separate functions for clarity - Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove) - Moved the badly placed compare_item() function to storage.c (see r779) ultramage 2007-04-02 13:46:11 +00:00
  • 99fb323a0a Fully removed the msvcr80.dll dependency from the vs8 project files ultramage 2007-04-02 08:35:41 +00:00
  • a191ddd217 Set the default vending tax to 2% as it is in kRO Sakray Playtester 2007-04-01 23:03:37 +00:00
  • 3d30bfa551 - Corrected multiple "WoE has begun" announces - Removed some poor coding from the gunslinger job script - Fixed some engrish - Added missing changelog edit ultramage 2007-04-01 21:26:39 +00:00
  • 5d86a9b352 - Missing files X_X (followup to r10122) ultramage 2007-04-01 21:23:53 +00:00
  • dec82b6120 - Fixed the server crashing on startup due to bad define - Fixed the server crashing on a timer-queued disguise / undisguise (no sd check) - re-added the item_group_list for consistency's sake, moved to itemdb.h (after some hacking to remove the ugly map.h dependency) - Removed some overly verbose item group messages & code ultramage 2007-04-01 21:15:57 +00:00
  • 37d8d915b2 - Reviewed atcommand.c and charcommand.c to make sure there's no scanf where a string argument is specified without a size limit. skotlex 2007-04-01 21:15:17 +00:00
  • 258746a5f9 - Modified waiting_disconnect on the login server to hold the timer id of the 'set offline' timer. - connect_client will no longer accept connections when their number is greater than FD_SETSIZE to prevent crashes on packet parsing. skotlex 2007-04-01 16:25:34 +00:00
  • 2e6907b24f Masamune now gives +2 Aspd instead of +2% Playtester 2007-04-01 16:24:04 +00:00
  • f42e54dad3 * Added EggBoy and EggGirl scripts - also small fixes to Aspd and Speed bonus Playtester 2007-04-01 16:06:43 +00:00
  • 945be871ce - Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable matter, so it's no longer needed. - Reimplemented the bonus 'bAspd' - Renamed variable aspd_add_rate to aspd_add, since bAspdAddRate was removed, this variable now holds the absolute aspd bonuses. - Added define status_base_amotion_pc to get the base amotion value. skotlex 2007-04-01 14:40:49 +00:00
  • 4d5a0a08bb emsolute develop was incorrectly giving 49% / 51% instead of 50%/50% Lupus 2007-04-01 09:00:22 +00:00
  • 0d9fa117eb Added Ninja Weapon quests Playtester 2007-03-31 14:19:30 +00:00
  • a654211313 Added item_misc.txt to yesterday's update Playtester 2007-03-31 08:17:23 +00:00
  • c4cb371399 Added names to Item Group items thanks to Leon Playtester 2007-03-31 00:02:06 +00:00
  • b1a7e1979e Updated and fixed Item Groups and Doom Slayer Playtester 2007-03-30 23:52:33 +00:00
  • 02f408ea73 - Corrected damage of non-player casted Cart Revolution - Removed enumeration item_group_list and replaced it by two defines, which is what the code really needs. Bumped the max number of item groups to 40. skotlex 2007-03-30 23:24:27 +00:00
  • 7cab66cea3 Fixed item name of Arm Guard Playtester 2007-03-30 17:05:18 +00:00
  • 478b4b58e8 Fixed typos from previous revisions :) ultramage 2007-03-30 17:01:53 +00:00
  • 1908e7dc80 * Added Ninja Gauntlet quests - massive testing and probably optimisation needed Playtester 2007-03-30 16:30:18 +00:00
  • ba9a9b4275 Updated some headgear names to match the translations Playtester 2007-03-30 14:13:43 +00:00
  • 55cade0420 Fixed High Wizard card Playtester 2007-03-30 13:00:39 +00:00
  • 6b31e26e55 * Updated Item Givers to X.4 - they are now added up and sorted - fixed China Gift Box Playtester 2007-03-30 12:10:45 +00:00
  • 67ac7c9514 More item updates thanks to Argatlahm Playtester 2007-03-30 11:03:06 +00:00
  • 43a375ad89 * Added all the missing defines for ctype.h functions and converted all the direct uses to the defines. Ref: http://www.eathena.ws/board/index.php?showtopic=145235 FlavioJS 2007-03-30 06:16:08 +00:00
  • cbac96a819 - Corrected a pretty serious typo in script.c - Corrected the change that made Coma not be reduced by mdef making Stone, Freeze and Decrease Agi be reduced by luck rather than mdef. skotlex 2007-03-29 21:28:35 +00:00
  • 47ab9dbbf8 - Added "do_abort" function to the core. It is invoked when the server has received a Segmentation Fault or Floating Point Exception signal. Currently the only one that uses it is the map-server, which then attempts to save all online characters before aborting. - Note that due to the current coding of the sig plugin, do_abort will not be invoked if you use it! This plugin needs to be updated... - Cleaned up a bit the change element code. val1 is the elemental level, val2 is the element now. - Hardcoded the element and elemental level of SC_CHANGEUNDEAD. skotlex 2007-03-29 20:34:17 +00:00
  • d57ed274ca Continued script.c cleanup Added defines script_pushstr and script_pushconststr to have the same syntax as integers Added defines script_getref, data_islabel, data_isfunclabel to increase code readability toms 2007-03-29 16:11:40 +00:00
  • 4ba355e389 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10087 54d463be-8e91-2dee-dedb-b68131a5f0ec FlavioJS 2007-03-29 13:51:20 +00:00
  • 640ef63c2b - Added defines script_getnum and script_getstr to further simplify variable reading code. - Applied mass replacing of text to enforce usage of script_hasdata, script_getnum, script_getstr and data_isstring defines where possible. - Cleaned up the 'input' command code. - Minor other cleanups in script.c - Removed OPTION_SIGHTTRASHER as there's no indication this value exists. - Corrected OPTION_XMAS since 2007 clients have split it up from OPTION_FLYING (on previous clients both were the same option value) - Removed GRF_PATH_FILENAME references (it wasn't used anymore) skotlex 2007-03-28 17:29:02 +00:00
  • 2049f1ad43 - Corrected statp array not being long enough to actually hold the status points of ALL levels up to and including MAX_LEVEL. Fixes reaching final level and resetting giving you an unpredictable amount of status points. - pc_resetstate will now fail if you use the stat point table and your char has a level above MAX_LEVEL. skotlex 2007-03-28 13:51:18 +00:00
  • 9d77814b36 - Changed a bit the Moonlit code to prevent an infinite loop - Changed clif_skillcasting definition to take as argument the element of the skill. skotlex 2007-03-27 21:46:15 +00:00
  • 3839fa7619 - Moved coma to skill_additional_effect, added special_state.bonus_coma to prevent doing comma calculations for every player attack. - Added config "vending_tax" to apply a tax to all vending requests, as it was in kRO Sakray some time ago (requested by Playtester) (items.conf). - Some cleaning of skill_additional_effect - Moved the starting of SC_DANCING from skill_initunitgroup to skill_unitsetting - Moved the checks for player_skill_partner_check and (gm_skilluncond for it) to skill_check_pc_partner - Negative aspd rate bonuses will be handled as aspd add rate since the default non-stackable bonus is useless on penalty bonuses. - Added check to prevent the client from using passive skills. skotlex 2007-03-27 18:38:11 +00:00
  • d6b2ea1268 Updated sql-files Playtester 2007-03-27 16:55:10 +00:00
  • 1db65cd071 * Added Akagi to Ninja Job quest - he teleports job level 10 novices to amatsu for free Playtester 2007-03-27 16:48:22 +00:00
  • 8d21e81cf9 My attempt at fixing the zealotus mask npc, now correctly requires a whip ultramage 2007-03-27 10:24:06 +00:00
  • 91deea9ccd - Removed a missing file reference in the athena-start script - Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem - Fixed the msg_silent setting not being announced every time ultramage 2007-03-27 07:41:05 +00:00
  • 0b9f915d9c - Fixed # commands not being blocked when muted if the mute config settings say you should be. - Moved skill db reading before loading mobs so that the new mob condition checks work. - Cleaned up the warning/errors of the mob skill reading function. They are now warnings if the skill is read anyway (default conditions are used) and an error when the skill is not loaded. skotlex 2007-03-26 20:56:39 +00:00
  • 13b13a43df - Cleaned up some the mob skill use code. The skill re-use delay is set at the time the skill is used rather than when it finishes casting. The invalid target check was also moved to the mob skill db reading function. - Skills can be used now when the autoskill menu is open (since there's no packet sent by the client when you hit on cancel) skotlex 2007-03-26 20:21:56 +00:00
  • d86ffb1af5 Added some svn:ignore properties toms 2007-03-26 14:28:49 +00:00
  • 29422b3874 Solved console plugins compilation error toms 2007-03-26 14:24:14 +00:00
  • 905f2da40c - Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB. (high-rate servers will have to change this) - Corrected SC_COMA's success chance (X.4 says it's unconditional 100%) ultramage 2007-03-26 10:15:04 +00:00
  • 158609d145 Changed the vs8 used crt library to static linking ultramage 2007-03-26 00:02:57 +00:00
  • e783bbffec - Coma now reduces SP to 0 (with the exception of Dark Blessing) skotlex 2007-03-25 21:42:53 +00:00
  • 27ae4f7091 Corrected warning on login.sql toms 2007-03-25 12:31:57 +00:00
  • 4b0a77360e - Corrected offset for the pet hairstyle in the spawn packet (0x7c). I still can't figure out where the pet-equip offset should go, it appears this packet does not supports it. - Moved the location of the clif_insight call in LoadEndAck to prevent the homunc/pet spawn packets from being sent twice to the owner. skotlex 2007-03-24 18:09:52 +00:00
  • e893e46e0e Updated the visual studio 7 & 8 project files ultramage 2007-03-24 12:52:09 +00:00
  • c1c9806df3 minor vcproj7 sorting ultramage 2007-03-24 12:40:05 +00:00
  • fdcca7192a Corrected change r10051 which prevented Ice Pick from working ultramage 2007-03-24 01:29:00 +00:00
  • 50af14ce15 - Made waiting_disconnect on the char server be an int to hold the timer ID of the timeout timer. It is now deleted when a player is successfully set offline/online. - Corrected @unjail having the GM level check backwards. - chrif_authok will now reject to store the newly received status data when the player it was received from is still online, should prevent losing data in certain situations. skotlex 2007-03-23 15:58:36 +00:00
  • f4a864cfc4 Removed the npc_chat complication I committed yesterday ultramage 2007-03-23 10:55:50 +00:00
  • dfd82cadb7 Fixed some item names thanks to Argatlahm Playtester 2007-03-23 10:53:15 +00:00
  • 969c49d07c * Temporary resolved npc_chat.c macro issue. Please revise where to put the macros. Lance 2007-03-23 07:14:39 +00:00
  • c11d18be16 Removed charsave from projects (used old data for the previous commit, sorry) ultramage 2007-03-22 21:42:21 +00:00
  • cb3e3fd4f9 Major reconfiguration of the vs7 project files (+vs8 while I was at it) - added definitions _DEBUG and NDEBUG to tune system-specific stuff - reduced the build requirements (Pentium 4 was a bit too much) - changed build settings and project structure to match the vs8 projects - corrected some vs8 inconsistencies ultramage 2007-03-22 21:37:51 +00:00
  • 06f0d60116 Some generic typo fixes (src and npc) ultramage 2007-03-22 21:03:19 +00:00
  • a0d1e3f0dd - Removed unused bIgnoreDefMob - Removed unneeded sd variables cart_max_weight and cart_max_num - Made ignore_mdef_ele/ignore_mdef_race/ignore_def_ele/ignore_def_race unsigned chars rather than ints. - Made pc_dropitem check for inventory_data, to guarantee that the item will be deleted from the inventory after dropping it. skotlex 2007-03-22 16:46:09 +00:00
  • 7ec7957962 - Twilight Pharmacy's cast time is no longer reducable by dex. - All weapon enchant levels now last 3 minutes. - Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than 100% - Food boosts are now dispelled on death only. skotlex 2007-03-22 14:57:55 +00:00
  • 5e8af53cc8 Added 11.2 weapons Playtester 2007-03-22 14:49:16 +00:00
  • 11956bf6fd reformatted the sign quest for future optimization Lupus 2007-03-22 12:43:16 +00:00
  • f441021b95 - Corrected setitemscript so it actually changes the script as requested instead of causing dangling pointers. - Cleaned up unitattack - Made packet_ver_flag's description use hexadecimal values for the packet versions, and changed the default to 0xFFFF. skotlex 2007-03-21 21:13:47 +00:00
  • 161ee3ac50 - Cleaned up some the code of pc_equipitem and clif_parse_EquipItem skotlex 2007-03-21 16:03:12 +00:00
  • cc6a222a11 - Added define MAX_CHARS so you can easily mod the server to support a different amount of characters per account (however, there is still the issue of hexing the client to support this change) - Updated msg_athena.conf so it no longer uses broken english on several entries. Thanks to Scerez for the updated file. skotlex 2007-03-21 14:52:23 +00:00
  • b67cf18abd optimized novice grounds. optimized 1 card Lupus 2007-03-21 08:42:07 +00:00
  • e377e96bc9 - Increased Improve Concentration's hide-revealing range to 3 (7x7) - Cleaned up a bit the Ankle Snare status code. skotlex 2007-03-20 21:14:55 +00:00
  • dc42b4aa62 - Added Magic Rod's "action" pose when using it. - Corrected a pluralization typo in item_db.txt skotlex 2007-03-20 16:51:11 +00:00
  • 19edc61ab5 Fixed RSX 0806 and General Ygnizem card Playtester 2007-03-20 16:45:18 +00:00
  • a102344894 - getpetinfo 5 will now return the pet's rename flag. - Autoloot will now only work on items dropped a certain distance from the player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and defaults to AREA_SIZE. skotlex 2007-03-20 16:02:22 +00:00
  • 3ee61db52f - Removed Magic Rod's cast bar. - Corrected warning on login sql. - Gravitation no longer causes damage flinch. skotlex 2007-03-20 14:59:16 +00:00
  • 3d83f71043 Modified swap #define to avoid 'value computed is not used' warning toms 2007-03-20 14:24:41 +00:00
  • a431acd416 Added npc/sample/npc_live_dialogues.txt how to use Global_Functions.txt Lupus 2007-03-20 06:48:26 +00:00
  • e63626deea Increased MAX_STATUCHANGE to 300 so we won't get the same error over and over next time we add an SC... Reverted the map index reading for the map-server to the old system (from map_list.txt and not map_cache.dat) DracoRPG 2007-03-19 22:58:20 +00:00
  • c9ee6987e6 - Patched the MAX_STATUSCHANGE startup error - Fixed a compiler warning - Really removed duplicate Noyee npc ultramage 2007-03-19 22:17:44 +00:00
  • 2907fa6467 - Removed the last argument from skillitem, the skill name passed to the client should always be of the type "AL_HEAL" anyway. - Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should use. - Corrected itemskill calls in the item_db, also made the weapon enchanting items invoke the ITEM_ENCHANTARMS skill. Corrected Holy Egg not being type 11 (delay consume) - Updated item_db.sql with item_db information. - Added support for specifying different elements per skill level in the skill_db - Added bonus bNoKnockback - Corrected typo in bonus bSubRace2 (it was called bSPSubRace2 for some reason) - Corrected login sql server not resetting your account state to 0 when the banuntil duration expires. - Corrected use of UINT_MAX instead of INT_MAX in some jailing check. - Made the skillatk bonus it's own function, it can now be used to boost Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well. - Cleaned up TK_WARMWIND to use the element acquired from the skill_db rather than hardcoded values. - Corrected Teleport's save map entry being sent without the .gat extension. skotlex 2007-03-19 19:44:21 +00:00
  • 9da9461dfe * Updated new cards [Playtester] - they can all be used now, however some bonuses are still incomplete - also fixed Byeollungum, The Sign and Turtle General Card Playtester 2007-03-19 18:10:12 +00:00
  • 7b2a5ff106 - Corrected Warp Portal not sending the map names with the .gat extension. - Probably corrected Disarm's strip animation. skotlex 2007-03-19 14:26:18 +00:00
  • d1fda3045f - Rewrote the jail logic to always use a status change. This means that the character's save point is not changed when jailed, and the char is always warped back to the point where it was before being jailed on unjail. - Made pc_setpos fail if you are jailed, effectively blocking you from being moved out of the jail map for the duration of jail. - Modified @adjcmdlvl so you can't set a command to require higher level than yourself, and so you can't edit the level of a command which is higher than your own. - Corrected attack_attr_none setting disabling elemental resist cards. - Added missing cap check of 100% to drop rate configs for heal/use/adddrop (cards)/treasures. - Corrected Autoblitz yelling the skill name if the attack splashed. - Corrected Dispell removing Jailed status. - Corrected being able to revive with 0 hp. - Modified the "Restart" code so that it makes you stand on spot when pc_setpos fails to move you back to your originating location. skotlex 2007-03-19 04:36:44 +00:00
  • 9579515cb9 - Removed the old 'mapserver charsave' mechanism - Fixed some wrong sql login logic - Fixed some compiler warnings, cleaned up mapserver sql-related vars ultramage 2007-03-18 22:43:41 +00:00
  • 3e25d536cf Globalised use of script_pushint and script_getdata in script.c Little clean of unused variables in script.c toms 2007-03-18 21:35:42 +00:00
  • 14e2d760f9 * Script engine: - calling functions without using the return value doesn't generate warnings - more work on Ticket #41 * Took care of two warnings and a minor change to the makefile. FlavioJS 2007-03-18 16:07:16 +00:00
  • 66c7c0d040 Added missing VC++ 7.1 project files for mapcache. Lance 2007-03-18 09:50:57 +00:00
  • 91fe35aab8 A note about the case_insensitive config setting, read changelog for details ultramage 2007-03-17 22:44:02 +00:00
  • 2a7f5aeb7f committing my work on the login server (mostly SQL) - removed the check_ip_flag from login&char (there since r1) - removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1) - removed dynamic_account_ban, gm_db settings, weren't doing anything at all - modified the date_format setting to take the format string directly - removed overly verbose config loading messages - removed/simplified many more useless actions - renamed the dynamic_pass_failure_ban_ settings to make more sense - collected relevant config settings into a login_config structure and documented their purpose - allowed usage of yes/no instead of the user-unfriendly 1/0 method in config settings (and added 1/0 as a possible option) - fixed dnsbl which was always taking only the first entry into account ultramage 2007-03-16 17:40:44 +00:00
  • ea94ff3e8a Fixed a missing curly brace and removed some more .gat-s ultramage 2007-03-16 13:42:33 +00:00
  • 3b7ccf4d14 removed all .GAT from configs, docs and examples Lupus 2007-03-15 20:51:30 +00:00
  • c6d5f38b75 removed all .GAT from all the scripts and tested Lupus 2007-03-15 20:32:55 +00:00
  • 4670b25f7b Added GCC4 autodetection for -Wno-unused-parameter and -Wno-pointer-sign in Makefile toms 2007-03-15 15:28:22 +00:00