5055 Commits

Author SHA1 Message Date
ultramage
06f0d60116 Some generic typo fixes (src and npc)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 21:03:19 +00:00
skotlex
a0d1e3f0dd - Removed unused bIgnoreDefMob
- Removed unneeded sd variables cart_max_weight and cart_max_num
- Made ignore_mdef_ele/ignore_mdef_race/ignore_def_ele/ignore_def_race unsigned chars rather than ints.
- Made pc_dropitem check for inventory_data, to guarantee that the item will be deleted from the inventory after dropping it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 16:46:09 +00:00
skotlex
7ec7957962 - Twilight Pharmacy's cast time is no longer reducable by dex.
- All weapon enchant levels now last 3 minutes.
- Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than 100%
- Food boosts are now dispelled on death only.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 14:57:55 +00:00
Playtester
5e8af53cc8 Added 11.2 weapons
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 14:49:16 +00:00
Lupus
11956bf6fd reformatted the sign quest for future optimization
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 12:43:16 +00:00
skotlex
f441021b95 - Corrected setitemscript so it actually changes the script as requested instead of causing dangling pointers.
- Cleaned up unitattack
- Made packet_ver_flag's description use hexadecimal values for the packet versions, and changed the default to 0xFFFF.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 21:13:47 +00:00
skotlex
161ee3ac50 - Cleaned up some the code of pc_equipitem and clif_parse_EquipItem
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 16:03:12 +00:00
skotlex
cc6a222a11 - Added define MAX_CHARS so you can easily mod the server to support a different amount of characters per account (however, there is still the issue of hexing the client to support this change)
- Updated msg_athena.conf so it no longer uses broken english on several entries. Thanks to Scerez for the updated file.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 14:52:23 +00:00
Lupus
b67cf18abd optimized novice grounds. optimized 1 card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 08:42:07 +00:00
skotlex
e377e96bc9 - Increased Improve Concentration's hide-revealing range to 3 (7x7)
- Cleaned up a bit the Ankle Snare status code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 21:14:55 +00:00
skotlex
dc42b4aa62 - Added Magic Rod's "action" pose when using it.
- Corrected a pluralization typo in item_db.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 16:51:11 +00:00
Playtester
19edc61ab5 Fixed RSX 0806 and General Ygnizem card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 16:45:18 +00:00
skotlex
a102344894 - getpetinfo 5 will now return the pet's rename flag.
- Autoloot will now only work on items dropped a certain distance from the player. The distance is defined by AUTOLOOT_DISTANCE in atcommand.h and defaults to AREA_SIZE.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 16:02:22 +00:00
skotlex
3ee61db52f - Removed Magic Rod's cast bar.
- Corrected warning on login sql.
- Gravitation no longer causes damage flinch.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 14:59:16 +00:00
toms
3d83f71043 Modified swap #define to avoid 'value computed is not used' warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 14:24:41 +00:00
Lupus
a431acd416 Added npc/sample/npc_live_dialogues.txt how to use Global_Functions.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 06:48:26 +00:00
DracoRPG
e63626deea Increased MAX_STATUCHANGE to 300 so we won't get the same error over and over next time we add an SC...
Reverted the map index reading for the map-server to the old system (from map_list.txt and not map_cache.dat)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 22:58:20 +00:00
ultramage
c9ee6987e6 - Patched the MAX_STATUSCHANGE startup error
- Fixed a compiler warning
- Really removed duplicate Noyee npc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 22:17:44 +00:00
skotlex
2907fa6467 - Removed the last argument from skillitem, the skill name passed to the client should always be of the type "AL_HEAL" anyway.
- Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should use.
- Corrected itemskill calls in the item_db, also made the weapon enchanting items invoke the ITEM_ENCHANTARMS skill. Corrected Holy Egg not being type 11 (delay consume)
- Updated item_db.sql with item_db information.
- Added support for specifying different elements per skill level in the skill_db
- Added bonus bNoKnockback
- Corrected typo in bonus bSubRace2 (it was called bSPSubRace2 for some reason)
- Corrected login sql server not resetting your account state to 0 when the banuntil duration expires.
- Corrected use of UINT_MAX instead of INT_MAX in some jailing check.
- Made the skillatk bonus it's own function, it can now be used to boost Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
- Cleaned up TK_WARMWIND to use the element acquired from the skill_db rather than hardcoded values.
- Corrected Teleport's save map entry being sent without the .gat extension.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 19:44:21 +00:00
Playtester
9da9461dfe * Updated new cards [Playtester]
- they can all be used now, however some bonuses are still incomplete
- also fixed Byeollungum, The Sign and Turtle General Card

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 18:10:12 +00:00
skotlex
7b2a5ff106 - Corrected Warp Portal not sending the map names with the .gat extension.
- Probably corrected Disarm's strip animation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 14:26:18 +00:00
skotlex
d1fda3045f - Rewrote the jail logic to always use a status change. This means that the character's save point is not changed when jailed, and the char is always warped back to the point where it was before being jailed on unjail.
- Made pc_setpos fail if you are jailed, effectively blocking you from being moved out of the jail map for the duration of jail.
- Modified @adjcmdlvl so you can't set a command to require higher level than yourself, and so you can't edit the level of a command which is higher than your own.
- Corrected attack_attr_none setting disabling elemental resist cards.
- Added missing cap check of 100% to drop rate configs for heal/use/adddrop (cards)/treasures.
- Corrected Autoblitz yelling the skill name if the attack splashed.
- Corrected Dispell removing Jailed status.
- Corrected being able to revive with 0 hp.
- Modified the "Restart" code so that it makes you stand on spot when pc_setpos fails to move you back to your originating location.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 04:36:44 +00:00
ultramage
9579515cb9 - Removed the old 'mapserver charsave' mechanism
- Fixed some wrong sql login logic
- Fixed some compiler warnings, cleaned up mapserver sql-related vars

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10027 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 22:43:41 +00:00
toms
3e25d536cf Globalised use of script_pushint and script_getdata in script.c
Little clean of unused variables in script.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 21:35:42 +00:00
FlavioJS
14e2d760f9 * Script engine:
- calling functions without using the return value doesn't generate warnings
  - more work on Ticket #41
