summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-27Changed the last commit so it must be called with @reloaditemdb2. ↵Kevin7-46/+49
@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. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Some major changes to @reloaditemdb to allow unloading of any item while map ↵Kevin9-28/+197
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. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Added script function hasquest.Kevin4-0/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Uncommented and cleaned up the OnGuildBreak code.Kevin1-6/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Cleaned up auth system after change back to map server request.Kevin3-88/+72
- 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. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Added WoE SE castles to castles.txt in save-tmpl.L0ne_W0lf2-0/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Fixed escape problem in jobs/novice/novice.txttoms2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Updated item_db.sql to latest (Changelog)toms1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Updated item_db.sql to latesttoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)toms2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25* Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 ↵toms3-26/+39
(optional account_id parameter) bugreport:1035 * Modified doc in consequence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24* Fixed hugel_bingo making an unneeded infinite loop bugreport:1349toms4-7/+10
* Partially fixed bugreport:1285 (item 13697) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24Corrected a typo error ';;' bugreport:919toms2-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23Changed @reloaditemdb again to only unload items from item_db2. Also byte ↵Kevin2-14/+31
aligned the item_data struct a bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23* Fixed script strings not being handled properly (only skipped the \).FlavioJS4-6/+54
* Added skip_escaped_c to strlib.c/h. * Fixed sv_unescape_c not handling hex/octal escapes properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23* Script parse errors displayed with one ShowError instead of several ↵FlavioJS3-15/+20
ShowMessage's. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Accidentally commit my test db. >_>Kevin1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Changed itemdb_reload to clear the database before reloading, so it is ↵Kevin3-2/+14
possible can remove an item from the DB without restarting the server (bugreport:1348) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Fixed a "bug" in sv_readdb under windows and cygwin configured as ↵toms2-1/+4
"Unix/binary" for text files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Changed the data field of timers from int to intptr.FlavioJS39-140/+142
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Added intptr/uintptr to cbasetypes.h (integers with the same size as a ↵FlavioJS2-0/+13
pointer). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Changed Sacrifice status to end on caster's death, not at 25% HP.L0ne_W0lf2-13/+12
- Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Updated sql files to latesttoms2-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed yet another WoE SE Bug (Juno castle 3)L0ne_W0lf2-6/+8
Go go gadget revision counter! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed another WoE SE Bug. (wrong target for donpcevent)L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues)L0ne_W0lf4-9/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Made some cleanup in changesextoms5-14/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Further fixed bugreport:1371.L0ne_W0lf2-8/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed bugreport:1390, bugreport:1394, bugreport:1396. L0ne_W0lf12-24/+38
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-20* Several updates from Trunkzephyrus2-2/+2
- 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) NOTE: i will do a second check to see if i forget something else. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-19Fixed a bug in (init/start/stop)npctimertoms2-28/+47
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18fixed mapserv crash (divide by zero in Earthquake)Lupus2-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18* Fixed a bug when unloading a npc near a shop.toms2-25/+39
* 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). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18Implemented config setting 'vending_over_max', to let people configure the ↵ultramage6-0/+17
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). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17Modified sv_readdb to be able to process non-native line terminators ↵ultramage1-1/+1
(bugreport:1382) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17- Some mistake from someone but OMG!zephyrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16Fixed an issue in r12575 where 'not setting char offline when going from ↵ultramage6-21/+27
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). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Use the same code for script commands getitem & getitem2 as @item to avoid ↵toms2-12/+44
bug in bugreport:1324 (non-stackable items are stacked) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Rescripted Eye of Hellion quest, all quest progress is lost.L0ne_W0lf2-1993/+2195
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Removed all _ in the second name in item_db.txt and updated item_db.sqltoms3-122/+123
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Used a forward declaration of the struct quest instead of including mmo.htoms2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)ultramage14-281/+227
* 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 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Added as svn:ignore all VisualStudio's generated files (VC9)toms0-0/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15Updated item_db.sql to latesttoms2-21/+26
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15changed MES -> mesLupus10-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14Fixed bugreport:1353, bugreport:1356, and bugreport:1365.L0ne_W0lf2-5/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14Fixed bugreport:1337, bugreport:1355, bugreport:1361, and bugreport:1362.L0ne_W0lf5-26/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14* Fixed a possible crash in char_sql. (since r12575, later modified in r12590).FlavioJS2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14Fixed a memory leak in mapif_quests_fromsqltoms3-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14Fixed a typo in char_sql/char.ctoms2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12591 54d463be-8e91-2dee-dedb-b68131a5f0ec