Commit Graph

  • a4d1b45215 fixed npc name according to the official info -> Raiden Karus, Albest Lupus 2007-02-21 13:26:37 +00:00
  • 10d382bcb3 fixed custom npc jobmaster:Baby - >Super baby bug Lupus 2007-02-21 13:10:13 +00:00
  • 84cb63e650 Minor stuff (typos, socket.c, junk in login reply packet) ultramage 2007-02-21 13:09:22 +00:00
  • 3a92e6a3dc minor dialogue fix Lupus 2007-02-21 12:39:29 +00:00
  • 305de07438 Moved Master Kavaruk NPC a bit (2 NPC on the same cell) Lupus 2007-02-21 12:31:02 +00:00
  • 9f5e46c78a updated Dance Job Quest. Optimized, Fixed typos, added missing text Lupus 2007-02-21 10:48:57 +00:00
  • dac22bc4e9 changed 'Improved Concentration' to 'Attention Concentrate' Lupus 2007-02-20 23:04:04 +00:00
  • 435356fe51 final fix of Dancer Job Quest. Works on TRUNK only, due to latest initnpctimer changes Lupus 2007-02-20 23:00:49 +00:00
  • 0a9018f80b fixed Dancer quest Lupus 2007-02-19 16:37:44 +00:00
  • 7abe6b32a4 fixed @cartitems typo Lupus 2007-02-19 16:07:58 +00:00
  • d3497fee2b msg typo Lupus 2007-02-18 16:11:46 +00:00
  • fe4527d3a7 Guilds with Emergency Call skill mastered or with 9+ skill points can't take part in Novice Castles WoE. Lupus 2007-02-18 16:10:44 +00:00
  • 987eb74e86 Fixed a typo from r9778, allowing non-gm chars to use /kick ultramage 2007-02-17 23:08:19 +00:00
  • e74a5e2456 - Reviewed the client and the shorts at 104 and 106 are part of the char structure. And a correction on what i said: 0x6d is the packet that sends the new char data, 0x67 is the request to create the new char. (updated code accordingly) FlavioJS 2007-02-17 07:25:22 +00:00
  • fcda68caa4 - Fixed the structure of packet 0x67 (new char info). It's the same as the one used for packet 0x6b (chars info). Info based on the 1218 client and on experiments with 'orchish' skin. FlavioJS 2007-02-17 01:03:12 +00:00
  • 5ed686f6a8 - Updated the Dancer job quest to attach a player to the main timer script. - Updated script commands startnpctimer, stopnpctimer, initnpctimer so you can attach a player to them, this is done because the attach/detach functions can't be used to attach to a different script than the one currently running. - Some script code cleaning - Updated the script_command reference with the new flag values of [start/stop/init]npctimer. skotlex 2007-02-16 20:53:05 +00:00
  • dddd48f15d - Modified the "guardian" spawn script command, it no longer receives a "amount" argument (since that only leads to trouble), if the class is negative, it'll pick a random class the same way the monster spawn script command does, and if you pass a spawn position with coordinates equal or less to 0, a random spot in the map will be taken. However you can't use "this" as a map name anymore since these script commands do not need an attached player. - Guardian spawning will now fail if you attempt to spawn a guardian that already exists on the same position. - Collapsed clif_party_main_info and clif_party_join_info into a single function: clif_party_member_info - Collapsed config settings "sg_miracle_skill_min_duration" and "sg_miracle_skill_max_duration" into "sg_miracle_skill_duration", which defaults to an hour. - Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's effect, and it is cancelled on warp/map-change. skotlex 2007-02-16 19:30:28 +00:00
  • cf3421d7f1 - Cleaned up clif_party_info a bit - Reverted some of my mobdb code ultramage 2007-02-15 23:22:30 +00:00
  • d47a72bf9f Cleaned up set_reg and the surrounding code ultramage 2007-02-15 20:54:36 +00:00
  • dabaf379a9 - The default packet version is now 8. Clients from November2006 and before can no longer get past the char-server unless you change it back to 7. - Fixed Storm Gust counter freezing on fourth hit instead of third. - Fixed @homstats not taking into consideration that the stat growth decimals get discarded on level up (so the real minimum/maximum displayed was off). skotlex 2007-02-15 18:22:56 +00:00
  • a66e23aa18 Corrected all Schwarzwald typos (except for the WIP one) ultramage 2007-02-15 13:43:09 +00:00
  • 81b4f30221 - Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@) skotlex 2007-02-13 22:27:30 +00:00
  • 74bbb42178 Fixed Bacsojin's mob id in mob_boss Playtester 2007-02-13 19:40:50 +00:00
  • 158c398cec - Required Weapon, ammo, and skill state are now only checked on begin casting, instead of both on begin and end casting. - Now when autoguessing ammo consumption, the amount of ammo required is always one (making it require HIT number of arrows was rather high for things like Sonic Blows, specially when things like Arrow Vulcan only consume one arrow) skotlex 2007-02-13 17:32:47 +00:00
  • c1044cf02f - Reverted Venom Splasher's element to take your weapon's - reverted the item skill usage update since Flywings and the like do not use skill use scripts anymore. - Restored tid when a castend-id skill becomes castend-pos, fixes certain skills, most notably Resurrect Homunculus. skotlex 2007-02-13 00:17:32 +00:00
  • 781fa7bb72 - A bit more work on Ticket #41. - Added 'r' (variable reference) to the script argument definitions. - Added a simple define for suspitious actions. (empty at the moment) - Added clif_clearcart and moved sending cart packets to pc_setoption. - clif_parse_ChangeCart checking the player level. FlavioJS 2007-02-13 00:07:24 +00:00
  • 6eb920bf96 Fixed clif_parse_GMmessage cutting off messages randomly (typo in r9778) ultramage 2007-02-12 22:03:55 +00:00
  • dbfaad69ef - Fixed npc_check_areanpc, Wand of Hermod works now. skotlex 2007-02-12 18:38:10 +00:00
  • 68e1eb420a - Corrected range of self destruction / bio explosion to be equal to their splash range. - Corrected Spider Web casting around caster instead of target's position - Corrected a possible crash during login due to checking for the incorrect variable (lets pc_calc_status be invoked when it shouldn't) - Reenabled the base status aspd calculation for homunc (status_calc_bl calculates battle_status, status_calc_homunculus calculates base_status, they are not the same!) - Corrected the meaning of "skill_display_fail&2", made 2 the default setting. - Added bounds checking to map_foreachincell - Opt2 values (poison, blind, and so on) are now resent on warp/map-change - Corrected description of isloggedin script command. skotlex 2007-02-12 18:02:41 +00:00
  • 725ed1909e - Fixed the inverted behavior of display_skill_fail, caused by r9823 - Commented out some duplicit homunculus speed calc code ultramage 2007-02-12 02:46:00 +00:00
  • 108c74125f Disambiguation ultramage 2007-02-12 01:04:28 +00:00
  • 06074c6046 Fixed @loadnpc not updating the script_event[] array ultramage 2007-02-11 21:44:37 +00:00
  • 7b9539f4e3 * Fixed Armeyer Dinze Card * Reverted Fly Wing and Butterfly Wing to the old version - old version has less problems Playtester 2007-02-11 00:21:08 +00:00
  • 1ad9bb7c15 Fixed clif_party_message using an incorrect buffer length ultramage 2007-02-11 00:16:06 +00:00
  • 79fd4cb7be - Ups @ last commit. This time the changes in the buildin_func array are automatic, so there should be no more errors due to erroneous manual checking. ( got to remember to do automatic changes more often >.> ) FlavioJS 2007-02-10 20:50:37 +00:00
  • 1041f38037 * Cosmetic changes to the buildin section of script.c (use defines for function names/definitions). FlavioJS 2007-02-10 13:56:49 +00:00
  • 3f8bb2d5bb - Fixed skill usage being blocked if you use Weapon Refine and there is nothing available to upgrade. skotlex 2007-02-09 21:10:17 +00:00
  • b8bc4928ac - Corrected/updated info on Xor/setd/getd/callfunc/callsub/return and updated some examples to use "better" code. FlavioJS 2007-02-09 19:57:20 +00:00
  • b09a064281 - Updated the 'unit walk' to functions so they stop your attack if it's possible to walk. skotlex 2007-02-09 19:50:57 +00:00
  • 971ea7e332 - Fixed char server SQL not sending the guild info update to other map servers when a new member is added. skotlex 2007-02-09 19:20:00 +00:00
  • 6e7a224bd1 - Fixed skill range considerations using skill_get_range rather than skill_get_range2 - Corrected the range of EnergyDrain/BloodDrain (when Tharis says the range is 7, that means 7 without the cells on which the chars stand, so that means 9 in eA terms) skotlex 2007-02-09 17:12:05 +00:00
  • 1de2ea7630 Updated some info in script_commands: - updated 'cutin' (removed lies, removed outdated bmp list) - removed 'cutincard' since eA no longer implements it ultramage 2007-02-09 14:16:16 +00:00
  • 05def906dd eAAC has checked the source and added missing commands to the script_commands.txt (the long-awaited mob control suit made by Lance, for example), also explained the logical operators AND,OR,XOR, left and right shift. We also sorted the commands according to what they do. eaac 2007-02-09 02:09:33 +00:00
  • 64fcacf6b3 - Added code for SQL that will automatically detect the ping interval at startup, and copy-pasted it around the code - Removed the conf setting as it is not needed anymore ultramage 2007-02-08 23:26:00 +00:00
  • eabdf9af64 - Spider web can again be recasted on target. - Modified Spider Web so it can instantly retrap a target, rather than idling on the ground waiting for a new target. - Cleaned up some the rude-attacked code, being attacked while under spider web now triggers rude-attacked. - Sped up the FrostJoke/Scream message length chat check. skotlex 2007-02-08 18:25:51 +00:00
  • 81c50c19b7 Added a missing null pointer check in clif_parse_globalmessage ultramage 2007-02-08 17:58:38 +00:00
  • 1aa9c5ceca - Fixed the new socket code, which was triggering the inactivity timeout on the servers' listening sockets - Fixed the TURBO code not working since r4468 (parse func never called) ultramage 2007-02-08 16:36:48 +00:00
  • 34d8dc0ad3 Fixed a skill_db.txt typo for AS_ENCHANTPOISON introduced in r9794 ultramage 2007-02-08 13:57:10 +00:00
  • d47a0a0d52 - Fixed a bunch of probably incorrect logical comparisons. - Some small updates on the skill_db file (some max levels of npc skills, some elements for skills that didn't really need them) skotlex 2007-02-08 05:34:12 +00:00
  • 0729d61b56 * More aggressive cleaning up of the socket code - removed unused session_data2 entry in sd - added a new create_session() function, helps keep things cleaner (although it's ad-hoc and not perfect, since this is C) - undid r4978 since it was getting in the way (re-add it if you need it) - added defines for the recv, send and parse func pointers - added null functions for the three actions, and made create_session() calls use those instead of NULL pointers; insignificant penalty and now: - since all three funcs are always initialized, removed all those NULL checks - removed the efd set, since as the people from the developernet forums pointed out, it's only for out-of-band data and NOT for error checking (in fact, select() bails out without giving any info if it errors out) - reorganized the randomly placed socket.c contents somewhat ultramage 2007-02-08 01:33:40 +00:00
  • 78d876f355 - Modified spider web so that the skill_unit_db flag restrictions may take place. - Modified Spider web so that it can't be casted on top of another web. skotlex 2007-02-07 23:23:53 +00:00
  • 3e4bef37b7 Wiped out the poorly written parse code from r2211 ultramage 2007-02-07 20:30:22 +00:00
  • f96bd44c5a - Removed function inter_party_logged, which after some testing and thinking, has been concluded is no longer necessary. skotlex 2007-02-07 20:23:24 +00:00
  • 148f3fca88 Cleaning up of the socket code - Shuffled includes around for files that were leeching off of socket.h - Added code that enforces standard shutdown behavior for sockets ultramage 2007-02-07 19:34:54 +00:00
  • 6597b8c74b - Updated the range of BioExplosion and Self Destruction so they count as ranged skills. - Removed old script bonuses bMatk, bMatk1, bMatk2 - Fixed char-server not sending online notification when a party member logs in. - When skill range by distance is set, the distance checked for is now 5 cells rather than 3. - Fixed bMatkRate bonuses not applying to status earned modifications to int/matk. skotlex 2007-02-07 17:46:50 +00:00
  • c46f3cf135 - Removed deprecated console code. FlavioJS 2007-02-07 06:25:00 +00:00
  • 5c41bf4b04 - Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql builds. (moved to clif.c in r9811) [FlavioJS] FlavioJS 2007-02-07 05:20:22 +00:00
  • 6bf7170064 Cleaned up the script engine's get_val() function - changed the long if-spaghetti into a compact switch statement - changed its behavior so that it exits if !sd and it requires one - upon exiting, it will now ensure that meaningful values get returned (the old code would return random memory / crash) - removed many !sd checks since they are done at the beginning now ultramage 2007-02-07 01:49:28 +00:00
  • c1d503fdcb - Moved define CHAT_SIZE to clif.c, added define CHATBOX_SIZE to specify that 70 char limit of the input area. - Fixed #lvup having the gm level check backwards. - Fixed the stormgust freeze counter going up even if the attack is blocked/cancelled. - Updated mes_len_check to receive max expected size as well (clif.c) - Cleaned up parsing functions for /mm, /resetskill, /resetstate, /item, /monster, /hide - skotlex 2007-02-06 21:49:00 +00:00
  • 4b7dcab0f2 - Cleaned up homunc attack request parsing. Homunculus no longer goes into auto-attack (ctrl+click) mode since the client does every attack request individually. skotlex 2007-02-06 17:57:45 +00:00
  • 7946ebfc48 - Fixed char-server not sending party status update when a member logs on/off - Fixed crash when parsing guild member information change from the char-server when the specified character is not found in the guild. - Fixed MvP mobs giving exp when killed even if they shouldn't skotlex 2007-02-06 17:17:26 +00:00
  • c5450173b1 Undid revision r9792 (npcshopattach) ultramage 2007-02-06 00:32:40 +00:00
  • 29e3b9e204 - Fixed @lvup, #lvup not doing a stat reset and lowering your status points if you had 0 status points at that time. - Fixed MvP exp and item rewards being given even when the mob_dead flag specifies you should not receive exp or items. skotlex 2007-02-06 00:03:16 +00:00
  • facb8af27f - Updated the code so that now a range of a skill is determined by the skill's range in the db. Now only skills with less than 5 cells of range are melee. - The inf2 parameter of the skill_db is now red as an hexadecimal. - Updated comments and inf2 values of the skill_db to use the new format. - Soul Change now can't be casted on self. - Updated range of Grandcross, Granddarkness and Gospel to 5 so when they attack their attack type is counted as ranged. - Splitted the super novice flag in two, to keep seperate counters for the chant and for the self-revival. The self-revive will now trigger only once per level per session, if you relog you can have it trigger again. skotlex 2007-02-05 23:10:47 +00:00
  • ed7e98e9d3 Applied Dj-Yhn's fix to 'npcshopattach' ultramage 2007-02-05 20:34:22 +00:00
  • d2574dfd69 - Fixed a duplicate warp name in Rachel - Fixed Venom Splasher not being Poison elemental - Cleaned up #blv - Fixed the skill tree not always updating when using @allskill - Probably fixed the target-change on melee attack setting not working. - Moved the deletion of the invincible timer when using skills so that it is not deleted for skills such as Ashura (when just selecting a target) skotlex 2007-02-05 18:16:33 +00:00
  • f652311f37 - Continuing the checking of script buildin functions and stop the script execution when an attached player is required but not found. This task will be referenced as Ticket #41 from now on. FlavioJS 2007-02-05 17:42:55 +00:00
  • 175d003c6f Updated the TXT login server's account id checker (it was still saying the minimum is 700000 instead of 2000000) ultramage 2007-02-05 14:15:58 +00:00
  • 12a784cf17 Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number. Also fixed it so that it doesn't throw a 'args of aFree is not valid pointer' error (although I'm not at all sure that the fix is correct). ultramage 2007-02-05 14:11:43 +00:00
  • 5f0de40e38 Removed the silly and misleading 'firewall detected' message ultramage 2007-02-05 13:33:02 +00:00
  • 195b0f9870 Added missing vc6 project file ultramage 2007-02-03 15:14:18 +00:00
  • 7d1e080338 Corrected a lie in the script documentation ultramage 2007-02-03 13:41:18 +00:00
  • a23da55db8 - Fixed the flag parameter not working on npcshopattach - Modified unit_walktoxy so it accepts flag &4. When used, this flag will delay the walk request if the character is unable to move because of the can't walk delay. This is used for player and homunculus walk requests. - Removed the delay walking code from clif.c as it's now handled by unit.c - Added a possible crash protection in clif_skillfail when the player is without a connection. skotlex 2007-02-03 07:48:38 +00:00
  • 65796c8765 Fine-tuned the global message processing function - now detects access-out-of-rfifo attempts (idea from eA++) - uses the new CHAT_SIZE define to restrict message lengths - detects Frost Joke/Dazzler and gives them more freedom (from Freya) - more strict non-conformant message detection - logging every problem to the mapserver console ultramage 2007-02-02 22:03:05 +00:00
  • cc141e4bcb - Resetting skills will now automatically remove peco, falcon, cart and homunculus (vaporize). - Fixed random mob picking choosing clones. skotlex 2007-02-02 20:59:09 +00:00
  • 2a5ec09a11 - The define MESSAGE_SIZE was wrong! It is only used for input boxes. Therefore now it is only used for Vending, Talkie box and Graffiti - Added new define CHAT_SIZE which holds the max length that a client can send from the chat buffer. This value is NAME_LENGTH + 3 (the ' : ') + 70 (the actual text). - Added define msg_len_check which crops incoming client text if it's longer than CHAT_SIZE. Added cropping to all incoming messages except normal chatting which is already accounted for. - Removed variable talkie_mes, this is now handled by sd->message - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall - Added crash protection to the logging functions when they receive a too long string. skotlex 2007-02-02 19:59:39 +00:00
  • a578017992 - Completed Amon Ra's spell list. skotlex 2007-02-02 17:32:29 +00:00
  • 84ad40528b * Restricted global messages to 255 characters (client shows only ~80 anyway, wanted to use 127 but frost joke's lines are longer than that ...) - prevented using a ~22+kB long message to crash everyone on screen - prevented faking the message length to cause an out-of-bounds access crash - removed the unneccessary 'buf'ffer (inspiration from jAthena) - Ref: http://www.eathena.ws/board/index.php?showtopic=137770 ultramage 2007-02-02 06:37:53 +00:00
  • 250fdeee31 Typo ultramage 2007-02-02 06:37:16 +00:00
  • 936937bd46 Corrected the chat system to allow 8-letter passwords ultramage 2007-02-02 02:11:48 +00:00
  • 71ca66f8b1 Minor details (pdb file location, improved debug, npc typo) ultramage 2007-02-02 00:12:43 +00:00
  • 4130bdd3b8 - Cleaned up the npcshop(add/del) item script commands, fixed a possible dangling pointer crash caused by their improper use of realloc. They no longer automatically attach the script to the shop, and they will return true/false based on whether the shop was found or not. - Added script command npcshopattach to enable attaching/detaching your script from any npc shop. - Updated doc/script_commands.txt with entries for npcshopitem, npcshopadditem, npcshopdelitem and npcshopattach skotlex 2007-02-01 22:23:14 +00:00
  • 3b59523144 A followup to r9761, a header include that somehow didn't commit ultramage 2007-02-01 21:50:55 +00:00
  • c848fd71d2 - Item search is now a bit smarter. When no item is found with the same 'aegis name', then the 'normal' name is used instead. - Updated the @/# commands that take an item name so that you can use quotes when specifying item names with spaces in them. For example, @item "poring card" 1 will work now. Note that only the commands that work on ONE item have been updated, those that do an item list need to be updated as well. - Removed some garbage from the item_data structure. - Improved a bit the description of the mvp item get time config settings. skotlex 2007-02-01 21:04:46 +00:00
  • 21dfe0e83f changed resource language from russian&czech -> english ultramage 2007-02-01 20:38:49 +00:00
  • fb9915fcba Updated the old vs6 files to latest, thanks to k3dt for contributing them ultramage 2007-02-01 20:31:19 +00:00
  • d956555b75 Reorganized the vs6 project files (update will follow) ultramage 2007-02-01 20:25:24 +00:00
  • 67e5b839f6 Fixed an accidental change in r9758 (edit&continue) ultramage 2007-02-01 20:17:52 +00:00
  • aca93bf9ff - Added support for mob skill target 'randomtarget', when specified, it will pick a random enemy from within the skill's cast range. - Updated the mob_db so that all skills from non-moving mobs that specified 'target' as enemy will use 'randomtarget' instead. - Amon Ra's meteors now use randomtarget instead of self. skotlex 2007-02-01 20:06:06 +00:00
  • a6f1e4972e Added string function strnlen ultramage 2007-02-01 19:19:26 +00:00
  • 8ec0ed0d47 - Corrected homunculus's aspd being halved after using some aspd adjusting skill. - Cleaned up the resetskill function (even though the functionality is the same as before) - Corrected item 1459 (unused Partizan with no slots) being wlv3 instead of 2 (as the other two partizans) - Changed the name of the four second versions of homunculi to not have a 2. (so you get a 'lif' and not a 'lif2' - Removed flag graffiti from abracadabra - Updated the stun times of Bash, Npc-StunAttack and meteor Assault to 5 secs as reported by Ultra Mage (still pending more data to see if all others need updating as well) - Removed the log info message 'created homunc...', and the 'loaded homunc' message will only show if the save_log is enabled. - Some cleanups skotlex 2007-02-01 18:34:05 +00:00
  • 8a9e1eaa07 - When when a party-member levels up, the level change is sent to the char-server to update the even-share range values. - When joining a gvg_dungeon, the pvp packet will be sent to signal versus. skotlex 2007-02-01 18:16:09 +00:00
  • 083fc86437 - Changes in the VS8 project files: * synchronized the settings between the projects * joined all .h and .cpp files and grouped them based on the src subfolder (easier to understand how the source is organized) * added Debug/Release build targets that build txt/sql only * other minor changes FlavioJS 2007-02-01 16:59:50 +00:00
  • 7390d2d950 Removed graph, httpd and webserver ultramage 2007-02-01 01:33:37 +00:00
  • 287219ad0d Wiped out the old night code ultramage 2007-01-31 18:59:30 +00:00
  • b022f8f491 Corrected a mistake in the sign quest (answer did not match ingame behavior) ultramage 2007-01-30 21:50:01 +00:00
  • 39381ad474 - 'Long Range Attacked' mob skill conditions will no longer trigger on magic attacks. - Changed the element of Blood Drain from 'take weapon's element' to Dark. And Blood Drain/Energy Drain have a range of 7 now. skotlex 2007-01-30 18:22:11 +00:00
  • 50a03b0751 - Corrected char deletion not working (column is called homun_id, not hom_id...) - Collapsed config settings produce_item_name_input, produce_potion_name_input, making_arrow_name_input, holywater_name_input, cdp_name_input into a single config produce_item_name_input which uses bitmasks to determine what it affects. - Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and Enabled as well as giving arrow requirements to skills that do not have them when used with ranged weapons (auto-guess for plagiarized/item-granted skills) - Minor cleanings skotlex 2007-01-30 17:38:39 +00:00
  • bc5f3f5a4c Removed one grf function that DracoRPG missed ultramage 2007-01-30 03:25:39 +00:00
  • cc72c3cd89 - Readded grfio_final to the map_server. skotlex 2007-01-29 22:26:49 +00:00