975 Commits

Author SHA1 Message Date
euphyy
84d500ea2c > Hercules merges:
* 5b37805:
Items are no longer unequipped when a card within them is blacklisted (e.g. item_unequip.txt), instead the card's effect is nullified.

* cc8e005:
item_noequip overhaul.
Items are no longer unequipped when disabled by item_noequip.txt, instead their effects are nullified -- however cards in them, unless also disabled, wont have its effect nullified.
Consumables will be consumed even while disabled, unless you modify the new config item_restricted_consumption_type.

* 7192b10:
SECURE_NPCTIMEOUT should be fully functional now, fixed remaining known issues. (bugreport:5343)

* 63145d6:
Where casting MO_EXTREMITY to untargetable targets causes the caster to move in fixed location/coordinate.

* 17f2e6a:
Fixed clif.c::clif_parse_NpcSelectMenu.  SECURE_NPCTIMEOUT is always defined; the check is wrong.

* 125b758:
Added New Char-Server Rename Packet.

* d6d49c4:
Updated Safety Wall Renewal behavior, when taking damage higher than the health of the safety wall, excess damage will no longer be passed to the player.
Fixes bugreport:6243, bugreport:6697.

* 7626b14:
Fixed wrong 'if' condition in checking CELL_CHKNOPASS for the OFFICIAL_WALKPATH where clear path is considered to be limited to 14 cells it should only be with obstacles. (follow-up r17091, bugreport:7239)

* 0dbbe22:
Fixed magical reflection behavior, user reflecting now visually casts the skill back at the caster, instead of caster casting it on itself.

* 4671a39:
Monsters in stone curse pre-stone state no longer are able to attack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-04 00:08:19 +00:00
euphyy
5b456c67a1 * Documented @set command from r16123.
* Fixed a waitingroom bug in Wizard job quest (bugreport:7189).
* Fixed getequipname() returning -1 instead of an empty string (bugreport:7186).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-16 01:09:24 +00:00
rud0lp20
1524a22a0b Change GC_VENOMIMPRESS to 10 cells.(bugreport:6419)
Fixed bugreport:6503 where SR_GT_REVITALIZE causes glitch display in stat window.
Change WM_LULLABY_DEEPSLEEP to self targeted skill.(bugreport:6579)
Fixed bugreport:6642 where SR_CURSEDCIRCLE effect is not remove after casting AL_WARP.
Change SO_ARULLO to ground targeted skill.(bugreport:6842)
Fixed bugreport:7165 where 'npcwalkto' script command is not working properly.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-12 16:39:38 +00:00
markzd
82c04f1134 * Follow up r17065
1. Removed some unnecessary checks.(bugreport:7078)
   2. Fixed some index's which would access an invalid array position, crashing the server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-05 04:45:53 +00:00
