Commit Graph

  • 2af4a7f61b Some more tweaks to the guild code - unrolling of foreach()/_sub() pairs using db iterators - usage of ARR_FIND instead of for()/break; - old function header adjustment ultramage 2007-12-12 14:18:46 +00:00
  • 8be1c4d48c * Some preparations for the guild script update - cleaned up npc event execution code - cleaned up guild data loading/saving code; to be improved later - removed dummy 'account name' expulsion list management code - removed columns 'rsv1' and 'rsv2' from guild member data - removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data - added upgrade_svn11895.sql for SQL ultramage 2007-12-12 09:55:13 +00:00
  • e464c81aea Removed the badly designed/unfinished guild_check_conflict() data integrity check (that wasn't actually being used up 'till now). ultramage 2007-12-12 09:41:51 +00:00
  • 0d17cff99b - Added some new cash-items and headgears. zephyrus 2007-12-12 04:34:02 +00:00
  • 9d353fba9b - Added query_logsql script command to perform sql commands using the log db connection. skotlex 2007-12-11 22:37:07 +00:00
  • 4adcab437f - Status change start will now fail when invoked on players that are disconnecting. skotlex 2007-12-11 22:06:36 +00:00
  • ef8bf03761 Fixed TXT charserver attempting to do a guild master change instead of an integrity check whenever a new guild member gets added. See revisions r3185 and r3719 on how the code arrived into such a state... ultramage 2007-12-11 21:01:55 +00:00
  • a4f1cab764 Oops, forgot to commit! L0ne_W0lf 2007-12-11 20:43:57 +00:00
  • 0ca1cee5fc Fixed a mistake in r11876 that prevented the login server from doing auth correctly due to an incorrect IP being used in the process. The whole thing should be reverted when there is a proper flag to identify interserver connections. ultramage 2007-12-11 20:11:44 +00:00
  • 3c65f35146 Updated Amatsu NPCs, Quests, and Warps. L0ne_W0lf 2007-12-11 18:38:55 +00:00
  • 11c0438e85 - The interserver outgoing buffer now gets flushed when it reaches 512KB of data stored on it. skotlex 2007-12-10 19:13:12 +00:00
  • 2dd7aff70b - Cleaned up clif_setdisguise and fixed it for PACKETVER>=9. I was kinda right in my last assumption afterall :V skotlex 2007-12-10 13:53:29 +00:00
  • 20fb727ce1 - Reverted last change, I was wrong in my assumption o_O; skotlex 2007-12-10 10:22:52 +00:00
  • c010e4e982 - Fixed the disguise packet sent in clif_move skotlex 2007-12-10 10:16:30 +00:00
  • 81ddad8b83 - Cleared up npc shop id when warping a player. - Added missing range/skill-mask info to reflected damage (fixes autospells not triggering on it) skotlex 2007-12-10 09:25:30 +00:00
  • 30e3f30447 * Modified npc_parsesrcfile to parse the line as a 'tab-separated values' string and added data truncation warnings. - enforces a stricter adherence to the format (no multiple tabs) - avoids sscanf matching spaces, new lines and carriage returns when '\t' is used in the format string FlavioJS 2007-12-09 22:43:36 +00:00
  • 6dd13ee535 * Added a generic 'delimiter-separated values' string parser to strlib.c/h. FlavioJS 2007-12-09 22:08:31 +00:00
  • cd8c03aa81 Changed Cloaking to not show an animation when it fails (thanks to Harbin for pointing it out). And while at it, also tweaked skill_check_cloaking() to use a more readable boolean logic instead of the previous zero-nonzero. ultramage 2007-12-09 20:39:06 +00:00
  • fc037d1e8a small fix to the server's packet parsing code to display server IPs correctly. ultramage 2007-12-09 17:19:43 +00:00
  • de7e25a0bb - Cleaned up a bit the code for HVAN_CHAOTIC skotlex 2007-12-09 15:38:05 +00:00
  • 7dc104912b Fixed a bug in r11633 always spawning only 1 chest type ultramage 2007-12-09 08:05:22 +00:00
  • e816cafde6 - Fixed a 'variable may be used uninitialized' error. - Removed 'type' being passed to skill_trap_splash since it was not used at all. - Fixed Land Mine doing nothing. skotlex 2007-12-08 23:32:30 +00:00
  • b3fe52fa6b * Removed double tabs from mapflag/warp/script/function/duplicate declarations. FlavioJS 2007-12-08 17:14:57 +00:00
  • 9ca2a6c0dd - Changed the chaotic delay from block to delay since it just a sec - Fixed the longing for freedom check in unit_can_move - Corrected a check while parsing refine_db.txt skotlex 2007-12-08 17:09:24 +00:00
  • 11aaa56783 - Fixed ensembles skills. skotlex 2007-12-07 10:55:59 +00:00
  • e823c2e3eb - removed the timer heap correction code when the timers overflow since Flavio points out that it is not needed. - Modified a bit the changesex code so you get saved and quit before changing your sex rather than afterwards. - Cleaned up #changesex - Signum Crucis now works on bosses. - party_recv_data will not set the sd pointer for not-yet-authed characters. skotlex 2007-12-07 08:44:52 +00:00
  • e5554e3fae - Insignificant cleanups. skotlex 2007-12-07 07:35:31 +00:00
  • d321e89aed - Cleaned up the messy code used to generate the idle/walk packets (or at least, in my opinion, it looks cleaner now) skotlex 2007-12-06 23:18:02 +00:00
  • e231f6cb18 - Likely fixed clif_set_disguise for PACKET_VER 9 skotlex 2007-12-06 21:04:29 +00:00
  • 43ac1fd8ad ooops, two errors escaped... >.< FlavioJS 2007-12-06 15:37:14 +00:00
  • 1d827807ae * Removed the attempts to recover from invalid syntax in npc_parsesrcfile since they can produce incorrect results (spaces in sscanf can match \n's and company). * Made script_rid2sd report the script source directly and changed related return 1's to return 0's to avoid double script source reports. * Added missing return 0's after script_rid2sd is used and an extra error message in buildin_set/buildin_setd. FlavioJS 2007-12-06 15:12:55 +00:00
  • fc7b4eaef0 - The default event script behaviour is to trigger on labels rather than NPCs now. - Removed several script config options which break NPC compatibility when you mess with them (event_script_type, event_requires_trigger, die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name, login_event_name, loadmap_event_name, baselvup_event_name, joblvup_event_name) - LoadMap events no longer set the variable "@maploaded$" to the name of the new map. - Optimized/simplified the code now that the previous config options were removed. skotlex 2007-12-06 12:59:12 +00:00
  • 655100c9e2 - Made the struct weapon_atk lhw in status_data a static member rather than a pointer as requested by Ultra Mage. skotlex 2007-12-05 13:16:37 +00:00
  • 48a8f3fb25 - Fixed a possible crash when the memory manager is disabled and a non-respawning object is killed. skotlex 2007-12-05 12:12:04 +00:00
  • 000833c998 - Corrected Lif skill durations/delays according to http://irowiki.org/wiki/Lif skotlex 2007-12-05 10:42:35 +00:00
  • 2b1fac216c - Added a fix to prevent missing a mail attachment is map servers disconnect from char server. - Fixed the sprite of Wing of Victory. zephyrus 2007-12-03 22:25:57 +00:00
  • 5f8753f24b - Corrected clif_pase_DropItem so ack/nak is always sent (or client hangs waiting for a reply) skotlex 2007-12-03 14:11:15 +00:00
  • bac80b97a8 * Added Indian RO "Children Week" Event. Thanks $ephirot samuray22 2007-12-02 18:38:08 +00:00
  • 283edfc342 - Added some missing headgears from others official servers. zephyrus 2007-12-02 17:53:41 +00:00
  • 2b186ae7b8 Fixed some minor inconsistencies in homunculus packets, in an attempt to make the lvl99 aura show to owner onSpawn. Still doesn't work as there appears to be a complex packet order dependency... ultramage 2007-12-02 16:29:37 +00:00
  • 3c484f4193 * Rescripted Headgear Quests 1 (Comodo) to Aegis 10.3 Standards. - Corrected a little Typo error in the "Inn". (bugreport:536) samuray22 2007-12-02 14:28:46 +00:00
  • b9a9c76f2b Fixed charserver unable to reestablish link to login server after a disconnect (yet another problem caused by r11826). Copied code from TXT to SQL to perform a graceful shutdown of all login server sockets while exiting. ultramage 2007-12-02 09:39:35 +00:00
  • a6400393da Fixed 'unit walking in sight' packet missing the 'level' value (mistake in r11791) ultramage 2007-12-01 18:43:04 +00:00
  • 32044af937 * Added Missed Storage Password Function. (bugreport:515) samuray22 2007-11-30 15:56:51 +00:00
  • 132da258d7 - pc_setoption no longer does view_data changes while disguised (as this breaks things) skotlex 2007-11-30 07:07:51 +00:00
  • 754b397edf * Random cleanup/documentation. * Made common/Makefile get the svn version from the src directory, not src/common. * Added a warning message to the install and uninstall targets. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the makefiles (if an obj/ directory exists, BSD make enters it before reading the makefile) FlavioJS 2007-11-30 00:17:26 +00:00
  • f21818b762 * Rescripted Hair Dresser to the Aegis 10.3 Standards. samuray22 2007-11-29 15:54:55 +00:00
  • 47315d00c8 - Allowed disguising while riding a peco-peco (this does not seem to cause problems anymore) - Adjusted pc_disguise to work properly if invoked while a player is not in a map. - The pvp rank packet is no longer sent to other players when disguised, as this leads to crashes when you die. skotlex 2007-11-29 13:11:33 +00:00
  • 5617e38fba - Probably fixed splash damage. skotlex 2007-11-29 12:32:25 +00:00
  • eee82904e7 - Integrated the SG related info of hate_mob and feel_map into a single structure (sg_info). - Modified skill_blown and skill_attack so that reflected spells do not cause knockback. - SG Blessing skills now grant the extra experience to everyone when the SG killed the mob. skotlex 2007-11-29 12:20:43 +00:00
  • 8e755a140b * Fixed problem in the Hair Dyer NPC. (bugreport:509) samuray22 2007-11-28 23:21:58 +00:00
  • d3397a4640 - Cleaned up some disguise related code, it fixes the disguise sprite not having flinch animation skotlex 2007-11-28 15:58:17 +00:00
  • 7ca3198824 - Applied the required changes to handle def as a signed char (allows for negative def) skotlex 2007-11-28 13:13:42 +00:00
  • 37d79a46de - Corrected skill_check_condition to not delete items right away for certain skills that do the deletion themselves. Fixes several skills consuming items twice. - Dispel's success rate is no longer affected by MDEF - You are no longer blocked from being warped when standing in a warp while in a duel. - Duels are now automatically ended when you warp out of the map you are in. skotlex 2007-11-28 12:57:34 +00:00
  • c4f9142c9d Fixed reflected spells bypassing WoE no-knockback restriction, because the code allowed that when cast on self; not anymore (bugreport:231) ultramage 2007-11-28 11:43:20 +00:00
  • 722c5f3f90 Fixed a typo in r11826 messing up TXT gm account loading. ultramage 2007-11-28 11:11:41 +00:00
  • 979cf2cdf9 Yikes, forgot to add the new admin.c file... (followup to r11826) ultramage 2007-11-28 11:02:38 +00:00
  • 8463446738 - Reverted the position of the max_hp/max_sp basic setting, modified the max_hp/max_sp bonuses to use casting in order to work correctly with negative bonuses. skotlex 2007-11-28 10:50:31 +00:00
  • 0b58320eb0 Applied clif_setlevel() to the new trade window packets to make it display properly when going over lvl99. ultramage 2007-11-28 00:40:21 +00:00
  • 1f8e1313df * Reconstructed a list of all PACKETVER types, by reverse-engineering it from places in the code where the define is used - recovered PACKETVER 6 which was added in r51, but overwritten by r141, one of the dumbest commits that I have seen so far - since 6 was the 'new trade window' update, it and its corresponding reply packet will now be used from now on instead the old version ultramage 2007-11-28 00:07:12 +00:00
  • c89ad7bb99 * Corrected some broken warp points. (bugreport:497) * Corrected a bug on Sample Dynamic Shop. (bugreport:421) samuray22 2007-11-27 23:37:50 +00:00
  • e207fecd8c * Added safesnprintf to strlib.c/h (bugreport:372) FlavioJS 2007-11-27 23:06:37 +00:00
  • d19659bbdd - reverted R11820, Cart Termination was already a 0x8 nk skill, I accidentally set inf2 to that, which meant 'spirit skill'! skotlex 2007-11-27 20:35:23 +00:00
  • ea5212c5a8 * TXT/SQL login server code synchronization - exported several core structures to login.h - split off ladmin communication code from the TXT login server - removed all occurences of login_log(); a unified function should be added when SQL's loginlog_db logging code gets synced with TXT - removed conf setting login_log_filename - fixed ladmin getting timeouts since the ping system was changed - removed login/char server_fd[] arrays, added server[].fd instead ultramage 2007-11-27 19:38:16 +00:00
  • 4b8cf3c768 Removed some unneccessary charserver code. ultramage 2007-11-27 19:17:00 +00:00
  • eac1b05f1f Added Battle field and Memorial dungeon maps. L0ne_W0lf 2007-11-27 18:39:32 +00:00
  • a63fc8093f - Overpowered some more NPC_EARTHQUAKE as per Gravity retardation. skotlex 2007-11-27 12:58:34 +00:00
  • f98611b450 - Cleaned some more the sc_end check so it is more generic and not so limited just to infinite endure. skotlex 2007-11-27 10:08:22 +00:00
  • ff43b0d74a - Cart Termination now ignores the attacker's cards, as a side effect makes it bypass AutoGuard & Cicada Skin Shedding skotlex 2007-11-27 09:46:30 +00:00
  • b06c88e70f - Moved basic max HP/SP calculation to before parsing equipment, fixes negative absolute HP/SP bonuses not working. skotlex 2007-11-27 09:38:38 +00:00
  • 9a56a88f4a - Corrected the online_data_cleanup routine setting offline characters that are still connected to the char-server. - Added a check in script command sc_end to properly end infinte endure - ASC_BREAKER no longer triggers status effect cards. skotlex 2007-11-27 09:21:18 +00:00
  • 8e58ea8df8 * Fixed fake_nd not being exported correctly and being unloaded when reloading scripts. (probably fixes bugreport:444) FlavioJS 2007-11-27 07:12:30 +00:00
  • 6e7b655600 Fixed a bad warp in ice dungeon. L0ne_W0lf 2007-11-27 04:35:41 +00:00
  • 5660527f12 Updated the Soul Linker job quest. L0ne_W0lf 2007-11-27 04:25:43 +00:00
  • 669ebdc9dd Updated the Taekwon Master quest. L0ne_W0lf 2007-11-27 03:25:02 +00:00
  • 7bfaec4529 * Normalized makefiles: - 3 sections: variables, public targets, private/support targets - object files always in a *_OBJ variable - header files always in a *_H variable - object files always generated to an obj* subfolder - all Makefiles can be executed individually, calling other makefiles if necessary - generic object targets when possible FlavioJS 2007-11-26 22:36:30 +00:00
  • 6182a13c05 * Fixed some minor guild script related bugs. - And no, this does NOT fix the Emperium spawning issue. L0ne_W0lf 2007-11-26 22:19:53 +00:00
  • 57250cbf9d Updated trigger area of Payon's West exit/entrance. L0ne_W0lf 2007-11-26 21:50:02 +00:00
  • 83fb3336e7 * Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr, wrongly processing all %f,%d,... (fixes bureport:218) FlavioJS 2007-11-26 18:14:06 +00:00
  • 6e3396f84c Fixed guild expulsion not working correctly. Corrected explusion -> expulsion typo. Added packets from 2007-11-20a sakexe; there are some changes but can't test them yet, so they're left commented out. ultramage 2007-11-26 15:14:52 +00:00
  • 78571e990c * Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c). FlavioJS 2007-11-26 03:25:34 +00:00
  • 407e51f6e5 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11806 54d463be-8e91-2dee-dedb-b68131a5f0ec samuray22 2007-11-25 21:50:40 +00:00
  • baa7b8a1ac * Fixed a Problem in Mage Quest. (bugreport:489) * Change a "+ name +" to "+ strcharinfo +" in a jawaii NPC. * Change to non-capital letters StarGladiator and SoulLinker Quests Name. samuray22 2007-11-25 21:48:50 +00:00
  • 69b5d5a8c0 Giant Fly Wings are now blocked on noteleport maps and duels. L0ne_W0lf 2007-11-25 21:44:34 +00:00
  • afd2b17f63 * Updated Super Novice Quest with iRO dialog. - Also restructured the NPCs significantly according to iRO's script. L0ne_W0lf 2007-11-25 21:28:34 +00:00
  • a9641a3fb1 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11801 54d463be-8e91-2dee-dedb-b68131a5f0ec L0ne_W0lf 2007-11-25 20:55:07 +00:00
  • 7c7c24526b Updated Bunny Band and Mr. Smile quests. L0ne_W0lf 2007-11-25 20:53:51 +00:00
  • c58bc08624 Fixed an NPC error in lutie quest file (scrap " left behind.) L0ne_W0lf 2007-11-25 20:31:45 +00:00
  • b0ea3f6d70 Changed item names to item IDs on some scripts. samuray22 2007-11-25 18:45:11 +00:00
  • 5121939cf6 * Rescripted Super Novice Quest to Aegis 10.3 Standars. - Bug Testing Required. samuray22 2007-11-25 01:32:37 +00:00
  • a0f115351a Fixed a crash when Slim Pitcher is cast (due to one unconverted piece of code) ultramage 2007-11-24 19:49:20 +00:00
  • cd3307a4bc Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483) ultramage 2007-11-24 17:11:02 +00:00
  • d4ea436e0b * Rescripted Soul Linker Quest to Aegis 10.3 Standars. - Bug testing required. samuray22 2007-11-24 15:38:32 +00:00
  • 9f6b9308e8 Fixed a error (Again) in Rogue Job Quest. (bugreport:481) samuray22 2007-11-24 13:22:46 +00:00
  • a74d339eab Added support for latest official client/server packet changes. Enable by setting PACKETVER to 9. Note that this breaks older clients. ultramage 2007-11-24 08:17:38 +00:00
  • 543ce8df7b Make the walk/stand/spawn packet generation incremental - deriving new versions from previous versions. This means less code but more work for the CPU, as some parts have to be memmove()-d around. Need a better packet building mechanism. ultramage 2007-11-24 08:07:24 +00:00
  • fcb555eb2e * Fixed a error in Rogue Job Quest. (bugreport:481) samuray22 2007-11-24 00:44:58 +00:00
  • a7163dc913 Fixed a badly defined skill range in homunculus loading code (followup to r11731) ultramage 2007-11-23 19:54:56 +00:00
  • 128efc8d50 Fixed some old mistakes in npc shop code causing misinterpretation of the number of function parameters (bugreport:404) ultramage 2007-11-23 02:25:50 +00:00
  • d7bf36fe52 - Added a few missing skill fail messages on cast-end-pos skills. skotlex 2007-11-23 02:04:29 +00:00