155 Commits

Author SHA1 Message Date
L0ne_W0lf
dc0977ed37 * Quest log kill count now updated properly. (Added from topic 253813)
* More battleground editing, and some bug fixes.
- * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING *
- Rewrote the Badge Exchange NPC in bg_common.txt, is official now.
- Other changes to the bg_common folder, including disabled GM NPC.
- Completely rewrote Flavius for the most part, from ground up.
- Moved old Flavius battlegrounds to /custom/battleground folder.
- Restored original bg_common, and KVM to /custom/battleground
- Fixed wall bugs in Tierra Gorge, and added an oninit to the timers.
- Other minor tweaks to both Tierra Gorge and KVM scripts.
- Fixed the pseudo-cooldown on KVM not working properly, I hope.
- Added global time2str function which will be used later in Endless tower.
* Applied Epoque's mapflag clean up, which removes flags from scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14 16:06:23 +00:00
L0ne_W0lf
a9a0d68dca * Documented Battleground commands with as much information as I've got.
* Another rather large overhaul of the battlegrounds.
- in bg_common.txt, stripped out several more NPCs, split them off.
- Most of the NPCs in bg_common.txt are now official Aegis versions.
- Completely rewrote Tierra Gorge for the most part, from ground up.
- Moved old Tierra Valley battlegrounds to /custom/battleground.
- Added Tierra scripts, Flavius, and bg_common to scripts_athena.
- Tierra, KvM, and bg_common scripts are now enabled by default.
- To use custom Flavius, you must enable /flavius/flavius_enter.txt
- * TIERRA GORGE AND KVM BOTH REQUIRE TESTING *


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-11 18:17:26 +00:00
brianluau
96aad4d94d - Fixed % issues with Battleground Medals. (bugreport:4062)
- Removed a duplicate line in item_trade.txt (bugreport:4258)
- Added missing bonus to Ifrit's_Ear (5421). (bugreport:2062)
- Fixed Coal Mine and Culvert mixup in custom warper. (bugreport:4203)
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-28 06:59:49 +00:00
brianluau
2b305d5a62 - Added documentation for 'setiteminfo', follow up to r9938. (bugreport:3360)
- Added @reloadmobdb to the custom Floating Rates script.
- Added a missing check in THQS. (bugreport:4107)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-16 21:14:33 +00:00
brianluau
d4ce4633b4 - Moved the Zeny subtracting in the custom eAAC coin banker, so that the
script aborts _before_ giving items, not afterwards. (bugreport:4057)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-16 22:07:11 +00:00
ultramage
df78683650 Moved the delitem() call in the custom eAAC coin banker, so that the script aborts _before_ giving zeny, not afterwards.
This fixes an infinite zeny exploit in the npc (bugreport:4057).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14244 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-13 17:06:31 +00:00
brianluau
219a527c17 - Fixed some 'input' max value checks not working after r12192. (bugreport:3436)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-30 23:18:21 +00:00
brianluau
4ed47c3153 - Moved the anthell warp agent to the new entrance. (bugreport:2801)
- Added missing 'F_GldTreasSw' function for Novice Castles. (bugreport:3292)
- Removed OnTouch trigger area from Continental Guard NPCs.
- Corrected the observatory warp portal. (bugreport:3293)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-26 20:39:22 +00:00
Paradox924X
d5513cd99e Rewrote Platinum Skill NPC to give all correct skills to all proper classes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-06 14:44:02 +00:00
Paradox924X
09fef19f9f Fixed several issues introduced by Kisuka and/or Spre in r13214 with custom platinum skills script. Fix by Ancyker (bugreport:3190)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-06 10:56:21 +00:00
brianluau
1eaef19afe - Fixed double-quotes not being escaped in the custom xmas_rings_event. (bugreport:2546)
- Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 07:47:02 +00:00
ultramage
bae7ecf012 Reverted the "The md5() of their kafra code is now stored in #kafra_code$" change from r13728.
Added md5calc to vs8/vs7/vs6 project files.
Applied svn:eol-style to the new sql upgrade file.

