toms
10f43b792f
Fixed nullpo in merc_hom_skillup
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 18:54:54 +00:00
toms
b1f19b525f
Added a return value to buildin_rid2name if rid is invalid
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 18:46:20 +00:00
skotlex
b10a96995e
- Made the SQL ping interval default to 7 hours.
...
- Memorize cast time now can't be reduced by status changes neither.
- Made skill_unitsetting remove the group when no unit-cells were placed down. basicly this means that if landprotector blocks all tiles, the group will be removed from memory, preventing said group from counting to the total number of skills you can set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 17:39:36 +00:00
toms
685a894908
Fixed segmentation fault in script engine when calling something which is not a function
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 15:30:41 +00:00
toms
8dca441de7
Fixed segmentation fault in script engine when activating DEBUG_RUN flag
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 15:10:00 +00:00
Playtester
c6f1e079fb
Fixed name of Green Iguana Card
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 14:34:08 +00:00
Playtester
33d9198f51
Fixed duplicate warp name
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 14:25:34 +00:00
Playtester
b50b08d45c
* Large mob_db update
...
- added most of the missing X.4 / 11.1 drops
- adjusted the drop rates of Odin Temple and Kiel's Mechanical Doll Factory
- removed beret drop
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 13:36:30 +00:00
MasterOfMuppets
c4c298ee0f
Some more sign quest warps and a small change to the comodo gambling NPC.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 12:48:39 +00:00
Playtester
21e4f6a5ba
Fixed a mixed up mob id in Thanatos spawns
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 11:23:07 +00:00
skotlex
2239037185
- Some small bug fixes discovered while merging.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 09:01:36 +00:00
skotlex
fa591ce109
- Added A_* constants to identify ammo types.
...
- Added Ishizu's code to check ammo type on attack. No more using Grenade rounds with Guns.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 03:32:43 +00:00
skotlex
1d577c9f75
- offensive heal/sanctuary will only happen when the source of the heal is a player, mob/pet casted heal will now always heal regardless of target.
...
- Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
- Removed pretty much every comment from skill.c as they were not even in ex-japanese, but they are now in butchered ex-japanese.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 02:55:10 +00:00
Playtester
85ddcd7a53
* Added temporary Beholder and Gremlin spawns
...
- their drops are needed but Airship quest isn't finished yet
- should be commented once Airship quest is finished
- also added two airship warps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 01:31:05 +00:00
Playtester
27e2bc1a64
Reverted the Combat Knife (wrong translated description)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7956 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 00:36:52 +00:00
Playtester
824902fb23
Shockwave, Flasher and Freezing Trap now consume 2 trap items
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 23:50:44 +00:00
MasterOfMuppets
c2cec7874b
Reverted the Hellion Revenant change from yesterday.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 22:36:42 +00:00
skotlex
4e0fca85cf
- Some cleaning in the order of cases in castend damage id.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 20:28:59 +00:00
skotlex
3de2f9aa48
- Cleaned pc_commandlist.txt a bit so that the information on it isn't completely out of whack.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 19:58:08 +00:00
skotlex
40e5f13ec9
- Self destruction will now hit all characters in range, not just enemies.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 19:41:04 +00:00
skotlex
7cdbea9cf2
- Cleaned up the NJ update code.
...
- Restored code which was removed (stuff like SC_SKA)
- Fixed possible crashes on some NJ skills if used by non-players.
- Fixed most NJ magic spells doing more damage than they should.
- Fixed ZenyNage being able to do more damage than zeny you have.
- Cleaned up skill setting code for Suiton and Kaensin
- Ordered SC_* definitions in status.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 15:11:17 +00:00
skotlex
1d754d8cd8
- Some cleaning of battle_drain, Evil Druid card should work now.
...
- Made status_damage allow damaging of objects not on a map, this should fix pet-catching making the mob never respawn again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 13:33:51 +00:00
toms
627e316993
Casted nothl to (unsigned int) in sprintf functions, IP is 32bits and sql field the same...
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 12:16:26 +00:00
toms
f53ac9c2ca
Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 11:17:01 +00:00
toms
31a0d55fb9
Fixed : - "uninitialized local variable 'i' used" in skill.c
...
- "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7943 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 11:04:44 +00:00
Playtester
a007a94248
Fixed some summon skills
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 10:51:31 +00:00
toms
bf650446b0
Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 10:48:04 +00:00
toms
5e40f9e914
Fixed sign warnings in login/login.c
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 10:36:10 +00:00
toms
0f58cb2c3e
Fixed "conversion from 'double' to 'int', possible loss of data"
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 09:45:30 +00:00
toms
f15fedf466
Fixed "warning: redefinition of [ushort/uint/ulong]"
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 09:36:47 +00:00
toms
c7d47f2325
Fixed duplicate case value on NJ_SUITON
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 09:17:11 +00:00
Vicious
52e67c144d
Commiting mpeg's NJ work(from jA). some things might have gotten reversed/broken, so please do check, and don't kill me! D:
...
thread: http://www.eathena.ws/board/index.php?showtopic=105413&view=findpost&p=610877
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 06:07:07 +00:00
skotlex
6178d109d3
- Fixed a memory leak when there exists more than one user function with the same name, added the appropiate warning when this happens.
...
- Added reporting source file when an npc shops item's price is exploitable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 04:17:24 +00:00
skotlex
1b23809655
- The picklog will now record negative values for items sold to npcs.
...
- Added inmediate position and hp-bar update when a character joins a party.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 03:28:13 +00:00
skotlex
8f5f5ce14c
- Fixed a missing initialization in run_script_main.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 03:16:39 +00:00
skotlex
67d547ed31
- Added missing include of limits.h in script.c
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 02:51:33 +00:00
skotlex
a549cdaf1a
- Added missing SC information to NPC_CHANGEUNDEAD
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7931 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 01:54:20 +00:00
Playtester
831143bb95
Hellion Revenant is now dark element so he can heal himself
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 00:23:53 +00:00
skotlex
5ccb5a9525
- Added config setting party_update_interval so you can specify how often the party-mate minidots should be updated (defaults to 1 sec).
...
- Removed a bunch of broken comments in skill.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 23:52:18 +00:00
Playtester
cfc0781ab2
Fixed Teddy Bear card
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 23:32:39 +00:00
Playtester
ce51a40cad
Hopefully fixed Solace card
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 22:35:26 +00:00
skotlex
c9e9b3b75b
- Synced the script.c file with as much data as possible from jA's:
...
- A lot of functions were moved around, a bunch of indentation and space-usage changes were done to make it easier to diff against their files.
- Miscellanous addition and corrections were applied.
- Largest one is likely a restructuring of run_script_main, which hopes to solve the memory leaks.
- script engine now uses the setjmp functions to restore memory state when there's an error parsing scripts, which means that script errors won't cause the map-server to inmediately bail out anymore.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 21:00:19 +00:00
skotlex
8da82e0a0a
- Changed npc_click declaration to receive an npc structure rather than a generic block-list one.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 16:28:00 +00:00
skotlex
a74b39c5c6
- Corrected Combat Knife reducing damage from DemiHumans by 10% instead of increasing damage against them.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 16:18:52 +00:00
skotlex
36602a3958
- Added a cleanup routine on shutdown to remove all characters from memory for whom the save ack has not returned from the char-server yet.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 16:15:26 +00:00
skotlex
932107f772
- Now when you set the guardian's HP, if the guardian is spawned, it's HP will be updated accordingly (and if you set it to 0, the guardian is killed)
...
- Added functions status_set_hp/status_set_sp to set hp/sp to a given value. Applied usage of these on the Berserk and Soul Change code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 15:44:57 +00:00
skotlex
884de91ef3
- Some cleaning in status.c. Removed some unnecessary lines, and added proper lower caps to some status_calc_* functions (flee/hit/flee2/cri)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 14:59:23 +00:00
skotlex
574198e3e7
- Added config setting "party_hp_mode" (battle/party.conf) which determines method to use to update party-mate hp bars. Aegis style is to update HP bars whenever HP changes, while eAthena style is to update it together with the map party dots. Defaults to aegis style.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 14:42:17 +00:00
skotlex
893d5088f8
- Fixed packet 0x22a having the manner and opt3 packets in inverted offsets.
...
- Some other small cleanups on clif.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 14:28:07 +00:00
skotlex
7cf5521c32
- Readded the check which prevents Cloaking from activating when your learned level is less than 3 and you aren't next to a wall.
...
- Some cleanups to the Frenzy/Berserk status change, it should probably work correctly now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:53:52 +00:00