Lance
a71b9f858b
* Temperory replaced strtoll to strtoul until the function changes.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 06:22:51 +00:00
skotlex
42c6f89d86
- Multiple optimizations to the unit_data auto-chase upgrade, also simplified the mob and pet ai routines.
...
- Simplified the walk routines to half the number of timers required for walking.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 04:10:41 +00:00
skotlex
3acdfa691b
- Finished fixing the unit_data auto-case update. Still need to do some optimizations... but the current code-base should be usable.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 02:32:30 +00:00
skotlex
e68983a063
- Fixes to the unit_data update that lets characters auto-chase while attacking.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 00:27:15 +00:00
skotlex
418c98ea0a
- Modified the unit_data structure to handle automatically switching between chasing and attacking a character. Note that it's a work in progress and not yet properly tested/finished...
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10 21:38:05 +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
Lupus
5881a458b2
fixed refiner items check
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10 10:41:14 +00:00
skotlex
e8a8c8fbb9
- Added the missing last_thinktime initialization to pets.
...
- Reverted the change in skill_Wall_check to let skills go over pits.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 23:14:00 +00:00
skotlex
db62926e5b
- Changed use of strtol to strtoll as strtol's result is just a signed int, and we need to parse values above 0x7FFFFFFF
...
- Corrected Knives being usable by Gunslinger. SQL users use upgrade_svn5972.sql to ugprade that.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 22:52:06 +00:00
skotlex
3954b070de
- Modified @warp/@rura to prevent causing pc_setpos position error messages.
...
- Fixed the mob's last_thinktime not being updated on mob_spawn, causing them to not "think".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 22:13:25 +00:00
skotlex
3851b1299d
- Fixed @npcmove not sending the correct packets to make the moving refresh client-side.
...
- Fixed mobs with aggressive + looter mode never looting.
- skill_wall_check now also checks for pits so that skill effects don't go through them.
- Now you can't leave/be-kicked from a guild inside guild castles.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 18:11:32 +00:00
skotlex
0ed5d38cdd
- Small code cleanups. One should lower a bit function overhead when using mob_ai&32
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 16:33:11 +00:00
Lance
d955a685c3
* Fixed map_waterheight prefixing extra "data\"
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 11:40:47 +00:00
skotlex
b810c3cefb
- Mob_ai update. The attacked checks will trigger even if the mob can't move. Being attacked while the mob can't move no longer will trigger rude-attacked skills.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09 06:14:40 +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
skotlex
1f0de23255
- Fixed skill_nocast_db reading so that when the same skill is specified multiple times, the blocked effects add up instead of replacing each other.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 19:05:21 +00:00
skotlex
07c8dd3902
- Fixed @movenpc
...
- Cleaned up and improved the lootsearch routine to pick nearest item.
- Added INVISIBLE_CLASS to the list of classes supported by npc_get_viewdata
- Fixed trying to set the view_data for npcs who are located on a map, but have no visual data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 17:56:31 +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
Zido
2113db40cb
- Wedding Sprites fixed
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 09:28:02 +00:00
Vicious
05486873e6
fixed job changer
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08 08:24:21 +00:00
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