summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-02-16- Updated the login/char sql servers to let the sql tables autogenerate the ↵skotlex14-357/+135
new id, and then retrieve said id using mysql_insert_id rather than playing smart and loading the next insert ID on startup. - Tables affected are: account creation, char creation, party creation, pet creation and guild creation. - Also corrected some functions to be of type (void) rather than () git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16- Cleaned up function pc_useitem and pc_isUseitemskotlex2-82/+98
- Moved a bunch of code from pc_useitem to pc_isUseitem. - Removed the skill heal block on pc_itemheal due to Gospel. - Cleaned up the pc_heal and pc_itemheal functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16fixed jawaii scriptLupus3-5/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16- Fixed crash in chrif_load_scdata warning message.skotlex2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16- Fixed pets displaying "strangely" when they did not have their pet armorskotlex3-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Added battle config option pk_level_range for specifying valid level ↵skotlex6-12/+37
ranges to engage in PK - Added battle config allow_es_magic_player to enable SL_S* skills to work on non-mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Fixed the char servers to store correctly exp as uints. They are also ↵skotlex4-29/+41
capped to LONG_MAX before being sent to the client. - TK_DODGE now dodges all ranged attacks, when used with SPURT, dodges everything. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Made the warm skills BF_WEAPON type so that they may trigger effect cards.skotlex10-162/+248
- Also changed their pl to -1 so they carry the elemeso they carry the element. - Warm skills now damage other players for 60sp per hit. - Warm skill damage interval decreased to 100ms instead of 1000ms. - TK_DODGE now only dodges ranged weapon attacks, while under Spurt mode it dodges everything. - 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 - Modified Marionette Control so that the max bonus stats you get is capped to your server's defined max stats instead of 99. - Mobs are no longer affected by the vs_traps_bctall switch. - Added function pc_damage_sp to damage the SP of players. - Modified Warm skills so that it only hurts SP of players while attacking/knocking back mobs. - Autospell loop breaks after one skill is successful. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Fixed @lvup commmand raising levels when you specify a negative value.. ↵skotlex1-4/+4
again. Some more signedness checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Fixed @lvup commmand raising levels when you specify a negative value...skotlex2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15- Some cleaning of the slave moving code.skotlex6-30/+32
- Fixed the icon for Provoke not showing. - Fixed skill_timerskills (type was not being stored, water-ball at least got broken, doing only 1 hit always) - pc_setinventorydata won't try to set data for positions with no item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14 * Part 1 of Gravitys "Zeny Inflation Control Update"Poki#36-89/+105
- All potion type drops from monsters are changed with Herbs (Excluding MvP Monsters). Red Potions -> Red Herb Orange Potion -> Yellow Herb Yellow Potion -> Yellow Herb White Potion -> White Herb Green Potion -> Green Herb - 'Mastela Fruit', dropped by 'Enchanted Peach Tree' monster, will be deleted. You can buy it in Hugel. - All Awakening Potions replaced with Grapes. - All Berserk Potions replaced by Lemon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14Fixed ID's of Thief Bugs in mob_branch.txt to use the normal ones, and not ↵Poki#31-2/+2
the slave ones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14- Removed the declaration of puchar and pchar from my_global.h which was ↵skotlex2-2/+7
preventing compiles on native win NT systems. Drawback is now Win9X systems will fail to compile instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14- Hiding cancels Close Confine.skotlex8-858/+529
- Added the move enable condition to High Jump and Jump Kick. - ST_MOVE_ENABLE now also checks for pc_can_move(), and only perform a walk check if the skill is ground targetted. - Moved the berserk_cancel_buffs code to status_change_start. - Moved most checks of status_isimmune() to status_get_sc_def - Allowed Endow skills to go through status_isinmune characters. - Added variable type to skill_castend_nodamage_id which holds the value of SkillStatusChangeTable[skillid] to simplify code reading afterwards. - Fixed PR_BENEDICTIO not taking away all SP - Fixed the most horrible typo ever. (SC_STAN -> SC_STUN) - Added StatusSkillChangeTable which returns the Skill for a given SC. Used in skill_additional_effect for SC cards. - Removed the whole ugly static implementation of SkillStatusChangeTable, see status_initChangeTables() for new format which is much easier to read. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14new st.Valentine eventLupus3-0/+288
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Added battle config sc_def_rate which adjusts natural defense of ↵skotlex6-5/+19
characters against status changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Updated the eamobs spawnsets for Geffen 3, Juperos Lv1 and Glast Heimskotlex4-34/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Pet eggs won't be deleted upon selection for hatching, but on pet data ↵skotlex4-5/+31
retrieval now. - Added check to pc_readdb to printout if a certain job is missing it's experience table. - Added Job_Wedding to db/const.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Made the NPC_BREAK* skills attack skills again, their chance of equipment ↵skotlex4-49/+54
breaking code was moved to skill_additional_effect. - Added zeroing of skilltarget in skill_castend_id when skill fails. - 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. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Made Land Protector Block Hammerfall.skotlex9-51/+87
- More signed/unsigned comparison fixes. - Added dummy_item variable to itemdb. It will be used on all itemdb_searches that do not yield a valid item from the db. - Added itemdb_load, which is the one used for item_db loading (if the item does not exists, it'll be created) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Modified PA_GOSPEL so that the random damage attack becomes a BF_MISC attack.skotlex9-38/+43
- Added pc_resetskill when lowering job level and there's not enough skpoints to substract. - Fixed compile error of SG_FUSION in pc.c - Modified pc_resetskill to receive a flag to indicate if it should or not do status_calc_pc and send skill block updates. Meant to optimize performance when used in the middle of a larger update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Fixed SG_FUSION costing SP to deactivate.skotlex4-10/+20
- Some cleaning up at pc_setpos to prevent calling pc_clean_skilltree - Added pc_clean_skilltree on pc_recv_reg - Enabled use of TF_HIDING while Cloaked. - pc_resetstate won't remove wedding skills now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- NPC_POWERUP now gives +40% atk per level.skotlex8-58/+64
- Water elementals can be frozen again. - Fixed the sc_def equation in status_change_start - Fixed an extra semi-colon that broke win32 compiles. - Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons. - Now slaves give exp/loot (exception: player slaves still stick to the old rules) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13Updated most mobs Summon Skills to use "OnSpawn" conditions.Poki#34-195/+175
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13Fixed exp.txt for Baby Dancer, thanks to GepardKomurka2-22/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Added CELL_CHKSTACK to check if a map cell is stacked (CELL_NOSTACK server ↵skotlex5-2/+34
mod) - Added flag 0x3000 to path_search to specify that path searching should go through stacked cells. Used for skill_wall_check calls. - easy path_search will be successful in CELL_NOSTACK mode if the search fails only on the target cell (it is presumed the target cell contains the character one is trying to reach). The walk routines will take care of stopping the character from walking into another one when stacked. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Added handling of type BL_PET to skill_unitgrouptickset_search. I know ↵skotlex6-142/+107
pets normally aren't affected by skills, but their structure already had support for this, so.... - Rewrote/simplified functions skill_addtimerskill/skill_cleartimerskill - Fixed SC_DANCING for non players (was making dances only last 1 second for them) - Modified map_moveblock to handle calls to skill_unit_move_unit_group and cancelling of Close Confine effects, removed these checks from the walk functions and skill_blown functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-12- Fixed error display when the exp table reads a value which is capped to ↵skotlex1-1/+1
UINT_MAX git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11mob db update(clock, enchanted peach tree)Vicious2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11Valkyrie item fix, Sonic blow fix.Vicious4-4/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11- The status window now shows the addition of the damage of your both ↵skotlex3-8/+10
weapons when dual wielding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11Removed #include <lcms.h> from irc.c, which caused compile errors.Valaris2-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Changed the server's default MAX_LEVEL capacity to 1000.skotlex2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Lures won't be lost now when you use them on a non-mob.skotlex2-7/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Added pc_issit check to pc_can_moveskotlex4-7/+14
- Stone/Freeze/Stun/Sleep now make you stand up as well. - Some logic pointer fixes on map_searchrandfreecell. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Made the NPC_BREAK* skills no damage skills. Removed their code from the ↵skotlex5-41/+40
skill cast end damage id function. - Also raised their max level to 10. Made their breaking chance 10%*lv git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Weapon Repair update. Cost to 30SP, cast time to 7500, interruptable.skotlex4-2/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Modified map_searchrandfreecell to always do a check on a 9x9 area around ↵skotlex4-55/+28
the target tile, and to return the x,y coordinates modified with the new target. - Modified map_addflooritem so that the type is &1 for mvp drops and &2 for stacking checks, when &2 the item to drop cannot stack on the floor, otherwise it has no stacking limit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- NPC_POWERUP gives now +20% attack per skill level.skotlex2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Fixed setting setting SP_BASELEVEL skotlex2-16/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Added range checking to mob skill loading of permillage and delay.skotlex3-6/+18
- Fixed pc_gainexp not working for next level exp requirements above INT_MAX. - Fixed the display of @showexp not working right for exp values above INT_MAX. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 * Removed the conf sql code for now. Maybe will continue later with that ↵Valaris6-473/+10
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] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Added function mob_respawn which makes a mob respawn on spot 3 seconds ↵skotlex4-17/+48
after deafeat if SC_KAIZEL is active. - Modified NPC_REBIRTH to use Kaizel level 1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Added setting max_exp_gain_rate which caps how much exp you can get from a ↵skotlex5-3/+31
single kill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- pc_readdb will now cap experience required per level to UINT_MAX, it will ↵skotlex2-1/+15
warn the exp table has exp values above said limit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Changed the default of skill_delay_attack_enable to no.skotlex5-3/+9
- Modified Magnum break's delay to 0, time1 to 2 secs, time2 to 10 secs. Time 1 is for the skill reuse delay, and time2 the weapon fire bonus time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Code rewrites in mob_damage and party_exp_even_share for correctly ↵skotlex12-107/+136
handling overflow issues. Now uses UINT_MAX for range comparisons, as it should be. - Also modified the mob_db reading to use UINT_MAX for exp limits, changed their exp/job exp fields to unsigned int as well. - Modified multi_level_up behaviour to work as specified by Kyoki. - removed functions pc_next[base/job]after as they are no longer needed. - 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) - Added back water elemental targets being inmune to SC_FREEZE - Fixed the status_change_start line in charsave.c (I knew I was forgetting something) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09SQL compile fix (Skotlex, check line 470 in charsave.c, I've added here rate ↵Komurka2-1/+6
value = 10000) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09fixed cube room questLupus1-20/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5233 54d463be-8e91-2dee-dedb-b68131a5f0ec