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
skotlex
3fb5dce0ae
- Removed a redeclared variable i in the parsing of the fame list (char-txt server) which seems to be the cause of the random memory corruptions.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:20:44 +00:00
toms
5062379bb4
Fixed Independence Memorial Hat weight, set to 0
...
Updated item_db.sql to latest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:01:15 +00:00
toms
ee5ee4fcd0
* Fix homunc & code cleanup [Toms]
...
- Timer problems on delete_timer
- Intimacy problem (overflow & new values)
- Homunc deleted if intimacy < 0
- base exp is now given to master
- Homunc sometimes not saved
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 11:56:22 +00:00
Playtester
6eb305c5a9
Fixed the Morroc ingredient seller to not appear
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:40:29 +00:00
Playtester
ccf714afce
Another Sunkenship spawn fix.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:28:34 +00:00
Playtester
f46b0ee355
Fixed some spawns and a warp in Sunken Ship
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:00:40 +00:00
skotlex
6c9eb52332
- Fixed a memory leak when reading the item_db txt.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 03:33:56 +00:00
skotlex
3d18f93d8e
- Applied the necessary changes to make @partyoption reflect it's changes on the alt+p window.
...
- Some code indentation cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 02:55:24 +00:00
skotlex
9d056a75f1
- Some code cleanup of HLIF_MOON in regards to the number of hits and damage equation.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 19:12:00 +00:00
skotlex
830106c6f9
- Modified party_item_share_type config setting so that using 1 disables item-sharing from non-mob loot (player dropped items or pet loot) and 2 enables round-robin instead of random sharing. Using 3 obviously is enabling both 1 and 2.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 18:51:22 +00:00
skotlex
cfe71d744a
- Added battle_get_master which returns the master bl of a given object.
...
- Recoded battle_check_target to use battle_get_master, the src/target switch has been split into two, so that actual target and master target are seperately treated (same for source).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 18:22:24 +00:00
skotlex
7cd47130d0
- Added support for "sc_end -1" which will clear all status changes. Added the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 15:12:50 +00:00
skotlex
9a5e48460c
- @pettalk will now fail when muted.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 14:47:30 +00:00
skotlex
9572db00eb
- Enabled changing of equipment while stunned/asleep/petrified/etc
...
- Cleaned up a bit the skill_castend_id dead checks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 14:30:34 +00:00
Playtester
ef1bfce009
* Fixed the Factory Quest
...
- two NPCs in one line won't work! >_>
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 10:50:39 +00:00
evera
b58664ad5c
Added very first part of Bio Ethics Quest.
...
Very far from complete.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 02:28:50 +00:00
skotlex
0f8d093a2c
- Cleaned up run_script_main to properly free previous stack-data when running scripts. Note that scripts may still leak memory when run by non-players and they don't reach the "END" state, however I am not sure how this case should be handled, so it's left as it is for now.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 22:18:53 +00:00
Playtester
f0f744de3a
Added rudeattacked teleport to Rachel MVPs
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 22:04:10 +00:00