Zido
4287764b5d
- Fixed irc.c, no more crashes
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 07:51:27 +00:00
skotlex
8f20e263b2
- Added function status_change_init to initialize all the sc timers. Added sc_data initialization to the npc structures who were missing them.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 06:48:16 +00:00
skotlex
38bd5b5675
- Likely fixed a mob not returning to their original class view on respawn after they changed class.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 06:25:50 +00:00
skotlex
7015c8578f
- Modified the equip_job field in the item_db to be a hexadecimal value for easier handling.
...
- Updated item_db.sql to this new file format (even though it's equip_jobs field is still a integer)
- Added upgrade_svn5951.sql for those who would like to convert their existing items.
- Added doc/item_db.txt to explain each of the fields in db/item_db.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 06:08:29 +00:00
Vicious
5e837a9caa
GS related npcs
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 23:30:18 +00:00
skotlex
3b5c9e1f78
- Moved the devotion damage reduction to the block that only executes if flag is zero in battle_damage.
...
- skill_castcancel won't trigger on battle_damage when the passed flag is 1
- The flag in battle_heal is now used to determine whether Berserk blocks the healing or not.
- Moved the Fusion HP penalty to battle_calc_weapon_attack
- Some cleaning to use battle_heal/damage rather than pc_heal/damage where appropiate.
- cleaned up the deadly-poison hp reduction code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 20:23:52 +00:00
Zido
8c9b7356eb
- IRC User access levels now refresh on a mode set and join/part
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 17:20:46 +00:00
skotlex
a97e263cd9
- Fixed an already free'd pointer error in irc.c:144
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 17:03:28 +00:00
skotlex
0837bb4f38
- Added missing creation/destruction of the expcache_ers in guild.c
...
- Unified status_remove_buffs/status_remove_debuffs into a single function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 16:57:12 +00:00
skotlex
4dc9cb89ad
- Fixed pc_setpos ignoring the clrtype sent to it.
...
- unit_free will now use clear type 3 for players (warping out effect)
- You can't invite someone to a guild now within Guild Castles.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 15:40:55 +00:00
Lupus
d64b74a4f5
updated new items
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 07:32:00 +00:00
Lupus
998cf40a2c
updated items
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07 07:14:13 +00:00
skotlex
1d5b54e996
- Hopefully fixed the wedding item-trade restriction.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 23:02:31 +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
8f34077a74
- Rewrote the guild exp cache code to prevent overflows and to use the ers system.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 21:03:59 +00:00
Zido
31c287d3a1
Accidently left my IRC info in irc.c >.> we really need to make a .conf for it.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 19:06:37 +00:00
Zido
7fcb955c78
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 18:34:45 +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
skotlex
57ef599e9e
- Corrected the Soul Drain formula, thanks to Haplo for pointing it out.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 17:38:17 +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
skotlex
85ac518297
- Changed the random warping of mobs with no players from mob_spawn to unit_warp, which prevents MSC_SPAWN from being retriggered for already spawned mobs.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 16:16:52 +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
skotlex
e030ff6086
- Modified @allstats to prevent negative/overflow issues.
...
- Fixed HP/SP requirements for WE_MALE/WE_FEMALE
- Fixed a typo in skill.h which fixes a compilation warning.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 13:49:29 +00:00
Lupus
018db319c5
typo
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 05:19:19 +00:00
Lupus
3e3ba92164
renamed omobs to mobs, just as in stable. fixed typos
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 05:18:00 +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
bec5bce06d
- Small fix in the pet_ai
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 02:21:11 +00:00
skotlex
3c79b79483
- Fixed an error on the error-message when job_db1 doesn't has enough columns.
...
- Fixed undisguising not clearing the mob sprite for the disguised character.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 01:01:13 +00:00
skotlex
bafbe708b2
- Modified the item_db and added view_types to ammo: 1 arrows, 2 dagger (venom knife), 3 bullets, 4 shells, 5 grenades, 6 shurikens, 7 kunais.
...
- Fixed parsing of job_db1.txt due to the MAX_WEAPON_TYPE change.
- Updated skill_require_db to specify the ammo types required for GS/NJ skills (as best as I could understand them)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 00:02:50 +00:00
skotlex
43dac339d7
- Fixed a compilation error due to a missing semicolon...
...
- TK ranking kicks can't be used on sucession now (can't use any of the kick skills twice in a row without using a different one first).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 21:28:28 +00:00
skotlex
bb95eb8e36
- Modified the ammo checks so that ammo is consumed at the end of battle_calc_weapon_attack (should fix element being lost on final arrow).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 21:07:42 +00:00
Vicious
a448ea553e
added missing weapon type, W_HUUMA(or kazema.. but huuma would be more.. correct)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 19:55:40 +00:00
skotlex
f3d9444348
- Added a define list for weapon types in pc.h
...
- Cleaned up pc_checkallowskill and moved the Gatling fever check to it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 19:27:00 +00:00
skotlex
7aa1324af3
- Cleaned up the pet_ai_hard_lootsearch function to avoid doing map_id2sd calls.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 15:05:37 +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
Lupus
19f3bc1e5a
updated item givers!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 14:08:44 +00:00
Lance
835bc44c64
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-05 14:06:59 +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
Lupus
819d461660
Added missing Warpra Agent to Hugel. Fixed typo in Falcon Renter
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-04 08:26:44 +00:00
Lupus
0e53e9662c
Re-fixed looping warps of Lutie village
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-04 07:51:03 +00:00
skotlex
fa1d4e5bf8
- Fixed pc_setpos using unit_remove_map with type 0 instead of 3, which confuses clients and makes them think the character in question is still standing on the spot where it was removed.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 23:52:39 +00:00
skotlex
16e8d42194
- Fixed script command mapwarp.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 22:05:14 +00:00
skotlex
cbb91afccf
- SC_AUTOCOUNTER now only blocks all attacks/skills when the flag is 0 (attempt to use skill)
...
- Autocounter triggers are now checked against flag 1 (cast-end) rather than 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 20:52:31 +00:00
skotlex
a007ab9457
- Fixed a typo in battle.c (status_get_atk invoked instead of status_get_atk_) for dual wielders.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 19:20:03 +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
skotlex
de8f8cb6f7
- Removed the flag variable from the npc_data structure. Disabled NPCs are now handled through nd->sc.option&OPTION_INVISIBLE checks. Should fix disable/enablenpc calls not working.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 18:08:16 +00:00
skotlex
ac3277f2b2
- Moved skill_counter_additional_effect calls to trigger right after skill_additional_effect (which means they trigger at the end of the attack motion for physical attacks)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 16:26:38 +00:00
Lupus
e52e4abdd4
fixed disappearing treasure chests, updated NWoE
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 16:14:37 +00:00
skotlex
b4c3de9686
- Oops, the overflow mentioned by foobar was actually because the equippable base-jobs field was unsigned short when we now need it to be unsigned int. Fixed now.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03 14:17:53 +00:00