summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-26- Added a wrapper to delete_timer so it prints out from where the invocation ↵skotlex7-8/+15
was done. - Fixed some unsigned warnings. - Fixed Splash attacks consuming 2 ammo on each attack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26- Removed log_uptime that was accidentally introduced in r1208ultramage2-3/+4
- Added some more freedom for the txt log paths since 32 wasn't enough git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26More typo fixesultramage26-117/+118
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26- Fixed a monster spawn typo in hu_fild05 and lou_fild01ultramage4-2/+11
- Added a missing dialogue branch in novice.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24Fixed a typo in skill_cast_db.txt making the server skip NJ_KUNAIultramage2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24- Made the pc_deleteinvincibletimer function a define so it auto-checks for ↵skotlex4-29/+16
the timer value. - Fixed a missing tab in the skill require info of TWILIGHT3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24Fixed one missing 'On' in prtg_managers.txtultramage2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24- Improved a bit the menu entries counting code (using a while with strchr ↵skotlex1-21/+23
should yield better performance that a for done on the string's strlen, right? However, it bugs me that strchr's man-page says it won't work on multi-byte characters. But does a strchr(str,':') works any worse than (str[i]== ':')? git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24- Also fixed the battle config setting guild castle defense :xskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24- Cleaned up some more the Joint Beat implementation, so the status don't ↵skotlex4-24/+25
take effect until the attack connects. - Some minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23Fixed int/dex foods using an incorrect icon for their statusultramage2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23- Cleaned the initializing for in the hom viewdata to make it overflow-proof.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23- Changed the night status from 149 to 160, which seems to work so much ↵skotlex3-4/+18
better, and also enabled simplifying the night code. The previous code was there left commented in case it's needed again. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23- A skill's walk delay will also delay your can-attack time when the skill ↵skotlex3-0/+13
connects, since this is the behaviour of Sonic Blows as described by Tharis. - Added missing declaration of merc_get_hom_viewdata in mercenary.h git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23- Added view_data support to mercenary.*, so that the Homunculus entries are ↵skotlex10-40/+43
no longer required on the mob_db. - Removed homunculus entries from mob_db. - Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods - Corrected the check that lets you walk when vending/chatting/etc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23- Moved the homunculus setting from pet.conf to homunc.confskotlex6-17/+18
- Fixed homuncs not triggering land spells if they are spawned on top of them and hom_setting&0x2 is not set to make them bypass them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-22- Removed sd->max_menu, sd->npc_menu is now reused to store what is the max ↵skotlex3-5/+5
number of valid entries and prevent clients from picking invalid options. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-22- Reverted the battle_calc_return_damage code as the previous one was ↵skotlex4-7/+9
correct, ninja self-targetted skills CAN be reflected. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21Typo huntultramage55-160/+160
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21Synchronization of the trunk&stable npc directoriesultramage8-82/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21fixed equip loc of "Father's" event itemsLupus2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21- Fixed while statements not "reserving" the curly before parsing the test ↵FlavioJS3-2/+8
expression. Ref: http://www.eathena.ws/board/index.php?showtopic=134596 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-20* Fixed the server not reacting properly to atcommands/charcommands when ↵ultramage3-33/+29
using langtype 10/11 (the |XY codepage indicator wasn't being trimmed) * Fixed some joker's code trying to dereference a null pointer in atcommand_param git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-20- Updated merc_reset_stats to handle resetting skill tree and points as well.skotlex3-1/+11
- Updated @homshuffle so that the skill tree and current skill points are not messed up. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19- Fixed the label dup code, it now works correctly with const.txt switch labels.skotlex2-37/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19- Reverted the dup-label check code since it has a bug that needs to be ↵skotlex6-31/+44
fixed first (it fails to recognize const.txt values) - Reverted clif_skill_damage receiving the blewcount value since the whole code update that was involved didn't help any anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19Fixed a client crash during SQL char selection if you for some reason had ↵ultramage2-1/+4
more than 9 characters in your account git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19- Merged Rayce's cleanups of the script engine that account for duplicate ↵skotlex4-70/+105
labels, non-numeric labels and makes the engine case-insensitive towards keywords like if/case/switch/etc/ - Added the icons for the Food boosts (need packet version 8 to get them). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Updated @homshuffle to preserve current hom's exp.skotlex1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Modified the Storm Gust freeze counter code. It now takes into ↵skotlex8-9/+100
consideration the ID of the skill before increasing the counter, which should effectively yield the closest aproximation to official (even though the counter will reset if you step out of a SG and into another one, we do not know yet what should happen in such a case). - Added @homshuffle. It recalculates the homunculus stats, as if the homunc was sent back to level 1, and then releveled. This command is mean to help fix those previously created Homunculus that are much stronger than they should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Fixed overflow on the mob delay adjustment setting.skotlex3-7/+15
- Fixed characters being unable to trade again if you attempt a trade on someone who is on storage/npc when you accept the trade. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18Fixed a crash when a castle from [0..MAX-1] wasn't in the dbultramage2-12/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18Fixed Ulle's Cap + Odin's Blessing ComboLupus2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-17- Corrected atcommand @homstats so it shows the correct minimum/maximum ↵skotlex4-104/+119
possible values. - Simplified the hom level up function, now decimal stats are no longer stored. This should correct eA's homunculus on average being much stronger than Aegis's. - Modified the homun db read code so it forces the "max" value to be higher than the "min". - Cleaned up pc_allskillup, @allskills should work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Added atcommand @homstats so you can check your homunculus stats and ↵skotlex4-3/+71
compare them to the minimum/maximum values that you could have at your current level. This command is meant to help figure out if homuncs are indeed getting a faster stat growth than they should have. - Fixed some of the default @ levels for hom related commands. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Fixed the next invoked skill after AbraCadabra not having requirements ↵skotlex4-6/+20
even when it is a different skill than the one chosen by AbraCadabra. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Implemented Intravision as it should be. Thanks to HelloKitty2 for the ↵skotlex4-57/+11
captured packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Added function unit_escape to simplify the run-away code a bit in the mob ai.skotlex4-14/+29
- Some cleaning on the mob_ai to enable mobs to run away from their current target when they are rude-attacked by them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- The NPC elemental attacks will display a skill animation again.skotlex5-35/+47
- Mob instant cast skills will use their adelay now. - Spirit of Wizard won't work on Ganbantein - The pc normalize job function will consider you as novice if you don't have maxed out basic skill. - Cleaned up pc_calc_skilltree and related functions so that the id is left as 0 when you can't raise the skill even if you meet the prerequisites. This is to prevent raising quest/soul/marriage skills through packets. - Slaves should lock unto their master's target even if they are not attacking yet (eg: in chase mode) - Updated the Summon Slave skill to use the slave distance define as valid distance to spawn from master. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- Fixed Joint Beat's speed penalty.skotlex6-13/+29
- Added a pc_authok check to prevent the case in which somehow another character of the same account manages to log in as well. - The pc normalize job function will now recognize you as a novice if you don't have NV_BASIC maxed. - Accessories will now by default go into the rigth-side rather than the left-side of the equip window. - Added a check in the mob_ai_subhard function to make mobs unlock targets which have their invincible timer set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- Probably fixed the registration flood protection code being broken.skotlex6-14/+22
- Readded a commented piece of code that's meant to prevent @warp from printing "invalid target cell!" messages on the console. - Joint Break should only re-start the bleeding timer when it currently IS the one that causes bleeding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Talking about copy-paste... t_t (missing closing curly brace)ultramage1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12yup, i need to rest... (also, copy-paste is eeeevil)FlavioJS2-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12 upsFlavioJS1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12- Cleaned up the ip rules/DDoS section of the code. (the allow,deny and ↵FlavioJS5-191/+232
deny,allow cases were switched) - Updated the information about ip rules and DDoS protection in packet_athena.conf and commented out the line "allow: all" so connections are rejected when a DDoS is detected. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Fixed exploits in Valentine Event ScriptsKarLaeda3-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Disambiguationultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12- Fixed autotrading characters not being able to reconnect. Seams like I ↵FlavioJS2-1/+5
misunderstood how id_db and pc_db are used. Ref: http://www.eathena.ws/board/index.php?showtopic=131873 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-11Update to the new locations, adds more warps (thor_camp)ultramage3-9/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-11- Fixed the script engine not parsing strings in multibyte charsets ↵FlavioJS2-3/+5
correctly (should have been done in r9532). Ref: http://www.eathena.ws/board/index.php?showtopic=132004 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9642 54d463be-8e91-2dee-dedb-b68131a5f0ec