markzd
cebcf7a332 - Fixed an warning of type casting. (bugreport:7081)
- Removed an unecessary type cast before atoi.
- Fixed Ray of Genesis Attack Formula. (bugreport:7053)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-03 09:12:36 +00:00
markzd
aad719ff76 * Follow up r17065
Fixed some error when creating vars and some warnings.(bugreport:7074)
* Removed an undisered warning on script's sscanf. (bugreport:7059)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 19:07:02 +00:00
glighta
0cdba10793 -Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for skill_lv
-Optimise type from int to int16 in order to reduce ram consumtion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 16:00:24 +00:00
euphyy
96e8979569 * Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries.
* Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:38:28 +00:00
euphyy
bb5364c2d1 > Follow-up r17048:
- Renamed 'useskilltopc' to 'npcskill';
- Removed cast time from NPC objects, code by mkbu95 (suspected official behavior);
- Documented 'npcskill';
- Replaced all instances in scripts.
* Fixed max level bypass, code by malufett (bugreport:5800).
* Updated Malangdo spawns to official.
* Some standardization of npc/quests/first_class/.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 06:11:18 +00:00
momacabu
825ddd053c * Implemented `useskilltopc' (tid:74685), and now if desired npcs can carry status such as str, atk, def, etc and level.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 03:49:29 +00:00
momacabu
41c77b8fa5 * Added missing check for riding wug in checkwug. Thanks to PcPocket!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24 03:18:56 +00:00
euphyy
df5d78a4e2 * Documented @refreshall (r17035), @breakguild, @hommutate (r17038).
* Follow-up r16972, fixed a naming mistake (bugreport:7038).
* Edited format of default grf-files.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 21:11:29 +00:00
momacabu
0b758eca8b * Implemented @breakguild (tid:75159) and @hommutate (tid:74651).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 20:23:03 +00:00
momacabu
684ef312cb Dammit! The last commit wasn't supposed to be sent -_-
* Use SCRIPT_MAX_ARRAYSIZE instead of hardcoded values in explode (bugreport:7037).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 19:01:35 +00:00
momacabu
fd49ef5cf2 - Re-committed r16986 (pid:161281).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:21:13 +00:00
momacabu
fa9879ca5d - Re-committed r16971/trunk/src/ (tid:74924).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 05:25:16 +00:00
brianluau
a2bdc47daf - Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).
[16969:16991/trunk/src/] will be re-committed in the next 24 hours.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 02:53:33 +00:00
momacabu
2821d94d7b - Minor tweak in @jobchange, it will now read msg_athena.conf job names;
- Fixed warning in cleanmap command (follow up to r16971).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30 00:30:13 +00:00
momacabu
fbd6003be0 Applied suggestion in tid:74775. Added script command cleanmap and cleanarea script commands. Also modified @cleanmap to properly clean the entire map and added @cleanarea to clean an specified area. A documentation will be done in shortly.
Automagically copy files from import-tmpl to import folder on Windows after building the project (only works with rAthena-10 and rAthena-12) (tid:74635).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-27 21:53:07 +00:00
greenboxal2
a7c32653f7 Applied AStyle code formating as discussed on tid:74602.
Removed /SAFESEH option from MSVC11 projects.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 21:20:43 +00:00
glighta
b147d57559 -Fix bugreport:6751 allow noseige to be casted while under status.
-Upd athena-start, save pid to not kill all other process with same name (annoying when multiple server)
-Harmonize setmapflag and @mapflag, flag value is always an int, and could be superior to 1 for some mapflag
-Fix bugreport:6923 for Windows
-Upd @zeny to remove rest of zeny if not enough money as requested

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 08:50:59 +00:00
cookiecrumbs
dd921e44ec Follow up to r16957 to fix an error with getcharip.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 07:04:38 +00:00
cookiecrumbs
68c19e8a0f Implemented script command getcharip (tid:69646)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 04:02:20 +00:00
glighta
0743650416 -Apply mkdu95 fix for bugreport:5145 preventing clone if player dead, (for slave and evil clone)
-Fix old fread, fgets warnings, displaying a msg errors when failed now
-Cleaning checkweight debug showinfo


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 05:53:29 +00:00
momacabu
78c79827dc - Temporary fix for bugreport:1023, where various 'next' buttons would pop --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://svn.code.sf.net/p/rathena/svn/trunk@16948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 03:28:54 +00:00
glighta
eebeb88cdb -Adding checkweight2 and upgrading chekweight to read list of item tid:59194.
Check npt_chekweight for exemple of usage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22 01:15:29 +00:00
shennetsind
1e93aef6ac Console clean up, dropped quite a few pointless messages and modified others 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://svn.code.sf.net/p/rathena/svn/trunk@16936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20 13:24:15 +00:00
glighta
94b8b02141 -Add/upd basic documentation for script.c
-Fix some indentation and strange codestyle change to A-Style

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:35:48 +00:00
glighta
752776e4cc -Add Homon-S skills, 1st implementation (all done except Eleanors)
--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://svn.code.sf.net/p/rathena/svn/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:06:25 +00:00
momacabu
9c4449531b - Fixed bugreport:6252. Setting variables in script e.g. "set .@var, 08;" wasn't working properly due to octal base conversion issue. Special thanks to Ind and GreenBox.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 01:05:36 +00:00
momacabu
f28c2a56f5 - Modified *monster and *areamonster script commands to allow size and ai 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://svn.code.sf.net/p/rathena/svn/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 19:44:12 +00:00
momacabu
3810d5ff70 Removed include lock.h from script.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 05:52:08 +00:00
cookiecrumbs
a45c1dc469 Fixed various quest-related script commands - including: setquest, erasequest, completequest, checkquest - to fix crashes caused of null pointers (sd).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-07 23:13:04 +00:00
glighta
7a6a529548 -Add some src basic documentation.
-Change some remaining -1 for status ending timer.
-Move some hardcoded msg in msg_athena
-Small optimisation on battle_attr_fix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29 06:33:43 +00:00
shennetsind
0998743df9 Fixed bugreport:6720 fixed pvp/gvg mapflag handling by setmapflag/removemapflag script commands
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16805 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-26 23:35:57 +00:00
greenboxal2
7a0f936c35 Follow up r16769, initnpctimer should reset the timer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-16 16:08:02 +00:00
rud0lp20
5db62f5c84 Follow up r16738 MO_ETREMITYFIST renewal behavior.
Fixed bugreport:6580 where SC_MANHOLE targets can use items.
Fixed bugreport:6636 a typo formula in WL_WHITEIMPRISON.
Fixed bugreport:6685 a missing column in skill_cast_db.txt for WL_COMET entry.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-13 16:16:08 +00:00
shennetsind
2386f0136b Fixed bugreport:6428 Fixed behavior issues with script commands replacestr and countstr. Special Thanks to QQfoolsorellina for the extra information
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08 18:30:11 +00:00
shennetsind
5dd2e3afee Added new script command 'getrandgroupitem' as a fix for bugreport:5529, db developers will follow up with the replacements shortly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-06 20:37:07 +00:00
rud0lp20
8fc8fedf63 Fixed bugreport:6581 applied balance update to MO_EXTREMITYFIST.
Fixed bugreport:6457 where SR_CURSEDCIRCLE is not remove when target dies.
Fixed bugreport:6535 updated GN_CRAZY_WEED to its official behavior.
Fixed bugreport:6592 added a missing break in Spiral Pierce skillratio at battle.c.
Fixed a faulty skillratio formula of GN_CART_TORNADO. Thanks to Lighta

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03 02:50:41 +00:00
shennetsind
1beef8ba89 Major cleanup all over the place, made possible by mkbu95's scan-build report he provided us with.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22 20:33:06 +00:00
kenpachi2k11
521d8cb8b5 Follow up r16636 - Added the two new arguments to the buildin_areawarp_sub call in mapwarp script command. (bugreport:6526)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22 11:02:57 +00:00
rud0lp20
ed4b36e5f4 Implemented Renewal Casting System.
Fixed bugreport:2018 where CH_PALMSTRIKE deals damage to hidden targets.
Fixed bugreport:6473, bugreport:6325 SC_DEADLYINFECT should now spread status ailments properly.
Fixed bugreport:5541, bugreport:6179, bugreport:6281 where self buff skill is transfer to targets when doing a combo.
Updated AC_VULTURE where in renewal it doesn't show the hit bonus anymore in the status window.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18 07:52:11 +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
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
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
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
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