Commit Graph

  • b8cbeb24b8 - Some optimizations to @noks (now using a Status Change timer). - Added support to Self|Party|Guild options. zephyrus 2008-02-14 20:54:25 +00:00
  • 2d67424eb1 Removed/replaced all calls to map_getallusers (followup to r12195). Trashed @whozeny (from r269). ultramage 2008-02-14 19:11:11 +00:00
  • 69ae4766ce - Added some new config settings: homunculus_autoloot, idle_no_autoloot, max_guild_alliance. - Added a code to activate a Kill Steal protection and the required mapflags. * (I will explain this later on forums). zephyrus 2008-02-14 01:18:19 +00:00
  • 9fd3b6a93b * Corrected a "donpcevent" missing a ":" in Cooking Quest. (bugreport:962) * Corrected a Typo error in quest_prontera.txt. (bugreport:950) samuray22 2008-02-13 21:41:59 +00:00
  • 89a339b7f1 - Added some new cash headgears. zephyrus 2008-02-13 20:01:16 +00:00
  • e3bcc90775 * Changes to memory manager: [FlavioJS] - fixed blocks that are fully used not being detected (and not freed) in memmgr_final (unfill_prev is NULL for unused blocks and full blocks) - fixed memmgr_final giving the wrong address to _mfree (for small blocks) - added the pointer address to most error messages (and log) - made it append to the log file instead of rewriting it - implemented a function to verify if a memory location is active - other minor changes FlavioJS 2008-02-13 18:05:56 +00:00
  • 8b151df5c7 - Some fixes to mail system. zephyrus 2008-02-13 17:55:32 +00:00
  • 1f34d119d9 Merged memory manager updates from old jA revisions (bugreport:663) Produces less memory overhead and has better overflow detection. Caution, experimental / not fully tested code! (seems to work though...) ultramage 2008-02-13 09:41:20 +00:00
  • 7d22579be3 Fixed SQL charserver not logging char deletion correctly (see bugreport:944) ultramage 2008-02-12 21:32:23 +00:00
  • 07e2bbfa4a Fixed a typo in #item preventing it from working (see r12195). Cleaned up #item, now uses a common function for item giving. GM min/max level drop restrictions now apply to #item (see bugreport:396). Item trade restrictions now apply to #item. ultramage 2008-02-12 21:26:36 +00:00
  • b24b80c5c9 Getting rid of map_getallusers(), part 1 ultramage 2008-02-11 17:46:31 +00:00
  • 224a459acf - Applied some cleanups to party.c/guild.c to ensure that direct pointers to sd are only done for valid sd states. skotlex 2008-02-11 14:11:41 +00:00
  • 7d317be8dd - 'Forget me Not' no longer blocks ASPD bonuses from working or prevents their re-casting, they are simply dispelled when the effect takes place. - Fixed a possible crash when a player logs out before their create-party request is accepted. skotlex 2008-02-11 13:11:15 +00:00
  • 549684872d * Expanded the script command 'input': (bugreport:811) - two new optional arguments 'min' and 'max' - return value indicating if it's in the correct range - config variables for the default value of the arguments: 'input_min_value' and 'input_max_value' in script_athena.conf FlavioJS 2008-02-11 10:40:52 +00:00
  • 7aee90fe03 Added two missing opt2 values, for Angelus and Bleeding status. Cleaned up pc_statusup and pc_statusup2. ultramage 2008-02-10 22:43:22 +00:00
  • c12125ed84 Fixed Warp Portal code sometimes producing errors/crashes in the case where a priest enters his/her own warp (bugreport:270) ultramage 2008-02-10 22:40:50 +00:00
  • 1dd26ae46d Castle ownership displays at the start and end of WoE. L0ne_W0lf 2008-02-08 15:32:18 +00:00
  • 938b488af0 Fixed a typo in the Lunar new year event. L0ne_W0lf 2008-02-08 15:22:45 +00:00
  • c2a02f48bd Fixed wrong message in item group loading code (bugreport:936) Fixed 'charisalpha' not working for the first char (bugreport:940) Disabled signed/unsigned warnings for visual studio 2005 ultramage 2008-02-08 10:23:24 +00:00
  • 2828ad34c8 restored custom events directory (deleted in r12177), moved it to where it was supposed to be moved ultramage 2008-02-08 08:10:46 +00:00
  • 802be4c433 Updated some existing items and added some others. * Changed NPC_BLEEDING in mob_skill_db to be target not self. * Added Event drops to tarou, cramp, martin. (enable in mob_db2) * Added new pet: New Year Doll (quest reward) thanks to Yomanda. L0ne_W0lf 2008-02-07 17:12:54 +00:00
  • a9cc8dbed6 Updated some Airship/port npcs L0ne_W0lf 2008-02-07 06:29:22 +00:00
  • ed46c03bf6 Updated "Old Blue Box quest" and enabled it. This quest no longer gives unlimited Old Blue Boxes, and was apparently never meant to. L0ne_W0lf 2008-02-07 06:07:36 +00:00
  • 96684da892 - Fixed Freezing Trap doing no damage (changed type from misc to weapon) - Changed suiton's element to water (apparently fixes not being able to use water-based skills on it) - Fixed Landmine doing no damage (decreased trigger range to 0 to match its splash range) - Fixed the disguise commands using the wrong variable when attempting to disguise as an npc. - Fixed a compilation warning on CELL_CHKNODAMAGE (which is a totally bad-ripoff of basilica cells anyway) - Corrected and optimized npc_remove_map's npc array cleanup (@reloadscripts no longer report 'too many npcs per map and related dangling pointer crashes are fixed) - Removed suspicious, yet totally unused npc_data variable 'n' - HP loss item scripts can no longer kill you. - Corrected the item-drop-rate check to avoid duplicate entries in @whodrops after a @reloadmobdb - Cleaned up and optimized map_addnpc (there are never any gaps in the npc array so npc_num always points to the last valid entry) skotlex 2008-02-07 00:07:47 +00:00
  • 5d74825b71 - Corrected a little bug in assassin job quest. zephyrus 2008-02-06 22:31:45 +00:00
  • 71236c0508 * Corrected again the Cooking quest changed a close; to close2; samuray22 2008-02-06 01:23:04 +00:00
  • 39d2d8fba7 * Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921) * Corrected a lot of ";;" Typo errors. -Some of this are in the bugreport:919 * Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911) * Corrected some typo error with "rouge". (bugreport:909) * Moved Custom Event folder to Custom Folder. samuray22 2008-02-05 17:54:03 +00:00
  • 53ebef57e5 - Enabled ERS System in trunk (Let's make JetVictor dreams come true!) zephyrus 2008-02-04 18:34:19 +00:00
  • c4fb4f4361 - Some code cleanups. - Added new Cell types (NoChat and NoDamage) - Added JobChangeLevel and FreeSKPoints to #stats - Added a Crash protection in clif_send with invalid fd values. - Merged a missing update in TK Mission. - Added script command 'getmapflag' - Merged some new Status Change to Stable. zephyrus 2008-02-04 18:23:57 +00:00
  • 127d1feaab Fixed one IRC module crash when trying to send messages when disconnected. ultramage 2008-02-04 17:24:49 +00:00
  • 9b8b53b7cf - Fixed a 'typo' which made my last commit actually not fix anything (Plagiarize can no longer copy skill levels beyond their max skill_db value) - Corrected Diablo's Robe equip-level and weapon-level columns being exchanged. skotlex 2008-02-04 10:18:56 +00:00
  • 2ef6778696 Fixes to Devotion (see topic:153345) - removed totally fake Devotion packet from Marionette Control code (see r3934) - fixed one devoted chars array management code bug which caused chars to be included in the array multiple times, producing various problems (also see r3934) - the link will now re-display when coming into view range - the link will no longer break if the devotee walks away, but instead, if he receives damage while being out of range of Devotion ultramage 2008-02-03 23:26:00 +00:00
  • 0594a1a350 * Added an iterator to map.h/c. Will be used instead of map_getallusers, which has problems with dangling pointers (returned array isn't updated). FlavioJS 2008-02-03 19:20:42 +00:00
  • 5ce5cdb524 Added a missing client update when the mute status is manually cancelled by a GM (followup to r12079) ultramage 2008-02-03 17:30:53 +00:00
  • 8d811654b9 Fixed npc reloading crash (bugreport:889) ultramage 2008-02-02 08:16:53 +00:00
  • ee0667c3eb Added a missing script On-events index refresh operation after a npc is unloaded using @unloadnpc (bugreport:9) ultramage 2008-02-01 08:05:54 +00:00
  • fb85ff7006 Fixed sql charserver crashing when mapserver is disconnected and someone does a double login (bugreport:870) - it was a typo in r11410 ultramage 2008-02-01 07:22:17 +00:00
  • fe6aa47cdb - Fixed typo and missing "'s in Megingard Seal Quest. - This bug was halting the npc dialog with the "Librarian Jekan". zephyrus 2008-02-01 04:37:05 +00:00
  • 3fd5ba0c7d Started fixing bugreport:899 and fixed bugreport:875 L0ne_W0lf 2008-02-01 00:38:56 +00:00
  • 1e2c57d2c3 Updated Lighthalzen Town NPCs and Speed Potion quest. L0ne_W0lf 2008-02-01 00:07:20 +00:00
  • 8a926e83de Added back the GRF_PATH_FILENAME variable and commandline parameter. Removed confusing /tool/mapcache/ configuration directory, changed code to use /conf for this purpose. ultramage 2008-01-30 16:25:47 +00:00
  • e3ee239077 - Fixed a serious zeny exploid on scripts. Please update!! zephyrus 2008-01-30 09:14:58 +00:00
  • 52b3140f90 - Plagiarize can no longer copy skill levels beyond their max skill_db value. skotlex 2008-01-29 19:26:18 +00:00
  • 220fb381a2 - Modified pc_dead so that the src is passed on to the master when it is a pet or homunculus. skotlex 2008-01-29 13:17:15 +00:00
  • e727c51605 - Added some error reporting when a player is not found inside its guild/party while logging out. skotlex 2008-01-29 12:49:30 +00:00
  • 96dfe6b827 - Cleaned socket.c to use flag.server when detecting inter-server connections. skotlex 2008-01-29 11:04:21 +00:00
  • 6eec5a3eb7 Fixed a coding mistake I made in r12142. ultramage 2008-01-28 15:03:08 +00:00
  • abfede067c * Added new cash items hats: - Yoyo Hat (Thailand RO). - IDs 5372 to 5378 (Philippines RO). zephyrus 2008-01-27 21:00:32 +00:00
  • b605b6d722 * Small update to the dgbhelpplug plugin: - fixed only half of wide character strings being printed - fixed the memory validity check in Dhp__PrintDataValue being optimized out in release mode FlavioJS 2008-01-27 00:34:24 +00:00
  • b6520cbfd6 Added an out-of-bounds crashfix for map_delobject and map_delobjectnofree. Added missing EOL to the 'hack on namerequest' console message. ultramage 2008-01-26 15:18:32 +00:00
  • c53f4f1955 Some random cleaning ultramage 2008-01-26 09:44:10 +00:00
  • ac123d2304 Updated conversion tools for mob_db & item_db Updated SQL Files (item & mobs) toms 2008-01-25 16:11:39 +00:00
  • 5d087e966f * Changed cast time of Napalm Vulcan from 1,7s to 1s. Based on X.4 and 11.2 zones FlavioJS 2008-01-25 15:38:57 +00:00
  • cb9dc50f84 - Fixed pc_setrestartvalue not correctly setting your SP when sending to save to the char-server while dead. skotlex 2008-01-23 23:19:47 +00:00
  • f8732d9c1a - Typo. zephyrus 2008-01-23 17:04:06 +00:00
  • 78e24d1e09 - Removed hom_setting&02 (ignore skill range) as this was fixed by Gravity some time ago. - Moved pc_delinvincibletimer from unit_removemap to unit_free as the previous method has a logic glitch that could cause an on-place event to trigger after the on-left event. skotlex 2008-01-22 13:13:57 +00:00
  • 8591686b27 Fixed/cleaned r12114 and 12117. ultramage 2008-01-21 11:02:21 +00:00
  • 6c10763883 Fixed battle config loading not applying the side-effects of battle_adjust_conf() side-effect if an import: operation fails. This is what caused the odd slowdown reported in bugreport:260. ultramage 2008-01-21 10:24:33 +00:00
  • 4fcaa2f78f - Optimized some code about @size changes in chars. - Fixed #jailtime (Bug Report 853) crash. zephyrus 2008-01-21 07:41:52 +00:00
  • 4cd9a940e5 Corrected one setcastledata call that I missed in r11915 ultramage 2008-01-20 22:22:36 +00:00
  • b4a3bad556 - Fixed a comparison whn doing item searches - Fixed hom_setting&0x2 conflicting with the 'view-range' limit check. - Stone curse now uses status_percent_damage instead of a precalculated value. - Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all the status changes that cannot be triggered on bosses are dispelled. - SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP class. skotlex 2008-01-20 14:32:10 +00:00
  • cbd15650f1 Fixed yet another status code crash, this time when a stonecursed mob with high maxhp changes class to a Poring (see bugreport:621) ultramage 2008-01-20 12:36:28 +00:00
  • 25fbe01a75 Expanded a mapserver's debug message in its interserver parsing function. ultramage 2008-01-20 08:47:31 +00:00
  • 660bb1e515 * Fixed a bad countitem in cross band quest. (bugreport:840) samuray22 2008-01-19 18:02:30 +00:00
  • 69c404c184 Added back periodic user count updates that got replaced in r11703, but are neccessary as the current method doesn't work correctly (bugreport:688) ultramage 2008-01-19 10:57:29 +00:00
  • 19df0af514 * Added plugin dbghelpplug to generate more extensive crash reports in windows. - see header of src/plugins/dbghelpplug.c to know it's capabilities - VS8 project file supplied at vcproj-8/dbghelpplug.vcproj - a dll compiled in release mode is supplied at plugins/dbghelpplug.dll FlavioJS 2008-01-19 09:20:47 +00:00
  • 1645dba970 - Fixed some viewids and added some new headgears. zephyrus 2008-01-18 23:55:13 +00:00
  • 74a13cebfc deleted extra files (followup to r12086 ~.~) ultramage 2008-01-18 09:20:27 +00:00
  • 9d3728dae2 Fixed some svn history deletion in r12085, synced with /trunk ultramage 2008-01-18 09:17:55 +00:00
  • 4550514f4d - Made battle_check_range fail whenever the distance between src/target is greater than the viewing range. skotlex 2008-01-17 09:46:31 +00:00
  • 9ead7d0a99 Icewalls can no longer be knocked back (see bugreport:38) ultramage 2008-01-17 07:38:11 +00:00
  • f855102c48 * Manner system fixing - better-than-aegis 'red bubble' packet updates; now it shows correctly - added support for /rc, which is basically mute for 60 minutes - fixed typo in r12076 making gm-mute start on the gm instead of target - fixed @mute not ending the status properly when using negative values - adde missing clif_manner_message(), sends info about manner updates ultramage 2008-01-15 15:05:11 +00:00
  • 4988d419aa - Fixed missing mob_spawn call, which was making CR_CULTIVATION not actually spawn the plant. skotlex 2008-01-14 22:13:43 +00:00
  • fc719995cb * Client packet corrections - 0x01df is not 'gmreqnochatcount', but for requesting a player's account name via right-click menu (which currently can't be done) - added /remove and /recall, aliases to /shift and /summon - added /changemaptype, which alters a single cell's gat type - gm kick will no longer exit the client (now it goes to the login screen) - removed the quicksort invocation in /ignore code ultramage 2008-01-14 19:13:16 +00:00
  • 88cfb8ff5a Fixed card removal script functions' 'extra card' bug (bugreport:786) ultramage 2008-01-14 13:25:41 +00:00
  • f96f0d27a9 Removed the hardcoded limit for numeric npc input boxes (bugreport:811) ultramage 2008-01-14 12:01:58 +00:00
  • 1859b5e45a Applied a temp patch to make some npc-executed atcommands work again (bugreport:790). Added support for right-click-gm-menu kicking NPC objects. Removed redundant function npc_checknear2(). ultramage 2008-01-14 11:34:59 +00:00
  • d5455fabfc Simplified the BL_CAST macro (see topic:166795) ultramage 2008-01-14 08:54:54 +00:00
  • f70624598f - Fixed a compilation warning skotlex 2008-01-13 23:28:38 +00:00
  • fb100b2f09 - Fixed dangling pointer crashes when bleeding or Deadly poison kills a spawn-once monster. - Fixed a possible ERS entry corruption when Deadly Poison kills a target that has kaziel active. skotlex 2008-01-13 23:06:06 +00:00
  • 16305634d6 - Removed the sc_start_abort define. Since now when a status already exists, it is not modified in any way (no timer deleted, no sc->count reduced), it is completely safe to allow a simple return from within the rest of the function. skotlex 2008-01-13 10:40:46 +00:00
  • 76256e7a09 added fix missing from r12065 ultramage 2008-01-13 09:36:52 +00:00
  • 890da03040 * Corrected job_knt Mapflags. (bugreport:803) samuray22 2008-01-13 05:42:59 +00:00
  • c365bcf605 * Corrected a bad Delitem in gunslinger quest (not job). (bugreport:763) * Corrected a Double Welcome Message in Dungeon's Kafras. (bugreport:783) * Corrected a Typo error in MailBox. (bugreport:798) samuray22 2008-01-13 05:35:01 +00:00
  • 0f7c4f24f3 - Fixed a possible ers_entry corruption if you die from bleeding while under the effects of kaizel. skotlex 2008-01-13 03:08:36 +00:00
  • 418f5b1059 - Updated Safety wall so it does not blocks melee magic. skotlex 2008-01-13 02:52:06 +00:00
  • 04d47e8c6d * Another possible fix to ers/status_change crashing. - same logic as r12058 but in status_change_timer. - look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###" getting it means that a crash was avoided and the culprit found. FlavioJS 2008-01-13 02:40:39 +00:00
  • 4b4a7ef2a0 * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings. FlavioJS 2008-01-12 17:21:41 +00:00
  • a85a22d75a * Possible fix to ers/status_change crashing. [FlavioJS] - this patch is untested. Didn't find anyone willing to test it and I can't reproduce the crash so can't test the patch. symptom: status_change_entry.timer is being modified after the entry is freed. ers uses that memory location as a pointer when the entry is freed, it crashes when accessing the contents when it points to an invalid location. assumption: status_change_start starts an already existing status. as a consequence of something called inside status_change_start the status is ended. when the sce is finally being modified, it's modifying a freed entry. FlavioJS 2008-01-12 17:12:23 +00:00
  • ba8a87139e God damnit. And now for the actual town NPCs. L0ne_W0lf 2008-01-11 19:02:32 +00:00
  • 9b9332759d * Added Veins town NPCs, mail box, and second guide. - Updated warps for Veins. Outstanding warps are quest related. * Minor updates to other warp files. L0ne_W0lf 2008-01-11 18:46:26 +00:00
  • 6635c98756 Patched a mistake in r12043 that caused inter-server connection problems when check_client_version was enabled. ultramage 2008-01-11 14:48:45 +00:00
  • 68659bc0c4 Applied Skotlex's alternative to r12044 (abracadabra fix) ultramage 2008-01-11 13:13:35 +00:00
  • da34bd4811 - Implemented the extra damage bonus to TK_JUMPKICK when it is used while running (however what the bonus's equation is has been lost to time, so someone else correct it). skotlex 2008-01-11 13:00:27 +00:00
  • 114f7e13e3 - Corrected CR_CULTIVATION to cause summoned plants to expire after 5 minutes. skotlex 2008-01-11 10:36:56 +00:00
  • ced9aada8c - Fixed getmonsterinfo to return "null" when returning the name of a non-existing mob instead of -1. - Extended the status_percent_damage define to include a bolean to specify whether or not the target can be killed from it. - Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on it already. - Changed the meaning of 'flag' in status_percent_change, to enable differentiation between damage that can kill the object and damage that cannot. - Script command percentheal will no longer kill the player if the specified amount is negative (and not -100). skotlex 2008-01-10 22:02:33 +00:00
  • 10e9228f5d Fix to the sql files, password column length must be 32, to store md5 hashes =_= ultramage 2008-01-10 20:57:56 +00:00
  • 787512d6db Fixed Abracadabra unable to cast non-targeted skills (bugreport:186) ultramage 2008-01-10 18:14:59 +00:00
  • fafb4b8476 Another round of login server cleaning * fixed passwordencrypt on SQL not behaving correctly (since r10753) * corrected some column lengths in the login db (username, password,...) * fixed some places which used wfifo without first reallocating it * removed interserver packet 0x7532 (Request to end connection), as there was no code that actually sent this packet * moved RFIFOSKIP actions to execute as soon as possible ultramage 2008-01-10 15:35:23 +00:00
  • 614c28dbf9 - Removed 'skill_steal_type' from skill.conf as said config no longer exists. - Corrected @slaveclone/@clone behaving as @evilclone when you change the @ symbol. - Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they were card granted bonuses. - fixed a SA_DISPELL crash when casted on an object with no status changes. - Adjusted the autospell code so that it does not relies on card_id == 0 for subtracting rates. skotlex 2008-01-10 13:10:13 +00:00