Commit Graph

  • fc5918e335 Removed the calc_times() no-op (bugreport:1289) ultramage 2008-04-27 19:46:17 +00:00
  • 3daaf293cc Removed a messed up, unnecessary line. Paradox924X 2008-04-27 15:40:42 +00:00
  • 304565cc9b Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds). Corrected some x64 compilation warnings in ers/malloc files. cleaned up a case of bad variable reuse. ultramage 2008-04-27 11:09:57 +00:00
  • 7a9a3a12bb Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663) * the player data inventory-itemdb index is now refreshed using pc_setinventorydata() * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload * the clif_buylist() function once again hides invalid npc shop items * it is no longer possible to purchase nonexistent items from a npc shop * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it ultramage 2008-04-27 11:06:55 +00:00
  • e50dd25ec2 Fixed 'suggest parentheses around assignment ...' gcc warning toms 2008-04-27 10:29:30 +00:00
  • 76c426d731 <3 Cake Kevin 2008-04-27 09:19:56 +00:00
  • 1f6d5057bc Changed the last commit so it must be called with @reloaditemdb2. @reloaditemdb only removes the item_data from the itemdb subsystem. If you don't like my code you can uncomment the macro I_HATE_KEVIN in item_db.c so it isn't even compiled. Kevin 2008-04-27 09:15:05 +00:00
  • 26a70ed737 Some major changes to @reloaditemdb to allow unloading of any item while map server is running. - Delete any item from inventory/cart/open storages that went missing during the reload. - Delete item from any shop that has this item. - Refresh item screen for anyone who has a shop open. - Delete mob db drop table references. - Delete item from storage during load if it isn't in the item db. Kevin 2008-04-27 07:18:21 +00:00
  • 2eabb3d1f7 Added script function hasquest. Kevin 2008-04-26 23:11:15 +00:00
  • 2070c16a1b Uncommented and cleaned up the OnGuildBreak code. Kevin 2008-04-26 22:20:20 +00:00
  • 679e600fcc Cleaned up auth system after change back to map server request. - Created function set_char_charselect to get rid of some of the "special case" variables. - Removed code that involved the char server sending auth data at char select. - Changed char select code to update the instance of the char data in the DB to fix map/sex info not being propagated to auth request. Kevin 2008-04-26 22:13:02 +00:00
  • 7f18ba579a Added WoE SE castles to castles.txt in save-tmpl. L0ne_W0lf 2008-04-26 21:13:13 +00:00
  • fb262a3301 Fixed escape problem in jobs/novice/novice.txt toms 2008-04-26 17:35:23 +00:00
  • d9b7e8540b Updated item_db.sql to latest (Changelog) toms 2008-04-25 19:01:18 +00:00
  • bf1e5ff7c6 Updated item_db.sql to latest toms 2008-04-25 19:00:22 +00:00
  • c79a5092eb Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly) toms 2008-04-25 07:47:29 +00:00
  • c68d9e2a7d * Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional account_id parameter) bugreport:1035 * Modified doc in consequence toms 2008-04-25 06:54:53 +00:00
  • a6bb42334b * Fixed hugel_bingo making an unneeded infinite loop bugreport:1349 * Partially fixed bugreport:1285 (item 13697) toms 2008-04-24 11:35:18 +00:00
  • d42929747f Corrected a typo error ';;' bugreport:919 toms 2008-04-24 09:30:48 +00:00
  • 75cd3c3acb Changed @reloaditemdb again to only unload items from item_db2. Also byte aligned the item_data struct a bit. Kevin 2008-04-23 20:54:07 +00:00
  • 2599064a46 * Fixed script strings not being handled properly (only skipped the \). * Added skip_escaped_c to strlib.c/h. * Fixed sv_unescape_c not handling hex/octal escapes properly. FlavioJS 2008-04-23 11:14:45 +00:00
  • d903fda1c7 * Script parse errors displayed with one ShowError instead of several ShowMessage's. FlavioJS 2008-04-23 04:35:32 +00:00
  • 2ab6929481 Accidentally commit my test db. >_> Kevin 2008-04-22 22:04:37 +00:00
  • e78798984a Changed itemdb_reload to clear the database before reloading, so it is possible can remove an item from the DB without restarting the server (bugreport:1348) Kevin 2008-04-22 22:02:54 +00:00
  • 4c74bd7ac6 Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 toms 2008-04-22 15:13:32 +00:00
  • c880052f0f * Changed the data field of timers from int to intptr. FlavioJS 2008-04-21 21:34:31 +00:00
  • cbbf504bca * Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer). FlavioJS 2008-04-21 21:32:26 +00:00
  • 7708c0c766 * Changed Sacrifice status to end on caster's death, not at 25% HP. - Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332 L0ne_W0lf 2008-04-21 21:22:33 +00:00
  • 355d69194a Updated sql files to latest toms 2008-04-21 21:11:41 +00:00
  • ab55e3830d Fixed yet another WoE SE Bug (Juno castle 3) Go go gadget revision counter! L0ne_W0lf 2008-04-21 17:34:33 +00:00
  • f9abadf9c1 Fixed another WoE SE Bug. (wrong target for donpcevent) L0ne_W0lf 2008-04-21 17:31:23 +00:00
  • f212d699d9 Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues) L0ne_W0lf 2008-04-21 17:08:14 +00:00
  • ccb23efe49 Made some cleanup in changesex toms 2008-04-21 16:19:25 +00:00
  • 374603dc21 Further fixed bugreport:1371. L0ne_W0lf 2008-04-21 15:31:29 +00:00
  • ff79ebee8f Fixed bugreport:1390, bugreport:1394, bugreport:1396. L0ne_W0lf 2008-04-21 15:21:51 +00:00
  • 7c9411922a * Several updates from Trunk - Merged the new Auth process to avoid double logins. - Merged official adoption process. - Removed @gm command. - Cleaning of MAX_ACCOUNT_ID and MAX_CHAR_ID - Update of the online user count (map_getusers) zephyrus 2008-04-20 16:17:24 +00:00
  • 443c56e21f Fixed a bug in (init/start/stop)npctimer toms 2008-04-19 15:37:18 +00:00
  • ba5c9df29d fixed mapserv crash (divide by zero in Earthquake) Lupus 2008-04-18 19:43:31 +00:00
  • 2577ffdf25 * Fixed a bug when unloading a npc near a shop. * Fixed npc_buylist not giving/checking the good item when it was an item_avail in the shop (the real one was added in inventory). toms 2008-04-18 14:33:31 +00:00
  • b7b80e5c97 Implemented config setting 'vending_over_max', to let people configure the behavior of vending items over the MAX_ZENY limit. Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed. This re-adds the behavior from before r11344 (see topic:180568). ultramage 2008-04-18 08:12:55 +00:00
  • 45f1ef5202 Modified sv_readdb to be able to process non-native line terminators (bugreport:1382) ultramage 2008-04-17 10:50:28 +00:00
  • bb98e43f3c - Some mistake from someone but OMG! zephyrus 2008-04-17 00:51:15 +00:00
  • 70e34f81cd Fixed an issue in r12575 where 'not setting char offline when going from mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen. Merged some recent changes from SQL to TXT, as someone didn't bother to do it. Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in). ultramage 2008-04-16 07:48:53 +00:00
  • 034920992e Use the same code for script commands getitem & getitem2 as @item to avoid bug in bugreport:1324 (non-stackable items are stacked) toms 2008-04-15 18:37:06 +00:00
  • e3aec25c02 Rescripted Eye of Hellion quest, all quest progress is lost. L0ne_W0lf 2008-04-15 18:32:20 +00:00
  • 45a96330d7 Removed all _ in the second name in item_db.txt and updated item_db.sql toms 2008-04-15 15:20:09 +00:00
  • 7d3d258492 Used a forward declaration of the struct quest instead of including mmo.h toms 2008-04-15 14:57:00 +00:00
  • 9609149c15 * Corrected some invalid syntax in skill_db.txt (wrong usage of commas) * Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name) * Implemented a generic framework for parsing delimited db files (allows specifying min/max column ranges and max number of rows to read) * Corrected a typo in quest_update_objective() * Cleaned up pc.c a bit ultramage 2008-04-15 13:49:40 +00:00
  • 13bc9302be Added as svn:ignore all VisualStudio's generated files (VC9) toms 2008-04-15 11:49:40 +00:00
  • 6b035c6f00 Updated item_db.sql to latest toms 2008-04-15 08:00:54 +00:00
  • ecf1bf053e changed MES -> mes Lupus 2008-04-15 04:02:55 +00:00
  • f4ef412137 Fixed bugreport:1353, bugreport:1356, and bugreport:1365. L0ne_W0lf 2008-04-14 22:33:32 +00:00
  • ebc17cfbb4 Fixed bugreport:1337, bugreport:1355, bugreport:1361, and bugreport:1362. L0ne_W0lf 2008-04-14 22:28:30 +00:00
  • f2fd4cde62 * Fixed a possible crash in char_sql. (since r12575, later modified in r12590). FlavioJS 2008-04-14 20:22:48 +00:00
  • 73df203735 Fixed a memory leak in mapif_quests_fromsql toms 2008-04-14 15:01:04 +00:00
  • 92f9bf6a8c Fixed a typo in char_sql/char.c toms 2008-04-14 14:22:54 +00:00
  • e61bf34e4f Fixed a bug in the disconnection part char-server (not sending you offline) toms 2008-04-14 13:48:25 +00:00
  • 807bba43d9 minor typo in mage.txt Lupus 2008-04-14 11:56:20 +00:00
  • cee4acd2d4 fixed minor archer.txt bug Lupus 2008-04-14 10:01:24 +00:00
  • 0cf4f6a0fb Don't typically update custom NPCs, but this was a special request and should fix an exploit in the card remover. L0ne_W0lf 2008-04-14 06:12:36 +00:00
  • 28b95f451b * Changes to the configure script: - added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables FlavioJS 2008-04-14 03:45:05 +00:00
  • a653b4e2d6 Removed some unused variables that appeared in the last commit (r12584). Kevin 2008-04-14 02:45:11 +00:00
  • 236c7cba43 Some more updates to the quest log system. It has been completely moved to the inter server instead of the char server. Kevin 2008-04-14 02:32:24 +00:00
  • dcf71ce50b * Followup to r12579 (all other players appeared as female on sql branch). FlavioJS 2008-04-14 01:11:21 +00:00
  • ea96b9da32 Forgot to change main.sql to reflect the update to quest_objective table. Kevin 2008-04-13 22:37:04 +00:00
  • 302adbf42a Major updates to the quest system. Kevin 2008-04-13 22:19:02 +00:00
  • d7355c9899 Added an include in clif.h to avoid a complaint of gcc toms 2008-04-13 18:47:42 +00:00
  • 49aac80ed6 * Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256: - the behaviour enabled a desynch between the char-server and the map-server - now the map-server asks the char-server to authenticate the auth info (the char-server doesn't send the auth info immediatelly) FlavioJS 2008-04-13 18:31:49 +00:00
  • 01b66de67e * Changes to the configure script: - clarified how --with-zlib is used - added --enable-packetver to set the PACKETVER define (used often enough to get it's own option, but unnecessary since it can be set with CFLAGS) - added -g compiler option to --enable-debug FlavioJS 2008-04-13 17:46:24 +00:00
  • cdb7323335 Changed LOG_ALL definition to really log everything toms 2008-04-13 15:49:04 +00:00
  • 69114a1c7d Login will no longer set character offline when going from map to character select. Kevin 2008-04-13 05:14:01 +00:00
  • 67d29ff3b7 ... but not with a buggy tool (missing svn:props) ultramage 2008-04-12 09:19:31 +00:00
  • 0c69d0879c the proper way to use version control ultramage 2008-04-12 09:15:55 +00:00
  • 2c1144e804 TXT code has been re uploaded. Please note this does not change the fact that TXT support has been dropped. There is no guarantee the code base will be managed and it will in the near future be REMOVED. If there is in ANY way TXT support in the future, it will be abstracted through a sql interface so only the sql code has to be maintained. Kevin 2008-04-12 08:43:29 +00:00
  • fe1fd152a7 Updated visual studio 9 files to reflect TXT support removal. Added txt server code to the txt converter directories to maintain the txt converter programs. Kevin 2008-04-12 08:12:18 +00:00
  • ace648245b I live in a giant bucket. Kevin 2008-04-12 07:59:42 +00:00
  • fc2bec97d7 At char select, the char server will set character to server -2 (server unknown) rather then -1 (at char select) and will be changed to the map server id once the character loads in. Kevin 2008-04-11 23:10:14 +00:00
  • b5639d0bde Fixed setcell range of first barricade in Juno Castle 2. L0ne_W0lf 2008-04-11 19:32:31 +00:00
  • fbb8169172 - Fixed Rogue Job Quest not checking for all items correctly. DZeroX 2008-04-11 17:26:55 +00:00
  • 3f1e9f8d9b - Added code to remove a trap when it dies. zephyrus 2008-04-11 16:34:50 +00:00
  • 00a5bccbd3 The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388) ultramage 2008-04-11 09:31:32 +00:00
  • f45a8f2c82 - Optimized several NPCs DZeroX 2008-04-11 08:48:41 +00:00
  • 65ea169212 Reverted the login table changes from r12464 ultramage 2008-04-11 07:45:26 +00:00
  • e889fc9d62 Changed eol-style to native for these files. Kevin 2008-04-11 07:28:27 +00:00
  • a6b57811f9 New sql definitions for the quest code. Kevin 2008-04-11 07:24:03 +00:00
  • ffa3b60fc0 Finished most of the quest log code, still bits here and there but it's usable now. Kevin 2008-04-11 07:12:45 +00:00
  • 12aff369d9 Some quest log changes and removed one of the set char offline calls that was added in revision 12552. Kevin 2008-04-11 02:42:30 +00:00
  • 9bcdb353a4 More questlog code. Kevin 2008-04-11 01:38:41 +00:00
  • 1c7cf5aa3e - Fixed a bug in de-adopt code (parent skills need to be removed). zephyrus 2008-04-11 00:42:34 +00:00
  • 7a04bbfed2 Crash fix for (r12552). Kevin 2008-04-10 22:11:35 +00:00
  • c62b5e223f Lolwhoops. Kevin 2008-04-10 21:45:03 +00:00
  • 3c7a81a079 Client not marked online until map receives auth request from the client and is approved. Also added some online/offline sets to the auth system that were being looked over and not properly updating the char server as to what's going on. Kevin 2008-04-10 21:28:27 +00:00
  • fd5f918452 Modified the charservers to use a DBMap instead of a cyclic array for auth data. Merged the auth fix from r12473 to TXT as well. Removed the no-op from r12547. ultramage 2008-04-10 19:07:00 +00:00
  • 977a966a6c * Reverted the change to MAX_SQUARE_LAYOUT. * Evil Land will always as a 3x3 animation. L0ne_W0lf 2008-04-10 16:49:00 +00:00
  • d6c303341b - Fixed Max Guardians max = 8 (no need to increase this value for woe 2.0 as non indexed guardians are set outside of the array). - Hunter traps have 3500 HP, they are not removed by just one hit. (This also fix the bug you can't move traps with arrow shower). - Some cleanups. zephyrus 2008-04-10 15:40:48 +00:00
  • 83f22f6584 * Updated NPC skill "Evil Land". More gravity wtfage. - Based on visual observation, and experience with it on iRO Sakray. L0ne_W0lf 2008-04-10 15:16:27 +00:00
  • d4dd257fb6 Login server will now correctly keep online account information and properly disconnect double login attempts. Kevin 2008-04-10 07:43:48 +00:00
  • a34c05f884 - Optimized all the Lutie NPCs DZeroX 2008-04-10 06:55:20 +00:00
  • f5fd71f4be Char server now loads/saves quest information. Included table definitions for quests and quest objectives. Kevin 2008-04-10 05:35:04 +00:00
  • 6391d7b687 Some preliminary code for the questlog system (clif packet functions and basic data structures). Kevin 2008-04-10 03:36:33 +00:00