* Took care of two warnings and a minor change to the makefile.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 16:07:16 +00:00
Lance
66c7c0d040 Added missing VC++ 7.1 project files for mapcache.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 09:50:57 +00:00
ultramage
91fe35aab8 A note about the case_insensitive config setting, read changelog for details
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-17 22:44:02 +00:00
ultramage
2a7f5aeb7f committing my work on the login server (mostly SQL)
- removed the check_ip_flag from login&char (there since r1)
- removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
- removed dynamic_account_ban, gm_db settings, weren't doing anything at all
- modified the date_format setting to take the format string directly
- removed overly verbose config loading messages
- removed/simplified many more useless actions
- renamed the dynamic_pass_failure_ban_ settings to make more sense
- collected relevant config settings into a login_config structure and documented their purpose
- allowed usage of yes/no instead of the user-unfriendly 1/0 method in config settings (and added 1/0 as a possible option)
- fixed dnsbl which was always taking only the first entry into account

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-16 17:40:44 +00:00
ultramage
ea94ff3e8a Fixed a missing curly brace and removed some more .gat-s
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-16 13:42:33 +00:00
Lupus
3b7ccf4d14 removed all .GAT from configs, docs and examples
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:51:30 +00:00
Lupus
c6d5f38b75 removed all .GAT from all the scripts and tested
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:32:55 +00:00
toms
4670b25f7b Added GCC4 autodetection for -Wno-unused-parameter and -Wno-pointer-sign in Makefile
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 15:28:22 +00:00
toms
67e27505ff Fixed compilation error added in r10003 in skill.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10016 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 15:13:45 +00:00
toms
4bd5a67388 Fixed compilation of the mapcache builder under linux
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 15:04:29 +00:00
FlavioJS
f48a49e655 ups, how did that get in...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 13:57:55 +00:00
FlavioJS
b7f0cc8905 - Corrected the structure and added info on the skill fail packet (0x110).
- Added packet 0x223 as clif_upgrademessage (not used yet).
- More work on Ticket #41.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 13:49:25 +00:00
DracoRPG
4f95fcb339 Updated the src/tool/Makefile to allow compiling the mapcache builder
I don't have an available Unix environment here, so it's very likely it won't work x_x feedback please

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 10:44:19 +00:00
skotlex
fec9da329e - Small change in the login-sql server that prevens crashes when somehow people change the lastlogin column to accept nulls.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 04:41:34 +00:00
DracoRPG
95b2bfbc14 Added brief doc for the mapcache builder
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 00:11:14 +00:00
skotlex
a132a2c72c - Increased Shield Chain's range by one. It is now a ranged skill.
- Added SC_CHANGEUNDEAD to differentiate it from the other elemental change skills. It now fails on Undead/Dark elemental targets.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-14 19:33:58 +00:00
skotlex
0fa8a867bd - Corrected party item share settings not being properly updated on logon.
- Corrected battle_attr_none setting applying to elemental attacks instead of neutral ones.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-14 19:31:43 +00:00
ultramage
5eedf6a398 Restored file history deleted in r10003
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 23:08:45 +00:00
DracoRPG
61d30841c0 Fixed a warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 21:22:29 +00:00
DracoRPG
58dcd187b0 Mapcache update, should polish off remaining bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 20:24:08 +00:00
Playtester
a519071a70 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 16:07:02 +00:00
skotlex
2b3c274f78 - @pvpoff and @gvgoff will make everyone in the map stop auto-attacking now.
- when @killer is deactivated the issuer will stop attacking.
- when @killable is deactivated, everyone around the user who is attacking the issuer will stop.
- Cleaned up some the code for dispell. It no longer removes food boosts.
- Players will stop attacking when they change their look.
- Applied Alydis's fix to the mvp item logs logging mvp items even if the player couldn't get the item.
- Changed the default of debuff_on_logout to 1 since food items shouldn't dispell on logout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 15:49:49 +00:00
Playtester
08c5cbcfa0 * Reduced the chance to socket enchant a C rank item to 40%
- info comes from kRO monthly and jRO players
- this is based on "better too low than too high"

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 12:16:09 +00:00
Playtester
f84461eda6 Small fix on aegis names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 23:10:09 +00:00
skotlex
d25c9daa47 - Cleaned up the implementation of party_send_movemap, it should fix the client receiving the party-mate positions before receiving the party information when you first log on.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 19:02:20 +00:00
skotlex
3035c863f9 - Corrected the new packet version entries for skilluseposinfo
- Corrected item reloading not unsetting the "delay consume" flag if the item had changed it's type.
- the Attack_Type variable in skill_attack now inherits the damage.flag properties, this fixes ranged status effects not triggering.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 16:10:15 +00:00