shennetsind
3adadbdca1
Follow up r16656 improved unloadnpcfile stuff performance-wise, making npcs 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://svn.code.sf.net/p/rathena/svn/trunk@16657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 20:59:50 +00:00
shennetsind
40b3dfe73b
Added 2 (3) new atcommands:
...
* @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://svn.code.sf.net/p/rathena/svn/trunk@16656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 19:41:29 +00:00
cookiecrumbs
3353c38a8a
Follow up to r16647, fixed bugreport:5534. Moved the fix from skill.c to status.c.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 17:44:16 +00:00
shennetsind
c8c7de9312
Added @reloadquestdb as per Script / DB Developer Joseph request.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 13:20:07 +00:00
cookiecrumbs
87c61799f0
Fixed bugreport:5534 where the SC wasn't ended. This resolves the issues with Sealed Shrine and NPC_INVINCIBLEOFF and NPC_INVINCIBLE.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 01:45:25 +00:00
shennetsind
c30a8f75d0
Fixed bugreport:6446 credits to flaviojs, special thanks to Lelouch vi Britannia for the dump.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 12:21:23 +00:00
brianluau
e55279cabe
- Removed useless mapname compares (since r570) and fixed the strncmp for 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://svn.code.sf.net/p/rathena/svn/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 04:30:29 +00:00
xantara
0b2fa50754
` Changed areawarp script command to accept two additional, yet optional, parameters to allow an area warp to an area (instead of just a specific coordinates). See documentation.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 01:12:36 +00:00
xantara
454afdb992
` Added new atcommands: disguiseguild, undisguiseguild, sizeall, sizeguild
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 01:09:30 +00:00
shennetsind
c282d08040
Follow up r16632, added check on level up so that the equip is automatically unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14 09:45:56 +00:00
shennetsind
e6d54bb04a
Added equipment max-level support as per manager Kenpachi request (required 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://svn.code.sf.net/p/rathena/svn/trunk@16632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14 08:05:57 +00:00
shennetsind
282c0e6349
Minor adjustment that makes clones die in a smoother manner (rather than 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://svn.code.sf.net/p/rathena/svn/trunk@16629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-13 12:17:13 +00:00
shennetsind
7dc591040f
Fixed bugreport:6459 yet another variable assignment fix, special thanks to joseph for bringing this to our attention.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-12 16:31:32 +00:00
shennetsind
83d20aea87
Fixed bugreport:6456 repair scroll ( #14587 ) is now fully functional, bug was 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://svn.code.sf.net/p/rathena/svn/trunk@16624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11 18:04:54 +00:00
shennetsind
3f2bdc58fd
Fixed a bug where weapon repair skill would crash, super-ultra-mega-thanks to EvilPuncker.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11 13:32:28 +00:00
shennetsind
088e4adeb9
Fixed bugreport:6451, a ancient bug present r6791 which would cause any non-handled items in (struct item) to possess corrupted memory.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-10 07:16:41 +00:00
rud0lp20
2c36c19978
Fixed bugreport:6443 where SC_AUTOSHADOWSPELL bypasses flag checking of 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://svn.code.sf.net/p/rathena/svn/trunk@16613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09 15:19:02 +00:00
xantara
c95db79350
Fixed bugreport:6108, getd now works as a parameter for query_sql.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09 04:39:46 +00:00
cookiecrumbs
cdcc95a0a4
Fixed replacestr
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-08 13:20:49 +00:00
cookiecrumbs
7c0317a323
Fixed bugreport:6428 where the count parameter of replacestr didn't allow 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://svn.code.sf.net/p/rathena/svn/trunk@16600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07 23:41:36 +00:00
daegaladh
79f3073e83
Reverted wrong checkre() command optimization (bugreport:6426)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07 21:58:40 +00:00
cookiecrumbs
31e66bacbc
Follow up to r16479 fixed a bug where SC_CLOAKING would freeze the character on equipment switch (example: using Frilldora card on a Garment and unequipping).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07 19:11:54 +00:00
rud0lp20
09dab12f3b
Fixed bugreport:6406,bugreport:5986 updated Extreme Vacuum to its official 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://svn.code.sf.net/p/rathena/svn/trunk@16591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-07 14:43:19 +00:00
shennetsind
aa237aacdd
Hello World! with this commit trunk will finally be making use of the 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://svn.code.sf.net/p/rathena/svn/trunk@16588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-06 01:47:50 +00:00
xantara
a6ad3c3657
- Fixed bugreport:6295, Harmonize formula (now a skill debuff) and behaviour updated (caster also affected)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 22:52:11 +00:00
xantara
feaa5fc6d8
Fixed bugreport:6395, added renewal @go spawn for izlude
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 22:49:16 +00:00
shennetsind
cff0a579e2
Fixed bugreport:6407 combos are now properly recalculated when a item is switched. special thanks to emong
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04 04:22:55 +00:00
shennetsind
d5ecf6a9db
Fixed bugreport:6402 when a menu supersedes the client's maximum length it is truncated and a warning is displayed on console, special thanks to Vianna for providing us with the proper length.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03 15:38:55 +00:00
rud0lp20
9b0ba363d0
Follow up r16560 Chemical Protection skills are now to its official behavior.(bugreport:6396)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03 14:18:28 +00:00
shennetsind
1f96917744
Fixed the last warning reported in clang, super mega ultra hyper plus thanks to mkbu95
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03 11:39:29 +00:00
shennetsind
cef909df2f
Fixed bugreport:6401 / Follow up r16562
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03 03:46:16 +00:00
shennetsind
33fb89ef91
Modified script function 'donpcevent' as requested by Script Developer Euphy,
...
- 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://svn.code.sf.net/p/rathena/svn/trunk@16564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03 03:30:57 +00:00
rud0lp20
9b5fcb5cef
Fixed bugreport:6099 where warp portal ignores knock back and snap's unit positioning.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 15:56:05 +00:00
brianluau
dec30e8978
- Fixed compile errors from r16560, thanks BuildBot!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 15:44:55 +00:00
rud0lp20
df8a3313ef
Fixed bugreport:6324 where re-spawning mob still hits/chases its previous 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://svn.code.sf.net/p/rathena/svn/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 14:31:16 +00:00
shennetsind
a3c6ca5181
lowercase'd the r in the console ASCII logo.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 02:26:08 +00:00
shennetsind
41ea3a29c3
Fixed bugreport:6032 r15982's variable assignment should be fully functional now. Fixed the bug which prevented stuff such as "for (.@i = 0; .@i < 20; .@i++)" from working.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 02:04:05 +00:00
shennetsind
cee98d69ba
Fixed bugreport:6393 costume items now display properly in the equipment window.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 00:23:31 +00:00
xantara
14b9eec61e
Added checks for when a homunculus class is invalid when passing through the hom_class2mapid function. Special thanks to Variant.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 04:46:52 +00:00
shennetsind
2b8a7d8a79
Follow up r16543, you nasty thing how did you get commented out?!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 02:42:56 +00:00
shennetsind
79d7533334
Fixed favorite item tab, now items are only moved if you place them in the 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://svn.code.sf.net/p/rathena/svn/trunk@16543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 02:40:59 +00:00
shennetsind
ba48503772
Fixed bugreport:6378 fixed 'nude' script command so that it may remove costume.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 01:24:47 +00:00
shennetsind
496deaaec4
Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special thanks to emong.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 01:17:46 +00:00
rud0lp20
a6a61dba4d
Fixed SC_CRYSTALIZE where it stacks with other opt and ignore SC_WARMER.
...
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://svn.code.sf.net/p/rathena/svn/trunk@16539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31 16:38:47 +00:00
brianluau
14ffe554de
- Fixed a compile error =[ thanks BuildBot!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30 09:27:00 +00:00
brianluau
d5b66f9177
- Removed redundant config after the Item Stacking System was added in r16279.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30 09:15:12 +00:00
rud0lp20
a319977345
Fixed some compile warnings.(bugreport:6352, bugreport:6361)
...
Follow up r16520 added some missing entry in packet_db.txt where my patch doesn't include it...XD
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 14:33:16 +00:00
shennetsind
c820682934
Fixed bugreport:6359
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 09:44:17 +00:00
rud0lp20
bede2960d3
Fixed bugreport:6357 where buf is attempt to be used outside it bounds..
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 04:26:12 +00:00
shennetsind
a82b86699f
Fixed bugreport:6324 mobs now clear attacked data on death. special thanks to vali.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 01:59:38 +00:00