Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS 2006/02/16 * Changed the include in irc.c from strings.h to string.h, which fixes a bunch of compilation warnings here... [Skotlex] * Updated the SQL login/char servers to let the mysql server grant the new IDs for accounts/chars/pets/parties/guilds instead of them being handled by the server. [Skotlex] * Some cleaning of the pc item use functions. [Skotlex] * Gospel shouldn't block enemies in certain situations from using items now. [Skotlex] 2006/02/15 * Fixed crash in chrif_load_scdata warning message. [Skotlex] * Fixed pets displaying "strangely" when they did not have their pet armor. [Skotlex] * Added battle config option pk_level_range for specifying valid level ranges to engage in PK (battle/misc.conf) [Skotlex] * Added battle config allow_es_magic_player to enable SL_S* skills to work on non-mobs. (battle/skill.conf) [Skotlex] * Fixed the char servers to store correctly exp as uints. They are also capped to LONG_MAX before being sent to the client. [Skotlex] * TK_DODGE now dodges all ranged attacks, when used with SPURT, dodges everything. [Skotlex] * The autospell loop now cancels after one successful cast. This means if you have 10 autospells with 100% casting rate, only one will come off with each hit instead of all of them. [Skotlex] * Warm skill update: [Skotlex] - they are type BF_WEAPON, so that they may trigger effect/spell cards. - Changed their element to -1 to carry on weapon's element. - Against player it only damages 60SP per "hit" - Against non-players it is a knockback skill as it was before. - Hit frequency increased to once every 100ms. * TK_DODGE now only dodges ranged weapon attacks, while under Spurt mode it dodges everything (provide better information if this is not how it should behave as the current info given is conflicting itself >.<) [Skotlex] * Cleaned up and expanded the sc_def_rate battle config. The new battle flags are mob_sc_def_rate, pc_sc_def_rate, mob_max_sc_def, pc_max_sc_def [Skotlex] * Modified Marionette Control so that the max bonus stats you get is capped to your server's defined max stats instead of 99. [Skotlex] * Mobs are no longer affected by the vs_traps_bctall switch. [Skotlex] * Added function pc_damage_sp to damage the SP of players, updated code as necessary. [Skotlex] * Fixed @lvup command adding levels instead of substracting when you specify a negative quantity. [Skotlex] 2006/02/14 * pc_setinventorydata won't use itemdb_search on empty inventory slots (id = 0) [Skotlex] * Fixed the icon from Provoke being gone. [Skotlex] * Fixed skill_timerskill (most notable skill broken: water ball doing 1 hit) [Skotlex] * Removed the declaration of puchar and pchar from my_global.h which was preventing compiles on native win NT systems. Drawback is now Win9X systems will fail to compile instead... [Skotlex] * Hiding cancels Close Confine now. [Skotlex] * ST_MOVE_ENABLE now also checks for pc_can_move(), and only perform a walk check if the skill is ground targetted. [Skotlex] * Moved the berserk_cancel_buffs code to status_change_start. [Skotlex] * Moved most checks of status_isimmune() to status_get_sc_def [Skotlex] * Allowed Endow skills to go through status_isinmune characters. [Skotlex] * Fixed PR_BENEDICTIO not taking away all SP. [Skotlex] * Modified the way Status changes are linked to skills for an easier to read implementation (see status_initChangeTables). [Skotlex] 2006/02/13 * Added battle config sc_def_rate which adjusts natural defense of characters against status changes (see conf/battle/battle.conf). [Skotlex] * Pet eggs will now not be deleted from the inventory until they arrive from the char-server. [Skotlex] * pc_readdb will now print if any classes are missing their exp tables. Only exception are JOB_WEDDING and JOB_XMAS. [Skotlex] * Made the NPC_BREAK* skills attack skills again, their chance of equipment breaking code was moved to skill_additional_effect. [Skotlex] * Now when the exp table does not has enough data to reach the max level specified, the max level will not be reduced to enable leveling through quests/scripts/gm-commands/etc. [Skotlex] * Made Land Protector Block Hammerfall. [Skotlex] * Updated item_db code to stop creating items for every non-existant ID used. Instead it will complain, and use a dummy item that has the view ID of an apple, and it's type 3 (etc item). [Skotlex] * Modified PA_GOSPEL so that the random damage attack becomes a BF_MISC attack. [Skotlex] * Added pc_resetskill when lowering job level and there's not enough skill points to substract. [Skotlex] * Fixed SG_FUSION costing SP to deactivate. [Skotlex] * Some cleaning up at pc_setpos to prevent calling pc_clean_skilltree [Skotlex] * Enabled use of TF_HIDING while Cloaked. [Skotlex] * pc_resetstate won't remove wedding skills now [Skotlex] * NPC_POWERUP now gives +40% atk per level. [Skotlex] * Water elementals can be frozen again. [Skotlex] * Fixed the sc_def equation in status_change_start. [Skotlex] * Fixed an extra semi-colon that broke win32 compiles. [Skotlex] * Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons. [Skotlex] * Now slaves give exp/loot (exception: player slaves still stick to the old rules of no exp/loot) [Skotlex] 2006/02/12 * Some path cleanups meant to get the CELL_NOSTACK mod working better with path searching and the like. [Skotlex] * Optimized functions skill_addtimerskill/skill_cleartimerskill [Skotlex] * Fixed SC_DANCING for non players (was making dances only last 1 second for them) [Skotlex] * Modified map_moveblock to handle updating dance's position as well as ending close confine status effects. [Skotlex] 2006/02/10 * Fixed Sonic Blow's damage for lvl 1~9 [Vicious] * The status window will now show the total power of both weapons instead of just the right-hand weapon for dual wielders. [Skotlex] * Removed #include from irc.c, since it's unused and some people don't have it. [Valaris] * Changed the default MAX_LEVEL supported by the map server to 1000. [Skotlex] * Pet Lures won't be consumed now when used on a non-mob. [Skotlex] * Fixed map_searchrandcell function. [Skotlex] * Modified the NPC_BREAK* skills to break equipment at a 10%*lv rate. [Skotlex] * Modified the drop item routines to perform stacking checks only for player attempted item drops, therefore, mob drops will stack up to infinity. [Skotlex] * NPC_POWERUP now gives +20% attack per skill level. [Skotlex] 2006/02/09 * Fixed "set baselevel, X" sending one to a different level than the one requested. [Skotlex] * Added range checking to mob skill loading of permillage and delay to prevent overflows. [Skotlex] * Fixed pc_gainexp not working for next level exp requirements above INT_MAX. [Skotlex] * Fixed the display of @showexp not working right for exp values above INT_MAX. [Skotlex] * Removed the conf sql code for now. Maybe will continue later with that project. Lowered the irc keepalive timer, and added some checks for use_irc that should have been there. Added a return line \n to the beginning of the title screen. [Valaris] * Added function mob_respawn which makes a mob respawn on spot 3 seconds after defeat if SC_KAIZEL is active. [Skotlex] * Modified NPC_REBIRTH to use Kaizel level 1. [Skotlex] * Added setting max_exp_gain_rate which caps how much exp you can get from a single kill. See battle/exp.txt for details. [Skotlex] * pc_readdb will now cap experience required per level to UINT_MAX, it will warn if the exp table has exp values above said limit. [Skotlex] * Changed the default of skill_delay_attack_enable to no. [Skotlex] * Code rewrites in mob_damage and party_exp_even_share for correctly handling overflow issues. Now uses UINT_MAX for range comparisons, as it should be. [Skotlex] * Also modified the mob_db reading to use UINT_MAX for exp limits, changed their exp/job exp fields to unsigned int as well. [Skotlex] * Modified multi_level_up behaviour to work as specified by Kyoki. That is, on a level up, the max carry-over exp is the exp needed for the previous level -1. [Skotlex] * Modified the skill attack display of Meteor Assault and the Warm Skills (I think the caster should no longer do fancy animations now on each hit) [Skotlex] * Added back water elemental targets being inmune to SC_FREEZE [Skotlex] * SQL compile fix [Komurka] 2006/02/08 * Added battle config option skill_caster_check, which does a status_checkskilluse on all skill attacks. When enabled (default on) the caster of the skill is checked on all skill_attacks, which means that ground spells will make no effect if the caster is unable to fight (stunned, frozen, etc) [Skotlex] * Added battle config option status_cast_cancel. When enabled (default off) some status changes (freeze, stone, etc) will cancel your cast. [Skotlex] * Fixed the death exp penalty underflow bug. [Skotlex] * Rewrote/organized status_change_start, it now receives the base rate for the effect. It handles reducing this rate/duration through natural resistances and whatever else should reduce it. [Skotlex] * Fixes to exp2.txt on the novice job exp. Thanks to rollopop. [Skotlex] - Also modified exp2.txt to use the normal max levels by default. 2006/02/07 * Modified battle_check_distance, mobs should no longer find a diagonal spot on which they lock onto their target, yet fail to attack from. [Skotlex] * Removed the max level configs from battle/exp.txt [Skotlex] * Now NPC_POWERUP uses SC_INCATKRATE instead of SC_EXPLOSIONSPIRITS for enhancing damage. Instead of +1k atk per skilllv, it is +50% atk per skilllv. [Skotlex] * Fixed char server changing the save/last point to new grounds in certain situations. [Skotlex] * Fixed SG_STAR_ANGER not getting it's damage bonus at all. [Skotlex] 2006/02/06 * Added a custom exp table that goes up to level 1000 (db/exp2.txt). [Skotlex] - It uses a inverse exponential growth rate to mimic the official exp rate increase as close as possible. - It overrides the exp level of the last 5~10 official exp values for a smoother curve. - It's adjusted so that the Lv1000 exp requirement for Advanced Base/2nd Job is close to the unsigned int limit without going above it (limit is 4294967295 in my system. It goes up to 42k Million on Advanced Base lv1000, I think) * Fixed startnpctimer starting multiple timers instead of failing when the npc timer is already running. [Skotlex] * Venom Splasher update: [Skotlex] - always hits (but splash damage targets can still avoid it) - Being hit does not cancels it, - works at 75% or less of target's HP - being hit normally while under the count has a chance of causing poison. - Damage is +400% + 50*lv% * Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100% [Skotlex] * Falcon Assault now takes Blitz Beat lv5 as base damage. [Skotlex] * Fixed pc_makesavestatus not updating status.option correctly. [Skotlex] * Corrected Waterball so that higher levels can do insane amount of hits. [Skotlex] * Altered slave behaviour. No more random walking, will stay within 2 cells of their master. [Skotlex] * Reverted the Summon Slave behaviour to not adjust level based on number of current slaves. [Skotlex] * Coma no longer sends SP to 1. [Skotlex] * Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled. [Skotlex] * Dark elemental characters are now inmune to Curse. [Skotlex] * Fixed sc_data saving to sql buffer building method. Thanks to its_sparky. [Skotlex] * Changed the map zone reading from using pow to a bit shift. [Skotlex] * Experience has now been changed to unsigned int, and is read as such from the dbs. [Skotlex] * Increased HT_DETECTING seek range to 7x7 [Skotlex] 2006/02/05 * Added some of eAIRC bot code, written by me and LittleWolf. It is disabled and has no configuration options yet, as it is not finished. [Valaris] * Fixed and documented script command "callshop". [Skotlex] * Updated sq;-files/mob_db.sql with current mob_db. [Skotlex] * Updated sql-files/item_db.sql with current item_db. [Skotlex] 2006/02/04 * Skotlex's Falcon Assault fix. [Vicious] 2006/02/03 * Fixed the debug script messages specifying the wrong mapname for NPCs. [Skotlex] * Now you can't hide from earth elemental attacks (status_check_skilluse). [Skotlex] * Grand Cross/Grand Darkness can no longer get the ignore defense -armor piercing bonuses from cards. [Skotlex] * Loki's weil is now ignored by bosses. [Skotlex] * Land Protector and Gantantein should now ignore traps. [Skotlex] * Fixed Shinobi card so that it fails when you aren't next to a wall. [Skotlex] * After a guild master change, the new guild master has his guild skills blocked for 5 minutes to prevent abuse. [Skotlex] * Fixed txt-converter compilation errors [Komurka] 2006/02/02 * Fixed crash in status_change_timer. For some reason the block type switch was removed. [Valaris] * Crash fix in npc.c npc_timerevent. was: struct timer_event_data *ted = (struct timer_event_data*)ted; changed: struct timer_event_data *ted = (struct timer_event_data*)data; Skotlex, I am assuming it's calling from the passed data var, If I'm wrong please fix it. I just know what was there was definitely not correct. [Valaris] * Improved the NPC timer system to enable multiple timers going on at a time with different players attached to each. Now npc event timers are of two types: attached or global. The global timers don't have a player attached and can be started/halted by anyone. The character timers have a player attached, and they can only be stopped by a script that has the same player attached. [Skotlex] - Now player attached scripts will auto-abort when the atteched player quits the map server. - Of course, this requires some major testing as it's prone to have bugs... * Applied the Entry Reusage System to the battle delay damage timers. [Skotlex] * Fixed the map server complain when using the default user/password showing up if you set the new user/pass on the import file. [Skotlex] 2006/02/01 * Fixed compile errors and warning in chrif.c and charsave.c. [Valaris] * Map and char server now will complain if they are run using the default user/password set. [Skotlex] * Trick Dead makes you stop walking now. [Skotlex] * Soul Burn is not affected by Lex Aeterna, not affected by target's cards neither. [Skotlex] * Freeze and Stone take preference over Benedictio. [Skotlex] * Sleep/Stun/Petrify/Freeze block each other out. [Skotlex] * Fixed areamonster when the passed class is negative. [Skotlex] * Removed the clear screen when launching the server. [Skotlex] * Integrated the status change variables into a single structure for easier management. [Skotlex] * Break fall should no longer trigger when inflicted by freeze/stone/etc [Skotlex] * Fixed an overflow in grfio causing read problems in Win32 builds [celest] * Changed resnametable loading behaviour - grfio will load from data directory first, and then from the highest priority grf only if that fails [celest] * Increased grfio filelist limit to 1048576 to avoid problems when loading too many large grfs [celest] 2006/01/31 * Fixed skill_check_cloak to use the current skill level of the cloaking skill and not pc_checkskill() to know if a cloaker away from a wall should be uncloaked. [Skotlex] * Likely fixed opening guild storage. [Skotlex] * Removed no penelty mapflag for nifilheim. Confirmed on iRO. [Kayla] * Changed default value of gm_cant_drop_max_lvl to 98. Also reworded the comments for cant_drop_max and min. [Kayla] * Disabled pet skills by default. To my knowledge they are only enabled on cRO, not iRO nor kRO. [Kayla] * PF_SOULBURN no longer ignores mdef. [Skotlex] * HW_GRAVITATION should now invoke auto spells. [Skotlex] * Cleaned up damage return code. Reflect Shield and the like now should also trigger autospells from normal attacks (previously it was only worked on skill attack returned damage) [Skotlex] * Cleaned up Summon Slave mob skill to only summon number of missing mobs to complete the skill level (that is, SS level 5 will always bring the total count of slaves to 5, never above). [Skotlex] * Fixed being able to Encore skills you no longer have in your tree. [Skotlex] * Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well. [Skotlex] * Added VIT reduces duration of confusion. [Skotlex] * Added "onspawn" mob skill condition. [Skotlex] * Changed the exp table format. The new format allows specifying exp tables for any particular class. Thanks to Playstester for converting the official exp table to the new format. [Skotlex] - UNTESTED: Report any problems asap. 2006/01/30 * Autoloot now uses the item's base drop chance rather than final drop rate to determine if it should autoloot the item or not. [Skotlex] * Fixed super novices getting +10 to all stats temporarily when their death count isn't zero. [Skotlex] * Fixed Kahai displaying HP-SP as the total healed instead of HP [Skotlex] * Cleaned up skill_repairweapon to prevent crashes when the target vanishes/changes/whatever before the weapon to repair has been selected. [Skotlex] * Parsing the Storage/Guild Storage from the char server will now fail if the storage has been modified and not saved yet. [Skotlex] * Being hit now cancels confuse. [Skotlex] * Added back the bleeding icon. [Skotlex] * Fixed Combo Finish Soul Linked Effect being a 11x11 area rather than 5x5 [Skotlex] * Added 'restricted' mapflag, based on lordalfa patch [Komurka] - you can set restriction zone on map (see mapflag/restricted.txt) - you can turn off item usage on certain restricted map in item_noequip.txt - you can turn off skill usage on certain restricted map in skill_nocast_db.txt * Moved MVP log code so it can log all MVP, not only when player gets MVP item, thanks to Hatred_ [Komurka] * One more small fix on 'bSPVanishRate' (hp -> sp) [Komurka] * Added bSPVanishRate to const.txt - Dark Priest Card should work now ^^ * Implemented bonus2 bSPVanishRate for Dark Priest Card [Komurka] - it isn't finished - I get '[Warning]: pc_bonus2: unknown type 0 50 10!' >< * Applied lordalfa patch - you can now forbid usage of certain cards on PVP/GVG/WoE defined in item_noequip.txt [Komurka] 2006/01/29 * Added support for more account states like "Unavailable due to hacking/bug investigation" etc, thanks to NeoSaro [DracoRPG] 2006/01/28 * Added the night mapflag to the new maps. Removed some indor maps. [Poki#3] * Added DISGUISE MobID; UNDISGUISE; script commands [Lupus] - Made them for Eastern Year of the Fire Dog Event.(to be uploaded today) 2006/01/27 * Added support for mob_avail.txt replacement for NPC classes. [Skotlex] * Added "sense_type" config to conf/battle/skill.conf to select which defense is displayed on the sense screen. Defaults to displaying def+def2. [Skotlex] * Modified traps so that once they trigger they set themselves as "Into the Abyss" casted traps, so that if you remove them, you won't earn the item. [Skotlex] * Fixed Basilica (small bug introduced yesterday) [Skotlex] * Hopefully cleaned out the warnings when compiling the char-SQL server. [Skotlex] * Updated the makefile for the plugins to take into account the ers.o file. [Skotlex] 2006/01/26 * Updated VC project files, thanks to D-Kalck. [Skotlex] * Rare drop announces will now be done based on the mvp_sd (character who did most damage) instead of sd (character that delivered final blow) [Skotlex] * Fixed TK Doridori bonuses to double your regen instead of giving 30Hp/3Sp [Skotlex] * Fixed Sense displaying def2/mdef2 when it should display def+def2 / mdef + mdef2. [Skotlex] * Fixed Super Novices losing their skill tree (showing up just basic skill) under certain circumstances. [Skotlex] * Cleanup and optimization of the movement routines. [Skotlex] * Added experimental feature "Cell Stack Limit". When enabled (see src/map/map.h) it should limit the amount of characters that can be placed on the same cell. That's assuming it works (experimental and untested as of yet) [Skotlex] * Hopefully fixed Benedicto checking on the west/east tiles instead of the left/right tiles of the caster. [Skotlex] * Fixed mobs being unable to move on tick loopback (which happens every ~51 days) [Skotlex] 2006/01/25 * Reverted last change, when you log again it still shows the fake icon. [Foruken] * Temporary fix to fake mute status when using pk_mode and !muting_player [Foruken] * Probably fixed the max base/job battle config options actually enabling characters to reach one more level than the max specified. [Skotlex] * Fixed BSS Sacramenti not hitting demon type enemies. [Skotlex] * Now poisoned monsters will show HP updates as their health goes down (let's see if this finally convinces people that poison works u.u) [Skotlex] * Splitted up battle_athena.conf into multiple configuration files. battle_athena.conf only contains import lines now, and all the configuration options are located in conf/battle/* [Skotlex] * Updated the db version with the new one by FlavioJS [Skotlex] * Improved the error reporting when failing to load a mob skill due to insufficient fields. [Skotlex] * Changed map_getallusers to use the db interface getall (hope it doesn't breaks horribly) [Skotlex] * Added an attack delay to TK kicks to prevent the top10 rankers from attacking normally during the skill animation. [Skotlex] * Updated script.c to display the file not found error using braces as delimiters to help when npc filenames include spaces and the respective file is not found due to them) [Skotlex] * Changed TK_RUN to a misc attack type which should enable you to halt the skill quickly after starting it. Updated SC_SPURT to be triggered when you stop running if you stopped running one sec or less after you started. Corrected the icon of SPURT to be that yellow Running Man. The previous footsteps effect was assigned to CHASEWALK. [Skotlex] * fixed battle config item_auto_get setting autoloot to just 0.01% drops rather than 100%. [Skotlex] * Added Sharp Shooting check to skill_attack to prevent hitting hidden characters. [Skotlex] 2006/01/24 * Some cleaning up of battle_calc_damage, Assumptio should now also reduce damage of all types of attack, not just weapon-based ones. [Skotlex] * Incremented SL_MONK combo SP cost reduction to 25% [Skotlex] * Updated Full Adrenaline Rush to work on all weapons except bows. [Skotlex] * Updated the script engine to report the src of an error when there's a problem with one of the script functions. For example, if there's a "player not attached error", it will also print which NPC caused it. [Skotlex] * Added RFIFOSKIP(fd,RFIFOREST(fd)) to the end of the login server's parse functions. This is good for clearing out packets of one byte. [Valaris] * Fixed noteleport mapflag affecting Warp Portal. [Skotlex] * Fixed map server crashing when parsing an incomplete mob-skill line. [Skotlex] * @autoloot 100 will now pickup items that have drop rates ABOVE 100. [Skotlex] 2006/01/23 * Added battle config "no_spawn_on_player", see battle_athena.conf for details. [Skotlex] * Fixed bows doing less damage on criticals when having high dex. [Skotlex] * Moved the enemy_critical adjustment to status_get_critical. [Skotlex] * Fixed @chardisguise to use the same id checks as @disguise. [Skotlex] * Fixed SightBlaster 'hitting' dead characters. [Skotlex] * Basilica check in status_checkskilluse expanded to help mobs release their target as soon as they walk into a basilica. [Skotlex] * When a player stops walking their to_x and to_y is updated to their present position. This MAY fix warp portal not warping players that were already there waiting to be warped. [Skotlex] 2006/01/22 * typo fixes (fell -> feel) [Komurka] - mob_db_mode_list.txt updated - removed some unneeded comments (//komurka) * Some changes of @main. Now you can send main-chat messages by sending whisper to nick "Main" (or any other, it can be set in inter_athena.conf). [LuzZza] 2006/01/21 * Changed gm_can_drop_lv battle conf switch to gm_cant_drop_min_lv and gm_cant_drop_max_lv [Komurka] * SL_SWOO (Esu) will only lasts 1/5 of normal time when used on a Boss-type monster [Komurka] -SL_SKE (Esk) won't work on a Boss-type monster anymore (if you KNOW that it should work on them write about it on forum; either way don't bother guessing ... SL can solo ANY boss with this skill ~.~) 2006/01/20 * Fixed the login-TXT login Log. [Skotlex] * Small update to sql-files/item_db.sql to fix speed potions (a complete update will be done when possible...) [Skotlex] * Fixed clone script command's duration being in ms rather than seconds. [Skotlex] * Taekwon Ready Stances combo time is now 2000 - 4*agi -2*dex ms instead of a flat 2 secs (same reduction that Monk combos get) [Skotlex] * Cleaned up code of SG_HATE, may fix the skill seemingly not working. [Skotlex] * Likely fixed Even-Share parties not breaking up when a character with too high/low level rejoins in char-TXT servers. [Skotlex] 2006/01/19 * Added config option atc_slave_clone_limit to limit the amount of @slaveclone's a player can have. [Skotlex] * The clone commands now fail when used on someone of higher GM level than the caster. [Skotlex] * Increased the size of the clif_disp_onlyself packet by one to see if it fixes the mysterious cropping of the last character in the message. [Skotlex] * Now when use_statpoint_table is set to yes, it will be used to determine the stat points you earn on level up. [Skotlex] * Small fixes as pointed out by FlavioJs in the login TXT server to prevent crashes in Win32 compiles. [Skotlex] * Merged Marquis's implementation of Enjoyable Rest's earth scroll bonus. [Skotlex] * Fixed players being able to send custom crafted mute requests that would go through regardless of their gm level and mute others. [Skotlex] * Updated mapflags [Lupus] * Modified the client_connect function in socket.c to allow different parse_functions to be called based on the listening socket. After a make_listen_bind returns a listen fd, set that fd's func_parse member to whatever parse function to be used. If this value is not manually set it will just use the default_func_parse function. This only affects server listening sockets in which the func_parse member isn't even used. [Valaris] * gvg_traps_target_all now also affects traps in pvp maps. [Skotlex] * All reflected damage has now a chance to auto-cast spells. [Skotlex] * Fixed Casting ground spells from within basilica. [Skotlex] 2006/01/17 * Updated the map server code to use some of the new db functions. [Skotlex] * Fixed ground skills checking the wrong target-type on movement, hence making them mostly useless (this is what the Warp Portal report was about) [Skotlex] * Some code updates to implement the new db interface. [Skotlex] - SQL compilation not tested, so if it breaks someone report to fix it :X * Added @clouds2 and clouds2 mapflag using effect 516. [Valaris] * Fixed some weather effects not working or not functioning correctly. [Valaris] * Cleanups and organization to maps_athena.txt and map_index.txt, thanks to Poki for the cleanup work. [Skotlex] * Some cleanup of the SG_FEEL code [Skotlex] * Fixed debug mode compiling in VC7.1. Added optimizations to VC7.1 release mode. Defaulted VC7.1 SLN to debug mode. [Lance] * Temperory solved the freeing freed pointer error upon map-server shutdown. [Lance] 2006/01/16 * Fixed clif_disp_onlyself packet length, thanks to Orn. [Skotlex] * Imported Freya's autoloot system which enables one to specify the maximum drop-rate to loot. [Skotlex] * Refix of the mapreg SQL saving fix of a while ago... [Skotlex] * Playtester custom eamobs spawn updates: coal Mines, umbala fields, and minor changes to Sphinx and Geffen Dungeon. [Skotlex] * Incremented a bit clone skill usage rate, their rate/delays are now affected by the battle_config options mob_skill_rate and mob_skill_delay [Skotlex] * Optimized use of BL_* constants by making them stackable (meant for map_foreach* calls). Should improve performance by avoiding battle_check_target calls on a bunch of invalid targets such as items/skills/npcs on skills and other misc places. [Skotlex] * Fixed mob skills that should trigger on status on "any bad". [Skotlex] * TK classes no longer are inmune to the strip-effects of Jump Kick [Skotlex] * Fixed SQL mapreg saving. [Skotlex] * Reverted Ice Wall Behaviour (you can snipe/cast through it again) [Skotlex] * Fixed possible crash in skill_check_condition on consume-delayed items [Skotlex] * Skills whose range is increased by Vulture Eyes now get the range increased by 10 for non players (assumes VE level 10). [Skotlex] * Added cardfixes of near_attack_def_rate and long_attack_def_rate to misc attack calculations. [Skotlex] * Fixed Spirit of Wizard not working in a couple of instances. [Skotlex] * Advanced Book now gives 1%*skill level success chance to create element convert potion [Skotlex] * Changed the FEEL skill implementation to store/use map indexes instead of map names.[Skotlex] * Fixed compilation of plugins. [Skotlex] * Applied flaviojs's new db interface and fixed compatibility problems with Visual Studio. [Lance] 2006/01/15 * Fixed poison damaging player even when under 25% hp. [Skotlex] * Fixed permanent character variables in Char-TXT [Skotlex] * Fixed previous change for stable. Whoops my 5am work again. [Kayla] * Fixed the trade exploit allowing for a user to send packets while in a trade. For instance the bank NPC becoming a zeny dupe. Kudos to clown. [Kayla] * Added script source error reporting to set and getarrayelement, should print NPC name and location (map, coordinates) on the console when there's an error with these two commands. [Skotlex] * Removed treasure chests spawning upon agitbreak, leading to exploits. [Lance] 2006/01/14 * Removed the 5% success penalty for trying to make a convertor for which you don't have the relevant enchant skills. [Skotlex] * Fixed compilation of Login Converter. [Valaris] * Fixed bSPGainRace and bExpAddRace with RC_NonBoss and RC_Boss. [Valaris] * Lex Divina now shows the animation even when used on someone you can't (non-muted, non-enemy player) [Skotlex] * Quick hack to make Shield Reflect trigger auto-spells (only this kind of return damage does it? Because other reflect cards like Orc Lord behave exactly the same way...) [Skotlex] * Fixed grf loading to attempt to load from all grf files specified in grf-files.txt (looking for them in the same order specified in the file, returns the first match found) instead of only looking up on the last specified grf... [Skotlex] * Fixed compilation of plugins. [Skotlex] * Added error reporting to the db when a null key/data is attempted to be inserted and the db is configured to not allow them. [Skotlex] 2006/01/13 * Fixed labels located at the beginning of a script not being counted at all. [Skotlex] * Applied blackhole89's patch to enable dynamic menus. [Skotlex] - Script reference doc updated accordingly. * Ranking Taekwons with lv 90+ no longer get Quest/Wedding skills for free.[Skotlex] * Readjusted Scream And Frost Joke so now the effect goes off no matter where the caster went, but the effect will happen only around the area where the skill was done regardless of where the caster is (which is how it should work from a logical stand point) [Skotlex] * Scream and Frost Joke now take effect 2secs after casting, and caster must remain in same map for it to take effect. [Skotlex] * Flying Side Kick can't be used by Soul Linkers now. [Skotlex] * npc_reload should now correctly remove mobs and npcs that aren't placed in any map (such as mobs that were killed and are waiting for respawn) [Skotlex] 2006/01/12 * Fixed Ice-Wall range problem. [LuzZza] * Corrected the guild_db_final function in int_guild.c of SQL char-server to compile and function with the new db code. [Valaris] * Fixed some advanced skills being able to be copied even when restricted [Vicious] * Fixed a possible crash-source related to item-picking packets. [Skotlex] * Now Top 10 ranking Taekwons with base level 90+ get their whole skill-tree maxed out (but only as bonus-skills, they aren't saved on the dbs) [Skotlex] * Some cleaning of the char_name_letters implementation. Characters don't need a space between them, in fact, placing a space in that config makes the space count towards allowed/disallowed characters. [Skotlex] * Some modifications to the db code to make the code portable. It may compile on windows now. (note I can't test SQL compiles yet so report any problems ASAP) [Skotlex] * Fixed Venom Knife consuming two daggers. [Skotlex] * Inverted the packet order in many skills which cause status effects. The client expects the status-change packet to arrive before the skill packet in order for opt3-related changes to make effect on the character. [Skotlex] 2006/01/11 * Added @main command into atcommand_athena.conf. [LuzZza] * Tuxedo and Wedding Dress no longer get a 'forced' gender check regardless of config ignore_items_gender setting. [Skotlex] * Added support for 'invisible' shops. These are shops that are loaded but not placed on any map, so you can't click on them. [Skotlex] - Example: -shopInvisible Dealer-,1750:-1,1751:-1,1752:-1,etc... - Make sure they have a unique name if you want to reference to it with... * Added script command 'callshop' for invoking shops from within a script. [Skotlex] - Usage: callshop "Shop Name", flag; - Distance to shop is still checked, so it's best to use 'invisible' shops. - flag determines shop selection: 1: Show buy list, 2: show sell list. Anything else: show the buy/sell/cancel menu. - Function returns 1 if successful, 0 otherwise, but it is recommended that the script should be closed right away to prevent problems. - Documentation to the scripts_command.txt reference file not yet added because this command is as of yet untested and may need further refining. * Newly created SQL guilds won't save the member-list right away (this seems to be the reason why sometimes when creating new guilds, the guild-master keeps guild_id == 0 in the tables) [Skotlex] * Fixed char/int_storage.c reporting lines with too many items when in reality said items had the exact max amount allowed. [Skotlex] * Moved the status_change_clear code below the exp penalty so that the SC_BABY effect will work. [Skotlex] * Fixed the map_index never finding the last map specified in the map_index file. [Skotlex] * Fixed an overflowed pointer in char/inter.c, and an already free'd pointer error in map/guild.c [Skotlex] * Added battle option party_item_share_type, now you can choose between round-robin (previous implementation) and random (default) [Skotlex] * Fixed compilation of the plugins (due to the db change) [Skotlex] * Fixed a few issues with the map server (notably npc_command_sub was broken) [Skotlex] * Added proper escaping of the motd string before inserting it on the rag server info SQL table. [Skotlex] 2006/01/10 * Updated the map-server to conform to the new db interface. Removed DB_DELAY_FINAL_CHANGES and related code from db.* as now eA fully complies to the new interface. [Skotlex] * Crafting Arrows, Weapon, Forging/Upgrading now all fail if you have an npc going on to prevent your inventory from being modified while selling. [Skotlex] * Updated the char-SQL server to etc etc etc new db etc etc etc. [Skotlex] * Cleaned up the description of size_fix.txt [Skotlex] * Updated the char-TXT server to be blah blah blah new db blah blah. [Skotlex] * Updated both login servers to be fully compliant with the new db interface. [Skotlex] * Moved skill damage bonuses from cards to the 'second layer' which means they are applied on top of previous damage bonuses rather than just adding to them. [Skotlex] * Some more updates to the db code as specified by FlavioJS [Skotlex] * Fixed the memory leak of npc_unload_ev. [Skotlex] 2006/01/09 * Some more updates regarding the new db system. [Skotlex] - Note that there's currently a leak regarding npc_events (ev_db), but this one is not a serious problem (unless you use a lot of npc_reloads) and will be fixed as the db gets improved. * Moved the Kaupe code to battle_calc_weapon_attack where it will dogde all weapon-based attacks that can be dodged (giving the illusion of infinite flee for skill's duration). [Skotlex] * Moved Sonic Acceleration and Soul Linked SB damage bonus to the second layer of skill modifiers. [Skotlex] * Enchant Deadly Poison and True Sight damage bonuses are now applied after skill modifiers rather than added with them (damage % stack type). [Skotlex] * Modified Ice-Wall to work using cell types defines instead of directly modifying the gat terrain information. Main reason for this is to enable pc_setpos to place players on top of an ice-wall, because otherwise it was forcing players to warp-around even in maps with noteleport set which is prone to exploits. [Skotlex] * Fixed SG_FUSION (SG_FUSION <-> SC_FUSION #_#) [Komurka] * Now sense elemental values are again uncapped (so enemy with -25% resist will show 230% instead of 0%), as requested :P [Skotlex] * Replaced the db subsystem for FlavioJS's implementation and initial work on updating the eA code to use it as intended. [Skotlex] * Fixed Char-TXT server saving last/save maps with spaces on the left. [Skotlex] * Fixed Char-SQL server saving new character's maps with spaces on the left. [Skotlex] * Fixed Charsave method 1 saving memo maps with spaces on the left. [Skotlex] * Changed the order of packets sent for Assumptio (may fix the visual not showing up?) [Skotlex] 2006/01/08 * Fixed the guild SQL cache removing guilds from memory when said guilds had no data to save (but were not yet marked for removal) [Skotlex] * Added a cap to limit Star Gladiator's job level to that of the normal classes (instead of 2nd classes) [Skotlex] * Fixed TXT char server parsing only the first character permanent variable received from the map server and ignoring the rest. [Skotlex] * Fixed @users crashing the server. [Skotlex] * Added Arrow Repel to the list of skills whose range is increased by Vulture Eye. [Skotlex] * Fixed the item pick-up rule for party options being working backwards. [Skotlex] * Fixed progress info in TK_MISSION [Komurka] * Fixed an aproximation error when calculating distances which causes stuff like mobs thinking they are within attack range when they actually aren't [Skotlex] * Char-server will now be notified after a character logs out when using charsave_method:1 [Skotlex] * Added check to update pet's position on pc_movepos (stuff like High Jump) when the master moves too far away or to a position the pet can't reach. [Skotlex] * Fixed char-save method 1 saving map names with padding spaces to the left. [Skotlex] * Now sense elemental values are capped to 0 as lower bound (so for an enemy with -25% resist, it'll show 0% instead of 230%) [Skotlex] * Updated sql-files/ mob_db.sql and item_db.sql to current TXT data.[Skotlex] 2006/01/07 * If player is dead, and is spawned (such as @refresh), death packet is sent. [Valaris] * Cleaned pc_attack_timer so that the attack timer will auto-readjust when it triggers during the can't act tick instead of cancelling the attack sequence. [Skotlex] * Fixed compilation of the TXT-converter. [Skotlex] * walkto x,y request packets are now ignored if you are sitting. [Skotlex] * Fixed a typo that was making the party item-pickup style shared not taking effect for the item_first_get_time regardless of setting. [Skotlex] * Applied Playtester's custom mob spawns to the eamobs/ set. [Skotlex] - These custom mob spawns are an experiment to balance out mob spawns and put some sense into them (no crap like too strong AND too weak mobs on the same floor, increasing mob difficulty the deeper into the dungeon you go, etc), without moving mobs too far from where players are used to see them neither. - To enable them, modify scripts_main to use scripts_eamonsters rather than scripts_monsters. - Currently, the modified dungeons are: Glast Heim, Geffen Tower, Clock Tower, Sphinx, Pyramids, Byalan. * Added check to make sure guildspy and partyspy variables have value. [Valaris] * Separated the permanent variables from the character status structure. [Skotlex] * permanent variables are now loaded on their own packets as needed to reduce the bandwidth wasted between servers. [Skotlex] * Permanent account variables are now saved when the script is finished instead of each time they were modified. [Skotlex] * OnInit scripts and related code now executes after all perm variables are received (so now account variables are accessible during it) [Skotlex] * Fixed typo in pc.c causing crashes in Line 769. [Lance] * Corrected VC7.1 prject files to include mapindex.c and mapindex.h [Lance] * Corrected Wrath of the Star formula (added missing STR in equation) [Komurka] - Added movement speed bonus to SG_FUSION (same as PecoPeco gives) - You can now 'turn off' SG_FUSION * updated NoIcewall maplags, thanks to Sir Loon [Lupus] * soundeffectall modified to rely on dependancies depending on situation. [Lance] * Modified getd to return 'pointer' (will be 'dereferenced' automatically) instead of value, making it very flexible when paired with getelementofarray() [Lance] 2006/01/06 * Corrected main.sql having incorrect syntax [Foruken] * Cleaned up some maps in maps_athena.txt and added a bunch of cloned maps to map_index.txt [Skotlex] * Refine bonus is no longer increased by the number of hits from the skill except for TSS [Skotlex] * Dispelled Berserk won't drop HP back to 100 now. [Skotlex] * Mobs that use NPC_SUICIDE won't give neither exp or loot now. [Skotlex] * Summoned mobs that cannot move will be removed from the map when the master is gone to another map AND the mob's map is a gvg ground. [Skotlex] * Fog of Wall effects now work in both directions (outside -> inside, inside->outside) [Skotlex] * Fixed the sql guild loading always returning a blank guild when the guild_id does not exists! [Skotlex] 2006/01/05 * Some changes to the guild SQL code to report whenever a guild's id is not matching the one it was stored with in the db, which in turn free's the guild and doesn't saves it to perhaps prevent data corruption. [Skotlex] * Corrected the fifo-buffer readjusting code to set a reserve-buffer size of 1/8th of the inter-server link (32K) for said links. [Skotlex] * The mapif_send* and charif_send* functions (char/login servers) will now adjust the buffer size when there isn't enough space to write data to them rather than abort sending the data. [Skotlex] * Increased inter-server socket buffer size to 256*1024. Should fix problems with 0x3004. [Kayla] * Increased inter-server socket buffer size to 192*1024. Should fix problems with 0x2b01. [Kayla] 2006/01/04 * Fixed buildin_monster not working for random classes (dead branch, etc). [Skotlex] * Reverted inter-server socket buffer size to 131072 bytes. [Valaris] * Removed reduction of socket buffer sizes after WFIFOSET if the max size is >= FIFOSIZE_SERVERLINK. This should reduce inter-server buffer overflows. [Valaris] * Script command 'monster' will now fail when trying to spawn a mob-class that is not in the mob_db (warning will be printed on the console) [Skotlex] * Fixed a crash when spawning a mob who's class is not in the mob_db. [Skotlex] * Some cleanups and improvements to the character saving algorithm meant to make it harder to have dupe exploits during char-map connection lag moments. [Skotlex] * Doubled the inter-server link buffer size. [Skotlex] * Fixed status_get_adelay messing up the mob's aspd :X [Skotlex] * Changed skill_delayfix to use the amotion value as default delay for weapon skills with no delay instead of attack delay (adelay is actually twice your aspd, amotion is the same as aspd) [Skotlex] * Added upgrade_svn4783.sql, which corrects the structure of the mapreg table to use varchars as it should. [Skotlex] * Fixed Meteor Assault. [Skotlex] * Fixed (I hope) the double free'd pointer issue in the login servers. [Skotlex] 2006/01/03 * Fixed the warp unloading code. [Skotlex] * Updated Jump Side Kick to also clear Berserk Pitcher. [Skotlex] * Preserve now protects against the stripping effects of Side Kick. Taekwon Classes (TK/SL/SG) are also inmune to it. [Skotlex] * Hopefully fixed the guild information not being sent in some situations when people are added/removed from a guild. [Skotlex] * Some cleaning up and bug fixes to the guild module of the char-sql server. Let's see if it fixes anything up... [Skotlex] * Added battle option show_party_share_picker. When enabled tells the picker of the item who received the item when in a party with 'Party Share' loot style. [Skotlex] * Added the nullpo_retv line required for win32 compiles... [Skotlex] * Added some cleanup code to properly remove all warp related information on npc_unload (untested as of yet!) [Skotlex] 2006/01/02 * Completed (almost) packet 0x1e9 which gives the party info. Now you can see the party's item options when opening the alt+p menu. [Skotlex] * Fixed regen only working when overweight. [Valaris] * Added body size to clones. [Valaris] * Corrected TK_JUMPKICK to remove Soul Linker spirit buffs and related effects (except Berserk-Pitched effect) [Skotlex] * Corrected TK_RUN to give +10 dmg bonus to kick skills when not wearing a weapon. [Skotlex] * Added Kaina's Enjoyable Rest bonus and Max SP bonus. [Skotlex] * Fixed Stone Curse consuming gems while Soul Linked. [Skotlex] * Fixed party-change-map packet incorrectly checking if the even share rule was broken (party share should now correctly break on map-change, or when a player has it's level reset) [Skotlex] * Corrected the Jump Kick base-level damage bonus when combo-used. [Skotlex] * Added the running damage bonus to the TK kicks. [Skotlex] * Made the TK kicks end the Soul Linked status on targets. [Skotlex] * Corrected Spirit of Wizard to nullify any bounced back spells. [Skotlex] * Cleaned up the natural/skill HP/SP regen routines. [Skotlex] * Fixed Turn Kick not knocking back nearby enemies. [Skotlex] * Added the damage bonus to Flying Side Kick when used from a combo. However I am waiting for the actual equation (currently just does +300% dmg) [Skotlex] * Fixed Counter Kick for ranking Taekwons. [Skotlex] * Added walk slowdown and aspd penalty to Eska. [Skotlex] * Fixed status_get_size which seemed severly broken. [Skotlex] * Fixed Kahai to only display actual amount of HP healed. [Skotlex] * Now when a script's map is not found (or not loaded on the map server) the script engine will skip the whole script instead of just the first line. [Skotlex] * Fixed Soul-Linked Dancers not receiving the Bard songs. [Skotlex] * Updated Joshuaali's VC-8 project files. [Skotlex] 2006/01/01 * Some improvements to the login server (txt/sql) to prevent memory 'leaks' from accounts that logged in but where never properly set as logged out. [Skotlex] * Fixed mapindex not working for last map loaded in map_index.txt [Skotlex] * Added support for packet 0x1e9, party_main_info. Packet is still incomplete and the client is ignoring it currently... [Skotlex] * Changing party options now does not alters item party options. [Skotlex] * Corrected Kahai healing even when there's not enough SP to do so. [Skotlex] 2005/12/31 * Fixed the additional effects on normal attacks of Enchant Poison, Enchant Deadly Poison and Kahai not taking effect except when the attacker was a player. [Skotlex] * Resurrection now fails on gvg maps (when reviving) [Skotlex] * Kaite now works on player-casted spells regardless of level... [Skotlex] * Fixed Kahii healing 0 rather than 200*skilllv... [Skotlex] * Mobs will now go after the loot as soon as they spot it rather than on their next random-walk time. [Skotlex] * Set the 56th byte in packets 7b and 1da. It deals with acceleration in directions. It's just like the final byte in packet 0x87. Server-side update of this still needs to be figured out. [Valaris] * Fixed Kaziel not starting Kyrie Elison upon resurrection. [Skotlex] * Fixed Kahai's healing display. [Skotlex] * Fixed Kaite bouncing back always one spell. [Skotlex] * Fixed and tested @waterlevel. It requires the grfs to be present as the map layout height information is stored there but not in the map data kept in memory. [Skotlex] 2005/12/30 * Disabled certain packets from taking effect during trades to prevent possible exploits (such as picking and dropping items, buying selling from npcs, etc) [Skotlex] * Now you can't move items to/from your inventory to the cart/storage during a trade (this is to prevent possible item dup exploits) [Skotlex] * Emergency Recall now only works from within woe grounds... [Skotlex] * Removed returns from non-null lines in MOTD. Replaced returns in null lines with a space. [Valaris] * Fixed a bug where MOTD wasn't displaying blank returned lines. [Valaris] * Updated mapindex so that name lookups ignore extensions, and the loaded maps are always terminated in .gat. Id lookups will always return a string terminated in gat. Purpose? It enables specifying mapnames without the .gat extension, so you can have npcs in prontera, no need for the .gat. And the returned string always has a .gat for needed when it is passed to the client. Now you can safely get rid of the .gat extension in all mapnames. [Skotlex] * Fixed the txt-converters so they compile cleanly again. [Skotlex] * Added mapflag script support for no loot, no exp, no return, no warp to, nightmare drops (see db/const.txt for names) [Skotlex] * Removed an extra } in int_party.c that caused compile errors. [Valaris] * Fixed a crash when warp portals passed from passive to active. [Skotlex] * Added a missing label (M_0) that was causing people to freeze when viewing the city list from "Miss Yoon" [Zephiris] 2005/12/29 * Newly created char-SQL guilds will be saved inmediately rather than at their next turn in the cache (may fix those guild disappearing errors) [Skotlex] * Implemented a map-index which maps map-names to a unique number, this reduces memory required to store maps as well as the size of related packets between the char/map server. Maps and their indexes are stored in db/map_index.txt, and the index of a map should NEVER change (see file for more details). The index is translated to/from map-names for saving, so save-structures are not required to be modified. [Skotlex] - PD: The new mapindex also found a bunch of broken map names in various NPCs, someone will have to go fix them up. * Updated the party member structure to hold the char_id. For end users, the most noticable change is that now you can have more than one character from the same account belong to the same party. [Skotlex] - TXT users will have to wipe the party files, SQL users use the respective upgrade file (upgrade_svn4726.sql) to generate the new party column. * Updated the char-sql server to hold parties in memories until they are no longer needed (like the guild-cache), also optimized the save routine to avoid needless SQL calls. [Skotlex] ** WARNING: Because of the previous optimizations, a lot of code was changed around the map/char servers, the char-sql's party system got pretty much a rewrite, so some problems are to be expected. Some basic testing with parties over here showed no problems, hence the work is getting commited as it is because it isn't getting any better without further testing. * Set value of the last byte in packet 0x87 (walkok) to 0x88 (10001000). This is a default value in Aegis, and has something to do with animation speed in certain directions. This byte is going to need to be fully analyzed since it does change in Aegis, just that I have been unable to figure out what the conditions are. [Valaris] * Mob skills are not even read now if mob skills are disabled in battle_athena. [Skotlex] 2005/12/28 * Fixed xmas and wedding palette ignore options. It will also no longer send the dye packet if @dye is used. [Valaris] * Some code cleanup meant to fix possible memory leaks regarding parse_script() [Skotlex] * Small fix to party-share item pickup which should fix the current item dup exploit. [Skotlex] * Merged Reddozen's implementation of Kahai. [Skotlex] * Implemented Kaite (it simply changes the target of spell to the caster, so the caster's status changes and defense are the ones considered) [Skotlex] * Removed Guilds Glory from guild skill tree, can be enabled with require_glory_guild battle conf switch [Komurka] * Cleaned up the implementation of Poison and Deadly Poison. Corrected a bug on Deadly Poison that was KO'ing human players when it triggers under certain circumstances. [Skotlex] * Added guild_skill_tree.txt [Komurka] - corrected guild skill tree * Battle Orders, Regeneration, Restore and Emergency Recall now share their 5 minute delay. [Skotlex]] * Implemented SC_INTRAVISION [DracoRPG] * Reorganized a bit DEF/MDEF calculation code [DracoRPG] * Added a small licence notice at the top of every Athena source/header file, I've tried to put it only where it should have been but I'm not a pro ^^ [DracoRPG] 2005/12/27 * The 50% Weight Icon will now show up at whatever % was specified in natural_heal_weight_rate [Skotlex] * Fixed char-txt server crashing if trying to read storage lines with more items than the max (excess items will simply not be read and a warning printed) [Skotlex] * Added silent_console config option to the servers to filter out the console output (login_athena, char_athena, map_athena config files). Makes it possible to hide unwanted messages by category, so for example you can remove all info messages, or all warning+notice messages, etc. [Skotlex] * Removed unused battle switches enable_upper_class and unit_movement_type. [Skotlex] * Reenabled battle switches pet_defense_type, mob_defense_type and mob_remove_damaged. [Skotlex] * Applied Irmin's patch to add support for SQL codepages. [Skotlex] * Fixed friend list saving if using a custom char table name (SQL version). [Valaris] * Added check for mute in main chat [Foruken] * Likely fixed lose Hp/Sp script commands when used on accesories. [Skotlex] * Added 2 new script commands: getfatherid, getmotherid [Lupus] * Fixed compatibility problems with stricter compilers. [Lance] * Added joshuali's new VC8 project files and SQL database upgrade script. [Lance] * Fixed juicer script typo, eliminating unlimited juicing capability with zero zeny. [Lance] 2005/12/26 * Added check for free'd guild pointer beforing freeing in guild_save in int_guild.c. [Valaris] * Added @kamic command. Now you can send colored GM-messages. Syntax: @kamic . Color is 3-bytes hexadecimal number RRGGBB. [LuzZza] * Implemented main chat (global chat channel). Usage: @main , @main . [LuzZza] * Chasewalk players can now be hit in the same way a Cloaked player could. [Skotlex] * Added option mob_npc_event_type, read battle_athena.conf for details. [Skotlex] 2005/12/24 * Fixed @go, thanks to Persian [Vicious] * Updated @go command for new cities, done by Harbin [Vicious] * Added root user check and warning to non-Windows compiles. [Valaris] * Added a check to remove characters that would normally be left unremoved during shutdown because they just happened to be between maps. [Skotlex] * Fixed the production code always giving 1 item instead of the value they should (50/100/200 for Twilight Pharmacy skills) [Skotlex] * Corrected easy path searching algorithm failing for some cases (which incidentally seemed to be the reason skill_wall_check was broken) [Skotlex] * Fixed compile for TXT map-server. [Valaris] * Fixed stone curse's defense being checked versus int rather than mdef. [Skotlex] * Fixed firewall treating everyone as undead/fire-element. [Skotlex] * Added SQL read of cast_db. [Valaris] * Added SQL read of skill_require_db. [Valaris] * Added SQL read of skill_db. [Valaris] * Added setting use_new_sql_db to inter_athena.conf for development. Do not enable this setting, it will be merged into use_sql_db once all work is finished. [Valaris] * Added some work towards sqlizing the rest of the databases. [Valaris] * Changed @help2 to #help to display char commands. Cut @help in half @help2 has the other half. [Kayla] 2005/12/23 * Missed a change in txt login.c for bind_up. [Valaris] * Cleanup organization of clif.c and script.c. Please don't put extra functions beyond inits, try and organize a little. [Valaris] * Removed login_ip option from login_athena.conf as it is not used. [Valaris] * Fixed bind_ip option in login servers. [Valaris] * Fixed a bunch of terrible typos in chrif.c [Skotlex] * Fixed a terrible typo in the handling of broadcast messages which was causing the map server to send garbage packets to the char server. [Skotlex] * Added resistance (int + luk/3) to Stone Curse's equation [Skotlex] * Updated sql-files/item_db.sql to current txt version. [Skotlex] * Fog of Wall update... Blindess won't affect bosses, blindness ends as soon as you step out (players only) [Skotlex] * Implemented the Strip equipment effects on mobs. [Skotlex] * Now when Berserk ends, the char's HP goes to 100. [Skotlex] * LK's Concentration now gives +50 hit rather than +50% [Skotlex] * Inverted the handling of Individual/Shared item pickup rule for parties. [Skotlex] * Fixed the item ruling for parties not being correctly read from the save files. [Skotlex] * Now Star Gladiator uses 2nd Adv.Class Job EXP table (13th column) [Lupus] - In future there could be added the 14th EXP column, specially for Star Gladiator 2005/12/22 * Begin work on packet optimization .. not done yet [MouseJstr] * Finished work on @help/@help2. @help will no longer show # commands. @help2 shows them instead. [Kayla] * Fixed compile warnings in atcommand.c and map.c. Fixed compile error in script.c. [Valaris] * wedding_modifydisplay's default is now no (that's how it is on official) [Skotlex] * Some cleaning to skill_attack, also added target checking for splash attacks/groundbased skills [Skotlex] * Mobs will now stop walking if their target no longer exists (picked up items, for instance) [Skotlex] * Modified firewall to cause no damage delay when hitting undead characters. It may fix undead mobs warping when walking through the firewall. [Skotlex] * Added script command "clone" for cloning of players. See doc/script_commands.txt for further information. [Skotlex] * Added @waterlevel debug command to read/change the current's map water-level (command untested) [Skotlex] * Enabled names for forged weapon/created Potions by default [Lupus] - Old issues have beed solved long time ago, now items by TOP10 BS/ALCH gain their TOP10 bonuses 2005/12/21 * Now left_cardfix_to_right won't take effect when there's no weapon equipped on the right hand. [Skotlex] * Updated slave AI to support player masters as well (that is, you could have a non aggressive slave, and it will target any mobs the master targets) [Skotlex] * Added battle option skill_wall_check, when enabled, all ground skills will do a check for each cell to guarantee a straight path between the cells and the target tile. Should prevent AOE skills from hitting through walls. Due to the possible performance penalty this setting brings, it defaults to no currently. [Skotlex] * Default skill delay for skills with no delay is now the normal attack delay. [Skotlex] * Extremity Fist/Charge Attack will fail if the player can't move to the target. [Skotlex] * Prepare kick skills now only fail for Soul Linkers. [Skotlex] * Merged in Marquis007's work on SL_SKA/SL_SWOO [Skotlex] * All skills except Shield Boomerang get the weapon's refine bonus now. [Skotlex] * Taekwon Ready Stances will now fail if you are a Second Job of the Taekwon Tree (SL, SG) [Skotlex] * Another fix to item picking for party-share. Hopefully it works alright now (at least I believe it should be dupe-proof now) [Skotlex] 2005/12/20 * Updated water heights for some maps, thanks to [Lupus] - removed p_track02.gat from the maps list. Thanks to Justin84 * Fixed produce_db items always failing... [Skotlex] * Hopefully fixed picking up items on a party-share type of party. [Skotlex] * Txt map servers will now send the whole list of online characters at UPDATE_INTERVAL (10 secs) rather than CHECK_INTERVAL (1 hour) so that the online.html file will be correctly updated. [Skotlex] * Fixed char_sql and char crash because of buffer overrun. [Lance] * Added a flag to tag non-weapon based skills so that they don't get the following bonuses: Star crumb damage, Mastery bonuses, Weapon Refine damage upgrades. Currently applies only to shield skills. [Skotlex] * Removed use of castle_id for guilds in char-sql server (use corresponding upgrade_svn* file). TXT servers haven't been touched yet because that would mess up the guild save files. [Skotlex] * Online list of characters will be sync'ed every 10 secs for TXT servers. [Skotlex] * Merged in Reddozen's work to get Twilight Pharmacy working. [Skotlex] - Create Deadly Poison Bottle and Holy Water are now both handled by the item producing code. 2005/12/19 * Fixed char servers not parsing correctly the online count packet (/who should work fine now) [Skotlex] * Fixed the Dodge walking speed bonus to Assassin. [Skotlex] * Added the new Garden City Hugel and Kiehl maps. [Valaris] * Corrected Kaupe/Kaizel so that you can cast it on self/family when not-linked, and anyone when linked. [Skotlex] * Fixed the mob damage log not getting the ID of the attacker registered... [Skotlex] * Added a new timer which updates only the count of characters on the current map server to the char server. Update interval is 10 secs. [Skotlex] * Updated status_clear_debuffs to clear many other types of ailments (Gospel should be clearing up most negative status changes now) [Skotlex] * Fixed exp calc type 0 (dmg/total dmg) being calculated as 0 always. [Skotlex] * Implemented the item pickup style for parties. [Skotlex] - Party share distributes items in round-robin fashion among players who are in the same map. - Pick-up Style shared is needed for anyone to be able to pick up the item bypassing the timers set for first/second/third sd. [Skotlex] * Optimized map server's online-listing update timers. [Skotlex] * Some updates to the online db in the char/char_sql servers, should help fix some memory leaks due to chars left tagged as 'online' even though that's incorrect. [Skotlex] * Added buildin_warpchar script function. Useful for warp one player from another player npc-session. Sytax: warpchar "map.gat",x,y,Char_ID; [LuzZza] * Now opening storage will fial if the guild storage is open and viceversa. [Skotlex] * Total damage a mob receives is now stored on it's own variable. Damage log implementation clean-up. [Skotlex] 2005/12/18 * Fixed Close Confine not affecting the caster. [Skotlex] * Fixed all skills except Extremity Fist not getting the weapon size modifiers [Skotlex] * Fixed Warp Portal checking for noteleport instead of nowarp mapflag (again?) [Skotlex] * Fixed baseJob working as baseClass (I hope it works fine now) [Skotlex] * Fixed Doridori bonus for Super Novices [Skotlex] * Updated new MOTD code so that it can compile on VC. [Valaris] * Fixed clone's dyes changing when they attack. [Valaris] * Declared pc_read_motd(void) in pc.h for the motd reload command. [Valaris] * Added @reloadmotd for reloading the motd.txt into memory. [Valaris] * motd.txt will now load into memory at startup instead of being read everytime a player logs in. [Valaris] - motd.txt can now have lines commented with "//" . - MOTD_LINE_SIZE is defined in pc.c, change this to increase maximum amount of lines allowed in motd.txt. - Default motd line maximum is 128. * Added a new script function 'setitemscript ItemID,"{ end; }"' [Lupus] - Very useful for events that give TEMP item bonuses for short time period 8) A Custom New Year Event NPC's coming soon. 2005/12/17 * Updated the svn eol-style properties to make merging between linux and windows easier when we use more complex branching system [4544: MouseJstr] 2005/12/16 * left_cardfix_to_right now also moves the ignore race/element defense bonuses (Ice Pick, Weed Killer, etc) [Skotlex] * Some fixes to the job_name functions (rearranging inside msg_athena.txt as well) [Skotlex] * Left card to right fix will now also apply to defense piercing effects (Ice Pick) [Skotlex] * Fixed char-converter being broken for a type mismatch [Foruken] 2005/12/15 * Fixed clone skills again. This time ground-based skills are working, and support skills have a re-cast delay of half the skill's actual effect. [Skotlex] * Fixed clone commands sometimes spawning the clone on a non-walkable tile (which in turn sends the clone to a random map location) [Skotlex] * Added debug information to the guild cache. Total number of guilds in the db will be printed now (as long as the save log is active) [Skotlex] * Updated SG_HATE to pick the specific class (Select a Monk, and the bonus is against monks only, not Champions/Acolytes/Baby Monks) [Skotlex] * Removed hardcoded table names in login_sql/login.c [Foruken] * Some cleaning regarding the job tree skill-raising restrictions code. [Skotlex] * Optimized/cleaned up the job_name function, job names are now acquired from msg_athena.txt. [Skotlex] * Fixed race defense bonus against Boss/Nonboss checking versus the target instead of the attacker (should fix Alice Card) [Skotlex] * Some cleaning in clif.c [Skotlex] 2005/12/14 * Fixed 'dead_branch_active' option. [Skotlex] * Optimized use of weather effects, or should I say, no use. Also re-added clif_clearweather to some of the weather effects, when they are turned off. Why those were removed are beyond me.. [Valaris] * Temporarily changed the walk speed during Charge Attack and Extremity Fist to simulate a faster 'zoom' to the target (somewhat untested yet) [Skotlex] * Corrected SL_HIGH so that the total of each stat is always 50... [Skotlex] * Optimized graffiti display packets (what was I thinking?) [Valaris] * Corrected a statement in guild.c (== to =) in nulling out the guild cache. [Valaris] * Implemented a mini cache for guilds/parties in the map server. Looking up the same guild/party twice or more should result in instant seek times until a different one is looked up. [Skotlex] * Fixed saving account variables [Komurka] * Fixed SL_KAIZEL not starting the proper effect. [Skotlex] * Merged Reddozen's work of SL_KAUPE [Skotlex] * Updated checkweight() script command to return false when the player has inventory full. [Skotlex] * Soullink check for SG_FUSION [Komurka] 2005/12/13 * Fixed @slaveclone not attacking enemies. [Skotlex] * Some more cleaning to the clone skills, proper support for Heal, Resurrection, Double Attack, Triple Blows. [Skotlex] * Updates/fixes/corrections to battle check target so that mobs with special AI can fight mobs without it even if the mob doesn't has a human master. Also updated it so that mobs with no special AI are all friends by default. [Skotlex] * Clone skill fixes, support/self skills are now triggering (never triggered before), adjusted some of the skill usage rates. [Skotlex] * Dyes will now work correctly on cloned or mob_avail class monsters. save_clothcolor must be enable in battle_athena.conf. [Valaris] * Added carts, falcons and pecos to clone and mob_avail class monster spawns. [Valaris] * Likely fixed the @spawn names issue. [Skotlex] * Fixed @*clone commands not resolving properly the target char. [Skotlex] * Implemented the SL_ROGUE bonus to potions. They heal +100% more rather than 50% (potions from ranking Alchemists, that is) [Skotlex] * Merged in Reddozen's work with SL_KAIZEL [Skotlex] * Added the check to prevent KA skills from being usable until you are Soul Linked. [Skotlex] * Enabled clif_parse_Taekwon (Why was taekwon parsed as clif_parse_Alchemist?) [Vicious] * Moved the base attack code into it's own function to properly implement the magnum break's elemental damage bonus (watch out for bugs as the code was proof-read, but that usually doesn't says quite enough when it comes to code). [Skotlex] * Merged in Reddozen's work for SL_WIZARD [Skotlex] * Updated clone command to allow attaching the clone to the invoking player as a slave. @clone creates a friendly clone that attacks mobs. @slaveclone makes a clone that follows the creator (it's a slave), @evilclone is the stock clone as a mob). Also fixed min/max damage of clones. [Skotlex] * Added one extra tile of range to melee mobs in mob_attack, should fix mobs not attacking when they are range+1 tile from you, yet they refuse to move in that final tile. [Skotlex] * Corrected mob ai not moving closer to player if there's a distance of 2 or less between them (which would do no good if the mob's range is just 1) [Skotlex] * Fixed SG_FRIEND - should work now [Komurka] * Realtered global_reg value size to 256. [Lance] * Adjusted pointers location for packets for new global_reg value (it's wrong + I adjusted the size) to 256 + 32 = 288 [Lance] * Improved variable scope for scripts to accept all string variables. [Lance] * Altered map, char and login server to correctly use global_reg [Lance] * do_sendrecv merges from Freya [Lance] = Requires recheck on packets again to see if I missed any pointer alterations = * Improved @evilclone to accept character IDs [Lance] * Corrected partywarp/guildwarp to correctly take into account nowarp/nowarpto mapflags. [Skotlex] * Added a few custom scripts due to high demand. [Lance] * Added monster museum. Adapted from Prometheus. [Lance] * Corrected OnTouch to use exname instead of name to prevent conflicts. [Lance] 2005/12/12 * added manner_system battle conf variable (now you can have PK server without manner system - which is unfinished ;/) [Komurka] - some corrections in SI_ data (night uses soullink effect) - changed global_reg value from int to char added two new functions (pc_readglobalreg_str and pc_setglobalreg_str) SG_FEEL now saves maps to global_reg I've 'marked' all changes that SHOULD be checked with '//komurka' - SG_FUSION hp penalty changed from 2% to 0.5% - SG_SUN_COMFORT now increase VIT DEF - implemented SG_FRIEND skill - this is the last SG skill - now it's a good time for bug reports :] * Updated the max number of ingredients of produce_db to 12. [Skotelx] * Updated clone code to also copy the skills from the source player. [Skotlex] * Added Reddozen's implementation of SL_SKE and SL_MONK (sp recovery, Combo Finisher splash damage, SP regen while in Fury) [Skotlex] * Some reorganization of the Star Gladiator map-based skills. [Skotlex] * Fixed @spawn/@monster atcommands 'freezing' server when used. [Skotlex] * Fixed ground-based skills having their range-check messed up... [Skotlex] * Corrected melee-ranged mobs failing the range check even if they were standing next to you. [Skotlex] * Added all duel-commands messages into msg_athena.conf. Commented out code of drawing PVP-circle in duel because it not hiding when player use hide. [LuzZza] * Removed @monster2, merged the code of atcommand_spawn/atcommand_monster as suggested by Flaviojs. [Skotlex] * Removed some unused entries in msg_athena.txt [Skotlex] * When there are unused stack sections (invoked functions and ignored return values) the unused stack section is free'd. This is still notified when the etc_log is active. [Skotlex] * Removed the TURBO code from socket.c as requested by MouseJstr. [Skotlex] - It was actually slower than the normal code. * Updated warp portal and script commands partywarp/guildwarp to take into consideration mapflag nowarp as restriction rather than noteleport. [Skotlex] * Applied dontBR's update to his configure script [Kayla] * Changed the bonus on Sonic blow.(It was giving 1500% instead of 1600%) [Vicious] * Updated gettimetick() to use flag 2 and return System's tick, thanks to Kyoki [Skotlex] * Removed the mismatch stack error message caused by scripts where the returning value of a function was ignored. [Skotlex] * Corrected the Spirit of Assassin damage bonus of Sonic Blows. [Skotlex] * Corrected BSS check versus undead, checking for partners on the Priest's exact left and right, and sending partner's SP to negative. [Skotlex] * Another Paladin's Gospel effect ends when you cast it (should fix Gospel in Gospel bugs). Also, now Gospel only blocks usage of items of type 0 (healing). [Skotlex] * Corrected berserk Pitcher displaying 0 heal. [Skotlex] * Added Close Confine's flee bonus. [Skotlex] * Corrected Slow Poison. Can be used when not poisoned, will not "pause" poison's timer. [Skotlex] * Implemented SG_FUSION skill [Komurka] Don't ask me why in newer exe U see flying ... Santa ... -.- * Updated the distance() function definition with one which uses a much better approximation [Skotlex] * Updated sql-files/ mob_db.sql & item_db.sql to latest. [Skotlex] * Added @autotrade/@at and @away/@aw messages into msg_athena.conf (you can customize them) [Lupus] * Updated default hardcoded GMlevel values of some @ATCommands according atcommand_athena.conf [Lupus] and removed doubles of some commands, thanks to Rideword 2005/12/11 * Corrected guild deletion in SQL (both from /breakguild and guild master character deletion). [Valaris] * Added @evilclone commands. Syntax is @evilclone , [Valaris] It will spawn an aggresive clone of the given player. By default it will use mob id ranges 9001-10000, this range is #defined in mob.h. * Fixed VS compile error in mob_clone_spawn. [Valaris] 2005/12/10 * Added core player cloning code. Just need to create some commands. [Valaris] * Redid the @help2 (char commands). [Kayla] * Added jobname retrieving script function getJobName. [Lance] 2005/12/09 * Changed default GM level for @setbattleflag to 99. [Valaris] * Implemented the SL_SUPERNOVICE bonus to wear all heagears/various weapons at high base levels. [Skotlex] * Implemented SL_ROGUE bonuses: can't be dispelled, Chase Walk's str bonus lasts 10x longer. [Skotlex] * OneHand Quicken now dispels aspd potion effects. [Skotlex] * Updated SL_STIN/SL_STUN to do miserable damage if the target's size is 'incorrect'. [Skotlex] * Updated @disguise so the max npc id you can use is 1000 (1001 is already the first mob, Scorpion) [Skotlex] * Fixed a possible infinite loop in pc_calc_skilltree when receiving additional skills when Soul Linked. [Skotlex] * Added the Taekwon bonus that gives you triple Max HP/SP when you are a top 10 ranker and have base level 90+ [Skotlex] * Added support for skill_db pl == -2. These skills don't take the element of the weapon, but will take the element of any enchantment elemental change (so the element used is neutral unless you are enchanted with Fire/Wind/etc) [Skotlex] * Coded in SL_STIN, SL_STUN and SL_SMA. [Skotlex] * Should have fixed the crash with raw_time in char/char.c [Skotlex] * Pressure can now be cast-break. [Skotlex] * Likely fixed the client crash when hating a class rather than mob. [Skotlex] * Removed @help2, note to self: do not commit at 4 am. Will redo later. [Kayla] * Added @help2. @help did not fit in the screen. @help2 currently contains just the char (#) commands. [Kayla] * MAPREGSQL disabled (experimental) in VC7. To enable, define MAPREGSQL in preprocessor. [Lance] 2005/12/08 * Changed default value of start_zeny to 0 to prevent packet exploits. Also is 0z on offical servers. [Kayla] * Fixed bug with objects (npcs, monsters, players, etc) not appearing when using @refresh. [Valaris] * Updated effects for food production thx to Poki#3 [Komurka] * SG_STAR_BLESS now gives 20%*skill lvl additional exp [Komurka] * Modified clif_blown to use the clif_slide packet instead of clif_fixpos, as Komurka tested it and it appears to be handled better by current clients. [Skotlex] * Added two new battle_athena.conf options: duel_allow_teleport (def: no) and duel_autoleave_when_die (def: yes) [LuzZza] * Small fix in allskill [Komurka] * Updated Gloria Domini to bypass battle_calc_damage (misc damage reductions) [Skotlex] * Fixed a typo in pid.c, thanks to akusarujin [celest] * Exploit fix in SG_FEEL [Komurka] * Updated TK_MISSION to pick a random mob in the same way a dead branch does. [Skotlex] * Corrected SG_DEVIL giving the ASPD bonus below level 50. Only works at max level... [Skotlex] * Some cleaning to pc_calc_skilltree. Also updated it so that if you don't use player_skillfree, you can't have ANY skill if you don't have NV_BASIC at 9 (only exception are quest skills). [Skotlex] * Implemented HT_POWER/Beast Strafing. [Skotlex] - The damage equation is unknown.. for now it's the same as Double Strafe except the skill modifier is +10%*str - Currently the Combo is triggered 100% of Double Strafes done on beast monsters. * Added Reddozen's work for Hunter's Beast bane spirit bonus. [Skotlex] * Corrected the drop delay for mobs when killed by magic to be 500ms (will only work if killed by a player) [Skotlex] * Updated SG skills (kRO Patch - 11/29/05) [Komurka] * Enabled a few maps needed for the new novice training grounds, sorry I forgot to [MasterOfMuppets] * Removed duplicate maps in maps_athena.conf. Thanks for the report Dr. Evil [Kayla] 2005/12/07 * Pressure will always pull-off now after it has began casting. [Skotlex] * Implemented Close Confine. [Skotlex] * Change all 0x20e packets (18->26; 22->30) [Komurka] Also added job_name(mob_id) in clif_hate_mob (but it crashes client when U try to use SG_HATE skill on player ><) * Fixed compile error in status.c. Check your work skot <3 [Kayla & MoM] * Updated socket.c by adding a lots error reporting for functions that previously were assumed to not fail. May help figure out what's going on with the win32 builds... [Skotlex] * Reviewed and cleaned up a bit the latest SG additions from Komurka. [Skotlex] - My skill desc says that SG_DEVIL does not makes you blind until you reach max job level, so I implemented that. Report if this is incorrect. - SG_*_WARM skills should be working from what I read there. * Modified a bit the TK_MISSION packet, GUESSING where the progress of the current mission should go within said packet... [Skotlex] * Implemented TK_MISSION. [Skotlex] * Added more SG skills (Comfort, Warmth, Demon, Knowledge) [Komurka] All of them should be checked by someone ^^;; - SG_xx_WARM for now only shows cool red effect :> There is more code but for now it doesn't work * Added new Geffen Field maps [Harbin] * Disabled Atcommand Nuke (It was commented, not disabled) [Harbin] * Added skip_teleport_lv1_menu option to Battle_Athena. Allows players to cast Teleport level 1 without menu. [Harbin] * Merged in Reddozen's current Soul Linker work. [Skotlex] - Berserk Pitcher should be working now. - Bard/Dancer walk bonus when dancing/singing while soul-linked. - Partial work on Twilight Pharmacy. - proper skill effect * Fixed One Hand quicken doing nothing. [Skotlex] * skill_get_name now returns "UNKNOWN_SKILL" instead of null (should fix some crashes when using it on skills with no defined name) [Skotlex] * When weapon_delay_attack is enabled, items should drop inmediately after mobs are killed rather than 500ms afterwards. [Skotlex] * Added Exception Handling plugin to be used for native Win32 builds [celest] - crashes will be logged in .stackdump along with file name and line numbers - To activate, enable 'exchndl' in plugin_athena.conf Public Service Message - Crash reports can be VERY VERY helpful, so please enable the plugins if you can ('exchndl' for Win32, 'sig' for cygwin and linux) and send in any reports you might get! We all want eA to be stable, ne? ^^ * Some compile error fixes for MinGW, FreeBSD and plugins [celest] * Updated Makefile to set platform defines for FreeBSD [celest] * Updated Makefile to auto-detect MinGW and include src/mysql [celest] * Debug logging flag for logging output messages (only works well with native Win32) :D (Not enabled by default) [Lance] * joshuali's new vcproj with debug mode correctly set up. [Lance] * Fixed compile errors for Valaris's commit on date.h [Lance] * Added updated vcproj for native VC8 win32 for date.h/c support. [Lance] * Removed extra returns in date.h. [Lance] * Probably fixed warnings in unzip.c [Lance] 2005/12/06 * Updated item 12132 for the Xmas suit effect in item_db.sql. [Valaris] * Implemented Xmas Suit: [Valaris] -Added status change state SC_XMAS, and added it to const.txt. -Cannot attack or use skills while in the Xmas state. -Will save if you logout. -"sc_start SC_XMAS,600000,0" added to item 12132 (using item will give you xmas suit for 10 minutes). -Added xmas_ignorepalette option to battle_athena.conf. * Fixed script error in Garm's Claw item causing an error. [Valaris] * Added a missing ; to Skotlex's Previous SG skill editions that caused compile errors. [Valaris] * Added JOB_GUNSLINGER(24), JOB_NINJA(25), and JOB_XMAS(26) to map.h enum list and const.txt. [Valaris] * Added SC_SCRESIST to const.txt. [Valaris] * Applied Komurka's Star Gladiator patch. [Skotlex] - The following skills are now working: SG_FEEL, SG_HATE, SG_SUN_ANGER, SG_MOON_ANGER, SG_STAR_ANGER, SG_SUN_BLESS, SG_MOON_BLESS, SG_STAR_BLESS - The designated maps cannot be stored currently (cannot save character string variables) and is pending on a script update to enable saving of said type of variables. * Added @away command. [LuzZza] * Mostly fixed intravision making everyone see hidden/cloacked characters. (the actual option value to see just the player's shadow is currently unknown) [Skotlex] * Updated Gospel [Skotlex] - It should clear all buffs/debuffs now. - Party-mates within range cannot use items. * Implemented the SL_BARDDANCER bonus that enables the caster to be buffed by their own song/dance/encore. [Skotlex] * Completed Sight Thrasher (the option value is still missing, though. Temporarily uses the one of Sight) [Skotlex] * Corrected possible exp exploits in jA's exp calc method. [Skotlex] * Corrected Spirit Skills showing up in all class trees. [Skotlex] * Invoking @reloadscript now also invokes the OnInit event after loading. [Skotlex] * Expanded Item Groups list from 20 to 32 item groups [Lupus] * Fixed healing experience bug. Now only healing another players gives experience. [Harbin] 2005/12/05 * Hopefully fixed gm_all_skill.... [Skotlex] * Modified a bit the player attack code to give an extra range cell when the target is moving. [Skotlex] * Added skip_teleport_lv1_menu battle_athena option. It give a possibility to disable (skip) Teleport Lv1 menu, that have only two lines `Random` and `Cancel`. Of course, by default this option have `no` (don't skip) value. [LuzZza] * Added FD_SETSIZE 4096 predefination to VC++ Project Files. Should fix 60 player limit bug with native compilations. [Harbin] * Fixed char crash (I hope) when checking for two parents + baby in a party with more than 3 characters, but from which only 3 were online at a time. [Skotlex] * Merged in Reddozen's work on SL_BARDDANCER and cleaned up a bit the Spirit Skills code when calculating the skill tree. [Skotlex] * Updated mob ai so that support/aggressive mobs can't 'see' a player until there's a direct line of sight between them. [Skotlex] * Updated monster_ai&1 so that when not set mob-chase type is Aegis-like (mobs will not change walk target tiles mid-walk) [Skotlex] * Added battle_athena.conf option mobs_level_up_exp_rate to set the extra exp rate a leveled up monsters gives. [Valaris] * Added a custom X-Mas quest *Sign Your Items* [Lupus] * Applied Harbin's patch to fix Arrow Shower + Traps. Someone test it out. [Skotlex] * Another fix to socket.c to enable TURBO mode to work on win32. [Skotlex] * Fixed the combo status not ending after using TK_TURNKICK [Skotlex] * Overflowed pointer fix in socket.c [Skotlex] * Added 'Einbech' into @go command (u have to type at least 5 letters) [Lupus] * More detailed error messages for missing '"'s in scripts. [Lance] 2005/12/04 * Removed mail server switch from battle_athena.conf and added full mail server configuration to inter_athena.conf. [Valaris] * Fixed too big VVS damage of TOP10 BS weapons [Lupus] 2005/12/03 * Fixed up TK Sprint (TK_RUN) skill: [Valaris] -Disabled movement during skill use. -Correct moves player server-side. -Stops without sp use if skill is used during running. -Server will not save status if player logs out. * Some cleaning of socket.c to see if TURBO will now work on Windows, it may also fix the select() problems on that platform as well. [Skotlex] * Fixex "gm_skill_all" crashing the server from generating huge packets (or so I hope) [Skotlex] 2005/12/02 * Gave the Spirit Status Change a custom effect for now. [Skotlex] * Merged in Reddozen's work for SL_HIGH (Spirit of Rebirth) [Skotlex] * The Bonus skills acquired from being Soul Linked should now show up in the skill tree. [Skotlex] * Merged Reddozen's work of One-Hand Quicken and Adrenaline Rush 2. [Skotlex] * Fixed Axe-Kick never triggering. [Skotlex] * Slaves walk once again. [Skotlex] * enable_items now also enables equipment stuff. [Skotlex] * The attack motion in packets for ground-based skills is now 0 (it may help somewhat with current firewall issues). [Skotlex] * Added char-server option "save_log", when disabled, the char server will stop printing info messages whenever something is loaded/saved. [Skotlex] * Disabled random-walking for slaves [Skotlex] * Added script commands enable_items/disable_items [Skotlex] * Likely fixed the mob-skill target type "master" [Skotlex] * Added target type "master" to the mobskill_db [Skotlex] * Modified NPC_RUN to allow the caster to run away from the target [Skotlex] * Implemented SL_SAGE (Soul Linker Sage buff for auto-cast bolts) [Skotlex] * Updated char-sql guild saving so that instead of saving ALL guilds when the time comes, the save interval is splitted on time-slots (based on guild count in memory) and a guild is saved per time-slot (just like the map server saves characters). [Skotlex] * Fixed client crashes with using baby and advanced player classes as pets. [Valaris] * Added missing ban_hack_trade option to battle_athena.conf. [Valaris] * Hopefully fixed Counter Kick. [Skotlex] * Uncommented and corrected the Soul Linker Monk buff (SP cost reduction for monk combos) [Skotlex] * Added a check in skills so that skills that are used on yourself, but had it's target auto-selected cannot be used on non-enemies if it's nk is different from 1 (1 = No damage skill) [Skotlex] * Various cleanups to the char-sql server to prevent corner-case crashes from queries that return no rows. [Skotlex] * Massive Taekwon Boy skills related code cleanup. [Skotlex] - Flying Side kick and Turn Kick should be fully working now, too. * Cleaned up and reorganized the SC_ data listing. Added sc's for food related bonuses: SC_HITFood, SC_FLEEFood, SC_BAtkFood, SC_WAtkFood, SC_MAtkFood. [Skotlex] - Some of the saved sc data will be wrong, so wipe the table/file if you want to play it safe. * Some corrects in duel code. [LuzZza] * Sonic Blow and Shield Boomerang's after cast delay is now properly adjusted by the Soul Link skills. [Skotlex] * Party even share will be now broken after a base level reset. [Skotlex] * Merged in Reddozen's Soul Linker current skills work. [Skotlex] * Added countitem2(itemID,....) script function. [Lupus] * Added axtoi script function that converts hex strings to integers. [Lance] * Fixed incorrect time (that leads to crashes) in login server. [Lance] 2005/12/01 * Moved KN_CHARGEATK code to merge it with Extremity Fist. Skill damage modifier is currently set to +15% per cell (need actual value here) [Skotlex] * Fixed client crash when logging in with Baby Knights and Crusaders riding Pecos. [Valaris] * Implemented Ki Explosion. [Skotlex] * Fixed client crashes with using baby and advanced player classes as monsters. [Valaris] Make sure to use Item ID for weapons and shields in mob_avail.txt for player monsters and not View ID. Updated Valaris and MC Cameri mobs in item_avail.txt to use Item IDs. * Fixed cutting Castle Name (was 14 instead of 24) [Lupus] * Corrected Grimtooth counting a short-range skill when it's actually ranged. [Skotlex] * Corrected Venom Splasher's splash range, and the splash damage is now divided by number of targets (sort of, skill % dmg is adjusted according number of targets) [Skotlex] * Tarot Card of Fate won't break equipment now if equip_skill_break_rate is 0. [Skotlex] * Improvements and optimizations to the online db management in the char txt/sql servers. [Skotlex] * Updated the guild cache (char sql) to have it load/unload characters whenever they are updated in the char online_db (previously they were only updated on normal char-select/char-quit when there were more cases where a char is set online/offline) [Skotlex] * Now when the guild is not found in the cache it will be loaded from the sql db first before failing. [Skotlex] * Fixed equip_skill_break_rate equation being messed up for Acid Demonstration. [Skotlex] * Fixed Aura Blade adding damage to Spiral Pierce (it shouldn't) [Skotlex] * Script function getnameditem now sets flag 254 (created) instead of 255 (forged) [Lupus] To prevent ADDITIONAL Blacksmith FAME TOP10 bonuses, applied to signed but not forged weapons e.g. You have a custom quest for rare weapons. You tag items with players name (using getnameditem command). if a TOP10 BS get an Infiltrator.. then it used to give extra atk bonus 8) 2005/11/30 * Updated item_db.sql to latest. [Skotlex] * Updated mob_db.sql to latest. [Skotlex] * Updated Gospel to force the removal of the ground-effect when the status change ends. [Skotlex] * Made Snatch/Intimidate work on Guild maps (I have read around this is how it is) [Skotlex] * Added the auction maps to maps_athena.conf [MasterOfMuppets] * When players are hit while moving, they should now move one last cell in the same direction they were walking when interrupted. [Skotlex] * Walk delay won't be applied now unless the attack deals damage... [Skotlex] * Major reorganization of player variables and bonuses. If something broke, report it up. Otherwise, struct map_session_data should look quite a bit more clean now. [Skotlex] * Fixed duel bug when you can't cast some skills on yourself. [LuzZza] * Fixed (I think) pets losing the "rename flag" when you sent them back to egg. [Skotlex] * Added a index check in the equip packet, should fix crashes from invalid packets. [Skotlex] * Fixed a horrible bug that was making the walk delay not work for sure x.x [Skotlex] 2005/11/29 * Fixed race exp bonuses. [Skotlex] * Fixed ## account variable saving disconnecting the char-login servers. [Skotlex] * Updated the way multi-hit skills add overrefine/star crumb/spirit sphere damage so that the total bonus is multiplied by the total number of this. [Skotlex] * Fixed the config variables being "lost" on startup. [Skotlex] * Fixed Restore requiring Regeneration lv2 [Skotlex] * Fixed the spirit sphere bonus not applying to Throw Spirit Sphere. [Skotlex] * Rewrote and cleaned up duel code. Formed independent duel_xxx functions. I suggest to place this functions in duel.c/duel.h. New features: [LuzZza] - Now when you in duel, you can't attack anything out of your duel (mobs, other players etc...); - Now you can't take part in duel more often than it set in battle_athena. Default delay is 60 minutes. - New battle_athena.conf options: duel_allow_pvp - allow/disallow duel on pvp-maps; duel_allow_gvg - allow/disallow duel on gvg-maps; duel_time_interval - delay between using duel in minutes. * Updated damage formula for Spiral Pierce. [Skotlex] * Fixed speed change being lost when speed is increased/decreased while walking with Free-cast. [Skotlex] * Fixed pets being renameable after turning them back into eggs. [Skotlex] * Reverted the guild data position in the mob/npc packets, should restore the emblems in flags. [Skotlex] * Corrected battle_check_target Guild checks returning true for non-guild, party'ed characters and viceversa. [Skotlex] 2005/11/28 * Added dontBR's experimental configure script. It's still in alpha stage, so use with caution! [Skotlex] * Fixed a pair of exp exploits possible with to Rich Man Kim and race-add-exp card bonuses. [Skotlex] * Updated behaviour of skillrange_from_weapon. If set, those skills with negative range use the weapon's range. If not set, then the skill range used is the absolute value of the range specified in the skill_db. [Skotlex] * Small cleanup of the color broadcast packet using data provided by Master of Muppets. It should hopefully fix the font-size on said colored messages. [Skotlex] * Fixed the setting of the guild id and guild emblem in packets 0x7b and 0x78 for mobs/npcs (this is assuming the position is correct when filling these same packets for players) [Skotlex] * Added battle_config option skillrange_from_weapon which, when set, allows weapon based, target-selected, offensive skills to take the equipped weapon's range instead of the range defined in the skill_db. [Skotlex] * WARNING/ACHTUNG! Update all your NPCs ASAP. Massive NPC fix's out. [Lupus] * Updated monster_ai&8 so that mobs scatter as soon as they lose their target. Use this setting for an effective counter measure to Grimtooth mass-mob training. [Skotlex] * Added pc_damage_walk_delay_rate to separate the walk delay adjustment of players from that of mobs. The adjustment for players is 20% while for mobs is 100%, pending further adjustments. [Skotlex] * Added the weapon upgrade damage bonus of Spiral Pierce [Skotlex] * Removed the mob_stop_walking code from mob_damage as it should be invoked on battle_walkdelay (the mob walk delay issue will likely need it's own config option) [Skotlex] * Added joshuali's new Visual Studio files. [Lance] * Novice Warp Portal fixes from jAthena. [Lance] * Final warning elimination in plugins.c (most of them are gone with warning level set to 1). [Lance] * Fixed typo in msg_athena.conf and 'users with autoloot turned on will not have their rare drops announced.'. Thanks to Kaseki. * Mob should stop walking when hit if not enduring. Thanks to Playtester. [Lance] * Included pcre.dll and libmysql.dll from joshuali. [Lance] * Eliminated Level 3 warnings. Setting compile warnings to Level 3. (Level 4 just kills eAthena XD) [Lance] 2005/11/27 * Fixed an overflow pointer bug in the gvg eliminate timer. [Skotlex] * Updated the damage code if Spiral Pierce, Shield Chain and Shield boomerang to be closer to official. [Skotlex] * Fixed a crash when setting all chars offline in the char-sql server. Also fixed that delete_timer mismatch on shutdown [Skotlex] * Autospells now won't trigger if the range between the source and the target is not satisfied. [Skotlex] 2005/11/26 * Added bonus2 bAddSkillBlown for adding a custom knockback value to a skill. Note that this knockback bonus is ADDED to whatever the default knockback of the skill is. [Skotlex] * Fixed Soul Linker skills showing up on the tree for leveling up. [Skotlex] * Probably fixed the crash in inter_guild_CharOffline [Skotlex] * Modified the skill get range routine to correctly account for the attack range and the AC_VULTURE range bonus where needed. [Skotlex] * Fixed alchemists Fame Points bug: It were giving 1 fame point [Lupus] on making 4 Condensed Potions in row, instead of 3, etc. Now tested ^_- * Some restructuring and cleaning up in map loading to make it easier for future plans (like removing Grfio) [celest] - split map loading into separate sources properly - added map server will display a list of enabled map sources on startup - added maps will be auto-imported into the map cache if it's loaded with AFM, AF2, or any other source The server looks for maps in this descending order: the map cache, AFM maps, AF2 maps, and finally GAT files from the GRF (slowest); so, if you enable map caching it should be a liiiittle bit faster then before ^^ 2005/11/25 * Uploaded fixes to int_guild, tested and working safely. [Kevin] * Added @showzeny @ command. [Skotlex] * Some code cleanup to make AutoBerserk work the way it was intended to (skill toggles "auto-berserk" state on/off, if on, you automatically get Provoked when under 25%HP) [Skotlex] * Fixed Auto-Berserk auto-ending after a minute. [Skotlex] * Added a fix to mob skills to prevent them from being checked too frequently during battle (which was sort of bumping up their rate to double or more from what the skill db would state) [Skotlex] * Added cleaning up the fifo before sending the guild information (since the packet is big, the fifo should be cleared to avoid overflow problems) [Skotlex] * Added monster_ai&8, when set monsters stop walking as soon as they lose their current target [Skotlex] * Reflect Sword again reflects damage versus players. [Skotlex] * Corrections to the skill code so only Heaven's Drive may damage traps. [Skotlex] * Reverted the mob random walk delay after unlocking a target to 3~6 secs. [Skotlex] * Added pow, sqrt and distance to scripting commands. [Lance] * Removed players with 0 Fame Points from Blacksmith/Alchem/Taekwon TOP10 lists [Lupus] * Should fix night glowing bug. [Lance] * Added setd and getd variable retrieving and setting with dynamic names. [Lance] * Added petstat command as requested by Dubby. [Lance] 2005/11/24 * Fixed a small bug in the guild search by name routine. Should fix the crash on new guild creation. [Skotlex] * Added debug information in case the guild isn't found in the cache when it should be there. This should help fix any problems the guild cache might have (eg: for some function that may take effect on a guild which has no members online) [Skotlex] * Finished cleaning up and merging the guild cache withthe guild timers behaviour. It should be mostly safe to update now. [Skotlex] * Reverted the sql save behaviour. [Skotlex] - Now guilds timers and cache are both into effect, this requires a bit more of cleaning to be considered done. * Various things I made but already forgot xD [DracoRPG] * Fixed and updated damage bonus for forged weapons: VVVS is +40 (was previously +50 for the right hand...) and "famous maker bonus" gives a no-miss +10 dmg, same as 2 additional Star Crumbs. [DracoRPG] * Added or updated several Taekwon skills [DracoRPG] - Jump Kick uses clif_slide to the target's exact pos , waiting for capture/video - Taekwon ranking is now supported by the fame system, but there's no way to gain points atm (Taekwon Mission has no effect), infinite kick combo should be OK - 4 basic kicks updated, you now stop attacking when a stance triggers, and have 2 seconds to hit the button before attacking again - Run uses SC_SPORT to increase your STR and affect the way Break Fall works - Break Fall dodges ranged magic/weapon attacks, as well as melee weapon ones when SC_SPORT is active * Made Sword Reject / Counter Instinct reflect damage only against monsters (not 100% sure about it, but let's say 90%... iRO site says it, although it isn't the best source ever) [DracoRPG] * Made Spiral Pierce use SC_STOP instead of setting canwalk_tick, some other such things need to be reviewed [DracoRPG] * Fixed Pneuma. [Skotlex] * Fixed dead mobs reappearing on the map. [Skotlex] * Cleaned up the duel code in battle_check_target. [Skotlex] * Added config option summons_inherit_effects, defaults to yes, check battle_athena.conf for further details. [Skotlex] * Updated duel [LuzZza] - Now "@duel " may be used for indication max players limit of duel. - Now "@duel " creating duel for two players and automatically send invitation to Nick. * Added a new script function: getequipcardid(equipSlot,CardSlot) [Lupus] Returns Card ID or just a value from your EQUIPPED item Useful to check equipped items PROPERTY, STRONG value, Author ID, etc Check npc\sample\getequipcardid.txt and read script.c comment ^_- 2005/11/23 * Fixed the crash on guild creation in new guild cache. [Kevin] * Implemented duel organizing commands: @duel, @invite, @accept, @reject, @leave. [LuzZza] * Made the walk-delay a timer, so that it triggers after the actual attack motion of the src. [Skotlex] * Added back the combo damage delay config, now renamed to multihit_delay, and set to the default of 230ms it had before. [Skotlex] * Added displaying file which caused an error on incorrect mob lines. [Skotlex] * Small memory corrections to sql castle saving/loading, mostly Lance's work. [Skotlex] * Updated the walk delay routine to not invoke stop-walking when character is not walking (fixes the case in which the packet is sent while sitting, which causes a 'standing' sprite even if the char is sitting). [Skotlex] 2005/11/22 * Implemented a guild cache in char sql, saves all online guilds every 5 minutes. [Kevin] * More grammar fixes [Kayla] * Added 1-tile of range grace in skill_use_id and skill_use_pos since that's how it is on Aegis servers. [Skotlex] * Updated the skill info packets to deliver the skill names as expected by the client. [Skotlex] * Updated mob ai to enable changing targets while attacking ONLY if the attacker is within melee range (Aegis AI). monster_ai&4 can be used to override this and allow mobs to change target and pursue ranged attackers. [Skotlex] * Updated the config comments for the ip-related settings. Thanks to akusarujin for the update. [Skotlex] * Added rates to at_command.conf, set it's default to GM lv1 [Skotlex] * Removed the icon from Fire Break's fire-elemental bonus. [Skotlex] * Updated the walkdelay function to only be invoked if the attack did damage. [Skotlex] * Some more fixes to the english in ShowInfo()'s [Kayla] * Cleaned out the SVN a bit [Kayla] 2005/11/21 * Removed "(now unlimited loop start!)" from char-sql in an info line...wtf xD..[Kayla] * Mob AI update: updated the conditions used to specify if a mob can change targets as per the forum provided information (by Komurka and Kyoki). Mode 512 (MD_CHANGETARGET) no longer does anything. [Skotlex] * Mobs that assist now link nearby mobs when they attack. [Skotlex] * Made the damage delay be applied after knockback rather than before (magical/misc instant effect attacks are still applied before the knockback) [Skotlex] * The damage delay timer now stores the distance between source/target, if this distance is increased by 2 or more, the damage delay fails and takes no effect (if the '2' needs to be made higher, do point it out. It shouldn't be much of a problem since you aren't supposed to be able to walk from the damage delay anyway). [Skotlex] * Changed the way damage delay works. It is no longer applied on mob_damage/pc_damage, but instead is invoked from clif_damage (or clif_skill_damage), which means the "can't walk" delay is sync'ed with the damage packets when they are sent. This should fix most delay-damage 'stun-lock' related issues. [Skotlex] 2005/11/20 * Mobs now can't move while casting. [Skotlex] * Updated mob_db.txt and mob_db.sql with the most recent data from Kyoki. [Skotlex] * Corrected the mob_db by adding the canmove/canattack bits to pretty much all mobs that needed them. [Skotlex] * Some fixes to the confusion code. [Skotlex] * Crash-fix in status_change_start [Skotlex] * Implemented confusion as it should be (not tested yet!) [Skotlex] * Updated run_script to backup the current script of a player and restore it if the current script ends inmediately. This should fix losing the script info if status_calc_pc is invoked while running a script. [Skotlex] * Fixed a memory leak in the guild eliminate timer. [Skotlex] * Removed the extra tile of range mobs have when walking. [Skotlex] * Added mob reloading to battleconfig reload @ command. [Skotlex] * Updated mob_db.sql with the new modes by Kyoki. [Skotlex] 2005/11/19 * Made characters stop walking when inflicted by SC_STOP, may fix GrimTooth's stop effect not seeming to take effect. [Skotlex] * Made the pk_min_level config not take effect in WoE/GvG grounds. [Skotlex] * Fixed showing falcon when player is hide. [LuzZza] * Updated mob_db.sql and item_db.sql to current [Skotlex] * Updated the skill db step guessing code to allow for negative ranges (Now spear boomerang should progressively get longer range with higher levels) [Skotlex] * Fixed Tarot Card, the card that gets two random effects can't retrigger itself, and it causes STOP instead of Stun where appropiate. [Skotlex] * Updated devotion to only work on damage attacks that have a source (will prevent it from "blocking" COMA, which is what caused the crash). [Skotlex] * Fixed not always showing CRIT attacks, thanks to Irmin [Lupus] 2005/11/18 * Updated mob_ai so aggressive mobs change target when chasing, and change-target mobs do so when attacking. [Skotlex] * Fixed weapon forging showing success even when it fails. [Skotlex] * Some cleaning up of @time, may fix the weird time displays. [Skotlex] * Modified mob_ai so hyper-active mobs change target if they are cast-sensors even if attacking (angry mode). They will also change target if attacked while in angry/follow mode regardless of their change-target mode. [Skotlex] * Moved the night-inducing code from "map loaded ack" to "spawn pc", should fix characters going ultra-blue after stuff like fly-wings. [Skotlex] * Delayed the mob emotion when doing skills so that it gets executed AFTER the skill is successfully performed. [Skotlex] * Implemented PR_REDEMPTIO. Is the penalty for both base and job exp? That's how it is currently. And if the map has the nopenalty flag,there's no exp penalty. Awaiting further input on the matter (altough, do note the skill isn't tested either) [Skotlex] * Fixed three memory issues (char txt shutdown, npc reloading, ore discovery logs) which were pointed out by End of Exam. [Skotlex] * Added support for hyper-active mobs (MD_CHANGECHASE = 0x400), these mobs will change to the closest target while chasing/following other players. Needs be added to the mob_db. [Skotlex] * Added support for hyper-aggressive mobs (MD_BERSERK = 0x800), these mobs change their skill state to angry/follow instead of attack/chase when they select/change target (except if they changed target because the new target attacked them). Needs be added to the mob_db, for now all aggressive mobs are considered hyper as well. [Skotlex] * Updated mob mode cast-sensor (MD_CASTSENSOR = 0x010), mobs that are Aggressive can also change target if they are chasing/following a player when someone else casts a skill on them. [Skotlex] * Fixed Dark Blessing. [Skotlex] * Changed the default battle_delay_damage value from no to yes. [Skotlex] * Added check to prevent reinitiating SC_GOSPEL on a character that already has GOSPEL and val4 == BCT_SELF, may fix multiple Gospels being placed on the ground. [Skotlex] 2005/11/17 * Altered behaviour of NPC_EMOTION/NPC_EMOTION_ON as requested by Komurka. [Skotlex] - val[0] (the first one) is the emotion the mob does. If val[1] is different from 0, then the mob's mode is changed to THIS value. If val[2] is different from zero, it'll add/remove a mode based on skill used (EMOTION_ON adds mode, EMOTION removes it), both can stack [Skotlex] * Fixed for sure the Makefile... [Skotlex] * Modified Wedding effects. That is, changing base to 22 does NOT displays wedding outfit anymore. To display the wedding outfits, you have to start SC_WEDDING instead. Tux/Wedding dress scripts likely need being updated. [Skotlex] * Added battle option disp_zeny, will display on console how much zeny you earned (be it from selling, trading, mobs, etc, as long as you "earned" zeny) [Skotlex] * Updated status_calc_pc to prevent infinite recursion loops. [Skotlex] * Applied End of Exam's suggested signedness fixes to npc.c [Skotlex] * Updated sting lib, to avoid SQL troubles [Lupus] * Fixed moonlit not properly checking for nearby walls. [Skotlex] * Added a recursion protection system to status_calc_pc which should avoid exploits derived from recursively calling status_calc_pc which certain equipment scripts could trigger. Thanks to End of Exam for pointing it out. [Skotlex] * Applied Celest's patch which should help compiling eA under mingwin. [Skotlex] 2005/11/16 * Fixed AFM map loading (something was missing there which was gonna make the map server crash for sure later on) [Skotlex] * Some corrections to the mob states, linked/cast-sensitive mobs engage in attach/chase modes, not angry/follow (which seem reserved entirely for aggressive mobs) [Skotlex] * Cleaned up and corrected target types MSS_AROUND->MSS_AROUND8, also added and documented them in mob_skill_db.txt [Skotlex] * Probably corrected whispers to GMs. Thanks to Slennox for pointing it out. [Skotlex] * Modified mob-skill states to use Aegis-based information. Modes are MSS_IDLE, MSS_WALK, MSS_LOOT, MSS_DEAD, MSS_BERSERK, MSS_ANGRY, MSS_RUSH and MSS_FOLLOW. Mob skill db is unaltered other than for the fact it now supports "angry" and "follow" states. [Skotlex] * Cleanup of how knockback routines are invoked. [Skotlex] * Added MOB_LAZYSKILLPERC to mob.c, determines probability of a mob doing a skill when there are no players nearby (but there has to be players in the same map for it to trigger). Currently set to 10/1000 chance. [Skotlex] * battle_check_target update. Rewrote the party/guild checks, this should hopefully fix any problems left with pvp/gvg and mapflags not working properly. [Skotlex] * Fixed playerattached() returning char id instead of account id. [Skotlex] * Added battle option party_even_share_bonus to enable use of Valaris's evn share experience bonus equation rather than the official one. [Skotlex] * Corrected @jump not displaying the actual coords you jumped to. Thanks to kitty74x9 for noticing (and fixing) it out. [Skotlex] 2005/11/15 * Fixed multi-hitting skills not increasing the "can-walk" delay accordingly. [Skotlex] * Modified way to updating hp/position of party members. [LuzZza] * Added battle config option "aura_lv", specifies which level characters have to be for the server to report their level as "max_lv" (which normally is used to enable the aura). See battle_athena.conf for more details. It may not work for your self, but only for other characters (this is, afterall, untested yet) [Skotlex] * Implemented High Jump (works 100%) and Fighting Chant (untested but should work). [DracoRPG] * Various cleanups and typo fixes here and there. [DracoRPG] * Corrected the upkeep SP cost of Moonlight Petals. [Skotlex] * Modified Magnum Break's fire bonus to be 20% ADDITIONAL fire damage of your total damage previous to the elemental modifier. [Skotlex] * Modified Fatal Blow's stun chance to kRO's equation (+5% stun chance per bash skill level over 5) [Skotlex] * Corrected Sharpshooting's damage equation to +50%*skill_lv [Skotlex] * Updated Magnum Break's bonus from 10% to 20% fire elemental. [Skotlex] * Updated Arrow Shower to be a ground based skill (untested yet) [Skotlex] * Pretty much rewrote how Moonlight Petals work, it should be working mostly right now. [Skotlex] * Splitted gat map information into gat and cell info. gat info is permanent map data (walls, ground, etc) while cell is temp map info (basilica, pneuma, etc). Modified Pneuma and Moonlight Petals to work based on map cells. [Skotlex] 2005/11/14 * New Visual Studio projects, compiling works, need zlib.dll for txt server. [Kevin] * Longing for Freedom can't be used during Moonlight Petals now. [Skotlex] * Corrected True Sight's critical bonus (from +0.1 cri per level to +1 cri per level) [Skotlex] * Made coma a status effect. SC_COMA. Sets HP/SP to 1. Bosses/Emperium are inmune to it. [Skotlex] * Fixed null pointer crash in battle_damage. [Skotlex] * Increased max account variables to 32. [Skotlex] * Pressure/Gloria Domini now isn't instant-cancelled by status effects, and bypasses the Devotion/Sacrifice check. [Skotlex] * Added handling of the /pk packet, even thought it just shows an empty listing for now. [Skotlex] * Applied zBuffer's suggested fix to prevent S. Novices from getting mental Strength at 100% exp. [Skotlex] * Fixed Friends List not able to add more than 20 friends (current clients support up to 40) [Lupus] thanks to CAHTEXNIK for pointing it out 8) 2005/11/12 * Probably fixed the name of freshly captured pet eggs. [Skotlex] * Changes Win32 to not require svnversion.h, but instead tries to peek in .svn\entries to check for svn version. If the file doesn't exist it'll display "Unknown" though, which I guess isn't a good thing ^^; [celest] * Removed the option to load zlib as a plugin for Win32 since it should be linked at compile time [celest] * Added zlib and libmysql .lib files for compiling in Visual Studio [celest] Note: The project files on SVN don't have them yet, you'll need to include them yourself for now * Fixed a compile error in Visual Studio [celest] * Readded a missing zlib file needed by Win32, sorry ^^; [celest] 2005/11/11 * New readme content/layout (IE warning: IE hates new readme) [Evera] * Imported use of the refine weapon packets from jA. [Skotlex] * Removed SC_MODE, now NPC_EMOTION and NPC_EMOTION_ON can change a mob's mode permanently (until their death, that is), and it won't work on player summoned mobs. As before, val1 is the emotion value, val2 is the mode to add/remove. Val3 is now ignored (used to be duration) [Skotlex] (no, no need to wipe SC data this time around either) * Cleaned up sql-files to use TYPE rather than ENGINE as TYPE is supported by older MySQL versions and not quite deprecated yet. [Skotlex] * Modified the party even share exp bonus to be +10% per extra party member as official sources state. [Skotlex] * Organized the clif_devotion packet, and added clif_marionette as per jA's implementation. [Skotlex] * Added db_path to map_athena.conf, used to specify an alternate directory to locate the db/ files. Defaults to "db", obviously. [Skotlex] * Removed SC_FALCON and SC_RIDING, the status icons are directly managed through the change of the character's option now. The actual defines were not removed to avoid shifting all the SC_ values again (no need to wipe sc data) [Skotlex] * Added additional debug information to battle_attr_fix until the cause of those errors are found and resolved. [Skotlex] * Fixed win32 compiles always reporting "unable to set socket to non-blocking mode", together with other minor win32 fixes. [Skotlex] 2005/11/10 * Fixed char-sql cart loading. [Skotlex] * Updated the function that specifies the cards to support more than four slots. [Skotlex] - Since the packets are fixed sized the client can never receive data of more than four cards, therefore if the client was compiled with MAX_SLOTS above 4, a random subset of cards will be sent each time the item data is sent (eg: if the item has 6 slots, it may randomly choose to send cards 1->4, 2->5, or 3->6). * Removed the OnAgitInit call when the map connects to char server. Fixes double guardian spawn. [Skotlex] * Fixed the sql query strings that would appear "incomplete" under certain *nix systems. [Skotlex] * Applied zBuffer's patches to correct memory leaks in the PCRE module (regular expression support for npcs) and prevent server crashing when scripts divide (or do mod %) by zero. [Skotlex 2005/11/09 * Fixed Ankle Snare and Spider Web not being cleared when the trapped target dies. [Skotlex] * Fixed the range flag being incorrectly set in BF_MISC skill attacks. [Skotlex] * Corrected Venom Knife using Level1 always for the poisoning chance rather than learned Envenom's level. [Skotlex] * Fixed the crash on shutdown if PCRE support was enabled. [Skotlex] * Fixed possible item duping while vending, thanks to End of Exam for pointing it out. [Skotlex] * Fixed the blue aura of Night effect. Thanks to zBuffer [Skotlex] * Fixed mobs moving one tile when hit even if they can't move (this is what broke Ankle Snare) [Skotlex] * Fixed night/day implementation (which broke due to the addition of SI_ constants). [Skotlex] * Cleaned up the SI_ constants to have defined only those which actually display something on the client. [Skotlex] * Fixed a bug which caused a captured pet's name to be displayed as beloved even though it was just captured. [Skotlex] * Added temp skill quests for all complete 2nd Class Quest Skills [Lupus] 2005/11/08 * Updated the documentation on the announce script commands. [Skotlex] * Removed the global color message support as there's now a way to craft custom colored announces. [Skotlex] * Probably fixed mapannounce. [Skotlex] * Implemented SI_ constants to specify the icon number for different SC_ changes, idea adopted from jAthena. All SC_ data was reorganized and several checks are now in place. It is likely all saved sc_data is wrong after this update due to the numbers changing places. It won't cause any glue-boots.. but the wrong status changes will be loaded the first time anyway, so it may be a good idea to wipe that file/table for this update. [Skotlex] * Added mob boss inmunity to status changes: poison, curse, deadly poison. [Skotlex] * Now when the mob starts casting a skill and stops walking, a packet will be sent to update the mob position on the clients. [Skotlex] * Fixed a bug in mob_stop_walking which may fix stun-lock. [Skotlex] * Fixed not showing named/carded items in Vending [Lupus] (when you drag'n'drop them from your cart into your shop list) 2005/11/07 * Expanded script commands announce/mapannounce/mapareaannounce to take an additional parameter to define the color. This uses the new packet 0x1c3 to send the broadcast, and even though the packet is not fully understood yet, it should be at the point where it can be used. [Skotlex] - eg: "announce "hello world", bc_map, 0xFFFF00;" * Cleaned up and optimized the way card data is set in packets. Should correct most, if not all, pet-egg related issues. [Skotlex] * Removed combo_damage_delay and added damage_walk_delay_rate. Now the total delay during which you can't move is a percent of the normal damage delay rate adjusted by number of hits and this rate. Defaults to 50% for now. [Skotlex] * Removed the random damage delay value from status_get_dmotion as it is not really helping the walk-stun-lock. [Skotlex] * Made Gravitation ignore target's cards. [Skotlex] * Updated readme with new layout [Evera] * Updated bAddMonsterDropItem bonuses to work with cards: Mimic Card, Mystcase Card where bonus_item_rate = base_rate * (killed_mob_level/10) + 1 So if 2nd argument is negative, then it's 'rate' Now, if you kill Porings, u'd have OBB/GIFT BOX drops with 0.01% chance and if u kill Leaf Cats then u'd have them with 0.05% chance Max chance is 0.1% (when u kill MVPs with level > 94) [Lupus] 2005/11/06 * Cleaned up a bit the warp portal code. [Skotlex] * Added a timer to invoke the OnAgitInit event 10 seconds after the char/map servers are connected. Scripts should now carefully use OnInit to load the castle data, and OnAgitInit to check for castle owners, mobs, WoE, etc. [Skotlex] * Reverted the damage delay equation to 800 -4*agi, which is the correct data from packets examined. [Skotlex] * Slow motion Fix: Reverted weight packet, thanks to Momoko [Lupus] 2005/11/05 * Fixes on sending to client status of char (guild, position, etc). [LuzZza] * Updated backsliding to work as it should. [Skotlex] * Added back the GPL licence on the root directory (why was this removed?) [Skotlex] * Fixed knock-back packets, thanks to Vicious for collecting the packet samples. [Skotlex] * Fixed pretty much all ground skills not working when you "walked into them" (they were fine if casted on top of you, though) [Skotlex] * Fixed not working ZENY LOG. You can use logging filter as well. [Lupus] - Only SQL logs available. - Logs only Vending, Trade, Shops yet - Don't forget to update your logs SQL DB and log_athena.conf * Added previously removed (by an accident) "MVP Prize item log" into pick_log [Lupus] 2005/11/04 * Added support for new quest skills to @allskills/@skillall. Thanks again to blackhole89 for pointing that out! [Kayla] * Fixed various occurencies of assuming Guild Skills being >= ID 10000 rather than 500