116 Commits

Author SHA1 Message Date
daegaladh
f49b3d6f55 Full npc folder reorganization. (I hope I didn't break anything D:)
-Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders.
-NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences.
-For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates.
-All pre-renewal files has been reverted back to their pre-renewal behavior.

TODO:
-Correct pre-re quest rewards.
-Check for pre-re/re differences in mapflags.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 04:29:56 +00:00
shennetsind
086af74531 Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them.
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08 19:30:07 +00:00
brianluau
79767f97bd - Fixed guild emblems not showing on flags at server start. (bugreport:5796, since r15657)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24 17:32:14 +00:00
masao87
e31be3cd2c - Added Magic Book Quest for Warlocks.
- Followup r16102
* Correctly fixed bugreport:5030 now.
* Restorded scripts_custom.conf since mine accidently got commited with my last commit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 16:07:52 +00:00
masao87
cfa8d5c68e - Updated town.txt to allow Mailbox access in all the newer cities. bugreport:4457
- Removed easter.txt event and the corresponding mobs in mob_db2.txt  and mob_db2.sql since they collide with Satan Morroc minions Mob ID's. bugreport:1240
- Updated Magical Amplify Power cast time to only be affected by item bonuses. bugreport:2777
- Added missing Economy check in agit_main and some missing close; also fixed bugreport:5030
- Added Credits for Ziu in Falcon Flute NPC.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 14:28:16 +00:00
brianluau
a5b8772792 - Follow-up to r15923: fixed renamed file not being svn-copied (and lacking svn history).
- Added svn:eol-style=native property for some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 15:17:49 +00:00
masao87
49459d342e - Guild folder update.
* Partially rewrote all castle files and updated all Castle flags, NPC's and warp coordinations to latest available official file.
* Renamed agit_template to agit_main and also updated it to latest available official file.
* Removed the Treasure Room Protection from agit_template and separated it into another file which will now be known as trs_rp.txt
- trs_rp.txt will allow that only the Guildleader can be in the Treasure Room, if you want to disable this protection just set an // in scripts_guild.conf before npc: npc/guild/trs_rp.txt .
- Moved payon castle map warps from warps/cities/payon.txt to warps/guild/guildcastles.txt .

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 14:48:03 +00:00
brianluau
5c60eb69e5 - Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).
- Also enforce sd->emotionlasttime for pet emotions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 08:26:58 +00:00
gepard1984
f810293de3 - Guild Castle code cleanup:
- removed `MAX_GUILDCASTLE` limit
  - char-server now caches guild castles in `DBMap`
  - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS`
  - disallowed declaring guild castles on maps that are on other map-servers 
  - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287)
  - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit''
  - optimized castle data load packets (bugreport:287)
  - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data)
  - updated related docs
- Added `db_size` macro.
- Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 18:37:29 +00:00
gepard1984
fc400a1838 Removed gvg_eliminate_time battle config, as it was only used by scripts. Replaced its occurences in War of Emperium script with default value (7000ms) (bugreport:137).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-02 21:16:23 +00:00
brianluau
00367cd7b7 - Removed more trailing tabs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 20:17:55 +00:00
masao87
b2324030b6 - Lot's of Bugreport fixes and stuff.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-02 19:37:08 +00:00
brianluau
e8b07466ec - Changed Gld_Trea_Protect: guild members (who aren't the Guild Master) ARE allowed in the treasure room. (bugreport:4839)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-31 21:56:42 +00:00
mercurial123
0f47604f2d - Replaced all occurrences of "eAthena" to "rAthena" string
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 21:30:42 +00:00
brianluau
b6e6bec3c6 - Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 22:40:00 +00:00
brianluau
1c0abe84ef - Fixed a possible exploit in guild castle investment. (bugreport:4929, topic:272783)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-24 07:59:43 +00:00
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