Commit Graph

  • cdd5ade6f0 * Fixed using @refresh while having vending or buyingstore open would stuck the character (bugreport:156 , since r1307). ai4rei 2011-06-18 16:08:50 +00:00
  • 81c8c18b57 * Fixed missing strlib.h include for compilers without own 'strnlen' implementation (since r14853). ai4rei 2011-06-18 10:13:19 +00:00
  • 170e322ccc Moved DBMap's string maxlen parameter translation (0 -> UINT16_MAX) to its initialization phase, so that it runs once instead of on every hash and compare step. This will slightly speed up most strdb operations. ultramage 2011-06-16 17:36:53 +00:00
  • 7861584d59 Fixed DBMap's db_dup_key to allocate only as much as necessary (bugreport:4969). This reduces default eA's memory usage by about 400kB. ultramage 2011-06-16 17:01:09 +00:00
  • ccb0bdde68 Fixed char-converter not being able to compile due to both char.h being included. (caused by last commit) flaviojs 2011-06-16 14:02:37 +00:00
  • b02133b422 * Merges from charmerge: - Added DBMap::exists. (r14090) - Added sv_parse_next, a stepped version of sv_parse (delim-separated parser). (r14100 r14104) - Added missing fd check to do_close. (r14145) - Normalized, refactored and restructured some code (in preparation for shutdown/reconnect code). (r14145 r14150) - Changed the char select request code to allow the char-server to reject it. (player in map-server trying to go to char select) (r14150) - Added shutdown support to the servers. (incomplete) (r14152) flaviojs 2011-06-16 10:22:35 +00:00
  • 80f7d00f7b * Fixed 3rd classes not being able to level up after Base Level reset. Gepard 2011-06-13 21:17:23 +00:00
  • dd1cc7c836 * Fixed pet's equip would visually disappear when it's walk speed was changed while it was standing (related r14838). ai4rei 2011-06-13 15:31:47 +00:00
  • 8581de1255 Corrected improperly converted spawns, and instance timers for sealed shine and Orc Dungeon. L0ne_W0lf 2011-06-12 00:26:47 +00:00
  • 36fd8bcf19 * Added support for new skill usage notification packet 0x7fb (ZC_USESKILL_ACK2). ai4rei 2011-06-11 18:23:06 +00:00
  • bb48f685e7 * Fixed party invite packet 0xfe (ZC_REQ_JOIN_GROUP) using account id of the inviter rather than party id. - Added support for new party invite packet 0x2c6 (ZC_PARTY_JOIN_REQ), introduction date guessed. ai4rei 2011-06-11 16:08:44 +00:00
  • 0eb61f5a95 * Fixed a crash in clif_parse_FriendsListAdd, when a player is added that is not online (bugreport:4947, since r14835). ai4rei 2011-06-03 03:18:30 +00:00
  • 213ff7ff38 Fixed a typo in buyingstore_create. Inkfish 2011-05-31 11:43:19 +00:00
  • 9e4d7a1beb * Fixed script command 'warpguild' looking for an attached player even when it is not needed (bugreport:4941, since r2674, related r14840). - Documented special map names recognized by the command. ai4rei 2011-05-30 19:24:02 +00:00
  • ce70d39dbc * Fixed script command 'warpparty' looking for an attached player even when it is not needed (bugreport:4359, since r14311, related r2674 and r5592). - This also resolves an issue, where the command fails when the attached player is on a map that has noreturn or nowarpto mapflags set. ai4rei 2011-05-30 19:00:43 +00:00
  • dd22261936 Renamed clif_parse_ReqFeel to clif_feel_req (since r4352). ultramage 2011-05-29 18:30:23 +00:00
  • 982ce2323c * Fixed pets' speed would not get updated to normal, after they finished running to their owner (bugreport:1304). ai4rei 2011-05-29 16:07:22 +00:00
  • 4356e5fdbc * Fixed NULL pointer in status_change_timer (SC_BERSERK), when the HP subtraction causes the HP drop below 100, but does not exceed remaining HP (bugreport:1150, related r8705, r11786 and r12061). ai4rei 2011-05-29 13:43:51 +00:00
  • aa0bf03f74 * Updated script commands 'npcshopitem', 'npcshopadditem' and 'npcshopdelitem' to support cashshops as well (bugreport:4928). ai4rei 2011-05-29 12:41:16 +00:00
  • 8325f3518f * Fixed players could add themselves to their friendslist through their clones or WPE (bugreport:4909). ai4rei 2011-05-29 12:31:12 +00:00
  • 0bbca2a6aa * Fixed bonus 'bHPDrainValue' on left hand would work as right hand bonus, when specified with 'bonus' rather than 'bonus2' (bugreport:4939, since r6221). ai4rei 2011-05-29 12:09:02 +00:00
  • 946e9bd0af - Fixed a possible exploit in guild castle investment. (bugreport:4929, topic:272783) brianluau 2011-05-24 07:59:43 +00:00
  • 1c0abe84ef - Fixed a possible exploit in guild castle investment. (bugreport:4929, topic:272783) brianluau 2011-05-24 07:59:43 +00:00
  • 177342ad2b - Fixed some bugs in Cursed Spirit quest. (bugreport:4926) brianluau 2011-05-24 04:55:02 +00:00
  • bfbac60c74 * Changed enumerating defines into enumerations (related topic:264007). - Minor fixups on few macros. ai4rei 2011-05-23 07:12:02 +00:00
  • d3d4504d7f - Fixed a typo in eA Job System documentation. - Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917) - Changed <dir> in movenpc to wrap around if the number is < 0 or > 7. brianluau 2011-05-22 18:05:23 +00:00
  • 1370e74073 Quick fix to Venom Splasher's Poison React bonus, 30% -> 20%, based on aegis (bugreport:230). Initially eA used 20%, then it got removed in r10907 due to incorrect info, and was added back in r11494 as 30% (no idea where I got that number from >.>). ultramage 2011-05-18 20:34:13 +00:00
  • e769080fca * Fixed Super Novices could not be adopted (bugreport:4907, since r12389). ai4rei 2011-05-17 15:46:30 +00:00
  • c5c6d83877 * Improved error reporting during monster database and spawn data reading. ai4rei 2011-05-17 05:59:49 +00:00
  • 69948858c4 * Merged changes from trunk [14824:14825/trunk]. Gepard 2011-05-15 17:39:46 +00:00
  • 336680302f * Extracted calculations of the number of status points PC gets when leveling up to a function. Gepard 2011-05-15 17:04:46 +00:00
  • 5d8e2e76bb * Removed status point calculations (duplicate) from pc_resetstate function. It is now handled by pc_need_status_point. Gepard 2011-05-15 15:09:52 +00:00
  • 2e3209566f * Added support for increased max statistics (parameters) for 3rd classes (regular and baby). * Updated amounts of status points given at Base Level up for levels over 99. Gepard 2011-05-15 09:20:53 +00:00
  • 44a2936f02 * Fixes to Job Level stat bonuses table. - Added missing bonuses: Warlock's INT, Minstrel's INT & AGI, Genetic's VIT. - Official Royal Guard's bonuses. Gepard 2011-05-15 08:17:21 +00:00
  • 38725ab312 * Merged changes from trunk [14784:14819/trunk]. ai4rei 2011-05-15 05:30:25 +00:00
  • 5179a206ba * Merged pcdb_checkid update from renewal [14810/branches/renewal]. ai4rei 2011-05-15 05:14:29 +00:00
  • ab5c7c3c16 * Added Job Level stat bonuses for baby third classes. - Fixed Genetic High's VIT bonus being given at different level than Genetic's (since r14557). Gepard 2011-05-14 21:37:57 +00:00
  • 600e9e8320 * Moved bitfield 'boss' inside 'spawn_data' and 'mob_data' into the respective state struct (from r13813, follow up to r14795). ai4rei 2011-05-14 12:07:33 +00:00
  • aaab80fb80 * Some NPC event related cleaning. - Made event label deprecation message a warning rather than an error, as the scripts still work regardless of whether '::On' is used or not (since r6592). - Introduced constant EVENT_NAME_LENGTH (51) for all event name struct fields to eliminate size inconsistency across all objects (was 50 and 51). - Fixed event names, that are considered special attributes, were not wiped when the value was 0 (since r5707). ai4rei 2011-05-14 11:04:30 +00:00
  • f34de92ef0 * Removed impossible condition in mob_parse_dataset as spawn_data::eventname was/is the same size as mob_data::npc_event (since r5707). ai4rei 2011-05-14 10:45:27 +00:00
  • adcb91039d * Updated attribute (element) damage adjustment table. Gepard 2011-05-14 10:14:02 +00:00
  • 333c944cae * Fixed map-server printing deprecation message, when monster event label was used as transport for special attributes (small/large monsters etc.) in script command 'monster' and related commands (bugreport:1274, since r6592, related r5707). ai4rei 2011-05-14 10:05:49 +00:00
  • 9d505aed9b * Random accumulated bits and pieces. - Added checks/warnings to pc_paycash and pc_getcash (follow up to r12264). - Added missing packet_db.txt and packet length table entries for packet 0x0859 (follow up to r14799). - Added set of map_id2xx wrappers for map_id2bl for most common map objects, which return NULL when the bl-type is not the expected one (also updated map_id2nd to behave this way). - Fixed missing ',' in mob_skill_db.txt example (follow up to r14270). - Updated mapcache with recent maps (up to que_lhz). - Functions 'msg_txt' and 'job_name' now return a const pointer. ai4rei 2011-05-14 03:15:51 +00:00
  • 88785ac802 * Added settings 'cashshop_show_points' and 'mail_show_status', both disabled by default, as the messages they control are custom (follow up to r11548 and r12264). - Moved custom cash point update messages to 'msg_athena.conf' (IDs 504~506). ai4rei 2011-05-14 01:25:09 +00:00
  • 1eb3c83394 * Script command 'query_logsql' now throws a warning when SQL logs are disabled (related r11892). ai4rei 2011-05-08 16:11:02 +00:00
  • aa86741f87 * Fixed pcdb_checkid not recognizing invalid/unused job classes (bugreport:4830, since r14755). ai4rei 2011-05-08 06:22:25 +00:00
  • 0c22fcf28e * Updated/revised description of instance-related script commands (bugreport:4880). - Fixed 'instance_create' would return -4 (party already instancing) when the requested party was not found. - 'instance_create' return value -2 now means 'party not found' rather than 'missing parameter'. ai4rei 2011-05-08 05:34:35 +00:00
  • 6f5cd0921e * Removed functions 'decode_zip' (ancient) and 'encode_zip' (from r824) from grfio. These were outdated copies of zlib's 'uncompress' and 'compress' respectively (related r1530 and r5152). ai4rei 2011-05-01 07:26:09 +00:00
  • e7e8d8b953 * Removed auto-add feature from mapindex code, as map indexes are used for save data, thus need to be constant across server starts (since r4726). ai4rei 2011-05-01 05:55:06 +00:00
  • a5fb3f66cb * Fixed @makehomun not checking for existing homunculus properly and thus allowing to create a homunculus when one is already present but inactive (bugreport:4879, since r10272). ai4rei 2011-04-28 16:40:47 +00:00
  • e6a7748564 * Code cleaning and reformatting in functions responsible for sending guild expel information packets (follow up to r14718 and r14804). ai4rei 2011-04-28 16:17:09 +00:00
  • 6e34da4c83 * Updated packet 0x163 (ZC_BAN_LIST) to reflect change in packet layout introduced with 2010-08-03aRagexeRE (bugreport:4881, follow up to r14718). ai4rei 2011-04-28 15:46:26 +00:00
  • 5ae9f931de * Fixed formatted broadcast messages not working with 2010-11-24aRagexeRE and later (bugreport:4872, since r14120). ai4rei 2011-04-28 14:19:56 +00:00
  • 1816631974 * Fixed description for script command 'itemheal' claiming, that this command is responsible for potion visual effects which it is not (item-use causes the client to display these) (since r2397). ai4rei 2011-04-27 14:32:56 +00:00
  • 40ec74d163 * Extended debugging code for bugreport:3504 (related r14599). ai4rei 2011-04-21 15:58:13 +00:00
  • e9be30aea1 * Fixed quest_check checking exactly 3 quest objectives instead of MAX_QUEST_OBJECTIVES (since r13959). Gepard 2011-04-20 03:06:40 +00:00
  • 97eded0c3e * Updated packet for the view players' equip feature for 2010-11-24aRagexeRE+ and made it support robes (follow up to r14797). - Fixed spawn/walking packets using wrong variable for shifting buffer reference (since r14797). ai4rei 2011-04-18 02:10:38 +00:00
  • 0e5b3ff65e * Fixed char-server missing some WFIFOHEAD (partially due to r10909 being reverted by r11245, follow up to r9307 and r14618). ai4rei 2011-04-17 07:29:20 +00:00
  • 847809a9e7 * Added support for visible garments/robes. - For SQL apply upgrade_svn14797.sql to upgrade table char; for TXT no action is necessary, as it upgrades itself. - This also fixes NPCs not being visible with clients 2011-01-11aRagexeRE+ (bugreport:4865). ai4rei 2011-04-16 20:15:20 +00:00
  • 134989d2f8 * Updated field weapon in table char to default to '0' (bare-handed) rather than '1' (knife) (follow up to r11696). - Apply upgrade_svn14796.sql to reflect the change on existing setups. ai4rei 2011-04-16 18:58:26 +00:00
  • dc6ae732e4 * Some cleanups related to player and monster states. - Moved user_font and bg_id out of states as they are data, not states. - Reordered members of state structs so that bitfields are packed together (less memory gets wasted). - Other insignificant code tweaks. ai4rei 2011-04-16 12:18:24 +00:00
  • f0865b9aa7 * Fixed some mob_db columns being too small for currently used values (bugreport:4866, since r14727). Gepard 2011-04-15 09:50:13 +00:00
  • a30431cdc3 Added missing 0x369 packet.(info provided by Yommy) Inkfish 2011-04-13 09:20:50 +00:00
  • 84fcf0da35 * Added more packets for clients 2010-11-23aRagexeRE+ provided by Shinryo. - Fixed missed updates for packet version bump in previous revision. ai4rei 2011-04-10 19:13:58 +00:00
  • 0641ed4d05 * Added support for clients 2010-11-23aRagexeRE+ and 2011-01-11aRagexeRE+. - Servers that used packet db version 'default' until now need to be updated to use version '25'. ai4rei 2011-04-10 17:52:47 +00:00
  • b3ec545cee * Fixed switching between musical weapons would cancel ongoing dance skills (bugreport:4756, since r3538). ai4rei 2011-04-10 14:31:27 +00:00
  • 40b140b335 * Fixed @changegm not updating guild window interface after changing the guild leader (bugreport:408, since r2622, related r3185). ai4rei 2011-04-10 07:13:38 +00:00
  • a94aea7582 * Moved duel code into a separate file. ai4rei 2011-04-09 12:07:58 +00:00
  • 9a2b30522f * Added *.opt (VS6 workspace cache file) to svn:ignore. ai4rei 2011-04-09 09:22:49 +00:00
  • 96a6a43e85 * Merged changes from trunk [14742:14782/trunk]. ai4rei 2011-04-09 09:09:35 +00:00
  • c5b8c85a4f * Changed pc_jobid2mapid to use a 1:1 mapping which is less prone to errors and faster than the previous method (follow up to r14755). ai4rei 2011-04-09 08:38:02 +00:00
  • 953ddef5bb * Fixed memory corruption when amount of players online approached FD_SETSIZE (topic:262388, bugreport:4856, since r11897). ai4rei 2011-04-09 01:39:46 +00:00
  • a49d7f6afd * Added missing Hair Dressers and Hair Dyer to Lighthalzen. - Hair Dresser will change hair styles ranging between 20 to 27 - Assistant Beautician changes to a random style and colour between 1-23. * Updated the Cursed Spirit quest, and added some more town NPCs. * Added more town NPCs to Splendide and Manuk. L0ne_W0lf 2011-04-08 19:03:24 +00:00
  • d82968afbf * Fixed a compile error when socket send shortlists are disabled (s->eof instead of s->flag.eof) (follow up to r11930). ai4rei 2011-04-08 16:25:50 +00:00
  • b0ad05d803 * Fixed monster skill associated emotions were always ignored when having less than three digits ( = all ) (bugreport:4842). ai4rei 2011-04-07 16:10:02 +00:00
  • e3e12bb261 * Throwing around with packet updates. - Clarified the description for role-change chatroom packets 0xe0 (CZ_REQ_ROLE_CHANGE) and 0xe1 (ZC_ROLE_CHANGE). - Fixed auction window opening packet 0x25f (ZC_AUCTION_WINDOWS) had also a close button packet attached (since r12270). - Fixed auction search results packet 0x252 (ZC_AUCTION_ITEM_REQ_SEARCH) obtaining only a WFIFO buffer of 20 bytes, regardless of the amount of results (since r12301). - Fixed auction search result item type was .W instead of .L, which also eliminates the unknown field after it (since r12301). - Fixed an odd packet in clif_Auction_close, which is supposed to have layout of 0x25e, while using 0x25d as packet type (since r12323). - Resolved unconfirmed fields in clif_party_show_picker (follow up to r13987). - Updated packet layouts for auction in packet_db. ai4rei 2011-04-07 14:14:30 +00:00
  • c775425157 - Changed 'specialeffect' when <send_target> is SELF, it will display the effect to the attached RID (if there is one) instead of the npc. (topic:243842) - Changed 'movenpc' to accept an optional argument for direction. (topic:206973) brianluau 2011-04-06 23:49:05 +00:00
  • 4d91919c09 Added two new quests, Alberta Boy and Secret Note of Bazett. Implemented 13.2 update to Report to the New World quest. L0ne_W0lf 2011-04-06 21:46:28 +00:00
  • f49808fa5d * Resolved some pc_setparam issues. - Fixed HP/MaxHP/SP/MaxSP could be set to arbitrary values, thus disregarding configuration limits and causing client crashes on certain conditions (bugreport:4177). - Fixed HP/SP not getting adjusted to MaxHP/MaxSP respectively, when the max. value is reduced below the value of the cur. value. - Fixed STR/AGI/VIT/INT/DEX/LUK values could be set beyond character's max. stat limit. - Fixed Gender not being limited to male/female. ai4rei 2011-04-06 18:38:08 +00:00
  • 04d4e18863 * Improved changes to script command 'waitingroom' from r14772. ai4rei 2011-04-06 16:55:59 +00:00
  • fbb16c5ccb * Fixed script command 'warpwaitingpc' not checking, whether or not the player still has required amount of Zeny (since r14765). - Fixed warping through 'warpwaitingpc' to savepoint would take the fee twice ( missing {} ). - Fixed random warping through 'warpwaitingpc' would not take away fee Zeny at all. ai4rei 2011-04-06 16:06:28 +00:00
  • 0917639f81 SWITCH TO STABLE. STABLE IS NOW THE OLD TRUNK. THE NEW TRUNK IS NOW FOR BLEEDING-EDGE AND/OR UNTESTED CHANGES. Paradox924X 2011-04-06 15:47:16 +00:00
  • f32d321c7a * If you're going to take credit for someone elses work (irony) make sure it's not my work. - Corrected credits in the Eden Quest files. - Removed showevent use in the eden_common file. - Removed the duplicates in the eden_common file. - Removed the korean comments in the eden_quests. L0ne_W0lf 2011-04-06 15:04:41 +00:00
  • f5acf265dd - Eden Group Quests and Services added. Kisuka 2011-04-06 13:38:07 +00:00
  • 1649f98824 * Moved detection of monotonic clock support to the configure script, which also checks, whether or not it actually works (bugreport:1003, related r11912 and r11983). ai4rei 2011-04-05 11:11:36 +00:00
  • 202bdda8d5 * Paying and obtaining Zeny (pc_payzeny/pc_getzeny) no longer silently reverses the effect for negative amounts, that is, getting Zeny instead of paying up and vice versa (since r8273, related r8072). ai4rei 2011-04-05 08:14:54 +00:00
  • bf12d754cc - Completed L0ne's 2007 request for 'waitingroom' to support required zeny and level. - Updated NPC files which required the waitingroom update. - Added Poring War script. Kisuka 2011-04-05 06:00:20 +00:00
  • de4683af94 * Added TargetName values to VS2010 project files to prevent MSB8012 warnings (follow-up to r14562). Gepard 2011-03-29 15:42:53 +00:00
  • 6cc9f191f1 Prevented SC_EXPBOOST, SC_JEXPBOOST and SC_ITEMBOOST (used by Battle Manuals and Bubble Gum) from being dispelled by Gospel. (bugreport:4836) Paradox924X 2011-03-28 04:39:51 +00:00
  • bba102a818 * Added separate character state for vending (like for buyingstore), instead of vender_id != 0 (follow up to r14682, related r14713). ai4rei 2011-03-27 18:43:31 +00:00
  • 2971fb3e9a * Added support for tracking state of client command /effect through packet 0x21d (CZ_LESSEFFECT). ai4rei 2011-03-27 18:17:05 +00:00
  • 13d8ac9537 * Fixed battlegrounds chat packet 0x2dc (ZC_BATTLEFIELD_CHAT) being sent with the battleground id rather than the account id of the talking player (since r13593). ai4rei 2011-03-25 17:31:28 +00:00
  • b8918ccca2 - Removed extra <TAB> from const.txt - Changed the card columns in cart_inventory table to SMALLINT(11), to match other tables. brianluau 2011-03-24 22:51:05 +00:00
  • 24f991b74b - Correct warps for The Sign Quest. - Correct weight for Sealed Scroll. Kisuka 2011-03-22 22:07:53 +00:00
  • 8da1877917 - Renewal changes to The Sign Quest. - Correct warps for The Sign Quest. - Correct weight for Sealed Scroll. Kisuka 2011-03-22 22:07:31 +00:00
  • e05d80a434 * Documentation updates and fixes. - Added documentation for script commands 'bg_getareausers' and 'bg_get_data' (bugreport:3034). - Fixed documentation for script command 'waitingroom2bg_single' (bugreport:4770, since r14373). - Documented optional parameter 'npc name' for script command 'waitingroom2bg'. ai4rei 2011-03-22 19:31:46 +00:00
  • 1d22347126 - AEGIS Conversion of Mob Spawns. - Added 3rd class blanks / skeletons. - Added Brasilis and Dicastes mob spawns (disabled until episode is added). Kisuka 2011-03-22 09:45:13 +00:00
  • 4698c6c569 * Fixed possible client crash when monster is class-changing to mob_avail'd one. Gepard 2011-03-22 02:42:12 +00:00
  • f268ce1577 * Fixed and commented out old Anthell entrance warps (bugreport:3589). - Moved entrance to cmd_fild08 to match mapcache updates. * Fixed an issue in Resurrection of Satan Morroc (Continental Guard Quest) when player dying/logging out during conversation could prevent summoning of Satan Morroc until server reboot (bugreport:3437). Gepard 2011-03-20 23:18:07 +00:00
  • a81e6eed57 * Added Visual Studio 10 generated files to svn:ignore. Gepard 2011-03-20 22:24:08 +00:00