7387 Commits

Author SHA1 Message Date
zephyrus
bc00263633 - Mercenary Database Reading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-22 15:14:07 +00:00
zephyrus
144ae2e37a - Ups. I forget this merge about Basilica (caster cannot walk).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-22 12:13:13 +00:00
zephyrus
6987e4e259 - Starting Mercenary's Project.
* Mercenary DB files. (Thanks to L0ne Wolf).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-22 11:22:46 +00:00
zephyrus
c6af5ab8d5 - Big update to Basilica, implementing official behavior.
* Basilica caster cannot walk.
* On Basilica area, only caster can use Basilica again to stop it.
* On Basilica no one can use skills. (Previous bug on eA because you can use support skills on it, also caster).
* Only Pressure can bypass Basilica protection.
* Any enemy of the caster bounce 2 cells back from basilica, except Boss type. (Bugreport 2099).
* Any monster can target you on basilica and try to attack you, also with skills, but damage is reduced to 0, except Boss.

Notes:
- Basilica Cell stuff is not used anymore... is it required?
- Still need to add a check previous to cast basilica because if there are mobs, items, npcs, walls, skills around the caster (7x7 i think) the skill should fail.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 20:38:32 +00:00
L0ne_W0lf
9a11c75c3e Archer and Knight guardians (WoE 1.0) will no longer detect hidden.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 17:13:24 +00:00
zephyrus
75acf439cf - Fixed a bug. Warp portal cannot be casted on dead players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13104 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 15:28:09 +00:00
ultramage
c2ba03b6e2 Deleted zombie extern variable declaration which was causing a "static declaration follows non-static declaration" gcc compilation error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 01:27:25 +00:00
L0ne_W0lf
25933ddfdf Follow up to r13091, fixed weight check in stone dismantler.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 21:10:05 +00:00
zephyrus
c1fa49b7e6 - New invisible walls system (for WOE SE and Battlegrounds).
- New script commands for this system "setwall" and "delwall"
- Added other scripts commands "changelook" (can be used to try clothes colors, hair styles, headgears, etc without saving this on logout).
- Added getmobdrops to request a list of drop and rate of an specified class.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 20:56:35 +00:00
zephyrus
ab500d3207 - More cleanup of Barricades (final i think)
- Fixed a bug, missing sizeof(add_steal_rate).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 20:08:00 +00:00
zephyrus
1c9ed48637 - Do not trigger event if killed by script at all.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:48:35 +00:00
L0ne_W0lf
a4a518d6cc * Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick.
- Skill will now remove KA-type statuses and not remove stalker's link while preserved.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:47:02 +00:00
zephyrus
6b6ef43c4b - Removed my barricade implementation. Not required in WoE SE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:40:53 +00:00
zephyrus
6ff274c89c - Fixes on schg_cas02 and arug_cas01.txt
- Official Meteor Storm. Meteors can fail and just not fall, and only fall where you can get a shootable path.
* Tested on Aegis with help of ultramage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:24:19 +00:00
L0ne_W0lf
1f0d1cd052 * Fixed invalid element warning in mob database.
* healing staff and similar items now add to offensive heal as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 19:00:19 +00:00
ultramage
e3d39453fd * Fixed a storage saving issue with txt charserver (bugreport:2084)
- caused by incorrect idb_ensure -> idb_get change (see r12950)
- removed redundant account_id variable from storage data
- cleaned up the very messy txt storage handling code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 16:00:30 +00:00
FlavioJS
442204b547 * Added global sql settings 'sql.*' to inter_athena.conf.
* Made account, ipban and loginlog use the global sql settings when the hostname is empty.
* Commented 'ipban.sql.*' and 'account.sql.*' so they default to the global settings.
* Removed deprecated settings 'case_sensitive' and 'add_to_unlimited_account' from in login_athena.conf.
* Made inter_athena.conf be imported from login_athena.conf instead of being handled separate.
* Changed ipban to get the failed login attempts of an ip from loginlog (respects if loginlog is enabled or not).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 15:48:57 +00:00
L0ne_W0lf
57a39c5ecc * Fixed bugs in some items. (bugrepot:2059)
* Added stats for some mobs, and fixed some others.

