9407 Commits

Author SHA1 Message Date
ai4rei
da76d5f271 * Fixed novending cell check using misleading error message (bugreport:2592, since r11572 and r14724, related r11580).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-28 20:25:33 +00:00
ai4rei
05673d2336 * Fixed removing item scripts through script command *setitemscript not working the way it is stated in script_commands.txt (related r9831).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-28 20:24:43 +00:00
ultramage
a182c367f2 Enabled multi-processor compilation in vcproj-10 files too (followup to r14997).
Note that in vs2010 there's an official field for it in the UI.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-21 18:42:55 +00:00
ultramage
b76537ecdf Added /MP (build with multiple processes) switch to all vcproj-9 files to significantly speed up compilation.
Disabled /Gm (C++ minimal rebuild) in debug mode because it conflicted with /MP.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-21 11:00:59 +00:00
ai4rei
92733f48bd * Fixed wrong damage numbers being displayed when the damage source was disguised (bugreport:5093, since r14979).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-19 09:49:31 +00:00
ai4rei
d0aafe2fdc * Added a check to WFIFOSET to detect zero-length 'sets' of packets, that could cause memory corruption (through code after WFIFOHEAD(fd,packet_len(cmd)) where the length is 0).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-17 23:41:13 +00:00
ai4rei
d9c8d6b25a * Fixed natural expiration of GM mute printing the unmute message twice (since r12169).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-16 16:39:51 +00:00
ai4rei
f204e8aa09 * Fixed npc class HIDDEN_WARP_NPC (139) being sent to the client, causing client crashes in poring war. It's a server-side "sprite" only.
- Updated Aegis NPC ID constants from current npcidentity.lub (569~603).
- Reintroduced HIDDEN_WARP_NPC script constant, which was removed by accident (since r14679).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-12 08:08:19 +00:00
ultramage
2da1b94830 Corrected documentation on monster respawn delay1/delay2 fields to reflect actual server behavior (followup to r11964).
Long ago they meant "delay since last spawn/death"; the current meaning is "fixed base delay + random variance".

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-08 22:19:51 +00:00
brianluau
00efb99e6b - Fixed a typo in item_misc.txt (fixes issue 5013).
- Added svn:ignore property to /log/*.log

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14990 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-08 21:48:22 +00:00
ai4rei
7384a04f0a * Updated item_buyingstore.txt according to 2011/11/02 kRO update.
- Enabled older items, that were previously unknown to the item db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14989 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-03 18:40:19 +00:00
ai4rei
b2dca094c3 * Organized items in VS2010 projects into groups like in other projects (follow up to r14562).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-03 09:22:59 +00:00
brianluau
9aa3a700a7 - Removed .gat from map names.
- Removed trailing tabs in some warp portal files.
- Removed `loginlog` table from convert_engine SQL scripts, because it's in the log database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-31 23:19:36 +00:00
ai4rei
d3d918211e * Random documentation of database files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28 12:37:16 +00:00
ai4rei
95775b10ae * Fixed db/packet_db.txt reading not checking for max. amount of positions.
* Introduced MAX_GUILD_SKILL_REQUIRE to fix inconsistency in amount of prereq. guild skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28 12:33:30 +00:00
L0neW0lf.eAthena
3710eab821 * Added Rune Knight job quest, and mount rental NPC.
* Added Rune Knight skill updates, and supporting information for r14983.
* Updated Emperium to be plant-mode.
* Updated item database with RE stats.
* Added new constants to const.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-26 19:50:33 +00:00
L0neW0lf.eAthena
f6b46546b1 * Implemented first version of rebalanced Rune Knight skills.
* Implemented the rebalancing of most Archbishop skills.
* As a result, merged r14979 from trunk. (act/notify packet update)
* Added pc_isUseitem_check_runeskill care of Meyrawr (blocks rune usage based on skill delay.)
* Added more status effects that do NOT save on log out. A whole slew of them.
* Now only level 11 Dec. AGI will take the new config settings into account.
* Fixed Level 11 Dec. AGI duration faux pas, where it was multiplying it by 100.
* Added script command: setdragon: See documentation for details.
* Added script command: successruneuse: Will return 0 or 1. Handles runestone backfire effects.
* Modified script command: produce, now accepts <item id> as a second parameter.
* Corrected message that is displayed when attempting to generate items when that item has a limit.
* GM Item commands will no longer display 'Item created' messages on failure.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-26 19:44:18 +00:00
ai4rei
9ae81c84e8 * Fixed a mistake in RID description in doc/script_commands.txt (since r2402).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-26 14:19:53 +00:00
ai4rei
831027c3fb * Revised packets related to auction system.
- Added packet documentation and corrected existing one.
- Removed an impossible condition in clif_parse_Auction_setitem (since r12301).
- Updated backet db definitions and removed a duplicate entry (entries from older packet versions carry over to newer).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-23 11:03:24 +00:00
flaviojs2005
761b02ed7d * Remove 'hack code' in party_member_added causing crashes since r14968. (bugreport:5069)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-17 19:11:10 +00:00
ai4rei
f87e0c0adf * Added support for new act/damage packet 0x2e1 (ZC_NOTIFY_ACT2) for clients 2007-11-13Sakexe and newer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 15:35:29 +00:00
ai4rei
b13243b678 * Added a message indicating how many concurrent connections the server was compiled to support.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 09:56:30 +00:00
ai4rei
7b4a76f4bd * Added field for the change slot feature to character select list packet for 2011-09-28aRagexeRE and newer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 09:06:42 +00:00
ai4rei
ddd5609af3 * Changed function-like macros into inline functions where it seemed appropriate (topic:264007).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 06:46:57 +00:00
ai4rei
256fd34dab * Fixed public/guild chat message packets sending strings without zero-termination causing recent clients to display trailing junk on such messages (bugreport:5068).
- Changed memcpy to safestrncpy in message packets where overlong messages are truncated (thus loose zero-termination).
- Replaced dynamic allocation in clif_guild_message with buffer from stack.
- Fixed clif_disp_message not checking whether the message fits into provided buffer.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 06:26:40 +00:00
brianluau
b6e6bec3c6 - Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 22:40:00 +00:00
ai4rei
d86eaff5e6 * Some readme clean-ups (related r14711).
- Normalized whitespace and made the html files validate properly.
- Moved faq-content content to faq.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 12:48:11 +00:00
ai4rei
255d0be211 * Updated misleading comment in conf/mapflag/partylock.txt (bugreport:4930, since r14092).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 09:59:57 +00:00
flaviojs
c5832ca11e * Add correct reply when player invited to party isn't found.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-10 17:25:15 +00:00
ai4rei
1ccf4e3dc3 * Fixed a merge mistake in brasilis guide (since r14967).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-10 16:58:10 +00:00
flaviojs
7b1ca6d8b3 * Rework some party code.
- add leader argument to party_fill_member
- add party_getmemberid
- add requester char_id to packets 0x3021 and 0x3821 (party info)
- diff members when replacing party info
- remove fixup all-player-iteration when receiving a party for the first time
- send 'party info' before 'party created'
- send 'party info' before 'party member added'
- update empty party_id when checking the player of a party

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-09 13:19:06 +00:00
ai4rei
6a6aa10721 * Merged changes from trunk [14895:14966/trunk].
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-07 21:35:12 +00:00
flaviojs
dd51e5d71a * Remove fds from the shortlist before processing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-07 11:09:12 +00:00
L0ne_W0lf
4ac7586ed4 Forgot to increase MAX_ITEMDELAYs to 18.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-30 20:18:17 +00:00
L0ne_W0lf
961cb1ba1b * Fixed skill_calc_heal applying heal bonuses only to AL_HEAL.
* Still working on updating the status window to display properly.
* Refine bonuses on armor now apply properly. (+1 additional bonus for every 4 refines.) Refining in general now goes up to 20.
* Criticals will now no longer ignore defense, but will still always hit.
* Converted m/def2 to a short, for testing status window update, will eventually need to surpass 32k. Good like this for now while we work on it.
* Cleaned up some minor things relating tot he arch bishop skill update.
* Applied some of the 30/08/2011 kRO updates to arch bishop skills.
* Added more SI_ Constants from newer clients to status.h.

* Added constants to the database for future updates.
* Updated Runestones and creation items.
* Added Runestone delays to item_delay.
* Added Runestones receipies to produce_db.
* Added dummy rates to refine_db.
* Added Rune Knight skills to skill_cast_db
* Updated Rune Knight skills, and Arch Bishop skills.
* Updated SP requirements in skill_require_db.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-30 19:54:58 +00:00
ai4rei
155a869499 * Updated item_noequip.txt examples to reflect recent changes (follow up to r14961).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-27 16:12:06 +00:00
L0ne_W0lf
76277a427f Fixed a typo (1013,2048 -> 2)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-21 00:01:14 +00:00
L0ne_W0lf
d25e1c287b * Applied map flag update patch provided by Daegaladh. Will mess with custom restricted items.
- Adds a reset mapflag which is checked when using the Neuralizer.
- Syncronizes the item_noequip_db bitmasks with with skill_nocast_db.
- Updates mapflags, and both skills and items which are restricted.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20 23:46:48 +00:00
brianluau
558b08bfe7 - Updated strnpcinfo documentation, following r14929.
- Fixed some script typos. (bugreport:5047, bugreport:5049, bugreport:5056)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20 07:20:19 +00:00
ai4rei
38210eebbd * Fixed CR_SLIMPITCHER passing item requirement index to itemdb_search when used by a monster (bugreport:5021, since r6791).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-18 15:12:05 +00:00
ai4rei
2a28207ffd * Rental items no longer expire in cart and storage. The packet does not support this and rentals cannot be put in on official either (since r14082, related r14083).
- Corrected packet 0x299 (ZC_CASH_ITEM_DELETE) missing inventory index field (since r13370).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-17 12:44:33 +00:00
ai4rei
61395a6003 * Fixed missing edits for cash shop support for clients 2007-07-10aSakexe and older (follow up to r14932).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-17 11:02:00 +00:00
brianluau
f6152933d5 - Fixed some typos in item_db.txt (bugreport:5048)
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14956 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-10 08:44:57 +00:00
flaviojs
9703374f8a * Fix C++ compilation issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-08 19:47:26 +00:00
flaviojs
36bac9f797 * Restrict intif_quest_save to sql only. txt char-server doesn't support the packet and disconnects the map-server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-06 03:45:03 +00:00
flaviojs
967eaaa7a5 * Add consistency checks to the shortlist.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-05 16:18:27 +00:00
brianluau
df757a04ed - Fixed a typo in Nidhoggr's Nest. (bugreport:5041)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-03 21:49:18 +00:00
Skotlex
1a369e2eb5 - Fixed @reloadmobdb wiping out monster spawn information
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-02 07:31:33 +00:00
ultramage
225a4b2ce2 Fixed 'getitem' documentation typo (stating the optional 3rd argument is char id instead of account id).
Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-01 21:19:10 +00:00
Skotlex
4fed311425 - Updated mmo_char_tosql and memitemdata_to_sql to keep a count of errors while saving a character. If there are any errors, the in-memory copy (cp) will not be updated. Should fix dupes that can happen when a intermediary save fails because of sql access being down.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-30 20:16:23 +00:00