summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-11-23- Made WFIFOHEAD() check for available buffer size remaining on the ↵skotlex14-27/+86
connection, and when there's not enough space, it will increase it. - Added define TURBO to the Makefile. It enables MouseJstr's socket access optimization which should speed up the code when accessing the write/read buffers repeatedly within a function. - Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used incorrectly (prevents TURBO enabled compilations from finishing) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-23* Official skills for remaining Thanatos mobsPlaytester2-150/+76
- this completes the X.3 and X.4 mob skill updates - removed various skills from G_mobs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-22- Modified slaves_inherit_speed and slaves_inherit_mode so you get better ↵skotlex9-33/+64
control of when to copy/remove modes/speed. - Reenabled usage of mode MD_CHANGETARGET, so mobs with mode 0x200 will be able to switch targets while attacking. - Simplified some more the chase-changetarget function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-22- Recoded @send so that it uses clif.c instead of doing all the WFIFO stuff ↵skotlex5-390/+285
itself. - Cleaned up a bunch of very uglily coded atcommands which used the rather pointless charid2sessionid and accountid2sessionid functions. - Some miscellanous cleanups around usage of the session[] variable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-22- Fixed the homunc hungry timer being started when the homun data is ↵skotlex2-2/+4
received from the char-server and the homunc is NOT 'active'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-22- Fixed the Auto-Berserk giving you back defense when it triggers during ↵skotlex3-10/+25
berserk's HP penalty. - Some small changes in the pet ai to make it more responsive. - Rewrote the pet looting behaviour (taken from the mob's), pets are much more smarter now when looting from multiple possible items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-22- Fixed pets/homunc trying to be deleted twice when they had 0 intimacy and ↵skotlex2-4/+8
their master logs out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21- Various GS skill requirement corrections:skotlex4-9/+18
- All coin related skills can be used with any weapon. Those that require ammo can be used with any ammo. - Added support for specifying ammo type = 99 in the skill_require_db file, it can be used to specify that any kind of ammo can be used with the skill, but you NEED to have ammo equipped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21* Fixed all cast times and delays of Gunslinger skillsPlaytester4-21/+22
- cast time of Dust is reduced by dex - Tracking cast time cannot be reduced by anything - Increase Accuracy requires 4 coins instead of 2 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21- Corrected GS_DISARM, it is now a normal attack, which, when it connects, ↵skotlex6-23/+57
has a chance to do strip weapon ar a 3*lv% rate (modified by dex) - Fixed GS_PIERCINGSHOT, it should ignore defense - Corrected Gatling Fever costing SP when trying to turn it off. Also, speed increases bonuses won't take effect while it's active. - Updated the main makefile with a new OPT line. It is commented by default since it only works with GCC 4.X, when unset, it will hide away a huge amount of warnings that have to do with stuff that is not gonna be corrected in eA anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21- Corrected TripleAction's damage. It should do 150%*3 instead of 100*3% damage.skotlex6-6/+22
- Updated GS_CRACKER's stun chance using Doddler's info as reference. - GS_FLING won't reduce armor defense when used on players. - Added constant MAX_STEAL_DROP to determine up to which slot you can steal. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21* Updated healing values of Ketupat and Red Thorn FruitPlaytester4-6/+10
* Less G_mobs spawning in Odin Temple git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21- Moved ignoreAll to state.ignoreAll so it saves some space.skotlex4-225/+246
- Cleaned up clif_parse_Wis to prevent crashes from forged packets (using a strlen() on a string where you don't know if it's null-terminated is a NO-NO) - Cleaned up the implementation of the ignore list so it's more efficient. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21Fixed typo in Ninja questsLupus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21Updated Skill Resetter Event, thanks to $ephirothLupus2-2/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20Fixed Sage guestLupus2-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20* Official skill for Ancient Mimic, Death Word and AngelsPlaytester3-49/+54
- also made NPC_DEFENDER self targeted - Shelter now has angry mode git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- The max level of NPC_SPLASHATTACK is now 1.skotlex10-70/+127
- Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80% - Improved the battle config reader so it accepts hexadecimal values. Updated the monster_ai description to make use of this. - Added monster_ai&0x200. When set, mob skill delays are shared. That is, if the mob has several lines with the same skill, when the skill is used, the delay will be set to all of them, not just the one entry used. - Cleaned mob.c to use hex values when refering mob_ai - Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef) - Weapon ATK bonuses will now only apply to watk and NOT watk2 on players (on players watk2 is refine bonus) - Corrected NPC_KEEPING. it should give 90 def, not 100 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- You now can't use other skills while a skill-induced "window" is up ↵skotlex4-1/+12
(teleport, refining, etc). However, be warned that we aren't quite sure how the server will clear this out if you decide to hit cancel on the window, so skill-blockage is likely to happen (temporary solution: whenever you change maps or warp the state is reset server-side). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- Fixed itemskill variable being cleared before parsing the skill, this ↵skotlex6-30/+51
causes auto-casted teleport to fail to skip the skill menu. It is now cleared on castend_pos/id directly. - The item skill/lv variables now use 0 as default to signal they aren't being used (instead of -1) - Skills with state 'move_enable' will now do a "walk path" check between target cell/object and caster instead of a "shoot path" check, this would fix skills like snap or charge from letting you "teleport" across pits. - Fixed a possible double map_addblock when hatching a pet egg right before going through a warp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20Flywing and Butterfly Wing will now use the teleport skillPlaytester2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20Fixed exploit in Shinokas QuestLupus2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20Official skills for Breeze and PlasmaPlaytester2-39/+37
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20* Official X.4 skills thanks to TharisPlaytester2-156/+177
- also set MVP skills to MVP skill level git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- Raised the amount of skills that can stack on a single cell before the ↵skotlex4-9/+22
"in-area/out-area" detection code breaks to 24 (from 8) - Fixed a crash in clif_SkillInfoBlock if the passed player already disconnected. - Added limiting drop rate to 100% from item-bonuses that depend on the mob's level so that "@autoloot 100" will catch them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9269 ↵Lance1-4/+4
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- atcommand and charcommand backwards compatibilityLance1-4/+26
modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- Removed security check since source level patch is applied. Reverted ↵Lance28-937/+822
select(), created prompt(). modified Changelog-Trunk.txt modified npc/airports/airships.txt modified npc/cities/amatsu.txt modified npc/cities/gonryun.txt modified npc/cities/hugel.txt modified npc/cities/lighthalzen.txt modified npc/cities/niflheim.txt modified npc/cities/valkyrie.txt modified npc/custom/eAAC_Scripts/disguiser.txt modified npc/custom/eAAC_Scripts/quest_warper.txt modified npc/custom/jobs/jobmaster.txt modified npc/events/idul_fitri.txt modified npc/jobs/1-1e/gunslinger.txt modified npc/jobs/1-1e/ninja.txt modified npc/jobs/novice/novice.txt modified npc/merchants/kunai_maker.txt modified npc/merchants/novice_exchange.txt modified npc/merchants/refine.txt modified npc/other/comodo_gambling.txt modified npc/other/dts_warper.txt modified npc/other/marriage.txt modified npc/other/powernpc.txt modified npc/quests/Lvl4_weapon_quest.txt modified npc/quests/gunslinger_quests.txt modified npc/quests/quests_ein.txt modified npc/quests/quests_umbala.txt modified npc/sample/monster_controller.cpp modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20- Removed grfio include from core.c as it's totally unneededskotlex1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19Small fix for Lance's security patchesLupus2-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19* Official skills for Abyss Lake mobsPlaytester3-61/+74
- G_Acidus, G_Ferus and Green Iguana don't have skills - someone should test if all skills are working - Green Iguana is now a looter git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19* Hack protection from packet monkeys in clif_parse_NpcSelectMenu. Lance4-5/+23
modified Changelog-Trunk.txt modified src/map/clif.c modified src/map/map.h modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19Applied security patches. PLEASE CHECK THEM ALL.Lance10-760/+871
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give ↵Lance16-12/+63
me a hand or something? :B git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19* Added 'cancel' button parsing in buildin_select menu system. Now scripts ↵Lance3-13/+19
will continue to load if 'cancel' is pressed and 255 will be returned. modified Changelog-Trunk.txt modified notice.txt modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18* Official skills for Bacsojin and Orc BabyPlaytester2-11/+19
- yes Bacsojin's skills are interuptable despite MVP status git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18Updated X.1 mob statsPlaytester2-13/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18* Official skills for Detale and ThanatosPlaytester2-32/+51
- pm me if you want to help converting the mob skills git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18Calculation error in clif_parse_Wis.Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18Typo :PLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17- Corrected use of the party invitation reply packet, thanks to FlavioJS.skotlex6-12/+22
- Removed requirement of "Changelog-Trunk" in the common/Makefile, why was it even there?? - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17Updated remaining X.2 mob statsPlaytester2-33/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17* Fixed potential hack by modifying packet of whispers.Lance2-2/+14
modified Changelog-Trunk.txt modified src/map/clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17Updated Bio Lab and Juperos mob statsPlaytester2-23/+24
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17Enhanced implementation to use Skot's Christmas Present: KARMA. :DLance1-4/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17* Fixed potential crash in IRC processing message with '%' using *printf.Lance4-18/+22
* Fixed memory leaking caused by homun_data not freed when removed. * Minor adjustments to sign/unsign in script commands. modified Changelog-Trunk.txt modified src/map/irc.c modified src/map/script.c modified src/map/unit.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17- Fixed client not validating the chat-kick-request packet, which can cause ↵skotlex2-0/+4
crashes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17Fixed some sprite mob namesPlaytester2-17/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17- Updated map_quit to handle removing of players who are not even ↵skotlex4-9/+21
authenticated yet. - New connection requests are now also blocked when there's a player already online but hasn't finished loading yet. - Because of these changes, the friendlist notification when people join has been moved to LoadEndAck from pc_authok git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17Check and remove MD_CHANGECHASE flag to prevent guardians from getting berserk.Lance1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9240 54d463be-8e91-2dee-dedb-b68131a5f0ec