Commit Graph

  • 00c558490a - JK_JOINTBEAT as described in: http://www.ragnainfo.net/wiki/index.php/Vital_Strike Although not clear, it's being assumed that the 2x damage is only for the break neck ailment. Reported by zaibach in http://www.eathena.ws/board/index.php?s=&showtopic=93873&view=findpost&p=727844 FlavioJS 2007-01-03 05:07:58 +00:00
  • 215762fe8c - Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements. - Re-applied change r9593 that got accidentally reverted by r9595. - Added the official behavior of monsters regaining full hp when they morph. - Added support for text/comments at the end of monster spawn lines (<tab> required) - Silenced the debug message in socket.c that's been freaking people out. - Modified the useless error message in atcommand_effect. ultramage 2007-01-03 03:05:43 +00:00
  • 88addb1951 - Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment. FlavioJS 2007-01-02 08:46:03 +00:00
  • a35ee1f5d7 - Gospel sends the buff message to the affected player. Reported by holybeske in http://www.eathena.ws/board/index.php?showtopic=130440 FlavioJS 2007-01-02 07:17:11 +00:00
  • 2bd2fbacbe - added info about sleep,sleep2,awake commands and updated the variables section (hopefully all info is correct) FlavioJS 2007-01-01 18:47:59 +00:00
  • b6aac83a77 Made High Speed Cart Ram (WS_CARTTERMINATION) ignore Crusader's Guard and Shield Reflect. And happy new year! DracoRPG 2006-12-31 22:48:50 +00:00
  • d085b9f628 - Added more info when npc_scriptcont tries to continue a different script. FlavioJS 2006-12-31 13:07:22 +00:00
  • e0399ebb83 * Refer to http://www.eathena.ws/board/index.php?showtopic=130285 - Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it. - Updated pc_is50overweight to use battle_config.natural_heal_weight_rate. - Added 90% weight check when attacking. FlavioJS 2006-12-31 12:12:42 +00:00
  • 0cf60d9ca1 - Updated getitem and guardian entries in script_commands.txt. - Fixed getitem trying to get <character ID> from the wrong argument. - Now getitem can be run on scripts without a player attached if <character ID> is specified. - Now the two last arguments of guardian are optional and independant of each other ("<event label>" and <guardian index>). This way the previous implementation and script_commands definition are still valid code. - Now buildin function names and argument definitions are checked for validity before adding the function to the script engine. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? v - value (string or int) s - string i - int l - label ? - one optional parameter * - unknown number of optional parameters FlavioJS 2006-12-31 09:22:25 +00:00
  • 4fa4e26d99 - Reverted the packet structure changes to mmo_char_send006b in r9588 and corrected the bug that I was originally fixing. FlavioJS 2006-12-30 20:28:37 +00:00
  • 8160fd2b40 Fixed typo in mob_skill_db Playtester 2006-12-30 14:15:42 +00:00
  • b319b03eba WTF was I doing? Lance 2006-12-29 18:45:41 +00:00
  • f2df4e5b2a * Small fix in TK_MISSION from 1/101 to 1/100 probability. (Valaris) Lance 2006-12-29 18:44:00 +00:00
  • eb080dbd67 - Fixed spiritballs not correctly being used for skills such as Finger Offensive when GM unconditional is set. skotlex 2006-12-29 18:36:15 +00:00
  • 678096381e - Skill use is now cancelled when you use it while cloaking, and the uncloaking process warps you. skotlex 2006-12-29 14:21:09 +00:00
  • 6a7bdd6ffe - Reapplied Skotlex's socket.c changes from r9587 and r9582. :S (sorry) FlavioJS 2006-12-28 19:42:59 +00:00
  • f863581174 - Part 3 of TheUltraMage's socket cleanup. - Fixed the packet structure in mmo_char_send006b for PACKETVER 8. - Removed search_str from add_str (add_str already searches for the string). - Native script words like do,while,for,... are case insensitive now. - Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better distributions). - Added alternative hash implementations to the script engine (to try out later). FlavioJS 2006-12-28 19:11:40 +00:00
  • 807acd0aac - Added a func_parse invocation when an invalid socket is found, so that the underlying code (char/map/login) can handle it and free any related resources. skotlex 2006-12-28 18:02:14 +00:00
  • 82e54d7c75 - Added some skill effect packets so it displays a generic effect for unknown targetted skills skotlex 2006-12-28 17:41:33 +00:00
  • 223d87c197 - Fixed typo in the Priest Quest. - Added year to the dates in stable/npc/Changelog.txt KarLaeda 2006-12-28 17:14:26 +00:00
  • d5f7de4d0e Added some history books Playtester 2006-12-28 16:02:22 +00:00
  • 8bcc26d8dd - Some cleaning in do_sendrecv, added error messages when handling an incorrect socket. skotlex 2006-12-28 14:03:39 +00:00
  • 65ee3d07e9 minor fix; see Changelog-Trunk.txt blackhole89 2006-12-27 17:56:14 +00:00
  • 0a1b9629b6 Updated SQL files toms 2006-12-27 16:10:49 +00:00
  • 3048495c54 - Cleaned up item_misc.txt - Fixed a bug which makes the group heal bonus be applied as many times as the item is in that group. skotlex 2006-12-27 15:11:50 +00:00
  • 74e263086a - Applied Rayce's suggestion to improve the script hash size usage. eA now uses a hash of 1024. - The str hash report can be printed by turning on the etc_log skotlex 2006-12-27 14:40:04 +00:00
  • cd14e36a68 - Full Buster's auto-blind chance is now reducable by stats/items. skotlex 2006-12-27 13:48:21 +00:00
  • b6dbcc39c9 - Fixed some warnings - Corrected the comment for the global functions file. - Updated Charge Attack's damage equation as per the only source I've seen of it so far. - Now Guardians/Emperium can't hit /be hit if their current map isn't a gvg_castle or woe is off. This enables "localized" WoE by removing/setting the mapflag gvg_castle on the castles where you want WoE to take effect (note that even though normal players can't be hit on non gvg_castle maps, normal mobs can still be killed in such maps, you'd still need to modify the WoE scripts to use this kind of feature) skotlex 2006-12-26 16:10:53 +00:00
  • 58bb9be68a - Cleaned up some more the code so it works for -DTURBO - Cleaned the pvpoff @ and script commands. - mob_get_random_id now has two additional flags to specify that the monster to acquire should not be a boss type (4) or that it should give exp (8). - TK_MISSION will now pick any mob from the DB as long as it is not a boss type and it gives base exp. - Fixed the double-stone issue when hitting a petrified character. - Minor cleanups skotlex 2006-12-26 15:07:18 +00:00
  • dd92bd13fd - a couple of warnings fixed FlavioJS 2006-12-25 08:21:49 +00:00
  • 8751fbd631 - Fixed buildin_getscrate, thanks Trancid. FlavioJS 2006-12-25 07:28:15 +00:00
  • 60e3d1b499 - Applied part 1 of TheUltraMage's socket cleanup. "Basically what I did was perform simple one-liner substitutions for ugly repetitive blocks of code. The most apparent are the send/recv code and the other basic socket calls." - flush_fifo is non-blocking now. I guess best effort is good enough... - Copied header files from vcproj-7.1 files to vcproj-8 files. FlavioJS 2006-12-25 06:59:25 +00:00
  • 266f66cfff - Applied the rest of Rayce's suggestions and fixes (http://www.eathena.ws/board/index.php?showtopic=129185) - warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are now warn_func_mismatch_paramnum and it only prevents showing the error, as it was probably intended in the first place. (correct me if i'm wrong) - Merged the parsing of function calls in the script engine, removing the parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid again. - Fixed a bug in eye_of_hellion.txt and a bug in hunter.txt FlavioJS 2006-12-25 06:15:46 +00:00
  • 2f7bd25279 Small fir for changeset 9539 KarLaeda 2006-12-24 18:59:58 +00:00
  • b334bf37d7 Fixed some autospell bonuses thanks to NLZ Playtester 2006-12-23 19:18:06 +00:00
  • 11cb7227b2 - Fallback for parenthesis argument lists in the script engine. "func (exp) , ..." is valid again. FlavioJS 2006-12-23 07:09:24 +00:00
  • 4f69a66df6 - Merged START_ACCOUNT_NUM and END_ACCOUNT_NUM moved from login.h to mmo.h - Merged more helpfull error messages when packet_ver=-1. (no more "clif_parse: Disconnecting session #XX for not having latest client version (has version -1)." messages). FlavioJS 2006-12-23 06:46:54 +00:00
  • 52245f90b9 - Moved "#include <limits.h>" to cbasetypes.h to ensure it's included before checking if UINT_MAX has been defined. - Minor changes in pc_readdb related to max_level being unsigned. FlavioJS 2006-12-23 03:24:32 +00:00
  • a71f591edf Fixed Mutant Dragonoid Card Playtester 2006-12-22 23:46:27 +00:00
  • fa1c4b2e47 - Simplified the global function "getJobName" - Simplified function agitcheck so it isn't crash prone. Now it takes no arguments, and will return whether WoE is on or not. - Updated bundled scripts as required for this change. skotlex 2006-12-22 15:38:30 +00:00
  • 2208728178 - Added support for the new "make new char" packet that has the rename button data. Thanks to Sara-chan for the format change update. - Fixed itemdb.c sql compilation - Now when you specify a max level beyond what the exp table has, the last entry of the exp table will be duplicated to fill in the remaining levels. skotlex 2006-12-22 14:19:39 +00:00
  • e75a8eca56 - Change strncpy to memcpy when parsing switches in the script engine since it's guaranteed to be a word of that size (skip_word). - Made scriptlabel_db duplicate the key. When str_buf is reallocated, the keys in scriptlabel_db could become invalid, causing a crash in npc_convertlabel_db. ( removed the readded >=0x81 equivalent ) - Now npc_convertlabel_db clears scriptlabel_db after using it. - parse_script has an extra parameter options. At the moment it only indicates if scriptlabel_db should be used or not. - Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h FlavioJS 2006-12-22 05:27:03 +00:00
  • 01f8edfa6e Updated Bows Playtester 2006-12-21 23:38:02 +00:00
  • dbf52cec16 Raised range of Gatling and Grenade Launcher to 9 Playtester 2006-12-21 23:11:43 +00:00
  • 6e0309bb2c - Applied Rayce's suggestions and fixes to the script engine (http://www.eathena.ws/board/index.php?showtopic=129185) skotlex 2006-12-21 18:12:29 +00:00
  • afd7345d86 - Some cleaning to the character deletion code. skotlex 2006-12-21 17:49:27 +00:00
  • 976eccac9c Updated two handed weapons Playtester 2006-12-21 16:17:28 +00:00
  • 39a8fa2eb6 - Changed a certain snprintf to strncpy, you really really really REALLY shouldn't use snprintf with a format argument that may contain unpredictable string sequences! skotlex 2006-12-21 15:44:39 +00:00
  • 6e34fdb6ed - Added back cropping the attack delay to attack motion for those weird mobs that have a aDelay less than their aMotion time. - Made the Note 4 comment clearer in the battle config files. skotlex 2006-12-21 14:18:48 +00:00
  • 45036c5c06 - readded the >=0x81 equivalent until I figure out where the script engine is 'being naughty' O.o FlavioJS 2006-12-21 03:14:41 +00:00
  • cab81204c6 ups... damn it... FlavioJS 2006-12-21 02:40:59 +00:00
  • a2021e550b - Added a 1-node cache to db. Removed party_cache and guild_cache since now the database has a cache. FlavioJS 2006-12-21 02:32:51 +00:00
  • 15258dfdb0 - Moved md5calc to common - Answered Skotlex's question and fixed "warning: comparison is always false due to limited range of data type" by restricting script words to ASCII characters only. - Applied "svn:eol-style native" to makefiles and project files FlavioJS 2006-12-21 01:16:30 +00:00
  • eb46c3aadc * NPC_CHANGEUNDEAD is now "target" for all mobs - all other NPC_CHANGE skills stay "self" Playtester 2006-12-20 20:44:51 +00:00
  • 6676ebcadb Fixed #endif instead of #else KarLaeda 2006-12-20 20:20:12 +00:00
  • a578128619 - Changed some %lu (long unsigned int) to %u (unsigned int) skotlex 2006-12-20 18:56:31 +00:00
  • 4265154cf1 - Fixed the #if -> #ifdef mess up -.- skotlex 2006-12-20 18:24:49 +00:00
  • e29a1031d5 - Moved PACKETVER to mmo.h, and added support for the expanded character info window on the char-server when PACKETVER is above 7. skotlex 2006-12-20 17:21:56 +00:00
  • edbb476bf9 - Fixed ISSPACE and ISALPHA casting their returned value to a char. These are "bool" functions, and as such return an non-zero int as result, casting them to char just... really messes things up when the returned value is out of the CHAR_MAX/CHAR_MIN range! skotlex 2006-12-20 16:43:46 +00:00
  • 6bbec4a65d - Added an answer to a FlavioJS's comment, and added a question myself (npc.c/script.c respectively) - Fixed add_str in script.h not being updated to const char as well. But why do we really need such a script-engine low-level function exposed to the rest of files? :/ - Moved the strip unequip code to before deleting the timer, this fixes trying to "re-strip" someone causing the skill to fail and on top of that terminate their current strip effect. - Added an ugly work around to the issue of skills with additional effect causing opt1 status when they have just terminated them (in short, you shouldn't be able to hit someone with, say, sleep, and then have the same skill cause them stun, since both are opt1 values). - Reading of TK Mission variables will now happen if you are a TK-class character regardless of whether you know TK_MISSION or not. Should fix being able to reset skills to reset your Mission data. skotlex 2006-12-20 15:54:11 +00:00
  • 72bebf27fc - Now root script functions calls can have parenthesis (will take any parenthesis after the function as the start of the argument list). This means "func (exp),exp;" isn't valid anymore and has to be changed to "func exp,exp;" or "func((exp),exp);" or something like that. - Updated swordman.txt and knight.txt accordingly. FlavioJS 2006-12-20 11:50:44 +00:00
  • 4c6f7a0b0e Commented some items that seem to crash the kRO client Playtester 2006-12-20 10:57:54 +00:00
  • d79eb83a0f * Made NPC_CHANGE self targetted for all mobs - it should either be self or target for all but not mixed up - fixed up Parasite and Peach Tree AI Playtester 2006-12-20 10:48:07 +00:00
  • 78b52bbb4b - Replaced our fix for "mes ();" crashing by jA's version. see trunk[8867] and stable[8927] - Merged the fix for & having the same precedence as << and >> from jA. - Merged the C_OP3 operator from jA: test ? if_true : if_false FlavioJS 2006-12-20 09:09:21 +00:00
  • 40b389bc42 - Changed the script source from unsigned char* to const char*. - Updated plugins Makefile. FlavioJS 2006-12-20 07:17:18 +00:00
  • 4a2db02dec - Fixed the meaning of stdout_with_ansisequence and changed the default value to no. FlavioJS 2006-12-20 02:02:24 +00:00
  • e445c551c2 - Fixed SC_STRIPWEAPON failing on two-handed weapons. - Minor changes. skotlex 2006-12-20 00:44:52 +00:00
  • 22c74d61ff Now Peach Tree can move, Parasite can't Playtester 2006-12-19 22:11:22 +00:00
  • b19f78a17c - Fixed the setting hom_setting not being read at all. - Minor cleanups skotlex 2006-12-19 20:33:35 +00:00
  • f4ce933b8b - Added year to the dates in the npc changelog - Added sample localized NPC FlavioJS 2006-12-19 19:20:15 +00:00
  • b4ef291d27 - Added missing include of system header limits.h to timer.c skotlex 2006-12-19 17:56:10 +00:00
  • d882e5030b - Reverted the mob ThinkTime update, that field is again aDelay as it apparently should be. - Fixed one small compilation error. skotlex 2006-12-19 13:41:25 +00:00
  • 43256aa77e - Cleanups or minor changes. - Now addtick_timer invokes settick_timer, so keep an eye for whatever timer issues it's supposed to have. - Removed the flush_fifo from clif_parse_TickSend until the socket problems are fixed. FlavioJS 2006-12-19 09:15:00 +00:00
  • 2afbde751d - Updated POS2 macros. The 6th byte is subx0 and suby0 FlavioJS 2006-12-18 20:45:58 +00:00
  • 12242c1bdc - Added hom_setting to specify which homunculus 'quirks' are in effect. The default activates all of them, if you set them to 0 then homuncs will not be treated in any special matter, pretty much like standard mobs. if I missed any 'quirky' homunc behaviour from it, report it so it can be added to the list. - Made flooritem_lifetime a int so you can specify much longer life times (the default of 60k was already very close to the max of 65k) - Removed monster_ai 0x80 since it's now handled by hom_setting. skotlex 2006-12-18 20:12:59 +00:00
  • 224e07c6cc - When walking into a Guild Dungeon your pvp_points will be set to 5 so you have to die twice before being warped out. - If jobchanging while disguised, the disguise will be removed, since it can't be kept and still calculate correctly the new job class to use. - Fuuma shurikens are now unbreakable code-wise (like all maces, books, etc) - Applied Meruru's patch to increase speed of easy path seeks. skotlex 2006-12-18 19:15:41 +00:00
  • 1ea782e49c Fixed some swords Playtester 2006-12-18 15:45:23 +00:00
  • 89b6fcb4ed - Adding new maps to the map_index.txt and maps_athena.conf eaac 2006-12-18 15:27:04 +00:00
  • dd6a713c36 - Cosmetic changes to db. - Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h wasn't being included) FlavioJS 2006-12-18 15:06:51 +00:00
  • 628683cd41 Fixed exploit in The Sign Quest KarLaeda 2006-12-18 00:04:41 +00:00
  • 732e3c71a1 Fixed Owl Duke and Owl Baron losing boss mode on NPC_EMOTION Playtester 2006-12-17 11:50:13 +00:00
  • a3418f4100 Updated some weapons and view ids Playtester 2006-12-16 14:06:16 +00:00
  • a9a0849c3e Fixed prices of arrows Playtester 2006-12-16 13:01:22 +00:00
  • b396c06c58 Update remaining headgears Playtester 2006-12-16 12:40:03 +00:00
  • 08424f7e76 - Moved packet_len_table values to packet_db[SERVER]. - When an invalid packet_ver is found, all it's entries are discarted intead of just stopping the parsing. FlavioJS 2006-12-16 03:20:40 +00:00
  • 25cd5a05f4 - Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids greater than MAX_PACKET_DB are found. FlavioJS 2006-12-16 00:22:08 +00:00
  • b9fd36a7cd - There will be now warnings printed when a shop sells an item which's buy price is 20z, since those usually are "rare" items with no buyying price set. Note that this reports one fake, and that is the selling of a certain shuriken that indeed costs 20z. - Most likely fixed client crash when xmas/wedding status runs out. skotlex 2006-12-15 18:13:37 +00:00
  • bcef152c09 Reverted price of Mink Coat Playtester 2006-12-15 11:20:30 +00:00
  • 73c98dd0cc Updated some more headgears Playtester 2006-12-15 11:08:04 +00:00
  • bd82c377b1 Added some new headgears Playtester 2006-12-14 21:58:18 +00:00
  • 926f672025 Updated various headgears Playtester 2006-12-14 20:25:06 +00:00
  • 36f6c8122e - Removed "mobs being enemies of each other all the time" because, even though mobs can hit each other as they should, they will refuse to use support skills on enemies, which breaks several of their skills. Mobs can't both help and attack someone tagged as enemy D: I guess eA is just too smart to emulate Aegis's sloppy coding. skotlex 2006-12-14 18:20:08 +00:00
  • b8a2a5f905 - Added function skill_strip to handle stripping code. The RG strip skills and GS_DISARM use it now. - Modified the strip-related status changes so they handle removing the equipped item instead of leaving it up to the skill-code. They return 0 when nothing could be stripped. - Cleaned some the MD_DETECTOR code. skotlex 2006-12-14 18:15:24 +00:00
  • 5b46682b66 Capped Dex to 255 in the mob_db Playtester 2006-12-14 17:32:31 +00:00
  • 73f1436125 * Old Purple Box now drops Assassin_Mask_ instead of the old one - the old one got removed and will now crash the client Playtester 2006-12-14 17:17:10 +00:00
  • 6a95b7a245 - Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link, Card skill damage bonuses) are now applied independently of each other, which lets them stack. - Some minor cleanings on the code vecinity. skotlex 2006-12-13 21:20:14 +00:00
  • 58adf03b64 Added two new pet eggs Playtester 2006-12-13 19:47:53 +00:00
  • 8bd7d2873e Modified flush_fifo so the code do what is written in the comment toms 2006-12-13 16:09:13 +00:00
  • 188a6322a0 - Added boss mode (0x20) to a few mobs that were missing it. skotlex 2006-12-13 15:08:38 +00:00
  • 0c362fa90f - Modified flush_fifo so you can decide whether to block the current thread or not until the data is sent. The server-tick reply no longer blocks the current thread. skotlex 2006-12-13 13:45:52 +00:00