* Rather large update to the Keil Hyre quest.
- Update does not add any of the changes made by iRO.
- Many updates, see script or tracker for details.
* Fixed condition check in turtle island warper. (bugreport:1943)
* Removed the duplicate NPC "Mudie" from Hugel City. (bugreport:2079)
* Corrected Umbala Dismantle/create Essence NPC. (bugreport:2089)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 00:16:37 +00:00
ultramage
78f10d9ac2 Fixed incorrect array capacity / format string for txt mapreg loading code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-18 09:49:02 +00:00
ultramage
4c2a6255cd Merged a critical fix to charserver online tracking code (see r13087).
Corrected wrong variable use in txt charserver online tracking code (mistake in r4726).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-18 04:30:57 +00:00
ultramage
26a6b9c61c Fixed some messed up operator priority in the mapreg code (bugreport:2078).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-17 06:06:28 +00:00
zephyrus
83f55ea8bf ** Please update your server ASAP. **
- Fixed a wrong auth process, setting account offline in Login server when accessing Char server. (OMG!)
- Fixed a bug on TK_JUMPKICK. It should only do damage if can reach target.
- Fixed bug on Arug_cas01 script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-17 00:21:13 +00:00
ultramage
de3e8cf874 Added a mapreg txt->sql converter script to /tools, because the sql mapserver doesn't read the txt mapreg savefile anymore and people will most likely want to preserve their global variables.
The script is php-based and requires the php_mysql module.
The script produces a series of INSERT statements, ready to be imported to the database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-16 07:17:35 +00:00
Yommy
797806ca93 Fixed typo in disable/enable npc's (bugreport:2027)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-16 04:10:12 +00:00
ultramage
d2fa131861 Another update to the vs9->vs8 converter, to use appropriate line endings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-16 02:10:24 +00:00
ultramage
420cee95d9 Some cleaning in script.c
- documentation of functions translation of japanese comments
- usage of const char* instead of char* where appropriate
- removal of unused isstr() function

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 17:08:52 +00:00
ultramage
2e677dbb88 Adjusted the vs9-to-vs8 converter so that status messages won't mix with its converted output.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:53:49 +00:00
ultramage
dcc2cdb5da Split off mapreg code from script.c
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
 * removed MAPREGSQL from project files / makefiles
 * mapreg storage engine is now fully dependent on the server type
 * added config settings mapreg_txt and mapreg_db to inter config
 * added get_str() function to complement add_str()
 * fixed txt mapreg code allowing too long variable names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:14:45 +00:00
ultramage
efef65a62f Applied one missed conf setting rename (followup to r13077).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:08:21 +00:00
Yommy
ee71675a5b bugfix (bugreport:2038)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 02:44:11 +00:00
Yommy
e126f1d08d incorrect item id (bugreport:2063)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 02:25:23 +00:00
sketchyphoenix
61743c4dc6 * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 00:11:16 +00:00
akrus
7ad8038f0e * Added: new items, according to kRO items descriptions (commented out for a while) (bugreport:2043) [akrus]
* Fixed: items 7918, 11703 wrong line format (bugreport:2055) [akrus]


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-14 06:48:52 +00:00
ultramage
df470032f9 Now using proper enum type for mob skill state tracking.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 05:58:58 +00:00
ultramage
a9a32d2da8 Added updated client effects list.
Corrected some doc/npc typos.
Reindented some mob AI code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 05:45:35 +00:00
ultramage
9ffa1e7abb Added gcc compiler flags to silence some warnings in non-debug builds (bugreport:1993)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 04:52:39 +00:00
ultramage
b45e112b9e Hammerfall now works with daggers and 1h swords (bugreport:2045)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 04:46:32 +00:00
L0ne_W0lf
8161741bad * Corrections and fixes to the mob Skill DB.
- Readded the skill "Self destruct" to G_SEYREN
- B_YGNIZEM Will again teleport on rude attacks.
- Added Pouring and Bombporing skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-11 12:22:32 +00:00
ultramage
6c4b0e2676 Fixed right-click npc unload not unloading duplicates (bugreport:2014)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-11 11:00:24 +00:00
L0ne_W0lf
382595255d Corrected Flame Skull Card, rate os 5% not 50%. This is what happens when your value types are inconsistent.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-11 10:31:16 +00:00
L0ne_W0lf
f307b56ef2 Updated the dungeon teleport scroll menu.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 23:04:16 +00:00
L0ne_W0lf
4b57918f24 Accidentally reverted the fix to Drifter.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 19:49:56 +00:00
L0ne_W0lf
30b8c64a10 * Rather massive item database update.
- Added a lot of items, though some are not implemented.
- Updated a lot of the current prices for many items
- All items now use the "Buy" column for price.
* Added new skills to the skill database. (commented out)
* Updated item trade database with new items.
* Updated Cashshop functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 19:20:11 +00:00
Yommy
98a152d4d3 copy paste error in monster race (bugreport:2035)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 18:29:09 +00:00
ultramage
5f31620e6a Some skill corrections based on bugreport:1945
- enabled WZ_FIREWALL and NJ_KAENSIN effect stacking (for more damage)
- blocked stacking of Warp Portal and Flip Tatami land skills
- reverted r12798's land-protector code change (incorrect and also doesn't have any effect)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 13:22:53 +00:00
ultramage
fb0a123f7a Some small code cleaning
- removed unused create_storage() function
- removed unused char_db mapserver config setting
- adjusted formatting of mapserver config loading code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 08:08:59 +00:00
ultramage
f4c4ccb9c9 Removed 'DROP TABLE' statements from main.sql (bugreport:1714)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 03:59:44 +00:00
Yommy
c46226e3d1 fixed bug reports (bugreport:1556 bugreport:1913 bugreport:1839)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13061 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 00:10:49 +00:00
Yommy
f48fda465f fixed bug reports bugreport::2029 bugreport::2023 bugreport::1923
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 23:01:10 +00:00
ultramage
5dbe0c1b4b Really implemented SC_WALKSPEED (instead of copy-pasting old code) (followup to r13039)
- the modifier is now a percentual value
- a higher modifier now means faster speed, not slower

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 19:36:52 +00:00