8714 Commits

Author SHA1 Message Date
ai4rei
6b74ef9b50 * Implemented search store info system (aka. vending and buying store search) together with related items.
- Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06 19:16:09 +00:00
ai4rei
ffe2f08b20 * Fixed possible crash in script_reportdata, when a script string becomes NULL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-05 08:53:26 +00:00
ai4rei
a8b582fbf8 * Fixed recursive map_quit invocation when a buying store is auto-closed (login when @autotrade/logout) (bugreport:4796, since r14724).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-04 10:17:22 +00:00
ai4rei
9a7c05e962 * Updates to the super novice's guardian angel prayer effect and related handling code.
- Removed the server-side chat tracking code (since r492) responsible for invoking the effect, since this functionality is handled by the client (invocation also processed by the server). This also fixes the missing 7 lines requirement on the server-side handling (bugreport:4786).
- Updated the checks in the client-invoked code part and documented the packet.
- Now only the prayer in client-side data\msgstringtable.txt (lines 791~794) applies.
- The prayer is no longer blocked by noskill-restrictions.
- Exp at 0% and 100% no longer causes the effect to trigger.
- Fixed the exp percent check to also check one digit after the decimal point (requirement is 10.0% not 10%).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-02 11:55:27 +00:00
ai4rei
57dc2cdfcf * Fixed packet 0x839 (new guild member expel notification) was expected on clients 2010-06-08aRagexeRE~2010-07-30aRagexeRE, although those do not implement it (bugreport:4789, since r14718, related r14368).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-01 22:24:18 +00:00
brianluau
82048a049b - Updated SQL item/mob databases to latest. (thanks Peter)
- Updated item/mob txt-to-sql converter scripts to append a blank line at EOF.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-01 00:37:13 +00:00
ai4rei
6875f52a54 * Reduced MAX_GUILD_STORAGE from 1000 to 600 (like MAX_STORAGE), since storage with 1000 items causes too large packets that are dropped then, which in turn gives the impression that the items are lost (follow up to r14503).
- Note: When updating an existing server, keep in mind that excess items in guild storage get lost, when MAX_GUILD_STORAGE is reduced.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-26 12:16:06 +00:00
ai4rei
c9d4af2383 * Updates to various custom stuff that buying stores might/are expected to support (follow up to r14713).
- Buying store no longer works on novending maps/cells (bugreport:4778).
- MANNER_NOROOM mute flag now affects buying stores as well (like vending).
- Enabled @autotrade for buying stores.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-23 21:00:48 +00:00
ai4rei
824b3f8a47 * Fixed whispering to NPCs (::OnWhisperGlobal) not working for NPCs whose unique name is different from the display name (bugreport:4776, since r2624).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-23 20:14:45 +00:00
Kisuka
261a46ae4e - Added Buying Shop NPCs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-21 06:57:12 +00:00
ai4rei
b70116a541 * Fixed SP regen not stopping when Maximize Power (BS_MAXIMIZE) is in effect.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-21 01:27:49 +00:00
ai4rei
40a8a9cb74 * Fixed missing </File> end-tag in VC8 map-server sql project file (since r14713).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-20 20:33:21 +00:00
ai4rei
7aedde90e8 * Updated guild expel notification packet 0x15c (ZC_ACK_BAN_GUILD) for clients 2010-06-08aRagexeRE and newer to 0x839.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-20 01:21:12 +00:00
ai4rei
bc951500fd * Removed '.txt' from log config info messages, as the values already have an extension (since r197, related r196).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 21:40:16 +00:00
ai4rei
48746d078e * Fixed gcc compile warnings in char-server and console plug-in (bugreport:4771, topic:208746, since r9631 and r14700).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 21:07:43 +00:00
ai4rei
3f4cacac0b * Fixed buying stores could be opened and sold to regardless of distance between seller and buyer (since r14713).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 18:47:45 +00:00
ai4rei
50eab8f576 * Fixed 'feature.conf' not getting loaded and a typo buying store feature setting name (follow up to r14713).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 13:23:42 +00:00
ai4rei
ce3f78556c * Implemented buying store system (aka. reverse vending, purchase shop) together with related skill and items, without NPCs.
- For SQL apply upgrade_svn14713_log.sql to upgrade tables `picklog` and `zenylog`; for TXT no action is necessary.
- Requires 2010-04-20aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 12:59:36 +00:00
brianluau
5c70e95c79 - Set svn:mime-type properties on readme files so they can be browsed directly from the SVN.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 03:25:29 +00:00
Kisuka
d230c68360 - Fixed typo on rogue_skills.txt (bugreport:4768)
- Fixed issue on icecream.txt (bugreport:4752)
- Added missing prize on comodo_gambling.txt (bugreport:4748)
- Rescripted the iRO event scripts.
- Updated the Read Me.
- Added 2009 Novice Training Grounds.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 00:09:56 +00:00
ai4rei
5ed2bd8367 * Merged enumeration update from renewal [14699/branches/renewal] for a future commit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-17 20:16:42 +00:00
ai4rei
ba8bd70b0c * Updated configure/make scripts to resolve various issues.
- Added detection whether or not -fPIC switch is required when compiling shared objects (plug-ins) to resolve compile issues on 64-bit platforms (topic:208746).
- Native 'strnlen' implementations are now detected and disable the one in strlib (bugreport:1261).
- Define 'DB_MANUAL_CAST_TO_UNION' is now set when necessary (bugreport:1261).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-16 19:36:51 +00:00
ai4rei
86091a86f7 * Added support for client GM command /check (related r12076).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-15 11:47:31 +00:00
ai4rei
2fb2b1444f * Fixed drop list of map flag 'pvp_nightmaredrop' not getting cleared upon @reloadscript (bugreport:4282, follow up to r14668).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14 23:34:40 +00:00
ai4rei
0cd89ec86f * Fixed GMs with GM level equal to 'lowest_gm_level' being treated as normal players in 'gm_can_party' check (bugreport:4162, since r13143).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14 21:13:19 +00:00
ai4rei
531584b648 * Fixed a crash when script 'npctalk' is given too long string (bugreport:4759, related r2145).
- Fixed related buffer overflows in message related clif functions (since r1182, r14270).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14 12:49:08 +00:00
brianluau
90a0575afa - Fixed the cutin example in script_commands.txt
- Updated TortoiseSVN and eAthena SVN links in readme.html

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-12 23:30:20 +00:00
ai4rei
9f2620f2fa * Fixed script command 'bpet' (Pet Incubator) displaying an empty egg list when attempting to hatch a pet while already having one out (bugreport:3313).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-09 11:27:27 +00:00
ai4rei
63321f205e * Moved script constant manipulation code into separate functions script_get_constant / script_set_constant. [Ai4rei]
- Added protection against overwriting existing names in script constant creation code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08 10:43:51 +00:00
ai4rei
da989bb356 * Added support for new delayed character deletion.
- Asks for birth date associated with the account and has a waiting time of 24 hours by default (setting).
- For SQL apply upgrade_svn14700.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself.
- This completes support for clients 2010-08-03aRagexeRE and later.
* Updated login sql engine version, missed during `birthdate` addition (follow up to r14672).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08 02:36:43 +00:00
ai4rei
4592b9832d * Updates to various client packets.
- Renamed clif_set0199 and clif_send0199 to clif_map_property and clif_map_property_mapall respectively and added an enumeration for currently known map properties.
- Renamed clif_set01D6 to clif_map_type and added an enumeration for currently known map types.
- Resolved undocumented field of packet 0x22e (ZC_PROPERTY_HOMUN) to attack range.
- Fixed aspd field of packet 0xbd (ZC_STATUS) getting filled with karma value.
- Removed commented clif_skillinfo (duplicate of clif_item_skill).
- Other minor comment updates and 'FIXME' assignments.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08 00:37:33 +00:00
L0ne_W0lf
25e986bc8a - Changed some duplicates so they use a floating NPC as their original. (bugreport:1395)
- Fixed the NPC looking for missing label in the Cursed Spirit quest. (bugreport:4654)
- Applied Uno's fix for the cooldown condition in Endless Tower. (bugreport:4677)
- Removed level requirement for the Viens Stone gathering quest. (bugreport:4678)
- Added the missing restricted skills to zone 6 for Endless Tower. (bugreport:4707)
  It's worth noting how much I hate the system for restricting skills per zone.
