Commit Graph

  • 938772f848 - Fixed mobs being unable to attack anything... @.@ skotlex 2006-12-13 13:18:42 +00:00
  • 65051e211d Fixed exploit in the Slotted Sunglasses Quest KarLaeda 2006-12-13 09:56:32 +00:00
  • b3c1a24503 - Fixed a bug in the new knockback additional packet. - Commented out the new knockback skill additional packet as it makes most skills not display an animation. skotlex 2006-12-12 22:47:27 +00:00
  • 6d6615b687 - Mobs now by default are "everyone's" enemy, so mobs are able to hit each another. - Added monster_ai&0x400 to use the previous 'smart' criteria that prevents mobs from fighting each another. - Moved "unsetting" the angry mode from the mob_ai to the mob_damage function, where it'll work regardless of who hits the mob. skotlex 2006-12-12 21:38:34 +00:00
  • eb8761b56b Added full status recovery to some healing items Playtester 2006-12-12 20:32:00 +00:00
  • ce46f70410 - Modifed a bit the clif_change_look function, it should fix crashes with the Xmas sprite when changing maps. skotlex 2006-12-12 16:33:26 +00:00
  • f7d506f645 - Fixed skills displaying a 32k damage when used while disguised. skotlex 2006-12-12 16:27:49 +00:00
  • 83e8fa80b9 - Added guild master check before asking to make/delete an alliance/opposition skotlex 2006-12-12 15:49:02 +00:00
  • 129e97d6c9 - Minor changes to ers. - Removed unused/hardly used cbasetypes typedefs. - Updated txt-converter's makefile to include utils.o FlavioJS 2006-12-12 15:24:20 +00:00
  • e3d9258754 - Updated npc_event_dequeue to free up your current npc information, and not just the npc_id skotlex 2006-12-12 15:05:17 +00:00
  • 84f8ec45d5 - Modified the skill damage packet and the knockback packets to mimic aegis sent packets for such skills. skotlex 2006-12-12 14:53:53 +00:00
  • 04b76739c4 - Removed CART_MASK as OPTION_CART can take care of that. - Moved the OPTION_MASK define to status.h - Reverted the knockback implementation to use clif_slide instead of clif_fixpos skotlex 2006-12-12 13:53:36 +00:00
  • a0bad51812 - Added various guild packet related missing checks skotlex 2006-12-11 20:43:34 +00:00
  • 072a933741 - Updated mob_db2.sql skotlex 2006-12-11 18:43:02 +00:00
  • 9bd4913d7e - simplified the code for @autoloot - made @hominfo display the six basic stats. - Simplified the MD_DETECTOR checks, since now all insects/demons have it set, and it's no longer needed to check for the race. skotlex 2006-12-11 18:40:14 +00:00
  • 160f3f12a6 Removed mob_db_a.txt Playtester 2006-12-11 17:53:16 +00:00
  • 914a102822 Updated sql files Playtester 2006-12-11 17:22:16 +00:00
  • c769342386 * Readded removed mobs in a commented form - also commented all invalid and missing sprite mobs Playtester 2006-12-11 17:16:53 +00:00
  • 65e46b9e7b * Adjusted Rachel Sanctuary entrance to prevent exploits * Added Ktullanux to spawns until the quest is added * All Rachel MVPs now only respawn once a day to prevent exploits * Uncommented Rachel Sanctuary spawns by default Playtester 2006-12-11 16:23:45 +00:00
  • 2fd5ba31c5 removed extra name Lupus 2006-12-11 16:08:54 +00:00
  • 705e960a79 - Spirit of Sin and Enchant Deadly Poison now stack. - Fixed skill damage card bonuses not working on magic skills. - Moved the setting of sd->npc_id = 0 in npc_dequeue to the beginning, since this function is called when a script is cancelled (TODO: but when this happens, shouldn't the previously ongoing script also be free'd?) - Made homunc's speed be recalculated when you respawn it from rest state. skotlex 2006-12-11 16:04:24 +00:00
  • cfb110ab58 Added missing close2 to Hunter Job Quest, merge it to stable KarLaeda 2006-12-11 14:17:02 +00:00
  • 4ee424c45d Some cleanup & optimization for MvM Arena KarLaeda 2006-12-11 12:17:44 +00:00
  • ec4405b354 added yuno warps, fixed wiz quest, fixed assassin quest Lupus 2006-12-11 10:38:54 +00:00
  • 01b6c052c6 Fixed @revive not reviving the good char toms 2006-12-11 10:19:12 +00:00
  • 1c8523c487 err, ups... -.-' FlavioJS 2006-12-10 19:29:02 +00:00
  • d4185ce10e - Added 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) - Joined normal and MINICORE's main function. - Put malloc_init() first and malloc_final() last as it's needed for Show* in display_title(). FlavioJS 2006-12-10 19:23:04 +00:00
  • b524f75cd0 - Reversed revision #9415 (messages with server_tick field being sent as soon as possible) since it didn't fix the client synchronization issue. - clif_parse_TickSend is sent immediately so the client gets accurate "pings" FlavioJS 2006-12-09 15:57:22 +00:00
  • c8f5ca1425 Implemented Frus Card Playtester 2006-12-09 14:01:01 +00:00
  • 2f497e2c18 - Minor fix in one mob skill line. skotlex 2006-12-08 19:33:14 +00:00
  • 7a607a433a - Now you can request a trade regardless of the state of the target trader. - The trade will now fail when you accept it and either character is speaking with an npc, vending or has the storage open. - Cleaned up some the trade ack function, added proper replies to some fail cases. skotlex 2006-12-08 15:05:48 +00:00
  • 2d7b67257e - Fixed crash when looters became full. skotlex 2006-12-08 14:43:47 +00:00
  • e906a6f074 - Moved attackedcount to md->state and made it an unsigned char. - Autospell delay time is now the skill's full delay. - Removed variable attackedplayers, since Aegis is state driven, the best approximation to Aegis would be to use the last player that hit the mob. skotlex 2006-12-08 13:43:48 +00:00
  • 7ecc1ab6e1 - Fixed ladmin's linux compilation and moved some platform specific defines to cbasetypes.h FlavioJS 2006-12-07 23:59:26 +00:00
  • 1928d865c8 - Bunch of documentation fixes. skotlex 2006-12-07 17:08:16 +00:00
  • e81a812069 - Cleaned up implementation of NPC_EMOTION/NPC_EMOTION_ON. Now val0 is the emotion, val1 sets the mode, val2 adds to the mode, val3 removes from the mode. val4 asks to remove the previous mode change. - Updated the mob skill reading code so it accepts hexadecimals in the 'val' fields. Also, it will optimize the NPC values so that when you set a mob's mode to their db mode, it will just remove the previous mode. - NPC_EMOTION_ON will now automatically move it's new mode to val2 since it should add a mode, and if this mode doesn't has the aggressive bit, it will remove it. See this "ancient" hypothesis on how NPC_EMOTION_ON should work for the details: http://www.eathena.ws/board/index.php?showtopic=63606 - Updated mob_skill_db to account for the updated mob modes on NPC_EMOTION skills. skotlex 2006-12-07 16:42:25 +00:00
  • 912fc7a427 Fixed npc commands atcommand & charcommand not working with a custom command_symbol toms 2006-12-07 12:55:00 +00:00
  • 1021525c6c Updated cards according to latest kRO patch Playtester 2006-12-07 12:04:51 +00:00
  • 2c62592868 Fixed mode of guardians Playtester 2006-12-06 23:12:09 +00:00
  • 3f3172a720 - Changed the order of view-change packets for SC xmas/wedding, should fix crashing if you change into xmas suit while in fighting stance. skotlex 2006-12-06 21:30:45 +00:00
  • 8b8aa14493 - Renamed the mob mode Cast-Sensor Melee to Cast-Sensor idle since these mobs really should only be cast-sensing when they are not after another target. - Added a Aegis Mob Type -> eA Mode table conversion to the mob modes doc. skotlex 2006-12-06 21:11:12 +00:00
  • 38338ae141 - Updated the mob_db converter to rename the ADelay column to ThinkTime. - Updated the mob_db sql files to have this change as well. - Updated mob_db2.sql skotlex 2006-12-06 18:38:45 +00:00
  • 3e4765f481 Updated sql-files Playtester 2006-12-06 18:34:33 +00:00
  • 3adbc9b589 - Gave a minimum think time to the dummy mob and to clones. skotlex 2006-12-06 18:29:44 +00:00
  • 5036e3591a - Cleaned up the implementation of map_foreachinmovearea so that the number of arguments passed is less. - Moved setting a mob's chase/attack states from the mob_ai to unit_attack and unit_walktobl. - Cleaned the change-target/cast-sensor code to account for the new mob modes. - Cleaned up a bit the mob ai sub hard function. - Made the monster_active_enable config setting take effect on mob load. - Updated the doc explaining mob modes. skotlex 2006-12-06 18:21:32 +00:00
  • 49519dc929 * Updated mob modes - they are now in hex format Playtester 2006-12-06 18:15:52 +00:00
  • c5dc6d7e04 - Fixed the compile error when trying to build the ladmin exe. - When GM skill unconditional is set, the arrow state of the skill will be calculated, this fixes all skills getting stuck on arrow-type after you attack normally. - Alchemist famous potions get their 50% bonus on top of the natural bonuses as a 1.5x type of bonus instead of adding linearly on top of your vit bonus (which would mean equal bonus of raising your vit by 25). - Fixed the va_arg(va, char) warning that said the program would abort when it's reached o.O; made it read a int which is then casted to char. skotlex 2006-12-06 15:52:01 +00:00
  • 2a9b9b6854 Minor fix to the sign quest, thanks to theultramage for pointing it out. MasterOfMuppets 2006-12-06 12:58:46 +00:00
  • 74303fe227 Updated accessoires Playtester 2006-12-06 12:33:14 +00:00
  • 27cc2312fb - Fixing a compilation error caused by me in rev 9414: -.-; utils.h:35: error: syntax error before "va_list" FlavioJS 2006-12-06 11:17:08 +00:00
  • 0931ce5d81 - Messages with server_tick field are sent as soon as possible now. This might fix client synchronization issues. FlavioJS 2006-12-06 10:57:31 +00:00
  • 53a7ca362b - Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer. Now it uses a static buffer and a StringBuf when needed (a debug message indicating the static buffer needs to be increased is shown). FlavioJS 2006-12-06 04:25:13 +00:00
  • 2e89ae68c4 - The can log value now is "reset" when you die allowing you to respawn/quit instantly after death. skotlex 2006-12-05 21:29:45 +00:00
  • efce12bf28 - Fixed sc data load failing when using charsave_method: 1 - Fixed the interserver link reserve size being 8 times instead of 1/8th the default size. Changed it to be 1/4th as well. skotlex 2006-12-05 17:09:02 +00:00
  • 637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files. FlavioJS 2006-12-05 13:23:07 +00:00
  • 7d701ea977 - Found the position of emblem_id in packet 1b6, commented out the old fix while it's in trial period. FlavioJS 2006-12-05 11:43:20 +00:00
  • 6fda364348 - Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and changed clif_guess_PacketVer to use that. - Made the script engine big-endian compatible. (i know it's pointless because of the move to eApp, but just couldn't resist :S) - Commented out the remnants of ladmin packet parsing in map-server. - Added a warning when a player has an invalid packet version (shouldn't happen) FlavioJS 2006-12-05 07:24:29 +00:00
  • ec8570d59f - Oops, fixed sql compile error. skotlex 2006-12-04 19:11:53 +00:00
  • a7cd3bf966 - Fixed HVAN_INSTRUCT int bonuses. - Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to their thinktime unless their thinktime is less than their attack motion. - Cleaned the mob_db reading code a bit. skotlex 2006-12-04 19:07:18 +00:00
  • 83742242c4 Almost official HP values for Ninja/Gunslinger Playtester 2006-12-04 18:04:38 +00:00
  • 384fe7b6fc - Changed some pc_authfails to clif_authfail_fd since pc_authfail prints errors when invoked after a char is auth'ed. - Added a static +100 Hp to ninjas and gunslingers since it's required for the best approximated hp growth algorythm. skotlex 2006-12-04 17:41:02 +00:00
  • 30c5778a46 Updated garments Playtester 2006-12-04 17:15:26 +00:00
  • 722b1689e3 - Changed clif_blown to use fixpos again as per aegis packets. skotlex 2006-12-04 16:08:42 +00:00
  • 1424d93e12 - Repairing items via scripts no longer displays "item has been repaired" - Status Recovery again makes mobs unlock their current target. - Moved requesting party/guilds from the char-server from pc_authok to pc_reg_received, since map_nick2sd and map_getallsd won't work until the characters are authentified. Also removed the guild master setting from clif_parse_LoadEndAck to pc_reg_received since guild master setting will work there. - Fixed homun hunger timer being started on login even when hom is vaporized/dead. - Fixed mvp exp attacker bonus applying incorrectly. - Removed duplicate msg_athena.conf entries 619 and 620 for Ninja/Gunslinger. skotlex 2006-12-04 15:37:09 +00:00
  • 0043aed5fd - Fixed the txt->sql converter not escaping character names before saving them. - Fixed a pet's level not resetting to their db level when you enable pet leveling and later on decide to turn it off. - Fixed a bad initialization in pc_setnewpc - Fixed restricted equipment not updating your view info after they are unequipped. - Removed a bunch of extra text/checks when ignoring characters (/ex) when Aegis does none of these checks. /inall now wipes your ignore list (it does this on Aegis, too). skotlex 2006-12-04 13:59:42 +00:00
  • 420d4f915e Updated shoes Playtester 2006-12-03 21:52:07 +00:00
  • 231f495291 - Removed sd->sex since it's redundant (we can always use sd->status.sex) - If somehow a player logs out and it's saved with 0 hp, on login his state will be set to dead as well so he can respawn (otherwise that leads to a stuck char) skotlex 2006-12-03 19:46:43 +00:00
  • 7831807dc5 - Fixed even share exp flutuating as described in: http://www.eathena.ws/board/index.php?showtopic=126139 thanks to TheUltraMague for the fix. FlavioJS 2006-12-03 19:23:27 +00:00
  • 5d65da8e0c - Made ers double frees report as missing entries on destruction. - Only one swap function (in cbasetypes.h) is used. FlavioJS 2006-12-03 16:50:58 +00:00
  • e82fd31056 * Added buildin_checkvending and buildin_checkchatting. Lance 2006-12-03 09:37:36 +00:00
  • ffbcbb0b54 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9394 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-12-02 23:47:21 +00:00
  • 90352e92a2 * Enabled atcommand parsing for clients with Korean langtype and version. Lance 2006-12-02 18:22:37 +00:00
  • 50403c56cd typo Playtester 2006-12-02 16:42:15 +00:00
  • f94741506e Updated armors Playtester 2006-12-02 16:40:29 +00:00
  • ebba33e507 Updated shields Playtester 2006-12-02 16:09:19 +00:00
  • 09f54754c7 - Added missing min/max definitions to cbasetypes.h, needed for the @send change. FlavioJS 2006-12-02 04:41:23 +00:00
  • b522ca0cdc - Replaced @send with the version I use for testing packets. Can display the packet length. Supports dynamic packets, quoted strings with escaped characters and fixed/variable length, and normal/hex byte/word/long data types. The number of fields is not limited, but it automatically stops parsing when the packet is full. FlavioJS 2006-12-02 04:21:35 +00:00
  • 7935fd82c4 Fixed event's label for many quest-spawned monsters KarLaeda 2006-12-02 02:20:32 +00:00
  • 8e68089e85 - Fixed passive mobs becoming increasingly unlikely to retaliate to attacks after they got inflicted by a disabling status change. - Changed the "is_boss" define to check for mode MD_BOSS instead of giving mvp exp. skotlex 2006-12-02 01:49:27 +00:00
  • 68d882a7f8 Removed another unused mob Playtester 2006-12-02 01:08:03 +00:00
  • 1f73c46800 Small fix to The Sign Quest KarLaeda 2006-12-02 01:05:29 +00:00
  • 09cad51d19 Removed some mobs that aren't used anymore Playtester 2006-12-02 00:41:46 +00:00
  • 9064a41b44 * Removed outdated Thief Bug ID [Playtester] - 1017 and 1021 don't exist anymore Playtester 2006-12-01 23:58:22 +00:00
  • 7793857bff Updated sql files Playtester 2006-12-01 22:53:41 +00:00
  • e958997027 Updated various mob stats thanks to Soukosa Playtester 2006-12-01 22:43:09 +00:00
  • 2de8486627 - Fixed txt-converter compilation. - Added my_global.h include to login converter - Removed sd->char_id since we can use sd->status.char_id instead. - Small speedup in STRECOVERY, and made it not unlock a mob's target. - Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was consuming 2 grenades instead of one). Also added a "explosion effect" when their time runs out. - gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will force pvp ranking gain/loss on gvg_dungeon maps now. - Now when coming out of hiding land-effects will trigger on the character. - Made the pc_setpos message when being placed on an unwalkable tile tell you which player triggered it. - Fixed land effects not taking effect inmediately on map-load when the invincible timer is disabled. skotlex 2006-12-01 17:17:09 +00:00
  • b59e7b8596 Minor tweak in modified src/map/script.c Lance 2006-12-01 04:06:18 +00:00
  • ecb547edc2 Removed garbage vars from Shinokas quest Lupus 2006-11-30 13:09:14 +00:00
  • 80ed807c23 * Added first version of Rachel Sanctuary spawns - commented for now Playtester 2006-11-30 11:56:41 +00:00
  • 26cc18bce1 Fixed some mob names thanks to Soukosa Playtester 2006-11-30 10:59:05 +00:00
  • bc7409eb88 More drop updates Playtester 2006-11-29 22:53:53 +00:00
  • 7f67461a49 - Added a missing map_quit in clif_parse which was the real reason for the crashes. - Therefore, removed the session valid checks from intif.c - Thanks for Flavio for figuring out how to reproduce the crash. And unthanks to me for introducing it on the first place D: - Note: Every connection before being closed and free'd will set eof to 1 and invoke the parse function (clif_parse for players), and since this is the last invocation, it is clif_parse's job to do any cleanup necessary. The missing map_quit what did was to leave the player pointer reference in different db's, which lead to a dangling pointer! Which obviously leads to no good. The map server's code should always ensure that session[sd->fd]->session_data == sd ALL the time (except when sd->fd is 0). - Finally, not writing any of this on the txt changelog file so Flavio can have the glory of the bugfix :B skotlex 2006-11-29 20:54:55 +00:00
  • b421d38216 - Added overflow protection to @main whisper parsing. - Fixed a bug in slaves_inherit_speed - Miscellanous silly cleanups (format, unnecessary assignments, comments, etc) skotlex 2006-11-29 20:11:12 +00:00
  • 636089bb3a - Probably fixed the Segmentation Faults we've been having. Description: A player quits and it's session is freed and set to NULL, but the char server already sent a packet with player information (registers, storage, ...). If a message is sent in consequence of updating that info, a segmentation fault happens because session[sd->fd] is already NULL. Fix: make shure the session of the target player is valid before processing the rest of the char server's message. - Some minor cleanups. FlavioJS 2006-11-29 20:07:22 +00:00
  • 4fa6d05347 Updated various drops Playtester 2006-11-29 18:58:32 +00:00
  • 72ee155c06 - Fixed the new npc parsing code not accounting for windows-style line terminators, which as a side effect messed up mapflag parsing if the file had windows-style terminators, which coincidentally was the case for the nopvp file, which unfortunately meant that all towns became pvp! skotlex 2006-11-29 18:41:31 +00:00
  • 02330c9d81 - Fixed (likely) deleting homs from the menu causing a double free'd error. skotlex 2006-11-29 16:32:50 +00:00
  • 19b4efdc6c - HT_PHANTASMIC no longer knocks back even when it misses. - Earned exp by dead homuns will now be lost (same treatment as earned exp from players that died) - Some minor cleaning in mob_dead skotlex 2006-11-29 16:09:54 +00:00
  • c22f5854dc - Now gvg_dungeon mapflag will activate the other mapflags which are required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced to off if gvg_dungeon is on and viceversa) - Cleaned the pvp ranking code so that it takes effect even if pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. - Cleaned up a bit the pvp ranking timer code. - Now homuncs and their masters are the only ones who can use support skills on the homunc. skotlex 2006-11-29 15:22:47 +00:00
  • e4e42fbcb7 - Some cleaning on the homunc speed calculating code, so that it correctly uses the default walk speed if the player has no speed yet. - Some speed up code when loading status changes (use a pointer instead of memcpy'ing all the time) skotlex 2006-11-29 14:18:20 +00:00