11435 Commits

Author SHA1 Message Date
Cahyadi Ramadhan Togihon
5f123519f6 Added item check for third classes (as partial merge from Hercules: 1caae98).
- 1:Normal, 2:Trans/Upper, 4:Baby, 8:Third, 16:Trans.Third, 32:Third Baby (see 'doc/item_db.txt' for detail)
- Changed almost all items class on 'db/re/item_db.txt'
- Updated 'sql-files/item_db_re.sql', also fixed SQL error (bugreport:7998)
Added 'item_unconditional' as group permission, default is 'false' (see 'doc/permissions.txt' for detail).
2013-08-21 11:33:34 +07:00
Euphy
ff86b75d26 * Standardization of new Upgrade Weapon Enchants script. (follow-up 5debd8c)
* Fixed some bugs related to Nidhoggur's Nest. (bugreport:7990)
* Follow-up ba6b57b:
- Added 'is_clientver' command to Navigation system function.
- Documented @item change.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-17 22:56:40 -04:00
unknown
5debd8c5c8 Added Upgrade Weapon Enchants 2013-08-17 17:03:45 -04:00
lighta
f2e1bd04b9 -Some scripts support
--Upd map Makefile.in to auto add header file in folder
--Upd configure to fix some debuging issue on some OS (-g flag issue)
--Upd athena-start, add --enlog option to create a log file with a tee. (all the normal console could now be logged into that file) thx to Beanux
nb : this logging option doesn't actually support file oversize
2013-08-17 09:49:28 -04:00
lighta
a9b48baad5 -Some customisation support
--Add of skill_inf3, goal is to move out the hardcoded skill list in emulator to db. (and therefor allow user to easily modify them if they wish)
-Fix of possible segfault in battle.c since r17457 (sd might be null on the camouflage bonus)
--Also fixing the fact that camouflage bonus was staying permanently.
2013-08-17 09:42:01 -04:00
lighta
ba6b57bdf3 -Some script/atcommand function work. thx to Euphy
--Update of script documentation
--Readd "instance_announce" (Broadcasts to all maps inside an instance)
--Add "is_clientver" (Checks if a player's client version meets a required version or date.)
--Add "getserverdef" (Retrieves server definitions.)
--Overload of @item to allow @item <id1:name2:name3:..> <amount> (for lazy people =)
2013-08-17 08:40:11 -04:00
lighta
342745de1a -Some clif work.
-Add packet definition for (2013-06-18, 2013-06-26, 2013-07-03, 2013-07-10, 2013-07-17) thx Shaktoh
-Optimise a bit pc_useitem processing
--Fix bugreport:7760 (Added new ranklist packet for newer client) 
--Fix bugreport:7739 (2013+ storelist had invalid offset)
--Fix bugreport:7806 (fix typo for 2013+ support and also fix breaking of old npc/merchants/cash_trader.txt)
2013-08-17 08:31:59 -04:00
Euphy
3125f09aae * Fixed Arch Bishop job quest. (bugreport:7111)
* Added two item checks in Mora quests as a safety measure. (credits: TTest)

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-14 17:36:04 -04:00
Euphy
cbdbda1f0e * Script updates.
- Added Malangdo Card Separation NPC "Richard", who refines weapons and shields.
- Added new "Job Repair" script, which fixes potential errors with job data (RE).
- Marriage script changes:
-- Permanent global variables are now temporary.
-- Added GM NPCs (The King of Midgart, Divorce Staff, Remarry Staff), commented. (bugreport:6795)
- Added some missing [Official Conversion] comments.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-14 02:19:57 -04:00
Euphy
0202126185 * Script updates.
- Added questlog support for Amatsu, Ayothaya, Hugel, Louyang, Lighthalzen, Niflheim, and Rachel quests.
- Updated Turbo Track with Renewal mounts; file split due to an NPC rename.
- Added missing cutins to Rekenber Job Quest.
- Added new "Stone Change" script (RE).
- Added Renewal coordinates to Juno's Airship Representative.
- Added Renewal sprites for Juno Soldiers (8W_SOLDIER -> 4_M_EIN_SOLDIER).
- Added Renewal Izlude Bulletin Board, but disabled unless valid coordinates are found.
- Minor updates to Malangdo Enchants dialogue.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-13 18:24:01 -04:00
Akinari1087
5c157a5ac5 Fix Highness Heal calculation : Fixes bugreport:7966
Map crash fix when casting Kaihou - Fixes bugreport:7962
Update Songs/Dances for Land Protector - Fixes bugreport:7913
Show baseATK increases in status window - Fixes bugreport:7960
Revert damage to int64 - Fixes bugreport:7939
- Also removed limit on Acid Demonstration
Changed Camouflage to increase Equip Attack - Partially fixes bugreport:7941
2013-08-13 16:07:32 -04:00
Euphy
a1adc15147 * Script/DB updates.
- Implemented Bangungot Hospital 2F instance.
- Added mob_skill_db entries for new mobs - Hall of Abyss, Port Malaya, Eclage, Nightmare Pyramids. (credits: Lemongrass)
- Fixed ATK2 column for new mobs. (bugreport:7888)

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-13 02:22:50 -04:00
Euphy
e4e8566b19 * Port Malaya updates.
- Added "Nurse in Port Malaya" quest.
- Added "Pintados Festival" quest.
- Updated all quest_db entries with correct delays and mobs.
- Corrected placeholder VIP checks: when VIP is disabled, the VIP reward is always given.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-11 21:07:19 -04:00
Euphy
94c8a9cee1 * Renewal item database update - 320 items affected.
- Added missing item scripts for hundreds of items.
- Added many new item entries.
- Updated some existing scripts with new changes. (fixes bugreport:7201)
- Uncommented all disabled items.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-08 01:43:41 -04:00
Euphy
13b281b31e * Izlude Arena updates.
- Added new Izlude coordinates and warps. (follow-up 400d0f0)
- Replaced many permanent global variables with mobcount() command.
- Removed some unnecessary global variables and OnInit labels.
- Commented all invalid label executions.
- Brought scripts up to standard with scripting conventions (label naming, spacing, etc.).
- Moved all warps from scripts into warps/ folder.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-07 23:05:07 -04:00
Euphy
32b8d2e713 * Implemented Bakonawa Extermination quest.
* Misc. cleaning.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-07 02:47:45 -04:00
Deadly Silence
7beb7edc77 Minor bug fixes
[npc/cities/geffen.txt]
- fixed bug with Psychic Advisor (bugreport:7928)

[npc/quests/seals/megingard_seal.txt]
- fixed small bug with Librarian where he would spam the NPC dialogue
  because of a misplaced "next"

[npc/re/merchants/enchan_mora.txt]
- fixed bug with wrong enchants (bugreport:7930)
2013-08-06 23:46:24 +02:00
Euphy
400d0f0319 * Restored Izlude Arena into root directory - it should never have been disabled in Renewal. (blame: r16382)
- Note: Renewal updates will follow.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-06 02:58:43 -04:00
Euphy
26036efcb7 * Implemented official kRO Novice Training Grounds (RE) script. (fixes bugreport:7923 and bugreport:7759)
- Added Job Test NPC, "Job Guide Lark".
- iRO's custom features are removed (Eden Teleporter and custom mob spawns).
- NPCs and warps are now duplicated on all new_*_* maps (reason unknown).
- Note: The script will be replaced with Cryptura Academy once the scripts are translated.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-06 02:32:56 -04:00
Akinari1087
e6565c0be2 Add cell copying across instances - Fixes bugreport:7875 2013-08-06 01:20:41 -04:00
Euphy
11860e2e1f * Script updates:
- Added warpers and duplicates for Izlude (izlude_[a-d]) and Prontera Field 8 (prt_fild08[a-d]) maps.
- Updated Eden Group warpers and added new duplicates.
- Changed "Kelitula Academy" to "Cryptura Academy".
- Added a missing OnMyMobDead label in Buwaya Cave instance. (bugreport:7929)
- Added version information to Airport script headers.

* Mob spawn organization:
- Split "City Cleaners" into Pre-Renewal and Renewal directories.
- Restored Thief Bug (Pre-Renewal) vs. Thief Bug Egg (Renewal) spawns.
- Created "Town" spawn files, holding all city spawns not in "City Cleaners" files.
- Added Prontera Training Dummies and Alberta Ship Mouses.
- Moved Jawaii spawns from "fields/" into "towns.txt".
- Moved Brasilis spawns from its own directory into "towns.txt".

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-05 19:42:00 -04:00
Akinari1087
21a0eba6fa Revert some code from 5e3bb8a
Fix SC bonus being applied too late - Fixes bugreport:7942
2013-08-02 11:17:51 -04:00
Akinari1087
7301278987 Some Skill Updates
Updated Axe Boomerange and Power Swing skill ratio formulas - Fixes bugreport:7937
- Updated Power Swing Stun rate
Updated Triangle Shot skill ratio formula - Fixes bugreport:7936
Updated Overbrand skill ratio formulas - Fixes bugreport:7938
Fixed Hundred Spear activating Spear Boomerang twice - Fixes bugreport:7899
Thanks to reineil for all the reports.

Re-added Magic Crasher fix for attack formula - Fixes bugreport:7869

Follow up to 5e3bb8a - Revert changes to attacker card fixing
2013-08-01 12:38:52 -04:00
Akinari1087
1a73141ff8 Fix card damage fixing - Fixes bugreport:7935
Fix GVG and Card reductions for skills that use separate damage calc functions
Removed some unnecessary code causing attack underflow in homunculus - Fixes bugreport:7925
Update Feint Bomb damage formula to 2011 rebalance - Concering bugreport:7912
Update Siren's Voice to 2011 rebalance formulas - Fixes bugreport:7878
2013-08-01 01:28:50 -04:00
Euphy
20153af6e0 * Script updates:
- Added new Renewal warpers for Satan Morroc maps.
- Updated "Succession of the Prince" quest with some new cases, and fixed checkquests.
- Updated portions of Ecology quest in 13.1 quests with new checks and cases.
- Added some missing 'disable_items' commands to 2004 Headgear quests.

* Other changes:
- Changed some strnpcinfo(1) -> strnpcinfo(0) in 13.2 quests. (bugreport:7853)
- Moved Rune Knight Kafra into main Kafras file.
- Revised documentation for 'addrid'. (follow-up 6572a9f)
- 'instance_id()' no longer throws an error upon failure.
- Fixed Desert Twilight/Sandstorm combo. (bugreport:7897, credits: Playtester)

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-27 16:36:00 -04:00
Akinari1087
6572a9fc72 Fix map crash from reloading after an instance is destroyed - Fixes bugreport:7883
Vending immediately fails when it cannot be used - Fixes bugreport:7894
Added script command 'addrid' - Suggestion tid:84892
2013-07-26 03:55:28 -04:00
Euphy
0fba5cb4a1 * Updated Magic Gear rental script and added many new locations.
* Split Geneticist Manuals shop (Renewal only) from main Alchemist shop script, and updated dialogue.
* Moved Izlude Bulletin Board and Signs to Pre-Renewal path.
* Updated Warlock book quest NPC name, and fixed a bug for Baby classes.
* Fixed unittalk displaying messages twice for players. (bugreport:7903)

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-26 01:48:33 -04:00
lighta
02885990e5 -Merge Herc
--c0c254f (Binary heap fix & improvement), adding swapper function in specification
--e9e8914 (Fixed typo in `SC__STRIPACCESSARY`, using equip_index instead equip_pos creating mistmatch)
2013-07-25 20:01:52 -04:00
lighta
6a90381808 -Upd SC_STONEHARDSKIN to only break weapon from Melee atk and speed up processing 2013-07-25 17:58:58 -04:00
Euphy
d32e3c89ae * Renewal Izlude updates:
- Updated warp scripts and removed disabled warps.
- Implemented Renewal Hypnotist, which resets stats and skills; moved old file to Pre-Renewal path.
- Moved and added Bullet Dealer and Magazine Dealer duplicates. (bugreport:6410)
- Moved Dorian (quests_nameless) NPC to Pre-Renewal/Renewal paths and shifted Cuskoal (izlude) RE NPC.
- Corrected some coordinates and NPC facing directions.

* Updated all 3rd_trader scripts:
- Players can now purchase multiple items at once.
- Added many new Point Merchants.
- Moved Poison Herb Merchant in Morroc out of a wall (temp. fix).

* Other script updates:
- Added Eden Group Kafra (storage only).
- Added some missing announcements in Endless Tower.
- Added exit warp scripts to three 2nd job quests (Renewal only).
- Added official Morroc coordinates in Warlock job quest. (follow-up r17224)
- Minor updates to Comodo Gambling script.
- Fixed a Zeny bug in Payon town script, and changed some 'close' commands to 'end'. (bugreport:7893)
- Renamed npc/pre-re/kafras/kafras_izl.txt to .../kafras.txt.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-25 02:32:30 -04:00
lighta
f6e76387c7 -Fix bugreport:7904 (clif warning for cashshop #else date)
-Fix bugreport:7905 (status warning for homun str calc, float to int)
-Fix bugreport:7884 (SL_STIN, SL_STUN now support casting by non player)
-Add few doc and C++ support
2013-07-25 02:21:37 -04:00
lighta
48919f06e3 Merge branch 'master' of github.com:rathena/rathena 2013-07-25 01:57:56 -04:00
Euphy
f0927dcb85 Merge branch 'master' of https://github.com/rathena/rathena 2013-07-24 18:41:20 -04:00
Euphy
6bed814550 * Implemented new Guides with Navigation. (source: Muad_Dib)
- If your client does not support them (anything below 2011-10-10), disable the feature in npc/re/guides/navigation.txt.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-24 18:37:36 -04:00
Deadly Silence
489dda35cc Merge branch 'master' of https://github.com/rathena/rathena 2013-07-24 23:27:42 +02:00
Deadly Silence
695e832846 [Port Malaya]
- added missing quest parameters (monsters to kill, timers, etc.)
- added quests (Cautios Village, Get Rid of the Jejeling, Jejeling and
  Jejellopy, Marie's Child, etc.)
2013-07-24 23:19:25 +02:00
lighta
8c14fb9367 -Remove mapflag name in msg_conf for @mapinfo since the name of the mapflag shouldn't change. 2013-07-24 14:44:22 -04:00
lighta
329bf2fc0a Fix bugreport:1200 (Maprespawnguildid Kicking Guildless Players) 2013-07-24 11:51:51 -04:00
lighta
e28c507477 Fix bugreport:7806 (cashshop buy_list index typo for 2012 client, remove duplicated code)
Upd gitignore to exclude conf/msg_conf/import as well
2013-07-24 11:42:23 -04:00
Akinari1087
e130395a4c Bug Fixes!
Mechanic Neutral Barrier updated - Fixes bugreport:7874
- Blocks ranged and splash attacks
- Gives % bonus to DEF and MDEF
- Cannot be removed by Land Protector
- Updated to 5x5 AOE
- Can be cancelled by casting a second time

Stealth Field updated- Fixes bugreport:7816
- No longer blocks AOE damage
- Cannot be removed by Land Protector
- Updated to 5x5 AOE
- Can be cancelled by casting a second time

FAW Silver Sniper and Magic Decoy updated - Fixes bugreport:7871
- FAWs get HP and ATK or MATK bonuses correctly now
- New AI added for these

Maximize Power no longer stops SP regeneration in pre-re (credits: Evil) - Fixes bugreport:7881
Gate of Hell now updates ATK correctly to HP and SP levels (credits: Aleos) - Fixes bugreport:7886
Comet now works as intended when with other Warlocks (credits: malufett) - Fixes bugreport:7854

Fixed minor issue where setting a monster to an AI with a script command could cause an error.
Songs/Dances are now removed by Land Protector/Ganbantein (helvetica).
Updated homunculus ATK to support renewal attack.
Fixed an issue where Summon Legion mobs weren't getting the correct stats placed on them.
2013-07-24 03:48:38 -04:00
Euphy
c2bdd52865 * Kareka now offers to reset enchantments on Light of El Dicastes. (bugreport:7890)
* Fixed Malangdo rentals lasting for 1 day instead of 1 hour. (bugreport:7889)
* Added Old Glast Heim location to custom warper.
* @mobinfo now displays slots for MVP drops.
* Fixed a label execution in Dancer job quest.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-23 15:21:32 -04:00
Euphy
914dbdafe2 * Implemented Old Glast Heim instance by Ziu/Heris; all scripts and mobs are custom.
* Added official Port Malaya Jeepney warp scripts.
* Fixed some minor bugs in Mora Enchants. (credits: TTest)
* Fixed a wrong quest_db entry. (bugreport:7865)

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-22 22:15:55 -04:00
rathenabot
95eb386317 Merge branch 'master' of https://github.com/rathena/rathena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-20 17:21:50 +00:00
j-tkay
7a057f7f4a Updated ep13_start and dialog to match official script.
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
2013-07-21 01:20:25 +08:00
rathenabot
fa3e8fb5a7 Merge branch 'master' of https://github.com/rathena/rathena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-20 06:50:12 +00:00
Euphy
be95412ae2 * Updated Renewal EXP and re-added Pre-Renewal EXP support to lots of scripts. (blame: r15060, fixes bugreport:6288, completes r16545 update)
- Local quests: Alberta, Ayothaya, Einbroch/Einbech, Hugel, Lighthalzen, Louyang, Morroc, Moscovia, Nameless Island, Prontera, Rachel, Veins, Episode 13.1, Episode 13.2
- Other quests: Airship, Eye of Hellion, Kiel Hyre, Wandering Minstrel, Juperos, Brisingamen Seal, Megingard Seal, The Sign, Party Relay
- Mini-games: Hugel Monster Races, Turbo Track
* Deleted some useless 'break' commands and replaced some 'menu' commands in scripts.
* Documented the <NAVI> and <URL> tags. (Hercules 7e58225)
* Added documentation for "OnTouchNPC" in the special labels section.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-20 02:48:46 -04:00
rathenabot
1911e0fda4 Merge branch 'master' of https://github.com/rathena/rathena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-19 03:34:00 +00:00
Euphy
be2428b832 * In Pre-Renewal, players can use items and self-targetting skills while talking to NPCs. (continuation of bugreport:6527)
* Fixed an issue in Malangdo quests. (bugreport:7863)
* Fixed two incorrect event calls in Assassin job change quest.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-18 23:32:25 -04:00
rathenabot
c363ee5c30 Merge branch 'master' of https://github.com/rathena/rathena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-18 14:58:56 +00:00
Euphy
743d5fa4d0 Merge branch 'master' of https://github.com/rathena/rathena 2013-07-18 02:32:18 -04:00