388 Commits

Author SHA1 Message Date
skotlex
e2eadf7bb2 - Rewrote/cleaned up trade.c for a more clean trading implementation.
- Added @request commands, sends a request to all connected GMs of lowest_gm_level or above as a whisper message. Defaults to gm level 20 users.
- Made SC_COMBO status start delay attackabletime and walkdelay by sc's duration regardless of skill used (previously it was only for TK kicks, now it's for both those and Monk combos)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10 04:04:36 +00:00
skotlex
aae1ae1832 - Fixed compilation error.
- idletime will now be updated on attack-request, not on sit/standup
- Party members sitting will no longer be considered idle.
- hide_gvg_damage will now send 1 instead of -1 as damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 16:19:02 +00:00
Lupus
a866920e15 removed old logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 09:50:37 +00:00
skotlex
8d57200659 - Changed @deletemail's default level 0. NO ATCOMMAND SHOULD HAVE A DEFAULT OF 0 >.<
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 04:29:15 +00:00
skotlex
88722161e5 - Being in Enjoyable Rest state will now also trigger the HP/SP Time skills (even if there's no other TK around).
- Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me)
- Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 16:30:47 +00:00
skotlex
4ef4e4dc84 - Stun time for using ES magic on non-mobs reduced to 0.5 secs.
- Eska is now usable on bosses.
- Swoo will stun you if attempted on an already 'swooned' enemy.
- clif_skill_failed will print out a debug line with the skill_id (since the current null_po does not helps at all to fix it)
- Applied TheUltraMage's suggested fixes to the grfio module.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 15:18:30 +00:00
reddozen
29db2f4743 added support to regulate MVP drops [Reddozen]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 00:20:17 +00:00
Lupus
cdffe16fba fixed STEAL. now working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 16:40:04 +00:00
LuzZza
c2276ce3e2 Added @noask command: enable/disable deals/invites autorejecting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 15:54:20 +00:00
Lupus
687b2210a7 Updated STEAL skill (WIP), added a battle config option: 'skill_steal_max_tries' to set max number of stealing tries. It could help to fix stealing exploit on mobs with few drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 11:16:21 +00:00
skotlex
6469df410d - Removed the sending of the online guild list when you log-on, may fix the "getting stuck" problem.
- Added battle config default_skill_delay. Specifies the default skill delay for most skills, it is also applied as a walkdelay (total skill walkdelay is default_skill_delay + that skill's can't walk delay)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28 13:58:59 +00:00
skotlex
2728afbb10 - Added at command @commands, displays the list of commands available to you.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 14:10:29 +00:00
skotlex
1a3d6004c5 - Corrected the hit value of the TK kicks (from single hit "6" to multi-hit "8")
- All kicks do 3 hits now.
- Added battle config hide_woe_damage which hides damage on woe maps packet-wise.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 13:31:29 +00:00
skotlex
d66d94cd80 - Item use interval is set to a default of 100ms now.
- Updated Full Buster so that the can't act delay carries on to the weapon attack delay and can't use item intervals.
- Added script command getbattleflag to retrieve the current value of a battle_config switch.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 21:12:08 +00:00
skotlex
d44188210b - Renamed skill_clear_element_field to skill_clear_group, it accepts a flag to determine what to erase. &1 for elemental fields, &2 for traps. Also rewrote how it works to prevent missing elements (since each time an element is erased, the array contents shift)
- Added battle config traps_setting to determine how traps should behave. With &1 traps are invisible if you didn't see them get set up. With &2 traps will be removed after changing maps. The default is 2.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-25 23:58:19 +00:00
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