summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-07-28- Fixed a missing initialization in run_script_main.skotlex1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28- Added missing include of limits.h in script.cskotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28- Added missing SC information to NPC_CHANGEUNDEADskotlex2-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7931 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28Hellion Revenant is now dark element so he can heal himselfPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Added config setting party_update_interval so you can specify how often ↵skotlex7-109/+91
the party-mate minidots should be updated (defaults to 1 sec). - Removed a bunch of broken comments in skill.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Fixed Teddy Bear cardPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Hopefully fixed Solace cardPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Synced the script.c file with as much data as possible from jA's:skotlex6-2123/+2175
- A lot of functions were moved around, a bunch of indentation and space-usage changes were done to make it easier to diff against their files. - Miscellanous addition and corrections were applied. - Largest one is likely a restructuring of run_script_main, which hopes to solve the memory leaks. - script engine now uses the setjmp functions to restore memory state when there's an error parsing scripts, which means that script errors won't cause the map-server to inmediately bail out anymore. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Changed npc_click declaration to receive an npc structure rather than a ↵skotlex4-19/+11
generic block-list one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Corrected Combat Knife reducing damage from DemiHumans by 10% instead of ↵skotlex3-2/+4
increasing damage against them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Added a cleanup routine on shutdown to remove all characters from memory ↵skotlex2-1/+18
for whom the save ack has not returned from the char-server yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Now when you set the guardian's HP, if the guardian is spawned, it's HP ↵skotlex5-8/+67
will be updated accordingly (and if you set it to 0, the guardian is killed) - Added functions status_set_hp/status_set_sp to set hp/sp to a given value. Applied usage of these on the Berserk and Soul Change code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Some cleaning in status.c. Removed some unnecessary lines, and added ↵skotlex1-62/+20
proper lower caps to some status_calc_* functions (flee/hit/flee2/cri) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Added config setting "party_hp_mode" (battle/party.conf) which determines ↵skotlex6-1/+16
method to use to update party-mate hp bars. Aegis style is to update HP bars whenever HP changes, while eAthena style is to update it together with the map party dots. Defaults to aegis style. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Fixed packet 0x22a having the manner and opt3 packets in inverted offsets.skotlex4-9/+17
- Some other small cleanups on clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Readded the check which prevents Cloaking from activating when your ↵skotlex3-4/+17
learned level is less than 3 and you aren't next to a wall. - Some cleanups to the Frenzy/Berserk status change, it should probably work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Removed a redeclared variable i in the parsing of the fame list (char-txt ↵skotlex3-2/+3
server) which seems to be the cause of the random memory corruptions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Fixed Independence Memorial Hat weight, set to 0toms4-2/+5
Updated item_db.sql to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27* Fix homunc & code cleanup [Toms] toms7-75/+114
- Timer problems on delete_timer - Intimacy problem (overflow & new values) - Homunc deleted if intimacy < 0 - base exp is now given to master - Homunc sometimes not saved git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Fixed the Morroc ingredient seller to not appearPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Another Sunkenship spawn fix.Playtester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27Fixed some spawns and a warp in Sunken ShipPlaytester3-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Fixed a memory leak when reading the item_db txt.skotlex2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27- Applied the necessary changes to make @partyoption reflect it's changes on ↵skotlex7-22/+23
the alt+p window. - Some code indentation cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Some code cleanup of HLIF_MOON in regards to the number of hits and damage ↵skotlex3-4/+3
equation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Modified party_item_share_type config setting so that using 1 disables ↵skotlex7-8/+17
item-sharing from non-mob loot (player dropped items or pet loot) and 2 enables round-robin instead of random sharing. Using 3 obviously is enabling both 1 and 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Added battle_get_master which returns the master bl of a given object.skotlex2-114/+133
- Recoded battle_check_target to use battle_get_master, the src/target switch has been split into two, so that actual target and master target are seperately treated (same for source). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Added support for "sc_end -1" which will clear all status changes. Added ↵skotlex3-1/+8
the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- @pettalk will now fail when muted.skotlex2-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Enabled changing of equipment while stunned/asleep/petrified/etcskotlex3-5/+7
- Cleaned up a bit the skill_castend_id dead checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26* Fixed the Factory QuestPlaytester2-1/+6
- two NPCs in one line won't work! >_> git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26Added very first part of Bio Ethics Quest.evera2-2/+186
Very far from complete. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Cleaned up run_script_main to properly free previous stack-data when ↵skotlex2-33/+32
running scripts. Note that scripts may still leak memory when run by non-players and they don't reach the "END" state, however I am not sure how this case should be handled, so it's left as it is for now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Added rudeattacked teleport to Rachel MVPsPlaytester2-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Added a missing ntohl call in the loginlog code.skotlex2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Added a check when buying from npcs to allow buying of item_avail items.skotlex2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Small fixes for the sign quest.MasterOfMuppets2-46/+56
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Fixed duel accept invite sending the packet before the duel data is set ↵skotlex2-4/+7
(resulting in a packet that noone receives). Thanks to Toms for finding it out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Fixed a possible crash when you dual-wield and the total damage is 0.skotlex2-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/), ↵skotlex5-120/+388
they convert the txt databases into sql. - Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql - Updated the sql files since now it's easy :D git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Added some NPC_Emotions for the Rachel mobsPlaytester2-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Fixed Grandcross not being self-targeted for mobsPlaytester2-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Something weird happened to the exp2.txt some months ago and I finally ↵Playtester1-4/+4
reverted it ^^; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Final cooking drop rate adjustmentPlaytester2-24/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Fixed a bug in the item_db thanks to TomsPlaytester2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25* Updated Thanatos Tower spawnsPlaytester2-75/+78
- they are official up to Floor 6 now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Fixed G_Kraben and G_Biolab3 mobsPlaytester2-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25Item updates by HaploPlaytester2-3/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Re-updated the mob_db.sql to latest.skotlex2-58/+64
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Cleaned up the skill_landprotector function to correctly block only magic ↵skotlex3-13/+36
skills from being placed on land protectors. - Corrected itemdb_group so that it will not return the random item givers (should give priority to actual item groups, so that the item heal bonuses work correctly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7867 54d463be-8e91-2dee-dedb-b68131a5f0ec