5046 Commits

Author SHA1 Message Date
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
skotlex
29cb0abe60 - Added player not attached crash prevention to countitem/countitem2
- Probably corrected delitem not deleting pet eggs at all.
- Possibly nullpo fix on npcskilleffect
- Corrected a warning when using #fakename
- Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
- Mob skill state "anytarget" no longer triggers when the mob has an item-target (looting).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 22:21:34 +00:00
skotlex
ddfc677c99 - @storage/@gstorage will no longer work if you have a trade or a storage opened already.
- Cleaned up a bit @gstorage
- Added a bunch of npc functions required to properly handle moving the NPC cells when an npc is moved from it's previous location.
- Added npc_setcells to handle setting down the NPC cells of ontouch npcs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9990 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 20:02:42 +00:00
Playtester
03b226591b * Updated the "AddEffWhenHit" cards
- chances got lowered according to Aegis, Freya, cRO and euRO
- Lion Mask has 5% chance of silence instead of 3%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9989 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 19:51:10 +00:00
skotlex
9e9628afca - Added resetting the total count of labels to 0 when unloading an npc clears the labels.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 17:53:22 +00:00
skotlex
9692154429 - Removed function clif_movepc as it's no longer invoked anywhere.
- Removed clif_move as it's not needed anymore.
- Renamed clif_moveunit to clif_move and uncommented it. This is the new "unit movement" packet to use (the code should be robust enough to always invoke a clif_insight/outsight for characters going in/out of sight).
- Because of this, many functions that handled the return of conv_str need to be changed, I haven't finished doing the conversion process because I must go already, if someone else can continue, please do so (I will resume work on this in ~5 hours


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 17:33:58 +00:00
skotlex
7691130732 - cbasetypes now assumes that Mingwin does defines ssize_t
- Modified the guild master change ack packet to return the aid/cid of the new guild master instead of the index where it was, the previous method could cause problems in situations where the order of guild members would not match exactly between char/map servers.
- Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%, according to forum infor from ragnagate.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 16:11:20 +00:00
Playtester
10153c3968 Fixed some autocast rates of the new headgears
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-10 18:33:47 +00:00
FlavioJS
9e1989e51d - Took care of all the warnings in grfio and mapcache.
- Mapcache can run on system with any endianness.
  The generated file contains data in little endian.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-09 02:27:16 +00:00
FlavioJS
2b42ec13cf - Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done.
- Propagating const char* from the script engine.
- ".gat" is appended to the map name before sending the changemapserver packet to the client.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-09 01:49:50 +00:00