323 Commits

Author SHA1 Message Date
Zido
e79642ff57 - DNSBL. Refer to changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 21:08:40 +00:00
skotlex
bf3e426dc1 - Corrected mob_spawn_delay/boss_spawn_delay/plant_spawn_delay settings (they were named rate rather than delay in monster.conf)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 20:14:02 +00:00
skotlex
72faf33f97 - Added new column to mob_db Sprite_Name to hold the mob's sprite name. Columns Name and JName now hold the mob's english and kro names respectively.
- Currently both Name and Jname have the KRO names, so someone will have to update them.
- Updated mob_db.sql and mob_db2.sql to latest.
- Added battle_config option override_mob_names to make the spawned mob names use the mob_db names instead of the specified names in the spawn files.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-24 03:53:29 +00:00
skotlex
66bab4bc3d - Fixed a pair of wrong mapflag lines in nopvp.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-19 20:03:15 +00:00
Zido
bc11c8b54f - IRC Bot can now auto-join when kicked from the channel
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-18 21:28:35 +00:00
skotlex
6b9fd3cf04 - Removed message 592 from trade.c
- Removed mapflag nopvp
- Added support for disabling mapflags on a mapflag line:
  comodo.gat	mapflag	nomemo <- turns on nomemo mapflag
  comodo.gat	mapflag	nomemo	off <- turns off nomemo mapflag
