388 Commits

Author SHA1 Message Date
skotlex
cee086fece - Fixed handling of the char_gm_read config for packet 0x2af7 (reloadgmdb)
- Added battle_config debuff_on_logout which removes Asura's SP regen delay and Strip-Equip effects on logout when set to yes (default).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 14:09:54 +00:00
skotlex
8955a37a9b - Added mapflag nodrop, fixed mapflag notrade.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 21:07:00 +00:00
skotlex
8e1ec0bf39 - Removed the hardcoded duration of 30seconds for sleep.
- Fixed rangecheck for pet skill usage of INF_SELF_SKILL
- Removed inall/exall from atcommand.conf since those two do not exist! (pointed out by Ancyker)
- @me now uses entry 270 in msg_athena as output format.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 18:33:32 +00:00
skotlex
b9b10700aa - Added battle config options item_rate_adddrop, item_drop_add_min and item_drop_add_max to control drop rate of card-acquired loot bonuses.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 14:58:04 +00:00
skotlex
b0515272d9 - Added item_db2.sql and mob_db2.sql, thanks to Joshuaali
- Added more usage of msg_athena on the slave atcommands.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 14:00:32 +00:00
skotlex
1b0b8a393a - Fixed mob-casted demonstration/quagmire being affected by the gvg_traps_all config setting.
- Moved the gvg_traps_target_all config from guild.conf to skill.conf


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 21:30:17 +00:00
skotlex
01cf48cd39 - Fixed a memory overwrite crash on pc_readdb, thanks to foobar.
- Fixed only the first TK stance triggering when you have multiple of them active.
- Default of skill_attack_enable changed to yes.
- Fixed a compiler error in some ninja skill that only triggers on windows or c++ compilers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 13:35:11 +00:00
skotlex
858d87d0c8 - Fixed Valkyrie's shield script in item_db.sql
- Added a warning on the char-server's name when it contains a space.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 01:56:59 +00:00
skotlex
a2797c2755 - Items now store the top MAX_SEARCH drops from mobs and lists them through the new atcommand @whodrops. All merged from my server, of course =D
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 16:03:28 +00:00
skotlex
fbda66933a - Added functions mobdb_searchname_array and itemdb_searchname_array which return an array of matches.
- Modified @iteminfo and @mobinfo to search and display various matches instead of just one.
- Constant MAX_SEARCH in map.h defines the max size of search results.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:16:48 +00:00
Vicious
598056945a @job ninja/gs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 02:31:16 +00:00
skotlex
445fa07fa2 - Some corrections due to the guild skill position change.
- Removed file todo-for-stable as it's impossible to keep it updated :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 04:15:39 +00:00
skotlex
2b874adf3c - Fixed a debug message showing up on skill castend nodamage id when using a guild skill
- Fixed #save not working on maps not in the current map server.
- Added battle config clear_skills_on_death to decide whether all ground-based skills should be removed when you die. Defaults to yes.
- Changed Magic Crasher's element to -1


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-06 14:37:44 +00:00
DracoRPG
06429a5ee0 Two small fixes/updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 13:19:47 +00:00
skotlex
d770421a9d - Trick dead now ends on logout
- Added mapflag nocommand which blocks @/# commands unless your gm level is above gm_skill_unconditional's level.
- Fixed weapon scripts not being executed unless the weapon was forged.
- gm_skill_unconditional is now a no/gm-level setting instead of yes/no


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03 14:38:13 +00:00
skotlex
8a67a7cf35 - Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:11:50 +00:00
codemaster
018dec7fb4 * Added the ability to select GM loading via Login (default) or Char [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 05:35:21 +00:00
LuzZza
9bb0a7eedb Rewrote LAN support code. Changed configuration file name lan_support.conf to subnet_athena.conf, changed it syntax.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28 00:41:00 +00:00
skotlex
ada437dcaf - Added mob skill conditions myhpinrate and friendhpinrate for using HP ranges instead of a fixed "less than" condition.
- Added mob_ai condition &16, enables skills that are normally used on 'friends' to also pick up caster as target.
- Fixed npc_shopid not being reset to 0 when buying/selling. FIXME: The client sends a packet when you cancel? It is required so that npc_shopid will be cleared and prevent the player from being stuck.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 21:33:35 +00:00
skotlex
90ec4f1d14 - Modified the way autospells stack to mimic official servers. Cards of the same ID cannot stack, but different cards with the same skill can each trigger indepedently of each other.
- Added battle_config autospell_stacking to enable stacking of cards of same ID.
- Moved card-specific battle options to items.conf
- Autospells triggered when hit will check the range to the target.
- Some cleaning up of status_calc_pc
- In status_change_start capped the passed success chance to 100%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 16:31:16 +00:00
LuzZza
17ddbf01a9 - Fix to prevent using main chat when it disabled in atcommand_athena.
- Fixed message codes in duel functions.
- Small fix in log_refine, incorrect compare expression.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21 18:37:35 +00:00
skotlex
1fb95bcf98 - Fixed Taekwon stances not triggering.
- Added atcommand @exp
- Added error reporting when add_timer_interval receives a negative/0 interval value.
- Fixed a possible infinite recursion bug with splash self skills.
- Modified the way firewall_hits_on_undead works, to loop and invoke multiple skill_attacks based on the value.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20 03:14:49 +00:00
skotlex
591f2d8046 - Fixed parsing of @kamic/@kamib to check for case.
- Now you can hide from Pressure.
- Weapon endowing will work on targets already endowed with the same element.
- Now reseff cards will take effect even if the status change is passed with &8 flag. In short, now reseff are ALWAYS applied to the status change defense.
- Removed a missing break that was making AM_TWILIGHT2/3 always fail.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-19 20:53:36 +00:00
Komurka
c648d7e760 * Implemented SG_MIRACLE (Miracle of the Sun, Moon and Stars)
- duration is stored in battle_config.sg_miracle_skill_duration (currently it's set to 10 minutes)
- ratio is stored in battle_config.sg_miracle_skill_ratio (currently it's set to 0.01% chance per character move)
- this skill enables you usage of all Warmth skills, Comfort skills, and also 
  all mobs will be target of the Stars regardless of the day and map
- you'll see message "[Miracle of the Sun, Moon and Stars]" when skill kicks in

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-18 13:16:21 +00:00
skotlex
2d461432b8 - Added battle config option pk_level_range for specifying valid level ranges to engage in PK
- Added battle config allow_es_magic_player to enable SL_S* skills to work on non-mobs.		


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 21:04:05 +00:00
skotlex
00bbc7673b - Made the warm skills BF_WEAPON type so that they may trigger effect cards.
- Also changed their pl to -1 so they carry the elemeso they carry the element.
- Warm skills now damage other players for 60sp per hit.
- Warm skill damage interval decreased to 100ms instead of 1000ms.
- TK_DODGE  now only dodges ranged weapon attacks, while under Spurt mode it dodges everything.
- Cleaned up and expanded the sc_def_rate battle config. The new battle flags are mob_sc_def_rate, pc_sc_def_rate, mob_max_sc_def, pc_max_sc_def
- Modified Marionette Control so that the max bonus stats you get is capped to your server's defined max stats instead of 99.
- Mobs are no longer affected by the vs_traps_bctall switch.
- Added function pc_damage_sp to damage the SP of players.
- Modified Warm skills so that it only hurts SP of players while attacking/knocking back mobs.
- Autospell loop breaks after one skill is successful.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 18:56:54 +00:00
skotlex
ea91239d66 - Added battle config sc_def_rate which adjusts natural defense of characters against status changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 21:37:10 +00:00
skotlex
1e53de04f6 - Added setting max_exp_gain_rate which caps how much exp you can get from a single kill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 17:26:55 +00:00
skotlex
fca56907fe - Changed the default of skill_delay_attack_enable to no.
- Modified Magnum break's delay to 0, time1 to 2 secs, time2 to 10 secs. Time 1 is for the skill reuse delay, and time2 the weapon fire bonus time.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 14:43:35 +00:00
skotlex
2a9dbcf690 - Code rewrites in mob_damage and party_exp_even_share for correctly handling overflow issues. Now uses UINT_MAX for range comparisons, as it should be.
- Also modified the mob_db reading to use UINT_MAX for exp limits, changed their exp/job exp fields to unsigned int as well.
- Modified multi_level_up behaviour to work as specified by Kyoki.
- removed functions pc_next[base/job]after as they are no longer needed.
- Modified the skill attack display of Meteor Assault and the Warm Skills (I think the caster should no longer do fancy animations now on each hit)
- Added back water elemental targets being inmune to SC_FREEZE
- Fixed the status_change_start line in charsave.c (I knew I was forgetting something)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 14:21:41 +00:00
skotlex
f1e4549f12 - Added battle config options:
- skill_caster_check (does a status_checkskilluse on all skill attacks)
- status_cast_cancel (invokes skill_castcancel for opt1 type status changes)
- Fixed the death exp penalty underflow bug


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 19:33:01 +00:00
skotlex
cd88503b76 - Removed the max level configs from battle/exp.txt
- Now NPC_POWERUP uses SC_INCATKRATE instead of SC_EXPLOSIONSPIRITS for enhancing damage. Instead of +1k atk per skilllv, it is +50% atk per skilllv.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 01:53:52 +00:00
Lupus
fc2bda5881 added yuno_in02 into noteleport etc
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-04 10:53:18 +00:00
Kayla
862ac21e49 Removed nopenalty mapflag on nifilheim
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 18:07:49 +00:00
Kayla
403a1cb414 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5142 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-01-31 17:56:15 +00:00
Komurka
05eba2d392 * Added 'restricted' mapflag, based on lordalfa patch
- you can set restriction zone on map (see mapflag/restricted.txt)
- you can turn off item usage on certain restricted map in item_noequip.txt
- you can turn off skill usage on certain restricted map in skill_nocast_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 14:24:26 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
171609d4a2 * Readded @disablenpc
* Fixed @reloadscript not removing old NPC's and monsters first
* Some changes in mob and NPC unloading
* Changed the original @disablenpc to @hidenpc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 15:14:35 +00:00
Lupus
d082b6aa4e added better filters into logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 20:27:34 +00:00
celest
27326acd4e * Removed anti-freeze system for login and char
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 14:15:49 +00:00
codemaster
e704e3278b * Allowed people to enable/disable using the online column via 'register_users_online' in the login_athena.conf [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02 15:50:26 +00:00
celest
ed4003003a * Set 'undead_detect_type' to 0 by default
* Fixed Enchant Poison / Deadly Poison having too high poisoning chance

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 15:34:54 +00:00
celest
88cfcb9432 * Added base code for loading Ser's UPNP plugin
* Added 'idle_no_share' to battle_athena.conf
* Added item_findingore.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 17:10:03 +00:00
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +00:00
Lupus
4a8a574f14 added logging filters. optimized ATCommands temp strings usage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-26 21:56:42 +00:00
Lupus
3fe8638546 added mapflags
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24 22:19:51 +00:00
celest
37851efb84 * Added 'map_charid2id'
* Changed monster damage logging to save char ID's
* Implemented 'event_script_type'
* Set Emsolute Develop as a learnable skill
* Updated 'require_glory_guild'
* Allow monsters to cast skills near themselves even when monster_nofootset is set to 'yes'
* Print number of online users in online.txt/.html even if there's only 1 user

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24 15:31:28 +00:00
celest
898d7024a9 * Added' require_glory_guild'
* Fixed some --addrace variables' sizes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 17:20:41 +00:00
amber
6ffce0caf6 Updated the eol style
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22 22:00:56 +00:00