summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2012-08-17Follow up r16656 improved unloadnpcfile stuff performance-wise, making npcs ↵shennetsind1-13/+71
from the same file share the filepath reference rather than each having its own copy. Special Ultra Super Thanks to Trojal <3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Added 2 (3) new atcommands:shennetsind6-69/+165
* @unloadnpcfile <file path> ** e.g. "@unloadnpcfile npc/cities/alberta.txt" unloads all npcs created by the npc/cities/alberta.txt file. * @addperm/@rmvperm <permission_name> ** e.g. "@addperm skill_unconditional" / "#rmvperm "player" skill_unconditional" git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Follow up to r16647, fixed bugreport:5534. Moved the fix from skill.c to ↵cookiecrumbs2-9/+7
status.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Added @reloadquestdb as per Script / DB Developer Joseph request.shennetsind3-55/+54
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Fixed bugreport:5534 where the SC wasn't ended. This resolves the issues ↵cookiecrumbs1-1/+9
with Sealed Shrine and NPC_INVINCIBLEOFF and NPC_INVINCIBLE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15Fixed bugreport:6446 credits to flaviojs, special thanks to Lelouch vi ↵shennetsind1-11/+9
Britannia for the dump. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15- Removed useless mapname compares (since r570) and fixed the strncmp for ↵brianluau2-11/+8
malangdo/malaya (r15388). [thanks lighta] - Follow up to r16322 so the comment "only modifier is halved but still benefit with the damage bonus" is actually true. Thanks lighta! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15` Changed areawarp script command to accept two additional, yet optional, ↵xantara1-22/+52
parameters to allow an area warp to an area (instead of just a specific coordinates). See documentation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15` Added new atcommands: disguiseguild, undisguiseguild, sizeall, sizeguildxantara1-8/+162
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Follow up r16632, added check on level up so that the equip is automatically ↵shennetsind4-9/+23
unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Added equipment max-level support as per manager Kenpachi request (required ↵shennetsind3-1/+15
for upcoming renewal items). - in renewal mode item_db's elv field now supports a optional elvmax separated by a colon, example: - 65:70 in the elv field means the item can only be worn by characters whose level is within 65~70 base level range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-13Minor adjustment that makes clones die in a smoother manner (rather than ↵shennetsind1-2/+4
standing still after death and disappearing in a small delay they now display a dead sprite and disappear a few seconds afterwards) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-12Fixed bugreport:6459 yet another variable assignment fix, special thanks to ↵shennetsind1-2/+4
joseph for bringing this to our attention. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11Fixed bugreport:6456 repair scroll (#14587) is now fully functional, bug was ↵shennetsind3-16/+23
due to the range being checked on pc_checkskill and it'd return 0 when the caster isn't a blacksmith class (or doesn't have repair weapon mastered), the skill level cast is now stored in (struct map_session_data)->menuskill_val2. special thanks to kyeme for his persistence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11Fixed a bug where weapon repair skill would crash, super-ultra-mega-thanks ↵shennetsind1-1/+1
to EvilPuncker. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-10Fixed bugreport:6451, a ancient bug present r6791 which would cause any ↵shennetsind1-38/+34
non-handled items in (struct item) to possess corrupted memory. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09Fixed bugreport:6443 where SC_AUTOSHADOWSPELL bypasses flag checking of ↵rud0lp202-3/+33
ground type skills. Follow up r16591 where using KG_GENWAKU on sitting targets the client doesn't sync with the server in sitting state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09Fixed bugreport:6108, getd now works as a parameter for query_sql.xantara1-27/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-08Fixed replacestrcookiecrumbs1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07Fixed bugreport:6428 where the count parameter of replacestr didn't allow ↵cookiecrumbs1-3/+34
variable integers injected in the script command. Added script command repairall to easy repair all of the attached character's items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07Reverted wrong checkre() command optimization (bugreport:6426)daegaladh1-1/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07Follow up to r16479 fixed a bug where SC_CLOAKING would freeze the character ↵cookiecrumbs2-3/+2
on equipment switch (example: using Frilldora card on a Garment and unequipping). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07Fixed bugreport:6406,bugreport:5986 updated Extreme Vacuum to its official ↵rud0lp202-17/+60
behavior. Fixed bugreport:6404 where using KG_GENWAKU on sitting targets the client doesn't sync with the server in sitting state. Updated RK_FIGHTINGSPIRIT ASPD bonus. Thanks to michieru. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-06Hello World! with this commit trunk will finally be making use of the ↵shennetsind6-18/+379
gorgeous stuff sirius_black last implemented. we want to make sure everything related to this feature is working as intended so for now its being released under a optional define, after the features stability is confirmed the define will be removed along with the previous processings of the feature. By enabling BETA_THREAD_TEST in /src/config/core.h all your mysql logs, query_sql and query_logsql script functions will be handled by a different thread, therefore any slow queries won't have any effect (e.g. slow down) on the game server. Everyone is welcome on helping us test and debug the features, be aware however I DO NOT RECOMMEND YOU TO ENABLE THIS ON PRODUCTION SERVERS AS OF NOW (which is why while we're all testing it still is a optional feature). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05- Fixed bugreport:6295, Harmonize formula (now a skill debuff) and behaviour ↵xantara2-14/+28
updated (caster also affected) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05Fixed bugreport:6395, added renewal @go spawn for izludexantara1-7/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04Fixed bugreport:6407 combos are now properly recalculated when a item is ↵shennetsind1-25/+28
switched. special thanks to emong git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Fixed bugreport:6402 when a menu supersedes the client's maximum length it ↵shennetsind1-17/+51
is truncated and a warning is displayed on console, special thanks to Vianna for providing us with the proper length. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Follow up r16560 Chemical Protection skills are now to its official ↵rud0lp201-11/+13
behavior.(bugreport:6396) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Fixed the last warning reported in clang, super mega ultra hyper plus thanks ↵shennetsind1-1/+1
to mkbu95 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Fixed bugreport:6401 / Follow up r16562shennetsind1-26/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Modified script function 'donpcevent' as requested by Script Developer Euphy,shennetsind1-1/+6
- now returns 1 when successful, 0 when fails. - now shows a debug message on the console when no events are triggered. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6099 where warp portal ignores knock back and snap's unit ↵rud0lp201-1/+7
positioning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02- Fixed compile errors from r16560, thanks BuildBot!brianluau2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6324 where re-spawning mob still hits/chases its previous ↵rud0lp207-60/+177
attacker. Partial fixed bugreport:6396 where Chemical Protection skills doesn't check targets current equipments. Finally added almost all Kagerou/Oboro skills only one more left..phew...:D (KG_KAGEHUMI,KG_KYOMU,KG_KAGEMUSYA,OB_ZANGETSU,OB_OBOROGENSOU,OB_OBOROGENSOU_TRANSITION_ATK,OB_AKAITSUKI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6032 r15982's variable assignment should be fully functional ↵shennetsind1-38/+20
now. Fixed the bug which prevented stuff such as "for (.@i = 0; .@i < 20; .@i++)" from working. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6393 costume items now display properly in the equipment window.shennetsind1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Added checks for when a homunculus class is invalid when passing through the ↵xantara2-5/+11
hom_class2mapid function. Special thanks to Variant. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Follow up r16543, you nasty thing how did you get commented out?! shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Fixed favorite item tab, now items are only moved if you place them in the ↵shennetsind1-7/+11
proper tab (before this you could try to move a consumable to the etc tab and it'd go to favorite tab.) thanks to malufett for his info&report! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Fixed bugreport:6378 fixed 'nude' script command so that it may remove costume.shennetsind1-9/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special ↵shennetsind3-8/+26
thanks to emong. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31Fixed SC_CRYSTALIZE where it stacks with other opt and ignore SC_WARMER.rud0lp205-9/+117
Fixed weapon check in dual wielding where it doesn't function properly specially in checking with the dual-wield constants. Added some Kagerou/Oboro skills. (KO_KAIHOU,KO_ZENKAI,KO_GENWAKU,KO_IZAYOI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30- Fixed a compile error =[ thanks BuildBot!brianluau1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30- Removed redundant config after the Item Stacking System was added in r16279.brianluau2-13/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed some compile warnings.(bugreport:6352, bugreport:6361)rud0lp203-3/+7
Follow up r16520 added some missing entry in packet_db.txt where my patch doesn't include it...XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6359shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6357 where buf is attempt to be used outside it bounds..rud0lp201-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6324 mobs now clear attacked data on death. special thanks ↵shennetsind2-17/+12
to vali. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6353shennetsind1-5/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16526 54d463be-8e91-2dee-dedb-b68131a5f0ec