summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23- Temporary fix for bugreport:1023, where various 'next' buttons would pop ↵momacabu2-13/+45
--for now let's display everything in one single "page"; - Fixed something related to bugreport:1900 (but not only); added a new flag to status_change_clear to include some status as SC_WEIGHT50, SC_PUSH_CART, which shouldn't be removed by sc_end script command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23Fixed bugreport:2313 where a player interacting with a NPC would still be ↵momacabu1-0/+3
queued when died and therefore causing problems with further NPC interactions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22Added params for bCritical, and bASPD for usage in NPC scripts per Euphy's ↵cookiecrumbs1-0/+2
request. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22-Adding checkweight2 and upgrading chekweight to read list of item tid:59194.glighta1-354/+434
Check npt_chekweight for exemple of usage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22-Apply EvilPuncker path from tid:71756glighta6-23/+30
-Fix and upd logzeny enumeration type bugreport:6897 -Upd @zeny to send a message when succed bugreport:6886 -Upd ChaosPanic to affect all bugreport:6893 -Upd bloodylust cooldown and disable endure effect bugreport:6547 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20Console clean up, dropped quite a few pointless messages and modified others ↵shennetsind2-11/+13
to only be displayed when relevant (e.g. you dont need to know you have only 1 subnetwork) Improved the debugging of scripts when an amount greater than supported of arguments is used. Follow up r16935 -- commit missed the script.c part of it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20Minor performance improvement; created guild flag cache to replace the ↵shennetsind3-24/+86
inefficient npcdb lookup, in perspective: Before: whenever a guild emblem was changed it'd loop through all npcs looking for flags belongin to that guild Now: whenever a guild emblem is changed it'll loop through a very small list which contains all guild flags, and from there it'll update the flags accordingly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20Follow up r16933 Fixing a typo on map_foreachinmap, block -> block_mobshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20122 diffs. map_foreachin<everything> syntax clean up.shennetsind1-354/+322
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20- Fixed bugreport:6915, where @follow would still be enabled when the ↵momacabu1-6/+5
target/source died; - Fixed a exploit on the creation char process, the hair color and style could be bypassed (bugreport:6916). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Updated @reloadskilldb to update all connected clients skill infos; and to ↵shennetsind1-2/+9
explain why I'll write a short, cute story. Prior to this change, if you changed a skill type from, say, ground to self, and reloaded the skill db, you'd need to relog (or force kick everyone in the server) in order for this to refresh in their clients; thanks to this change @reloadscript will refresh everyones skill tree. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Follow up r16926, fixed a horrid typo (wrong order; didn't notice the ↵shennetsind1-2/+2
warning in the console T_T shame on me); special thanks to mkbu95 for pointing it out! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Fixed bugreport:6772 cart display will now update/save properly if you ↵shennetsind1-2/+4
change to a cart of lower level; fixed 2 compiling warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-14Fixed bugreport:6892 HP display is now properly updatedshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-14Following r16914glighta7-50/+76
-fix @zeny for negative amout bugreport:6886, bugreport:6895 bugreport:6888 -fix @cash,@points command display result -enforce bound chk for both git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13Following r16914glighta1-1/+4
-Upd pre-re db (insignia, homon-s, bloodylust, chaospanic) -fix @zeny for negative amout bugreport:6886 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13- Fixed bugreport:6887, a variable was not initialized;momacabu4-11/+8
- Make @addwarp <npc name> parameter mandatory as per requests; - Changed SCB_ALL to SCB_BASE on SC_INTRAVISION case, it should be enough. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12Fixed bugreport:6719 adjusted SR_GENTLETOUCH_CURE,SR_GENTLETOUCH_CHANGE, and ↵rud0lp203-11/+6
SR_GENTLETOUCH_REVITALIZE required spirit balls. Fixed bugreport:6140 removed unused status icon SI_CLOUDKILL. Fixed bugreport:6829 an animation problem in casting skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12Modified @addwarp to accept a new optional parameter <npc name>. If <npc ↵momacabu3-8/+19
name> is specified, then the warp created will have that name. Otherwise it will use a name chosen by the emulator. If there is already another warp with that name the generic name will be used instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Upd mob_count to read a 10 modib list to chk if present or notglighta8-53/+77
-Add UNLIMITED_HUMMING implementation, now increase sp requirement and make cast unbreakable -Upd Group dance overlaping A and B, previous chk wasn't ending other properly (if fail was skipping other) -Upd OdinPower effect -Fix Cursed-Circle, shoudn't be able to cast near Emp,Stones bugreport:6457 -Fix Cursed-Circle wasn't remove when caster was being warped -Small docs upd git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12Follow up r16916: enforced status recalc when intravision ends to ensure it ↵shennetsind2-1/+4
is properly overridden. Follow up r16914: removed unused var git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12Fixed bugreport:6883 made maya purple no longer conflict with ↵shennetsind1-4/+1
status-change-controlled intravision stuff, e.g. box of sunlight. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Add/upd basic documentation for script.cglighta8-578/+637
-Fix some indentation and strange codestyle change to A-Style git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Add Homon-S skills, 1st implementation (all done except Eleanors)glighta22-779/+1121
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit) --Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri -Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Follow up to r16912 (bugreport:6435), the fix wasn't working because I was ↵momacabu3-2/+10
mistakenly reproducing the bug -_- Now I hope I did everything right. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Fixed bugreport:6435, if you stand on a warp portal with chat room, after ↵momacabu1-0/+4
you close it you wouldn't be warped properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Fixed bugreport:6452 where you weren't able to remove your cart if you ↵momacabu1-1/+1
weren't merchant/alchemist/blacksmith/etc. It also fixes the previously not working removal of cart when jobchanging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Updated skills that can not be dispelled by Dispell skill (bugreport:6469).momacabu1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Fixed bugreport:6820 where Open Buying Store didn't show up in skill window ↵momacabu1-5/+0
after relogging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11- Fixed bugreport:6252. Setting variables in script e.g. "set .@var, 08;" ↵momacabu1-0/+1
wasn't working properly due to octal base conversion issue. Special thanks to Ind and GreenBox. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Voiding some functions.momacabu4-31/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10- Added configuration to wheter the monster size would change experience ↵momacabu4-9/+19
earned, drop rates and the monster status (such as hp, strength etc). Awesome suggestion by Euphy :) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10- Modified *monster and *areamonster script commands to allow size and ai ↵momacabu8-142/+166
parameters. -- Event parameter now no longer works as size & ai replacement. -- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none). - Changed all hardcoded AI states to recently created enum. Please test, if you find any bugs, report on our Bug Tracker. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Commented out poring_c01/02 since they are no longer present in the latest ↵shennetsind1-6/+1
grfs which would make the map server pointlessly output that they are removed from the cache on every boot, also modified map load so that it doesn't output the amount of maps being loaded twice - special thanks to mkbu95! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Performance Improvement; Server shut down, instance clear up, and @cleanmap ↵shennetsind7-11/+23
are now all faster. Instead of wasting time doing a dbmap lookup (of a data it already possessed!) on each floor item being deleted, it'll use the data to clean the item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Removed include lock.h from script.cmomacabu1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10- Fixed bugreport:6816, bugreport:6818, bugreport:6843, buying a Pet Egg is ↵momacabu2-11/+16
now working. Special thanks to Ind; - Fixed a bug where pet egg was not deleted properly after clearing the floor. - Adjusted comment from msg_athena.conf, these IDs are being used! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Fixed bugreport:6876 / Reverting r16891shennetsind2-37/+85
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10Minor improvement on npc_event_do_clock, moved it so that its only assigned ↵shennetsind1-19/+24
when its actually used git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09Dropped a incredibly wasteful and pointless (why was that there i wonder) ↵shennetsind2-5/+1
3100byte => ~3kb memory waste PER active elemental unit in the server git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-091. Follow up r16891 small improvement over there by dropping a pointless ↵shennetsind2-30/+4
entry in the trace hierarchy 2. Modified DNSBL check on login server to stop looking up addresses on the first match, also applied my curly brace love in the way. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09* Merged eAthena changeset ea:15119.eathenabot2-69/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09* eAthena changeset ea:15117 (already fixed in r15823).eathenabot1-0/+5
* eAthena changeset ea:15118 (already fixed in r16500). http://rathena.org/board/index.php?act=findpost&pid=124218 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09* Merged eAthena changeset ea:15116.eathenabot1-47/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09* Merged eAthena changeset ea:15115.eathenabot1-114/+204
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09Fixed bugreport:6851, two chrif-related messages had the same id as cash points.momacabu1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);momacabu12-56/+25
- Merged @killmonster2 with @killmonster tid:73632; - Fixed bugreport:6764, auction code was misplaced; - Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix; - Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy; - Fixed bugreport:6837, some code was duplicated; - Fixed bugreport:6768, removed some leftovers from TXT removal; - Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map; - Fixed wrong bit field on ai field in mob_data structure. Credits to Ind. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Fixed extra curly brace in r16879... T_Tbrianluau1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Vending shops are now closed when warping to novending maps/cells. ↵brianluau1-0/+11
(bugreport:6871) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08Fixed item_db parser:shennetsind1-6/+16
1. map server would crash with mismatching curly braces in unequip script field 2. the parser wouldn't accept specific combinations of curly braces in the uniquip script field. special thanks to mkbu95! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16878 54d463be-8e91-2dee-dedb-b68131a5f0ec