- Fixed Cat Hand warp service warping players to all warp options. (bugreport:4709)
- Fixed floor 75 warp in endless tower disabling the wrong warp. (bugreport:4711)
- Added a condition for Chungwolmang to only delete items if a certain ID is specified. (bugreport:4719)
- Corrected a mobcount specifying the wrong NPC in the Moscovia Ship quest. (bugreport:4736)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 22:10:54 +00:00
ai4rei
bc2ec92a4a * Replaced 'nameid < 500' checks in script commands 'countitem', 'countitem2' and 'autoequip' with stricter ones.
- This should stop meaningless itemdb_search warnings from said commands when an invalid item id is used.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 12:18:46 +00:00
ai4rei
1bb6a3d506 * Fixed NPCs with closing parenthesis in their name could not be duplicated (bugreport:3235).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 01:45:10 +00:00
ai4rei
0045508031 * Fixed closing 'switch' curly not causing script EOL processing to trigger, leading to the script line after the switch being handled as belonging to the curly-less statement block (bugreport:3273, since r3422).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 01:02:57 +00:00
ai4rei
6cbc16833f * Removed unnecessary getlogincount.pl, mapcheck.sh and mapchecker.sh tools (topic:262934).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 00:08:50 +00:00
ai4rei
8dc5d7029c * Fixed non-windows 'findfile' utils function missing a 'closedir' call (bugreport:4739, since r1629).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-02 20:00:12 +00:00
ai4rei
2bc3dafd59 * Inventory and Cart item arrays are no longer getting compacted on each log-in/teleport/warp.
- This also resolves yet another issue caused by r14685 (bugreport:2604).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31 20:40:16 +00:00
ai4rei
7557d37013 * Various accumulated cleanups and fixes.
- Improved the compile speed for files which include common/socket.h on windows builds (related r10471).
- Moved FIFOSIZE_SERVERLINK define from common/mmo.h to common/socket.h (since it is a server connection FIFO size setting).
- Fixed script command 'areamobuseskill' canceling monster's skill cast before it determined it's new target, which could be 'none' (bugreport:3272, since r13897).
- Added a protection against attempts to read an empty backup / write to a full backup in skill_dance_switch as per TODO from r11347.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31 12:39:54 +00:00
ai4rei
8fb6c1f646 * Fixed faulty WFIFO reallocation causing memory exhaustion (bugreport:4737, since r1816, related r11503, r11571, r11886 and r12232).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31 11:30:57 +00:00
ai4rei
9492535e65 * Fixed equipped items' bonus no longer working after log-in until next status recalc, due to missing pc_setequipindex which was previously called by pc_checkitem (bugreport:2604, since r14685).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-30 21:36:11 +00:00
ai4rei
884cb80892 * Removed @aw/@away which duplicates and collides with client's /am (away message) (bugreport:1235, topic:163083, since r4351).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-29 11:30:24 +00:00
ai4rei
342f5db18c * Fixed a map-server crash when invalid items are deleted (option 'item_check') from a logging-in character (bugreport:2604).
- This removes the pc_checkitem call from pc_authok, as the check is done in clif_parse_LoadEndAck as well, after first status calc has taken place.
- Inventory list is now sent before pc_checkitem in clif_parse_LoadEndAck, so that deleted items do not show up as 'unknown item'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-29 10:46:01 +00:00
ai4rei
b3efe1d8b4 * Fixed @accept not checking, whether or not a duel is already full (bugreport:2740, since r4111).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-28 02:20:13 +00:00
ai4rei
7a85df4fe0 * Resolving allow/deny IP rules not working (bugreport:2632).
- Fixed 'mask' being filled with 'ip' when standard mask was specified (since r9647).
- Fixed 'ip' and 'mask' (bit mask) being stored in wrong byte order (network order instead of host order) (since r10162).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-28 01:38:33 +00:00
ai4rei
0f1c66191c * Fixed buyers, that are currently in a vending shop could be fooled into buying an item at different price than they see by reopening the vending shop (bugreport:4728).
- This implements the official vending shop unique id handling (previously mistaken for char id), made compatible with packets before it's introduction (follow up to r14234).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-26 11:52:44 +00:00
ai4rei
10d1f8f8eb * Added documentation for undocumented bonuses (bugreport:4727, follow up to r302, r354, r485, r699, r928, r1116, r6221, r7982, r10031, r13596 and r14018).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-24 21:30:43 +00:00
ai4rei
dd4a090c69 * Some cleaning here and there.
- Fixed a typo in basejob_baseclass_upper sample script (since r3893).
- Fixed (for sake of consistency) usage of 'sd' before corresponding nullpo check in party_invite (bugreport:2752).
- Fixed atcommand config reading would not cap level for charcommands, when using atcommand level as fallback (bugreport:2961, since r13409).
- Removed orphaned clif_mob_hp declaration from clif.h (bugreport:2788, since r2092).
- Removed unnecessary look-up in itemdb_available macro, as dummy_item is considered unavailable.
- Removed leftover shortlist linked-list struct (followup to r10507).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-23 18:07:00 +00:00
ai4rei
2d495bd0f2 * Updated Aegis NPC ID constants from current npcidentity.lub (bugreport:4706).
- Fixes some incorrect NPC ID constants (since r12780).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-23 13:14:56 +00:00
ai4rei
639bafa88e * Fixed solo dance/star gladiator warm AoE no longer following the owner and cloaking wall rules no longer working (bugreport:4720, since r14671).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-19 21:13:59 +00:00