summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-29- Added "do_abort" function to the core. It is invoked when the server has ↵skotlex14-13/+97
received a Segmentation Fault or Floating Point Exception signal. Currently the only one that uses it is the map-server, which then attempts to save all online characters before aborting. - Note that due to the current coding of the sig plugin, do_abort will not be invoked if you use it! This plugin needs to be updated... - Cleaned up a bit the change element code. val1 is the elemental level, val2 is the element now. - Hardcoded the element and elemental level of SC_CHANGEUNDEAD. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-29Continued script.c cleanuptoms2-122/+126
Added defines script_pushstr and script_pushconststr to have the same syntax as integers Added defines script_getref, data_islabel, data_isfunclabel to increase code readability git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-29git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10087 ↵FlavioJS1-0/+2
54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-28- Added defines script_getnum and script_getstr to further simplify variable ↵skotlex6-679/+663
reading code. - Applied mass replacing of text to enforce usage of script_hasdata, script_getnum, script_getstr and data_isstring defines where possible. - Cleaned up the 'input' command code. - Minor other cleanups in script.c - Removed OPTION_SIGHTTRASHER as there's no indication this value exists. - Corrected OPTION_XMAS since 2007 clients have split it up from OPTION_FLYING (on previous clients both were the same option value) - Removed GRF_PATH_FILENAME references (it wasn't used anymore) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-28- Corrected statp array not being long enough to actually hold the status ↵skotlex2-4/+16
points of ALL levels up to and including MAX_LEVEL. Fixes reaching final level and resetting giving you an unpredictable amount of status points. - pc_resetstate will now fail if you use the stat point table and your char has a level above MAX_LEVEL. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27- Changed a bit the Moonlit code to prevent an infinite loopskotlex4-7/+9
- Changed clif_skillcasting definition to take as argument the element of the skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27- Moved coma to skill_additional_effect, added special_state.bonus_coma to ↵skotlex11-64/+80
prevent doing comma calculations for every player attack. - Added config "vending_tax" to apply a tax to all vending requests, as it was in kRO Sakray some time ago (requested by Playtester) (items.conf). - Some cleaning of skill_additional_effect - Moved the starting of SC_DANCING from skill_initunitgroup to skill_unitsetting - Moved the checks for player_skill_partner_check and (gm_skilluncond for it) to skill_check_pc_partner - Negative aspd rate bonuses will be handled as aspd add rate since the default non-stackable bonus is useless on penalty bonuses. - Added check to prevent the client from using passive skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27Updated sql-filesPlaytester2-25/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27* Added Akagi to Ninja Job questPlaytester2-1/+51
- he teleports job level 10 novices to amatsu for free git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27My attempt at fixing the zealotus mask npc, now correctly requires a whipultramage2-11/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27- Removed a missing file reference in the athena-start scriptultramage12-15/+17
- Fixed a #error "<malloc.h> has been replaced by <stdlib.h>" problem - Fixed the msg_silent setting not being announced every time git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26- Fixed # commands not being blocked when muted if the mute config settings ↵skotlex3-16/+23
say you should be. - Moved skill db reading before loading mobs so that the new mob condition checks work. - Cleaned up the warning/errors of the mob skill reading function. They are now warnings if the skill is read anyway (default conditions are used) and an error when the skill is not loaded. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26- Cleaned up some the mob skill use code. The skill re-use delay is set at ↵skotlex5-105/+108
the time the skill is used rather than when it finishes casting. The invalid target check was also moved to the mob skill db reading function. - Skills can be used now when the autoskill menu is open (since there's no packet sent by the client when you hit on cancel) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26Added some svn:ignore propertiestoms1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26Solved console plugins compilation errortoms2-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26- Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB. ↵ultramage3-8/+5
(high-rate servers will have to change this) - Corrected SC_COMA's success chance (X.4 says it's unconditional 100%) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26Changed the vs8 used crt library to static linkingultramage8-14/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-25- Coma now reduces SP to 0 (with the exception of Dark Blessing)skotlex3-3/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-25Corrected warning on login.sqltoms2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24- Corrected offset for the pet hairstyle in the spawn packet (0x7c). I still ↵skotlex1-7/+7
can't figure out where the pet-equip offset should go, it appears this packet does not supports it. - Moved the location of the clif_insight call in LoadEndAck to prevent the homunc/pet spawn packets from being sent twice to the owner. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24Updated the visual studio 7 & 8 project filesultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24minor vcproj7 sortingultramage1-14/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24Corrected change r10051 which prevented Ice Pick from workingultramage3-9/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23- Made waiting_disconnect on the char server be an int to hold the timer ID ↵skotlex4-26/+55
of the timeout timer. It is now deleted when a player is successfully set offline/online. - Corrected @unjail having the GM level check backwards. - chrif_authok will now reject to store the newly received status data when the player it was received from is still online, should prevent losing data in certain situations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23Removed the npc_chat complication I committed yesterdayultramage2-12/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23Fixed some item names thanks to ArgatlahmPlaytester2-8/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23* Temporary resolved npc_chat.c macro issue. Please revise where to put the ↵Lance2-0/+5
macros. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22Removed charsave from projects (used old data for the previous commit, sorry)ultramage4-28/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22Major reconfiguration of the vs7 project files (+vs8 while I was at it)ultramage15-538/+787
- added definitions _DEBUG and NDEBUG to tune system-specific stuff - reduced the build requirements (Pentium 4 was a bit too much) - changed build settings and project structure to match the vs8 projects - corrected some vs8 inconsistencies git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22Some generic typo fixes (src and npc)ultramage18-32/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22- Removed unused bIgnoreDefMob skotlex6-34/+26
- Removed unneeded sd variables cart_max_weight and cart_max_num - Made ignore_mdef_ele/ignore_mdef_race/ignore_def_ele/ignore_def_race unsigned chars rather than ints. - Made pc_dropitem check for inventory_data, to guarantee that the item will be deleted from the inventory after dropping it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22- Twilight Pharmacy's cast time is no longer reducable by dex.skotlex7-38/+23
- All weapon enchant levels now last 3 minutes. - Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than 100% - Food boosts are now dispelled on death only. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22Added 11.2 weaponsPlaytester2-1/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22reformatted the sign quest for future optimizationLupus2-6132/+5962
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21- Corrected setitemscript so it actually changes the script as requested ↵skotlex4-79/+85
instead of causing dangling pointers. - Cleaned up unitattack - Made packet_ver_flag's description use hexadecimal values for the packet versions, and changed the default to 0xFFFF. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21- Cleaned up some the code of pc_equipitem and clif_parse_EquipItemskotlex2-36/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21- Added define MAX_CHARS so you can easily mod the server to support a ↵skotlex6-70/+78
different amount of characters per account (however, there is still the issue of hexing the client to support this change) - Updated msg_athena.conf so it no longer uses broken english on several entries. Thanks to Scerez for the updated file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21optimized novice grounds. optimized 1 cardLupus4-29/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20- Increased Improve Concentration's hide-revealing range to 3 (7x7)skotlex4-8/+8
- Cleaned up a bit the Ankle Snare status code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20- Added Magic Rod's "action" pose when using it.skotlex2-2/+3
- Corrected a pluralization typo in item_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20Fixed RSX 0806 and General Ygnizem cardPlaytester2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20- getpetinfo 5 will now return the pet's rename flag.skotlex5-3/+18
- Autoloot will now only work on items dropped a certain distance from the player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and defaults to AREA_SIZE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20- Removed Magic Rod's cast bar.skotlex8-10/+11
- Corrected warning on login sql. - Gravitation no longer causes damage flinch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20Modified swap #define to avoid 'value computed is not used' warningtoms1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20Added npc/sample/npc_live_dialogues.txt how to use Global_Functions.txtLupus3-22/+56
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19Increased MAX_STATUCHANGE to 300 so we won't get the same error over and ↵DracoRPG3-7/+12
over next time we add an SC... Reverted the map index reading for the map-server to the old system (from map_list.txt and not map_cache.dat) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19- Patched the MAX_STATUSCHANGE startup errorultramage5-30/+5
- Fixed a compiler warning - Really removed duplicate Noyee npc git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19- Removed the last argument from skillitem, the skill name passed to the ↵skotlex21-136/+199
client should always be of the type "AL_HEAL" anyway. - Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should use. - Corrected itemskill calls in the item_db, also made the weapon enchanting items invoke the ITEM_ENCHANTARMS skill. Corrected Holy Egg not being type 11 (delay consume) - Updated item_db.sql with item_db information. - Added support for specifying different elements per skill level in the skill_db - Added bonus bNoKnockback - Corrected typo in bonus bSubRace2 (it was called bSPSubRace2 for some reason) - Corrected login sql server not resetting your account state to 0 when the banuntil duration expires. - Corrected use of UINT_MAX instead of INT_MAX in some jailing check. - Made the skillatk bonus it's own function, it can now be used to boost Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well. - Cleaned up TK_WARMWIND to use the element acquired from the skill_db rather than hardcoded values. - Corrected Teleport's save map entry being sent without the .gat extension. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19* Updated new cards [Playtester]Playtester2-17/+21
- they can all be used now, however some bonuses are still incomplete - also fixed Byeollungum, The Sign and Turtle General Card git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19- Corrected Warp Portal not sending the map names with the .gat extension.skotlex2-7/+19
- Probably corrected Disarm's strip animation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10029 54d463be-8e91-2dee-dedb-b68131a5f0ec