5171 Commits

Author SHA1 Message Date
toms
d86ffb1af5 Added some svn:ignore properties
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26 14:28:49 +00:00
toms
29422b3874 Solved console plugins compilation error
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26 14:24:14 +00:00
ultramage
905f2da40c - Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB. (high-rate servers will have to change this)
- Corrected SC_COMA's success chance (X.4 says it's unconditional 100%)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26 10:15:04 +00:00
ultramage
158609d145 Changed the vs8 used crt library to static linking
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-26 00:02:57 +00:00
skotlex
e783bbffec - Coma now reduces SP to 0 (with the exception of Dark Blessing)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-25 21:42:53 +00:00
toms
27ae4f7091 Corrected warning on login.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-25 12:31:57 +00:00
skotlex
4b0a77360e - Corrected offset for the pet hairstyle in the spawn packet (0x7c). I still can't figure out where the pet-equip offset should go, it appears this packet does not supports it.
- Moved the location of the clif_insight call in LoadEndAck to prevent the homunc/pet spawn packets from being sent twice to the owner.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24 18:09:52 +00:00
ultramage
e893e46e0e Updated the visual studio 7 & 8 project files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24 12:52:09 +00:00
ultramage
c1c9806df3 minor vcproj7 sorting
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24 12:40:05 +00:00
ultramage
fdcca7192a Corrected change r10051 which prevented Ice Pick from working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-24 01:29:00 +00:00
skotlex
50af14ce15 - Made waiting_disconnect on the char server be an int to hold the timer ID of the timeout timer. It is now deleted when a player is successfully set offline/online.
- Corrected @unjail having the GM level check backwards.
- chrif_authok will now reject to store the newly received status data when the player it was received from is still online, should prevent losing data in certain situations.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23 15:58:36 +00:00
ultramage
f4a864cfc4 Removed the npc_chat complication I committed yesterday
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23 10:55:50 +00:00
Playtester
dfd82cadb7 Fixed some item names thanks to Argatlahm
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23 10:53:15 +00:00
Lance
969c49d07c * Temporary resolved npc_chat.c macro issue. Please revise where to put the macros.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-23 07:14:39 +00:00
ultramage
c11d18be16 Removed charsave from projects (used old data for the previous commit, sorry)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 21:42:21 +00:00
ultramage
cb3e3fd4f9 Major reconfiguration of the vs7 project files (+vs8 while I was at it)
- added definitions _DEBUG and NDEBUG to tune system-specific stuff
- reduced the build requirements (Pentium 4 was a bit too much)
- changed build settings and project structure to match the vs8 projects
- corrected some vs8 inconsistencies

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 21:37:51 +00:00
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