summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-03-27Fixed a problem in chrif.c where USHRT_MAX was undefined. [Codemaster]codemaster1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Changed status_point/skill_point to unsigned short. Adjusted the code as ↵skotlex6-64/+112
necessary to prevent overflows. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- The status change timer mismatch error now also displays which status ↵skotlex1-1/+1
change it was git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- itemdb_exists and itemdb_searchname should now ignore dummy_item matches.skotlex1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Fixed jstrescapecpy crashing when you pass a null string to parse.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Small change that may fix a crash in loggin guild chat?skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Fixed the map-server freeze/crash on Warp Portal.skotlex2-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Walk/move functions will abort now when an area npc script triggers and ↵skotlex1-4/+8
moves the character out of the map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed Grandcross/Granddarkness showing no skill animation.skotlex1-11/+22
- Fixed mob-casted grandcross doing nothing unless the target was "self" git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed a pair of "Conditional jump or move depends on uninitialised ↵skotlex1-0/+2
value(s)", thanks Valgrind! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Added a missing escape in logging chats.skotlex2-4/+5
- Increased a bit the size of skill-related arrays. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Incremented the number of iterations to find a random stop to 100 as 50 ↵skotlex3-7/+3
seems to no be enough for certain maps. - Fixed iteminfo only displaying first result when there were many. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed pet hatching.skotlex1-4/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Small change that SHOULD fix the pet duplication. Fixing pet incubator ↵skotlex1-0/+3
still isn't done... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Fixed Warp Portal.skotlex4-15/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24* Fixed / finished most of Gunslinger [Reddozen]reddozen2-17/+17
- fixed some bullets in the item DB - adjusted a few rates in skill_cast_db.txt for Gunslingers - adjusted a couple skills in skill_db.txt to act correctly - adjusted all the SP values for Gunslinger skills - changed piercing shot to lv 5 from lv 10 - made ki Translation fail giving coins to Gunslingers - equipping a weapon other than a gatlin gun should cancel SC_GATLINGING. Also made Gatlinfeaver on/off togelable - GS_CRACKER will no longer stun players - added GS_Disarm * View changes here: http://diviniaro.com/data/reddozen_3_24_2006.patch git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Modified script commands atcommand/charcommand to execute even if there ↵skotlex1-11/+36
isn't a player attached. They'll use a dummy player data with the same position/name as the script's owner (usually an npc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Cleaned up a bit the npc undercharging item warning to specify when it is ↵skotlex1-3/+7
displaying overcharge/discount prices instead of the actual values. It should also prevent overflows. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Some cleaning around the return to egg code. Pets should stop duplicating now.skotlex1-26/+19
- Some cleaning of the egg hatching routine to prevent spawning the pet if the egg can't be found in the inventory. - Removed some autoadded data/ strings in grfio.c module to see if it helps with the data_dir configuration. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Another mob_summon fix. Slave summoning SHOULD be working now.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Fixed skillidx not being set whenever a mob uses a skill.skotlex2-3/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24Replaced !sd->special_state.nocastcancel2 && something to ↵blackhole891-2/+2
(sd->special_state.nocastcancel2 || something). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Added function map_search_freecell to locate an available cell around an ↵skotlex6-149/+131
area (for recall/warping skills) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Some small, insignificant code cleanups in unit.cskotlex1-16/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Added unit.c to the VC8 project file, thanks to Joshuaaliskotlex1-0/+4
- Fixed Magnum Break/Grand Cross sending skill damage packets on every target. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Fixed a crash in unit_useskill_pos2skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed Devotion not properly being cleared on death/near death in some cases.skotlex2-0/+3
- Fixed Shield-Reflect not being correctly ended when devotion does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23"castnodex&~1"blackhole891-5/+5
aka, testing for castnodex having any bit in not 1 set instead of not having bit 1 set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Modified pc_percent_heal to avoid overflow problems.skotlex1-18/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed Potion Pitcher sometimes crashing the server.skotlex2-37/+44
- Fixed a compile warning by adjusting the acid demonstration formula. - Added flag 2 to the skill_castnodex_db file for skills that shouldn't be affected by delay/cast reducing skills/effects. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23* Minor cleanups.Lance3-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed compile error and missing field in the clone function.skotlex2-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Some cleanup. Fixed function pc_isCardAllowedOn causing searches for ↵skotlex1-11/+18
non-existant item id 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Changed Preserve's cost to 30spskotlex4-10/+5
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS - Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- Merged the unit_data structure from jA for handling unit-related data ↵skotlex23-5407/+3574
(attack times, walking, auto-attack timers, skill related data) - Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable" - Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type - Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it. - Cleaned up/rewrite of the pet ai, same for pet_calc_pos - Implemented use of mob variable attacked_players as it is used on jA - Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs. - Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- status_check_skilluse won't block skill-specific checks (silence, berserk, ↵skotlex3-34/+63
steel-body, etc) when the skill in use is an item-invoked skill. - Merged LittleWolf's function to read the map-height directly from the rsw file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22fixed Piercing shot, desperado, fullbuster damageVicious1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- Some cleanups in irc.cskotlex2-3/+11
- Changed ASC_BREAKER's cast to 700ms - Magic skills that ignore element now also don't take into account elemental cards. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22* Fixed compiler warnings in battle.c Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22[reddozen's fix]Lance3-34/+35
- Updated Full Buster's damage, status effects, and skill levels - Bullseye now only uses 1 coin - changed Adjustment's required SP - changed Incerase Accuracy's effect bonuses - changed Magical Bullet's SP cost - changed Piercing Shot's damage and SP - changed Desperado's range, hit count, aftercast delay, and SP - fixed Absorb Spirit Sphere being able to remove coins - changed Acid Demonstration's damage to the new Japanese formula git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21Fixed duel in pk-mode (same party/same guild/alliance non-targeting issue).LuzZza1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21Fix on not showing guildmembers logins/logouts messages.LuzZza4-46/+94
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21- Fixed the inf2 for BA_DISSONANCEskotlex2-10/+9
- Fixed SC_SWOO's opt3 value. - Fixed allowing multiple recast of Dissonance/Ugly-Dance - Fixed those annoying irc.c compile warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21warning msg typos fixLupus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Added monster_ai&16 setting for executing the hard ai on ALL mobs in maps ↵skotlex1-11/+19
with players instead of just mobs in the vecinity of players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Added a pc_stop_attack() invokation when starting SC_XMAS/SC_WEDDING.skotlex1-2/+3
- Increased the SC_WEDDING walk delay to double walk delay, instead of increasing it by 50% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Fixed "being able to cast" skills while dead.skotlex1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20Cleaned up some guild functions:LuzZza1-35/+46
-Now guild leaving/explusion packets sends correctly. -Fix to prevent creation alliance/opposition with same guilds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- @stfu now allows negative intervals to be specified, they increase manner ↵skotlex1-1/+3
instead. - Added overflow fix to the login-server when sending GM accounts to char. - Increased buffer size abit in check_ip (login.c) to see if it prevents stack corruption. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Small fix to prevent killer/killable states from allowing you to target ↵skotlex8-43/+52
yourself. - Added Explosion Spirits to list of effects that dispel on logout. - Fixed handling of guild skills by pc_blockskill_start, renamed it to skill_blockpc_start as it needs some constants available only in skill.c - Fixed autoguard icon showing with stun. - Fixed splash area of Ganbantein - Fixed acid demonstration breaking shield instead of armor. - Fixed Slim Pitcher crashing server ocassionally. - Hopefully fixed Ankle Snare lasting the whole trap's duration - Added sc_start(SC_ENDURE) on infinite endure bonus. - Fixed Berserk Pitcher consuming required items twice. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5681 54d463be-8e91-2dee-dedb-b68131a5f0ec