5677 Commits

Author SHA1 Message Date
skotlex
5bc3f4b2b0 - Fixed @reloaditemdb not unsetting the consume delay flag when a type 11 item was changed to something else before reloading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10146 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 19:07:48 +00:00
Playtester
15e145f91e * Updated Ninja quest variable usage
- now MISC_QUEST variable is used when completed

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 18:22:06 +00:00
skotlex
5e2ae45c4c - SC_ENCHANTARMS will no longer fail to start if it's already running with a "higher elemental level".
- When trying to trade an untradeable item, the add-item-fail packet will be sent so the client does not gets stuck.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 17:52:26 +00:00
Playtester
e9e744eb51 Updated Poison Bottle and Thunder Box
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 16:22:04 +00:00
Playtester
eea6f44d32 Small mob skill change... need someone to test the 11.1 MVPs since I can't really test it alone
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 09:48:25 +00:00
Playtester
f8d0eb5f7b * Had to revert some mob modes
- figured out I can't read the mode fully from the inc value
- now mob mode is based on Doddler's info
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 09:24:32 +00:00
Playtester
ea1ad901a2 * Tried to fixup some 11.1 mob modes
- a converter would be nice, anyone?

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 00:10:02 +00:00
Playtester
14cd8e113f Raised skill usage and mode of 11.1 MVPs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10134 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 23:46:02 +00:00
DracoRPG
a26bbd70cf Spring cleaning in sql-files/
Officialized a very small bit of the wedding NPC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10133 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 23:31:51 +00:00
skotlex
6a233bec47 - Re-fixed the attack_attr_none setting x_X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 20:06:19 +00:00
Playtester
bbcb43c7b7 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10127 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 19:23:25 +00:00
skotlex
18166d1f87 - Fixed char-server crash on @changegm use.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 19:10:41 +00:00
skotlex
111e75d232 - Cleaned up mmo_auth, as this function was quite filled with sql memory leaks! Also improved the code a little.
- Made account_id and char_id ints in login.h (since they are that type in mmo_charstatus)
- Corrected/simplified the re-walk code when an object's speed changes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10125 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 17:43:30 +00:00
Playtester
81bf36de72 Small fix in Monk Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 17:39:50 +00:00
Playtester
1a8274c655 Officialized Kunai/Shuriken traders
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 17:25:40 +00:00
Playtester
d37da07522 Officialized Fuuma Shuriken quest and merged it to ninja_quests.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 15:40:10 +00:00
skotlex
028031a4da - Corrected the login TXT server not initializing the waiting_disconnect variable.
- Corrected the attack_attr_none check being backwards.
- All pets can now move regardless of their Mob counter part setting.
- Added hom_setting&0x40, when set it clears the "can't reuse" skill delay when you vaporize a homunculus (set by default).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 14:19:55 +00:00
ultramage
a167b6ae62 * Some source code cleaning
- Fixed the badly worded messages during mapserver startup
- Cleaned up socket config reading
- Split resolve_hostbyname() into 2 separate functions for clarity
- Moved the probably obsolete LOWER/UPPER macros to db.c (TODO: remove)
- Moved the badly placed compare_item() function to storage.c (see r779)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 13:46:11 +00:00
ultramage
99fb323a0a Fully removed the msvcr80.dll dependency from the vs8 project files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10118 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 08:35:41 +00:00
Playtester
a191ddd217 Set the default vending tax to 2% as it is in kRO Sakray
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 23:03:37 +00:00
ultramage
3d30bfa551 - Corrected multiple "WoE has begun" announces
- Removed some poor coding from the gunslinger job script
- Fixed some engrish
- Added missing changelog edit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 21:26:39 +00:00
ultramage
5d86a9b352 - Missing files X_X (followup to r10122)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 21:23:53 +00:00
ultramage
dec82b6120 - Fixed the server crashing on startup due to bad define
- Fixed the server crashing on a timer-queued disguise / undisguise (no sd check)
- re-added the item_group_list for consistency's sake, moved to itemdb.h (after some hacking to remove the ugly map.h dependency)
- Removed some overly verbose item group messages & code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10112 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 21:15:57 +00:00
skotlex
37d8d915b2 - Reviewed atcommand.c and charcommand.c to make sure there's no scanf where a string argument is specified without a size limit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 21:15:17 +00:00
skotlex
258746a5f9 - Modified waiting_disconnect on the login server to hold the timer id of the 'set offline' timer.
- connect_client will no longer accept connections when their number is greater than FD_SETSIZE to prevent crashes on packet parsing.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 16:25:34 +00:00
Playtester
2e6907b24f Masamune now gives +2 Aspd instead of +2%
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 16:24:04 +00:00
Playtester
f42e54dad3 * Added EggBoy and EggGirl scripts
- also small fixes to Aspd and Speed bonus

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 16:06:43 +00:00
skotlex
945be871ce - Removed bonus 'bAspdAddRate'. bAspdRate now behaves on a stackable matter, so it's no longer needed.
- Reimplemented the bonus 'bAspd'
- Renamed variable aspd_add_rate to aspd_add, since bAspdAddRate was removed, this variable now holds the absolute aspd bonuses.
- Added define status_base_amotion_pc to get the base amotion value.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 14:40:49 +00:00
Lupus
4d5a0a08bb emsolute develop was incorrectly giving 49% / 51% instead of 50%/50%
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 09:00:22 +00:00
Playtester
0d9fa117eb Added Ninja Weapon quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-31 14:19:30 +00:00
Playtester
a654211313 Added item_misc.txt to yesterday's update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10104 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-31 08:17:23 +00:00
Playtester
c4cb371399 Added names to Item Group items thanks to Leon
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-31 00:02:06 +00:00
Playtester
b1a7e1979e Updated and fixed Item Groups and Doom Slayer
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 23:52:33 +00:00
skotlex
02f408ea73 - Corrected damage of non-player casted Cart Revolution
- Removed enumeration item_group_list and replaced it by two defines, which is what the code really needs. Bumped the max number of item groups to 40.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 23:24:27 +00:00
Playtester
7cab66cea3 Fixed item name of Arm Guard
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 17:05:18 +00:00
ultramage
478b4b58e8 Fixed typos from previous revisions :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 17:01:53 +00:00
Playtester
1908e7dc80 * Added Ninja Gauntlet quests
- massive testing and probably optimisation needed

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 16:30:18 +00:00
Playtester
ba9a9b4275 Updated some headgear names to match the translations
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 14:13:43 +00:00
Playtester
55cade0420 Fixed High Wizard card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10095 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 13:00:39 +00:00
Playtester
6b31e26e55 * Updated Item Givers to X.4
- they are now added up and sorted
- fixed China Gift Box

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 12:10:45 +00:00
Playtester
67ac7c9514 More item updates thanks to Argatlahm
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 11:03:06 +00:00
FlavioJS
43a375ad89 * Added all the missing defines for ctype.h functions and converted all the direct uses to the defines.
Ref: http://www.eathena.ws/board/index.php?showtopic=145235

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-30 06:16:08 +00:00
skotlex
cbac96a819 - Corrected a pretty serious typo in script.c
- Corrected the change that made Coma not be reduced by mdef making Stone, Freeze and Decrease Agi be reduced by luck rather than mdef.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-29 21:28:35 +00:00
skotlex
47ab9dbbf8 - Added "do_abort" function to the core. It is invoked when the server has received a Segmentation Fault or Floating Point Exception signal. Currently the only one that uses it is the map-server, which then attempts to save all online characters before aborting.
- Note that due to the current coding of the sig plugin, do_abort will not be invoked if you use it! This plugin needs to be updated...
- Cleaned up a bit the change element code. val1 is the elemental level, val2 is the element now.
- Hardcoded the element and elemental level of SC_CHANGEUNDEAD.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-29 20:34:17 +00:00
toms
d57ed274ca Continued script.c cleanup
Added defines script_pushstr and script_pushconststr to have the same syntax as integers
Added defines script_getref, data_islabel, data_isfunclabel to increase code readability

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-29 16:11:40 +00:00
FlavioJS
4ba355e389 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10087 54d463be-8e91-2dee-dedb-b68131a5f0ec 2007-03-29 13:51:20 +00:00
skotlex
640ef63c2b - Added defines script_getnum and script_getstr to further simplify variable reading code.
- Applied mass replacing of text to enforce usage of script_hasdata, script_getnum, script_getstr and data_isstring defines where possible.
- Cleaned up the 'input' command code.
- Minor other cleanups in script.c
- Removed OPTION_SIGHTTRASHER as there's no indication this value exists.
- Corrected OPTION_XMAS since 2007 clients have split it up from OPTION_FLYING (on previous clients both were the same option value)
- Removed GRF_PATH_FILENAME references (it wasn't used anymore)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-28 17:29:02 +00:00
skotlex
2049f1ad43 - Corrected statp array not being long enough to actually hold the status points of ALL levels up to and including MAX_LEVEL. Fixes reaching final level and resetting giving you an unpredictable amount of status points.
- pc_resetstate will now fail if you use the stat point table and your char has a level above MAX_LEVEL.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-28 13:51:18 +00:00
skotlex
9d77814b36 - Changed a bit the Moonlit code to prevent an infinite loop
- Changed clif_skillcasting definition to take as argument the element of the skill.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27 21:46:15 +00:00
skotlex
3839fa7619 - Moved coma to skill_additional_effect, added special_state.bonus_coma to prevent doing comma calculations for every player attack.
- Added config "vending_tax" to apply a tax to all vending requests, as it was in kRO Sakray some time ago (requested by Playtester) (items.conf).
- Some cleaning of skill_additional_effect
- Moved the starting of SC_DANCING from skill_initunitgroup to skill_unitsetting
- Moved the checks for player_skill_partner_check and (gm_skilluncond for it) to skill_check_pc_partner
- Negative aspd rate bonuses will be handled as aspd add rate since the default non-stackable bonus is useless on penalty bonuses.
- Added check to prevent the client from using passive skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27 18:38:11 +00:00