100 Commits

Author SHA1 Message Date
ai4rei
e560ba458b * Revised argument declaration of all script commands according to the actual functions' argument usage.
- Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments (faulty declaration).
- Corrected use of dummy parameter for guildopenstorage in scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-10 22:29:12 +00:00
Inkfish
c3f733849c Random fixes to some script typos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14153 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-18 15:39:24 +00:00
Gepard
de0efc5bbd Fixed WoE:FE castles spawning too many Treasure Boxes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-10 19:09:00 +00:00
L0ne_W0lf
82fd1bd8be * Added new broadcasting support from r14120 to WoE scripts.
- "Conquered" messages can now be effectively toggled off in Battle log
- Added fontsizes for WoESE messages. (At least the non-default sizes.)
* Added font weight constants, although they don't seem to do anything.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 19:41:37 +00:00
Playtester
f8ef62df87 * Applied BrianL's castle switch fix (bugreport:2969)
* Fixed slotted Memory Book not giving the combo bonus (bugreport:2997)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-20 19:11:16 +00:00
Playtester
c8d8f1e3c0 * Optimized the renters.txt thanks to various people
* Fixed an Aldebaran castle flag thanks to BrianL

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-01 15:48:47 +00:00
L0ne_W0lf
4dd82cd1e8 Follow up to r13559, r13560 and r13561. Moved some stuff around in the WoESE agits, and corrected a few mistakes I made.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 18:28:22 +00:00
L0ne_W0lf
ee268541d4 * Applied the updated eco/def investment system to Rachel WoESE castles, Juno's next.
* Corrected the conditions in the if block that I goofed up, in agit_template.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 05:41:17 +00:00
L0ne_W0lf
76397f8bc7 * Another round of bug fixes to various scripts.
- Added Satan Morroc spawn and corrected shadow spawn timers. (bugreport:2690)
- Fixed Group of Evil NPC not reactivating  when it should. (bugreport:2696)
- Fixed the Zeny check when summoning guardians in agits. (bugreport:2712)
- Added zeny check to Jawaii bartender (hung the script.) (bugreport:2747)
- Corrected a mapwarp assosiated with the z-gang quest. (bugreport:2757)
- Fixed warps in ice dungeon 3 being usable all the time. (bugreport:2776)
- Corrected impossible condition if in Keil Hyre quest. (bugreport:2789)
- Corrected leftover aegis variables in several scripts. (bugreport:2794)
- Removed duplicate line from nameless quest. (bugreport:2795)
* Implemented official behaviour/Cost for investing in economy and defence
- Eco/Def will be modified on the turn of the day instead of immediately.
- Cost has been updated to official values. Investing twice now costs 4 times the first investment.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 04:11:22 +00:00
L0ne_W0lf
23f6662b0b Fixed Econ values in agit_template. Commited by accident, as it's not finished.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 21:28:26 +00:00
L0ne_W0lf
0f671dc55a - Corrected issues with the Keil Hyre quest. (bugreport:2511)
- Corrected minor typo in alchemsit quest. (bugreport:2530)
- High Aco is now given skills on change. (bugreport:2552)
- Added item checks to Ice Necklace quest.
- Uncommented a warp in morroc_fild.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 21:22:35 +00:00
zephyrus
c830a56da3 - Item Rental System.
Script Usage:
- rentitem <itemid>,<seconds>;
- rentitem <itemname>,<seconds>;

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16 16:14:30 +00:00
zephyrus
d2d38d0d53 - Little optimization on agit_template.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-23 17:59:23 +00:00
L0ne_W0lf
d412bbc60d * 13026 Added iRO Repeatable EXP quests care of Kisuka.
* Updated guild scripts, removed interior flag dialog.
* Applied some Payon 1 script fixes from bugreport:1941.
* Cost is now doubled when investing a second time in eco or defence.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 14:24:26 +00:00
shadow
a98253bcc4 Converted skill commands integers to strings. Follow up on r12814
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 10:13:14 +00:00
Lupus
f7cb030349 Fixed more +name+ garbage to +strcharinfo(0)+
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-04 06:00:48 +00:00
L0ne_W0lf
93e85de290 Fixed variable typo in guild scripts. (bugreport:1514)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-16 11:11:10 +00:00
L0ne_W0lf
1ac9289217 * Fixed a loading flag emblem for Payon 1.
- Also fixed two typos regarding Guild Steward name.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 21:21:25 +00:00
L0ne_W0lf
966618bee0 * Fixed guild manager charging twice for invest
- Corrected some treasure room switch sent-to spawns.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-11 14:30:17 +00:00
L0ne_W0lf
d1a15516f5 * Fixed times-invested not resetting in WoE scripts.
- Fixed a warning when the standard chest spawn time triggered.
- Corrected several flag-in spawn points, (burgerpot:1475)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-08 16:05:45 +00:00
L0ne_W0lf
070b507516 * Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt"
- System is set up to mimic Aegis, some parts are still lacking.
- Documentation on the new system is forth-coming.
- Updated Novice WoE scripts to keep them from breaking.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 23:34:14 +00:00
L0ne_W0lf
3191c1edef I hate the guild castle scripts. Reverted a change.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 20:34:16 +00:00
L0ne_W0lf
31256d4e94 Another Small update to castle ownership announcement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-12 06:02:15 +00:00
L0ne_W0lf
38b3a9768a Small update to castle ownership announcement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-12 04:47:18 +00:00
L0ne_W0lf
edd19c4e08 * Several small fixes to scripts, and updates.
- Updated City warps for Lighthalzen, and dugneon warps.
- Updated castle warps for Schwaltzvalt Castles Map.
- "The Sign" quest is now enabled by default. (bugreport:1011)
- Added Dimensional Gorge map spawns (According to RO Future Wiki)
- Updated Lighthalzen boss spawning mechanisim to official.
- Fixed a small error in the novice potion exchanger.
- Resolves the following: bugreport:879 bugreport:973 bugreport:983 bugreport:1013 bugreport:1021 bugreport:1024 bugreport:1026

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 06:16:21 +00:00
L0ne_W0lf
1dd26ae46d Castle ownership displays at the start and end of WoE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-08 15:32:18 +00:00
L0ne_W0lf
3fd5ba0c7d Started fixing bugreport:899 and fixed bugreport:875
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 00:38:56 +00:00
ultramage
4cd9a940e5 Corrected one setcastledata call that I missed in r11915
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-20 22:22:36 +00:00
ultramage
1e6922174e Guardian hp handling code removal (see bugreport:342)
- removed guardian hp from the castle data structure, database, savefiles and various script functions (use upgrade_svn11914.sql)
- removed guardian hp calculation and manipulation from the castle manager npc, now the hp values are updated by the server itself (glitch: when castle defense changes, all guardians are healed to full)
- tweaked script function 'guardianinfo' to provide some data needed by the manager npc (currently available are hp, maxhp and visibility); also, it doesn't need a player attached to execute anymore
The whole thing is experimental, use at your own risk (seems to work though...)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-14 23:38:11 +00:00
FlavioJS
71efbff724 * Commited the quick fix "emps not respawning if the emp breaker logs off". (from r11630 bureport:369)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-14 10:57:38 +00:00
L0ne_W0lf
da3f962b22 * Minor fixes, guild manager, and a couple others.
- bugreport:579, attempt at fixing bugreport:581
- Fixed a typo in the hunter quest. (Not noticable really.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-14 00:58:20 +00:00
ultramage
7dc104912b Fixed a bug in r11633 always spawning only 1 chest type
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-09 08:05:22 +00:00
L0ne_W0lf
6182a13c05 * Fixed some minor guild script related bugs.
- And no, this does NOT fix the Emperium spawning issue.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26 22:19:53 +00:00
L0ne_W0lf
cceb752c18 * Fixed Guild Manager access to Guild Master only.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-17 04:05:51 +00:00
L0ne_W0lf
c5b41e20b8 Another Luina guild manager fix (In an I never updated that worked fine before.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06 17:36:41 +00:00
L0ne_W0lf
c187942eee Corrected aldeg_cas02 treasure room coordinates. Fixed bugreport:359
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06 05:13:03 +00:00
L0ne_W0lf
e63e86fb83 Corrected an typo in the guild flag function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-03 21:52:17 +00:00
L0ne_W0lf
675f48c26f * Rather large update to the WoE scripts.
- Eliminated unofficial map-broadcasts (opening treasures/guardian death.)
- Fixed several errors in guardian spawning (script-wise.)
- Treasure spawning itself is done weird... What exactly is the last paramater for anyway? Near as I can see it's ALWAYS 1. Why is it used? what does it do? Why is it undocumented? Mysteries and more!
- Updated dialog and restructured several NPCs.
* Created a unique function for novice WoE as the new manager does not support it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 01:15:07 +00:00
ultramage
78dd6eda46 Removed code that queues OnAgitEliminate after the Emperium is broken, this is now done properly by the gvg script instead (partially deals with bugreport:342).
If you have any extra castles, update your scripts accordingly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-01 16:34:21 +00:00
L0ne_W0lf
37e98485d1 * Added a return at the end of several scripts. Should deal with errors being shown in due to a recent commit by FlavioJS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 23:40:07 +00:00
ultramage
569049e33d Fixed a typo from r11221 causing castle problems after they've been conquered.
Converted rest of variables used to temporary script vars.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 14:20:52 +00:00
ultramage
8f931716ed Some small adjustment to the P.o.S. guild script...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-15 20:09:03 +00:00
ultramage
a6cd45f05d * Fixed north prontera kafra having an empty warp list
* Removed junk &#1038;A text from the 2004 headgears
* Changed deprecated Job_Alchem to Job_Alchemist (see r10904)
* Fixed a typo in a geffen city npc (Job_Merhcant)
* Fixed a typo in the Jobmaster custom script (Job_Gunsliger)
* Fixed one old eAAC Quest Warper bug (warp to nonwalkable coords)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-31 21:27:01 +00:00
L0ne_W0lf
935b4fd323 * Fixed the OnAgitBreak message being map-only and not global when a castle is taken. (Lil DomX)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-30 23:33:52 +00:00
ultramage
d3d77a69d1 typo fix (hte -> the)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-26 06:42:04 +00:00
L0ne_W0lf
942687c211 * Rather large Kafra update. (May need further testing)
- Updated a good portion of the kafra functions.
- Added proper dialog for most functions.
- Updated guild Kafras and some o f their locations. 
* Updated all Guide NPCs. They are now mostly 100% official.
- Renamed some of the old files to make them look better, IE: yun to juno.
- Added Kunlun and Ayotaya guides.
* Added the Einbech tool Dealer since it seemed to had gotten lost when I updated shops.
* Updated Dye Maker and Hair Dyer to official. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-25 20:22:54 +00:00
Lupus
1b6f10f6b6 added missing OnTouch to Guild Wars script. removed extra set @xxxx
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-04 05:02:24 +00:00
L0ne_W0lf
8bc79d319d * Updated 2006 headgear quests to semi-official dialog.
* Various updates to the various guild Castle scripts.
- Added Guild Master Room protection. Further security so only the master of the current castle can enter the treasure room.
- Updated Guild Castle Flags  again. Updated remaining dialogs to official.
- Updated a couple announces for when the Emperium breaks. Both are now up to par with iRO.
- Moved nguild to the events folder and commented it out, as it was a kRO event that was used twice. Updated .confs to reflect this change.
* Added the first class skill resetter into Prontera. She resets players under base level 40 who are first or expanded class.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-04 01:11:21 +00:00
L0ne_W0lf
16abe23de2 * Guild flag update.
- Guild flags in town by default will no longer show dialog. (changeable)
- Updated several guild flag positions and rotations, and removed some others all together.
- Added the second set of Payon town guild flags in the northern section
- Updated novice WoE flags with the new argument.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-27 16:12:14 +00:00
ultramage
45c732b05d More eof eols (followup to r10401); skipping /npc/custom and /npc/samples
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29 08:39:36 +00:00