Commit Graph

  • 69924c6949 Some more project file changes (fixes compilation problem) ultramage 2007-04-17 10:22:07 +00:00
  • 74295231e6 * Discarded extra deflate function needed for afm reading - as a result, discarded the whole chain of support functions, .c files and includes needed to make that one function run - also removed zlib compile/link dependencies where they are not needed - reduced the whole zlib package into two core include files - adjusted makefiles / project files to reflect this change ultramage 2007-04-17 10:03:30 +00:00
  • 3b392f3f37 Massive at+charcommand cleanup, big thanks to HiddenDragon DracoRPG 2007-04-17 00:17:15 +00:00
  • a5407d3948 Partially deobfuscated the grfio module ultramage 2007-04-16 22:56:59 +00:00
  • 2216188890 * Finally fixed mingw problems, managed to build both TXT and SQL * Fixed the uint32 platform problem (Microsoft failed so I removed it :) * Removed the cbasetypes.h dependency from the mapcache generator * Removed some random compilation warnings ultramage 2007-04-16 20:44:44 +00:00
  • 593c3952b2 Fixed various mob skills not being ranged Playtester 2007-04-16 18:54:37 +00:00
  • 33d2b5dbb1 More Anubis updates Playtester 2007-04-16 10:42:10 +00:00
  • eef15360f9 Small bugfixes and enhancements to the map cache generator DracoRPG 2007-04-16 00:14:32 +00:00
  • 92f2c9d0e5 - Changed the default setting for emergency_call to 11 (usable all the time, but only in Gvg Maps) as described by Tharis. skotlex 2007-04-15 20:27:58 +00:00
  • 4ce5ddc065 Added some splash ranges for MVP level skills Playtester 2007-04-15 20:23:36 +00:00
  • 0d740342ae - Fixed battle_getenemy picking dead characters. - Adjusted Spiral Pierce, Shield Boomerang and Shield Chain to use atk2 instead of weight when used by non-players. - Adjusted skills blindAttack, SilenceAttack, StunAttack, PetrifyAttack, CurseAttack, SleepAttack, Lex Divina and Dispell to be area effect skills, if the used skill level has a splash-range different from 0. - Mob used Meteor Assault (and by extension Spread Attack) is able to hit icewalls now. skotlex 2007-04-15 20:13:07 +00:00
  • 33b8d523d6 Readded and updated Anubis Playtester 2007-04-15 16:26:46 +00:00
  • ef888fd298 Added some new staffs Playtester 2007-04-14 23:49:31 +00:00
  • 413f25fa18 Updated Kiel Hyre quest thanks to L0ne_W0lf Playtester 2007-04-14 22:30:38 +00:00
  • 8d3ece5310 Hopefully fixed Skogul not using Grimtooth Playtester 2007-04-14 18:32:32 +00:00
  • 2d8d81c406 Lowered the amount of Dimiks spawning in Juperos F1 Playtester 2007-04-14 13:55:52 +00:00
  • 53823c3e67 Fixed TXT char creation blocking characters with nonstandard names ultramage 2007-04-14 12:12:27 +00:00
  • aa262362e1 More svn:eol-style-ing and typo fixes ultramage 2007-04-14 11:06:13 +00:00
  • c16fda4dab Changed item name of item 5083 to "Red Tailed Ribbon" Playtester 2007-04-14 10:05:15 +00:00
  • d16a4a1f00 - Fixed a null pointer when a mob needs to unlock a target while it's idle. skotlex 2007-04-14 06:21:15 +00:00
  • 13a368be13 - Corrected land protector's duration according to the descriptions - Fixed "pc drop item" doing the incorrect check to see if the player was trading. skotlex 2007-04-14 04:09:40 +00:00
  • bb5c4253bb Fixed Eremes using Venomdust on self instead of target Playtester 2007-04-13 22:11:05 +00:00
  • d8ad119135 updated Lighthalzen, merged some files, added new NPC Lupus 2007-04-13 15:57:18 +00:00
  • 8ad88bcb8c More Kiel Quest mapflags Playtester 2007-04-13 15:22:16 +00:00
  • 08fdecb780 * Updated Aegis name, price and weight of etc items - also updated sql files Playtester 2007-04-12 22:24:47 +00:00
  • d2c2c8d9bb Updated Kiel Hyre quest related files Playtester 2007-04-12 21:53:58 +00:00
  • c75677193c Added Kiel Hyre quest items to item_trade Playtester 2007-04-12 19:26:24 +00:00
  • 9810da7f62 - Oops, it turns out the state is never reset from walking to idle automatically when a mob was random walking... skotlex 2007-04-12 19:11:42 +00:00
  • aa0e780bd5 - Moved the idle state random walk and idle skill triggering to mob_unlock_target, since our current AI has some execution paths where these would never be triggered. skotlex 2007-04-12 18:41:55 +00:00
  • ef10fe3a04 * Kyrie Eleison cannot be cast on mobs anymore - also some small mob skill changes to work with the new code Playtester 2007-04-12 18:32:12 +00:00
  • cf77f95ed1 fixed makefile typo, maps_athena typo, svn:eol-style native for some files ultramage 2007-04-12 17:37:38 +00:00
  • a6e2bc1d01 - Corrected mob skill CALLSLAVE's target to be always 'self' skotlex 2007-04-12 16:20:18 +00:00
  • 2c8dd7666b - Oops, little error on previous commit. - And cleaned a bit the mob use skill code. skotlex 2007-04-12 16:00:59 +00:00
  • e1a0d14886 - Converted mob skills that had the combination idle+target+always to idle+randomtarget+always as per Playtester's request. skotlex 2007-04-12 15:37:43 +00:00
  • f1bf0b8e80 - Changed the meaning of inf2=0x1000. Now it is used to "disable usage on enemies", which only works for non-aggressive (inf!=1) skills. - If a skill is party/guild only (inf2 0x400/0x800) it will also be castable on enemies if the skill's inf is 1 (offensive target) - Corrected the mob behaviour when it locks into an enemy it can't chase. Previously it would get stuck on a lock->unlock->lock loop, with each unlock resetting the "random walk" timer, causing the mob to just idle in place. Now they will attempt idle skills and no longer reset the "random walk" timer, so they behave as if they were in Idle state properly. skotlex 2007-04-12 15:19:49 +00:00
  • 43d128ac3e - Added debug command @displayskill. Should be used only by people searching for new skill IDs. - Now the bonus bAtkEle will be transferred directly to the weapon when the script is in the ammunition, and you are wielding a weapon that consumes ammo per atttack. skotlex 2007-04-12 14:28:39 +00:00
  • 79acbed9f0 * Thanatos, Kiel and Randgris now use Ganbantein - when rudeattacked and can't teleport Playtester 2007-04-12 14:04:04 +00:00
  • 1a54f19292 - Fixed status changes that can't be reduced and have a passed duration of 0 'failing' when the inner code will give it some duration (eg: the weight icons) skotlex 2007-04-12 13:50:53 +00:00
  • 2185c69554 * Added Veins field spawns thanks to $ephiroth * Added Magmaring mob Playtester 2007-04-12 12:26:09 +00:00
  • 3c6c56ed2b * Added Kiel Hyre quest thanks to L0ne_W0lf - please motivate your players to test it Playtester 2007-04-12 10:25:04 +00:00
  • bfa6e3f720 * Merged duplicate Rachel Temple entrance into one NPC - we need to add a quest that you need to enter later Playtester 2007-04-11 23:06:28 +00:00
  • c4787c6b52 Adjusted spawn rate of new spawns Playtester 2007-04-11 20:40:12 +00:00
  • c6595c792a Some 11.1 and 11.2 spawn updates Playtester 2007-04-11 19:59:23 +00:00
  • 272cc6201e - When a mob fails to use the selected skill, it will now move on to the next one in the list, rather than return from the function with fail status. - Mobs won't try to run away when rude-attacked if they have a locked-on target already. - Moved the teleport on LP fail check from castend_nodamageid to status_check_skilluse, this way unit_useskill will return failed when trying to use it. skotlex 2007-04-11 19:19:06 +00:00
  • 5d0f037f75 * Ganbantein now has a range equal to the level used - only mobs use levels higher than 1 Playtester 2007-04-11 18:25:37 +00:00
  • d0e92fa7f4 - Fixed crash caused by fake-NPC (some fields were not initialized to NULL, I think it's safer to just use aCalloc rather than aMalloc here) skotlex 2007-04-11 16:53:40 +00:00
  • bfdc71537c Forgot que_thor Playtester 2007-04-11 16:03:40 +00:00
  • ac0c23863d - Trade-requests now fail if the target is in a NPC. skotlex 2007-04-11 15:53:17 +00:00
  • ced5130a7b - Some cleaning of the castend_map code to prevent the menuskill variable from not being cleared if you made a choice but the skill was not triggered (due to silence, stun or whatever). - Cleaned up a bit the Charge Attack casttime equation, should prevent infinite casttime when the distance is 0. skotlex 2007-04-11 14:21:09 +00:00
  • 2de330fddc Updated various mapflags with 11.2 maps Playtester 2007-04-11 11:30:02 +00:00
  • a83cb8f5ac * Added Cool Corp Event Staff in Rachel - some skilled script dev should combine them into one function, though Playtester 2007-04-11 10:26:57 +00:00
  • d6bb7e0643 Fixed up some Veins warps Playtester 2007-04-11 10:05:14 +00:00
  • d404a449a1 - Updated a bit the pet_db.txt, added info for Xmas Goblin and Rice Cake. Since little is known about them, most of the info is custom! - Fixed @whogm not updating count for GMs which you can only see their name. - Added unit_data.state.speed_changed, now when an object changes speed, the old move-packet will be used on the next movement, which should update the object's speed from that point and on-wards. This is done since there appears to be no way to tell the client a given object's speed has changed. skotlex 2007-04-10 18:37:18 +00:00
  • 0aa57161b9 - Modified spirit of Wizard so that the consumption of 'Fragments' when blocking bounced spells will only consume 1 Fragment per skill casted, regardless of how many hits were reflected. skotlex 2007-04-10 16:19:32 +00:00
  • b6bfcce712 - Modified status_get_sc_def to handle both rate and tick reductions. This way it can take care of the fact that curse rate/duration reductions are not reduced by the same stats. - Removed wrong defines status_get_sc_def_[mdef/vit/int/luk], they actually had a rather undefined behaviour. - The pc_max_status_def mob_max_status_def configs are now set on a 1-100% scale instead of 1.00-100.00% skotlex 2007-04-10 15:34:49 +00:00
  • 9f6d32d8de Removed an ugly cast in socket.c Fixed Makefile (-Wno-unused-parameter was added twice with gcc4) toms 2007-04-10 14:34:04 +00:00
  • fe524e61fd * Added official donation items in Rachel Sanctuary quest - chances are guessed but safe to use Playtester 2007-04-10 12:05:24 +00:00
  • e939ffd654 - Fixed crash if a script does a%0 skotlex 2007-04-09 20:27:01 +00:00
  • a91b77d781 * Recoded and renamed the trim function in strlib to normalize_name. (didn't behave like a standard trim function, see function comment for what it does) * Added a proper trim function to strlib. FlavioJS 2007-04-09 20:21:17 +00:00
  • cf4db91bef Fixed aspd value of Fuuma Shuriken Playtester 2007-04-09 19:42:34 +00:00
  • fa1d3560b2 Semi-official version of Rachel Sanctuary entrance Playtester 2007-04-09 19:13:24 +00:00
  • 8e93386102 - Fixed some compiling warnings. skotlex 2007-04-09 19:09:30 +00:00
  • d6b4625e06 * Cleanups at npc source file adding/removing. (one variable has been removed) FlavioJS 2007-04-09 14:51:17 +00:00
  • cc893dbaab * Changed db key from 'unsigned char*' to 'const char*'. * Defined out the dump function in util.h/c. FlavioJS 2007-04-09 13:03:34 +00:00
  • 5d3ea3da27 * Played around with MinGW a bit today... - adjusted code so that it handles mingw-specific compatibility problems - adjusted the makefile, mingw is not a subset of cygwin * As an experiment Corrected many /W4 warnings on the txt login server ultramage 2007-04-09 00:46:55 +00:00
  • 87ac06f325 - Fixed sometimes retrieving the svn-version with fopen not doing a fclose afterwards. skotlex 2007-04-08 23:13:29 +00:00
  • 6caae988d5 Declaring the 'saving in castles' thing as an ASB mistake and reverting (it's also exploitable to the max) ultramage 2007-04-08 17:11:37 +00:00
  • ced0e947db - Now when saving a character, only the cart/peco/falcon 'option' states are saved, the rest should be handled by the status change load/save functions. skotlex 2007-04-08 17:07:41 +00:00
  • 4d2c2543b6 - Updated some Guild WoE rules to behave as explained here: http://www.eathena.ws/board/index.php?showtopic=146581 - Removed the nosave mapflags from the Guild Castles, as per the previously linked topic. - Added some missing map_freeblock_lock calls to castend_pos and castend_id functions to prevent (rather unlikely) dangling pointer crashes. - Improved the debug message when the npc_scriptcont npc IDs don't match. skotlex 2007-04-08 16:05:20 +00:00
  • 7f98907fa9 - Made the return code \n for Apple systems (it was \r before), this still needs fixing, since it should be /r only for pre OSX systems. - status_change_start will no longer abort if the duration is less than 0 if the status is Ankle Snare (since this stat has it's own minimum) skotlex 2007-04-08 14:51:36 +00:00
  • f6cc6e26d3 - Added missing header to mapcache.c - Fixed a documentation typo for 'makeitem' ultramage 2007-04-08 12:28:03 +00:00
  • 75da66f876 - Fixed the platform-specific stricmp compilation problem - Fixed inverted vending tax equation (venders getting only 2% zeny instead of 98%), and made it more precise ultramage 2007-04-07 21:15:34 +00:00
  • 26305d22a6 * Added some accessories thanks to Argatlahm - added Valkyrie combo bonus - fixed a typo Playtester 2007-04-07 19:36:47 +00:00
  • 24db1473f4 - Added function str2ip() to do platform-safe conversions - Removed a bunch of unused stuff - Moved SIGILL to unix-only defines since tests and docs show that Windows doesn't issue SIGILL - Fixed several annoying compilation warnings ultramage 2007-04-07 12:06:25 +00:00
  • 6aa16e2f75 Fixed showmsg causing silent access violation exceptions on Windows (WinAPI function used does not accept NULL) ultramage 2007-04-07 09:11:11 +00:00
  • 87c0efdc89 - Moved e_mail_check() and config_switch() to strlib.h - Synchronized the login servers a bit ultramage 2007-04-07 04:21:29 +00:00
  • bb934dd59e - Disabled the exception handler on windows debug builds - Fixed Devotion using WE_BABY's status icon (now uses no icon); if you have a way to determine the correct number, give feedback ultramage 2007-04-07 00:43:46 +00:00
  • 4b77945e61 - Corrected amatsu dungeon's nomemo mapflags not working - Added a missing map entry, 've_in02' to map list and index (too bad it's out of order) - Added an updated mapcache ultramage 2007-04-06 22:26:42 +00:00
  • a61e02cc29 Updated the server's PCRE components to 7.0 - dll, library, header - cleaned the only existing example and moved it to /samples - changed its interface a bit, now it uses $@ instead of $ to store the parsed result - /!\ adjust your scripts if you are using npc regexp parsing /!\ ultramage 2007-04-06 22:15:19 +00:00
  • 7d46c4c259 - Fixed the start_point setting smashing t3h stack in some situations - Fixed some over/under-dimensioned arrays (the map length defines already reserve space for the string terminator) - Fixed an unupdated define making Warp Portal fail with an error - Fixed some skill entries of the Galion mob ultramage 2007-04-06 21:43:22 +00:00
  • 7c8f12ccd5 I'm still here! Rewrote fame ranking lists- changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for uses where there is / may be the .gat extension, code adjusted accordingly - moved map_normalize_name to mapindex_normalize_name so that everything handling map names uses the same extension-removing function - greatly enhanced the map cache generator, complete documentation on the tool and the map cache format can be found in doc/ - the map cache format changed a bit as a consequence, but of course a new valid one is included (contains latest Nameless Island maps) - fixed a duplicate entry in map index DracoRPG 2007-04-06 17:22:40 +00:00
  • a881931cb6 cleanup of The Sign Quest (more to come) Lupus 2007-04-06 16:47:39 +00:00
  • 79cb6af0cb - Corrected Aliza card's item_db line. - Capped clif_heal's heal field (the argument received is int, but the packet field is short, meaning that if the heal is high enough, the client would receive a negative heal amount). - Some indentation fixes. skotlex 2007-04-06 15:34:18 +00:00
  • 515d98c194 Fixing several compilation & runtime problems ultramage 2007-04-05 20:53:15 +00:00
  • 6867d93866 typos: recieve -> receive ultramage 2007-04-05 19:02:52 +00:00
  • 8dc1b77f03 * Made a crazy attempt to at least partially synchronize login&char code * Major edit to the way the servers handle ip addresses, making them obey the "host byte order inside, network byte order outside" rule - hopefully covered all entry- and exit-points for IP address data - discovered several places where Gravity's client breaks the convention, will need to come up with a suitable countermeasure for that - other than that, the code should be portable, except for printing and ipban mask testing (those still assume a specific byte order) - tested both txt and sql in all usual situations; tested single- and multi-server setups, all seems to work (but watch out for hidden bugs!) ultramage 2007-04-05 18:49:57 +00:00
  • dd818415a1 Forgot to update header ^^' Playtester 2007-04-04 21:58:46 +00:00
  • 2a402b2bb7 Added Gunslinger quest for slotted Butcher Playtester 2007-04-04 21:50:03 +00:00
  • e5113a4d7b - Cleaned @whogm. It will display the name of all gms online. If their GM level is above your own, it will only display their name, otherwise level, position, and party/guild info is displayed. GM's using gm-hide will not appear on this list. skotlex 2007-04-04 21:33:48 +00:00
  • 32fdaa8789 Fixed a typo in tu_archer.txt ultramage 2007-04-04 17:23:58 +00:00
  • 5b90eb7394 Just removed some dialogue... Playtester 2007-04-04 16:49:09 +00:00
  • 577437c5a2 Fixed some items that should heal percentual hp/sp Playtester 2007-04-04 15:54:24 +00:00
  • 06885aadf3 - Corrected song/dances/encores reducing SP at the incorrect intervals (either never, or every second) skotlex 2007-04-04 13:46:18 +00:00
  • 66a9f336ed * Updated Gunslinger quest - you can now create a Butcher Playtester 2007-04-03 23:26:08 +00:00
  • 263baf5595 - Corrected Longing for Freedom, it should triple SP cost rather than modifying SP cost to 1/sec - Corrected Marionette Control's SP cost, it should be 100. skotlex 2007-04-03 20:58:46 +00:00
  • 7ede0fdab1 updated item_db.sql Playtester 2007-04-03 19:09:21 +00:00
  • 5bc3f4b2b0 - Fixed @reloaditemdb not unsetting the consume delay flag when a type 11 item was changed to something else before reloading. skotlex 2007-04-03 19:07:48 +00:00
  • 15e145f91e * Updated Ninja quest variable usage - now MISC_QUEST variable is used when completed Playtester 2007-04-03 18:22:06 +00:00
  • 5e2ae45c4c - SC_ENCHANTARMS will no longer fail to start if it's already running with a "higher elemental level". - When trying to trade an untradeable item, the add-item-fail packet will be sent so the client does not gets stuck. skotlex 2007-04-03 17:52:26 +00:00
  • e9e744eb51 Updated Poison Bottle and Thunder Box Playtester 2007-04-03 16:22:04 +00:00