summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-04-08- Fixed skill_nocast_db reading so that when the same skill is specified ↵skotlex1-1/+1
multiple times, the blocked effects add up instead of replacing each other. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Fixed @movenpcskotlex4-19/+26
- Cleaned up and improved the lootsearch routine to pick nearest item. - Added INVISIBLE_CLASS to the list of classes supported by npc_get_viewdata - Fixed trying to set the view_data for npcs who are located on a map, but have no visual data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- The IRC bot now reads a configuration file (irc.c) instead of it all being ↵Zido3-6/+64
hardcoded git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Wedding Sprites fixedZido1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Fixed irc.c, no more crashesZido1-23/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Added function status_change_init to initialize all the sc timers. Added ↵skotlex7-18/+28
sc_data initialization to the npc structures who were missing them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Likely fixed a mob not returning to their original class view on respawn ↵skotlex2-6/+5
after they changed class. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Modified the equip_job field in the item_db to be a hexadecimal value for ↵skotlex1-11/+14
easier handling. - Updated item_db.sql to this new file format (even though it's equip_jobs field is still a integer) - Added upgrade_svn5951.sql for those who would like to convert their existing items. - Added doc/item_db.txt to explain each of the fields in db/item_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Moved the devotion damage reduction to the block that only executes if ↵skotlex6-94/+90
flag is zero in battle_damage. - skill_castcancel won't trigger on battle_damage when the passed flag is 1 - The flag in battle_heal is now used to determine whether Berserk blocks the healing or not. - Moved the Fusion HP penalty to battle_calc_weapon_attack - Some cleaning to use battle_heal/damage rather than pc_heal/damage where appropiate. - cleaned up the deadly-poison hp reduction code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- IRC User access levels now refresh on a mode set and join/partZido2-1/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Fixed an already free'd pointer error in irc.c:144skotlex1-4/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Added missing creation/destruction of the expcache_ers in guild.cskotlex4-57/+69
- Unified status_remove_buffs/status_remove_debuffs into a single function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Fixed pc_setpos ignoring the clrtype sent to it.skotlex3-8/+11
- unit_free will now use clear type 3 for players (warping out effect) - You can't invite someone to a guild now within Guild Castles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Hopefully fixed the wedding item-trade restriction.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Removed mapflag noreturn from pvp maps.skotlex1-0/+1
- Fixed status_clear_buffs making SC_BERSERK's end send you to 100hp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Rewrote the guild exp cache code to prevent overflows and to use the ers ↵skotlex2-41/+58
system. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06Accidently left my IRC info in irc.c >.> we really need to make a .conf for it.Zido1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5935 ↵Zido2-19/+162
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Changed the default of skill_add_range to 0, said value now disables ↵skotlex1-2/+4
skill-range checking when casting ends. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Corrected the Soul Drain formula, thanks to Haplo for pointing it out.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Changed the random warping of mobs with no players from mob_spawn to ↵skotlex1-1/+1
unit_warp, which prevents MSC_SPAWN from being retriggered for already spawned mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Modified @allstats to prevent negative/overflow issues.skotlex2-7/+9
- Fixed HP/SP requirements for WE_MALE/WE_FEMALE - Fixed a typo in skill.h which fixes a compilation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Small fix in the pet_aiskotlex1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Fixed an error on the error-message when job_db1 doesn't has enough columns.skotlex2-4/+5
- Fixed undisguising not clearing the mob sprite for the disguised character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Modified the item_db and added view_types to ammo: 1 arrows, 2 dagger ↵skotlex1-5/+11
(venom knife), 3 bullets, 4 shells, 5 grenades, 6 shurikens, 7 kunais. - Fixed parsing of job_db1.txt due to the MAX_WEAPON_TYPE change. - Updated skill_require_db to specify the ammo types required for GS/NJ skills (as best as I could understand them) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Fixed a compilation error due to a missing semicolon...skotlex1-2/+11
- TK ranking kicks can't be used on sucession now (can't use any of the kick skills twice in a row without using a different one first). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Modified the ammo checks so that ammo is consumed at the end of ↵skotlex3-23/+66
battle_calc_weapon_attack (should fix element being lost on final arrow). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05added missing weapon type, W_HUUMA(or kazema.. but huuma would be more.. ↵Vicious1-0/+1
correct) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Added a define list for weapon types in pc.hskotlex6-130/+140
- Cleaned up pc_checkallowskill and moved the Gatling fever check to it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Cleaned up the pet_ai_hard_lootsearch function to avoid doing map_id2sd calls.skotlex1-5/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Some cleanup of clif_parseloadendack, fixed guild-member list being sent ↵skotlex2-13/+13
on all map-changes. - Removed the hardcoded removal of characters who spawn in a castle. All castle maps got the flag nosave now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05- Added inter config connection_ping_interval which specifies interval in ↵skotlex10-106/+180
hours at which mysql_ping's must be done on all connection handles to keep the mysql connection alive. Defaults to 0 (disabled) - Removed login sql handle from the map server as it isn't used for anything. - Made the login sql handle on the char-sql server be used only when gm_read_method 1 is enabled. - Small fixes to npc_enable, added BL_NPC handling on status_get_sc. - Added a path_search check in map_random_dir, so that the random direction picked up doesn't goes through walls and all that. - Some changes to close-confine, status start will fail when the source is not found or it doesn't has sc-data. - pc_setoption no longer changes the character's class when mounting/dismounting, it only changes the view-class. - The peco-crash-fix from the char servers is still needed. This packet must be wrong! We likely need to sniff it. - Modified the char-txt server to modify the class of mounted characters to their non-mounted version. Added an upgrade_svn file to handle the class update on the sql tables. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed pc_setpos using unit_remove_map with type 0 instead of 3, which ↵skotlex1-3/+3
confuses clients and makes them think the character in question is still standing on the spot where it was removed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed script command mapwarp.skotlex1-8/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- SC_AUTOCOUNTER now only blocks all attacks/skills when the flag is 0 ↵skotlex2-2/+2
(attempt to use skill) - Autocounter triggers are now checked against flag 1 (cast-end) rather than 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed a typo in battle.c (status_get_atk invoked instead of ↵skotlex1-1/+1
status_get_atk_) for dual wielders. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Modified Rude-Attacked behaviour so that such skills only triggers when ↵skotlex3-3/+20
the rude-attacked count is greater than 3. - Added config setting slaves_inherit_mode to determine whether slaves take on their master's aggressive/passive status (defaults to yes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Removed the flag variable from the npc_data structure. Disabled NPCs are ↵skotlex2-17/+13
now handled through nd->sc.option&OPTION_INVISIBLE checks. Should fix disable/enablenpc calls not working. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Moved skill_counter_additional_effect calls to trigger right after ↵skotlex2-11/+21
skill_additional_effect (which means they trigger at the end of the attack motion for physical attacks) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Oops, the overflow mentioned by foobar was actually because the equippable ↵skotlex2-2/+2
base-jobs field was unsigned short when we now need it to be unsigned int. Fixed now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Cleaned up (fixed?) a possible overflow in pc_isUseitem, thanks to foobar.skotlex5-10/+21
- When you have the wrong ammo-type equipped the skill-failed message is now "skill can't be used with this weapon", which is less misleading than "please equip arrows first". - Corrected pet-equipment display (I originally assumed they went in the shield view-position, when they actually go in the head-bottom position). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Fixed npc_gettimerevent_tick returning the difference since the last ↵skotlex1-2/+2
triggered label instead of total elapsed time for the npc-timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Added a missing memset on ers_alloc'ing mob loot which was making data ↵skotlex2-1/+3
from looted items fill in normal drop info. - Some more work on the display of Brandish Spear... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Added preventing sending packet clif_clearchar_id when the character in ↵skotlex1-17/+38
question is invisible. - Added packet 0x7c in clif_spawn which was supposed to be used for non-players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- grfio.c fixed compile warningLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Fixed my fix on multi-map leak thanks to Buuyo^.Lance1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Forgot to set state.night = 1 in the night timer.skotlex1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Moved the night icon invocation to clif_parse_LoadEndAckskotlex2-138/+101
- Changed function clif_set01e1 to clif_spiritball_single - Removed clif_spawnpc as it wasn't really needed. - Added clif_weather_check to handle the weather changes checks. - Merged Larry's fix of using a timer to get rid of the glow-issue when you login to night-enabled map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02Typo in login.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02Typo fix in map.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5859 54d463be-8e91-2dee-dedb-b68131a5f0ec