Commit Graph

  • ddf923dba5 - Changed the status_change structure to use dynamic rather than static memory to hold the individual status changes, this should have a noticeable impact on the server's memory consumption. - Had to add a few 'ugly' flags to status_change since now you can't track SC related information while said SC is not active (happens only for Storm Gust, Joint Beat and Magic Power). - Since I am unable to fully test, watch out for any bugs~ skotlex 2007-11-22 23:52:58 +00:00
  • 94d757d2a9 * Added slots to Cross Shield and Book of Charms (bugreport:429) - Fixed the brynhildr item script. (bugreport:429) L0ne_W0lf 2007-11-22 22:43:37 +00:00
  • 3f1793ee12 * Fixed Missing Variables in Metto quest. (bugreport:473) * Deleted some unused Variables in Bio Ethics quest. * Changed some bad RGB Codes in THQ. (bugreport:211) samuray22 2007-11-22 22:31:07 +00:00
  • 69be534c6f * Moved the reset of references to after the empty script checks in parse_script. (fixes bugreport:222 and bugreport:449) FlavioJS 2007-11-22 19:00:39 +00:00
  • 7ba256db84 Reverted skill db edit from r11772. Yes, Guardian Research's AegisName is GD_GUARDRESEARCH (see strings in client exe). ultramage 2007-11-22 16:25:50 +00:00
  • 508ffb82d9 * Renamed fakenpcname to setnpcdisplay, fixed and extended it. - See doc/script_commands.txt for information on how to use it FlavioJS 2007-11-22 16:06:39 +00:00
  • 622b38ca4a Guard effect when auto-casted by Clock Card will now cancel on armor swap. L0ne_W0lf 2007-11-22 15:34:11 +00:00
  • 20a59e4ce0 * Fixed conf files for jmonster and eamonsters. (bugreport:432) L0ne_W0lf 2007-11-22 15:28:30 +00:00
  • e9e5d6276d * Modified mapserver login procedure to make clients from may 2007 and newer not crash when entering mapserver (bugreport:468) - this changes PACKETVER to 8, causing incompatibility with old clients - this makes the "Login" hex obsolete; please stop using it as it causes a conflict with this update and may have negative sideeffects ultramage 2007-11-22 00:16:37 +00:00
  • f56187c091 ups FlavioJS 2007-11-21 18:21:13 +00:00
  • c7fad50342 * Fixed Sql_SetEncoding not setting the encoding of the connection properly. (fixes bugreport:30) FlavioJS 2007-11-21 18:15:05 +00:00
  • f9f42984e2 * Added backward compatible target 'conf' to the Makefile. FlavioJS 2007-11-21 18:12:34 +00:00
  • 6840bb28ab - Moved subtype from struct block_list to struct npc_data. - Fixed some compilation warnings. skotlex 2007-11-21 13:29:45 +00:00
  • cd362b8ca9 - Optimized a bit the map set cell imperative so it only fails when the target cells are of native type wall/ground, so that it still allows setting/unsetting temporarily unwalkable types by using icewall types of cell. skotlex 2007-11-21 10:28:34 +00:00
  • 287ea2a93e More clif.c cleaning - Renamed clif_set0078 to clif_set_unit_standing, and clif_set007b to clif_set_unit_walking - Added clif_set_unit_spawned (split off from clif_spawn), needed for a followup change ultramage 2007-11-21 10:27:22 +00:00
  • ef0971541b Removed one duplicit sql operation when saving items (bugreport:459) ultramage 2007-11-21 09:08:15 +00:00
  • 0ad3fa93e4 random cleanup ultramage 2007-11-21 08:57:31 +00:00
  • 5f3c387a37 * Homunculi now reset their can-act delay on call/resurrect/mapchange (allows bypassing delays by doing rest/call instead of relog) [ultramage] * Changed Lif's Emergency Avoid to just get a normal skill delay (blocks all skills, cancelled by mapchange / re-summon) instead of getting a persistent block on only this one skill (bugreport:13) ultramage 2007-11-21 08:44:08 +00:00
  • 902d96c6d8 Cleaned up/reformatted clif_set0078 and clif_set_007b (stand and walk packet code). Replaced some heavy #ifdefing in clif_spawn and clif_getareachar_unit with a lazy fixed-width buffer. ultramage 2007-11-21 02:54:37 +00:00
  • e96015d64b - Implemented SL_SUPERNOVICE erasing the death record 1% of the casts. - Implemented current exp being capped to the exp required to level up from the previous level when we are at max level (required for some S. Novice buffs) skotlex 2007-11-20 15:14:51 +00:00
  • 53d5219da6 - removed 'skill_fail' message when a ground skill fails as that caues double 'skill failed' messages in several instances. - Corrected shop freeing using free instead of aFree ,causing memory leak reports. - Corrected the sc def settings modifying tick_def in regards to sc_def instead of tick_def skotlex 2007-11-19 19:40:19 +00:00
  • c1da20681e Random cleaning of party.c in attempt to make party_send_xy_timer() crashes a bit clearer... - now party_db is iterated instead of using foreach() ultramage 2007-11-19 14:51:23 +00:00
  • 7e9f1e929c * Nullpo's disabled on release builds. * Added timestamps to the log of memory leaks. * Moved definition of __func__ to cbasetypes.h. * Configure script updated: - added option to select the memory manager - added option to enable MAPREGSQL - added option to enable DEBUG * common's Makefile deleting svnversion.h on 'clean' target. FlavioJS 2007-11-19 03:05:16 +00:00
  • 0dcc08101d Updated more map flags for Al De Baran's turbo Track. L0ne_W0lf 2007-11-18 22:09:28 +00:00
  • cf2d63d285 - Implemented a small change that was long overdue: Displaying the char-select screen now uses a single SQL query instead of up to 9. - Fixed a bug in the update to prevent setting cell types on unwalkable cells. skotlex 2007-11-18 21:32:24 +00:00
  • 94896dc707 - setting npc cells will no longer work on non-walkable tiles (since you could do this to override cell types and make unwalkable cells walkable again, for example). - Small fix in the char-server accept code. skotlex 2007-11-18 16:13:20 +00:00
  • 9ea5b9c76c * Replaced jA's way of allocating npc shop data with a simple dynamic array that gets allocated during loading and freed on unload - automatically fixes bugreport:404, which would otherwise require manipulating the npcname_db (the original author didn't, hence the bug) - now a supporting variable 'count' is used for tracking the length instead of an extra dummy entry at the end of the shop list - partially removed the MAX_SHOPITEM restriction (if this was written properly, the system could support an unlimited amount of entries) ultramage 2007-11-18 10:36:09 +00:00
  • 42746f05f9 Fixed npc_debug_warps() not identifying x:0,y:0 as valid (random) coordinates ultramage 2007-11-18 02:30:29 +00:00
  • 560005b13e Removed battle_config.error_log as console_silent already handles this ultramage 2007-11-17 20:51:25 +00:00
  • 90b75ed816 Made OnTouch zone dimensions be stored as radius instead of diameter. Cleaned up some overly complicated area calculations. ultramage 2007-11-17 20:03:29 +00:00
  • 71eaa7de49 * Heat now only does 10 hits a second - this is an official kRO update - you can still set the delay in the skill_unit_db to what you desire Playtester 2007-11-17 08:55:01 +00:00
  • 476a18bf33 * Fixed turbo track NPCs that caused "NPC not removed" errors...Even though this bug is slightly official. XD L0ne_W0lf 2007-11-17 05:25:53 +00:00
  • cceb752c18 * Fixed Guild Manager access to Guild Master only. L0ne_W0lf 2007-11-17 04:05:51 +00:00
  • 76d73f31ad * Attempt at correcting a small move mistake I made in regards to the movement of Odin's temple's spawn file. L0ne_W0lf 2007-11-17 03:54:37 +00:00
  • fe9998df32 * Deleted Odin temple field spawn file. Not sure why it stuck around after I moved it properly. O_o L0ne_W0lf 2007-11-17 03:45:55 +00:00
  • 9d4adf0864 * Renamed mob dungeon spawn files to compliment the warp script update. File names now match map names. * Moved Odin Temple spawns to dungeon folder. Split up a few other files. L0ne_W0lf 2007-11-17 03:41:50 +00:00
  • 966634766b * Rev. 11742 Renamed several dungeon warp scripts to match their map names, split up a couple files as well. * Moved Ninja and Gunslinger warps to the proper file. L0ne_W0lf 2007-11-17 03:37:39 +00:00
  • 2a089de427 Fixes bugreport:417 and bugreport:418 L0ne_W0lf 2007-11-15 06:19:29 +00:00
  • 86e082b7a8 removing forgotten debug message ultramage 2007-11-15 05:45:06 +00:00
  • e5fd2c8ab4 - Added 2 new status changes for Life and Regeneration Potions [Zephyrus] - Fixed some items boxes giving wrong tamings. - Fixed another item giving 48 gladius[3] zephyrus 2007-11-15 04:29:05 +00:00
  • 7b0200e6dc Added error messages when trying to place objects on invalid map coordinates (quick patch for bugreport:419) ultramage 2007-11-15 03:42:10 +00:00
  • 6debac1c6e Really fixed bugreport:407 (eA doesn't do lazy boolean expression evaluation) ultramage 2007-11-15 02:20:22 +00:00
  • 3c4c7617e1 Fixed Divine Protection working against players (bugreport:410) ultramage 2007-11-15 01:49:11 +00:00
  • 5f7d7bb1f0 * Several fixes to various scripts. - Resolves: bugreport:351, bugreport:379, bugreport:393, bugreport:407, bugreport:414, partially resolves bug report:414 L0ne_W0lf 2007-11-14 16:45:33 +00:00
  • 4957a893e5 Fixed some guild skill offset calculation mistakes -_- ultramage 2007-11-14 09:38:44 +00:00
  • b5cf6976a2 Fixed some homunculus skill offset calculation mistakes (bugreport:363) ultramage 2007-11-14 09:31:47 +00:00
  • 8cbd792cbd I didn't do it! ¬_¬ Okay maybe I did. L0ne_W0lf 2007-11-13 08:51:38 +00:00
  • 6f05d79ec2 * Fixed warning in star gladiator job test. * Fixed error in assassin job test (missing ;) L0ne_W0lf 2007-11-13 08:50:50 +00:00
  • e12b04e850 Added error reporting for invalid rows in skill db files. Fixed skill_castnodex_db.txt not being parsed correctly. Fixed a search&replace typo in skill_db.txt. ultramage 2007-11-13 07:48:44 +00:00
  • 2d71189702 Added error reporting to buildin_warp when it fails. ultramage 2007-11-12 21:06:49 +00:00
  • 1aa71f445e * Deleted unused variables in some Job Quest (2-1 & 2-2). -Thanks to Ai4rei samuray22 2007-11-12 13:47:54 +00:00
  • 87250b2299 * Corrected a minor error respect to the header in Star Gladiator Quest samuray22 2007-11-12 13:16:59 +00:00
  • b197e7c1a9 -Updated Star Gladiator Quest to the Aegis Standards samuray22 2007-11-12 13:06:31 +00:00
  • 804edb29f7 Fixed homunculus skills having unlimited range instead of being capped to view_distance+1 (for details see bugreport:376) ultramage 2007-11-12 11:19:24 +00:00
  • 9145b0167f - Added SC_INCMDEFRATE, used in Mdef Potions. - Added the effects of the fireworks items. zephyrus 2007-11-12 09:13:29 +00:00
  • 0cf565292d - Important fix to Mail System allowing (by a low change) items duple. - Added picklog to mail. zephyrus 2007-11-12 08:55:36 +00:00
  • b3c5cc4124 Corrected some of the ep. 12 accessory bonuses. L0ne_W0lf 2007-11-12 05:40:02 +00:00
  • f90edd96a6 * Fixed @addwarp crashing the map server (bugreport:390). FlavioJS 2007-11-12 04:15:18 +00:00
  • 1b56a795b9 * The Forget-me-not dance now behaves like Decrease AGI - doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187) - additionally, it doesn't cancel Cart Boost ultramage 2007-11-11 20:46:00 +00:00
  • 788ccb51b6 - hom_setting&0x2 now disables skill range checks for homunculus. For the love of everything that is sinful, please unset this on your server. skotlex 2007-11-11 11:16:48 +00:00
  • 39b8a6f75a - Added missing include npc.h to map.c - Now when job changing to another class tree, status changes from skills that belong to your previous class are cleared. skotlex 2007-11-11 11:02:53 +00:00
  • a5b2c3b30c Applied Rayce's improvements to the npc script parser (see bugreport:387 for details). ultramage 2007-11-11 10:59:41 +00:00
  • 95f651807d Fixed a missing include/export, and typos in the previous revision. Corrected wrong length values in one charserver packet. ultramage 2007-11-11 10:56:39 +00:00
  • a65db8120c - Cleaned up pc_calc_weapontype - made on-touch areas work with walking npcs. Note that the implementation is performance may not be optimal, but I am not sure if it can be done in any better way. skotlex 2007-11-11 10:12:58 +00:00
  • a5a301f9fa Fixed an item giving 24 of the 'Gladius' item. :P L0ne_W0lf 2007-11-11 08:34:09 +00:00
  • ffd150e6f0 Fixed a bug in r11384 letting you bypass requirements for some skills (see bugreport:219). ultramage 2007-11-10 21:26:12 +00:00
  • d093d95e9c Small fix to alchemist job quest that was blocking babies. L0ne_W0lf 2007-11-11 04:30:32 +00:00
  • 1eb8c5f30c * Item Database update. - Added some missing items. (Still much more to add) Slow process as I have to translate them myself. - Added Battle Ground reward equipment. - Implemented some 12.1 equipment bonuses. - Added enabling of level 3 Turn Undead back to Grand Cross L0ne_W0lf 2007-11-11 04:28:35 +00:00
  • 3b742b114e Fixed some more gcc incompatibilities... ultramage 2007-11-10 13:59:23 +00:00
  • 12a567a5f9 Changing enum weapon_type in the mmo_charstatus structure back to integer until someone resolves that include mess... ultramage 2007-11-10 13:26:08 +00:00
  • 5eda6c0e57 Replaced several 'int' variables with enums that they represent. Expanded weapon_type enum with dual-wield constants (bugreport:384). ultramage 2007-11-09 22:42:56 +00:00
  • 376a1f68ba * Re-worked the login-char-map packet spam mechanism - mapserver no longer sends entire user list to charserver every 10 seconds; similar change done to the char-login connection - user count updates are only sent when the value actually changes instead of servers polling each other every few seconds - the servers now prevent interserver connection timeout explicitly by sending ping/ack packet pairs instead of relying on the usercount polling to do so; keepalive is sent every 'stall_time'-2 seconds - removed the @refreshonline command as refresh happens automatically every 5 seconds ultramage 2007-11-09 21:44:29 +00:00
  • 0f6d747991 Fixed socket.c using time() incorrectly, causing stall timer desynchronization (bugreport:394) ultramage 2007-11-09 21:23:02 +00:00
  • 58aba77ff3 * Added a database iterator to db.c/db.h. FlavioJS 2007-11-09 20:59:20 +00:00
  • 0f3255eca8 - Ooops! Adding a missing comma (,). zephyrus 2007-11-08 17:54:43 +00:00
  • bec0f75b57 - Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay on Guild Master relog. - The official setting is 'No', but this is an option for game masters. zephyrus 2007-11-08 17:39:40 +00:00
  • 9d2688ad87 * Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include. * Fixed gm_account_db not being deallocated in login-converter.c. * Refactoring names and documentation in db.h/db.c: - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*' - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*' - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS - removed some @see links and corrected small typos in the documentation FlavioJS 2007-11-08 14:08:32 +00:00
  • 492650729a Synced the charservers' init procedure. ultramage 2007-11-08 10:50:08 +00:00
  • 1fb3859183 Synced charserver char creation creation code * removed most of the creation failure messages printed to console * fixed sql charserver letting you use control chars in char names * new chars will not start with the 'Knife' and 'Cotton Shirt' equipped anymore (charserver blindly placed magic values into the equip field) Fixed a glitch where all packets immediately after the map->char login packet would get discarded and the mapserver disconnected. ultramage 2007-11-08 10:17:44 +00:00
  • a7c2a09d23 * Updated configure script: - small correction to the help text of --with-mysql and --with-pcre - added the -Wno-switch compiler option to suppress the "enumeration value '%s' not handled in switch" warnings FlavioJS 2007-11-08 09:26:46 +00:00
  • ea9b71e78b - Fixed not all objects spawning within your range of sight when you warp/relog if CIRCULAR_AREA is defined. skotlex 2007-11-08 08:43:28 +00:00
  • 3575f9ad9a - Added separated packets for get and set attachment on mail system. zephyrus 2007-11-07 20:45:16 +00:00
  • 009ce06822 - Some updates on the mail system packets [Zephyrus] - Corrected the mail database structure on main.sql - TODO: find what happens when you cannot receive an emailed item due to weight problems. zephyrus 2007-11-07 17:16:53 +00:00
  • ed0f069c10 Applied knc's fix to let authorized GMs use @go on 'nogo'-flagged maps. ultramage 2007-11-07 08:34:10 +00:00
  • f47413c0fa Fixed a crash caused by a mistake in r11657 (bad macro -> function code conversion) ultramage 2007-11-06 22:43:15 +00:00
  • 535df984a3 Patching a gcc compilation problem... ultramage 2007-11-06 19:27:55 +00:00
  • 9bceb2855e Fixed Aesprika's item ID. L0ne_W0lf 2007-11-06 17:40:26 +00:00
  • c5b41e20b8 Another Luina guild manager fix (In an I never updated that worked fine before.) L0ne_W0lf 2007-11-06 17:36:41 +00:00
  • c187942eee Corrected aldeg_cas02 treasure room coordinates. Fixed bugreport:359 L0ne_W0lf 2007-11-06 05:13:03 +00:00
  • 071c8b7f13 Fixed errors in the Halloween 2006 event script. L0ne_W0lf 2007-11-06 04:59:35 +00:00
  • 036c21af79 Added the Halloween 2006 event script. Updated drops for Event Lude. L0ne_W0lf 2007-11-06 04:47:24 +00:00
  • ecd6efc675 Added the Christmas 2005 event script. L0ne_W0lf 2007-11-06 02:10:35 +00:00
  • 45d6a3922e Updated some of the 12.1 armor, added Brynhildr and ASepirka. L0ne_W0lf 2007-11-05 23:32:47 +00:00
  • b4a2a2c9fc Updated sql files Playtester 2007-11-05 20:18:04 +00:00
  • 793b56b374 Fixed Imp using a too high level of Firebolt Playtester 2007-11-05 20:15:01 +00:00
  • 569e4029ba Updated DEF and MDEF of Moscovia mobs Playtester 2007-11-05 19:38:28 +00:00
  • d1074145f0 Fixed a bug in Orange Potion creating. Copy&Pasting = bad. L0ne_W0lf 2007-11-05 15:53:09 +00:00
  • 9d59dba910 Corrected the max. allowed skill name length, and optimized code that works with skill names according to latest changes. Changed skill db loading code to work similarly to how itemdb/mobdb is loaded (generic file loader + specialized function to process rows). * all skill db files are now checked for inconsistencies the same way. ultramage 2007-11-05 14:45:13 +00:00
  • 9f7a8cb1e5 * Reverted official drop rate estimation - although it really exists we don't have enough information about it - if server owners really want it they can implement it themselves (it's just a one-line fix anyways) Playtester 2007-11-05 11:21:08 +00:00
  • f7d4427c1a Changed the skill_db.txt skill names in comments into actual columns, now the server reads these instead of a hardcoded array (see topic:170438). Corrected skill db loading code which was using a totally wrong column count in sevreal cases (or didn't do any checks at all). Cleaned up skill db lookup code * added some well-behaved functions to replace macros (skill_get_index) * used skill_get_index() to replace often occuring blocks of code that did the skill_id -> skilldb_index calculation in-line ultramage 2007-11-05 08:59:19 +00:00