- Cleaned up and optimized the restricted/zones mapflag. Restricted cards will just not work in disallowed maps rather than blocking the compounded equipement from being used.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-18 16:01:26 +00:00
Playtester
64272bf114 Converted the format of the battle conf files to windows format
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-18 14:21:07 +00:00
skotlex
6ec369963a - skill_clear_unitgroup is now invoked in unit_remove_map only on death if the applicable battle setting is set. It is now also invoked in unit_free.
- Changed setting clear_unit_ondeath to a type 4 (bl-based) which defaults to BL_ALL.
- Fixed Absorb spirit sphere not working on mobs, thanks to Vividd.
- Cleared the ud->target on pc_stop_attack to prevent attack resuming an other such oddities.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-17 23:54:49 +00:00
skotlex
571402c435 - Removed water_height.txt reading (since it is always done from the rsw now)
- Fixed a possible crash in grfio_find_file
- Corrected water-level-reading to account for a return of null from the previously mentioned function


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16 16:19:32 +00:00
skotlex
47adb68d91 - Fixed mysql ping setting being in minutes rather than hours.
- Removed npc_event_sub from npc.h and moved it to npc.c
- Cleaned up #warp to prevent spitting non-walkable tile warnings.
- Changed the meaning of msg_athena 2, it is now "invalid target cell, randomizing".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16 15:33:59 +00:00
MasterOfMuppets
9087343abb Small mapflag changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13 11:58:18 +00:00
Lupus
bd60d1e117 fixed typos in waterheight, mapflags. updated items weigh
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12 09:39:48 +00:00
Lupus
3cd0c8c1e0 updated mapflags
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12 07:52:57 +00:00
Vicious
a6de127a8e bunch of updates..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 19:58:53 +00:00
skotlex
58be7c433b - You don't get critical'ed when in counter-attack stance anymore.
- Changed the default counter-type to "always critical".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 19:55:48 +00:00
skotlex
b6fa7be9e9 - Updated the subnet support to not require specifying the subnet mask, it is auto-acquired from the char/map IP and the subnet-mask.
- skill_wall_check defaults to yes now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10 14:26:52 +00:00
skotlex
3faa5d199f - Changed the default of multi_hit_delay from 230 to 80 which seems more official.
- Wedding recall skills are now blocked by the nomemo mapflag.
- Skill delay for weapon types is now based on adelay (ASPD) rather than amotion (ASPD/2)
- Removed ending Endure when casting Berserk, may fix the timer mismatch issues.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 05:50:43 +00:00
Zido
cb78101f64 - The IRC bot now reads a configuration file (irc.c) instead of it all being hardcoded
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 12:09:36 +00:00
skotlex
5e7533d609 - Removed mapflag noreturn from pvp maps.
- Fixed status_clear_buffs making SC_BERSERK's end send you to 100hp.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 21:30:53 +00:00
skotlex
c94f569ab5 - Changed the default of skill_add_range to 0, said value now disables skill-range checking when casting ends.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 17:58:53 +00:00
Lupus
443dbc36f2 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5930 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-04-06 16:36:54 +00:00
Zephiris
e4774765e6 Fixed a typo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 14:00:33 +00:00
Lupus
296f0457f7 added lhz_dun03 nowarpto mapflag
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 04:08:25 +00:00
skotlex
add318fc2f - Some cleanup of clif_parseloadendack, fixed guild-member list being sent on all map-changes.
- Removed the hardcoded removal of characters who spawn in a castle. All castle maps got the flag nosave now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 14:16:47 +00:00
Zephiris
8a7018deb0 * Added support for the 2006/04/04a Sakexe packet version. [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 07:30:01 +00:00
skotlex
491228d9cc - Added inter config connection_ping_interval which specifies interval in hours at which mysql_ping's must be done on all connection handles to keep the mysql connection alive. Defaults to 0 (disabled)
- Removed login sql handle from the map server as it isn't used for anything.
- Made the login sql handle on the char-sql server be used only when gm_read_method 1 is enabled.
- Small fixes to npc_enable, added BL_NPC handling on status_get_sc.
- Added a path_search check in map_random_dir, so that the random direction picked up doesn't goes through walls and all that.
- Some changes to close-confine, status start will fail when the source is not found or it doesn't has sc-data.
- pc_setoption no longer changes the character's class when mounting/dismounting, it only changes the view-class.
- The peco-crash-fix from the char servers is still needed. This packet must be wrong! We likely need to sniff it.
- Modified the char-txt server to modify the class of mounted characters to their non-mounted version. Added an upgrade_svn file to handle the class update on the sql tables.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 00:23:18 +00:00
skotlex
8980b04387 - Modified Rude-Attacked behaviour so that such skills only triggers when the rude-attacked count is greater than 3.
- Added config setting slaves_inherit_mode to determine whether slaves take on their master's aggressive/passive status (defaults to yes)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 18:43:19 +00:00
Vicious
5f47b44b04 5 kafra passes, fixed refiner's @fullprice, char_name_option
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 01:11:16 +00:00
skotlex
e2fb7fab5c - Changed the second entry in water_height.txt to use directly the rsw file, looks better :P
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 14:16:38 +00:00
skotlex
edc99399f6 - Fixed Potion Pitcher sometimes crashing the server.
- Fixed a compile warning by adjusting the acid demonstration formula.
- Added flag 2 to the skill_castnodex_db file for skills that shouldn't be affected by delay/cast reducing skills/effects.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 13:56:45 +00:00
Lance
7929d3b844 * Added SantaPoring's water_height.txt modifications.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 13:28:07 +00:00
skotlex
7a8371273a - Merged the unit_data structure from jA for handling unit-related data (attack times, walking, auto-attack timers, skill related data)
- Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable"
- Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type
- Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it.
- Cleaned up/rewrite of the pet ai, same for pet_calc_pos
- Implemented use of mob variable attacked_players as it is used on jA
- Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs.
- Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 23:58:16 +00:00
skotlex
7fac8ac102 - status_check_skilluse won't block skill-specific checks (silence, berserk, steel-body, etc) when the skill in use is an item-invoked skill.
- Merged LittleWolf's function to read the map-height directly from the rsw file.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 18:47:01 +00:00
skotlex
ee1080a99f - Added monster_ai&16 setting for executing the hard ai on ALL mobs in maps with players instead of just mobs in the vecinity of players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 21:41:06 +00:00
Lance
676de25d41 Modified battle_athena.conf for the new modifications.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 16:48:51 +00:00
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