Note that if you already applied the sql upgrade, your kafra passwords are lost.
Also note that txt users will still have to implement their own migration code into the kafra scripts since it was omitted in the previous commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 12:29:54 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
brianluau
791429c7b0 * Removed the obfuscation of the #kafra_code password. (bugreport:2323)
TODO: add a 'md5()' script command and use that instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:30:20 +00:00
brianluau
a11e789e0a - Fixed some typos in the script command documentation. (bugreport:2547)
- Fixed a misleading message in the custom Job Changer. (bugreport:682)
- Updated some NPC's facing directions. (bugreport:3030)
- Added missing newline in some ShowWarning(). (bugreport:2940)
- Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035)
Now, the seconds are rounded up to the next whole minute.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 20:23:30 +00:00
akrus
7b42ee82c1 typo :o
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-12 09:39:17 +00:00
Kisuka
c9c3700399 - Added missing bonuses for 'Maiden Hat'. (bugreport:2826)
- Fixed an issue with Battleground Exchange NPC. (bugreport:2839)
- Fixed an issue with Platinum Skills NPC. (bugreport:2847)
- Fixed some typos and engrish in iRO Experience quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-12 09:20:58 +00:00
Kisuka
d95ad1e02a - Small fix to zeny check in airships.txt (bugreport:2763)
- Fixed a typo in thana_quest.txt (bugreport:2783)
- Added missing dialog to Biological Weapon Quest. (bugreport:2778)
- Optimized and fixed getequipname() in card_remover.txt (bugreport:2156)
- Added missing npc name in Lvl4_weapon_quest.txt (bugreport:2764)
- Updated item scripts for 12294 to 12297. (bugreport:2766)
- Updated item 1483 (Ivory Lance). (bugreport:2753)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-18 23:57:29 +00:00
Kisuka
1887aa4d3c - Relocated 'Maseph' npc to moc_fild07. (bugreport:2749)
- Removed duplicate text from hellion quest. (bugreport:2738)
- Starting to translate any Japanese text I find in eAthena.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-07 04:59:49 +00:00
Kisuka
283de6f7a1 - Typo fixes to THQS.
- Few fixes on warper.txt
- Official warp cords for Kafra Teleport Service.
(Someone delete Custom folder already before l0ne kills himself! :<)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13431 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-04 11:18:10 +00:00
Kisuka
af9aaee213 - Oops, forgot lutie and had payon and prontera backwards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-27 00:05:12 +00:00
samuray22
f78f7d20f6 * Continues replacing of specialeffect/2 numerics with constants.
* Corrected an If to continue the President's Quest. (bugreport:2276)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-27 12:41:13 +00:00
Kisuka
99db5084fb - More optimization to custom folder. (Optimized by Spre)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 20:03:15 +00:00
Kisuka
0264d62651 - More optimization of custom folder.
- Removed Fredzilla's duping auction script (no need for it since we have official auction system).
- Removed 'Temp Gefenia Warper' because we have 'The Sign Quest'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 18:27:59 +00:00
Kisuka
20a6949875 - Optimized warper.txt for the greater good.
Note: I may optimize all of 'custom', it all depends on how bored I am.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 13:36:51 +00:00
ultramage
115c5b6896 Removed the mob controller system, now a customization (see topic:194375).
The system consists of
 * script command to spawn a controlled mob
 * script commands to attach npcs to such mobs and manipulate their AI
 * a page of documentation for these commands
 * callbacks at various source code locations that invoke the attached npcs
 * two npc examples

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 05:37:40 +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
L0ne_W0lf
0cf4f6a0fb Don't typically update custom NPCs, but this was a special request and should fix an exploit in the card remover.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 06:12:36 +00:00
L0ne_W0lf
f59fdd3531 Updated NIflheim Town and Quest NPCs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 04:28:25 +00:00
zephyrus
fa64cdae0d - Added the official adoption method.
( Parents need to create a party, invite a novice/first class, both equip the wedding rings and someone just right click the future baby ).
- Fixed a bug sometimes client don't show job's bonus stats.
- Removed the problematic adoption script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18 04:32:20 +00:00
Paradox924X
61c61b6fe9 Updated Poring Tower to not refinable. (bugreport: 1050)
Renamed custom Stylist to Stylist#customstylist to avoid conflicts with official one. (bugreport: 1042
Updated Airship Typing Challenge to not fail you when you get both strings correct. (bugreport: 1008)
Fixed Job_Change Function to properly jobchange babies. (bugreport: 943)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-15 18:51:07 +00:00
Paradox924X
f22bd95313 Updated WoE Check in Shift Assassin Script. (bugreport: 1059)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-13 22:19:52 +00:00
Lance
c1e74aec10 Minor fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-23 16:24:26 +00:00
ultramage
2828ad34c8 restored custom events directory (deleted in r12177), moved it to where it was supposed to be moved
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-08 08:10:46 +00:00
samuray22
39d2d8fba7 * Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921)
* Corrected a lot of ";;" Typo errors.
-Some of this are in the bugreport:919
* Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911)
* Corrected some typo error with "rouge". (bugreport:909)
* Moved Custom Event folder to Custom Folder.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-05 17:54:03 +00:00
ultramage
74a13cebfc deleted extra files (followup to r12086 ~.~)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 09:20:27 +00:00
ultramage
9d3728dae2 Fixed some svn history deletion in r12085, synced with /trunk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 09:17:55 +00:00
samuray22
b4a3935264 * Fixed a little Error with a label on Hall Of Fame. (bugreport:722)
* Fixed another typo error in Novice Training Ground. (bugreport:740)
* Fixed a typo error in duplicates of Mr.Smile Quest. (bugreport:749)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-06 05:43:21 +00:00
Paradox924X
808d290ab6 Fixed a line in eAAC Quest Warper causing crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-23 18:44:07 +00:00
samuray22
3f1793ee12 * Fixed Missing Variables in Metto quest. (bugreport:473)
* Deleted some unused Variables in Bio Ethics quest.
* Changed some bad RGB Codes in THQ. (bugreport:211)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22 22:31:07 +00:00
L0ne_W0lf
b95f742af8 Fixed some NPC headers in the custom scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 22:38:33 +00:00
L0ne_W0lf
98f7de7a57 * Some NPC and CONF file clean up. More duplicate removal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 22:02:39 +00:00
L0ne_W0lf
1607b50c59 Uncommented the ShowWarning and ShowDebug from rev. 11508, and cleaned up the warnings it produced.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 22:04:47 +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
samuray22
0690c75453 * Fixed a Little Typo Error in Breeder NPC (Custom).
-Thanks to ~AnnieRuru~.
* Fixed a little typo error in Prontera Guide (Extra RGB Values).
-Thanks to Brainstorm.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 23:40:07 +00:00
ultramage
4814888f0d * Moved quest_variables.txt to /doc
* Added comments to some getitem/delitem calls
* Disabled nightmare drop in the custom mvp arena script
* Fixed problem with baby novice + swordsman quest (topic:160247)
* Fixed a typo and problem in the airship typing challenge

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-07 20:41:23 +00:00
ultramage
e7e0ddde9d Fixed certain typos in src/npc/doc files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-01 08:14:36 +00:00
ultramage
8ce46993a7 - added proper comments to login packet 0x277
- added a missing \n to one login server warning
- silenced one "dc[4] might be uninitialized" warning
- fixed an apparently wrong abra_db.txt entry (venom splasher: 40000)
- removed .gat from the remaining npcs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-10 10:52:30 +00:00
ultramage
f26bc90351 * Added a null-pointer check to skill_initunit() to prevent a crash
* Added a while() loop to the client packet processor (for performance)
* Added support for kRO 2007-05-14aSakexe langtype 0 login packet 0x2b0
* Added Job_Baby_Alchemist define to complement the Job_Alchemist update
* Added custom Hollow Poring mob_db2 entry

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-06 19:05:37 +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